- Location:
- /trunk/gsdl
- Files:
-
- 33 added
- 5 deleted
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
/trunk/gsdl/packages/mg-1.3d/config.h.in
r30 r20 52 52 direction of stack growth for your system; otherwise it will be 53 53 automatically deduced at run-time. 54 55 56 54 STACK_DIRECTION > 0 => grows toward higher addresses 55 STACK_DIRECTION < 0 => grows toward lower addresses 56 STACK_DIRECTION = 0 => direction of growth unknown 57 57 */ 58 58 #undef STACK_DIRECTION … … 99 99 #undef HAVE_FTIME 100 100 101 /* Define if you have the ftruncate function. */102 #undef HAVE_FTRUNCATE103 104 101 /* Define if you have the getpagesize function. */ 105 102 #undef HAVE_GETPAGESIZE … … 117 114 #undef HAVE_SETBUFFER 118 115 119 /* Define if you have the strcasecmp function. */120 #undef HAVE_STRCASECMP121 122 116 /* Define if you have the strftime function. */ 123 117 #undef HAVE_STRFTIME 124 125 /* Define if you have the strstr function. */126 #undef HAVE_STRSTR127 118 128 119 /* Define if you have the strtol function. */ -
/trunk/gsdl/packages/mg-1.3d/configure
r30 r20 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2. 125 # Copyright (C) 1992, 93, 94, 95, 96Free Software Foundation, Inc.4 # Generated automatically using autoconf version 2.4 5 # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. 6 6 # 7 7 # This configure script is free software; the Free Software Foundation … … 39 39 x_includes=NONE 40 40 x_libraries=NONE 41 bindir='${exec_prefix}/bin'42 sbindir='${exec_prefix}/sbin'43 libexecdir='${exec_prefix}/libexec'44 datadir='${prefix}/share'45 sysconfdir='${prefix}/etc'46 sharedstatedir='${prefix}/com'47 localstatedir='${prefix}/var'48 libdir='${exec_prefix}/lib'49 includedir='${prefix}/include'50 oldincludedir='/usr/include'51 infodir='${prefix}/info'52 mandir='${prefix}/man'53 41 54 42 # Initialize some other variables. 55 43 subdirs= 56 MFLAGS= MAKEFLAGS=57 # Maximum number of lines to put in a shell here document.58 ac_max_here_lines=1259 44 60 45 ac_prev= … … 78 63 case "$ac_option" in 79 64 80 -bindir | --bindir | --bindi | --bind | --bin | --bi) 81 ac_prev=bindir ;; 82 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 83 bindir="$ac_optarg" ;; 84 85 -build | --build | --buil | --bui | --bu) 65 -build | --build | --buil | --bui | --bu | --b) 86 66 ac_prev=build ;; 87 -build=* | --build=* | --buil=* | --bui=* | --bu=* )67 -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*) 88 68 build="$ac_optarg" ;; 89 69 … … 94 74 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 95 75 cache_file="$ac_optarg" ;; 96 97 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)98 ac_prev=datadir ;;99 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \100 | --da=*)101 datadir="$ac_optarg" ;;102 76 103 77 -disable-* | --disable-*) … … 151 125 --prefix=PREFIX install architecture-independent files in PREFIX 152 126 [$ac_default_prefix] 153 --exec-prefix= EPREFIX install architecture-dependent files in EPREFIX127 --exec-prefix=PREFIX install architecture-dependent files in PREFIX 154 128 [same as prefix] 155 --bindir=DIR user executables in DIR [EPREFIX/bin]156 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]157 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]158 --datadir=DIR read-only architecture-independent data in DIR159 [PREFIX/share]160 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]161 --sharedstatedir=DIR modifiable architecture-independent data in DIR162 [PREFIX/com]163 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]164 --libdir=DIR object code libraries in DIR [EPREFIX/lib]165 --includedir=DIR C header files in DIR [PREFIX/include]166 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]167 --infodir=DIR info documentation in DIR [PREFIX/info]168 --mandir=DIR man documentation in DIR [PREFIX/man]169 129 --srcdir=DIR find the sources in DIR [configure dir or ..] 170 130 --program-prefix=PREFIX prepend PREFIX to installed program names 171 131 --program-suffix=SUFFIX append SUFFIX to installed program names 172 --program-transform-name=PROGRAM 173 run sed PROGRAM on installed program names 174 EOF 175 cat << EOF 132 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 176 133 Host type: 177 134 --build=BUILD configure for building on BUILD [BUILD=HOST] … … 185 142 --x-includes=DIR X include files are in DIR 186 143 --x-libraries=DIR X library files are in DIR 187 EOF 188 if test -n "$ac_help"; then 189 echo "--enable and --with options recognized:$ac_help" 190 fi 144 --enable and --with options recognized:$ac_help 145 EOF 191 146 exit 0 ;; 192 147 … … 196 151 host="$ac_optarg" ;; 197 152 198 -includedir | --includedir | --includedi | --included | --include \199 | --includ | --inclu | --incl | --inc)200 ac_prev=includedir ;;201 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \202 | --includ=* | --inclu=* | --incl=* | --inc=*)203 includedir="$ac_optarg" ;;204 205 -infodir | --infodir | --infodi | --infod | --info | --inf)206 ac_prev=infodir ;;207 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)208 infodir="$ac_optarg" ;;209 210 -libdir | --libdir | --libdi | --libd)211 ac_prev=libdir ;;212 -libdir=* | --libdir=* | --libdi=* | --libd=*)213 libdir="$ac_optarg" ;;214 215 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \216 | --libexe | --libex | --libe)217 ac_prev=libexecdir ;;218 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \219 | --libexe=* | --libex=* | --libe=*)220 libexecdir="$ac_optarg" ;;221 222 -localstatedir | --localstatedir | --localstatedi | --localstated \223 | --localstate | --localstat | --localsta | --localst \224 | --locals | --local | --loca | --loc | --lo)225 ac_prev=localstatedir ;;226 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \227 | --localstate=* | --localstat=* | --localsta=* | --localst=* \228 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)229 localstatedir="$ac_optarg" ;;230 231 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)232 ac_prev=mandir ;;233 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)234 mandir="$ac_optarg" ;;235 236 153 -nfp | --nfp | --nf) 237 154 # Obsolete; use --without-fp. … … 245 162 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 246 163 no_recursion=yes ;; 247 248 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \249 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \250 | --oldin | --oldi | --old | --ol | --o)251 ac_prev=oldincludedir ;;252 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \253 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \254 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)255 oldincludedir="$ac_optarg" ;;256 164 257 165 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) … … 295 203 silent=yes ;; 296 204 297 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)298 ac_prev=sbindir ;;299 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \300 | --sbi=* | --sb=*)301 sbindir="$ac_optarg" ;;302 303 -sharedstatedir | --sharedstatedir | --sharedstatedi \304 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \305 | --sharedst | --shareds | --shared | --share | --shar \306 | --sha | --sh)307 ac_prev=sharedstatedir ;;308 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \309 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \310 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \311 | --sha=* | --sh=*)312 sharedstatedir="$ac_optarg" ;;313 314 205 -site | --site | --sit) 315 206 ac_prev=site ;; … … 322 213 srcdir="$ac_optarg" ;; 323 214 324 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \325 | --syscon | --sysco | --sysc | --sys | --sy)326 ac_prev=sysconfdir ;;327 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \328 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)329 sysconfdir="$ac_optarg" ;;330 331 215 -target | --target | --targe | --targ | --tar | --ta | --t) 332 216 ac_prev=target ;; … … 338 222 339 223 -version | --version | --versio | --versi | --vers) 340 echo "configure generated by autoconf version 2. 12"224 echo "configure generated by autoconf version 2.4" 341 225 exit 0 ;; 342 226 … … 384 268 ;; 385 269 386 *) 270 *) 387 271 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 388 272 echo "configure: warning: $ac_option: invalid host type" 1>&2 … … 440 324 441 325 # NLS nuisances. 442 # Only set these to C if already set. These must not be set unconditionally443 # because not all systems understand e.g. LANG=C (notably SCO).444 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!445 # Non-C LC_CTYPE values break the ctype check. 326 # Only set LANG and LC_ALL to C if already set. 327 # These must not be set unconditionally because not all systems understand 328 # e.g. LANG=C (notably SCO). 329 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 446 330 if test "${LANG+set}" = set; then LANG=C; export LANG; fi 447 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi448 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi449 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi450 331 451 332 # confdefs.h avoids OS command line length limits that DEFS can exceed. … … 507 388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 508 389 ac_cpp='$CPP $CPPFLAGS' 509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 510 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 511 cross_compiling=$ac_cv_prog_cc_cross 390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5' 391 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5' 512 392 513 393 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then … … 528 408 program_transform_name= 529 409 else 530 # Double any \ or $. echo might interpret backslashes. 531 cat <<\EOF_SED > conftestsed 532 s,\\,\\\\,g; s,\$,$$,g 533 EOF_SED 410 # Double any \ or $. 411 echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed 534 412 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 535 413 rm -f conftestsed … … 559 437 560 438 561 for ac_prog in $CCC c++ g++ gcc CC cxx cc++439 for ac_prog in $CCC c++ g++ gcc CC cxx 562 440 do 563 441 # Extract the first word of "$ac_prog", so it can be a program name with args. 564 442 set dummy $ac_prog; ac_word=$2 565 443 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 566 echo "configure:567: checking for $ac_word" >&5567 444 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 568 445 echo $ac_n "(cached) $ac_c" 1>&6 … … 594 471 595 472 596 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6597 echo "configure:598: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5598 599 ac_ext=C600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.601 ac_cpp='$CXXCPP $CPPFLAGS'602 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'603 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'604 cross_compiling=$ac_cv_prog_cxx_cross605 606 cat > conftest.$ac_ext <<EOF607 #line 608 "configure"608 #include "confdefs.h"609 main(){return(0);}610 EOF611 if { (eval echo configure:612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then612 ac_cv_prog_cxx_works=yes613 # If we can't run a trivial program, we are probably using a cross compiler.614 if (./conftest; exit) 2>/dev/null; then615 ac_cv_prog_cxx_cross=no616 else617 ac_cv_prog_cxx_cross=yes618 fi619 else620 echo "configure: failed program was:" >&5621 cat conftest.$ac_ext >&5622 ac_cv_prog_cxx_works=no623 fi624 rm -fr conftest*625 ac_ext=c626 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.627 ac_cpp='$CPP $CPPFLAGS'628 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'629 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'630 cross_compiling=$ac_cv_prog_cc_cross631 632 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6633 if test $ac_cv_prog_cxx_works = no; then634 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }635 fi636 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6637 echo "configure:638: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5638 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6639 cross_compiling=$ac_cv_prog_cxx_cross640 641 473 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 642 echo "configure:643: checking whether we are using GNU C++" >&5643 474 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 644 475 echo $ac_n "(cached) $ac_c" 1>&6 … … 649 480 #endif 650 481 EOF 651 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }| egrep yes >/dev/null 2>&1; then482 if ${CXX-g++} -E conftest.C 2>&5 | egrep yes >/dev/null 2>&1; then 652 483 ac_cv_prog_gxx=yes 653 484 else … … 655 486 fi 656 487 fi 657 658 488 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 659 660 489 if test $ac_cv_prog_gxx = yes; then 661 490 GXX=yes 662 ac_test_CXXFLAGS="${CXXFLAGS+set}" 663 ac_save_CXXFLAGS="$CXXFLAGS" 664 CXXFLAGS= 665 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 666 echo "configure:667: checking whether ${CXX-g++} accepts -g" >&5 667 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 491 if test "${CXXFLAGS+set}" != set; then 492 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 493 if eval "test \"`echo '$''{'ac_cv_prog_gxx_g'+set}'`\" = set"; then 668 494 echo $ac_n "(cached) $ac_c" 1>&6 669 495 else 670 496 echo 'void f(){}' > conftest.cc 671 497 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then 672 ac_cv_prog_cxx_g=yes 673 else 674 ac_cv_prog_cxx_g=no 675 fi 676 rm -f conftest* 677 678 fi 679 680 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 681 if test "$ac_test_CXXFLAGS" = set; then 682 CXXFLAGS="$ac_save_CXXFLAGS" 683 elif test $ac_cv_prog_cxx_g = yes; then 684 CXXFLAGS="-g -O2" 685 else 686 CXXFLAGS="-O2" 498 ac_cv_prog_gxx_g=yes 499 else 500 ac_cv_prog_gxx_g=no 501 fi 502 rm -f conftest* 503 504 fi 505 echo "$ac_t""$ac_cv_prog_gxx_g" 1>&6 506 if test $ac_cv_prog_gxx_g = yes; then 507 CXXFLAGS="-g -O" 508 else 509 CXXFLAGS="-O" 510 fi 687 511 fi 688 512 else … … 696 520 set dummy $ac_prog; ac_word=$2 697 521 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 698 echo "configure:699: checking for $ac_word" >&5699 522 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then 700 523 echo $ac_n "(cached) $ac_c" 1>&6 … … 729 552 set dummy $ac_prog; ac_word=$2 730 553 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 731 echo "configure:732: checking for $ac_word" >&5732 554 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 733 555 echo $ac_n "(cached) $ac_c" 1>&6 … … 761 583 set dummy gcc; ac_word=$2 762 584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 763 echo "configure:764: checking for $ac_word" >&5764 585 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 765 586 echo $ac_n "(cached) $ac_c" 1>&6 … … 777 598 done 778 599 IFS="$ac_save_ifs" 600 test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc" 779 601 fi 780 602 fi … … 786 608 fi 787 609 788 if test -z "$CC"; then789 # Extract the first word of "cc", so it can be a program name with args.790 set dummy cc; ac_word=$2791 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6792 echo "configure:793: checking for $ac_word" >&5793 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then794 echo $ac_n "(cached) $ac_c" 1>&6795 else796 if test -n "$CC"; then797 ac_cv_prog_CC="$CC" # Let the user override the test.798 else799 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"800 ac_prog_rejected=no801 for ac_dir in $PATH; do802 test -z "$ac_dir" && ac_dir=.803 if test -f $ac_dir/$ac_word; then804 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then805 ac_prog_rejected=yes806 continue807 fi808 ac_cv_prog_CC="cc"809 break810 fi811 done812 IFS="$ac_save_ifs"813 if test $ac_prog_rejected = yes; then814 # We found a bogon in the path, so make sure we never use it.815 set dummy $ac_cv_prog_CC816 shift817 if test $# -gt 0; then818 # We chose a different compiler from the bogus one.819 # However, it has the same basename, so the bogon will be chosen820 # first if we set CC to just the basename; use the full file name.821 shift822 set dummy "$ac_dir/$ac_word" "$@"823 shift824 ac_cv_prog_CC="$@"825 fi826 fi827 fi828 fi829 CC="$ac_cv_prog_CC"830 if test -n "$CC"; then831 echo "$ac_t""$CC" 1>&6832 else833 echo "$ac_t""no" 1>&6834 fi835 836 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }837 fi838 839 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6840 echo "configure:841: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5841 842 ac_ext=c843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.844 ac_cpp='$CPP $CPPFLAGS'845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'846 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'847 cross_compiling=$ac_cv_prog_cc_cross848 849 cat > conftest.$ac_ext <<EOF850 #line 851 "configure"851 #include "confdefs.h"852 main(){return(0);}853 EOF854 if { (eval echo configure:855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then855 ac_cv_prog_cc_works=yes856 # If we can't run a trivial program, we are probably using a cross compiler.857 if (./conftest; exit) 2>/dev/null; then858 ac_cv_prog_cc_cross=no859 else860 ac_cv_prog_cc_cross=yes861 fi862 else863 echo "configure: failed program was:" >&5864 cat conftest.$ac_ext >&5865 ac_cv_prog_cc_works=no866 fi867 rm -fr conftest*868 869 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6870 if test $ac_cv_prog_cc_works = no; then871 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }872 fi873 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6874 echo "configure:875: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5875 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6876 cross_compiling=$ac_cv_prog_cc_cross877 610 878 611 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 879 echo "configure:880: checking whether we are using GNU C" >&5880 612 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 881 613 echo $ac_n "(cached) $ac_c" 1>&6 … … 886 618 #endif 887 619 EOF 888 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }| egrep yes >/dev/null 2>&1; then620 if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then 889 621 ac_cv_prog_gcc=yes 890 622 else … … 892 624 fi 893 625 fi 894 895 626 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 896 897 627 if test $ac_cv_prog_gcc = yes; then 898 628 GCC=yes 899 ac_test_CFLAGS="${CFLAGS+set}" 900 ac_save_CFLAGS="$CFLAGS" 901 CFLAGS= 902 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 903 echo "configure:904: checking whether ${CC-cc} accepts -g" >&5 904 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 629 if test "${CFLAGS+set}" != set; then 630 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 631 if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then 905 632 echo $ac_n "(cached) $ac_c" 1>&6 906 633 else 907 634 echo 'void f(){}' > conftest.c 908 635 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 909 ac_cv_prog_cc_g=yes 910 else 911 ac_cv_prog_cc_g=no 912 fi 913 rm -f conftest* 914 915 fi 916 917 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 918 if test "$ac_test_CFLAGS" = set; then 919 CFLAGS="$ac_save_CFLAGS" 920 elif test $ac_cv_prog_cc_g = yes; then 921 CFLAGS="-g -O2" 922 else 923 CFLAGS="-O2" 636 ac_cv_prog_gcc_g=yes 637 else 638 ac_cv_prog_gcc_g=no 639 fi 640 rm -f conftest* 641 642 fi 643 echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6 644 if test $ac_cv_prog_gcc_g = yes; then 645 CFLAGS="-g -O" 646 else 647 CFLAGS="-O" 648 fi 924 649 fi 925 650 else … … 958 683 # ./install, which can be erroneously created by make from ./install.sh. 959 684 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 960 echo "configure:961: checking for a BSD compatible install" >&5961 685 if test -z "$INSTALL"; then 962 686 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 963 687 echo $ac_n "(cached) $ac_c" 1>&6 964 688 else 965 IFS="${IFS= }"; ac_save_ IFS="$IFS"; IFS="${IFS}:"689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 966 690 for ac_dir in $PATH; do 967 691 # Account for people who put trailing slashes in PATH elements. … … 986 710 esac 987 711 done 988 IFS="$ac_save_IFS" 989 990 fi 991 if test "${ac_cv_path_install+set}" = set; then 992 INSTALL="$ac_cv_path_install" 993 else 994 # As a last resort, use the slow shell script. We don't cache a 995 # path for INSTALL within a source directory, because that will 996 # break other packages using the cache if that directory is 997 # removed, or if the path is relative. 998 INSTALL="$ac_install_sh" 999 fi 712 IFS="$ac_save_ifs" 713 # As a last resort, use the slow shell script. 714 test -z "$ac_cv_path_install" && ac_cv_path_install="$ac_install_sh" 715 fi 716 INSTALL="$ac_cv_path_install" 1000 717 fi 1001 718 echo "$ac_t""$INSTALL" 1>&6 … … 1008 725 1009 726 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1010 echo "configure:1011: checking whether ln -s works" >&51011 727 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1012 728 echo $ac_n "(cached) $ac_c" 1>&6 … … 1029 745 1030 746 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1031 echo "configure:1032: checking whether ${MAKE-make} sets \${MAKE}" >&5 1032 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 747 set dummy ${MAKE-make}; ac_make=$2 1033 748 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 1034 749 echo $ac_n "(cached) $ac_c" 1>&6 … … 1058 773 set dummy ranlib; ac_word=$2 1059 774 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1060 echo "configure:1061: checking for $ac_word" >&51061 775 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1062 776 echo $ac_n "(cached) $ac_c" 1>&6 … … 1086 800 1087 801 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1088 echo "configure:1089: checking how to run the C preprocessor" >&51089 802 # On Suns, sometimes $CPP names a directory. 1090 803 if test -n "$CPP" && test -d "$CPP"; then … … 1101 814 # not just through cpp. 1102 815 cat > conftest.$ac_ext <<EOF 1103 #line 1104"configure"816 #line 817 "configure" 1104 817 #include "confdefs.h" 1105 818 #include <assert.h> 1106 819 Syntax Error 1107 820 EOF 1108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1109 { (eval echo configure:1110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 821 eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1110 822 ac_err=`grep -v '^ *+' conftest.out` 1111 823 if test -z "$ac_err"; then … … 1113 825 else 1114 826 echo "$ac_err" >&5 1115 echo "configure: failed program was:" >&51116 cat conftest.$ac_ext >&51117 827 rm -rf conftest* 1118 828 CPP="${CC-cc} -E -traditional-cpp" 1119 829 cat > conftest.$ac_ext <<EOF 1120 #line 1121 "configure"830 #line 831 "configure" 1121 831 #include "confdefs.h" 1122 832 #include <assert.h> 1123 833 Syntax Error 1124 834 EOF 1125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1126 { (eval echo configure:1127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 835 eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1127 836 ac_err=`grep -v '^ *+' conftest.out` 1128 837 if test -z "$ac_err"; then … … 1130 839 else 1131 840 echo "$ac_err" >&5 1132 echo "configure: failed program was:" >&51133 cat conftest.$ac_ext >&51134 841 rm -rf conftest* 1135 842 CPP=/lib/cpp … … 1147 854 1148 855 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1149 echo "configure:1150: checking for AIX" >&51150 856 cat > conftest.$ac_ext <<EOF 1151 #line 1152"configure"857 #line 858 "configure" 1152 858 #include "confdefs.h" 1153 859 #ifdef _AIX … … 1171 877 1172 878 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 1173 echo "configure:1174: checking for POSIXized ISC" >&51174 879 if test -d /etc/conf/kconfig.d && 1175 880 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 1191 896 fi 1192 897 1193 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`898 ac_safe=`echo "minix/config.h" | tr './\055' '___'` 1194 899 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 1195 echo "configure:1196: checking for minix/config.h" >&51196 900 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1197 901 echo $ac_n "(cached) $ac_c" 1>&6 1198 902 else 1199 903 cat > conftest.$ac_ext <<EOF 1200 #line 1201"configure"904 #line 905 "configure" 1201 905 #include "confdefs.h" 1202 906 #include <minix/config.h> 1203 907 EOF 1204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1205 { (eval echo configure:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 908 eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1206 909 ac_err=`grep -v '^ *+' conftest.out` 1207 910 if test -z "$ac_err"; then … … 1210 913 else 1211 914 echo "$ac_err" >&5 1212 echo "configure: failed program was:" >&51213 cat conftest.$ac_ext >&51214 915 rm -rf conftest* 1215 916 eval "ac_cv_header_$ac_safe=no" … … 1241 942 1242 943 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 1243 echo "configure:1244: checking for ${CC-cc} option to accept ANSI C" >&51244 944 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 1245 945 echo $ac_n "(cached) $ac_c" 1>&6 … … 1257 957 CFLAGS="$ac_save_CFLAGS $ac_arg" 1258 958 cat > conftest.$ac_ext <<EOF 1259 #line 1260 "configure"959 #line 960 "configure" 1260 960 #include "confdefs.h" 1261 961 #if !defined(__STDC__) || __STDC__ != 1 … … 1263 963 #endif 1264 964 1265 int main() { 965 int main() { return 0; } 966 int t() { 1266 967 int test (int i, double x); 1267 968 struct s1 {int (*f) (int a);}; … … 1269 970 ; return 0; } 1270 971 EOF 1271 if { (eval echo configure:1272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then972 if eval $ac_compile; then 1272 973 rm -rf conftest* 1273 974 ac_cv_prog_cc_stdc="$ac_arg"; break 1274 else 1275 echo "configure: failed program was:" >&5 1276 cat conftest.$ac_ext >&5 1277 fi 1278 rm -f conftest* 975 fi 976 rm -f conftest* 977 1279 978 done 1280 979 CFLAGS="$ac_save_CFLAGS" … … 1290 989 1291 990 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 1292 echo "configure:1293: checking for function prototypes" >&51293 991 if test "$ac_cv_prog_cc_stdc" != no; then 1294 992 echo "$ac_t""yes" 1>&6 … … 1304 1002 1305 1003 echo $ac_n "checking for working const""... $ac_c" 1>&6 1306 echo "configure:1307: checking for working const" >&51307 1004 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1308 1005 echo $ac_n "(cached) $ac_c" 1>&6 1309 1006 else 1310 1007 cat > conftest.$ac_ext <<EOF 1311 #line 1312 "configure" 1312 #include "confdefs.h" 1313 1314 int main() { 1008 #line 1009 "configure" 1009 #include "confdefs.h" 1010 1011 int main() { return 0; } 1012 int t() { 1315 1013 1316 1014 /* Ultrix mips cc rejects this. */ … … 1321 1019 /* NEC SVR4.0.2 mips cc rejects this. */ 1322 1020 struct point {int x, y;}; 1323 static struct point const zero = {0,0};1021 static struct point const zero; 1324 1022 /* AIX XL C 1.02.0.0 rejects this. 1325 1023 It does not let you subtract one const X* pointer from another in an arm … … 1358 1056 ; return 0; } 1359 1057 EOF 1360 if { (eval echo configure:1361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1058 if eval $ac_compile; then 1361 1059 rm -rf conftest* 1362 1060 ac_cv_c_const=yes 1363 1061 else 1364 echo "configure: failed program was:" >&51365 cat conftest.$ac_ext >&51366 1062 rm -rf conftest* 1367 1063 ac_cv_c_const=no 1368 1064 fi 1369 1065 rm -f conftest* 1370 fi 1371 1066 1067 fi 1372 1068 echo "$ac_t""$ac_cv_c_const" 1>&6 1373 1069 if test $ac_cv_c_const = no; then … … 1378 1074 fi 1379 1075 1076 # If we cannot run a trivial program, we must be cross compiling. 1077 echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6 1078 if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then 1079 echo $ac_n "(cached) $ac_c" 1>&6 1080 else 1081 if test "$cross_compiling" = yes; then 1082 ac_cv_c_cross=yes 1083 else 1084 cat > conftest.$ac_ext <<EOF 1085 #line 1086 "configure" 1086 #include "confdefs.h" 1087 main(){return(0);} 1088 EOF 1089 eval $ac_link 1090 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1091 ac_cv_c_cross=no 1092 else 1093 ac_cv_c_cross=yes 1094 fi 1095 fi 1096 rm -fr conftest* 1097 fi 1098 cross_compiling=$ac_cv_c_cross 1099 echo "$ac_t""$ac_cv_c_cross" 1>&6 1100 1380 1101 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1381 echo "configure:1382: checking for ANSI C header files" >&51382 1102 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1383 1103 echo $ac_n "(cached) $ac_c" 1>&6 1384 1104 else 1385 1105 cat > conftest.$ac_ext <<EOF 1386 #line 1 387 "configure"1106 #line 1107 "configure" 1387 1107 #include "confdefs.h" 1388 1108 #include <stdlib.h> … … 1391 1111 #include <float.h> 1392 1112 EOF 1393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1394 { (eval echo configure:1395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1113 eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1395 1114 ac_err=`grep -v '^ *+' conftest.out` 1396 1115 if test -z "$ac_err"; then … … 1399 1118 else 1400 1119 echo "$ac_err" >&5 1401 echo "configure: failed program was:" >&51402 cat conftest.$ac_ext >&51403 1120 rm -rf conftest* 1404 1121 ac_cv_header_stdc=no … … 1409 1126 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1410 1127 cat > conftest.$ac_ext <<EOF 1411 #line 1 412"configure"1128 #line 1129 "configure" 1412 1129 #include "confdefs.h" 1413 1130 #include <string.h> … … 1427 1144 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1428 1145 cat > conftest.$ac_ext <<EOF 1429 #line 1 430"configure"1146 #line 1147 "configure" 1430 1147 #include "confdefs.h" 1431 1148 #include <stdlib.h> … … 1445 1162 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1446 1163 if test "$cross_compiling" = yes; then 1447 :1448 else 1449 1450 #line 1 451"configure"1164 ac_cv_header_stdc=no 1165 else 1166 cat > conftest.$ac_ext <<EOF 1167 #line 1168 "configure" 1451 1168 #include "confdefs.h" 1452 1169 #include <ctype.h> … … 1459 1176 1460 1177 EOF 1461 if { (eval echo configure:1462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 1462 then1178 eval $ac_link 1179 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1463 1180 : 1464 1181 else 1465 echo "configure: failed program was:" >&51466 cat conftest.$ac_ext >&51467 rm -fr conftest*1468 1182 ac_cv_header_stdc=no 1469 1183 fi 1184 fi 1470 1185 rm -fr conftest* 1471 1186 fi 1472 1473 fi 1474 fi 1475 1187 fi 1476 1188 echo "$ac_t""$ac_cv_header_stdc" 1>&6 1477 1189 if test $ac_cv_header_stdc = yes; then … … 1483 1195 1484 1196 echo $ac_n "checking for off_t""... $ac_c" 1>&6 1485 echo "configure:1486: checking for off_t" >&51486 1197 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 1487 1198 echo $ac_n "(cached) $ac_c" 1>&6 1488 1199 else 1489 1200 cat > conftest.$ac_ext <<EOF 1490 #line 1 491"configure"1201 #line 1202 "configure" 1491 1202 #include "confdefs.h" 1492 1203 #include <sys/types.h> 1493 1204 #if STDC_HEADERS 1494 1205 #include <stdlib.h> 1495 #include <stddef.h>1496 1206 #endif 1497 1207 EOF 1498 1208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1499 egrep "off_t [^a-zA-Z_0-9]" >/dev/null 2>&1; then1209 egrep "off_t" >/dev/null 2>&1; then 1500 1210 rm -rf conftest* 1501 1211 ac_cv_type_off_t=yes … … 1516 1226 1517 1227 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1518 echo "configure:1519: checking for size_t" >&51519 1228 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1520 1229 echo $ac_n "(cached) $ac_c" 1>&6 1521 1230 else 1522 1231 cat > conftest.$ac_ext <<EOF 1523 #line 1 524"configure"1232 #line 1233 "configure" 1524 1233 #include "confdefs.h" 1525 1234 #include <sys/types.h> 1526 1235 #if STDC_HEADERS 1527 1236 #include <stdlib.h> 1528 #include <stddef.h>1529 1237 #endif 1530 1238 EOF 1531 1239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1532 egrep "size_t [^a-zA-Z_0-9]" >/dev/null 2>&1; then1240 egrep "size_t" >/dev/null 2>&1; then 1533 1241 rm -rf conftest* 1534 1242 ac_cv_type_size_t=yes … … 1549 1257 1550 1258 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1551 echo "configure:1552: checking whether time.h and sys/time.h may both be included" >&51552 1259 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1553 1260 echo $ac_n "(cached) $ac_c" 1>&6 1554 1261 else 1555 1262 cat > conftest.$ac_ext <<EOF 1556 #line 1 557"configure"1263 #line 1264 "configure" 1557 1264 #include "confdefs.h" 1558 1265 #include <sys/types.h> 1559 1266 #include <sys/time.h> 1560 1267 #include <time.h> 1561 int main() { 1268 int main() { return 0; } 1269 int t() { 1562 1270 struct tm *tp; 1563 1271 ; return 0; } 1564 1272 EOF 1565 if { (eval echo configure:1566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1273 if eval $ac_compile; then 1566 1274 rm -rf conftest* 1567 1275 ac_cv_header_time=yes 1568 1276 else 1569 echo "configure: failed program was:" >&51570 cat conftest.$ac_ext >&51571 1277 rm -rf conftest* 1572 1278 ac_cv_header_time=no 1573 1279 fi 1574 1280 rm -f conftest* 1575 fi 1576 1281 1282 fi 1577 1283 echo "$ac_t""$ac_cv_header_time" 1>&6 1578 1284 if test $ac_cv_header_time = yes; then … … 1584 1290 1585 1291 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 1586 echo "configure:1587: checking whether struct tm is in sys/time.h or time.h" >&51587 1292 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 1588 1293 echo $ac_n "(cached) $ac_c" 1>&6 1589 1294 else 1590 1295 cat > conftest.$ac_ext <<EOF 1591 #line 1 592"configure"1296 #line 1297 "configure" 1592 1297 #include "confdefs.h" 1593 1298 #include <sys/types.h> 1594 1299 #include <time.h> 1595 int main() { 1300 int main() { return 0; } 1301 int t() { 1596 1302 struct tm *tp; tp->tm_sec; 1597 1303 ; return 0; } 1598 1304 EOF 1599 if { (eval echo configure:1600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1305 if eval $ac_compile; then 1600 1306 rm -rf conftest* 1601 1307 ac_cv_struct_tm=time.h 1602 1308 else 1603 echo "configure: failed program was:" >&51604 cat conftest.$ac_ext >&51605 1309 rm -rf conftest* 1606 1310 ac_cv_struct_tm=sys/time.h 1607 1311 fi 1608 1312 rm -f conftest* 1609 fi 1610 1313 1314 fi 1611 1315 echo "$ac_t""$ac_cv_struct_tm" 1>&6 1612 1316 if test $ac_cv_struct_tm = sys/time.h; then … … 1620 1324 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 1621 1325 cat > conftest.$ac_ext <<EOF 1622 #line 1 623"configure"1326 #line 1327 "configure" 1623 1327 #include "confdefs.h" 1624 1328 #include <stdio.h> 1625 1329 1626 int main() { 1330 int main() { return 0; } 1331 int t() { 1627 1332 FILE *rubbish = popen("yes", "r"); 1628 1333 ; return 0; } 1629 1334 EOF 1630 if { (eval echo configure:1631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1335 if eval $ac_compile; then 1631 1336 : 1632 1337 else 1633 echo "configure: failed program was:" >&51634 cat conftest.$ac_ext >&51635 1338 rm -rf conftest* 1636 1339 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 1637 1340 fi 1638 1341 rm -f conftest* 1639 fi 1640 1641 1642 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 1643 echo "configure:1644: checking for main in -lm" >&5 1644 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 1645 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1342 1343 fi 1344 1345 1346 echo $ac_n "checking for -lm""... $ac_c" 1>&6 1347 if eval "test \"`echo '$''{'ac_cv_lib_m'+set}'`\" = set"; then 1646 1348 echo $ac_n "(cached) $ac_c" 1>&6 1647 1349 else … … 1649 1351 LIBS="-lm $LIBS" 1650 1352 cat > conftest.$ac_ext <<EOF 1651 #line 1652 "configure" 1652 #include "confdefs.h" 1653 1654 int main() { 1353 #line 1354 "configure" 1354 #include "confdefs.h" 1355 1356 int main() { return 0; } 1357 int t() { 1655 1358 main() 1656 1359 ; return 0; } 1657 1360 EOF 1658 if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1659 rm -rf conftest* 1660 eval "ac_cv_lib_$ac_lib_var=yes" 1661 else 1662 echo "configure: failed program was:" >&5 1663 cat conftest.$ac_ext >&5 1664 rm -rf conftest* 1665 eval "ac_cv_lib_$ac_lib_var=no" 1361 if eval $ac_link; then 1362 rm -rf conftest* 1363 eval "ac_cv_lib_m=yes" 1364 else 1365 rm -rf conftest* 1366 eval "ac_cv_lib_m=no" 1666 1367 fi 1667 1368 rm -f conftest* … … 1669 1370 1670 1371 fi 1671 if eval "test \"`echo '$ac_cv_lib_' $ac_lib_var`\" = yes"; then1372 if eval "test \"`echo '$ac_cv_lib_'m`\" = yes"; then 1672 1373 echo "$ac_t""yes" 1>&6 1673 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1674 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1374 ac_tr_lib=HAVE_LIB`echo m | tr '[a-z]' '[A-Z]'` 1675 1375 cat >> confdefs.h <<EOF 1676 1376 #define $ac_tr_lib 1 … … 1687 1387 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h 1688 1388 do 1689 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`1389 ac_safe=`echo "$ac_hdr" | tr './\055' '___'` 1690 1390 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 1691 echo "configure:1692: checking for $ac_hdr that defines DIR" >&51692 1391 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 1693 1392 echo $ac_n "(cached) $ac_c" 1>&6 1694 1393 else 1695 1394 cat > conftest.$ac_ext <<EOF 1696 #line 1 697"configure"1395 #line 1396 "configure" 1697 1396 #include "confdefs.h" 1698 1397 #include <sys/types.h> 1699 1398 #include <$ac_hdr> 1700 int main() { 1399 int main() { return 0; } 1400 int t() { 1701 1401 DIR *dirp = 0; 1702 1402 ; return 0; } 1703 1403 EOF 1704 if { (eval echo configure:1705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1404 if eval $ac_compile; then 1705 1405 rm -rf conftest* 1706 1406 eval "ac_cv_header_dirent_$ac_safe=yes" 1707 1407 else 1708 echo "configure: failed program was:" >&51709 cat conftest.$ac_ext >&51710 1408 rm -rf conftest* 1711 1409 eval "ac_cv_header_dirent_$ac_safe=no" 1712 1410 fi 1713 1411 rm -f conftest* 1412 1714 1413 fi 1715 1414 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then 1716 1415 echo "$ac_t""yes" 1>&6 1717 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`1416 ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'` 1718 1417 cat >> confdefs.h <<EOF 1719 1418 #define $ac_tr_hdr 1 … … 1726 1425 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 1727 1426 if test $ac_header_dirent = dirent.h; then 1728 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 1729 echo "configure:1730: checking for opendir in -ldir" >&5 1730 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 1731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1427 echo $ac_n "checking for -ldir""... $ac_c" 1>&6 1428 if eval "test \"`echo '$''{'ac_cv_lib_dir'+set}'`\" = set"; then 1732 1429 echo $ac_n "(cached) $ac_c" 1>&6 1733 1430 else … … 1735 1432 LIBS="-ldir $LIBS" 1736 1433 cat > conftest.$ac_ext <<EOF 1737 #line 1738 "configure" 1738 #include "confdefs.h" 1739 /* Override any gcc2 internal prototype to avoid an error. */ 1740 /* We use char because int might match the return type of a gcc2 1741 builtin and then its argument prototype would still apply. */ 1742 char opendir(); 1743 1744 int main() { 1434 #line 1435 "configure" 1435 #include "confdefs.h" 1436 1437 int main() { return 0; } 1438 int t() { 1745 1439 opendir() 1746 1440 ; return 0; } 1747 1441 EOF 1748 if { (eval echo configure:1749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1749 rm -rf conftest* 1750 eval "ac_cv_lib_$ac_lib_var=yes" 1751 else 1752 echo "configure: failed program was:" >&5 1753 cat conftest.$ac_ext >&5 1754 rm -rf conftest* 1755 eval "ac_cv_lib_$ac_lib_var=no" 1442 if eval $ac_link; then 1443 rm -rf conftest* 1444 eval "ac_cv_lib_dir=yes" 1445 else 1446 rm -rf conftest* 1447 eval "ac_cv_lib_dir=no" 1756 1448 fi 1757 1449 rm -f conftest* … … 1759 1451 1760 1452 fi 1761 if eval "test \"`echo '$ac_cv_lib_' $ac_lib_var`\" = yes"; then1453 if eval "test \"`echo '$ac_cv_lib_'dir`\" = yes"; then 1762 1454 echo "$ac_t""yes" 1>&6 1763 1455 LIBS="$LIBS -ldir" … … 1767 1459 1768 1460 else 1769 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 1770 echo "configure:1771: checking for opendir in -lx" >&5 1771 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 1772 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1461 echo $ac_n "checking for -lx""... $ac_c" 1>&6 1462 if eval "test \"`echo '$''{'ac_cv_lib_x'+set}'`\" = set"; then 1773 1463 echo $ac_n "(cached) $ac_c" 1>&6 1774 1464 else … … 1776 1466 LIBS="-lx $LIBS" 1777 1467 cat > conftest.$ac_ext <<EOF 1778 #line 1779 "configure" 1779 #include "confdefs.h" 1780 /* Override any gcc2 internal prototype to avoid an error. */ 1781 /* We use char because int might match the return type of a gcc2 1782 builtin and then its argument prototype would still apply. */ 1783 char opendir(); 1784 1785 int main() { 1468 #line 1469 "configure" 1469 #include "confdefs.h" 1470 1471 int main() { return 0; } 1472 int t() { 1786 1473 opendir() 1787 1474 ; return 0; } 1788 1475 EOF 1789 if { (eval echo configure:1790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1790 rm -rf conftest* 1791 eval "ac_cv_lib_$ac_lib_var=yes" 1792 else 1793 echo "configure: failed program was:" >&5 1794 cat conftest.$ac_ext >&5 1795 rm -rf conftest* 1796 eval "ac_cv_lib_$ac_lib_var=no" 1476 if eval $ac_link; then 1477 rm -rf conftest* 1478 eval "ac_cv_lib_x=yes" 1479 else 1480 rm -rf conftest* 1481 eval "ac_cv_lib_x=no" 1797 1482 fi 1798 1483 rm -f conftest* … … 1800 1485 1801 1486 fi 1802 if eval "test \"`echo '$ac_cv_lib_' $ac_lib_var`\" = yes"; then1487 if eval "test \"`echo '$ac_cv_lib_'x`\" = yes"; then 1803 1488 echo "$ac_t""yes" 1>&6 1804 1489 LIBS="$LIBS -lx" … … 1810 1495 1811 1496 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1812 echo "configure:1813: checking for ANSI C header files" >&51813 1497 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1814 1498 echo $ac_n "(cached) $ac_c" 1>&6 1815 1499 else 1816 1500 cat > conftest.$ac_ext <<EOF 1817 #line 1 818"configure"1501 #line 1502 "configure" 1818 1502 #include "confdefs.h" 1819 1503 #include <stdlib.h> … … 1822 1506 #include <float.h> 1823 1507 EOF 1824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1825 { (eval echo configure:1826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1508 eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1826 1509 ac_err=`grep -v '^ *+' conftest.out` 1827 1510 if test -z "$ac_err"; then … … 1830 1513 else 1831 1514 echo "$ac_err" >&5 1832 echo "configure: failed program was:" >&51833 cat conftest.$ac_ext >&51834 1515 rm -rf conftest* 1835 1516 ac_cv_header_stdc=no … … 1840 1521 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1841 1522 cat > conftest.$ac_ext <<EOF 1842 #line 1 843"configure"1523 #line 1524 "configure" 1843 1524 #include "confdefs.h" 1844 1525 #include <string.h> … … 1858 1539 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1859 1540 cat > conftest.$ac_ext <<EOF 1860 #line 1 861"configure"1541 #line 1542 "configure" 1861 1542 #include "confdefs.h" 1862 1543 #include <stdlib.h> … … 1876 1557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1877 1558 if test "$cross_compiling" = yes; then 1878 :1879 else 1880 1881 #line 1 882"configure"1559 ac_cv_header_stdc=no 1560 else 1561 cat > conftest.$ac_ext <<EOF 1562 #line 1563 "configure" 1882 1563 #include "confdefs.h" 1883 1564 #include <ctype.h> … … 1890 1571 1891 1572 EOF 1892 if { (eval echo configure:1893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 1893 then1573 eval $ac_link 1574 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1894 1575 : 1895 1576 else 1896 echo "configure: failed program was:" >&51897 cat conftest.$ac_ext >&51898 rm -fr conftest*1899 1577 ac_cv_header_stdc=no 1900 1578 fi 1579 fi 1901 1580 rm -fr conftest* 1902 1581 fi 1903 1904 fi 1905 fi 1906 1582 fi 1907 1583 echo "$ac_t""$ac_cv_header_stdc" 1>&6 1908 1584 if test $ac_cv_header_stdc = yes; then … … 1915 1591 for ac_hdr in fcntl.h limits.h sys/time.h unistd.h string.h memory.h sys/procfs.h 1916 1592 do 1917 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`1593 ac_safe=`echo "$ac_hdr" | tr './\055' '___'` 1918 1594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1919 echo "configure:1920: checking for $ac_hdr" >&51920 1595 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1921 1596 echo $ac_n "(cached) $ac_c" 1>&6 1922 1597 else 1923 1598 cat > conftest.$ac_ext <<EOF 1924 #line 1 925"configure"1599 #line 1600 "configure" 1925 1600 #include "confdefs.h" 1926 1601 #include <$ac_hdr> 1927 1602 EOF 1928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1929 { (eval echo configure:1930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1603 eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1930 1604 ac_err=`grep -v '^ *+' conftest.out` 1931 1605 if test -z "$ac_err"; then … … 1934 1608 else 1935 1609 echo "$ac_err" >&5 1936 echo "configure: failed program was:" >&51937 cat conftest.$ac_ext >&51938 1610 rm -rf conftest* 1939 1611 eval "ac_cv_header_$ac_safe=no" … … 1943 1615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1944 1616 echo "$ac_t""yes" 1>&6 1945 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`1617 ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'` 1946 1618 cat >> confdefs.h <<EOF 1947 1619 #define $ac_tr_hdr 1 … … 1954 1626 1955 1627 cat > conftest.$ac_ext <<EOF 1956 #line 1 957"configure"1628 #line 1629 "configure" 1957 1629 #include "confdefs.h" 1958 1630 #include <stdio.h> … … 1969 1641 1970 1642 cat > conftest.$ac_ext <<EOF 1971 #line 1 972"configure"1643 #line 1644 "configure" 1972 1644 #include "confdefs.h" 1973 1645 #include <stdio.h> … … 1984 1656 1985 1657 cat > conftest.$ac_ext <<EOF 1986 #line 1 987"configure"1658 #line 1659 "configure" 1987 1659 #include "confdefs.h" 1988 1660 #include <sys/procfs.h> … … 2002 1674 # for constant arguments. Useless! 2003 1675 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2004 echo "configure:2005: checking for working alloca.h" >&52005 1676 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2006 1677 echo $ac_n "(cached) $ac_c" 1>&6 2007 1678 else 2008 1679 cat > conftest.$ac_ext <<EOF 2009 #line 2010"configure"1680 #line 1681 "configure" 2010 1681 #include "confdefs.h" 2011 1682 #include <alloca.h> 2012 int main() { 1683 int main() { return 0; } 1684 int t() { 2013 1685 char *p = alloca(2 * sizeof(int)); 2014 1686 ; return 0; } 2015 1687 EOF 2016 if { (eval echo configure:2017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1688 if eval $ac_link; then 2017 1689 rm -rf conftest* 2018 1690 ac_cv_header_alloca_h=yes 2019 1691 else 2020 echo "configure: failed program was:" >&52021 cat conftest.$ac_ext >&52022 1692 rm -rf conftest* 2023 1693 ac_cv_header_alloca_h=no 2024 1694 fi 2025 1695 rm -f conftest* 2026 fi 2027 1696 1697 fi 2028 1698 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 2029 1699 if test $ac_cv_header_alloca_h = yes; then … … 2035 1705 2036 1706 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2037 echo "configure:2038: checking for alloca" >&5 2038 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 1707 if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then 2039 1708 echo $ac_n "(cached) $ac_c" 1>&6 2040 1709 else 2041 1710 cat > conftest.$ac_ext <<EOF 2042 #line 2043"configure"1711 #line 1712 "configure" 2043 1712 #include "confdefs.h" 2044 1713 … … 2059 1728 #endif 2060 1729 2061 int main() { 1730 int main() { return 0; } 1731 int t() { 2062 1732 char *p = (char *) alloca(1); 2063 1733 ; return 0; } 2064 1734 EOF 2065 if { (eval echo configure:2066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2066 rm -rf conftest* 2067 ac_cv_func_alloca_works=yes 2068 else 2069 echo "configure: failed program was:" >&5 2070 cat conftest.$ac_ext >&5 2071 rm -rf conftest* 2072 ac_cv_func_alloca_works=no 2073 fi 2074 rm -f conftest* 2075 fi 2076 2077 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 2078 if test $ac_cv_func_alloca_works = yes; then 1735 if eval $ac_link; then 1736 rm -rf conftest* 1737 ac_cv_func_alloca=yes 1738 else 1739 rm -rf conftest* 1740 ac_cv_func_alloca=no 1741 fi 1742 rm -f conftest* 1743 1744 fi 1745 echo "$ac_t""$ac_cv_func_alloca" 1>&6 1746 if test $ac_cv_func_alloca = yes; then 2079 1747 cat >> confdefs.h <<\EOF 2080 1748 #define HAVE_ALLOCA 1 … … 2083 1751 fi 2084 1752 2085 if test $ac_cv_func_alloca _works= no; then1753 if test $ac_cv_func_alloca = no; then 2086 1754 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 2087 1755 # that cause trouble. Some versions do not even contain alloca or … … 2095 1763 2096 1764 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2097 echo "configure:2098: checking whether alloca needs Cray hooks" >&52098 1765 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2099 1766 echo $ac_n "(cached) $ac_c" 1>&6 2100 1767 else 2101 1768 cat > conftest.$ac_ext <<EOF 2102 #line 2103"configure"1769 #line 1770 "configure" 2103 1770 #include "confdefs.h" 2104 1771 #if defined(CRAY) && ! defined(CRAY2) … … 2120 1787 2121 1788 fi 2122 2123 1789 echo "$ac_t""$ac_cv_os_cray" 1>&6 2124 1790 if test $ac_cv_os_cray = yes; then 2125 1791 for ac_func in _getb67 GETB67 getb67; do 2126 1792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2127 echo "configure:2128: checking for $ac_func" >&52128 1793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2129 1794 echo $ac_n "(cached) $ac_c" 1>&6 2130 1795 else 2131 1796 cat > conftest.$ac_ext <<EOF 2132 #line 2133"configure"1797 #line 1798 "configure" 2133 1798 #include "confdefs.h" 2134 1799 /* System header to define __stub macros and hopefully few prototypes, … … 2136 1801 #include <assert.h> 2137 1802 /* Override any gcc2 internal prototype to avoid an error. */ 2138 /* We use char because int might match the return type of a gcc2 2139 builtin and then its argument prototype would still apply. */ 2140 char $ac_func(); 2141 2142 int main() { 1803 char $ac_func(); 1804 1805 int main() { return 0; } 1806 int t() { 2143 1807 2144 1808 /* The GNU C library defines this for functions which it implements … … 2153 1817 ; return 0; } 2154 1818 EOF 2155 if { (eval echo configure:2156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1819 if eval $ac_link; then 2156 1820 rm -rf conftest* 2157 1821 eval "ac_cv_func_$ac_func=yes" 2158 1822 else 2159 echo "configure: failed program was:" >&52160 cat conftest.$ac_ext >&52161 1823 rm -rf conftest* 2162 1824 eval "ac_cv_func_$ac_func=no" 2163 1825 fi 2164 1826 rm -f conftest* 2165 fi 2166 1827 1828 fi 2167 1829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2168 1830 echo "$ac_t""yes" 1>&6 … … 2180 1842 2181 1843 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2182 echo "configure:2183: checking stack direction for C alloca" >&52183 1844 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2184 1845 echo $ac_n "(cached) $ac_c" 1>&6 … … 2187 1848 ac_cv_c_stack_direction=0 2188 1849 else 2189 2190 #line 2191"configure"1850 cat > conftest.$ac_ext <<EOF 1851 #line 1852 "configure" 2191 1852 #include "confdefs.h" 2192 1853 find_stack_direction () … … 2207 1868 } 2208 1869 EOF 2209 if { (eval echo configure:2210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2210 then1870 eval $ac_link 1871 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2211 1872 ac_cv_c_stack_direction=1 2212 1873 else 2213 echo "configure: failed program was:" >&52214 cat conftest.$ac_ext >&52215 rm -fr conftest*2216 1874 ac_cv_c_stack_direction=-1 2217 1875 fi 1876 fi 2218 1877 rm -fr conftest* 2219 1878 fi 2220 2221 fi2222 2223 1879 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 2224 1880 cat >> confdefs.h <<EOF … … 2229 1885 2230 1886 if test $ac_cv_prog_gcc = yes; then 2231 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2232 echo "configure:2233: checking whether ${CC-cc} needs -traditional" >&5 1887 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2233 1888 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2234 1889 echo $ac_n "(cached) $ac_c" 1>&6 … … 2236 1891 ac_pattern="Autoconf.*'x'" 2237 1892 cat > conftest.$ac_ext <<EOF 2238 #line 2239"configure"1893 #line 1894 "configure" 2239 1894 #include "confdefs.h" 2240 1895 #include <sgtty.h> … … 2254 1909 if test $ac_cv_prog_gcc_traditional = no; then 2255 1910 cat > conftest.$ac_ext <<EOF 2256 #line 2257"configure"1911 #line 1912 "configure" 2257 1912 #include "confdefs.h" 2258 1913 #include <termio.h> … … 2268 1923 fi 2269 1924 fi 2270 2271 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 1925 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 2272 1926 if test $ac_cv_prog_gcc_traditional = yes; then 2273 1927 CC="$CC -traditional" … … 2276 1930 2277 1931 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2278 echo "configure:2279: checking return type of signal handlers" >&52279 1932 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2280 1933 echo $ac_n "(cached) $ac_c" 1>&6 2281 1934 else 2282 1935 cat > conftest.$ac_ext <<EOF 2283 #line 2284"configure"1936 #line 1937 "configure" 2284 1937 #include "confdefs.h" 2285 1938 #include <sys/types.h> … … 2289 1942 #endif 2290 1943 #ifdef __cplusplus 2291 extern "C" void (*signal (int, void (*)(int)))(int);2292 #e lse1944 extern "C" 1945 #endif 2293 1946 void (*signal ()) (); 2294 #endif 2295 2296 int main() { 1947 int main() { return 0; } 1948 int t() { 2297 1949 int i; 2298 1950 ; return 0; } 2299 1951 EOF 2300 if { (eval echo configure:2301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1952 if eval $ac_compile; then 2301 1953 rm -rf conftest* 2302 1954 ac_cv_type_signal=void 2303 1955 else 2304 echo "configure: failed program was:" >&52305 cat conftest.$ac_ext >&52306 1956 rm -rf conftest* 2307 1957 ac_cv_type_signal=int 2308 1958 fi 2309 1959 rm -f conftest* 2310 fi 2311 1960 1961 fi 2312 1962 echo "$ac_t""$ac_cv_type_signal" 1>&6 2313 1963 cat >> confdefs.h <<EOF … … 2317 1967 2318 1968 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2319 echo "configure:2320: checking for vprintf" >&52320 1969 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2321 1970 echo $ac_n "(cached) $ac_c" 1>&6 2322 1971 else 2323 1972 cat > conftest.$ac_ext <<EOF 2324 #line 2325"configure"1973 #line 1974 "configure" 2325 1974 #include "confdefs.h" 2326 1975 /* System header to define __stub macros and hopefully few prototypes, … … 2328 1977 #include <assert.h> 2329 1978 /* Override any gcc2 internal prototype to avoid an error. */ 2330 /* We use char because int might match the return type of a gcc2 2331 builtin and then its argument prototype would still apply. */ 2332 char vprintf(); 2333 2334 int main() { 1979 char vprintf(); 1980 1981 int main() { return 0; } 1982 int t() { 2335 1983 2336 1984 /* The GNU C library defines this for functions which it implements … … 2345 1993 ; return 0; } 2346 1994 EOF 2347 if { (eval echo configure:2348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1995 if eval $ac_link; then 2348 1996 rm -rf conftest* 2349 1997 eval "ac_cv_func_vprintf=yes" 2350 1998 else 2351 echo "configure: failed program was:" >&52352 cat conftest.$ac_ext >&52353 1999 rm -rf conftest* 2354 2000 eval "ac_cv_func_vprintf=no" 2355 2001 fi 2356 2002 rm -f conftest* 2357 fi 2358 2003 2004 fi 2359 2005 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then 2360 2006 echo "$ac_t""yes" 1>&6 … … 2369 2015 if test "$ac_cv_func_vprintf" != yes; then 2370 2016 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2371 echo "configure:2372: checking for _doprnt" >&52372 2017 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2373 2018 echo $ac_n "(cached) $ac_c" 1>&6 2374 2019 else 2375 2020 cat > conftest.$ac_ext <<EOF 2376 #line 2 377"configure"2021 #line 2022 "configure" 2377 2022 #include "confdefs.h" 2378 2023 /* System header to define __stub macros and hopefully few prototypes, … … 2380 2025 #include <assert.h> 2381 2026 /* Override any gcc2 internal prototype to avoid an error. */ 2382 /* We use char because int might match the return type of a gcc2 2383 builtin and then its argument prototype would still apply. */ 2384 char _doprnt(); 2385 2386 int main() { 2027 char _doprnt(); 2028 2029 int main() { return 0; } 2030 int t() { 2387 2031 2388 2032 /* The GNU C library defines this for functions which it implements … … 2397 2041 ; return 0; } 2398 2042 EOF 2399 if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2043 if eval $ac_link; then 2400 2044 rm -rf conftest* 2401 2045 eval "ac_cv_func__doprnt=yes" 2402 2046 else 2403 echo "configure: failed program was:" >&52404 cat conftest.$ac_ext >&52405 2047 rm -rf conftest* 2406 2048 eval "ac_cv_func__doprnt=no" 2407 2049 fi 2408 2050 rm -f conftest* 2409 fi 2410 2051 2052 fi 2411 2053 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then 2412 2054 echo "$ac_t""yes" 1>&6 … … 2424 2066 do 2425 2067 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2426 echo "configure:2427: checking for $ac_func" >&52427 2068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2428 2069 echo $ac_n "(cached) $ac_c" 1>&6 2429 2070 else 2430 2071 cat > conftest.$ac_ext <<EOF 2431 #line 2 432"configure"2072 #line 2073 "configure" 2432 2073 #include "confdefs.h" 2433 2074 /* System header to define __stub macros and hopefully few prototypes, … … 2435 2076 #include <assert.h> 2436 2077 /* Override any gcc2 internal prototype to avoid an error. */ 2437 /* We use char because int might match the return type of a gcc2 2438 builtin and then its argument prototype would still apply. */ 2439 char $ac_func(); 2440 2441 int main() { 2078 char $ac_func(); 2079 2080 int main() { return 0; } 2081 int t() { 2442 2082 2443 2083 /* The GNU C library defines this for functions which it implements … … 2452 2092 ; return 0; } 2453 2093 EOF 2454 if { (eval echo configure:2455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2094 if eval $ac_link; then 2455 2095 rm -rf conftest* 2456 2096 eval "ac_cv_func_$ac_func=yes" 2457 2097 else 2458 echo "configure: failed program was:" >&52459 cat conftest.$ac_ext >&52460 2098 rm -rf conftest* 2461 2099 eval "ac_cv_func_$ac_func=no" 2462 2100 fi 2463 2101 rm -f conftest* 2464 fi 2465 2102 2103 fi 2466 2104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2467 2105 echo "$ac_t""yes" 1>&6 2468 ac_tr_func=HAVE_`echo $ac_func | tr ' abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`2106 ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'` 2469 2107 cat >> confdefs.h <<EOF 2470 2108 #define $ac_tr_func 1 … … 2479 2117 do 2480 2118 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2481 echo "configure:2482: checking for $ac_func" >&52482 2119 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2483 2120 echo $ac_n "(cached) $ac_c" 1>&6 2484 2121 else 2485 2122 cat > conftest.$ac_ext <<EOF 2486 #line 2 487"configure"2123 #line 2124 "configure" 2487 2124 #include "confdefs.h" 2488 2125 /* System header to define __stub macros and hopefully few prototypes, … … 2490 2127 #include <assert.h> 2491 2128 /* Override any gcc2 internal prototype to avoid an error. */ 2492 /* We use char because int might match the return type of a gcc2 2493 builtin and then its argument prototype would still apply. */ 2494 char $ac_func(); 2495 2496 int main() { 2129 char $ac_func(); 2130 2131 int main() { return 0; } 2132 int t() { 2497 2133 2498 2134 /* The GNU C library defines this for functions which it implements … … 2507 2143 ; return 0; } 2508 2144 EOF 2509 if { (eval echo configure:2510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2145 if eval $ac_link; then 2510 2146 rm -rf conftest* 2511 2147 eval "ac_cv_func_$ac_func=yes" 2512 2148 else 2513 echo "configure: failed program was:" >&52514 cat conftest.$ac_ext >&52515 2149 rm -rf conftest* 2516 2150 eval "ac_cv_func_$ac_func=no" 2517 2151 fi 2518 2152 rm -f conftest* 2519 fi 2520 2153 2154 fi 2521 2155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2522 2156 echo "$ac_t""yes" 1>&6 2523 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 2524 cat >> confdefs.h <<EOF 2525 #define $ac_tr_func 1 2526 EOF 2527 2157 : 2528 2158 else 2529 2159 echo "$ac_t""no" 1>&6 2530 2160 LIBOBJS="$LIBOBJS ${ac_func}.o" 2531 2161 fi 2162 2532 2163 done 2533 2534 2164 2535 2165 … … 2538 2168 # --------------------------------------------------------------------------- 2539 2169 echo $ac_n "checking for HP-UX needing gmalloc""... $ac_c" 1>&6 2540 echo "configure:2541: checking for HP-UX needing gmalloc" >&52541 2170 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 2542 2171 echo "$ac_t""yes" 1>&6 … … 2551 2180 do 2552 2181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2553 echo "configure:2554: checking for $ac_func" >&52554 2182 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2555 2183 echo $ac_n "(cached) $ac_c" 1>&6 2556 2184 else 2557 2185 cat > conftest.$ac_ext <<EOF 2558 #line 2 559"configure"2186 #line 2187 "configure" 2559 2187 #include "confdefs.h" 2560 2188 /* System header to define __stub macros and hopefully few prototypes, … … 2562 2190 #include <assert.h> 2563 2191 /* Override any gcc2 internal prototype to avoid an error. */ 2564 /* We use char because int might match the return type of a gcc2 2565 builtin and then its argument prototype would still apply. */ 2566 char $ac_func(); 2567 2568 int main() { 2192 char $ac_func(); 2193 2194 int main() { return 0; } 2195 int t() { 2569 2196 2570 2197 /* The GNU C library defines this for functions which it implements … … 2579 2206 ; return 0; } 2580 2207 EOF 2581 if { (eval echo configure:2582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2208 if eval $ac_link; then 2582 2209 rm -rf conftest* 2583 2210 eval "ac_cv_func_$ac_func=yes" 2584 2211 else 2585 echo "configure: failed program was:" >&52586 cat conftest.$ac_ext >&52587 2212 rm -rf conftest* 2588 2213 eval "ac_cv_func_$ac_func=no" 2589 2214 fi 2590 2215 rm -f conftest* 2591 fi 2592 2216 2217 fi 2593 2218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2594 2219 echo "$ac_t""yes" 1>&6 2595 ac_tr_func=HAVE_`echo $ac_func | tr ' abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`2220 ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'` 2596 2221 cat >> confdefs.h <<EOF 2597 2222 #define $ac_tr_func 1 … … 2606 2231 2607 2232 echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6 2608 echo "configure:2609: checking if malloc debugging is wanted" >&52609 2233 # Check whether --with-dmalloc or --without-dmalloc was given. 2610 if test "${with_dmalloc+set}" = set; then 2611 withval="$with_dmalloc" 2234 withval="$with_dmalloc" 2235 if test -n "$withval"; then 2612 2236 if test "$withval" = yes; then 2613 2237 echo "$ac_t""yes" 1>&6 … … 2627 2251 2628 2252 echo $ac_n "checking which of rx or regex is wanted""... $ac_c" 1>&6 2629 echo "configure:2630: checking which of rx or regex is wanted" >&52630 2253 # Check whether --with-regex or --without-regex was given. 2631 if test "${with_regex+set}" = set; then 2632 withval="$with_regex" 2254 withval="$with_regex" 2255 if test -n "$withval"; then 2633 2256 if test "$withval" = yes; then 2634 2257 ac_with_regex=1 … … 2645 2268 echo "$ac_t""rx" 1>&6 2646 2269 echo $ac_n "checking for re_rx_search""... $ac_c" 1>&6 2647 echo "configure:2648: checking for re_rx_search" >&52648 2270 if eval "test \"`echo '$''{'ac_cv_func_re_rx_search'+set}'`\" = set"; then 2649 2271 echo $ac_n "(cached) $ac_c" 1>&6 2650 2272 else 2651 2273 cat > conftest.$ac_ext <<EOF 2652 #line 2 653"configure"2274 #line 2275 "configure" 2653 2275 #include "confdefs.h" 2654 2276 /* System header to define __stub macros and hopefully few prototypes, … … 2656 2278 #include <assert.h> 2657 2279 /* Override any gcc2 internal prototype to avoid an error. */ 2658 /* We use char because int might match the return type of a gcc2 2659 builtin and then its argument prototype would still apply. */ 2660 char re_rx_search(); 2661 2662 int main() { 2280 char re_rx_search(); 2281 2282 int main() { return 0; } 2283 int t() { 2663 2284 2664 2285 /* The GNU C library defines this for functions which it implements … … 2673 2294 ; return 0; } 2674 2295 EOF 2675 if { (eval echo configure:2676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2296 if eval $ac_link; then 2676 2297 rm -rf conftest* 2677 2298 eval "ac_cv_func_re_rx_search=yes" 2678 2299 else 2679 echo "configure: failed program was:" >&52680 cat conftest.$ac_ext >&52681 2300 rm -rf conftest* 2682 2301 eval "ac_cv_func_re_rx_search=no" 2683 2302 fi 2684 2303 rm -f conftest* 2685 fi 2686 2304 2305 fi 2687 2306 if eval "test \"`echo '$ac_cv_func_'re_rx_search`\" = yes"; then 2688 2307 echo "$ac_t""yes" 1>&6 … … 2721 2340 # 2722 2341 EOF 2723 # The following way of writing the cache mishandles newlines in values,2724 # but we know of no workaround that is simple, portable, and efficient.2725 # So, don't put newlines in cache variables' values.2726 2342 # Ultrix sh set writes to stderr and can't be redirected directly, 2727 2343 # and sets the high bit in the cache file unless we assign to the vars. 2728 2344 (set) 2>&1 | 2729 case `(ac_space=' '; set) 2>&1` in 2730 *ac_space=\ *) 2731 # `set' does not quote correctly, so add quotes (double-quote substitution 2732 # turns \\\\ into \\, and sed turns \\ into \). 2733 sed -n \ 2734 -e "s/'/'\\\\''/g" \ 2735 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 2736 ;; 2737 *) 2738 # `set' quotes correctly as required by POSIX, so do not add quotes. 2739 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 2740 ;; 2741 esac >> confcache 2345 sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \ 2346 >> confcache 2742 2347 if cmp -s $cache_file confcache; then 2743 2348 : … … 2794 2399 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 2795 2400 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 2796 echo "$CONFIG_STATUS generated by autoconf version 2. 12"2401 echo "$CONFIG_STATUS generated by autoconf version 2.4" 2797 2402 exit 0 ;; 2798 2403 -help | --help | --hel | --he | --h) … … 2807 2412 trap 'rm -fr `echo "Makefile src/text/Makefile src/images/Makefile 2808 2413 src/scripts/Makefile lib/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 2809 EOF 2810 cat >> $CONFIG_STATUS <<EOF 2811 2812 # Protect against being on the right side of a sed subst in config.status. 2813 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 2814 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 2414 2415 # Protect against being on the right side of a sed subst in config.status. 2416 sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g; 2417 s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF 2815 2418 $ac_vpsub 2816 2419 $extrasub … … 2824 2427 s%@prefix@%$prefix%g 2825 2428 s%@program_transform_name@%$program_transform_name%g 2826 s%@bindir@%$bindir%g2827 s%@sbindir@%$sbindir%g2828 s%@libexecdir@%$libexecdir%g2829 s%@datadir@%$datadir%g2830 s%@sysconfdir@%$sysconfdir%g2831 s%@sharedstatedir@%$sharedstatedir%g2832 s%@localstatedir@%$localstatedir%g2833 s%@libdir@%$libdir%g2834 s%@includedir@%$includedir%g2835 s%@oldincludedir@%$oldincludedir%g2836 s%@infodir@%$infodir%g2837 s%@mandir@%$mandir%g2838 2429 s%@PACKAGE@%$PACKAGE%g 2839 2430 s%@VERSION@%$VERSION%g … … 2855 2446 CEOF 2856 2447 EOF 2857 2858 cat >> $CONFIG_STATUS <<\EOF2859 2860 # Split the substitutions into bite-sized pieces for seds with2861 # small command number limits, like on Digital OSF/1 and HP-UX.2862 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.2863 ac_file=1 # Number of current file.2864 ac_beg=1 # First line for current file.2865 ac_end=$ac_max_sed_cmds # Line after last line for current file.2866 ac_more_lines=:2867 ac_sed_cmds=""2868 while $ac_more_lines; do2869 if test $ac_beg -gt 1; then2870 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file2871 else2872 sed "${ac_end}q" conftest.subs > conftest.s$ac_file2873 fi2874 if test ! -s conftest.s$ac_file; then2875 ac_more_lines=false2876 rm -f conftest.s$ac_file2877 else2878 if test -z "$ac_sed_cmds"; then2879 ac_sed_cmds="sed -f conftest.s$ac_file"2880 else2881 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"2882 fi2883 ac_file=`expr $ac_file + 1`2884 ac_beg=$ac_end2885 ac_end=`expr $ac_end + $ac_max_sed_cmds`2886 fi2887 done2888 if test -z "$ac_sed_cmds"; then2889 ac_sed_cmds=cat2890 fi2891 EOF2892 2893 2448 cat >> $CONFIG_STATUS <<EOF 2894 2449 … … 2898 2453 cat >> $CONFIG_STATUS <<\EOF 2899 2454 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 2900 # Support "outfile[:infile [:infile...]]", defaulting infile="outfile.in".2455 # Support "outfile[:infile]", defaulting infile="outfile.in". 2901 2456 case "$ac_file" in 2902 *:*) ac_file_in=`echo "$ac_file"|sed 's% [^:]*:%%'`2457 *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'` 2903 2458 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 2904 2459 *) ac_file_in="${ac_file}.in" ;; 2905 2460 esac 2906 2461 2907 # Adjust a relative srcdir, top_srcdir, and INSTALLfor subdirectories.2462 # Adjust relative srcdir, etc. for subdirectories. 2908 2463 2909 2464 # Remove last slash and all that follows it. Not all systems have dirname. … … 2933 2488 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 2934 2489 esac 2935 2936 2490 echo creating "$ac_file" 2937 2491 rm -f "$ac_file" … … 2942 2496 *) ac_comsub= ;; 2943 2497 esac 2944 2945 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`2946 2498 sed -e "$ac_comsub 2947 2499 s%@configure_input@%$configure_input%g … … 2949 2501 s%@top_srcdir@%$top_srcdir%g 2950 2502 s%@INSTALL@%$INSTALL%g 2951 " $ac_file_inputs | (eval "$ac_sed_cmds")> $ac_file2503 " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file 2952 2504 fi; done 2953 rm -f conftest.s *2505 rm -f conftest.subs 2954 2506 2955 2507 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where … … 2972 2524 ac_eD='%g' 2973 2525 2974 if test "${CONFIG_HEADERS+set}" != set; then 2975 EOF 2976 cat >> $CONFIG_STATUS <<EOF 2977 CONFIG_HEADERS="config.h" 2978 EOF 2979 cat >> $CONFIG_STATUS <<\EOF 2980 fi 2526 CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"} 2981 2527 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then 2982 # Support "outfile[:infile [:infile...]]", defaulting infile="outfile.in".2528 # Support "outfile[:infile]", defaulting infile="outfile.in". 2983 2529 case "$ac_file" in 2984 *:*) ac_file_in=`echo "$ac_file"|sed 's% [^:]*:%%'`2530 *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'` 2985 2531 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 2986 2532 *) ac_file_in="${ac_file}.in" ;; … … 2990 2536 2991 2537 rm -f conftest.frag conftest.in conftest.out 2992 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2993 cat $ac_file_inputs > conftest.in 2538 cp $ac_given_srcdir/$ac_file_in conftest.in 2994 2539 2995 2540 EOF … … 2997 2542 # Transform confdefs.h into a sed script conftest.vals that substitutes 2998 2543 # the proper values into config.h.in to produce config.h. And first: 2999 # Protect against being on the right side of a sed subst in config.status. 2544 # Protect against being on the right side of a sed subst in config.status. 3000 2545 # Protect against being in an unquoted here document in config.status. 3001 2546 rm -f conftest.vals … … 3003 2548 s/[\\&%]/\\&/g 3004 2549 s%[\\$`]%\\&%g 3005 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp2550 s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp 3006 2551 s%ac_d%ac_u%gp 3007 2552 s%ac_u%ac_e%gp … … 3019 2564 # Break up conftest.vals because some shells have a limit on 3020 2565 # the size of here documents, and old seds have small limits too. 2566 # Maximum number of lines to put in a single here document. 2567 ac_max_here_lines=12 3021 2568 3022 2569 rm -f conftest.tail … … 3049 2596 rm -f conftest.h 3050 2597 else 3051 # Remove last slash and all that follows it. Not all systems have dirname.3052 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`3053 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then3054 # The file is in a subdirectory.3055 test ! -d "$ac_dir" && mkdir "$ac_dir"3056 fi3057 2598 rm -f $ac_file 3058 2599 mv conftest.h $ac_file … … 3060 2601 fi; done 3061 2602 3062 EOF 3063 cat >> $CONFIG_STATUS <<EOF 3064 3065 EOF 3066 cat >> $CONFIG_STATUS <<\EOF 2603 3067 2604 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h 3068 2605 exit 0 -
/trunk/gsdl/packages/mg-1.3d/lib/Makefile.in
r30 r20 37 37 DEFS = @DEFS@ 38 38 RANLIB = @RANLIB@ 39 40 ##########################################41 # Uncomment for compiling for the nzdl project42 #43 CFLAGS = @CFLAGS@ -DQUIET44 ##########################################45 46 39 47 40 prefix = @prefix@ … … 83 76 bitio_m_mems.h bitio_stdio.h huffman_stdio.h sptree.h \ 84 77 regex.h rx.h pathmax.h getpagesize.h \ 85 random.h frenchstem.h78 random.h 86 79 87 80 SOURCES = \ … … 93 86 timing.c regex.c rx.c \ 94 87 alloca.c error.c xmalloc.c strstr.c \ 95 gmalloc.c ftruncate.c strcasecmp.c random.c \ 96 frenchstem.c 88 gmalloc.c ftruncate.c strcasecmp.c random.c 97 89 98 90 OBJECTS = @ALLOCA@ @LIBOBJS@ \ … … 104 96 timing$o regex$o rx$o \ 105 97 error$o xmalloc$o \ 106 gmalloc$o random$o frenchstem$o98 gmalloc$o random$o 107 99 108 100 DISTFILES = Makefile.in $(HEADERS) $(SOURCES) -
/trunk/gsdl/packages/mg-1.3d/lib/WIN32.MAK
r30 r20 31 31 #CFLAGS = -g -O 32 32 CPPFLAGS = 33 DEFS = -D QUIET -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN33 DEFS = -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN 34 34 35 35 COMPILE = $(CC) -c $(DEFS) -I. -I.. … … 53 53 bitio_m_mem.h bitio_random.h huffman_mem.h perf_hash.h \ 54 54 bitio_m_mems.h bitio_stdio.h huffman_stdio.h sptree.h \ 55 56 random.h win32in.h frenchstem.h55 regex.h rx.h pathmax.h getpagesize.h \ 56 random.h 57 57 58 58 SOURCES = \ … … 62 62 bitio_mem.c getopt.c huffman_stdio.c sptree.c \ 63 63 bitio_mems.c getopt1.c local_strings.c stem.c \ 64 timing.c 64 timing.c regex.c rx.c \ 65 65 alloca.c error.c xmalloc.c strstr.c \ 66 ftruncate.c strcasecmp.c random.c win32in.c \ 67 frenchstem.c 66 ftruncate.c strcasecmp.c random.c 68 67 69 OBJECTS = rx $o\68 OBJECTS = rx.obj \ 70 69 bitio_random$o heap$o memlib$o \ 71 70 bitio_stdio$o huffman$o messages$o \ … … 73 72 bitio_mem$o getopt$o huffman_stdio$o sptree$o \ 74 73 bitio_mems$o getopt1$o local_strings$o stem$o \ 75 timing$o \74 timing$o regex$o \ 76 75 error$o xmalloc$o \ 77 random$o win32in$o frenchstem$o76 random$o 78 77 79 78 DISTFILES = Makefile.in $(HEADERS) $(SOURCES) … … 102 101 103 102 mostlyclean: 104 del *.obj103 rm -f *.o *_.o 105 104 106 105 clean: mostlyclean 107 dellibmg.lib106 rm -f libmg.lib 108 107 109 108 distclean: clean -
/trunk/gsdl/packages/mg-1.3d/lib/alloca.c
r30 r20 26 26 # include <win32cfg.h> 27 27 # else 28 # include < sysfuncs.h>28 # include <config.h> 29 29 # endif 30 30 #endif -
/trunk/gsdl/packages/mg-1.3d/lib/error.c
r30 r20 22 22 # include <win32cfg.h> 23 23 # else 24 # include < sysfuncs.h>24 # include <config.h> 25 25 # endif 26 26 #endif -
/trunk/gsdl/packages/mg-1.3d/lib/frenchstem.c
r30 r20 1 /**************************************************************************2 *3 * frenchstem.c -- a simple french stemmer4 *5 * This program is free software; you can redistribute it and/or modify6 * it under the terms of the GNU General Public License as published by7 * the Free Software Foundation; either version 2 of the License, or8 * (at your option) any later version.9 *10 * This program is distributed in the hope that it will be useful,11 * but WITHOUT ANY WARRANTY; without even the implied warranty of12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13 * GNU General Public License for more details.14 *15 * You should have received a copy of the GNU General Public License16 * along with this program; if not, write to the Free Software17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.18 *19 * $Id$20 *21 **************************************************************************/22 1 23 #include "frenchstem.h" 24 25 26 27 /* ========================================================================= 28 * Function: frenchstem 29 * Description: a simple french stemmer 30 * Input: a word string with the length in the first byte 31 * Output: the stemmed word 32 * ========================================================================= */ 33 34 void frenchstem (unsigned char *word) { 35 unsigned char *wordstart = word + 1; /* points to first letter of word */ 36 int last = (int)word[0]-1; /* last points to the last character */ 37 38 if (last > 4) { 39 if (wordstart[last]=='x') { 40 if (wordstart[last-1]=='u' && wordstart[last-2]=='a') { 41 wordstart[last-1]='l'; 2 static char * frenchstem (word) 3 char *word; 4 { 5 int len = strlen(word)-1; 6 if (len > 4) { 7 if (word[len]=='x') { 8 if (word[len-1]=='u' && word[len-2]=='a') { 9 word[len-1]='l'; 42 10 } 43 word start[last]='\0';44 last--;45 46 }else {47 if (word start[last]=='s' && last>=0)48 {word start[last]='\0'; last--;}49 if (word start[last]=='r' && last>=0)50 {word start[last]='\0'; last--;}51 if (word start[last]=='e' && last>=0)52 {word start[last]='\0'; last--;}53 if (word start[last]=='é' && last>=0)/* letter with accent e + ' */54 {word start[last]='\0'; last--;}55 if (word start[last]==wordstart[last-1] && last>=1)56 {wordstart[last]='\0'; last--;}11 word[len]='\0'; 12 return(word); 13 } 14 else { 15 if (word[len]=='s') 16 {word[len]='\0';len--;} 17 if (word[len]=='r') 18 {word[len]='\0';len--;} 19 if (word[len]=='e') 20 {word[len]='\0';len--;} 21 if (word[len]=='é') /* letter with accent e + ' */ 22 {word[len]='\0';len--;} 23 if (word[len] == word[len-1]) 24 word[len]='\0'; 57 25 } /* end else */ 58 59 word[0] = (unsigned char)(last+1);60 26 } /* end if (len > 4) */ 27 return(word); 61 28 } -
/trunk/gsdl/packages/mg-1.3d/lib/ftruncate.c
r30 r20 6 6 # include <win32cfg.h> 7 7 # else 8 # include < sysfuncs.h>8 # include <config.h> 9 9 # endif 10 10 #endif -
/trunk/gsdl/packages/mg-1.3d/lib/getopt.c
r30 r20 23 23 24 24 #ifdef HAVE_CONFIG_H 25 #include " sysfuncs.h"25 #include "config.h" 26 26 #endif 27 27 -
/trunk/gsdl/packages/mg-1.3d/lib/getopt1.c
r30 r20 19 19 20 20 #ifdef HAVE_CONFIG_H 21 #include " sysfuncs.h"21 #include "config.h" 22 22 #endif 23 23 -
/trunk/gsdl/packages/mg-1.3d/lib/gmalloc.c
r30 r20 34 34 35 35 #ifdef HAVE_CONFIG_H 36 #include < sysfuncs.h>36 #include <config.h> 37 37 #endif 38 38 -
/trunk/gsdl/packages/mg-1.3d/lib/messages.c
r30 r20 24 24 /* 25 25 $Log$ 26 Revision 1.2 1998/11/23 03:38:06 rjmcnab 27 28 combined unix and windows versions of mg 29 30 Revision 1.1 1998/11/19 03:00:32 sjboddie 31 Added windows gdbm and mg versions 26 Revision 1.1 1998/11/17 09:32:14 rjmcnab 27 *** empty log message *** 32 28 33 29 * Revision 1.1 1994/08/22 00:24:48 tes … … 76 72 char *s, *pfx; 77 73 va_list args; 78 79 #ifdef QUIET80 return; /* stop those messages!!!! */81 #endif82 83 74 va_start (args, fmt); 84 75 vsprintf (buf, fmt, args); -
/trunk/gsdl/packages/mg-1.3d/lib/regex.c
r30 r20 31 31 # include <win32cfg.h> 32 32 # else 33 # include < sysfuncs.h>33 # include <config.h> 34 34 # endif 35 35 #endif … … 57 57 /* If we are not linking with Emacs proper, 58 58 we can't use the relocating allocator 59 even if sysfuncs.h says that we can. */59 even if config.h says that we can. */ 60 60 #undef REL_ALLOC 61 61 … … 160 160 eliminate the && through constant folding." */ 161 161 162 #ifndef ISASCII 163 # if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII)) 164 # define ISASCII(c) 1 165 # else 166 # define ISASCII(c) isascii(c) 167 # endif 162 #if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII)) 163 #define ISASCII(c) 1 164 #else 165 #define ISASCII(c) isascii(c) 168 166 #endif 169 167 … … 968 966 969 967 /* When using GNU C, we are not REALLY using the C alloca, no matter 970 what sysfuncs.h may say. So don't take precautions for it. */968 what config.h may say. So don't take precautions for it. */ 971 969 #ifdef __GNUC__ 972 970 #undef C_ALLOCA -
/trunk/gsdl/packages/mg-1.3d/lib/rx.c
r30 r20 36 36 # include <malloc.h> 37 37 # else 38 # include < sysfuncs.h>38 # include <config.h> 39 39 # endif 40 40 #endif -
/trunk/gsdl/packages/mg-1.3d/lib/rx.h
r30 r20 2185 2185 * that make sense only in Emacs. 2186 2186 */ 2187 #include " sysfuncs.h"2187 #include "config.h" 2188 2188 #include "lisp.h" 2189 2189 #include "buffer.h" -
/trunk/gsdl/packages/mg-1.3d/lib/xmalloc.c
r30 r20 20 20 # include <win32cfg.h> 21 21 # else 22 # include < sysfuncs.h>22 # include <config.h> 23 23 # endif 24 24 #endif -
/trunk/gsdl/packages/mg-1.3d/src/text/MGPASS.C
r30 r20 49 49 /* 50 50 $Log$ 51 Revision 1.3 1998/11/24 03:39:23 rjmcnab52 53 Fixed a small error in the windows compilation54 55 Revision 1.2 1998/11/24 01:29:39 rjmcnab56 57 Fixed a few problems with the windows build58 59 51 Revision 1.1 1998/11/17 09:34:12 rjmcnab 60 52 *** empty log message *** … … 90 82 FILE *Comp_Stats = NULL; 91 83 int comp_stat_point = 0; 92 doublebytes_processed = 0;84 u_long bytes_processed = 0; 93 85 int num_docs = 0; 94 doublebytes_received = 0;86 u_long bytes_received = 0; 95 87 int stem_method = 0; 96 88 -
/trunk/gsdl/packages/mg-1.3d/src/text/WIN32.MAK
r30 r20 14 14 #CFLAGS = -g -O 15 15 CPPFLAGS = 16 DEFS = -D NZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN16 DEFS = -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN 17 17 #INSTALL = /usr/local/gnu/bin/install -c 18 18 #INSTALL_DATA = ${INSTALL} -m 644 … … 78 78 ivf.pass2.c mg_text_estimate.c text_get.c \ 79 79 lists.c mg_text_merge.c weights.c \ 80 mgpass.c query_term_list.c80 query_term_list.c mgpass.c builder.cpp 81 81 82 82 HEADERS = \ … … 105 105 mg_hilite_words$e mg_invf_merge$e \ 106 106 mg_text_merge$e bool_tester$e mgpass$e \ 107 mg_stem_idx$e mgstemidxlist$e \108 mg_decompress_text$e107 mg_stem_idx$e mgstemidxlist$e mg_decompress_text$e \ 108 builder$e 109 109 110 110 MAN = mgquery.1 mg_weights_build.1 mgstat.1 mg_invf_dump.1 mg_invf_dict.1 \ … … 117 117 118 118 119 all: $(EXEC) libtextin.lib119 all: $(EXEC) 120 120 121 121 … … 253 253 $(LINK) $(PERF_HASH_OBJS) $(LIBS) 254 254 255 STEM_IDX_OBJS = mg_stem_idx$o mg_files$o stemmer$o locallib$o \ 255 STEM_IDX_OBJS = \ 256 mg_stem_idx$o mg_files$o stemmer$o locallib$o \ 256 257 mg_errors$o term_lists$o 257 258 … … 264 265 $(LINK) $(STEM_IDX_LIST_OBJS) $(LIBS) 265 266 266 DECOMPRESS_TEXT_OBJS = mg_decompress_text$o query_term_list$o mg_files$o mg_errors$o \ 267 text_get$o locallib$o backend$o stem_search$o \ 268 term_lists$o stemmer$o weights$o invf_get$o lists$o 267 DECOMPRESS_TEXT_OBJS = \ 268 mg_decompress_text$o mg_files$o mg_errors$o \ 269 text_get$o locallib$o backend$o stem_search$o \ 270 term_lists$o stemmer$o weights$o invf_get$o lists$o 269 271 270 272 mg_decompress_text$e: $(DECOMPRESS_TEXT_OBJS) … … 315 317 316 318 317 LIB_OBJS = \318 query_term_list$o \319 locallib$o lists$o \320 query.ranked$o query.docnums$o stem_search$o \321 environment$o commands$o weights$o text_get$o stemmer$o \322 read_line$o mg_errors$o backend$o invf_get$o \323 term_lists$o bool_tree$o bool_parser$o bool_optimiser$o bool_query$o324 325 libtextin.lib: $(LIB_OBJS)326 del libtextin.lib327 lib /out:libtextin.lib $(LIB_OBJS)328 329 330 319 mostlyclean: 331 320 rm -f *$o _*.c _*.o *._c *._o core core.* -
/trunk/gsdl/packages/mg-1.3d/src/text/bool_parser.c
r30 r20 1 1 #ifndef lint 2 static char yysccsid[] = "@(#)yaccpar 1. 9 (Berkeley) 02/21/93";2 static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/90"; 3 3 #endif 4 4 #define YYBYACC 1 5 #define YYMAJOR 16 #define YYMINOR 97 #define yyclearin (yychar=(-1))8 #define yyerrok (yyerrflag=0)9 #define YYRECOVERING (yyerrflag!=0)10 #define YYPREFIX "yy"11 5 #line 25 "bool_parser.y" 12 6 … … 52 46 bool_tree_node *node; 53 47 } YYSTYPE; 54 #line 55"y.tab.c"48 #line 49 "y.tab.c" 55 49 #define TERM 257 56 50 #define YYERRCODE 256 … … 164 158 }; 165 159 #endif 160 #define yyclearin (yychar=(-1)) 161 #define yyerrok (yyerrflag=0) 166 162 #ifdef YYSTACKSIZE 167 # undef YYMAXDEPTH163 #ifndef YYMAXDEPTH 168 164 #define YYMAXDEPTH YYSTACKSIZE 165 #endif 169 166 #else 170 167 #ifdef YYMAXDEPTH … … 404 401 405 402 406 #line 40 7"y.tab.c"403 #line 404 "y.tab.c" 407 404 #define YYABORT goto yyabort 408 #define YYREJECT goto yyabort409 405 #define YYACCEPT goto yyaccept 410 406 #define YYERROR goto yyerrlab … … 444 440 if (yychar <= YYMAXTOKEN) yys = yyname[yychar]; 445 441 if (!yys) yys = "illegal-symbol"; 446 printf(" %sdebug: state %d, reading %d (%s)\n",447 YYPREFIX, yystate,yychar, yys);442 printf("yydebug: state %d, reading %d (%s)\n", yystate, 443 yychar, yys); 448 444 } 449 445 #endif … … 454 450 #if YYDEBUG 455 451 if (yydebug) 456 printf(" %sdebug: state %d, shifting to state %d\n",457 YYPREFIX,yystate, yytable[yyn]);452 printf("yydebug: state %d, shifting to state %d\n", 453 yystate, yytable[yyn]); 458 454 #endif 459 455 if (yyssp >= yyss + yystacksize - 1) … … 495 491 #if YYDEBUG 496 492 if (yydebug) 497 printf(" %sdebug: state %d, error recovery shifting\498 to state %d\n", YYPREFIX,*yyssp, yytable[yyn]);493 printf("yydebug: state %d, error recovery shifting\ 494 to state %d\n", *yyssp, yytable[yyn]); 499 495 #endif 500 496 if (yyssp >= yyss + yystacksize - 1) … … 510 506 #if YYDEBUG 511 507 if (yydebug) 512 printf(" %sdebug: error recovery discarding state %d\n",513 YYPREFIX,*yyssp);508 printf("yydebug: error recovery discarding state %d\n", 509 *yyssp); 514 510 #endif 515 511 if (yyssp <= yyss) goto yyabort; … … 528 524 if (yychar <= YYMAXTOKEN) yys = yyname[yychar]; 529 525 if (!yys) yys = "illegal-symbol"; 530 printf(" %sdebug: state %d, error recovery discards token %d (%s)\n",531 YYPREFIX,yystate, yychar, yys);526 printf("yydebug: state %d, error recovery discards token %d (%s)\n", 527 yystate, yychar, yys); 532 528 } 533 529 #endif … … 538 534 #if YYDEBUG 539 535 if (yydebug) 540 printf(" %sdebug: state %d, reducing by rule %d (%s)\n",541 YYPREFIX,yystate, yyn, yyrule[yyn]);536 printf("yydebug: state %d, reducing by rule %d (%s)\n", 537 yystate, yyn, yyrule[yyn]); 542 538 #endif 543 539 yym = yylen[yyn]; … … 581 577 { yyval.node = CreateBoolTreeNode(N_or, yyvsp[-2].node, yyvsp[0].node); } 582 578 break; 583 #line 58 4"y.tab.c"579 #line 580 "y.tab.c" 584 580 } 585 581 yyssp -= yym; … … 591 587 #if YYDEBUG 592 588 if (yydebug) 593 printf(" %sdebug: after reduction, shifting from state 0 to\594 state %d\n", YY PREFIX, YYFINAL);589 printf("yydebug: after reduction, shifting from state 0 to\ 590 state %d\n", YYFINAL); 595 591 #endif 596 592 yystate = YYFINAL; … … 606 602 if (yychar <= YYMAXTOKEN) yys = yyname[yychar]; 607 603 if (!yys) yys = "illegal-symbol"; 608 printf(" %sdebug: state %d, reading %d (%s)\n",609 YY PREFIX, YYFINAL, yychar, yys);604 printf("yydebug: state %d, reading %d (%s)\n", 605 YYFINAL, yychar, yys); 610 606 } 611 607 #endif … … 621 617 #if YYDEBUG 622 618 if (yydebug) 623 printf(" %sdebug: after reduction, shifting from state %d \624 to state %d\n", YYPREFIX,*yyssp, yystate);619 printf("yydebug: after reduction, shifting from state %d \ 620 to state %d\n", *yyssp, yystate); 625 621 #endif 626 622 if (yyssp >= yyss + yystacksize - 1) -
/trunk/gsdl/packages/mg-1.3d/src/text/mg_hilite_words.c
r30 r20 628 628 * ========================================================================= */ 629 629 630 int 630 void 631 631 main (int argc, char *argv[]) 632 632 { … … 684 684 #endif 685 685 686 return 0; 687 } 686 } -
/trunk/gsdl/packages/mg-1.3d/src/text/stemmer.h
r30 r20 44 44 45 45 #endif 46 47 48 49 50 -
/trunk/gsdl/src/library/gdbmclass.cpp
r30 r20 574 574 return 1; 575 575 } 576 577 // functions related to sorting578 579 // returns whatever comes after ':#:' in str580 // -- this is a nasty hack that I'm sure Rodger will want to change ;-)581 text_t get_section_str(const text_t &str) {582 583 text_t ret;584 int found = 0;585 586 text_t::const_iterator here = str.begin();587 text_t::const_iterator end = str.end();588 589 while (here != end) {590 if (found) {591 ret.push_back(*here);592 } else {593 here = findchar (here, end, ':');594 if ((*(here+1) == '#') && (*(here+2) == ':')) {595 found = 1;596 here = here+2;597 }598 }599 here ++;600 }601 return ret;602 }603 604 // removes leading spaces and leading 'the' 'a' and 'an'605 // from string606 void alphabetize_string_english (text_t &text) {607 608 if (text.empty()) return;609 610 text_t firstword;611 char *word;612 613 text_t::iterator here = text.begin();614 text_t::const_iterator end = text.end();615 616 if ((*here != ' ') && (*here != 'a') && (*here != 'A') &&617 (*here != 't') && (*here != 'T')) return;618 619 int foundchar = 0;620 while (here != end) {621 if (*here == ' ' && !foundchar) {here ++; continue;}622 if (*here == ' ' && foundchar) {623 text.erase(text.begin(), (here+1));624 break;625 }626 foundchar ++;627 if (foundchar == 1) {628 getdelimitstr (here, end, ' ', firstword);629 word = firstword.getcstr();630 if ((_stricmp(word, "the") != 0) && (_stricmp(word, "a") != 0) &&631 (_stricmp(word, "an") != 0)) break;632 }633 here ++;634 }635 delete word;636 }637 638 // removes leading space, puts last name before639 // any preceeding names640 void alphabetize_string_name (text_t &text) {641 642 if (text.empty()) return;643 644 text_t lastname;645 char *lname;646 vector<text_t> words;647 splitchar (text.begin(), text.end(), ' ', words);648 lastname = words.back();649 words.pop_back();650 lname = lastname.getcstr();651 652 while ((_stricmp(lname, "jnr") == 0) || (_stricmp(lname, "snr") == 0) ||653 (_stricmp(lname, "esq") == 0)) {654 lastname = words.back();655 words.pop_back();656 lname = lastname.getcstr();657 }658 659 text.clear();660 joinchar (words, ' ', text);661 text = lastname + text;662 }663 664 char ** string_add (char **array, int *len, char *str) {665 char **ret;666 667 ret = (char**)realloc(array, (*len+1)*sizeof(char*));668 ret[*len] = (char*)strdup(str);669 (*len) ++;670 671 return ret;672 }673 674 void string_sort (char **array, int len) {675 qsort((void*)array, (unsigned int)(len), sizeof(char*), compare_str);676 }677 678 static int compare_str (const void *e1, const void *e2) {679 return _stricmp(*((char**)e1), *((char**)e2));680 }681 682 void string_free(char **array, int len) {683 for (int i = 0; i < len; i++)684 free (array[i]);685 free (array);686 } -
/trunk/gsdl/src/library/gdbmclass.h
r30 r20 82 82 void get_first_section(const text_t &instring, text_t &returnstring); 83 83 int is_number (text_t &text); 84 text_t get_section_str(const text_t &str);85 void alphabetize_string_english (text_t &text);86 void alphabetize_string_name (text_t &text);87 char ** string_add (char **array, int *len, char *str);88 void string_sort (char **array, int len);89 static int compare_str (const void *e1, const void *e2);90 void string_free(char **array, int len);91 84 #endif
Note:
See TracChangeset
for help on using the changeset viewer.