diff options
author | unknown <jani@hynda.mysql.fi> | 2002-03-13 01:28:13 +0200 |
---|---|---|
committer | unknown <jani@hynda.mysql.fi> | 2002-03-13 01:28:13 +0200 |
commit | d716037e6ea6d6b0ff42ed9ad544529b0b37e261 (patch) | |
tree | 85df10184368163650d096e55e2c9127a0c3e769 /config.sub | |
parent | 0e43a70453321aac082c4c44665b3dca84be0e3d (diff) | |
download | mariadb-git-d716037e6ea6d6b0ff42ed9ad544529b0b37e261.tar.gz |
Modifications to MySQL source in order to make it compile on QnX.
config.guess:
Added detection for QNX.
config.sub:
Added detection for QNX.
include/m_ctype.h:
QNX already used some of the symbols, changed names.
include/my_global.h:
For QNX.
readline/vi_mode.c:
For 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 |