diff options
author | jani@hynda.mysql.fi <> | 2002-03-13 01:28:13 +0200 |
---|---|---|
committer | jani@hynda.mysql.fi <> | 2002-03-13 01:28:13 +0200 |
commit | 609d7520fc1ae53e4e0194c624af1e98b970bea4 (patch) | |
tree | 85df10184368163650d096e55e2c9127a0c3e769 /config.sub | |
parent | 39c4a730fd736c4701c16654fe43a6ecc14c180c (diff) | |
download | mariadb-git-609d7520fc1ae53e4e0194c624af1e98b970bea4.tar.gz |
Modifications to MySQL source in order to make it compile on QnX.
Diffstat (limited to 'config.sub')
-rwxr-xr-x | config.sub | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/config.sub b/config.sub index 70716b4e206..5f082e14a35 100755 --- a/config.sub +++ b/config.sub @@ -111,7 +111,7 @@ esac # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - linux-gnu*) + nto-qnx* | linux-gnu*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -636,6 +636,20 @@ case $basic_machine in basic_machine=i960-intel os=-nindy ;; + ntox86) + basic_machine=i386${os:--unknown} + os=-nto-qnx + ;; + nto*le | not*be) + basic_machine=${basic_machine%%be} + basic_machine=${basic_machine%%le} + basic_machine=${basic_machine##nto}${os:--unknown} + os=-nto-qnx + ;; + nto*) + basic_machine=${basic_machine##nto}${os:--unknown} + os=-nto-qnx + ;; mon960) basic_machine=i960-intel os=-mon960 |