ICU-2759 Add the QNX configuration

X-SVN-Rev: 11331
This commit is contained in:
George Rhoten 2003-03-15 02:22:07 +00:00
parent 1fd0a95a40
commit c31d7e59cd
3 changed files with 17 additions and 11 deletions

View File

@ -18,14 +18,12 @@ case "${host}" in
else
icu_cv_host_frag=mh-solaris
fi ;;
*-*-irix*) icu_cv_host_frag=mh-irix ;;
alpha*-*-linux-gnu)
if test "$ac_cv_prog_gcc" = yes; then
icu_cv_host_frag=mh-alpha-linux-gcc
else
icu_cv_host_frag=mh-alpha-linux-cc
fi ;;
*-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;;
*-*-linux*) icu_cv_host_frag=mh-linux ;;
*-*-cygwin)
if test "$ac_cv_prog_gcc" = yes; then
@ -40,7 +38,6 @@ alpha*-*-linux-gnu)
else
icu_cv_host_frag=mh-aix-va
fi ;;
*-sequent-*) icu_cv_host_frag=mh-ptx ;;
*-*-hpux*)
if test "$ac_cv_prog_gcc" = yes; then
icu_cv_host_frag=mh-hpux-gcc
@ -54,6 +51,10 @@ alpha*-*-linux-gnu)
*-*-os400*) icu_cv_host_frag=mh-os400 ;;
*-apple-rhapsody*) icu_cv_host_frag=mh-darwin ;;
*-apple-darwin*) icu_cv_host_frag=mh-darwin ;;
*-*-irix*) icu_cv_host_frag=mh-irix ;;
*-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;;
*-*-nto*) icu_cv_host_frag=mh-qnx ;;
*-sequent-*) icu_cv_host_frag=mh-ptx ;;
*) icu_cv_host_frag=mh-unknown ;;
esac
]

View File

@ -40,6 +40,10 @@
# include<sys/types.h>
#endif
#ifdef __QNXNTO__
#include <sys/neutrino.h>
#endif
#ifndef PTX
/* Define _XOPEN_SOURCE for Solaris and friends. */

View File

@ -4,7 +4,7 @@ dnl Copyright (c) 1999-2000, International Business Machines Corporation and
dnl others. All Rights Reserved.
dnl Stephen F. Booth, heavily modified by Yves and others
dnl $Id: configure.in,v 1.180 2003/03/14 21:44:43 rviswanadha Exp $
dnl $Id: configure.in,v 1.181 2003/03/15 02:22:06 grhoten-oss Exp $
dnl Process this file with autoconf to produce a configure script
AC_INIT(common/unicode/utypes.h)
@ -815,16 +815,17 @@ case "${host}" in
*-*-linux*) platform=U_LINUX ;;
*-*-*bsd*) platform=U_BSD ;;
*-*-aix*) platform=AIX ;;
*-sequent-*) platform=PTX ;;
*-*-hpux*) platform=HPUX ;;
*-dec-osf*) platform=U_OSF ;;
*-*-irix*) platform=IRIX ;;
*-apple-darwin*|*-apple-rhapsody*) platform=U_DARWIN ;;
*-*-cygwin*|*-*-mingw*) platform=U_CYGWIN ;;
*-*ibm-openedition*|*-*-os390*) platform=OS390
ICUDATA_CHAR="e" ;;
*-*-os400*) platform=OS400
ICUDATA_CHAR="e" ;;
*-apple-darwin*|*-apple-rhapsody*) platform=U_DARWIN ;;
*-*-cygwin*|*-*-mingw*) platform=U_CYGWIN ;;
*-*-nto*) platform=U_QNX ;;
*-dec-osf*) platform=U_OSF ;;
*-*-irix*) platform=IRIX ;;
*-sequent-*) platform=PTX ;;
*) platform=U_UNKNOWN_PLATFORM ;;
esac
AC_SUBST(ICUDATA_CHAR)
@ -840,11 +841,11 @@ case "${host}" in
*-*-linux*) ld_rpath_suf=" " ;;
*-*-*bsd*) ld_rpath_suf=" " ;;
*-*-aix*) ld_rpath_suf="" ;;
*-sequent-*) ld_rpath_suf="" ;;
*-*-hpux*) ld_rpath_suf=":" ;;
*-*-irix*) ld_rpath_suf=" " ;;
*-*ibm-openedition*|*-*-os390*) ld_rpath_suf="" ;;
*-*-os400*) ld_rpath_suf=" " ;;
*-sequent-*) ld_rpath_suf="" ;;
*-*-irix*) ld_rpath_suf=" " ;;
*) ld_rpath_suf="" ;;
esac
AC_SUBST(ld_rpath_suf)