~ubuntu-branches/debian/wheezy/eperl/wheezy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Denis Barbier
  • Date: 2001-12-18 20:40:24 UTC
  • Revision ID: james.westby@ubuntu.com-20011218204024-k0oaqq2eaw733v30
Tags: 2.2.14-4
* Remove emacs crap from debian/changelog
* Fix misspelling in debian/copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
 
3
 
# From configure.in Revision: 2.0
4
 
echo "Configuring for ePerl `./etc/newvers -l c -D eperl_version.c`"
5
 
 
6
 
ac_aux_dir=
7
 
for ac_dir in etc $srcdir/etc; do
8
 
  if test -f $ac_dir/install-sh; then
9
 
    ac_aux_dir=$ac_dir
10
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
11
 
    break
12
 
  elif test -f $ac_dir/install.sh; then
13
 
    ac_aux_dir=$ac_dir
14
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
15
 
    break
16
 
  fi
17
 
done
18
 
if test -z "$ac_aux_dir"; then
19
 
  { echo "configure: error: can not find install-sh or install.sh in etc $srcdir/etc" 1>&2; exit 1; }
20
 
fi
21
 
ac_config_guess=$ac_aux_dir/config.guess
22
 
ac_config_sub=$ac_aux_dir/config.sub
23
 
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
24
 
 
25
 
 
26
 
 
 
3
# From configure.in Revision: 1.9 
 
4
 
 
5
shtool=./etc/shtool
 
6
TERM_BOLD=`$shtool echo -e %B 2>/dev/null`
 
7
TERM_NORM=`$shtool echo -e %b 2>/dev/null`
 
8
 
 
9
EPERL_VERSION="`$shtool version -lc -d long eperl_version.c`"
 
10
echo "${TERM_BOLD}Configuring for ePerl ${EPERL_VERSION}${TERM_NORM}"
27
11
 
28
12
# Guess values for system-dependent variables and create Makefiles.
29
 
# Generated automatically using autoconf version 2.12 
 
13
# Generated automatically using autoconf version 2.13 
30
14
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
31
15
#
32
16
# This configure script is free software; the Free Software Foundation
38
22
# Any additions from configure.in:
39
23
ac_default_prefix=/usr/local
40
24
ac_help="$ac_help
41
 
  --with-perl=PATH        force the usage of a specific installed Perl"
 
25
  --with-perl=PATH        force the usage of a specific Perl 5 interpreter"
42
26
ac_help="$ac_help
43
27
  --enable-debug          to enable the debugging options for compilation"
44
28
 
79
63
# Initialize some other variables.
80
64
subdirs=
81
65
MFLAGS= MAKEFLAGS=
 
66
SHELL=${CONFIG_SHELL-/bin/sh}
82
67
# Maximum number of lines to put in a shell here document.
83
68
ac_max_here_lines=12
84
69
 
362
347
    verbose=yes ;;
363
348
 
364
349
  -version | --version | --versio | --versi | --vers)
365
 
    echo "configure generated by autoconf version 2.12"
 
350
    echo "configure generated by autoconf version 2.13"
366
351
    exit 0 ;;
367
352
 
368
353
  -with-* | --with-*)
532
517
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
533
518
ac_cpp='$CPP $CPPFLAGS'
534
519
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
535
 
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
520
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
536
521
cross_compiling=$ac_cv_prog_cc_cross
537
522
 
 
523
ac_exeext=
 
524
ac_objext=o
538
525
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
539
526
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
540
527
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
551
538
 
552
539
 
553
540
 
554
 
 
555
541
test "x$prefix" = xNONE && prefix=$ac_default_prefix
556
542
eval "dir=$prefix"
557
543
case $dir in
560
546
esac
561
547
 
562
548
 
 
549
tmpdir=${TMPDIR-/tmp}
 
550
 
563
551
 
564
552
 
565
553
echo "$ac_t""" 1>&6
566
 
echo "$ac_t""__ CHECK: Configuration of Perl Language __" 1>&6
 
554
echo "$ac_t""${TERM_BOLD}CHECK: Configuration of Perl Language${TERM_NORM}" 1>&6
567
555
 
568
556
echo $ac_n "checking for Perl language""... $ac_c" 1>&6
569
 
echo "configure:570: checking for Perl language" >&5
 
557
echo "configure:558: checking for Perl language" >&5
570
558
# Check whether --with-perl or --without-perl was given.
571
559
if test "${with_perl+set}" = set; then
572
560
  withval="$with_perl"
573
 
  perlprog=$with_perl
574
 
perlvers=`$perlprog -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
 
561
  
 
562
perlprog=$with_perl
 
563
perlvers=`$perlprog -e 'printf "%.3f",$]'`
575
564
 
576
565
else
577
 
  TMPFILE=/tmp/x.$$
578
 
rm -f $TMPFILE
579
 
touch $TMPFILE
580
 
c=0
581
 
for dir in `echo $PATH | sed -e 's/:/ /g'` /tmp; do
 
566
  
 
567
perlvers=
 
568
for dir in `echo $PATH | sed -e 's/:/ /g'` $tmpdir; do
582
569
    for perl in perl5 perl miniperl; do
583
570
         if test -f "$dir/$perl"; then
584
571
             if test -x "$dir/$perl"; then
585
 
                 perl="$dir/$perl"
586
 
                 version=`$perl -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
587
 
                 versionnum="`echo $version | sed -e 's/\.//g' -e 's/_//g'`"
588
 
                 versionnum=`expr $versionnum - $c`
589
 
                 echo "$versionnum $version $perl" >>$TMPFILE
 
572
                 perlprog="$dir/$perl"
 
573
                 if $perlprog -e 'require 5.003'; then
 
574
                     perlvers=`$perlprog -e 'printf "%.3f",$]'`
 
575
                     break 2
 
576
                 fi
590
577
             fi
591
578
         fi
592
579
    done
593
 
    c=`expr $c + 1`
594
580
done
595
 
perlvers="`cat $TMPFILE | sort -u | tail -1 | cut '-d ' -f2`"
596
 
perlprog="`cat $TMPFILE | sort -u | tail -1 | cut '-d ' -f3`"
597
 
rm -f $TMPFILE
598
581
 
599
582
fi
600
583
PATH_PERL=$perlprog
601
584
echo "$ac_t""$perlprog v$perlvers" 1>&6
602
 
case $perlvers in
603
 
    5.003* | 5.004* | 5.005* | 5.006* )
604
 
        ;;
605
 
    * ) echo ""
606
 
        echo "Latest Perl found on your system is $perlvers,"
607
 
        echo "but at least Perl version 5.003 is required."
608
 
        echo "In case the newer one is not in PATH, just use"
609
 
        echo "the option --with-perl=/path/to/bin/perl to"
610
 
        echo "provide the correct executable."
611
 
        echo ""
612
 
        { echo "configure: error: Perl version too old" 1>&2; exit 1; } 
613
 
        ;;
614
 
esac
615
 
case $perlvers in
616
 
    5.00[3-6]_[0-9][0-9] ) 
617
 
            perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/_//'` ;; 
618
 
    5.00[3-6] ) 
619
 
            perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/$/00/'` ;; 
620
 
        * ) 
621
 
            perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/_//'` ;; 
622
 
esac
623
 
 
 
585
if $perlprog -e 'require 5.003'; then
 
586
    :
 
587
else
 
588
    echo ""
 
589
    echo "Latest Perl found on your system is $perlvers,"
 
590
    echo "but at least Perl version 5.003 is required."
 
591
    echo "In case the newer one is not in PATH, just use"
 
592
    echo "the option --with-perl=/path/to/bin/perl to"
 
593
    echo "provide the correct executable."
 
594
    echo ""
 
595
    { echo "configure: error: Perl version too old" 1>&2; exit 1; } 
 
596
fi
624
597
 
625
598
 
626
599
 
627
600
perl_prog=$perlprog
628
601
perl_vers=$perlvers
629
 
perl_vnum=$perlvnum
630
 
 
631
602
 
632
603
 
633
604
if test -f $PATH_PERL; then
639
610
 
640
611
 
641
612
echo $ac_n "checking for Perl knowledge of system""... $ac_c" 1>&6
642
 
echo "configure:643: checking for Perl knowledge of system" >&5
 
613
echo "configure:614: checking for Perl knowledge of system" >&5
643
614
perl_osname="`$perl_prog -e 'use Config; print $Config{osname}'`";
644
615
perl_osvers="`$perl_prog -e 'use Config; print $Config{osvers}'`";
645
616
perl_os="$perl_osname-$perl_osvers"
649
620
echo "$ac_t""$perl_os" 1>&6
650
621
 
651
622
echo $ac_n "checking for Perl standard compiler""... $ac_c" 1>&6
652
 
echo "configure:653: checking for Perl standard compiler" >&5
 
623
echo "configure:624: checking for Perl standard compiler" >&5
653
624
perl_cc="`$perl_prog -e 'use Config; print $Config{cc}'`";
654
625
if test ".$CC" = .; then
655
626
    CC=$perl_cc
662
633
 
663
634
 
664
635
echo $ac_n "checking for Perl standard optimization flags""... $ac_c" 1>&6
665
 
echo "configure:666: checking for Perl standard optimization flags" >&5
 
636
echo "configure:637: checking for Perl standard optimization flags" >&5
666
637
perl_optimize="`$perl_prog -e 'use Config; print $Config{optimize}'`";
667
638
echo "$ac_t""$perl_optimize" 1>&6
668
639
 
669
640
 
670
641
echo $ac_n "checking for Perl standard compilation flags""... $ac_c" 1>&6
671
 
echo "configure:672: checking for Perl standard compilation flags" >&5
 
642
echo "configure:643: checking for Perl standard compilation flags" >&5
672
643
perl_ccflags="`$perl_prog -e 'use Config; print $Config{ccflags}'`";
673
644
case $perl_os in
674
645
    *hpux*    ) perl_ccflags="$perl_ccflags -Wp,-H32768" ;;
678
649
 
679
650
 
680
651
echo $ac_n "checking for Perl standard link flags""... $ac_c" 1>&6
681
 
echo "configure:682: checking for Perl standard link flags" >&5
 
652
echo "configure:653: checking for Perl standard link flags" >&5
682
653
perl_ldflags="`$perl_prog -e 'use Config; print $Config{ldflags}'`";
683
654
case $perl_os in
684
655
    *irix-6.* ) perl_ldflags="$perl_ldflags '-Wl,-woff 85'" ;;
687
658
 
688
659
 
689
660
echo $ac_n "checking for Perl library files""... $ac_c" 1>&6
690
 
echo "configure:691: checking for Perl library files" >&5
 
661
echo "configure:662: checking for Perl library files" >&5
691
662
perl_libs="`$perl_prog -e 'use Config; print $Config{libs}'`"
692
663
echo "$ac_t""$perl_libs" 1>&6
693
664
 
694
665
 
695
666
echo $ac_n "checking for Perl architecture directory""... $ac_c" 1>&6
696
 
echo "configure:697: checking for Perl architecture directory" >&5
 
667
echo "configure:668: checking for Perl architecture directory" >&5
697
668
perl_archlib="`$perlprog -e 'use Config; print $Config{archlib}'`";
698
669
echo "$ac_t""$perl_archlib" 1>&6
699
670
 
700
671
 
701
672
echo $ac_n "checking for Perl dynamic loading support""... $ac_c" 1>&6
702
 
echo "configure:703: checking for Perl dynamic loading support" >&5
 
673
echo "configure:674: checking for Perl dynamic loading support" >&5
703
674
usedl="`$perlprog -e 'use Config; print $Config{usedl}'`";
704
675
case $usedl in
705
676
    define )
719
690
echo "$ac_t""$rc" 1>&6
720
691
 
721
692
echo $ac_n "checking for Perl dynamic loading compilation flags""... $ac_c" 1>&6
722
 
echo "configure:723: checking for Perl dynamic loading compilation flags" >&5
 
693
echo "configure:694: checking for Perl dynamic loading compilation flags" >&5
723
694
perl_cccdlflags="`$perlprog -e 'use Config; print $Config{cccdlflags}'`";
724
695
case $perl_cccdlflags in
725
696
    " " ) x="none" ;;
729
700
 
730
701
 
731
702
echo $ac_n "checking for Perl dynamic loading link flags""... $ac_c" 1>&6
732
 
echo "configure:733: checking for Perl dynamic loading link flags" >&5
 
703
echo "configure:704: checking for Perl dynamic loading link flags" >&5
733
704
perl_ccdlflags="`$perlprog -e 'use Config; print $Config{ccdlflags}'`";
734
705
case $perl_os in
735
706
    *aix* ) perl_ccdlflags="`echo $perl_ccdlflags | sed -e 's;-bE:perl.exp;-bE:${perl_archlib}/CORE/perl.exp;'`" ;;
744
715
 
745
716
 
746
717
echo "$ac_t""" 1>&6
747
 
echo "$ac_t""__ CHECK: System Build Environment __" 1>&6
 
718
echo "$ac_t""${TERM_BOLD}CHECK: System Build Environment${TERM_NORM}" 1>&6
748
719
 
749
720
echo $ac_n "checking for build user""... $ac_c" 1>&6
750
 
echo "configure:751: checking for build user" >&5
751
 
build_user="`$ac_aux_dir/buildinfo -n %u@%h%d`"
 
721
echo "configure:722: checking for build user" >&5
 
722
build_user="`$shtool echo -n -e %u@%h%d`"
752
723
 
753
724
echo "$ac_t""$build_user" 1>&6
754
725
 
755
726
echo $ac_n "checking for build time""... $ac_c" 1>&6
756
 
echo "configure:757: checking for build time" >&5
 
727
echo "configure:728: checking for build time" >&5
757
728
build_time_ctime="`date | sed -e 's/\n$//'`"
758
 
build_time_iso="`$ac_aux_dir/buildinfo -n '%D-%m-%Y'`"
 
729
build_time_iso="`$shtool echo -n -e '%D-%m-%Y'`"
759
730
echo "$ac_t""$build_time_iso" 1>&6
760
731
 
761
732
 
763
734
# Extract the first word of "gcc", so it can be a program name with args.
764
735
set dummy gcc; ac_word=$2
765
736
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
766
 
echo "configure:767: checking for $ac_word" >&5
 
737
echo "configure:738: checking for $ac_word" >&5
767
738
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
768
739
  echo $ac_n "(cached) $ac_c" 1>&6
769
740
else
770
741
  if test -n "$CC"; then
771
742
  ac_cv_prog_CC="$CC" # Let the user override the test.
772
743
else
773
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
774
 
  for ac_dir in $PATH; do
 
744
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
745
  ac_dummy="$PATH"
 
746
  for ac_dir in $ac_dummy; do
775
747
    test -z "$ac_dir" && ac_dir=.
776
748
    if test -f $ac_dir/$ac_word; then
777
749
      ac_cv_prog_CC="gcc"
792
764
  # Extract the first word of "cc", so it can be a program name with args.
793
765
set dummy cc; ac_word=$2
794
766
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
795
 
echo "configure:796: checking for $ac_word" >&5
 
767
echo "configure:768: checking for $ac_word" >&5
796
768
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
797
769
  echo $ac_n "(cached) $ac_c" 1>&6
798
770
else
799
771
  if test -n "$CC"; then
800
772
  ac_cv_prog_CC="$CC" # Let the user override the test.
801
773
else
802
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
774
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
803
775
  ac_prog_rejected=no
804
 
  for ac_dir in $PATH; do
 
776
  ac_dummy="$PATH"
 
777
  for ac_dir in $ac_dummy; do
805
778
    test -z "$ac_dir" && ac_dir=.
806
779
    if test -f $ac_dir/$ac_word; then
807
780
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
836
809
  echo "$ac_t""no" 1>&6
837
810
fi
838
811
 
 
812
  if test -z "$CC"; then
 
813
    case "`uname -s`" in
 
814
    *win32* | *WIN32*)
 
815
      # Extract the first word of "cl", so it can be a program name with args.
 
816
set dummy cl; ac_word=$2
 
817
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
818
echo "configure:819: checking for $ac_word" >&5
 
819
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 
820
  echo $ac_n "(cached) $ac_c" 1>&6
 
821
else
 
822
  if test -n "$CC"; then
 
823
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
824
else
 
825
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
826
  ac_dummy="$PATH"
 
827
  for ac_dir in $ac_dummy; do
 
828
    test -z "$ac_dir" && ac_dir=.
 
829
    if test -f $ac_dir/$ac_word; then
 
830
      ac_cv_prog_CC="cl"
 
831
      break
 
832
    fi
 
833
  done
 
834
  IFS="$ac_save_ifs"
 
835
fi
 
836
fi
 
837
CC="$ac_cv_prog_CC"
 
838
if test -n "$CC"; then
 
839
  echo "$ac_t""$CC" 1>&6
 
840
else
 
841
  echo "$ac_t""no" 1>&6
 
842
fi
 
843
 ;;
 
844
    esac
 
845
  fi
839
846
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
840
847
fi
841
848
 
842
849
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
843
 
echo "configure:844: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
 
850
echo "configure:851: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
844
851
 
845
852
ac_ext=c
846
853
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
847
854
ac_cpp='$CPP $CPPFLAGS'
848
855
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
849
 
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
856
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
850
857
cross_compiling=$ac_cv_prog_cc_cross
851
858
 
852
 
cat > conftest.$ac_ext <<EOF
853
 
#line 854 "configure"
 
859
cat > conftest.$ac_ext << EOF
 
860
 
 
861
#line 862 "configure"
854
862
#include "confdefs.h"
 
863
 
855
864
main(){return(0);}
856
865
EOF
857
 
if { (eval echo configure:858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
 
866
if { (eval echo configure:867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
858
867
  ac_cv_prog_cc_works=yes
859
868
  # If we can't run a trivial program, we are probably using a cross compiler.
860
869
  if (./conftest; exit) 2>/dev/null; then
868
877
  ac_cv_prog_cc_works=no
869
878
fi
870
879
rm -fr conftest*
 
880
ac_ext=c
 
881
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 
882
ac_cpp='$CPP $CPPFLAGS'
 
883
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
884
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
885
cross_compiling=$ac_cv_prog_cc_cross
871
886
 
872
887
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
873
888
if test $ac_cv_prog_cc_works = no; then
874
889
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
875
890
fi
876
891
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
877
 
echo "configure:878: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 
892
echo "configure:893: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
878
893
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
879
894
cross_compiling=$ac_cv_prog_cc_cross
880
895
 
881
896
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
882
 
echo "configure:883: checking whether we are using GNU C" >&5
 
897
echo "configure:898: checking whether we are using GNU C" >&5
883
898
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
884
899
  echo $ac_n "(cached) $ac_c" 1>&6
885
900
else
888
903
  yes;
889
904
#endif
890
905
EOF
891
 
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
906
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
892
907
  ac_cv_prog_gcc=yes
893
908
else
894
909
  ac_cv_prog_gcc=no
899
914
 
900
915
if test $ac_cv_prog_gcc = yes; then
901
916
  GCC=yes
902
 
  ac_test_CFLAGS="${CFLAGS+set}"
903
 
  ac_save_CFLAGS="$CFLAGS"
904
 
  CFLAGS=
905
 
  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
906
 
echo "configure:907: checking whether ${CC-cc} accepts -g" >&5
 
917
else
 
918
  GCC=
 
919
fi
 
920
 
 
921
ac_test_CFLAGS="${CFLAGS+set}"
 
922
ac_save_CFLAGS="$CFLAGS"
 
923
CFLAGS=
 
924
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
 
925
echo "configure:926: checking whether ${CC-cc} accepts -g" >&5
907
926
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
908
927
  echo $ac_n "(cached) $ac_c" 1>&6
909
928
else
918
937
fi
919
938
 
920
939
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
921
 
  if test "$ac_test_CFLAGS" = set; then
922
 
    CFLAGS="$ac_save_CFLAGS"
923
 
  elif test $ac_cv_prog_cc_g = yes; then
 
940
if test "$ac_test_CFLAGS" = set; then
 
941
  CFLAGS="$ac_save_CFLAGS"
 
942
elif test $ac_cv_prog_cc_g = yes; then
 
943
  if test "$GCC" = yes; then
924
944
    CFLAGS="-g -O2"
925
945
  else
 
946
    CFLAGS="-g"
 
947
  fi
 
948
else
 
949
  if test "$GCC" = yes; then
926
950
    CFLAGS="-O2"
 
951
  else
 
952
    CFLAGS=
927
953
  fi
928
 
else
929
 
  GCC=
930
 
  test "${CFLAGS+set}" = set || CFLAGS="-g"
931
954
fi
932
955
 
933
956
# Extract the first word of "ranlib", so it can be a program name with args.
934
957
set dummy ranlib; ac_word=$2
935
958
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
936
 
echo "configure:937: checking for $ac_word" >&5
 
959
echo "configure:960: checking for $ac_word" >&5
937
960
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
938
961
  echo $ac_n "(cached) $ac_c" 1>&6
939
962
else
940
963
  if test -n "$RANLIB"; then
941
964
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
942
965
else
943
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
944
 
  for ac_dir in $PATH; do
 
966
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
967
  ac_dummy="$PATH"
 
968
  for ac_dir in $ac_dummy; do
945
969
    test -z "$ac_dir" && ac_dir=.
946
970
    if test -f $ac_dir/$ac_word; then
947
971
      ac_cv_prog_RANLIB="ranlib"
962
986
# Extract the first word of "ar", so it can be a program name with args.
963
987
set dummy ar; ac_word=$2
964
988
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
965
 
echo "configure:966: checking for $ac_word" >&5
 
989
echo "configure:990: checking for $ac_word" >&5
966
990
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
967
991
  echo $ac_n "(cached) $ac_c" 1>&6
968
992
else
969
993
  if test -n "$AR"; then
970
994
  ac_cv_prog_AR="$AR" # Let the user override the test.
971
995
else
972
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
973
 
  for ac_dir in $PATH; do
 
996
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
997
  ac_dummy="$PATH"
 
998
  for ac_dir in $ac_dummy; do
974
999
    test -z "$ac_dir" && ac_dir=.
975
1000
    if test -f $ac_dir/$ac_word; then
976
1001
      ac_cv_prog_AR="ar"
990
1015
# Extract the first word of "size", so it can be a program name with args.
991
1016
set dummy size; ac_word=$2
992
1017
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
993
 
echo "configure:994: checking for $ac_word" >&5
 
1018
echo "configure:1019: checking for $ac_word" >&5
994
1019
if eval "test \"`echo '$''{'ac_cv_prog_SIZE'+set}'`\" = set"; then
995
1020
  echo $ac_n "(cached) $ac_c" 1>&6
996
1021
else
997
1022
  if test -n "$SIZE"; then
998
1023
  ac_cv_prog_SIZE="$SIZE" # Let the user override the test.
999
1024
else
1000
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1001
 
  for ac_dir in $PATH; do
 
1025
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
1026
  ac_dummy="$PATH"
 
1027
  for ac_dir in $ac_dummy; do
1002
1028
    test -z "$ac_dir" && ac_dir=.
1003
1029
    if test -f $ac_dir/$ac_word; then
1004
1030
      ac_cv_prog_SIZE="size"
1020
1046
esac
1021
1047
 
1022
1048
echo $ac_n "checking for compilation debug mode""... $ac_c" 1>&6
1023
 
echo "configure:1024: checking for compilation debug mode" >&5
 
1049
echo "configure:1050: checking for compilation debug mode" >&5
1024
1050
# Check whether --enable-debug or --disable-debug was given.
1025
1051
if test "${enable_debug+set}" = set; then
1026
1052
  enableval="$enable_debug"
1050
1076
 
1051
1077
if test "$debug" = "on"; then
1052
1078
    echo $ac_n "checking for dmalloc library""... $ac_c" 1>&6
1053
 
echo "configure:1054: checking for dmalloc library" >&5
 
1079
echo "configure:1080: checking for dmalloc library" >&5
1054
1080
    dmalloc=""
1055
1081
    x=no
1056
1082
    if test -f /sw/include/dmalloc.h; then
1070
1096
fi
1071
1097
 
1072
1098
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1073
 
echo "configure:1074: checking whether ${MAKE-make} sets \${MAKE}" >&5
 
1099
echo "configure:1100: checking whether ${MAKE-make} sets \${MAKE}" >&5
1074
1100
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1075
1101
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1076
1102
  echo $ac_n "(cached) $ac_c" 1>&6
1096
1122
  SET_MAKE="MAKE=${MAKE-make}"
1097
1123
fi
1098
1124
 
1099
 
# Find a good install program.  We prefer a C program (faster),
1100
 
# so one script is as good as another.  But avoid the broken or
1101
 
# incompatible versions:
1102
 
# SysV /etc/install, /usr/sbin/install
1103
 
# SunOS /usr/etc/install
1104
 
# IRIX /sbin/install
1105
 
# AIX /bin/install
1106
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1107
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1108
 
# ./install, which can be erroneously created by make from ./install.sh.
1109
 
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1110
 
echo "configure:1111: checking for a BSD compatible install" >&5
1111
 
if test -z "$INSTALL"; then
1112
 
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1113
 
  echo $ac_n "(cached) $ac_c" 1>&6
1114
 
else
1115
 
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
1116
 
  for ac_dir in $PATH; do
1117
 
    # Account for people who put trailing slashes in PATH elements.
1118
 
    case "$ac_dir/" in
1119
 
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1120
 
    *)
1121
 
      # OSF1 and SCO ODT 3.0 have their own names for install.
1122
 
      for ac_prog in ginstall installbsd scoinst install; do
1123
 
        if test -f $ac_dir/$ac_prog; then
1124
 
          if test $ac_prog = install &&
1125
 
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1126
 
            # AIX install.  It has an incompatible calling convention.
1127
 
            # OSF/1 installbsd also uses dspmsg, but is usable.
1128
 
            :
1129
 
          else
1130
 
            ac_cv_path_install="$ac_dir/$ac_prog -c"
1131
 
            break 2
1132
 
          fi
1133
 
        fi
1134
 
      done
1135
 
      ;;
1136
 
    esac
1137
 
  done
1138
 
  IFS="$ac_save_IFS"
1139
 
 
1140
 
fi
1141
 
  if test "${ac_cv_path_install+set}" = set; then
1142
 
    INSTALL="$ac_cv_path_install"
1143
 
  else
1144
 
    # As a last resort, use the slow shell script.  We don't cache a
1145
 
    # path for INSTALL within a source directory, because that will
1146
 
    # break other packages using the cache if that directory is
1147
 
    # removed, or if the path is relative.
1148
 
    INSTALL="$ac_install_sh"
1149
 
  fi
1150
 
fi
1151
 
echo "$ac_t""$INSTALL" 1>&6
1152
 
 
1153
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1154
 
# It thinks the first close brace ends the variable substitution.
1155
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1156
 
 
1157
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1158
 
 
1159
 
INSTALL_DATA='${INSTALL} -m 644'
1160
 
INSTALL_PROGRAM="${INSTALL_PROGRAM} -m 755"
1161
 
 
1162
1125
 
1163
1126
 
1164
1127
echo "$ac_t""" 1>&6
1165
 
echo "$ac_t""__ CHECK: Characteristic of System Headers and Libraries __" 1>&6
 
1128
echo "$ac_t""${TERM_BOLD}CHECK: Characteristic of System Headers and Libraries${TERM_NORM}" 1>&6
1166
1129
 
1167
1130
echo $ac_n "checking for working const""... $ac_c" 1>&6
1168
 
echo "configure:1169: checking for working const" >&5
 
1131
echo "configure:1132: checking for working const" >&5
1169
1132
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1170
1133
  echo $ac_n "(cached) $ac_c" 1>&6
1171
1134
else
1172
1135
  cat > conftest.$ac_ext <<EOF
1173
 
#line 1174 "configure"
 
1136
#line 1137 "configure"
1174
1137
#include "confdefs.h"
1175
1138
 
1176
1139
int main() {
1177
1140
 
1178
1141
/* Ultrix mips cc rejects this.  */
1179
 
typedef int charset[2]; const charset x;
 
1142
typedef int charset[2]; const charset x = {0,0};
1180
1143
/* SunOS 4.1.1 cc rejects this.  */
1181
1144
char const *const *ccp;
1182
1145
char **p;
1219
1182
 
1220
1183
; return 0; }
1221
1184
EOF
1222
 
if { (eval echo configure:1223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
1185
if { (eval echo configure:1186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1223
1186
  rm -rf conftest*
1224
1187
  ac_cv_c_const=yes
1225
1188
else
1240
1203
fi
1241
1204
 
1242
1205
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1243
 
echo "configure:1244: checking how to run the C preprocessor" >&5
 
1206
echo "configure:1207: checking how to run the C preprocessor" >&5
1244
1207
# On Suns, sometimes $CPP names a directory.
1245
1208
if test -n "$CPP" && test -d "$CPP"; then
1246
1209
  CPP=
1255
1218
  # On the NeXT, cc -E runs the code through the compiler's parser,
1256
1219
  # not just through cpp.
1257
1220
  cat > conftest.$ac_ext <<EOF
1258
 
#line 1259 "configure"
 
1221
#line 1222 "configure"
1259
1222
#include "confdefs.h"
1260
1223
#include <assert.h>
1261
1224
Syntax Error
1262
1225
EOF
1263
1226
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1264
 
{ (eval echo configure:1265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1265
 
ac_err=`grep -v '^ *+' conftest.out`
 
1227
{ (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1228
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1266
1229
if test -z "$ac_err"; then
1267
1230
  :
1268
1231
else
1272
1235
  rm -rf conftest*
1273
1236
  CPP="${CC-cc} -E -traditional-cpp"
1274
1237
  cat > conftest.$ac_ext <<EOF
1275
 
#line 1276 "configure"
1276
 
#include "confdefs.h"
1277
 
#include <assert.h>
1278
 
Syntax Error
1279
 
EOF
1280
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1281
 
{ (eval echo configure:1282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1282
 
ac_err=`grep -v '^ *+' conftest.out`
 
1238
#line 1239 "configure"
 
1239
#include "confdefs.h"
 
1240
#include <assert.h>
 
1241
Syntax Error
 
1242
EOF
 
1243
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
1244
{ (eval echo configure:1245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1245
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
1246
if test -z "$ac_err"; then
 
1247
  :
 
1248
else
 
1249
  echo "$ac_err" >&5
 
1250
  echo "configure: failed program was:" >&5
 
1251
  cat conftest.$ac_ext >&5
 
1252
  rm -rf conftest*
 
1253
  CPP="${CC-cc} -nologo -E"
 
1254
  cat > conftest.$ac_ext <<EOF
 
1255
#line 1256 "configure"
 
1256
#include "confdefs.h"
 
1257
#include <assert.h>
 
1258
Syntax Error
 
1259
EOF
 
1260
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
1261
{ (eval echo configure:1262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1262
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1283
1263
if test -z "$ac_err"; then
1284
1264
  :
1285
1265
else
1292
1272
rm -f conftest*
1293
1273
fi
1294
1274
rm -f conftest*
 
1275
fi
 
1276
rm -f conftest*
1295
1277
  ac_cv_prog_CPP="$CPP"
1296
1278
fi
1297
1279
  CPP="$ac_cv_prog_CPP"
1301
1283
echo "$ac_t""$CPP" 1>&6
1302
1284
 
1303
1285
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1304
 
echo "configure:1305: checking for ANSI C header files" >&5
 
1286
echo "configure:1287: checking for ANSI C header files" >&5
1305
1287
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1306
1288
  echo $ac_n "(cached) $ac_c" 1>&6
1307
1289
else
1308
1290
  cat > conftest.$ac_ext <<EOF
1309
 
#line 1310 "configure"
 
1291
#line 1292 "configure"
1310
1292
#include "confdefs.h"
1311
1293
#include <stdlib.h>
1312
1294
#include <stdarg.h>
1314
1296
#include <float.h>
1315
1297
EOF
1316
1298
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1317
 
{ (eval echo configure:1318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1318
 
ac_err=`grep -v '^ *+' conftest.out`
 
1299
{ (eval echo configure:1300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1300
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1319
1301
if test -z "$ac_err"; then
1320
1302
  rm -rf conftest*
1321
1303
  ac_cv_header_stdc=yes
1331
1313
if test $ac_cv_header_stdc = yes; then
1332
1314
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1333
1315
cat > conftest.$ac_ext <<EOF
1334
 
#line 1335 "configure"
 
1316
#line 1317 "configure"
1335
1317
#include "confdefs.h"
1336
1318
#include <string.h>
1337
1319
EOF
1349
1331
if test $ac_cv_header_stdc = yes; then
1350
1332
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1351
1333
cat > conftest.$ac_ext <<EOF
1352
 
#line 1353 "configure"
 
1334
#line 1335 "configure"
1353
1335
#include "confdefs.h"
1354
1336
#include <stdlib.h>
1355
1337
EOF
1370
1352
  :
1371
1353
else
1372
1354
  cat > conftest.$ac_ext <<EOF
1373
 
#line 1374 "configure"
 
1355
#line 1356 "configure"
1374
1356
#include "confdefs.h"
1375
1357
#include <ctype.h>
1376
1358
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1381
1363
exit (0); }
1382
1364
 
1383
1365
EOF
1384
 
if { (eval echo configure:1385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
 
1366
if { (eval echo configure:1367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1385
1367
then
1386
1368
  :
1387
1369
else
1408
1390
do
1409
1391
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1410
1392
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1411
 
echo "configure:1412: checking for $ac_hdr" >&5
 
1393
echo "configure:1394: checking for $ac_hdr" >&5
1412
1394
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1413
1395
  echo $ac_n "(cached) $ac_c" 1>&6
1414
1396
else
1415
1397
  cat > conftest.$ac_ext <<EOF
1416
 
#line 1417 "configure"
 
1398
#line 1399 "configure"
1417
1399
#include "confdefs.h"
1418
1400
#include <$ac_hdr>
1419
1401
EOF
1420
1402
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1421
 
{ (eval echo configure:1422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1422
 
ac_err=`grep -v '^ *+' conftest.out`
 
1403
{ (eval echo configure:1404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1404
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1423
1405
if test -z "$ac_err"; then
1424
1406
  rm -rf conftest*
1425
1407
  eval "ac_cv_header_$ac_safe=yes"
1445
1427
done
1446
1428
 
1447
1429
echo $ac_n "checking for bool""... $ac_c" 1>&6
1448
 
echo "configure:1449: checking for bool" >&5
 
1430
echo "configure:1431: checking for bool" >&5
1449
1431
if eval "test \"`echo '$''{'ac_cv_type_bool'+set}'`\" = set"; then
1450
1432
  echo $ac_n "(cached) $ac_c" 1>&6
1451
1433
else
1452
1434
  cat > conftest.$ac_ext <<EOF
1453
 
#line 1454 "configure"
 
1435
#line 1436 "configure"
1454
1436
#include "confdefs.h"
1455
1437
#include <sys/types.h>
1456
1438
#if STDC_HEADERS
1459
1441
#endif
1460
1442
EOF
1461
1443
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1462
 
  egrep "bool[^a-zA-Z_0-9]" >/dev/null 2>&1; then
 
1444
  egrep "(^|[^a-zA-Z_0-9])bool[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1463
1445
  rm -rf conftest*
1464
1446
  ac_cv_type_bool=yes
1465
1447
else
1480
1462
for ac_func in memmove
1481
1463
do
1482
1464
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1483
 
echo "configure:1484: checking for $ac_func" >&5
 
1465
echo "configure:1466: checking for $ac_func" >&5
1484
1466
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1485
1467
  echo $ac_n "(cached) $ac_c" 1>&6
1486
1468
else
1487
1469
  cat > conftest.$ac_ext <<EOF
1488
 
#line 1489 "configure"
 
1470
#line 1471 "configure"
1489
1471
#include "confdefs.h"
1490
1472
/* System header to define __stub macros and hopefully few prototypes,
1491
1473
    which can conflict with char $ac_func(); below.  */
1508
1490
 
1509
1491
; return 0; }
1510
1492
EOF
1511
 
if { (eval echo configure:1512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
 
1493
if { (eval echo configure:1494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1512
1494
  rm -rf conftest*
1513
1495
  eval "ac_cv_func_$ac_func=yes"
1514
1496
else
1535
1517
for ac_func in seteuid
1536
1518
do
1537
1519
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1538
 
echo "configure:1539: checking for $ac_func" >&5
 
1520
echo "configure:1521: checking for $ac_func" >&5
1539
1521
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1540
1522
  echo $ac_n "(cached) $ac_c" 1>&6
1541
1523
else
1542
1524
  cat > conftest.$ac_ext <<EOF
1543
 
#line 1544 "configure"
 
1525
#line 1526 "configure"
1544
1526
#include "confdefs.h"
1545
1527
/* System header to define __stub macros and hopefully few prototypes,
1546
1528
    which can conflict with char $ac_func(); below.  */
1563
1545
 
1564
1546
; return 0; }
1565
1547
EOF
1566
 
if { (eval echo configure:1567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
 
1548
if { (eval echo configure:1549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1567
1549
  rm -rf conftest*
1568
1550
  eval "ac_cv_func_$ac_func=yes"
1569
1551
else
1590
1572
for ac_func in setegid
1591
1573
do
1592
1574
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1593
 
echo "configure:1594: checking for $ac_func" >&5
 
1575
echo "configure:1576: checking for $ac_func" >&5
1594
1576
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1595
1577
  echo $ac_n "(cached) $ac_c" 1>&6
1596
1578
else
1597
1579
  cat > conftest.$ac_ext <<EOF
1598
 
#line 1599 "configure"
 
1580
#line 1581 "configure"
1599
1581
#include "confdefs.h"
1600
1582
/* System header to define __stub macros and hopefully few prototypes,
1601
1583
    which can conflict with char $ac_func(); below.  */
1618
1600
 
1619
1601
; return 0; }
1620
1602
EOF
1621
 
if { (eval echo configure:1622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
 
1603
if { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1622
1604
  rm -rf conftest*
1623
1605
  eval "ac_cv_func_$ac_func=yes"
1624
1606
else
1645
1627
for ac_func in strdup
1646
1628
do
1647
1629
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1648
 
echo "configure:1649: checking for $ac_func" >&5
 
1630
echo "configure:1631: checking for $ac_func" >&5
1649
1631
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1650
1632
  echo $ac_n "(cached) $ac_c" 1>&6
1651
1633
else
1652
1634
  cat > conftest.$ac_ext <<EOF
1653
 
#line 1654 "configure"
 
1635
#line 1636 "configure"
1654
1636
#include "confdefs.h"
1655
1637
/* System header to define __stub macros and hopefully few prototypes,
1656
1638
    which can conflict with char $ac_func(); below.  */
1673
1655
 
1674
1656
; return 0; }
1675
1657
EOF
1676
 
if { (eval echo configure:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
 
1658
if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1677
1659
  rm -rf conftest*
1678
1660
  eval "ac_cv_func_$ac_func=yes"
1679
1661
else
1701
1683
 
1702
1684
 
1703
1685
echo "$ac_t""" 1>&6
1704
 
echo "$ac_t""__ RESULT: Sourcefile Substitution __" 1>&6
 
1686
echo "$ac_t""${TERM_BOLD}RESULT: Sourcefile Substitution${TERM_NORM}" 1>&6
1705
1687
 
1706
1688
trap '' 1 2 15
1707
1689
cat > confcache <<\EOF
1726
1708
# Ultrix sh set writes to stderr and can't be redirected directly,
1727
1709
# and sets the high bit in the cache file unless we assign to the vars.
1728
1710
(set) 2>&1 |
1729
 
  case `(ac_space=' '; set) 2>&1` in
 
1711
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
1730
1712
  *ac_space=\ *)
1731
1713
    # `set' does not quote correctly, so add quotes (double-quote substitution
1732
1714
    # turns \\\\ into \\, and sed turns \\ into \).
1793
1775
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1794
1776
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1795
1777
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1796
 
    echo "$CONFIG_STATUS generated by autoconf version 2.12"
 
1778
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
1797
1779
    exit 0 ;;
1798
1780
  -help | --help | --hel | --he | --h)
1799
1781
    echo "\$ac_cs_usage"; exit 0 ;;
1802
1784
done
1803
1785
 
1804
1786
ac_given_srcdir=$srcdir
1805
 
ac_given_INSTALL="$INSTALL"
1806
1787
 
1807
1788
trap 'rm -fr `echo "Makefile t/Makefile config_sc.h  config_ac.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1808
1789
EOF
1813
1794
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1814
1795
$ac_vpsub
1815
1796
$extrasub
 
1797
s%@SHELL@%$SHELL%g
1816
1798
s%@CFLAGS@%$CFLAGS%g
1817
1799
s%@CPPFLAGS@%$CPPFLAGS%g
1818
1800
s%@CXXFLAGS@%$CXXFLAGS%g
 
1801
s%@FFLAGS@%$FFLAGS%g
1819
1802
s%@DEFS@%$DEFS%g
1820
1803
s%@LDFLAGS@%$LDFLAGS%g
1821
1804
s%@LIBS@%$LIBS%g
1835
1818
s%@infodir@%$infodir%g
1836
1819
s%@mandir@%$mandir%g
1837
1820
s%@libsubdir@%$libsubdir%g
 
1821
s%@tmpdir@%$tmpdir%g
1838
1822
s%@PATH_PERL@%$PATH_PERL%g
1839
1823
s%@perlprog@%$perlprog%g
1840
1824
s%@perlvers@%$perlvers%g
1841
 
s%@perlvnum@%$perlvnum%g
1842
1825
s%@perl_prog@%$perl_prog%g
1843
1826
s%@perl_vers@%$perl_vers%g
1844
 
s%@perl_vnum@%$perl_vnum%g
1845
1827
s%@perl_osname@%$perl_osname%g
1846
1828
s%@perl_osvers@%$perl_osvers%g
1847
1829
s%@perl_os@%$perl_os%g
1864
1846
s%@debug@%$debug%g
1865
1847
s%@dmalloc@%$dmalloc%g
1866
1848
s%@SET_MAKE@%$SET_MAKE%g
1867
 
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1868
 
s%@INSTALL_DATA@%$INSTALL_DATA%g
1869
1849
s%@CPP@%$CPP%g
1870
1850
 
1871
1851
CEOF
1943
1923
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1944
1924
  esac
1945
1925
 
1946
 
  case "$ac_given_INSTALL" in
1947
 
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
1948
 
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1949
 
  esac
1950
1926
 
1951
1927
  echo creating "$ac_file"
1952
1928
  rm -f "$ac_file"
1962
1938
s%@configure_input@%$configure_input%g
1963
1939
s%@srcdir@%$srcdir%g
1964
1940
s%@top_srcdir@%$top_srcdir%g
1965
 
s%@INSTALL@%$INSTALL%g
1966
1941
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1967
1942
fi; done
1968
1943
rm -f conftest.s*
2086
2061
rm -fr confdefs* $ac_clean_files
2087
2062
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2088
2063
 
2089
 
echo ""
2090
 
echo "Now please type 'make' to compile. Good luck."
2091
 
echo ""
2092