ICU-3419 Fix configure script

X-SVN-Rev: 13879
This commit is contained in:
George Rhoten 2003-11-25 17:56:34 +00:00
parent f3e7708d45
commit b783b31eaa

View File

@ -19,6 +19,10 @@ ac_help="$ac_help
--enable-shared build shared libraries [default=yes]"
ac_help="$ac_help
--enable-static build static libraries [default=no]"
ac_help="$ac_help
--enable-debug build debug libraries [default=no]"
ac_help="$ac_help
--enable-release build release libraries [default=yes]"
ac_help="$ac_help
--enable-renaming add a version suffix to symbols [default=yes]"
ac_help="$ac_help
@ -582,7 +586,6 @@ echo "$ac_t""release $VERSION, library $LIB_VERSION" 1>&6
UNICODE_VERSION="4"
CPPFLAGS="${CPPFLAGS} -I."
# Extract the first word of "gcc", so it can be a program name with args.
@ -1512,6 +1515,7 @@ fi
echo $ac_n "checking which Makefile fragment to use""... $ac_c" 1>&6
echo "configure:1518: checking which Makefile fragment to use" >&5
if eval "test \"`echo '$''{'icu_cv_host_frag'+set}'`\" = set"; then
@ -1701,6 +1705,38 @@ fi
echo "$ac_t""$enabled" 1>&6
echo $ac_n "checking whether to build debug libraries""... $ac_c" 1>&6
echo "configure:1710: checking whether to build debug libraries" >&5
enabled=no
ENABLE_DEBUG=0
# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then
enableval="$enable_debug"
case "${enableval}" in
yes|"") enabled=yes; ENABLE_DEBUG=1 ;;
*) ;;
esac
fi
echo "$ac_t""$enabled" 1>&6
echo $ac_n "checking whether to build release libraries""... $ac_c" 1>&6
echo "configure:1726: checking whether to build release libraries" >&5
enabled=yes
ENABLE_RELEASE=1
# Check whether --enable-release or --disable-release was given.
if test "${enable_release+set}" = set; then
enableval="$enable_release"
case "${enableval}" in
no) enabled=no; ENABLE_RELEASE=0 ;;
*) ;;
esac
fi
echo "$ac_t""$enabled" 1>&6
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
@ -4214,9 +4250,12 @@ s%@host_vendor@%$host_vendor%g
s%@host_os@%$host_os%g
s%@EXEEXT@%$EXEEXT%g
s%@ARFLAGS@%$ARFLAGS%g
s%@COMPILE_LINK_ENVVAR@%$COMPILE_LINK_ENVVAR%g
s%@LIB_M@%$LIB_M%g
s%@ENABLE_SHARED@%$ENABLE_SHARED%g
s%@ENABLE_STATIC@%$ENABLE_STATIC%g
s%@ENABLE_DEBUG@%$ENABLE_DEBUG%g
s%@ENABLE_RELEASE@%$ENABLE_RELEASE%g
s%@RANLIB@%$RANLIB%g
s%@AR@%$AR%g
s%@U_DISABLE_RENAMING@%$U_DISABLE_RENAMING%g
@ -4542,4 +4581,4 @@ if test $ICU_USE_THREADS = 0; then
echo " *** Note: configuring the ICU without pthread support or testing. If this isn't what you want, then run configure with --enable-threads=yes or check the messages above to see why we couldn't find pthread_create()" 1>&6
fi
echo "You must use $U_MAKE to build ICU."
echo "You must use $U_MAKE to build ICU."