Changeset 13482 for trunk/gs2build-extra
- Timestamp:
- 2006-12-11T11:39:06+13:00 (17 years ago)
- Location:
- trunk/gs2build-extra
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gs2build-extra/configure
r10864 r13482 311 311 312 312 ac_subdirs_all="$ac_subdirs_all packages" 313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION CFLAGS CC LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC GDBM_LIBPATH GDBM_INCLUDE gsdlos MODULEDIRS subdirs LTLIBOBJS'313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION ENABLE_ACCENTFOLD CFLAGS CC LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC GDBM_LIBPATH GDBM_INCLUDE gsdlos MODULEDIRS subdirs LTLIBOBJS' 314 314 ac_subst_files='' 315 315 … … 851 851 852 852 cat <<\_ACEOF 853 854 Optional Features: 855 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 856 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 857 --disable-accentfold Disable Accent Folding for MGPP 853 858 854 859 Optional Packages: … … 1332 1337 fi; 1333 1338 1339 1340 # Check whether --enable-accentfold or --disable-accentfold was given. 1341 if test "${enable_accentfold+set}" = set; then 1342 enableval="$enable_accentfold" 1343 ENABLE_ACCENTFOLD=0 1344 else 1345 ENABLE_ACCENTFOLD=1 1346 fi; 1347 cat >>confdefs.h <<\_ACEOF 1348 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD 1349 _ACEOF 1350 1351 1352 1353 1334 1354 LDFLAGS= 1335 1355 if test -z "$CFLAGS"; then … … 4536 4556 ac_cv_lib_crypt=ac_cv_lib_crypt_main 4537 4557 4558 if test $ENABLE_ACCENTFOLD = 1; then 4559 4560 echo "$as_me:$LINENO: checking for main in -lICONV" >&5 4561 echo $ECHO_N "checking for main in -lICONV... $ECHO_C" >&6 4562 if test "${ac_cv_lib_ICONV_main+set}" = set; then 4563 echo $ECHO_N "(cached) $ECHO_C" >&6 4564 else 4565 ac_check_lib_save_LIBS=$LIBS 4566 LIBS="-lICONV $LIBS" 4567 cat >conftest.$ac_ext <<_ACEOF 4568 /* confdefs.h. */ 4569 _ACEOF 4570 cat confdefs.h >>conftest.$ac_ext 4571 cat >>conftest.$ac_ext <<_ACEOF 4572 /* end confdefs.h. */ 4573 4574 4575 int 4576 main () 4577 { 4578 main (); 4579 ; 4580 return 0; 4581 } 4582 _ACEOF 4583 rm -f conftest.$ac_objext conftest$ac_exeext 4584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4585 (eval $ac_link) 2>conftest.er1 4586 ac_status=$? 4587 grep -v '^ *+' conftest.er1 >conftest.err 4588 rm -f conftest.er1 4589 cat conftest.err >&5 4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4591 (exit $ac_status); } && 4592 { ac_try='test -z "$ac_c_werror_flag" 4593 || test ! -s conftest.err' 4594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4595 (eval $ac_try) 2>&5 4596 ac_status=$? 4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4598 (exit $ac_status); }; } && 4599 { ac_try='test -s conftest$ac_exeext' 4600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4601 (eval $ac_try) 2>&5 4602 ac_status=$? 4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4604 (exit $ac_status); }; }; then 4605 ac_cv_lib_ICONV_main=yes 4606 else 4607 echo "$as_me: failed program was:" >&5 4608 sed 's/^/| /' conftest.$ac_ext >&5 4609 4610 ac_cv_lib_ICONV_main=no 4611 fi 4612 rm -f conftest.err conftest.$ac_objext \ 4613 conftest$ac_exeext conftest.$ac_ext 4614 LIBS=$ac_check_lib_save_LIBS 4615 fi 4616 echo "$as_me:$LINENO: result: $ac_cv_lib_ICONV_main" >&5 4617 echo "${ECHO_T}$ac_cv_lib_ICONV_main" >&6 4618 if test $ac_cv_lib_ICONV_main = yes; then 4619 cat >>confdefs.h <<_ACEOF 4620 #define HAVE_LIBICONV 1 4621 _ACEOF 4622 4623 LIBS="-lICONV $LIBS" 4624 4625 fi 4626 ac_cv_lib_ICONV=ac_cv_lib_ICONV_main 4627 4628 fi 4538 4629 4539 4630 … … 7832 7923 s,@PACKAGE@,$PACKAGE,;t t 7833 7924 s,@VERSION@,$VERSION,;t t 7925 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 7834 7926 s,@CFLAGS@,$CFLAGS,;t t 7835 7927 s,@CC@,$CC,;t t -
trunk/gs2build-extra/configure.in
r10854 r13482 16 16 dnl 17 17 AC_ARG_WITH(gdbm, [ --with-gdbm=dir Use local gdbm library and headers], gdbmdir=$withval) 18 19 20 dnl 21 dnl disable compilation of accent folding stuff for mgpp (and one day mg) 22 dnl 23 AC_ARG_ENABLE(accentfold, [ --disable-accentfold Disable Accent Folding for MGPP], ENABLE_ACCENTFOLD=0, ENABLE_ACCENTFOLD=1) 24 AC_DEFINE(ENABLE_ACCENTFOLD, $ENABLE_ACCENTFOLD) 25 AC_SUBST(ENABLE_ACCENTFOLD) 26 18 27 19 28 dnl Checks for programs. … … 72 81 dnl check for -lcrypt: 73 82 AC_HAVE_LIBRARY(crypt) 83 if test $ENABLE_ACCENTFOLD = 1; then 84 AC_HAVE_LIBRARY(ICONV) 85 fi 74 86 75 87
Note:
See TracChangeset
for help on using the changeset viewer.