Changeset 12922
- Timestamp:
- 2006-09-28T17:37:33+12:00 (18 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/configure
r12492 r12922 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 USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ 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 MICO_VER 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 USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ 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 MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC GDBM_LIBPATH GDBM_INCLUDE gsdlos MODULEDIRS subdirs LTLIBOBJS' 314 314 ac_subst_files='' 315 315 … … 858 858 --enable-z3950 Enable Z39.50 client support 859 859 --disable-yaz Disable YAZ compilation 860 --disable-accentfold Disable Accent Folding for MGPP 860 861 861 862 Optional Packages: … … 1412 1413 fi; 1413 1414 1415 # Check whether --enable-accentfold or --disable-accentfold was given. 1416 if test "${enable_accentfold+set}" = set; then 1417 enableval="$enable_accentfold" 1418 ENABLE_ACCENTFOLD=0 1419 else 1420 ENABLE_ACCENTFOLD=1 1421 fi; 1422 cat >>confdefs.h <<\_ACEOF 1423 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD 1424 _ACEOF 1425 1426 1427 1414 1428 LDFLAGS= 1415 1429 if test -z "$CFLAGS"; then … … 4648 4662 ac_cv_lib_crypt=ac_cv_lib_crypt_main 4649 4663 4650 4664 if test $ENABLE_ACCENTFOLD = 1; then 4665 4666 echo "$as_me:$LINENO: checking for main in -lICONV" >&5 4667 echo $ECHO_N "checking for main in -lICONV... $ECHO_C" >&6 4668 if test "${ac_cv_lib_ICONV_main+set}" = set; then 4669 echo $ECHO_N "(cached) $ECHO_C" >&6 4670 else 4671 ac_check_lib_save_LIBS=$LIBS 4672 LIBS="-lICONV $LIBS" 4673 cat >conftest.$ac_ext <<_ACEOF 4674 /* confdefs.h. */ 4675 _ACEOF 4676 cat confdefs.h >>conftest.$ac_ext 4677 cat >>conftest.$ac_ext <<_ACEOF 4678 /* end confdefs.h. */ 4679 4680 4681 int 4682 main () 4683 { 4684 main (); 4685 ; 4686 return 0; 4687 } 4688 _ACEOF 4689 rm -f conftest.$ac_objext conftest$ac_exeext 4690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4691 (eval $ac_link) 2>conftest.er1 4692 ac_status=$? 4693 grep -v '^ *+' conftest.er1 >conftest.err 4694 rm -f conftest.er1 4695 cat conftest.err >&5 4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4697 (exit $ac_status); } && 4698 { ac_try='test -z "$ac_c_werror_flag" 4699 || test ! -s conftest.err' 4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4701 (eval $ac_try) 2>&5 4702 ac_status=$? 4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4704 (exit $ac_status); }; } && 4705 { ac_try='test -s conftest$ac_exeext' 4706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4707 (eval $ac_try) 2>&5 4708 ac_status=$? 4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4710 (exit $ac_status); }; }; then 4711 ac_cv_lib_ICONV_main=yes 4712 else 4713 echo "$as_me: failed program was:" >&5 4714 sed 's/^/| /' conftest.$ac_ext >&5 4715 4716 ac_cv_lib_ICONV_main=no 4717 fi 4718 rm -f conftest.err conftest.$ac_objext \ 4719 conftest$ac_exeext conftest.$ac_ext 4720 LIBS=$ac_check_lib_save_LIBS 4721 fi 4722 echo "$as_me:$LINENO: result: $ac_cv_lib_ICONV_main" >&5 4723 echo "${ECHO_T}$ac_cv_lib_ICONV_main" >&6 4724 if test $ac_cv_lib_ICONV_main = yes; then 4725 cat >>confdefs.h <<_ACEOF 4726 #define HAVE_LIBICONV 1 4727 _ACEOF 4728 4729 LIBS="-lICONV $LIBS" 4730 4731 fi 4732 ac_cv_lib_ICONV=ac_cv_lib_ICONV_main 4733 4734 fi 4651 4735 4652 4736 … … 7954 8038 s,@USE_Z3950@,$USE_Z3950,;t t 7955 8039 s,@USE_YAZ@,$USE_YAZ,;t t 8040 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 7956 8041 s,@CFLAGS@,$CFLAGS,;t t 7957 8042 s,@CC@,$CC,;t t -
trunk/gsdl/configure.in
r12492 r12922 63 63 dnl 64 64 AC_ARG_WITH(gdbm, [ --with-gdbm=dir Use local gdbm library and headers], gdbmdir=$withval) 65 66 dnl 67 dnl disable compilation of accent folding stuff for mgpp (and one day mg) 68 dnl 69 AC_ARG_ENABLE(accentfold, [ --disable-accentfold Disable Accent Folding for MGPP], ENABLE_ACCENTFOLD=0, ENABLE_ACCENTFOLD=1) 70 AC_DEFINE(ENABLE_ACCENTFOLD, $ENABLE_ACCENTFOLD) 71 AC_SUBST(ENABLE_ACCENTFOLD) 65 72 66 73 dnl Checks for programs. … … 148 155 dnl check for -lcrypt: 149 156 AC_HAVE_LIBRARY(crypt) 150 157 if test $ENABLE_ACCENTFOLD = 1; then 158 AC_HAVE_LIBRARY(ICONV) 159 fi 151 160 152 161 dnl Checks for header files. -
trunk/gsdl/packages/Makefile.in
r12519 r12922 31 31 USE_Z3950=@USE_Z3950@ 32 32 USE_YAZ=@USE_YAZ@ 33 33 34 ifeq ($(USE_Z3950), 1) 34 35 # make sure USE_YAZ is set … … 46 47 endif 47 48 49 48 50 USE_CORBA=@USE_CORBA@ 49 51 MICO_DIR=@MICO_DIR@ … … 58 60 endif 59 61 62 ENABLE_ACCENTFOLD=@ENABLE_ACCENTFOLD@ 63 ifeq ($(ENABLE_ACCENTFOLD), 1) 64 UNAC=unac 65 else 66 UNAC= 67 endif 68 60 69 PACKAGEDIRS = wv/wv-gs rtftohtml/rtftohtml_src pdftohtml/pdftohtml_gs \ 61 70 wget/wget-1.9 expat/ cpan/XML-Parser-2.34 \ 62 $(YAZ) $(D2M) $(CORBA) \71 $(YAZ) $(D2M) $(CORBA) $(UNAC) \ 63 72 xlhtml/xlhtml-0.4.9.0 isis-gdl 64 73 -
trunk/gsdl/packages/configure
r12519 r12922 23 23 # z3950 server disabled by default, switch it on with --enable-z3950 24 24 USE_Z3950=false 25 # accentfolding enabled by default - switch it off with --disable-accentfold 26 ENABLE_ACCENTFOLD=true 25 27 # parse any arguments given from toplevel configure 26 28 while test $# -ne 0; do … … 55 57 MICO_DIR=$1 56 58 ;; 59 --disable-accentfold) 60 ENABLE_ACCENTFOLD=false 61 ;; 57 62 --prefix=*) 58 63 prefix=`echo $1 | sed s/--prefix=//` … … 250 255 ./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS 251 256 252 # configure cgicc 253 #echo "" 254 #echo "Configuring cgicc" 255 #echo "" 256 #cd "$PACKAGES/cgicc" 257 #gzip -dc cgicc-3.1.5.tar.gz | tar -xf - 258 #cd "$PACKAGES/cgicc/cgicc-3.1.5" && \ 259 #./configure $CACHE_FILE --disable-shared --prefix=$PACKAGES/cgicc --bindir="$bindir" $HOSTTARGETFLAGS 260 257 # configure unac program 258 echo "" 259 echo "Configuring unac" 260 echo "" 261 if test x$ENABLE_ACCENTFOLD = xtrue ; 262 then 263 echo "Accent folding support enabled, configuring unac library." 264 echo "add --disable-accentfold to the configure command to disable this" 265 266 cd "$PACKAGES/unac" 267 ./configure $CACHE_FILE $HOSTTARGETFLAGS 268 else 269 echo "Accent folding support disabled." 270 echo "" 271 fi -
trunk/gsdl/src/mgpp/text/Makefile.in
r12915 r12922 25 25 VERSION = @VERSION@ 26 26 27 ENABLE_ACCENTFOLD = 127 ENABLE_ACCENTFOLD = @ENABLE_ACCENTFOLD@ 28 28 ifeq ($(ENABLE_ACCENTFOLD), 1) 29 29 AFLIBS = ../../../packages/unac/libunac.a
Note:
See TracChangeset
for help on using the changeset viewer.