470
691
if test ! -r $srcdir/$ac_unique_file; then
471
692
if test "$ac_srcdir_defaulted" = yes; then
472
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
693
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694
{ (exit 1); exit 1; }; }
474
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
696
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697
{ (exit 1); exit 1; }; }
477
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
700
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702
{ (exit 1); exit 1; }; }
703
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704
ac_env_build_alias_set=${build_alias+set}
705
ac_env_build_alias_value=$build_alias
706
ac_cv_env_build_alias_set=${build_alias+set}
707
ac_cv_env_build_alias_value=$build_alias
708
ac_env_host_alias_set=${host_alias+set}
709
ac_env_host_alias_value=$host_alias
710
ac_cv_env_host_alias_set=${host_alias+set}
711
ac_cv_env_host_alias_value=$host_alias
712
ac_env_target_alias_set=${target_alias+set}
713
ac_env_target_alias_value=$target_alias
714
ac_cv_env_target_alias_set=${target_alias+set}
715
ac_cv_env_target_alias_value=$target_alias
718
# Report the --help message.
720
if test "$ac_init_help" = "long"; then
721
# Omit some internal or obsolete options to make the list less imposing.
722
# This message is too long to be a string in the A/UX 3.1 sh.
724
\`configure' configures surfraw 2.1.0 to adapt to many kinds of systems.
726
Usage: $0 [OPTION]... [VAR=VALUE]...
728
To assign environment variables (e.g., CC, CFLAGS...), specify them as
729
VAR=VALUE. See below for descriptions of some of the useful variables.
731
Defaults for the options are specified in brackets.
734
-h, --help display this help and exit
735
--help=short display options specific to this package
736
--help=recursive display the short help of all the included packages
737
-V, --version display version information and exit
738
-q, --quiet, --silent do not print \`checking...' messages
739
--cache-file=FILE cache test results in FILE [disabled]
740
-C, --config-cache alias for \`--cache-file=config.cache'
741
-n, --no-create do not create output files
742
--srcdir=DIR find the sources in DIR [configure dir or \`..']
747
Installation directories:
748
--prefix=PREFIX install architecture-independent files in PREFIX
750
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
753
By default, \`make install' will install all the files in
754
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
755
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
756
for instance \`--prefix=\$HOME'.
758
For better control, use the options below.
760
Fine tuning of the installation directories:
761
--bindir=DIR user executables [EPREFIX/bin]
762
--sbindir=DIR system admin executables [EPREFIX/sbin]
763
--libexecdir=DIR program executables [EPREFIX/libexec]
764
--datadir=DIR read-only architecture-independent data [PREFIX/share]
765
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
766
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
767
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
768
--libdir=DIR object code libraries [EPREFIX/lib]
769
--includedir=DIR C header files [PREFIX/include]
770
--oldincludedir=DIR C header files for non-gcc [/usr/include]
771
--infodir=DIR info documentation [PREFIX/info]
772
--mandir=DIR man documentation [PREFIX/man]
778
--program-prefix=PREFIX prepend PREFIX to installed program names
779
--program-suffix=SUFFIX append SUFFIX to installed program names
780
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
783
--build=BUILD configure for building on BUILD [guessed]
784
--host=HOST cross-compile to build programs to run on HOST [BUILD]
788
if test -n "$ac_init_help"; then
789
case $ac_init_help in
790
short | recursive ) echo "Configuration of surfraw 2.1.0:";;
795
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
796
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
797
--with-elvidir=ELVIDIR specify location of elvi
802
if test "$ac_init_help" = "recursive"; then
803
# If there are subdirs, report their specific --help.
805
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
806
test -d $ac_dir || continue
809
if test "$ac_dir" != .; then
810
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
811
# A "../" for each directory in $ac_dir_suffix.
812
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
814
ac_dir_suffix= ac_top_builddir=
818
.) # No --srcdir option. We are building in place.
820
if test -z "$ac_top_builddir"; then
823
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
825
[\\/]* | ?:[\\/]* ) # Absolute path.
826
ac_srcdir=$srcdir$ac_dir_suffix;
827
ac_top_srcdir=$srcdir ;;
829
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
830
ac_top_srcdir=$ac_top_builddir$srcdir ;;
833
# Do not use `cd foo && pwd` to compute absolute paths, because
834
# the directories may not exist.
836
.) ac_abs_builddir="$ac_dir";;
839
.) ac_abs_builddir=`pwd`;;
840
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
841
*) ac_abs_builddir=`pwd`/"$ac_dir";;
844
case $ac_abs_builddir in
845
.) ac_abs_top_builddir=${ac_top_builddir}.;;
847
case ${ac_top_builddir}. in
848
.) ac_abs_top_builddir=$ac_abs_builddir;;
849
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
850
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
853
case $ac_abs_builddir in
854
.) ac_abs_srcdir=$ac_srcdir;;
857
.) ac_abs_srcdir=$ac_abs_builddir;;
858
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
859
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
862
case $ac_abs_builddir in
863
.) ac_abs_top_srcdir=$ac_top_srcdir;;
865
case $ac_top_srcdir in
866
.) ac_abs_top_srcdir=$ac_abs_builddir;;
867
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
868
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
873
# Check for guested configure; otherwise get Cygnus style configure.
874
if test -f $ac_srcdir/configure.gnu; then
876
$SHELL $ac_srcdir/configure.gnu --help=recursive
877
elif test -f $ac_srcdir/configure; then
879
$SHELL $ac_srcdir/configure --help=recursive
880
elif test -f $ac_srcdir/configure.ac ||
881
test -f $ac_srcdir/configure.in; then
885
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
891
test -n "$ac_init_help" && exit 0
892
if $ac_init_version; then
894
surfraw configure 2.1.0
895
generated by GNU Autoconf 2.59
897
Copyright (C) 2003 Free Software Foundation, Inc.
898
This configure script is free software; the Free Software Foundation
899
gives unlimited permission to copy, distribute and modify it.
905
This file contains any messages produced by compilers while
906
running configure, to aid debugging if configure makes a mistake.
908
It was created by surfraw $as_me 2.1.0, which was
909
generated by GNU Autoconf 2.59. Invocation command line was
920
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
921
uname -m = `(uname -m) 2>/dev/null || echo unknown`
922
uname -r = `(uname -r) 2>/dev/null || echo unknown`
923
uname -s = `(uname -s) 2>/dev/null || echo unknown`
924
uname -v = `(uname -v) 2>/dev/null || echo unknown`
926
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
927
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
929
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
930
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
931
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
932
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
933
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
934
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
935
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
939
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
943
test -z "$as_dir" && as_dir=.
959
# Keep a trace of the command line.
960
# Strip out --no-create and --no-recursion so they do not pile up.
961
# Strip out --silent because we don't want to record it for future runs.
962
# Also quote any args containing shell meta-characters.
963
# Make two passes to allow for proper duplicate-argument suppression.
968
ac_must_keep_next=false
974
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
975
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
976
| -silent | --silent | --silen | --sile | --sil)
978
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
979
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
982
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
984
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
985
if test $ac_must_keep_next = true; then
986
ac_must_keep_next=false # Got value, back to normal.
989
*=* | --config-cache | -C | -disable-* | --disable-* \
990
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
991
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
992
| -with-* | --with-* | -without-* | --without-* | --x)
993
case "$ac_configure_args0 " in
994
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
997
-* ) ac_must_keep_next=true ;;
1000
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1001
# Get rid of the leading space.
1007
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1008
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1010
# When interrupted or exit'd, cleanup temporary files, and complete
1011
# config.log. We remove comments because anyway the quotes in there
1012
# would cause problems or look ugly.
1013
# WARNING: Be sure not to use single quotes in there, as some shells,
1014
# such as our DU 5.0 friend, will then `close' the trap.
1015
trap 'exit_status=$?
1016
# Save into config.log some information that might help in debugging.
1021
## ---------------- ##
1022
## Cache variables. ##
1023
## ---------------- ##
1026
# The following way of writing the cache mishandles newlines in values,
1029
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1032
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1033
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1037
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1044
## ----------------- ##
1045
## Output variables. ##
1046
## ----------------- ##
1049
for ac_var in $ac_subst_vars
1051
eval ac_val=$`echo $ac_var`
1052
echo "$ac_var='"'"'$ac_val'"'"'"
1056
if test -n "$ac_subst_files"; then
1063
for ac_var in $ac_subst_files
1065
eval ac_val=$`echo $ac_var`
1066
echo "$ac_var='"'"'$ac_val'"'"'"
1071
if test -s confdefs.h; then
1078
sed "/^$/d" confdefs.h | sort
1081
test "$ac_signal" != 0 &&
1082
echo "$as_me: caught signal $ac_signal"
1083
echo "$as_me: exit $exit_status"
1085
rm -f core *.core &&
1086
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1089
for ac_signal in 1 2 13 15; do
1090
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1094
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1095
rm -rf conftest* confdefs.h
1096
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1099
# Predefined preprocessor variables.
1101
cat >>confdefs.h <<_ACEOF
1102
#define PACKAGE_NAME "$PACKAGE_NAME"
1106
cat >>confdefs.h <<_ACEOF
1107
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1111
cat >>confdefs.h <<_ACEOF
1112
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1116
cat >>confdefs.h <<_ACEOF
1117
#define PACKAGE_STRING "$PACKAGE_STRING"
1121
cat >>confdefs.h <<_ACEOF
1122
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1126
# Let the site file select an alternate cache file if it wants to.
479
1127
# Prefer explicitly selected file to automatically selected ones.
480
1128
if test -z "$CONFIG_SITE"; then
481
1129
if test "x$prefix" != xNONE; then
547
1277
# SunOS /usr/etc/install
548
1278
# IRIX /sbin/install
549
1279
# AIX /bin/install
1280
# AmigaOS /C/install, which installs bootblocks on floppy discs
550
1281
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
551
1282
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
552
1283
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1284
# OS/2's system install, which has a completely different semantic
553
1285
# ./install, which can be erroneously created by make from ./install.sh.
554
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
555
echo "configure:556: checking for a BSD compatible install" >&5
1286
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1287
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
556
1288
if test -z "$INSTALL"; then
557
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
558
echo $ac_n "(cached) $ac_c" 1>&6
1289
if test "${ac_cv_path_install+set}" = set; then
1290
echo $ECHO_N "(cached) $ECHO_C" >&6
560
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
561
for ac_dir in $PATH; do
562
# Account for people who put trailing slashes in PATH elements.
564
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
566
# OSF1 and SCO ODT 3.0 have their own names for install.
567
# Don't use installbsd from OSF since it installs stuff as root
569
for ac_prog in ginstall scoinst install; do
570
if test -f $ac_dir/$ac_prog; then
1292
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1296
test -z "$as_dir" && as_dir=.
1297
# Account for people who put trailing slashes in PATH elements.
1299
./ | .// | /cC/* | \
1300
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1301
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1304
# OSF1 and SCO ODT 3.0 have their own names for install.
1305
# Don't use installbsd from OSF since it installs stuff as root
1307
for ac_prog in ginstall scoinst install; do
1308
for ac_exec_ext in '' $ac_executable_extensions; do
1309
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
571
1310
if test $ac_prog = install &&
572
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1311
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
573
1312
# AIX install. It has an incompatible calling convention.
1314
elif test $ac_prog = install &&
1315
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1316
# program-specific install script used by HP pwplus--don't use.
576
ac_cv_path_install="$ac_dir/$ac_prog -c"
1319
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
587
1331
if test "${ac_cv_path_install+set}" = set; then
588
INSTALL="$ac_cv_path_install"
1332
INSTALL=$ac_cv_path_install
590
1334
# As a last resort, use the slow shell script. We don't cache a
591
1335
# path for INSTALL within a source directory, because that will
592
1336
# break other packages using the cache if that directory is
593
1337
# removed, or if the path is relative.
594
INSTALL="$ac_install_sh"
1338
INSTALL=$ac_install_sh
597
echo "$ac_t""$INSTALL" 1>&6
1341
echo "$as_me:$LINENO: result: $INSTALL" >&5
1342
echo "${ECHO_T}$INSTALL" >&6
599
1344
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
600
1345
# It thinks the first close brace ends the variable substitution.
601
1346
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
603
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1348
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
605
1350
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
607
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
608
echo "configure:609: checking whether build environment is sane" >&5
1352
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1353
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
611
echo timestamp > conftestfile
1356
echo timestamp > conftest.file
612
1357
# Do `set' in a subshell so we don't clobber the current shell's
613
1358
# arguments. Must try -L first in case configure is actually a
614
1359
# symlink; some systems play weird games with the mod time of symlinks
615
1360
# (eg FreeBSD returns the mod time of the symlink's containing
618
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1363
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
619
1364
if test "$*" = "X"; then
620
1365
# -L didn't work.
621
set X `ls -t $srcdir/configure conftestfile`
1366
set X `ls -t $srcdir/configure conftest.file`
623
if test "$*" != "X $srcdir/configure conftestfile" \
624
&& test "$*" != "X conftestfile $srcdir/configure"; then
1369
if test "$*" != "X $srcdir/configure conftest.file" \
1370
&& test "$*" != "X conftest.file $srcdir/configure"; then
626
1372
# If neither matched, then we have a broken ls. This can happen
627
1373
# if, for instance, CONFIG_SHELL is bash and it inherits a
628
1374
# broken ls alias from the environment. This has actually
629
1375
# happened. Such a system could not be considered "sane".
630
{ echo "configure: error: ls -t appears to fail. Make sure there is not a broken
631
alias in your environment" 1>&2; exit 1; }
1376
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1377
alias in your environment" >&5
1378
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1379
alias in your environment" >&2;}
1380
{ (exit 1); exit 1; }; }
634
test "$2" = conftestfile
1383
test "$2" = conftest.file
640
{ echo "configure: error: newly created file is older than distributed files!
641
Check your system clock" 1>&2; exit 1; }
644
echo "$ac_t""yes" 1>&6
645
if test "$program_transform_name" = s,x,x,; then
646
program_transform_name=
648
# Double any \ or $. echo might interpret backslashes.
649
cat <<\EOF_SED > conftestsed
650
s,\\,\\\\,g; s,\$,$$,g
652
program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1389
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1390
Check your system clock" >&5
1391
echo "$as_me: error: newly created file is older than distributed files!
1392
Check your system clock" >&2;}
1393
{ (exit 1); exit 1; }; }
1395
echo "$as_me:$LINENO: result: yes" >&5
1396
echo "${ECHO_T}yes" >&6
655
1397
test "$program_prefix" != NONE &&
656
program_transform_name="s,^,${program_prefix},; $program_transform_name"
1398
program_transform_name="s,^,$program_prefix,;$program_transform_name"
657
1399
# Use a double $ so make ignores it.
658
1400
test "$program_suffix" != NONE &&
659
program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
661
# sed with no file args requires a program.
662
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
664
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
665
echo "configure:666: checking whether ${MAKE-make} sets \${MAKE}" >&5
666
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
667
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
668
echo $ac_n "(cached) $ac_c" 1>&6
670
cat > conftestmake <<\EOF
1401
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1402
# Double any \ or $. echo might interpret backslashes.
1403
# By default was `s,x,x', remove it if useless.
1404
cat <<\_ACEOF >conftest.sed
1405
s/[\\$]/&&/g;s/;s,x,x,$//
1407
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1411
# expand $ac_aux_dir to an absolute path
1412
am_aux_dir=`cd $ac_aux_dir && pwd`
1414
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1415
# Use eval to expand $SHELL
1416
if eval "$MISSING --run true"; then
1417
am_missing_run="$MISSING --run "
1420
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1421
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1424
for ac_prog in gawk mawk nawk awk
1426
# Extract the first word of "$ac_prog", so it can be a program name with args.
1427
set dummy $ac_prog; ac_word=$2
1428
echo "$as_me:$LINENO: checking for $ac_word" >&5
1429
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1430
if test "${ac_cv_prog_AWK+set}" = set; then
1431
echo $ECHO_N "(cached) $ECHO_C" >&6
1433
if test -n "$AWK"; then
1434
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1436
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1440
test -z "$as_dir" && as_dir=.
1441
for ac_exec_ext in '' $ac_executable_extensions; do
1442
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1443
ac_cv_prog_AWK="$ac_prog"
1444
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1453
if test -n "$AWK"; then
1454
echo "$as_me:$LINENO: result: $AWK" >&5
1455
echo "${ECHO_T}$AWK" >&6
1457
echo "$as_me:$LINENO: result: no" >&5
1458
echo "${ECHO_T}no" >&6
1461
test -n "$AWK" && break
1464
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1465
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1466
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1467
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1468
echo $ECHO_N "(cached) $ECHO_C" >&6
1470
cat >conftest.make <<\_ACEOF
672
@echo 'ac_maketemp="${MAKE}"'
1472
@echo 'ac_maketemp="$(MAKE)"'
674
1474
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
675
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1475
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
676
1476
if test -n "$ac_maketemp"; then
677
1477
eval ac_cv_prog_make_${ac_make}_set=yes
679
1479
eval ac_cv_prog_make_${ac_make}_set=no
683
1483
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
684
echo "$ac_t""yes" 1>&6
1484
echo "$as_me:$LINENO: result: yes" >&5
1485
echo "${ECHO_T}yes" >&6
687
echo "$ac_t""no" 1>&6
1488
echo "$as_me:$LINENO: result: no" >&5
1489
echo "${ECHO_T}no" >&6
688
1490
SET_MAKE="MAKE=${MAKE-make}"
696
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
697
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
699
cat >> confdefs.h <<EOF
1493
rm -rf .tst 2>/dev/null
1494
mkdir .tst 2>/dev/null
1495
if test -d .tst; then
1500
rmdir .tst 2>/dev/null
1502
# test to see if srcdir already configured
1503
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1504
test -f $srcdir/config.status; then
1505
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1506
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1507
{ (exit 1); exit 1; }; }
1510
# test whether we have cygpath
1511
if test -z "$CYGPATH_W"; then
1512
if (cygpath --version) >/dev/null 2>/dev/null; then
1513
CYGPATH_W='cygpath -w'
1520
# Define the identity of the package.
1525
cat >>confdefs.h <<_ACEOF
700
1526
#define PACKAGE "$PACKAGE"
703
cat >> confdefs.h <<EOF
1530
cat >>confdefs.h <<_ACEOF
704
1531
#define VERSION "$VERSION"
709
missing_dir=`cd $ac_aux_dir && pwd`
710
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
711
echo "configure:712: checking for working aclocal" >&5
712
# Run test in a subshell; some versions of sh will print an error if
713
# an executable is not found, even if stderr is redirected.
714
# Redirect stdin to placate older versions of autoconf. Sigh.
715
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
717
echo "$ac_t""found" 1>&6
719
ACLOCAL="$missing_dir/missing aclocal"
720
echo "$ac_t""missing" 1>&6
723
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
724
echo "configure:725: checking for working autoconf" >&5
725
# Run test in a subshell; some versions of sh will print an error if
726
# an executable is not found, even if stderr is redirected.
727
# Redirect stdin to placate older versions of autoconf. Sigh.
728
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
730
echo "$ac_t""found" 1>&6
732
AUTOCONF="$missing_dir/missing autoconf"
733
echo "$ac_t""missing" 1>&6
736
echo $ac_n "checking for working automake""... $ac_c" 1>&6
737
echo "configure:738: checking for working automake" >&5
738
# Run test in a subshell; some versions of sh will print an error if
739
# an executable is not found, even if stderr is redirected.
740
# Redirect stdin to placate older versions of autoconf. Sigh.
741
if (automake --version) < /dev/null > /dev/null 2>&1; then
743
echo "$ac_t""found" 1>&6
745
AUTOMAKE="$missing_dir/missing automake"
746
echo "$ac_t""missing" 1>&6
749
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
750
echo "configure:751: checking for working autoheader" >&5
751
# Run test in a subshell; some versions of sh will print an error if
752
# an executable is not found, even if stderr is redirected.
753
# Redirect stdin to placate older versions of autoconf. Sigh.
754
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
755
AUTOHEADER=autoheader
756
echo "$ac_t""found" 1>&6
758
AUTOHEADER="$missing_dir/missing autoheader"
759
echo "$ac_t""missing" 1>&6
762
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
763
echo "configure:764: checking for working makeinfo" >&5
764
# Run test in a subshell; some versions of sh will print an error if
765
# an executable is not found, even if stderr is redirected.
766
# Redirect stdin to placate older versions of autoconf. Sigh.
767
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
769
echo "$ac_t""found" 1>&6
771
MAKEINFO="$missing_dir/missing makeinfo"
772
echo "$ac_t""missing" 1>&6
1534
# Some tools Automake needs.
1536
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1539
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1542
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1545
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1548
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1551
AMTAR=${AMTAR-"${am_missing_run}tar"}
1553
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1555
# Installed binaries are usually stripped using `strip' when the user
1556
# run `make install-strip'. However `strip' might not be the right
1557
# tool to use in cross-compilation environments, therefore Automake
1558
# will honor the `STRIP' environment variable to overrule this program.
1559
if test "$cross_compiling" != no; then
1560
if test -n "$ac_tool_prefix"; then
1561
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1562
set dummy ${ac_tool_prefix}strip; ac_word=$2
1563
echo "$as_me:$LINENO: checking for $ac_word" >&5
1564
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1565
if test "${ac_cv_prog_STRIP+set}" = set; then
1566
echo $ECHO_N "(cached) $ECHO_C" >&6
1568
if test -n "$STRIP"; then
1569
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1571
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1575
test -z "$as_dir" && as_dir=.
1576
for ac_exec_ext in '' $ac_executable_extensions; do
1577
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1578
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1579
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1587
STRIP=$ac_cv_prog_STRIP
1588
if test -n "$STRIP"; then
1589
echo "$as_me:$LINENO: result: $STRIP" >&5
1590
echo "${ECHO_T}$STRIP" >&6
1592
echo "$as_me:$LINENO: result: no" >&5
1593
echo "${ECHO_T}no" >&6
1597
if test -z "$ac_cv_prog_STRIP"; then
1599
# Extract the first word of "strip", so it can be a program name with args.
1600
set dummy strip; ac_word=$2
1601
echo "$as_me:$LINENO: checking for $ac_word" >&5
1602
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1604
echo $ECHO_N "(cached) $ECHO_C" >&6
1606
if test -n "$ac_ct_STRIP"; then
1607
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1609
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613
test -z "$as_dir" && as_dir=.
1614
for ac_exec_ext in '' $ac_executable_extensions; do
1615
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616
ac_cv_prog_ac_ct_STRIP="strip"
1617
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1626
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1627
if test -n "$ac_ct_STRIP"; then
1628
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1629
echo "${ECHO_T}$ac_ct_STRIP" >&6
1631
echo "$as_me:$LINENO: result: no" >&5
1632
echo "${ECHO_T}no" >&6
1637
STRIP="$ac_cv_prog_STRIP"
1641
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1643
# We need awk for the "check" target. The system "awk" is bad on
1649
ELVIDIR="\$(libdir)/surfraw"
1652
# Check whether --with-elvidir or --without-elvidir was given.
1653
if test "${with_elvidir+set}" = set; then
1654
withval="$with_elvidir"
1655
if test -n "$withval" && test "$withval" != "no" ; then ELVIDIR="$withval";fi
814
1724
# SunOS /usr/etc/install
815
1725
# IRIX /sbin/install
816
1726
# AIX /bin/install
1727
# AmigaOS /C/install, which installs bootblocks on floppy discs
817
1728
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
818
1729
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
819
1730
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1731
# OS/2's system install, which has a completely different semantic
820
1732
# ./install, which can be erroneously created by make from ./install.sh.
821
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
822
echo "configure:823: checking for a BSD compatible install" >&5
1733
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1734
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
823
1735
if test -z "$INSTALL"; then
824
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
825
echo $ac_n "(cached) $ac_c" 1>&6
1736
if test "${ac_cv_path_install+set}" = set; then
1737
echo $ECHO_N "(cached) $ECHO_C" >&6
827
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
828
for ac_dir in $PATH; do
829
# Account for people who put trailing slashes in PATH elements.
831
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
833
# OSF1 and SCO ODT 3.0 have their own names for install.
834
# Don't use installbsd from OSF since it installs stuff as root
836
for ac_prog in ginstall scoinst install; do
837
if test -f $ac_dir/$ac_prog; then
1739
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743
test -z "$as_dir" && as_dir=.
1744
# Account for people who put trailing slashes in PATH elements.
1746
./ | .// | /cC/* | \
1747
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1748
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1751
# OSF1 and SCO ODT 3.0 have their own names for install.
1752
# Don't use installbsd from OSF since it installs stuff as root
1754
for ac_prog in ginstall scoinst install; do
1755
for ac_exec_ext in '' $ac_executable_extensions; do
1756
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
838
1757
if test $ac_prog = install &&
839
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1758
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
840
1759
# AIX install. It has an incompatible calling convention.
1761
elif test $ac_prog = install &&
1762
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1763
# program-specific install script used by HP pwplus--don't use.
843
ac_cv_path_install="$ac_dir/$ac_prog -c"
1766
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
854
1778
if test "${ac_cv_path_install+set}" = set; then
855
INSTALL="$ac_cv_path_install"
1779
INSTALL=$ac_cv_path_install
857
1781
# As a last resort, use the slow shell script. We don't cache a
858
1782
# path for INSTALL within a source directory, because that will
859
1783
# break other packages using the cache if that directory is
860
1784
# removed, or if the path is relative.
861
INSTALL="$ac_install_sh"
1785
INSTALL=$ac_install_sh
864
echo "$ac_t""$INSTALL" 1>&6
1788
echo "$as_me:$LINENO: result: $INSTALL" >&5
1789
echo "${ECHO_T}$INSTALL" >&6
866
1791
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
867
1792
# It thinks the first close brace ends the variable substitution.
868
1793
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
870
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1795
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
872
1797
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
874
1799
for ac_prog in links w3m lynx
876
# Extract the first word of "$ac_prog", so it can be a program name with args.
1801
# Extract the first word of "$ac_prog", so it can be a program name with args.
877
1802
set dummy $ac_prog; ac_word=$2
878
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
879
echo "configure:880: checking for $ac_word" >&5
880
if eval "test \"`echo '$''{'ac_cv_prog_sr_text_browser'+set}'`\" = set"; then
881
echo $ac_n "(cached) $ac_c" 1>&6
1803
echo "$as_me:$LINENO: checking for $ac_word" >&5
1804
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1805
if test "${ac_cv_prog_sr_text_browser+set}" = set; then
1806
echo $ECHO_N "(cached) $ECHO_C" >&6
883
1808
if test -n "$sr_text_browser"; then
884
1809
ac_cv_prog_sr_text_browser="$sr_text_browser" # Let the user override the test.
886
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
888
for ac_dir in $ac_dummy; do
889
test -z "$ac_dir" && ac_dir=.
890
if test -f $ac_dir/$ac_word; then
891
ac_cv_prog_sr_text_browser="$ac_prog"
898
sr_text_browser="$ac_cv_prog_sr_text_browser"
1811
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1815
test -z "$as_dir" && as_dir=.
1816
for ac_exec_ext in '' $ac_executable_extensions; do
1817
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1818
ac_cv_prog_sr_text_browser="$ac_prog"
1819
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1827
sr_text_browser=$ac_cv_prog_sr_text_browser
899
1828
if test -n "$sr_text_browser"; then
900
echo "$ac_t""$sr_text_browser" 1>&6
1829
echo "$as_me:$LINENO: result: $sr_text_browser" >&5
1830
echo "${ECHO_T}$sr_text_browser" >&6
902
echo "$ac_t""no" 1>&6
1832
echo "$as_me:$LINENO: result: no" >&5
1833
echo "${ECHO_T}no" >&6
905
test -n "$sr_text_browser" && break
1836
test -n "$sr_text_browser" && break
909
1840
for ac_prog in mozilla konqueror netscape opera kfm
911
# Extract the first word of "$ac_prog", so it can be a program name with args.
1842
# Extract the first word of "$ac_prog", so it can be a program name with args.
912
1843
set dummy $ac_prog; ac_word=$2
913
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
914
echo "configure:915: checking for $ac_word" >&5
915
if eval "test \"`echo '$''{'ac_cv_prog_sr_graphical_browser'+set}'`\" = set"; then
916
echo $ac_n "(cached) $ac_c" 1>&6
1844
echo "$as_me:$LINENO: checking for $ac_word" >&5
1845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846
if test "${ac_cv_prog_sr_graphical_browser+set}" = set; then
1847
echo $ECHO_N "(cached) $ECHO_C" >&6
918
1849
if test -n "$sr_graphical_browser"; then
919
1850
ac_cv_prog_sr_graphical_browser="$sr_graphical_browser" # Let the user override the test.
921
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
923
for ac_dir in $ac_dummy; do
924
test -z "$ac_dir" && ac_dir=.
925
if test -f $ac_dir/$ac_word; then
926
ac_cv_prog_sr_graphical_browser="$ac_prog"
933
sr_graphical_browser="$ac_cv_prog_sr_graphical_browser"
1852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856
test -z "$as_dir" && as_dir=.
1857
for ac_exec_ext in '' $ac_executable_extensions; do
1858
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859
ac_cv_prog_sr_graphical_browser="$ac_prog"
1860
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1868
sr_graphical_browser=$ac_cv_prog_sr_graphical_browser
934
1869
if test -n "$sr_graphical_browser"; then
935
echo "$ac_t""$sr_graphical_browser" 1>&6
1870
echo "$as_me:$LINENO: result: $sr_graphical_browser" >&5
1871
echo "${ECHO_T}$sr_graphical_browser" >&6
937
echo "$ac_t""no" 1>&6
1873
echo "$as_me:$LINENO: result: no" >&5
1874
echo "${ECHO_T}no" >&6
940
test -n "$sr_graphical_browser" && break
1877
test -n "$sr_graphical_browser" && break
946
cat > confcache <<\EOF
1882
ac_config_files="$ac_config_files Makefile surfraw.conf surfraw.lsm surfraw.spec elvi/Makefile surfraw.1 elvi.1sr"
1884
cat >confcache <<\_ACEOF
947
1885
# This file is a shell script that caches the results of configure
948
1886
# tests run on this system so they can be shared between configure
949
# scripts and configure runs. It is not useful on other systems.
950
# If it contains results you don't want to keep, you may remove or edit it.
952
# By default, configure uses ./config.cache as the cache file,
953
# creating it if it does not exist already. You can give configure
954
# the --cache-file=FILE option to use a different cache file; that is
955
# what configure does when it calls configure scripts in
956
# subdirectories, so they share the cache.
957
# Giving --cache-file=/dev/null disables caching, for debugging configure.
958
# config.status only pays attention to the cache file if you give it the
959
# --recheck option to rerun configure.
1887
# scripts and configure runs, see configure's option --config-cache.
1888
# It is not useful on other systems. If it contains results you don't
1889
# want to keep, you may remove or edit it.
1891
# config.status only pays attention to the cache file if you give it
1892
# the --recheck option to rerun configure.
1894
# `ac_cv_env_foo' variables (set or unset) will be overridden when
1895
# loading this file, other *unset* `ac_cv_foo' will be assigned the
962
1900
# The following way of writing the cache mishandles newlines in values,
963
1901
# but we know of no workaround that is simple, portable, and efficient.
964
1902
# So, don't put newlines in cache variables' values.
965
1903
# Ultrix sh set writes to stderr and can't be redirected directly,
966
1904
# and sets the high bit in the cache file unless we assign to the vars.
968
case `(ac_space=' '; set | grep ac_space) 2>&1` in
970
# `set' does not quote correctly, so add quotes (double-quote substitution
971
# turns \\\\ into \\, and sed turns \\ into \).
974
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
977
# `set' quotes correctly as required by POSIX, so do not add quotes.
978
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
981
if cmp -s $cache_file confcache; then
1907
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1909
# `set' does not quote correctly, so add quotes (double-quote
1910
# substitution turns \\\\ into \\, and sed turns \\ into \).
1913
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1916
# `set' quotes correctly as required by POSIX, so do not add quotes.
1918
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1925
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1927
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1929
if diff $cache_file confcache >/dev/null 2>&1; then :; else
984
1930
if test -w $cache_file; then
985
echo "updating cache $cache_file"
986
cat confcache > $cache_file
1931
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1932
cat confcache >$cache_file
988
1934
echo "not updating unwritable cache $cache_file"
993
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
995
1939
test "x$prefix" = xNONE && prefix=$ac_default_prefix
996
1940
# Let make expand exec_prefix.
997
1941
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
999
# Any assignment to VPATH causes Sun make to only execute
1000
# the first set of double-colon rules, so remove it if not needed.
1001
# If there is a colon in the path, we need to keep it.
1943
# VPATH may cause trouble with some makes, so we remove $(srcdir),
1944
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1945
# trailing colons and then remove the whole line if VPATH becomes empty
1946
# (actually we leave an empty line to preserve line numbers).
1002
1947
if test "x$srcdir" = x.; then
1003
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1948
ac_vpsub='/^[ ]*VPATH[ ]*=/{
1949
s/:*\$(srcdir):*/:/;
1950
s/:*\${srcdir}:*/:/;
1952
s/^\([^=]*=[ ]*\):*/\1/;
1006
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1008
1958
# Transform confdefs.h into DEFS.
1009
1959
# Protect against shell expansion while executing Makefile rules.
1010
1960
# Protect against Makefile macro expansion.
1011
cat > conftest.defs <<\EOF
1012
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1013
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1018
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1022
# Without the "./", some shells look in PATH for config.status.
1962
# If the first sed substitution is executed (which looks for macros that
1963
# take arguments), then we branch to the quote section. Otherwise,
1964
# look for a macro that doesn't take arguments.
1965
cat >confdef2opt.sed <<\_ACEOF
1968
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1970
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1974
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1980
# We use echo to avoid assuming a particular line-breaking character.
1981
# The extra dot is to prevent the shell from consuming trailing
1982
# line-breaks from the sub-command output. A line-break within
1983
# single-quotes doesn't work because, if this script is created in a
1984
# platform that uses two characters for line-breaks (e.g., DOS), tr
1986
ac_LF_and_DOT=`echo; echo .`
1987
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1988
rm -f confdef2opt.sed
1993
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1994
# 1. Remove the extension, and $U if already installed.
1995
ac_i=`echo "$ac_i" |
1996
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1998
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1999
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2003
LTLIBOBJS=$ac_ltlibobjs
1023
2007
: ${CONFIG_STATUS=./config.status}
1025
echo creating $CONFIG_STATUS
1026
rm -f $CONFIG_STATUS
1027
cat > $CONFIG_STATUS <<EOF
1029
# Generated automatically by configure.
2008
ac_clean_files_save=$ac_clean_files
2009
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2010
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2011
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2012
cat >$CONFIG_STATUS <<_ACEOF
2014
# Generated by $as_me.
1030
2015
# Run this file to recreate the current configuration.
1031
# This directory was configured as follows,
1032
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1034
# $0 $ac_configure_args
1036
2016
# Compiler output produced by configure, useful for debugging
1037
# configure, is in ./config.log if it exists.
1039
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1042
case "\$ac_option" in
2017
# configure, is in config.log if it exists.
2022
SHELL=\${CONFIG_SHELL-$SHELL}
2025
cat >>$CONFIG_STATUS <<\_ACEOF
2026
## --------------------- ##
2027
## M4sh Initialization. ##
2028
## --------------------- ##
2030
# Be Bourne compatible
2031
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2034
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2035
# is contrary to our usage. Disable this feature.
2036
alias -g '${1+"$@"}'='"$@"'
2037
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2040
DUALCASE=1; export DUALCASE # for MKS sh
2042
# Support unset when possible.
2043
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2050
# Work around bugs in pre-3.0 UWIN ksh.
2051
$as_unset ENV MAIL MAILPATH
2058
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2059
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2060
LC_TELEPHONE LC_TIME
2062
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2063
eval $as_var=C; export $as_var
2069
# Required to use basename.
2070
if expr a : '\(a\)' >/dev/null 2>&1; then
2076
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2077
as_basename=basename
2083
# Name of the executable.
2084
as_me=`$as_basename "$0" ||
2085
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2086
X"$0" : 'X\(//\)$' \| \
2087
X"$0" : 'X\(/\)$' \| \
2088
. : '\(.\)' 2>/dev/null ||
2090
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2091
/^X\/\(\/\/\)$/{ s//\1/; q; }
2092
/^X\/\(\/\).*/{ s//\1/; q; }
2096
# PATH needs CR, and LINENO needs CR and PATH.
2097
# Avoid depending upon Character Ranges.
2098
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2099
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2100
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2101
as_cr_digits='0123456789'
2102
as_cr_alnum=$as_cr_Letters$as_cr_digits
2104
# The user is always right.
2105
if test "${PATH_SEPARATOR+set}" != set; then
2106
echo "#! /bin/sh" >conf$$.sh
2107
echo "exit 0" >>conf$$.sh
2109
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2120
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2121
test "x$as_lineno_1" != "x$as_lineno_2" &&
2122
test "x$as_lineno_3" = "x$as_lineno_2" || {
2123
# Find who we are. Look in the path if we contain no path at all
2126
*[\\/]* ) as_myself=$0 ;;
2127
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131
test -z "$as_dir" && as_dir=.
2132
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2137
# We did not find ourselves, most probably we were run as `sh COMMAND'
2138
# in which case we are not to be found in the path.
2139
if test "x$as_myself" = x; then
2142
if test ! -f "$as_myself"; then
2143
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2144
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2145
{ (exit 1); exit 1; }; }
2147
case $CONFIG_SHELL in
2149
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2153
test -z "$as_dir" && as_dir=.
2154
for as_base in sh bash ksh sh5; do
2157
if ("$as_dir/$as_base" -c '
2160
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2161
test "x$as_lineno_1" != "x$as_lineno_2" &&
2162
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2163
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2164
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2165
CONFIG_SHELL=$as_dir/$as_base
2167
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2175
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2176
# uniformly replaced by the line number. The first 'sed' inserts a
2177
# line-number line before each line; the second 'sed' does the real
2178
# work. The second script uses 'N' to pair each line-number line
2179
# with the numbered line, and appends trailing '-' during
2180
# substitution so that $LINENO is not a special case at line end.
2181
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2182
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2183
sed '=' <$as_myself |
2188
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2191
s,^['$as_cr_digits']*\n,,
2193
chmod +x $as_me.lineno ||
2194
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2195
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2196
{ (exit 1); exit 1; }; }
2198
# Don't try to exec as it changes $[0], causing all sort of problems
2199
# (the dirname of $[0] is not the place where we might find the
2200
# original and so on. Autoconf is especially sensible to this).
2202
# Exit status is that of the last command.
2207
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2208
*c*,-n*) ECHO_N= ECHO_C='
2210
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2211
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2214
if expr a : '\(a\)' >/dev/null 2>&1; then
2220
rm -f conf$$ conf$$.exe conf$$.file
2222
if ln -s conf$$.file conf$$ 2>/dev/null; then
2223
# We could just check for DJGPP; but this test a) works b) is more generic
2224
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2225
if test -f conf$$.exe; then
2226
# Don't use ln at all; we don't have any links
2231
elif ln conf$$.file conf$$ 2>/dev/null; then
2236
rm -f conf$$ conf$$.exe conf$$.file
2238
if mkdir -p . 2>/dev/null; then
2241
test -d ./-p && rmdir ./-p
2245
as_executable_p="test -f"
2247
# Sed expression to map a string onto a valid CPP name.
2248
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2250
# Sed expression to map a string onto a valid variable name.
2251
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2255
# We need space, tab and new line, in precisely that order.
2265
# Open the log real soon, to keep \$[0] and so on meaningful, and to
2266
# report actual input values of CONFIG_FILES etc. instead of their
2267
# values after options handling. Logging --version etc. is OK.
2271
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2272
## Running $as_me. ##
2277
This file was extended by surfraw $as_me 2.1.0, which was
2278
generated by GNU Autoconf 2.59. Invocation command line was
2280
CONFIG_FILES = $CONFIG_FILES
2281
CONFIG_HEADERS = $CONFIG_HEADERS
2282
CONFIG_LINKS = $CONFIG_LINKS
2283
CONFIG_COMMANDS = $CONFIG_COMMANDS
2287
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2291
# Files that config.status was made for.
2292
if test -n "$ac_config_files"; then
2293
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2296
if test -n "$ac_config_headers"; then
2297
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2300
if test -n "$ac_config_links"; then
2301
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2304
if test -n "$ac_config_commands"; then
2305
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2308
cat >>$CONFIG_STATUS <<\_ACEOF
2311
\`$as_me' instantiates files from templates according to the
2312
current configuration.
2314
Usage: $0 [OPTIONS] [FILE]...
2316
-h, --help print this help, then exit
2317
-V, --version print version number, then exit
2318
-q, --quiet do not print progress messages
2319
-d, --debug don't remove temporary files
2320
--recheck update $as_me by reconfiguring in the same conditions
2321
--file=FILE[:TEMPLATE]
2322
instantiate the configuration file FILE
2324
Configuration files:
2327
Report bugs to <bug-autoconf@gnu.org>."
2330
cat >>$CONFIG_STATUS <<_ACEOF
2332
surfraw config.status 2.1.0
2333
configured by $0, generated by GNU Autoconf 2.59,
2334
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2336
Copyright (C) 2003 Free Software Foundation, Inc.
2337
This config.status script is free software; the Free Software Foundation
2338
gives unlimited permission to copy, distribute and modify it."
2343
cat >>$CONFIG_STATUS <<\_ACEOF
2344
# If no file are specified by the user, then we need to provide default
2345
# value. By we need to know if files were specified by the user.
2351
ac_option=`expr "x$1" : 'x\([^=]*\)='`
2352
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2360
*) # This is not an option, so the user has probably given explicit
2363
ac_need_defaults=false;;
2367
# Handling of the options.
2369
cat >>$CONFIG_STATUS <<\_ACEOF
1043
2370
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1044
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1045
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1046
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1047
echo "$CONFIG_STATUS generated by autoconf version 2.13"
1049
-help | --help | --hel | --he | --h)
1050
echo "\$ac_cs_usage"; exit 0 ;;
1051
*) echo "\$ac_cs_usage"; exit 1 ;;
1055
ac_given_srcdir=$srcdir
1056
ac_given_INSTALL="$INSTALL"
1058
trap 'rm -fr `echo "Makefile surfraw.conf surfraw.lsm surfraw surfraw.spec elvi/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1060
cat >> $CONFIG_STATUS <<EOF
1062
# Protect against being on the right side of a sed subst in config.status.
1063
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1064
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1068
s%@CFLAGS@%$CFLAGS%g
1069
s%@CPPFLAGS@%$CPPFLAGS%g
1070
s%@CXXFLAGS@%$CXXFLAGS%g
1071
s%@FFLAGS@%$FFLAGS%g
1073
s%@LDFLAGS@%$LDFLAGS%g
1075
s%@exec_prefix@%$exec_prefix%g
1076
s%@prefix@%$prefix%g
1077
s%@program_transform_name@%$program_transform_name%g
1078
s%@bindir@%$bindir%g
1079
s%@sbindir@%$sbindir%g
1080
s%@libexecdir@%$libexecdir%g
1081
s%@datadir@%$datadir%g
1082
s%@sysconfdir@%$sysconfdir%g
1083
s%@sharedstatedir@%$sharedstatedir%g
1084
s%@localstatedir@%$localstatedir%g
1085
s%@libdir@%$libdir%g
1086
s%@includedir@%$includedir%g
1087
s%@oldincludedir@%$oldincludedir%g
1088
s%@infodir@%$infodir%g
1089
s%@mandir@%$mandir%g
1090
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1091
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1092
s%@INSTALL_DATA@%$INSTALL_DATA%g
1093
s%@PACKAGE@%$PACKAGE%g
1094
s%@VERSION@%$VERSION%g
1095
s%@ACLOCAL@%$ACLOCAL%g
1096
s%@AUTOCONF@%$AUTOCONF%g
1097
s%@AUTOMAKE@%$AUTOMAKE%g
1098
s%@AUTOHEADER@%$AUTOHEADER%g
1099
s%@MAKEINFO@%$MAKEINFO%g
1100
s%@SET_MAKE@%$SET_MAKE%g
1101
s%@ISODATE@%$ISODATE%g
1103
s%@host_alias@%$host_alias%g
1104
s%@host_cpu@%$host_cpu%g
1105
s%@host_vendor@%$host_vendor%g
1106
s%@host_os@%$host_os%g
1107
s%@sr_text_browser@%$sr_text_browser%g
1108
s%@sr_graphical_browser@%$sr_graphical_browser%g
2372
--version | --vers* | -V )
2373
echo "$ac_cs_version"; exit 0 ;;
2375
# Conflict between --help and --header
2376
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
2377
Try \`$0 --help' for more information." >&5
2378
echo "$as_me: error: ambiguous option: $1
2379
Try \`$0 --help' for more information." >&2;}
2380
{ (exit 1); exit 1; }; };;
2381
--help | --hel | -h )
2382
echo "$ac_cs_usage"; exit 0 ;;
2383
--debug | --d* | -d )
2385
--file | --fil | --fi | --f )
2387
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2388
ac_need_defaults=false;;
2389
--header | --heade | --head | --hea )
2391
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2392
ac_need_defaults=false;;
2393
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2394
| -silent | --silent | --silen | --sile | --sil | --si | --s)
2398
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2399
Try \`$0 --help' for more information." >&5
2400
echo "$as_me: error: unrecognized option: $1
2401
Try \`$0 --help' for more information." >&2;}
2402
{ (exit 1); exit 1; }; } ;;
2404
*) ac_config_targets="$ac_config_targets $1" ;;
2410
ac_configure_extra_args=
2412
if $ac_cs_silent; then
2414
ac_configure_extra_args="$ac_configure_extra_args --silent"
2418
cat >>$CONFIG_STATUS <<_ACEOF
2419
if \$ac_cs_recheck; then
2420
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2421
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2430
cat >>$CONFIG_STATUS <<\_ACEOF
2431
for ac_config_target in $ac_config_targets
2433
case "$ac_config_target" in
2434
# Handling of arguments.
2435
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2436
"surfraw.conf" ) CONFIG_FILES="$CONFIG_FILES surfraw.conf" ;;
2437
"surfraw.lsm" ) CONFIG_FILES="$CONFIG_FILES surfraw.lsm" ;;
2438
"surfraw.spec" ) CONFIG_FILES="$CONFIG_FILES surfraw.spec" ;;
2439
"elvi/Makefile" ) CONFIG_FILES="$CONFIG_FILES elvi/Makefile" ;;
2440
"surfraw.1" ) CONFIG_FILES="$CONFIG_FILES surfraw.1" ;;
2441
"elvi.1sr" ) CONFIG_FILES="$CONFIG_FILES elvi.1sr" ;;
2442
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2443
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2444
{ (exit 1); exit 1; }; };;
2448
# If the user did not use the arguments to specify the items to instantiate,
2449
# then the envvar interface is used. Set only those that are not.
2450
# We use the long form for the default assignment because of an extremely
2451
# bizarre bug on SunOS 4.1.3.
2452
if $ac_need_defaults; then
2453
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2456
# Have a temporary directory for convenience. Make it in the build tree
2457
# simply because there is no reason to put it here, and in addition,
2458
# creating and moving files from /tmp can sometimes cause problems.
2459
# Create a temporary directory, and hook for its removal unless debugging.
2462
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2463
trap '{ (exit 1); exit 1; }' 1 2 13 15
2466
# Create a (secure) tmp directory for tmp files.
2469
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2470
test -n "$tmp" && test -d "$tmp"
2473
tmp=./confstat$$-$RANDOM
2474
(umask 077 && mkdir $tmp)
2477
echo "$me: cannot create a temporary directory in ." >&2
2478
{ (exit 1); exit 1; }
2483
cat >>$CONFIG_STATUS <<_ACEOF
2486
# CONFIG_FILES section.
2489
# No need to generate the scripts if there are no CONFIG_FILES.
2490
# This happens for instance when ./config.status config.h
2491
if test -n "\$CONFIG_FILES"; then
2492
# Protect against being on the right side of a sed subst in config.status.
2493
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2494
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2495
s,@SHELL@,$SHELL,;t t
2496
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2497
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2498
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2499
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2500
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2501
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2502
s,@exec_prefix@,$exec_prefix,;t t
2503
s,@prefix@,$prefix,;t t
2504
s,@program_transform_name@,$program_transform_name,;t t
2505
s,@bindir@,$bindir,;t t
2506
s,@sbindir@,$sbindir,;t t
2507
s,@libexecdir@,$libexecdir,;t t
2508
s,@datadir@,$datadir,;t t
2509
s,@sysconfdir@,$sysconfdir,;t t
2510
s,@sharedstatedir@,$sharedstatedir,;t t
2511
s,@localstatedir@,$localstatedir,;t t
2512
s,@libdir@,$libdir,;t t
2513
s,@includedir@,$includedir,;t t
2514
s,@oldincludedir@,$oldincludedir,;t t
2515
s,@infodir@,$infodir,;t t
2516
s,@mandir@,$mandir,;t t
2517
s,@build_alias@,$build_alias,;t t
2518
s,@host_alias@,$host_alias,;t t
2519
s,@target_alias@,$target_alias,;t t
2521
s,@ECHO_C@,$ECHO_C,;t t
2522
s,@ECHO_N@,$ECHO_N,;t t
2523
s,@ECHO_T@,$ECHO_T,;t t
2525
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2526
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2527
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2528
s,@CYGPATH_W@,$CYGPATH_W,;t t
2529
s,@PACKAGE@,$PACKAGE,;t t
2530
s,@VERSION@,$VERSION,;t t
2531
s,@ACLOCAL@,$ACLOCAL,;t t
2532
s,@AUTOCONF@,$AUTOCONF,;t t
2533
s,@AUTOMAKE@,$AUTOMAKE,;t t
2534
s,@AUTOHEADER@,$AUTOHEADER,;t t
2535
s,@MAKEINFO@,$MAKEINFO,;t t
2536
s,@AMTAR@,$AMTAR,;t t
2537
s,@install_sh@,$install_sh,;t t
2538
s,@STRIP@,$STRIP,;t t
2539
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2540
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2542
s,@SET_MAKE@,$SET_MAKE,;t t
2543
s,@am__leading_dot@,$am__leading_dot,;t t
2544
s,@ELVIDIR@,$ELVIDIR,;t t
2545
s,@ISODATE@,$ISODATE,;t t
2546
s,@build@,$build,;t t
2547
s,@build_cpu@,$build_cpu,;t t
2548
s,@build_vendor@,$build_vendor,;t t
2549
s,@build_os@,$build_os,;t t
2551
s,@host_cpu@,$host_cpu,;t t
2552
s,@host_vendor@,$host_vendor,;t t
2553
s,@host_os@,$host_os,;t t
2554
s,@sr_text_browser@,$sr_text_browser,;t t
2555
s,@sr_graphical_browser@,$sr_graphical_browser,;t t
2556
s,@LIBOBJS@,$LIBOBJS,;t t
2557
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1113
cat >> $CONFIG_STATUS <<\EOF
1115
# Split the substitutions into bite-sized pieces for seds with
1116
# small command number limits, like on Digital OSF/1 and HP-UX.
1117
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1118
ac_file=1 # Number of current file.
1119
ac_beg=1 # First line for current file.
1120
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1123
while $ac_more_lines; do
1124
if test $ac_beg -gt 1; then
1125
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1127
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1129
if test ! -s conftest.s$ac_file; then
1131
rm -f conftest.s$ac_file
1133
if test -z "$ac_sed_cmds"; then
1134
ac_sed_cmds="sed -f conftest.s$ac_file"
1136
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1138
ac_file=`expr $ac_file + 1`
1140
ac_end=`expr $ac_end + $ac_max_sed_cmds`
1143
if test -z "$ac_sed_cmds"; then
1148
cat >> $CONFIG_STATUS <<EOF
1150
CONFIG_FILES=\${CONFIG_FILES-"Makefile surfraw.conf surfraw.lsm surfraw surfraw.spec elvi/Makefile"}
1152
cat >> $CONFIG_STATUS <<\EOF
1153
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2562
cat >>$CONFIG_STATUS <<\_ACEOF
2563
# Split the substitutions into bite-sized pieces for seds with
2564
# small command number limits, like on Digital OSF/1 and HP-UX.
2566
ac_sed_frag=1 # Number of current file.
2567
ac_beg=1 # First line for current file.
2568
ac_end=$ac_max_sed_lines # Line after last line for current file.
2571
while $ac_more_lines; do
2572
if test $ac_beg -gt 1; then
2573
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2575
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2577
if test ! -s $tmp/subs.frag; then
2580
# The purpose of the label and of the branching condition is to
2581
# speed up the sed processing (if there are no `@' at all, there
2582
# is no need to browse any of the substitutions).
2583
# These are the two extra sed commands mentioned above.
2585
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2586
if test -z "$ac_sed_cmds"; then
2587
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2589
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2591
ac_sed_frag=`expr $ac_sed_frag + 1`
2593
ac_end=`expr $ac_end + $ac_max_sed_lines`
2596
if test -z "$ac_sed_cmds"; then
2599
fi # test -n "$CONFIG_FILES"
2602
cat >>$CONFIG_STATUS <<\_ACEOF
2603
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1154
2604
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1156
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1157
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1158
*) ac_file_in="${ac_file}.in" ;;
2606
- | *:- | *:-:* ) # input from stdin
2608
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2609
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2610
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2611
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2612
* ) ac_file_in=$ac_file.in ;;
1161
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1163
# Remove last slash and all that follows it. Not all systems have dirname.
1164
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1165
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1166
# The file is in a subdirectory.
1167
test ! -d "$ac_dir" && mkdir "$ac_dir"
1168
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1169
# A "../" for each directory in $ac_dir_suffix.
1170
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2615
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2616
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2617
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2618
X"$ac_file" : 'X\(//\)[^/]' \| \
2619
X"$ac_file" : 'X\(//\)$' \| \
2620
X"$ac_file" : 'X\(/\)' \| \
2621
. : '\(.\)' 2>/dev/null ||
2623
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2624
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2625
/^X\(\/\/\)$/{ s//\1/; q; }
2626
/^X\(\/\).*/{ s//\1/; q; }
2628
{ if $as_mkdir_p; then
1172
ac_dir_suffix= ac_dots=
1175
case "$ac_given_srcdir" in
1177
if test -z "$ac_dots"; then top_srcdir=.
1178
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1179
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2633
while test ! -d "$as_dir"; do
2634
as_dirs="$as_dir $as_dirs"
2635
as_dir=`(dirname "$as_dir") 2>/dev/null ||
2636
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2637
X"$as_dir" : 'X\(//\)[^/]' \| \
2638
X"$as_dir" : 'X\(//\)$' \| \
2639
X"$as_dir" : 'X\(/\)' \| \
2640
. : '\(.\)' 2>/dev/null ||
2642
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2643
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2644
/^X\(\/\/\)$/{ s//\1/; q; }
2645
/^X\(\/\).*/{ s//\1/; q; }
2648
test ! -n "$as_dirs" || mkdir $as_dirs
2649
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2650
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2651
{ (exit 1); exit 1; }; }; }
2655
if test "$ac_dir" != .; then
2656
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2657
# A "../" for each directory in $ac_dir_suffix.
2658
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2660
ac_dir_suffix= ac_top_builddir=
2664
.) # No --srcdir option. We are building in place.
2666
if test -z "$ac_top_builddir"; then
2669
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2671
[\\/]* | ?:[\\/]* ) # Absolute path.
2672
ac_srcdir=$srcdir$ac_dir_suffix;
2673
ac_top_srcdir=$srcdir ;;
1180
2674
*) # Relative path.
1181
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1182
top_srcdir="$ac_dots$ac_given_srcdir" ;;
1185
case "$ac_given_INSTALL" in
1186
[/$]*) INSTALL="$ac_given_INSTALL" ;;
1187
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1190
echo creating "$ac_file"
1192
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1194
*Makefile*) ac_comsub="1i\\
1195
# $configure_input" ;;
1199
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1201
s%@configure_input@%$configure_input%g
1202
s%@srcdir@%$srcdir%g
1203
s%@top_srcdir@%$top_srcdir%g
1204
s%@INSTALL@%$INSTALL%g
1205
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1210
cat >> $CONFIG_STATUS <<EOF
1213
cat >> $CONFIG_STATUS <<\EOF
2675
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2676
ac_top_srcdir=$ac_top_builddir$srcdir ;;
2679
# Do not use `cd foo && pwd` to compute absolute paths, because
2680
# the directories may not exist.
2682
.) ac_abs_builddir="$ac_dir";;
2685
.) ac_abs_builddir=`pwd`;;
2686
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2687
*) ac_abs_builddir=`pwd`/"$ac_dir";;
2690
case $ac_abs_builddir in
2691
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2693
case ${ac_top_builddir}. in
2694
.) ac_abs_top_builddir=$ac_abs_builddir;;
2695
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2696
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2699
case $ac_abs_builddir in
2700
.) ac_abs_srcdir=$ac_srcdir;;
2703
.) ac_abs_srcdir=$ac_abs_builddir;;
2704
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2705
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2708
case $ac_abs_builddir in
2709
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2711
case $ac_top_srcdir in
2712
.) ac_abs_top_srcdir=$ac_abs_builddir;;
2713
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2714
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2720
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2721
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2724
# Let's still pretend it is `configure' which instantiates (i.e., don't
2725
# use $as_me), people would be surprised to read:
2726
# /* config.h. Generated by config.status. */
2727
if test x"$ac_file" = x-; then
2730
configure_input="$ac_file. "
2732
configure_input=$configure_input"Generated from `echo $ac_file_in |
2733
sed 's,.*/,,'` by configure."
2735
# First look for the input files in the build tree, otherwise in the
2737
ac_file_inputs=`IFS=:
2738
for f in $ac_file_in; do
2740
-) echo $tmp/stdin ;;
2742
# Absolute (can't be DOS-style, as IFS=:)
2743
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2744
echo "$as_me: error: cannot find input file: $f" >&2;}
2745
{ (exit 1); exit 1; }; }
2748
if test -f "$f"; then
2751
elif test -f "$srcdir/$f"; then
2756
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2757
echo "$as_me: error: cannot find input file: $f" >&2;}
2758
{ (exit 1); exit 1; }; }
2761
done` || { (exit 1); exit 1; }
2763
if test x"$ac_file" != x-; then
2764
{ echo "$as_me:$LINENO: creating $ac_file" >&5
2765
echo "$as_me: creating $ac_file" >&6;}
2769
cat >>$CONFIG_STATUS <<_ACEOF
2773
cat >>$CONFIG_STATUS <<\_ACEOF
2775
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2776
s,@configure_input@,$configure_input,;t t
2777
s,@srcdir@,$ac_srcdir,;t t
2778
s,@abs_srcdir@,$ac_abs_srcdir,;t t
2779
s,@top_srcdir@,$ac_top_srcdir,;t t
2780
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2781
s,@builddir@,$ac_builddir,;t t
2782
s,@abs_builddir@,$ac_abs_builddir,;t t
2783
s,@top_builddir@,$ac_top_builddir,;t t
2784
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2785
s,@INSTALL@,$ac_INSTALL,;t t
2786
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2788
if test x"$ac_file" != x-; then
2789
mv $tmp/out $ac_file
2798
cat >>$CONFIG_STATUS <<\_ACEOF
2800
{ (exit 0); exit 0; }
1217
2802
chmod +x $CONFIG_STATUS
1218
rm -fr confdefs* $ac_clean_files
1219
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2803
ac_clean_files=$ac_clean_files_save
2806
# configure is writing to config.log, and then calls config.status.
2807
# config.status does its own redirection, appending to config.log.
2808
# Unfortunately, on DOS this fails, as config.log is still kept open
2809
# by configure, so config.status won't be able to write to it; its
2810
# output is simply discarded. So we exec the FD to /dev/null,
2811
# effectively closing config.log, so it can be properly (re)opened and
2812
# appended to by config.status. When coming back to configure, we
2813
# need to make the FD available again.
2814
if test "$no_create" != yes; then
2816
ac_config_status_args=
2817
test "$silent" = yes &&
2818
ac_config_status_args="$ac_config_status_args --quiet"
2820
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2822
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
2823
# would make configure fail if this is the last instruction.
2824
$ac_cs_success || { (exit 1); exit 1; }