ICU-1703 add --enable-renaming option (default is yes)

X-SVN-Rev: 7648
This commit is contained in:
Yves Arrouye 2002-02-13 20:27:53 +00:00
parent 9ee1fbffd3
commit bf80cbeb5e
2 changed files with 150 additions and 155 deletions

275
icu4c/source/configure vendored
View File

@ -21,12 +21,12 @@ ac_help="$ac_help
--enable-shared[=PKGS] build shared libraries [default=yes]"
ac_help="$ac_help
--enable-static[=PKGS] build static libraries [default=no]"
ac_help="$ac_help
--enable-renaming add a version suffix to symbols [default=yes]"
ac_help="$ac_help
--enable-rpath use rpath when linking [default is only if necessary]"
ac_help="$ac_help
--enable-threads build ICU with threads [default=yes]"
ac_help="$ac_help
--enable-renaming add a version suffix to ICU symbols [default=yes]"
ac_help="$ac_help
--with-iostream=version specify the version of iostream to use (none, old, std, auto) [default=auto]"
ac_help="$ac_help
@ -1687,6 +1687,22 @@ else
fi
echo $ac_n "checking whether to enable renaming of symbols""... $ac_c" 1>&6
echo "configure:1692: checking whether to enable renaming of symbols" >&5
enabled=yes
U_DISABLE_RENAMING=0
# Check whether --enable-renaming or --disable-renaming was given.
if test "${enable_renaming+set}" = set; then
enableval="$enable_renaming"
case "${enableval}" in
yes|"") enabled=yes ;;
no) enabled=no; U_DISABLE_RENAMING=1 ;;
*) ;;
esac
fi
echo "$ac_t""$enabled" 1>&6
# Check whether --enable-rpath or --disable-rpath was given.
if test "${enable_rpath+set}" = set; then
@ -1705,21 +1721,21 @@ fi
echo $ac_n "checking for definition of U_INLINE for C""... $ac_c" 1>&6
echo "configure:1709: checking for definition of U_INLINE for C" >&5
echo "configure:1725: checking for definition of U_INLINE for C" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <<EOF
#line 1716 "configure"
#line 1732 "configure"
#include "confdefs.h"
int main() {
} $ac_kw foo() {
; return 0; }
EOF
if { (eval echo configure:1723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_inline=$ac_kw; break
else
@ -1768,7 +1784,7 @@ ICU_USE_THREADS=0
if test $hpuxcma = true; then
if test $threads = true; then
echo $ac_n "checking for pthread_create in -lcma""... $ac_c" 1>&6
echo "configure:1772: checking for pthread_create in -lcma" >&5
echo "configure:1788: checking for pthread_create in -lcma" >&5
ac_lib_var=`echo cma'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -1776,7 +1792,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lcma $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1780 "configure"
#line 1796 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1787,7 +1803,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if { (eval echo configure:1791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1821,7 +1837,7 @@ fi
else
echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:1825: checking for pthread_attr_init in -lpthread" >&5
echo "configure:1841: checking for pthread_attr_init in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -1829,7 +1845,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1833 "configure"
#line 1849 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1840,7 +1856,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:1844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1875,7 +1891,7 @@ fi
echo $ac_n "checking for library containing pthread_mutex_destroy""... $ac_c" 1>&6
echo "configure:1879: checking for library containing pthread_mutex_destroy" >&5
echo "configure:1895: checking for library containing pthread_mutex_destroy" >&5
if eval "test \"`echo '$''{'ac_cv_search_pthread_mutex_destroy'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -1884,7 +1900,7 @@ ac_cv_search_pthread_mutex_destroy="no"
for i in pthread pthreads c_r cma; do
LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 1888 "configure"
#line 1904 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1895,7 +1911,7 @@ int main() {
pthread_mutex_destroy()
; return 0; }
EOF
if { (eval echo configure:1899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_pthread_mutex_destroy="-l$i"
break
@ -1907,7 +1923,7 @@ rm -f conftest*
done
if test "$ac_cv_search_pthread_mutex_destroy" = "no"; then
cat > conftest.$ac_ext <<EOF
#line 1911 "configure"
#line 1927 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1918,7 +1934,7 @@ int main() {
pthread_mutex_destroy()
; return 0; }
EOF
if { (eval echo configure:1922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_pthread_mutex_destroy="none required"
else
@ -1942,7 +1958,7 @@ fi
ICU_USE_THREADS=1
else
echo $ac_n "checking for pthread_mutex_init in -lpthread""... $ac_c" 1>&6
echo "configure:1946: checking for pthread_mutex_init in -lpthread" >&5
echo "configure:1962: checking for pthread_mutex_init in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_mutex_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -1950,7 +1966,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1954 "configure"
#line 1970 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1961,7 +1977,7 @@ int main() {
pthread_mutex_init()
; return 0; }
EOF
if { (eval echo configure:1965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1994,12 +2010,12 @@ fi
fi
echo $ac_n "checking for pthread_mutex_lock""... $ac_c" 1>&6
echo "configure:1998: checking for pthread_mutex_lock" >&5
echo "configure:2014: checking for pthread_mutex_lock" >&5
if eval "test \"`echo '$''{'ac_cv_func_pthread_mutex_lock'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2003 "configure"
#line 2019 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_mutex_lock(); below. */
@ -2022,7 +2038,7 @@ pthread_mutex_lock();
; return 0; }
EOF
if { (eval echo configure:2026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_pthread_mutex_lock=yes"
else
@ -2051,36 +2067,17 @@ fi
U_DISABLE_RENAMING=0
echo $ac_n "checking whether to enable ICU symbols renaming""... $ac_c" 1>&6
echo "configure:2057: checking whether to enable ICU symbols renaming" >&5
# Check whether --enable-renaming or --disable-renaming was given.
if test "${enable_renaming+set}" = set; then
enableval="$enable_renaming"
case "${enableval}" in
yes|"") enabled=yes;;
no) U_DISABLE_RENAMING=1;;
*) ;;
esac
else
enabled=yes
fi
echo "$ac_t""$enabled" 1>&6
# The AC_FUNC_MMAP macro doesn't work properly. It seems to be too specific.
# Do this check instead.
HAVE_MMAP=0
echo $ac_n "checking for mmap""... $ac_c" 1>&6
echo "configure:2079: checking for mmap" >&5
echo "configure:2076: checking for mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_ok'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2084 "configure"
#line 2081 "configure"
#include "confdefs.h"
#include <unistd.h>
@ -2092,7 +2089,7 @@ int main() {
mmap((void *)0, 0, PROT_READ, 0, 0, 0);
; return 0; }
EOF
if { (eval echo configure:2096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_func_mmap_ok=yes
else
@ -2112,7 +2109,7 @@ fi
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:2116: checking how to run the C preprocessor" >&5
echo "configure:2113: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
@ -2127,13 +2124,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
#line 2131 "configure"
#line 2128 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@ -2144,13 +2141,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
#line 2148 "configure"
#line 2145 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@ -2161,13 +2158,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF
#line 2165 "configure"
#line 2162 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@ -2195,17 +2192,17 @@ for ac_hdr in inttypes.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:2199: checking for $ac_hdr" >&5
echo "configure:2196: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2204 "configure"
#line 2201 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -2272,7 +2269,7 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
echo "configure:2276: checking how to run the C++ preprocessor" >&5
echo "configure:2273: checking how to run the C++ preprocessor" >&5
if test -z "$CXXCPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -2285,12 +2282,12 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes
cross_compiling=$ac_cv_prog_cxx_cross
CXXCPP="${CXX-g++} -E"
cat > conftest.$ac_ext <<EOF
#line 2289 "configure"
#line 2286 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
@ -2316,17 +2313,17 @@ echo "$ac_t""$CXXCPP" 1>&6
ac_safe=`echo "iostream" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for iostream""... $ac_c" 1>&6
echo "configure:2320: checking for iostream" >&5
echo "configure:2317: checking for iostream" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2325 "configure"
#line 2322 "configure"
#include "confdefs.h"
#include <iostream>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -2353,17 +2350,17 @@ fi
else
ac_safe=`echo "iostream.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for iostream.h""... $ac_c" 1>&6
echo "configure:2357: checking for iostream.h" >&5
echo "configure:2354: checking for iostream.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2362 "configure"
#line 2359 "configure"
#include "confdefs.h"
#include <iostream.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -2386,19 +2383,19 @@ fi
if test $ac_cv_header_iostream_h = yes; then
echo $ac_n "checking whether ostream is really defined""... $ac_c" 1>&6
echo "configure:2390: checking whether ostream is really defined" >&5
echo "configure:2387: checking whether ostream is really defined" >&5
if eval "test \"`echo '$''{'ac_cv_iostream_ok'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2395 "configure"
#line 2392 "configure"
#include "confdefs.h"
#include <iostream.h>
int main() {
ostream &testout = cout; testout << "test" << endl;
; return 0; }
EOF
if { (eval echo configure:2402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_iostream_ok=yes
else
@ -2437,14 +2434,14 @@ cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
echo "configure:2441: checking whether byte ordering is bigendian" >&5
echo "configure:2438: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF
#line 2448 "configure"
#line 2445 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@ -2455,11 +2452,11 @@ int main() {
#endif
; return 0; }
EOF
if { (eval echo configure:2459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
#line 2463 "configure"
#line 2460 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@ -2470,7 +2467,7 @@ int main() {
#endif
; return 0; }
EOF
if { (eval echo configure:2474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_bigendian=yes
else
@ -2490,7 +2487,7 @@ if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 2494 "configure"
#line 2491 "configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
@ -2503,7 +2500,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if { (eval echo configure:2507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_bigendian=no
else
@ -2538,12 +2535,12 @@ fi
U_HAVE_NL_LANGINFO_CODESET=0
U_NL_LANGINFO_CODESET=-1
echo $ac_n "checking for nl_langinfo""... $ac_c" 1>&6
echo "configure:2542: checking for nl_langinfo" >&5
echo "configure:2539: checking for nl_langinfo" >&5
if eval "test \"`echo '$''{'ac_cv_func_nl_langinfo'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2547 "configure"
#line 2544 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char nl_langinfo(); below. */
@ -2566,7 +2563,7 @@ nl_langinfo();
; return 0; }
EOF
if { (eval echo configure:2570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_nl_langinfo=yes"
else
@ -2589,21 +2586,21 @@ fi
if test $U_HAVE_NL_LANGINFO -eq 1; then
echo $ac_n "checking for nl_langinfo's argument to obtain the codeset""... $ac_c" 1>&6
echo "configure:2593: checking for nl_langinfo's argument to obtain the codeset" >&5
echo "configure:2590: checking for nl_langinfo's argument to obtain the codeset" >&5
if eval "test \"`echo '$''{'ac_cv_nl_langinfo_codeset'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_nl_langinfo_codeset="unknown"
for a in CODESET _NL_CTYPE_CODESET_NAME; do
cat > conftest.$ac_ext <<EOF
#line 2600 "configure"
#line 2597 "configure"
#include "confdefs.h"
#include <langinfo.h>
int main() {
nl_langinfo($a);
; return 0; }
EOF
if { (eval echo configure:2607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_nl_langinfo_codeset="$a"; break
else
@ -2633,12 +2630,12 @@ cross_compiling=$ac_cv_prog_cxx_cross
U_HAVE_NAMESPACE=0
echo $ac_n "checking for namespace support""... $ac_c" 1>&6
echo "configure:2637: checking for namespace support" >&5
echo "configure:2634: checking for namespace support" >&5
if eval "test \"`echo '$''{'ac_cv_namespace_ok'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2642 "configure"
#line 2639 "configure"
#include "confdefs.h"
namespace x_version {void f(){}};
namespace x = x_version;
@ -2648,7 +2645,7 @@ int main() {
f();
; return 0; }
EOF
if { (eval echo configure:2652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_namespace_ok=yes
else
@ -2676,12 +2673,12 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking for tzset""... $ac_c" 1>&6
echo "configure:2680: checking for tzset" >&5
echo "configure:2677: checking for tzset" >&5
if eval "test \"`echo '$''{'ac_cv_func_tzset'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2685 "configure"
#line 2682 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char tzset(); below. */
@ -2704,7 +2701,7 @@ tzset();
; return 0; }
EOF
if { (eval echo configure:2708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_tzset=yes"
else
@ -2728,12 +2725,12 @@ then
U_TZSET=tzset
else
echo $ac_n "checking for _tzset""... $ac_c" 1>&6
echo "configure:2732: checking for _tzset" >&5
echo "configure:2729: checking for _tzset" >&5
if eval "test \"`echo '$''{'ac_cv_func__tzset'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2737 "configure"
#line 2734 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _tzset(); below. */
@ -2756,7 +2753,7 @@ _tzset();
; return 0; }
EOF
if { (eval echo configure:2760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func__tzset=yes"
else
@ -2782,12 +2779,12 @@ fi
fi
echo $ac_n "checking for tzname""... $ac_c" 1>&6
echo "configure:2786: checking for tzname" >&5
echo "configure:2783: checking for tzname" >&5
if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2791 "configure"
#line 2788 "configure"
#include "confdefs.h"
#ifndef __USE_POSIX
#define __USE_POSIX
@ -2800,7 +2797,7 @@ int main() {
atoi(*tzname);
; return 0; }
EOF
if { (eval echo configure:2804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_var_tzname=yes
else
@ -2817,12 +2814,12 @@ if test $ac_cv_var_tzname = yes; then
U_TZNAME=tzname
else
echo $ac_n "checking for _tzname""... $ac_c" 1>&6
echo "configure:2821: checking for _tzname" >&5
echo "configure:2818: checking for _tzname" >&5
if eval "test \"`echo '$''{'ac_cv_var__tzname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2826 "configure"
#line 2823 "configure"
#include "confdefs.h"
#include <time.h>
extern char *_tzname[];
@ -2831,7 +2828,7 @@ int main() {
atoi(*_tzname);
; return 0; }
EOF
if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_var__tzname=yes
else
@ -2851,12 +2848,12 @@ fi
echo $ac_n "checking for timezone""... $ac_c" 1>&6
echo "configure:2855: checking for timezone" >&5
echo "configure:2852: checking for timezone" >&5
if eval "test \"`echo '$''{'ac_cv_var_timezone'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2860 "configure"
#line 2857 "configure"
#include "confdefs.h"
#ifndef __USE_POSIX
#define __USE_POSIX
@ -2870,7 +2867,7 @@ int main() {
timezone = 1;
; return 0; }
EOF
if { (eval echo configure:2874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_var_timezone=yes
else
@ -2889,12 +2886,12 @@ if test $ac_cv_var_timezone = yes; then
U_HAVE_TIMEZONE=1
else
echo $ac_n "checking for __timezone""... $ac_c" 1>&6
echo "configure:2893: checking for __timezone" >&5
echo "configure:2890: checking for __timezone" >&5
if eval "test \"`echo '$''{'ac_cv_var___timezone'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2898 "configure"
#line 2895 "configure"
#include "confdefs.h"
#include <time.h>
@ -2902,7 +2899,7 @@ int main() {
__timezone = 1;
; return 0; }
EOF
if { (eval echo configure:2906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_var___timezone=yes
else
@ -2920,12 +2917,12 @@ echo "$ac_t""$ac_cv_var___timezone" 1>&6
U_HAVE_TIMEZONE=1
else
echo $ac_n "checking for _timezone""... $ac_c" 1>&6
echo "configure:2924: checking for _timezone" >&5
echo "configure:2921: checking for _timezone" >&5
if eval "test \"`echo '$''{'ac_cv_var__timezone'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2929 "configure"
#line 2926 "configure"
#include "confdefs.h"
#include <time.h>
@ -2933,7 +2930,7 @@ int main() {
_timezone = 1;
; return 0; }
EOF
if { (eval echo configure:2937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_var__timezone=yes
else
@ -2956,12 +2953,12 @@ fi
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:2960: checking for ANSI C header files" >&5
echo "configure:2957: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2965 "configure"
#line 2962 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
@ -2969,7 +2966,7 @@ else
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:2970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -2986,7 +2983,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 2990 "configure"
#line 2987 "configure"
#include "confdefs.h"
#include <string.h>
EOF
@ -3004,7 +3001,7 @@ fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 3008 "configure"
#line 3005 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
@ -3025,7 +3022,7 @@ if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <<EOF
#line 3029 "configure"
#line 3026 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@ -3036,7 +3033,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if { (eval echo configure:3040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
@ -3060,12 +3057,12 @@ EOF
fi
echo $ac_n "checking for int8_t""... $ac_c" 1>&6
echo "configure:3064: checking for int8_t" >&5
echo "configure:3061: checking for int8_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_int8_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3069 "configure"
#line 3066 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -3093,12 +3090,12 @@ EOF
fi
echo $ac_n "checking for uint8_t""... $ac_c" 1>&6
echo "configure:3097: checking for uint8_t" >&5
echo "configure:3094: checking for uint8_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_uint8_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3102 "configure"
#line 3099 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -3126,12 +3123,12 @@ EOF
fi
echo $ac_n "checking for int16_t""... $ac_c" 1>&6
echo "configure:3130: checking for int16_t" >&5
echo "configure:3127: checking for int16_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_int16_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3135 "configure"
#line 3132 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -3159,12 +3156,12 @@ EOF
fi
echo $ac_n "checking for uint16_t""... $ac_c" 1>&6
echo "configure:3163: checking for uint16_t" >&5
echo "configure:3160: checking for uint16_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_uint16_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3168 "configure"
#line 3165 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -3192,12 +3189,12 @@ EOF
fi
echo $ac_n "checking for int32_t""... $ac_c" 1>&6
echo "configure:3196: checking for int32_t" >&5
echo "configure:3193: checking for int32_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3201 "configure"
#line 3198 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -3225,12 +3222,12 @@ EOF
fi
echo $ac_n "checking for uint32_t""... $ac_c" 1>&6
echo "configure:3229: checking for uint32_t" >&5
echo "configure:3226: checking for uint32_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3234 "configure"
#line 3231 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -3258,12 +3255,12 @@ EOF
fi
echo $ac_n "checking for int64_t""... $ac_c" 1>&6
echo "configure:3262: checking for int64_t" >&5
echo "configure:3259: checking for int64_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3267 "configure"
#line 3264 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -3291,12 +3288,12 @@ EOF
fi
echo $ac_n "checking for uint64_t""... $ac_c" 1>&6
echo "configure:3295: checking for uint64_t" >&5
echo "configure:3292: checking for uint64_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_uint64_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3300 "configure"
#line 3297 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -3382,17 +3379,17 @@ fi
ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
echo "configure:3386: checking for wchar.h" >&5
echo "configure:3383: checking for wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3391 "configure"
#line 3388 "configure"
#include "confdefs.h"
#include <wchar.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:3393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -3425,14 +3422,14 @@ EOF
U_HAVE_WCHAR_H=1
echo $ac_n "checking for library containing wcscpy""... $ac_c" 1>&6
echo "configure:3429: checking for library containing wcscpy" >&5
echo "configure:3426: checking for library containing wcscpy" >&5
if eval "test \"`echo '$''{'ac_cv_search_wcscpy'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_func_search_save_LIBS="$LIBS"
ac_cv_search_wcscpy="no"
cat > conftest.$ac_ext <<EOF
#line 3436 "configure"
#line 3433 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -3443,7 +3440,7 @@ int main() {
wcscpy()
; return 0; }
EOF
if { (eval echo configure:3447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_wcscpy="none required"
else
@ -3454,7 +3451,7 @@ rm -f conftest*
test "$ac_cv_search_wcscpy" = "no" && for i in wcs; do
LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF
#line 3458 "configure"
#line 3455 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -3465,7 +3462,7 @@ int main() {
wcscpy()
; return 0; }
EOF
if { (eval echo configure:3469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_search_wcscpy="-l$i"
break
@ -3496,7 +3493,7 @@ fi
ac_default_sizeof_wchar_t=4
echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
echo "configure:3500: checking size of wchar_t" >&5
echo "configure:3497: checking size of wchar_t" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -3504,7 +3501,7 @@ else
ac_cv_sizeof_wchar_t=$ac_default_sizeof_wchar_t
else
cat > conftest.$ac_ext <<EOF
#line 3508 "configure"
#line 3505 "configure"
#include "confdefs.h"
#if STDC_HEADERS
#include <stddef.h>
@ -3522,7 +3519,7 @@ main()
exit(0);
}
EOF
if { (eval echo configure:3526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_wchar_t=`cat conftestval`
else
@ -3704,7 +3701,7 @@ esac
echo $ac_n "checking for a library suffix to use""... $ac_c" 1>&6
echo "configure:3708: checking for a library suffix to use" >&5
echo "configure:3705: checking for a library suffix to use" >&5
# Check whether --with-library-suffix or --without-library-suffix was given.
if test "${with_library_suffix+set}" = set; then
withval="$with_library_suffix"
@ -4033,12 +4030,12 @@ s%@HPUX_CMA_FALSE@%$HPUX_CMA_FALSE%g
s%@ENABLE_SHARED@%$ENABLE_SHARED%g
s%@ENABLE_STATIC@%$ENABLE_STATIC%g
s%@RANLIB@%$RANLIB%g
s%@U_DISABLE_RENAMING@%$U_DISABLE_RENAMING%g
s%@ENABLE_RPATH@%$ENABLE_RPATH%g
s%@U_INLINE@%$U_INLINE%g
s%@THREADS_TRUE@%$THREADS_TRUE%g
s%@THREADS_FALSE@%$THREADS_FALSE%g
s%@ICU_USE_THREADS@%$ICU_USE_THREADS%g
s%@U_DISABLE_RENAMING@%$U_DISABLE_RENAMING%g
s%@HAVE_MMAP@%$HAVE_MMAP%g
s%@CPP@%$CPP%g
s%@U_HAVE_INTTYPES_H@%$U_HAVE_INTTYPES_H%g

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.152 2002/02/12 20:04:50 yves-oss Exp $
dnl $Id: configure.in,v 1.153 2002/02/13 20:27:53 yves-oss Exp $
dnl Process this file with autoconf to produce a configure script
AC_INIT(common/unicode/utypes.h)
@ -201,6 +201,19 @@ AC_SUBST(ENABLE_STATIC)
AC_PROG_RANLIB
AC_MSG_CHECKING([whether to enable renaming of symbols])
enabled=yes
U_DISABLE_RENAMING=0
AC_ARG_ENABLE(renaming,
[ --enable-renaming add a version suffix to symbols [default=yes]],
[ case "${enableval}" in
yes|"") enabled=yes ;;
no) enabled=no; U_DISABLE_RENAMING=1 ;;
*) ;;
esac],
)
AC_MSG_RESULT($enabled)
AC_SUBST(U_DISABLE_RENAMING)
dnl Check whether to use the evil rpath or not
AC_ARG_ENABLE(rpath,
@ -298,21 +311,6 @@ fi
AC_SUBST(ICU_USE_THREADS)
dnl Check whether to use the renaming or not.
U_DISABLE_RENAMING=0
AC_MSG_CHECKING([whether to enable ICU symbols renaming])
AC_ARG_ENABLE(renaming,
[ --enable-renaming add a version suffix to ICU symbols [default=yes]],
[ case "${enableval}" in
yes|"") enabled=yes;;
no) U_DISABLE_RENAMING=1;;
*) ;;
esac],
[enabled=yes]
)
AC_MSG_RESULT($enabled)
AC_SUBST(U_DISABLE_RENAMING)
dnl Check for mmap()
# The AC_FUNC_MMAP macro doesn't work properly. It seems to be too specific.