~ubuntu-branches/ubuntu/trusty/surfraw/trusty-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Smith
  • Date: 2005-04-20 17:00:59 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050420170059-z7j6h1rsqfgfwhmg
Tags: 2.1.0-1
* Ian Beckwith <ianb@nessie.mcc.ac.uk>:
  + New elvi: dmoz, w3html, w3link, w3css, w3rdf.
  + New elvi: rae (by Ruben Pollan <meskio@terra.es>).
  + surfraw.IN:w3_url_escape: escaped `(' and `)'.
  + Fixed elvi (Thanks to Justin B. Rye):
      - sunsolve  (Closes: #289502).
      - altavista (Closes: #289503).
  + deblists: Updated list of debian mailing lists.
  + currency: Now a proper elvis.
  + Added appendix 2 to HACKING on preparing a release.
* Moritz Muehlenhoff <jmm@inutil.org>:
  + Switch rhymes search from Lycos to Rhymezone (by Justin B Rye)
    (Closes: #289498)
  + Fix BBC News search (by Justin B Rye) (Closes: #289499)
  + New elvi by by Justin B Rye (Closes: #290032)
    - cia      Search for CIA documents
    - deblogs  Debian changelogs
    - etym     Search for word origins
    - foldoc   Free online dictionary of computing
  + New cve elvis for CAN assignment searches
  + Rewrite debian/copyright properly

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
 
3
2
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated automatically using autoconf version 2.13 
5
 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.59 for surfraw 2.1.0.
6
4
#
 
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
6
# This configure script is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy, distribute and modify it.
9
 
 
10
 
# Defaults:
11
 
ac_help=
 
8
## --------------------- ##
 
9
## M4sh Initialization.  ##
 
10
## --------------------- ##
 
11
 
 
12
# Be Bourne compatible
 
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
14
  emulate sh
 
15
  NULLCMD=:
 
16
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
17
  # is contrary to our usage.  Disable this feature.
 
18
  alias -g '${1+"$@"}'='"$@"'
 
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 
20
  set -o posix
 
21
fi
 
22
DUALCASE=1; export DUALCASE # for MKS sh
 
23
 
 
24
# Support unset when possible.
 
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
26
  as_unset=unset
 
27
else
 
28
  as_unset=false
 
29
fi
 
30
 
 
31
 
 
32
# Work around bugs in pre-3.0 UWIN ksh.
 
33
$as_unset ENV MAIL MAILPATH
 
34
PS1='$ '
 
35
PS2='> '
 
36
PS4='+ '
 
37
 
 
38
# NLS nuisances.
 
39
for as_var in \
 
40
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 
41
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 
42
  LC_TELEPHONE LC_TIME
 
43
do
 
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
45
    eval $as_var=C; export $as_var
 
46
  else
 
47
    $as_unset $as_var
 
48
  fi
 
49
done
 
50
 
 
51
# Required to use basename.
 
52
if expr a : '\(a\)' >/dev/null 2>&1; then
 
53
  as_expr=expr
 
54
else
 
55
  as_expr=false
 
56
fi
 
57
 
 
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
59
  as_basename=basename
 
60
else
 
61
  as_basename=false
 
62
fi
 
63
 
 
64
 
 
65
# Name of the executable.
 
66
as_me=`$as_basename "$0" ||
 
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
68
         X"$0" : 'X\(//\)$' \| \
 
69
         X"$0" : 'X\(/\)$' \| \
 
70
         .     : '\(.\)' 2>/dev/null ||
 
71
echo X/"$0" |
 
72
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
73
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
74
          /^X\/\(\/\).*/{ s//\1/; q; }
 
75
          s/.*/./; q'`
 
76
 
 
77
 
 
78
# PATH needs CR, and LINENO needs CR and PATH.
 
79
# Avoid depending upon Character Ranges.
 
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
83
as_cr_digits='0123456789'
 
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
85
 
 
86
# The user is always right.
 
87
if test "${PATH_SEPARATOR+set}" != set; then
 
88
  echo "#! /bin/sh" >conf$$.sh
 
89
  echo  "exit 0"   >>conf$$.sh
 
90
  chmod +x conf$$.sh
 
91
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
92
    PATH_SEPARATOR=';'
 
93
  else
 
94
    PATH_SEPARATOR=:
 
95
  fi
 
96
  rm -f conf$$.sh
 
97
fi
 
98
 
 
99
 
 
100
  as_lineno_1=$LINENO
 
101
  as_lineno_2=$LINENO
 
102
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
103
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
104
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 
105
  # Find who we are.  Look in the path if we contain no path at all
 
106
  # relative or not.
 
107
  case $0 in
 
108
    *[\\/]* ) as_myself=$0 ;;
 
109
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
110
for as_dir in $PATH
 
111
do
 
112
  IFS=$as_save_IFS
 
113
  test -z "$as_dir" && as_dir=.
 
114
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
115
done
 
116
 
 
117
       ;;
 
118
  esac
 
119
  # We did not find ourselves, most probably we were run as `sh COMMAND'
 
120
  # in which case we are not to be found in the path.
 
121
  if test "x$as_myself" = x; then
 
122
    as_myself=$0
 
123
  fi
 
124
  if test ! -f "$as_myself"; then
 
125
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
 
126
   { (exit 1); exit 1; }; }
 
127
  fi
 
128
  case $CONFIG_SHELL in
 
129
  '')
 
130
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
132
do
 
133
  IFS=$as_save_IFS
 
134
  test -z "$as_dir" && as_dir=.
 
135
  for as_base in sh bash ksh sh5; do
 
136
         case $as_dir in
 
137
         /*)
 
138
           if ("$as_dir/$as_base" -c '
 
139
  as_lineno_1=$LINENO
 
140
  as_lineno_2=$LINENO
 
141
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 
142
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
143
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 
144
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 
145
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 
146
             CONFIG_SHELL=$as_dir/$as_base
 
147
             export CONFIG_SHELL
 
148
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
149
           fi;;
 
150
         esac
 
151
       done
 
152
done
 
153
;;
 
154
  esac
 
155
 
 
156
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 
157
  # uniformly replaced by the line number.  The first 'sed' inserts a
 
158
  # line-number line before each line; the second 'sed' does the real
 
159
  # work.  The second script uses 'N' to pair each line-number line
 
160
  # with the numbered line, and appends trailing '-' during
 
161
  # substitution so that $LINENO is not a special case at line end.
 
162
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 
163
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 
164
  sed '=' <$as_myself |
 
165
    sed '
 
166
      N
 
167
      s,$,-,
 
168
      : loop
 
169
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
170
      t loop
 
171
      s,-$,,
 
172
      s,^['$as_cr_digits']*\n,,
 
173
    ' >$as_me.lineno &&
 
174
  chmod +x $as_me.lineno ||
 
175
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
176
   { (exit 1); exit 1; }; }
 
177
 
 
178
  # Don't try to exec as it changes $[0], causing all sort of problems
 
179
  # (the dirname of $[0] is not the place where we might find the
 
180
  # original and so on.  Autoconf is especially sensible to this).
 
181
  . ./$as_me.lineno
 
182
  # Exit status is that of the last command.
 
183
  exit
 
184
}
 
185
 
 
186
 
 
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
188
  *c*,-n*) ECHO_N= ECHO_C='
 
189
' ECHO_T='      ' ;;
 
190
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
191
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
192
esac
 
193
 
 
194
if expr a : '\(a\)' >/dev/null 2>&1; then
 
195
  as_expr=expr
 
196
else
 
197
  as_expr=false
 
198
fi
 
199
 
 
200
rm -f conf$$ conf$$.exe conf$$.file
 
201
echo >conf$$.file
 
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
 
203
  # We could just check for DJGPP; but this test a) works b) is more generic
 
204
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 
205
  if test -f conf$$.exe; then
 
206
    # Don't use ln at all; we don't have any links
 
207
    as_ln_s='cp -p'
 
208
  else
 
209
    as_ln_s='ln -s'
 
210
  fi
 
211
elif ln conf$$.file conf$$ 2>/dev/null; then
 
212
  as_ln_s=ln
 
213
else
 
214
  as_ln_s='cp -p'
 
215
fi
 
216
rm -f conf$$ conf$$.exe conf$$.file
 
217
 
 
218
if mkdir -p . 2>/dev/null; then
 
219
  as_mkdir_p=:
 
220
else
 
221
  test -d ./-p && rmdir ./-p
 
222
  as_mkdir_p=false
 
223
fi
 
224
 
 
225
as_executable_p="test -f"
 
226
 
 
227
# Sed expression to map a string onto a valid CPP name.
 
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
229
 
 
230
# Sed expression to map a string onto a valid variable name.
 
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
232
 
 
233
 
 
234
# IFS
 
235
# We need space, tab and new line, in precisely that order.
 
236
as_nl='
 
237
'
 
238
IFS="   $as_nl"
 
239
 
 
240
# CDPATH.
 
241
$as_unset CDPATH
 
242
 
 
243
 
 
244
# Name of the host.
 
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
246
# so uname gets run too.
 
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
248
 
 
249
exec 6>&1
 
250
 
 
251
#
 
252
# Initializations.
 
253
#
12
254
ac_default_prefix=/usr/local
13
 
# Any additions from configure.in:
 
255
ac_config_libobj_dir=.
 
256
cross_compiling=no
 
257
subdirs=
 
258
MFLAGS=
 
259
MAKEFLAGS=
 
260
SHELL=${CONFIG_SHELL-/bin/sh}
 
261
 
 
262
# Maximum number of lines to put in a shell here document.
 
263
# This variable seems obsolete.  It should probably be removed, and
 
264
# only ac_max_sed_lines should be used.
 
265
: ${ac_max_here_lines=38}
 
266
 
 
267
# Identity of this package.
 
268
PACKAGE_NAME='surfraw'
 
269
PACKAGE_TARNAME='surfraw'
 
270
PACKAGE_VERSION='2.1.0'
 
271
PACKAGE_STRING='surfraw 2.1.0'
 
272
PACKAGE_BUGREPORT=''
 
273
 
 
274
ac_unique_file="surfraw.IN"
 
275
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot ELVIDIR ISODATE build build_cpu build_vendor build_os host host_cpu host_vendor host_os sr_text_browser sr_graphical_browser LIBOBJS LTLIBOBJS'
 
276
ac_subst_files=''
14
277
 
15
278
# Initialize some variables set by options.
 
279
ac_init_help=
 
280
ac_init_version=false
16
281
# The variables have the same names as the options, with
17
282
# dashes changed to underlines.
18
 
build=NONE
19
 
cache_file=./config.cache
 
283
cache_file=/dev/null
20
284
exec_prefix=NONE
21
 
host=NONE
22
285
no_create=
23
 
nonopt=NONE
24
286
no_recursion=
25
287
prefix=NONE
26
288
program_prefix=NONE
29
291
silent=
30
292
site=
31
293
srcdir=
32
 
target=NONE
33
294
verbose=
34
295
x_includes=NONE
35
296
x_libraries=NONE
 
297
 
 
298
# Installation directory options.
 
299
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
300
# and all the variables that are supposed to be based on exec_prefix
 
301
# by default will actually change.
 
302
# Use braces instead of parens because sh, perl, etc. also accept them.
36
303
bindir='${exec_prefix}/bin'
37
304
sbindir='${exec_prefix}/sbin'
38
305
libexecdir='${exec_prefix}/libexec'
46
313
infodir='${prefix}/info'
47
314
mandir='${prefix}/man'
48
315
 
49
 
# Initialize some other variables.
50
 
subdirs=
51
 
MFLAGS= MAKEFLAGS=
52
 
SHELL=${CONFIG_SHELL-/bin/sh}
53
 
# Maximum number of lines to put in a shell here document.
54
 
ac_max_here_lines=12
55
 
 
56
316
ac_prev=
57
317
for ac_option
58
318
do
59
 
 
60
319
  # If the previous option needs an argument, assign it.
61
320
  if test -n "$ac_prev"; then
62
321
    eval "$ac_prev=\$ac_option"
64
323
    continue
65
324
  fi
66
325
 
67
 
  case "$ac_option" in
68
 
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
69
 
  *) ac_optarg= ;;
70
 
  esac
 
326
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
71
327
 
72
328
  # Accept the important Cygnus configure options, so we can diagnose typos.
73
329
 
74
 
  case "$ac_option" in
 
330
  case $ac_option in
75
331
 
76
332
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
77
333
    ac_prev=bindir ;;
78
334
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
79
 
    bindir="$ac_optarg" ;;
 
335
    bindir=$ac_optarg ;;
80
336
 
81
337
  -build | --build | --buil | --bui | --bu)
82
 
    ac_prev=build ;;
 
338
    ac_prev=build_alias ;;
83
339
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
84
 
    build="$ac_optarg" ;;
 
340
    build_alias=$ac_optarg ;;
85
341
 
86
342
  -cache-file | --cache-file | --cache-fil | --cache-fi \
87
343
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
88
344
    ac_prev=cache_file ;;
89
345
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
90
346
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
91
 
    cache_file="$ac_optarg" ;;
 
347
    cache_file=$ac_optarg ;;
 
348
 
 
349
  --config-cache | -C)
 
350
    cache_file=config.cache ;;
92
351
 
93
352
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
94
353
    ac_prev=datadir ;;
95
354
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
96
355
  | --da=*)
97
 
    datadir="$ac_optarg" ;;
 
356
    datadir=$ac_optarg ;;
98
357
 
99
358
  -disable-* | --disable-*)
100
 
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
 
359
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
101
360
    # Reject names that are not valid shell variable names.
102
 
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
103
 
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
104
 
    fi
105
 
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
106
 
    eval "enable_${ac_feature}=no" ;;
 
361
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
362
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
363
   { (exit 1); exit 1; }; }
 
364
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
365
    eval "enable_$ac_feature=no" ;;
107
366
 
108
367
  -enable-* | --enable-*)
109
 
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
 
368
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
110
369
    # Reject names that are not valid shell variable names.
111
 
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
112
 
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
113
 
    fi
114
 
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
115
 
    case "$ac_option" in
116
 
      *=*) ;;
 
370
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
371
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
372
   { (exit 1); exit 1; }; }
 
373
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
374
    case $ac_option in
 
375
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
117
376
      *) ac_optarg=yes ;;
118
377
    esac
119
 
    eval "enable_${ac_feature}='$ac_optarg'" ;;
 
378
    eval "enable_$ac_feature='$ac_optarg'" ;;
120
379
 
121
380
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
122
381
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
125
384
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
126
385
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
127
386
  | --exec=* | --exe=* | --ex=*)
128
 
    exec_prefix="$ac_optarg" ;;
 
387
    exec_prefix=$ac_optarg ;;
129
388
 
130
389
  -gas | --gas | --ga | --g)
131
390
    # Obsolete; use --with-gas.
132
391
    with_gas=yes ;;
133
392
 
134
 
  -help | --help | --hel | --he)
135
 
    # Omit some internal or obsolete options to make the list less imposing.
136
 
    # This message is too long to be a string in the A/UX 3.1 sh.
137
 
    cat << EOF
138
 
Usage: configure [options] [host]
139
 
Options: [defaults in brackets after descriptions]
140
 
Configuration:
141
 
  --cache-file=FILE       cache test results in FILE
142
 
  --help                  print this message
143
 
  --no-create             do not create output files
144
 
  --quiet, --silent       do not print \`checking...' messages
145
 
  --version               print the version of autoconf that created configure
146
 
Directory and file names:
147
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
148
 
                          [$ac_default_prefix]
149
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
150
 
                          [same as prefix]
151
 
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
152
 
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
153
 
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
154
 
  --datadir=DIR           read-only architecture-independent data in DIR
155
 
                          [PREFIX/share]
156
 
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
157
 
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
158
 
                          [PREFIX/com]
159
 
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
160
 
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
161
 
  --includedir=DIR        C header files in DIR [PREFIX/include]
162
 
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
163
 
  --infodir=DIR           info documentation in DIR [PREFIX/info]
164
 
  --mandir=DIR            man documentation in DIR [PREFIX/man]
165
 
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
166
 
  --program-prefix=PREFIX prepend PREFIX to installed program names
167
 
  --program-suffix=SUFFIX append SUFFIX to installed program names
168
 
  --program-transform-name=PROGRAM
169
 
                          run sed PROGRAM on installed program names
170
 
EOF
171
 
    cat << EOF
172
 
Host type:
173
 
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
174
 
  --host=HOST             configure for HOST [guessed]
175
 
  --target=TARGET         configure for TARGET [TARGET=HOST]
176
 
Features and packages:
177
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
178
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
179
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
180
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
181
 
  --x-includes=DIR        X include files are in DIR
182
 
  --x-libraries=DIR       X library files are in DIR
183
 
EOF
184
 
    if test -n "$ac_help"; then
185
 
      echo "--enable and --with options recognized:$ac_help"
186
 
    fi
187
 
    exit 0 ;;
 
393
  -help | --help | --hel | --he | -h)
 
394
    ac_init_help=long ;;
 
395
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
396
    ac_init_help=recursive ;;
 
397
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
398
    ac_init_help=short ;;
188
399
 
189
400
  -host | --host | --hos | --ho)
190
 
    ac_prev=host ;;
 
401
    ac_prev=host_alias ;;
191
402
  -host=* | --host=* | --hos=* | --ho=*)
192
 
    host="$ac_optarg" ;;
 
403
    host_alias=$ac_optarg ;;
193
404
 
194
405
  -includedir | --includedir | --includedi | --included | --include \
195
406
  | --includ | --inclu | --incl | --inc)
196
407
    ac_prev=includedir ;;
197
408
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
198
409
  | --includ=* | --inclu=* | --incl=* | --inc=*)
199
 
    includedir="$ac_optarg" ;;
 
410
    includedir=$ac_optarg ;;
200
411
 
201
412
  -infodir | --infodir | --infodi | --infod | --info | --inf)
202
413
    ac_prev=infodir ;;
203
414
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
204
 
    infodir="$ac_optarg" ;;
 
415
    infodir=$ac_optarg ;;
205
416
 
206
417
  -libdir | --libdir | --libdi | --libd)
207
418
    ac_prev=libdir ;;
208
419
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
209
 
    libdir="$ac_optarg" ;;
 
420
    libdir=$ac_optarg ;;
210
421
 
211
422
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
212
423
  | --libexe | --libex | --libe)
213
424
    ac_prev=libexecdir ;;
214
425
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
215
426
  | --libexe=* | --libex=* | --libe=*)
216
 
    libexecdir="$ac_optarg" ;;
 
427
    libexecdir=$ac_optarg ;;
217
428
 
218
429
  -localstatedir | --localstatedir | --localstatedi | --localstated \
219
430
  | --localstate | --localstat | --localsta | --localst \
222
433
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
223
434
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
224
435
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
225
 
    localstatedir="$ac_optarg" ;;
 
436
    localstatedir=$ac_optarg ;;
226
437
 
227
438
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
228
439
    ac_prev=mandir ;;
229
440
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
230
 
    mandir="$ac_optarg" ;;
 
441
    mandir=$ac_optarg ;;
231
442
 
232
443
  -nfp | --nfp | --nf)
233
444
    # Obsolete; use --without-fp.
234
445
    with_fp=no ;;
235
446
 
236
447
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
237
 
  | --no-cr | --no-c)
 
448
  | --no-cr | --no-c | -n)
238
449
    no_create=yes ;;
239
450
 
240
451
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
248
459
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
249
460
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
250
461
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
251
 
    oldincludedir="$ac_optarg" ;;
 
462
    oldincludedir=$ac_optarg ;;
252
463
 
253
464
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
254
465
    ac_prev=prefix ;;
255
466
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
256
 
    prefix="$ac_optarg" ;;
 
467
    prefix=$ac_optarg ;;
257
468
 
258
469
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
259
470
  | --program-pre | --program-pr | --program-p)
260
471
    ac_prev=program_prefix ;;
261
472
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
262
473
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
263
 
    program_prefix="$ac_optarg" ;;
 
474
    program_prefix=$ac_optarg ;;
264
475
 
265
476
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
266
477
  | --program-suf | --program-su | --program-s)
267
478
    ac_prev=program_suffix ;;
268
479
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
269
480
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
270
 
    program_suffix="$ac_optarg" ;;
 
481
    program_suffix=$ac_optarg ;;
271
482
 
272
483
  -program-transform-name | --program-transform-name \
273
484
  | --program-transform-nam | --program-transform-na \
284
495
  | --program-transfo=* | --program-transf=* \
285
496
  | --program-trans=* | --program-tran=* \
286
497
  | --progr-tra=* | --program-tr=* | --program-t=*)
287
 
    program_transform_name="$ac_optarg" ;;
 
498
    program_transform_name=$ac_optarg ;;
288
499
 
289
500
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
290
501
  | -silent | --silent | --silen | --sile | --sil)
294
505
    ac_prev=sbindir ;;
295
506
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
296
507
  | --sbi=* | --sb=*)
297
 
    sbindir="$ac_optarg" ;;
 
508
    sbindir=$ac_optarg ;;
298
509
 
299
510
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
300
511
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
305
516
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
306
517
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
307
518
  | --sha=* | --sh=*)
308
 
    sharedstatedir="$ac_optarg" ;;
 
519
    sharedstatedir=$ac_optarg ;;
309
520
 
310
521
  -site | --site | --sit)
311
522
    ac_prev=site ;;
312
523
  -site=* | --site=* | --sit=*)
313
 
    site="$ac_optarg" ;;
 
524
    site=$ac_optarg ;;
314
525
 
315
526
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
316
527
    ac_prev=srcdir ;;
317
528
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
318
 
    srcdir="$ac_optarg" ;;
 
529
    srcdir=$ac_optarg ;;
319
530
 
320
531
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
321
532
  | --syscon | --sysco | --sysc | --sys | --sy)
322
533
    ac_prev=sysconfdir ;;
323
534
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
324
535
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
325
 
    sysconfdir="$ac_optarg" ;;
 
536
    sysconfdir=$ac_optarg ;;
326
537
 
327
538
  -target | --target | --targe | --targ | --tar | --ta | --t)
328
 
    ac_prev=target ;;
 
539
    ac_prev=target_alias ;;
329
540
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
330
 
    target="$ac_optarg" ;;
 
541
    target_alias=$ac_optarg ;;
331
542
 
332
543
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
333
544
    verbose=yes ;;
334
545
 
335
 
  -version | --version | --versio | --versi | --vers)
336
 
    echo "configure generated by autoconf version 2.13"
337
 
    exit 0 ;;
 
546
  -version | --version | --versio | --versi | --vers | -V)
 
547
    ac_init_version=: ;;
338
548
 
339
549
  -with-* | --with-*)
340
 
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
 
550
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
341
551
    # Reject names that are not valid shell variable names.
342
 
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
343
 
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
344
 
    fi
 
552
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
553
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
554
   { (exit 1); exit 1; }; }
345
555
    ac_package=`echo $ac_package| sed 's/-/_/g'`
346
 
    case "$ac_option" in
347
 
      *=*) ;;
 
556
    case $ac_option in
 
557
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
348
558
      *) ac_optarg=yes ;;
349
559
    esac
350
 
    eval "with_${ac_package}='$ac_optarg'" ;;
 
560
    eval "with_$ac_package='$ac_optarg'" ;;
351
561
 
352
562
  -without-* | --without-*)
353
 
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
 
563
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
354
564
    # Reject names that are not valid shell variable names.
355
 
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
356
 
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
357
 
    fi
358
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
359
 
    eval "with_${ac_package}=no" ;;
 
565
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
566
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
567
   { (exit 1); exit 1; }; }
 
568
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
569
    eval "with_$ac_package=no" ;;
360
570
 
361
571
  --x)
362
572
    # Obsolete; use --with-x.
367
577
    ac_prev=x_includes ;;
368
578
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
369
579
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
370
 
    x_includes="$ac_optarg" ;;
 
580
    x_includes=$ac_optarg ;;
371
581
 
372
582
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
373
583
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
374
584
    ac_prev=x_libraries ;;
375
585
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
376
586
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
377
 
    x_libraries="$ac_optarg" ;;
 
587
    x_libraries=$ac_optarg ;;
378
588
 
379
 
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
 
589
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
590
Try \`$0 --help' for more information." >&2
 
591
   { (exit 1); exit 1; }; }
380
592
    ;;
381
593
 
 
594
  *=*)
 
595
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
596
    # Reject names that are not valid shell variable names.
 
597
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 
598
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
599
   { (exit 1); exit 1; }; }
 
600
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
 
601
    eval "$ac_envvar='$ac_optarg'"
 
602
    export $ac_envvar ;;
 
603
 
382
604
  *)
383
 
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
384
 
      echo "configure: warning: $ac_option: invalid host type" 1>&2
385
 
    fi
386
 
    if test "x$nonopt" != xNONE; then
387
 
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
388
 
    fi
389
 
    nonopt="$ac_option"
 
605
    # FIXME: should be removed in autoconf 3.0.
 
606
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
607
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
608
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
609
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
390
610
    ;;
391
611
 
392
612
  esac
393
613
done
394
614
 
395
615
if test -n "$ac_prev"; then
396
 
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
397
 
fi
398
 
 
399
 
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
400
 
 
401
 
# File descriptor usage:
402
 
# 0 standard input
403
 
# 1 file creation
404
 
# 2 errors and warnings
405
 
# 3 some systems may open it to /dev/tty
406
 
# 4 used on the Kubota Titan
407
 
# 6 checking for... messages and results
408
 
# 5 compiler messages saved in config.log
409
 
if test "$silent" = yes; then
410
 
  exec 6>/dev/null
411
 
else
412
 
  exec 6>&1
413
 
fi
414
 
exec 5>./config.log
415
 
 
416
 
echo "\
417
 
This file contains any messages produced by compilers while
418
 
running configure, to aid debugging if configure makes a mistake.
419
 
" 1>&5
420
 
 
421
 
# Strip out --no-create and --no-recursion so they do not pile up.
422
 
# Also quote any args containing shell metacharacters.
423
 
ac_configure_args=
424
 
for ac_arg
425
 
do
426
 
  case "$ac_arg" in
427
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
428
 
  | --no-cr | --no-c) ;;
429
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
430
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
431
 
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
432
 
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
433
 
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
434
 
  esac
435
 
done
436
 
 
437
 
# NLS nuisances.
438
 
# Only set these to C if already set.  These must not be set unconditionally
439
 
# because not all systems understand e.g. LANG=C (notably SCO).
440
 
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
441
 
# Non-C LC_CTYPE values break the ctype check.
442
 
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
443
 
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
444
 
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
445
 
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
446
 
 
447
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
448
 
rm -rf conftest* confdefs.h
449
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
450
 
echo > confdefs.h
451
 
 
452
 
# A filename unique to this package, relative to the directory that
453
 
# configure is in, which we can look for to find out if srcdir is correct.
454
 
ac_unique_file=surfraw.in
 
616
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
617
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
618
   { (exit 1); exit 1; }; }
 
619
fi
 
620
 
 
621
# Be sure to have absolute paths.
 
622
for ac_var in exec_prefix prefix
 
623
do
 
624
  eval ac_val=$`echo $ac_var`
 
625
  case $ac_val in
 
626
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
 
627
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
628
   { (exit 1); exit 1; }; };;
 
629
  esac
 
630
done
 
631
 
 
632
# Be sure to have absolute paths.
 
633
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
 
634
              localstatedir libdir includedir oldincludedir infodir mandir
 
635
do
 
636
  eval ac_val=$`echo $ac_var`
 
637
  case $ac_val in
 
638
    [\\/$]* | ?:[\\/]* ) ;;
 
639
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
640
   { (exit 1); exit 1; }; };;
 
641
  esac
 
642
done
 
643
 
 
644
# There might be people who depend on the old broken behavior: `$host'
 
645
# used to hold the argument of --host etc.
 
646
# FIXME: To remove some day.
 
647
build=$build_alias
 
648
host=$host_alias
 
649
target=$target_alias
 
650
 
 
651
# FIXME: To remove some day.
 
652
if test "x$host_alias" != x; then
 
653
  if test "x$build_alias" = x; then
 
654
    cross_compiling=maybe
 
655
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
656
    If a cross compiler is detected then cross compile mode will be used." >&2
 
657
  elif test "x$build_alias" != "x$host_alias"; then
 
658
    cross_compiling=yes
 
659
  fi
 
660
fi
 
661
 
 
662
ac_tool_prefix=
 
663
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
664
 
 
665
test "$silent" = yes && exec 6>/dev/null
 
666
 
455
667
 
456
668
# Find the source files, if location was not specified.
457
669
if test -z "$srcdir"; then
458
670
  ac_srcdir_defaulted=yes
459
671
  # Try the directory containing this script, then its parent.
460
 
  ac_prog=$0
461
 
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
462
 
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
 
672
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
673
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
674
         X"$0" : 'X\(//\)[^/]' \| \
 
675
         X"$0" : 'X\(//\)$' \| \
 
676
         X"$0" : 'X\(/\)' \| \
 
677
         .     : '\(.\)' 2>/dev/null ||
 
678
echo X"$0" |
 
679
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
680
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
681
          /^X\(\/\/\)$/{ s//\1/; q; }
 
682
          /^X\(\/\).*/{ s//\1/; q; }
 
683
          s/.*/./; q'`
463
684
  srcdir=$ac_confdir
464
685
  if test ! -r $srcdir/$ac_unique_file; then
465
686
    srcdir=..
469
690
fi
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; }; }
473
695
  else
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; }; }
475
698
  fi
476
699
fi
477
 
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
478
 
 
 
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
 
716
 
 
717
#
 
718
# Report the --help message.
 
719
#
 
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.
 
723
  cat <<_ACEOF
 
724
\`configure' configures surfraw 2.1.0 to adapt to many kinds of systems.
 
725
 
 
726
Usage: $0 [OPTION]... [VAR=VALUE]...
 
727
 
 
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.
 
730
 
 
731
Defaults for the options are specified in brackets.
 
732
 
 
733
Configuration:
 
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 \`..']
 
743
 
 
744
_ACEOF
 
745
 
 
746
  cat <<_ACEOF
 
747
Installation directories:
 
748
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
749
                          [$ac_default_prefix]
 
750
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
751
                          [PREFIX]
 
752
 
 
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'.
 
757
 
 
758
For better control, use the options below.
 
759
 
 
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]
 
773
_ACEOF
 
774
 
 
775
  cat <<\_ACEOF
 
776
 
 
777
Program names:
 
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
 
781
 
 
782
System types:
 
783
  --build=BUILD     configure for building on BUILD [guessed]
 
784
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
785
_ACEOF
 
786
fi
 
787
 
 
788
if test -n "$ac_init_help"; then
 
789
  case $ac_init_help in
 
790
     short | recursive ) echo "Configuration of surfraw 2.1.0:";;
 
791
   esac
 
792
  cat <<\_ACEOF
 
793
 
 
794
Optional Packages:
 
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
 
798
 
 
799
_ACEOF
 
800
fi
 
801
 
 
802
if test "$ac_init_help" = "recursive"; then
 
803
  # If there are subdirs, report their specific --help.
 
804
  ac_popdir=`pwd`
 
805
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
806
    test -d $ac_dir || continue
 
807
    ac_builddir=.
 
808
 
 
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'`
 
813
else
 
814
  ac_dir_suffix= ac_top_builddir=
 
815
fi
 
816
 
 
817
case $srcdir in
 
818
  .)  # No --srcdir option.  We are building in place.
 
819
    ac_srcdir=.
 
820
    if test -z "$ac_top_builddir"; then
 
821
       ac_top_srcdir=.
 
822
    else
 
823
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
824
    fi ;;
 
825
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
826
    ac_srcdir=$srcdir$ac_dir_suffix;
 
827
    ac_top_srcdir=$srcdir ;;
 
828
  *) # Relative path.
 
829
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
830
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
831
esac
 
832
 
 
833
# Do not use `cd foo && pwd` to compute absolute paths, because
 
834
# the directories may not exist.
 
835
case `pwd` in
 
836
.) ac_abs_builddir="$ac_dir";;
 
837
*)
 
838
  case "$ac_dir" in
 
839
  .) ac_abs_builddir=`pwd`;;
 
840
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
841
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
842
  esac;;
 
843
esac
 
844
case $ac_abs_builddir in
 
845
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
846
*)
 
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}.;;
 
851
  esac;;
 
852
esac
 
853
case $ac_abs_builddir in
 
854
.) ac_abs_srcdir=$ac_srcdir;;
 
855
*)
 
856
  case $ac_srcdir in
 
857
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
858
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
859
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
860
  esac;;
 
861
esac
 
862
case $ac_abs_builddir in
 
863
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
864
*)
 
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;;
 
869
  esac;;
 
870
esac
 
871
 
 
872
    cd $ac_dir
 
873
    # Check for guested configure; otherwise get Cygnus style configure.
 
874
    if test -f $ac_srcdir/configure.gnu; then
 
875
      echo
 
876
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
 
877
    elif test -f $ac_srcdir/configure; then
 
878
      echo
 
879
      $SHELL $ac_srcdir/configure  --help=recursive
 
880
    elif test -f $ac_srcdir/configure.ac ||
 
881
           test -f $ac_srcdir/configure.in; then
 
882
      echo
 
883
      $ac_configure --help
 
884
    else
 
885
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
886
    fi
 
887
    cd "$ac_popdir"
 
888
  done
 
889
fi
 
890
 
 
891
test -n "$ac_init_help" && exit 0
 
892
if $ac_init_version; then
 
893
  cat <<\_ACEOF
 
894
surfraw configure 2.1.0
 
895
generated by GNU Autoconf 2.59
 
896
 
 
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.
 
900
_ACEOF
 
901
  exit 0
 
902
fi
 
903
exec 5>config.log
 
904
cat >&5 <<_ACEOF
 
905
This file contains any messages produced by compilers while
 
906
running configure, to aid debugging if configure makes a mistake.
 
907
 
 
908
It was created by surfraw $as_me 2.1.0, which was
 
909
generated by GNU Autoconf 2.59.  Invocation command line was
 
910
 
 
911
  $ $0 $@
 
912
 
 
913
_ACEOF
 
914
{
 
915
cat <<_ASUNAME
 
916
## --------- ##
 
917
## Platform. ##
 
918
## --------- ##
 
919
 
 
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`
 
925
 
 
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`
 
928
 
 
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`
 
936
 
 
937
_ASUNAME
 
938
 
 
939
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
940
for as_dir in $PATH
 
941
do
 
942
  IFS=$as_save_IFS
 
943
  test -z "$as_dir" && as_dir=.
 
944
  echo "PATH: $as_dir"
 
945
done
 
946
 
 
947
} >&5
 
948
 
 
949
cat >&5 <<_ACEOF
 
950
 
 
951
 
 
952
## ----------- ##
 
953
## Core tests. ##
 
954
## ----------- ##
 
955
 
 
956
_ACEOF
 
957
 
 
958
 
 
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.
 
964
ac_configure_args=
 
965
ac_configure_args0=
 
966
ac_configure_args1=
 
967
ac_sep=
 
968
ac_must_keep_next=false
 
969
for ac_pass in 1 2
 
970
do
 
971
  for ac_arg
 
972
  do
 
973
    case $ac_arg in
 
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)
 
977
      continue ;;
 
978
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
979
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
980
    esac
 
981
    case $ac_pass in
 
982
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
983
    2)
 
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.
 
987
      else
 
988
        case $ac_arg in
 
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 ;;
 
995
            esac
 
996
            ;;
 
997
          -* ) ac_must_keep_next=true ;;
 
998
        esac
 
999
      fi
 
1000
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
1001
      # Get rid of the leading space.
 
1002
      ac_sep=" "
 
1003
      ;;
 
1004
    esac
 
1005
  done
 
1006
done
 
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; }
 
1009
 
 
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.
 
1017
  {
 
1018
    echo
 
1019
 
 
1020
    cat <<\_ASBOX
 
1021
## ---------------- ##
 
1022
## Cache variables. ##
 
1023
## ---------------- ##
 
1024
_ASBOX
 
1025
    echo
 
1026
    # The following way of writing the cache mishandles newlines in values,
 
1027
{
 
1028
  (set) 2>&1 |
 
1029
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 
1030
    *ac_space=\ *)
 
1031
      sed -n \
 
1032
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1033
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1034
      ;;
 
1035
    *)
 
1036
      sed -n \
 
1037
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1038
      ;;
 
1039
    esac;
 
1040
}
 
1041
    echo
 
1042
 
 
1043
    cat <<\_ASBOX
 
1044
## ----------------- ##
 
1045
## Output variables. ##
 
1046
## ----------------- ##
 
1047
_ASBOX
 
1048
    echo
 
1049
    for ac_var in $ac_subst_vars
 
1050
    do
 
1051
      eval ac_val=$`echo $ac_var`
 
1052
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1053
    done | sort
 
1054
    echo
 
1055
 
 
1056
    if test -n "$ac_subst_files"; then
 
1057
      cat <<\_ASBOX
 
1058
## ------------- ##
 
1059
## Output files. ##
 
1060
## ------------- ##
 
1061
_ASBOX
 
1062
      echo
 
1063
      for ac_var in $ac_subst_files
 
1064
      do
 
1065
        eval ac_val=$`echo $ac_var`
 
1066
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1067
      done | sort
 
1068
      echo
 
1069
    fi
 
1070
 
 
1071
    if test -s confdefs.h; then
 
1072
      cat <<\_ASBOX
 
1073
## ----------- ##
 
1074
## confdefs.h. ##
 
1075
## ----------- ##
 
1076
_ASBOX
 
1077
      echo
 
1078
      sed "/^$/d" confdefs.h | sort
 
1079
      echo
 
1080
    fi
 
1081
    test "$ac_signal" != 0 &&
 
1082
      echo "$as_me: caught signal $ac_signal"
 
1083
    echo "$as_me: exit $exit_status"
 
1084
  } >&5
 
1085
  rm -f core *.core &&
 
1086
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1087
    exit $exit_status
 
1088
     ' 0
 
1089
for ac_signal in 1 2 13 15; do
 
1090
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1091
done
 
1092
ac_signal=0
 
1093
 
 
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.
 
1097
echo >confdefs.h
 
1098
 
 
1099
# Predefined preprocessor variables.
 
1100
 
 
1101
cat >>confdefs.h <<_ACEOF
 
1102
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1103
_ACEOF
 
1104
 
 
1105
 
 
1106
cat >>confdefs.h <<_ACEOF
 
1107
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1108
_ACEOF
 
1109
 
 
1110
 
 
1111
cat >>confdefs.h <<_ACEOF
 
1112
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1113
_ACEOF
 
1114
 
 
1115
 
 
1116
cat >>confdefs.h <<_ACEOF
 
1117
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1118
_ACEOF
 
1119
 
 
1120
 
 
1121
cat >>confdefs.h <<_ACEOF
 
1122
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1123
_ACEOF
 
1124
 
 
1125
 
 
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
486
1134
fi
487
1135
for ac_site_file in $CONFIG_SITE; do
488
1136
  if test -r "$ac_site_file"; then
489
 
    echo "loading site script $ac_site_file"
 
1137
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1138
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1139
    sed 's/^/| /' "$ac_site_file" >&5
490
1140
    . "$ac_site_file"
491
1141
  fi
492
1142
done
493
1143
 
494
1144
if test -r "$cache_file"; then
495
 
  echo "loading cache $cache_file"
496
 
  . $cache_file
 
1145
  # Some versions of bash will fail to source /dev/null (special
 
1146
  # files actually), so we avoid doing that.
 
1147
  if test -f "$cache_file"; then
 
1148
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1149
echo "$as_me: loading cache $cache_file" >&6;}
 
1150
    case $cache_file in
 
1151
      [\\/]* | ?:[\\/]* ) . $cache_file;;
 
1152
      *)                      . ./$cache_file;;
 
1153
    esac
 
1154
  fi
497
1155
else
498
 
  echo "creating cache $cache_file"
499
 
  > $cache_file
 
1156
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1157
echo "$as_me: creating cache $cache_file" >&6;}
 
1158
  >$cache_file
 
1159
fi
 
1160
 
 
1161
# Check that the precious variables saved in the cache have kept the same
 
1162
# value.
 
1163
ac_cache_corrupted=false
 
1164
for ac_var in `(set) 2>&1 |
 
1165
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1166
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1167
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1168
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 
1169
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1170
  case $ac_old_set,$ac_new_set in
 
1171
    set,)
 
1172
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1173
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1174
      ac_cache_corrupted=: ;;
 
1175
    ,set)
 
1176
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1177
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1178
      ac_cache_corrupted=: ;;
 
1179
    ,);;
 
1180
    *)
 
1181
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1182
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1183
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1184
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1185
echo "$as_me:   former value:  $ac_old_val" >&2;}
 
1186
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1187
echo "$as_me:   current value: $ac_new_val" >&2;}
 
1188
        ac_cache_corrupted=:
 
1189
      fi;;
 
1190
  esac
 
1191
  # Pass precious variables to config.status.
 
1192
  if test "$ac_new_set" = set; then
 
1193
    case $ac_new_val in
 
1194
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1195
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1196
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1197
    esac
 
1198
    case " $ac_configure_args " in
 
1199
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1200
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1201
    esac
 
1202
  fi
 
1203
done
 
1204
if $ac_cache_corrupted; then
 
1205
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1206
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1207
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1208
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1209
   { (exit 1); exit 1; }; }
500
1210
fi
501
1211
 
502
1212
ac_ext=c
503
 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
504
1213
ac_cpp='$CPP $CPPFLAGS'
505
 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
506
 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
507
 
cross_compiling=$ac_cv_prog_cc_cross
508
 
 
509
 
ac_exeext=
510
 
ac_objext=o
511
 
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
512
 
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
513
 
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
514
 
    ac_n= ac_c='
515
 
' ac_t='        '
516
 
  else
517
 
    ac_n=-n ac_c= ac_t=
518
 
  fi
519
 
else
520
 
  ac_n= ac_c='\c' ac_t=
521
 
fi
522
 
 
523
 
 
 
1214
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1215
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1216
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1217
 
 
1218
 
 
1219
 
 
1220
 
 
1221
 
 
1222
 
 
1223
 
 
1224
 
 
1225
 
 
1226
 
 
1227
 
 
1228
 
 
1229
 
 
1230
 
 
1231
 
 
1232
 
 
1233
 
 
1234
 
 
1235
 
 
1236
 
 
1237
 
 
1238
 
 
1239
 
 
1240
 
 
1241
 
 
1242
 
 
1243
 
 
1244
 
 
1245
 
 
1246
 
 
1247
am__api_version="1.7"
524
1248
ac_aux_dir=
525
1249
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
526
1250
  if test -f $ac_dir/install-sh; then
531
1255
    ac_aux_dir=$ac_dir
532
1256
    ac_install_sh="$ac_aux_dir/install.sh -c"
533
1257
    break
 
1258
  elif test -f $ac_dir/shtool; then
 
1259
    ac_aux_dir=$ac_dir
 
1260
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
1261
    break
534
1262
  fi
535
1263
done
536
1264
if test -z "$ac_aux_dir"; then
537
 
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
 
1265
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 
1266
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1267
   { (exit 1); exit 1; }; }
538
1268
fi
539
 
ac_config_guess=$ac_aux_dir/config.guess
540
 
ac_config_sub=$ac_aux_dir/config.sub
541
 
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
 
1269
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 
1270
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 
1271
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
542
1272
 
543
1273
# Find a good install program.  We prefer a C program (faster),
544
1274
# so one script is as good as another.  But avoid the broken or
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
559
1291
else
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.
563
 
    case "$ac_dir/" in
564
 
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
565
 
    *)
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
568
 
      # by default.
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
 
1293
for as_dir in $PATH
 
1294
do
 
1295
  IFS=$as_save_IFS
 
1296
  test -z "$as_dir" && as_dir=.
 
1297
  # Account for people who put trailing slashes in PATH elements.
 
1298
case $as_dir/ in
 
1299
  ./ | .// | /cC/* | \
 
1300
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1301
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1302
  /usr/ucb/* ) ;;
 
1303
  *)
 
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
 
1306
    # by default.
 
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.
574
1313
            :
 
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.
 
1317
            :
575
1318
          else
576
 
            ac_cv_path_install="$ac_dir/$ac_prog -c"
577
 
            break 2
 
1319
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1320
            break 3
578
1321
          fi
579
1322
        fi
580
1323
      done
581
 
      ;;
582
 
    esac
583
 
  done
584
 
  IFS="$ac_save_IFS"
 
1324
    done
 
1325
    ;;
 
1326
esac
 
1327
done
 
1328
 
585
1329
 
586
1330
fi
587
1331
  if test "${ac_cv_path_install+set}" = set; then
588
 
    INSTALL="$ac_cv_path_install"
 
1332
    INSTALL=$ac_cv_path_install
589
1333
  else
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
595
1339
  fi
596
1340
fi
597
 
echo "$ac_t""$INSTALL" 1>&6
 
1341
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1342
echo "${ECHO_T}$INSTALL" >&6
598
1343
 
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}'
602
1347
 
603
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
 
1348
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
604
1349
 
605
1350
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
606
1351
 
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
609
1354
# Just in case
610
1355
sleep 1
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
616
1361
# directory).
617
1362
if (
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`
622
1367
   fi
623
 
   if test "$*" != "X $srcdir/configure conftestfile" \
624
 
      && test "$*" != "X conftestfile $srcdir/configure"; then
 
1368
   rm -f conftest.file
 
1369
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1370
      && test "$*" != "X conftest.file $srcdir/configure"; then
625
1371
 
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; }; }
632
1381
   fi
633
1382
 
634
 
   test "$2" = conftestfile
 
1383
   test "$2" = conftest.file
635
1384
   )
636
1385
then
637
1386
   # Ok.
638
1387
   :
639
1388
else
640
 
   { echo "configure: error: newly created file is older than distributed files!
641
 
Check your system clock" 1>&2; exit 1; }
642
 
fi
643
 
rm -f conftest*
644
 
echo "$ac_t""yes" 1>&6
645
 
if test "$program_transform_name" = s,x,x,; then
646
 
  program_transform_name=
647
 
else
648
 
  # Double any \ or $.  echo might interpret backslashes.
649
 
  cat <<\EOF_SED > conftestsed
650
 
s,\\,\\\\,g; s,\$,$$,g
651
 
EOF_SED
652
 
  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
653
 
  rm -f conftestsed
654
 
fi
 
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; }; }
 
1394
fi
 
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"
660
 
 
661
 
# sed with no file args requires a program.
662
 
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
663
 
 
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
669
 
else
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,$//
 
1406
_ACEOF
 
1407
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 
1408
rm conftest.sed
 
1409
 
 
1410
 
 
1411
# expand $ac_aux_dir to an absolute path
 
1412
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1413
 
 
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 "
 
1418
else
 
1419
  am_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;}
 
1422
fi
 
1423
 
 
1424
for ac_prog in gawk mawk nawk awk
 
1425
do
 
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
 
1432
else
 
1433
  if test -n "$AWK"; then
 
1434
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1435
else
 
1436
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1437
for as_dir in $PATH
 
1438
do
 
1439
  IFS=$as_save_IFS
 
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
 
1445
    break 2
 
1446
  fi
 
1447
done
 
1448
done
 
1449
 
 
1450
fi
 
1451
fi
 
1452
AWK=$ac_cv_prog_AWK
 
1453
if test -n "$AWK"; then
 
1454
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1455
echo "${ECHO_T}$AWK" >&6
 
1456
else
 
1457
  echo "$as_me:$LINENO: result: no" >&5
 
1458
echo "${ECHO_T}no" >&6
 
1459
fi
 
1460
 
 
1461
  test -n "$AWK" && break
 
1462
done
 
1463
 
 
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
 
1469
else
 
1470
  cat >conftest.make <<\_ACEOF
671
1471
all:
672
 
        @echo 'ac_maketemp="${MAKE}"'
673
 
EOF
 
1472
        @echo 'ac_maketemp="$(MAKE)"'
 
1473
_ACEOF
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
678
1478
else
679
1479
  eval ac_cv_prog_make_${ac_make}_set=no
680
1480
fi
681
 
rm -f conftestmake
 
1481
rm -f conftest.make
682
1482
fi
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
685
1486
  SET_MAKE=
686
1487
else
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}"
689
1491
fi
690
1492
 
691
 
 
692
 
PACKAGE=surfraw
693
 
 
694
 
VERSION=1.0.7
695
 
 
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; }
698
 
fi
699
 
cat >> confdefs.h <<EOF
 
1493
rm -rf .tst 2>/dev/null
 
1494
mkdir .tst 2>/dev/null
 
1495
if test -d .tst; then
 
1496
  am__leading_dot=.
 
1497
else
 
1498
  am__leading_dot=_
 
1499
fi
 
1500
rmdir .tst 2>/dev/null
 
1501
 
 
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; }; }
 
1508
fi
 
1509
 
 
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'
 
1514
  else
 
1515
    CYGPATH_W=echo
 
1516
  fi
 
1517
fi
 
1518
 
 
1519
 
 
1520
# Define the identity of the package.
 
1521
 PACKAGE='surfraw'
 
1522
 VERSION='2.1.0'
 
1523
 
 
1524
 
 
1525
cat >>confdefs.h <<_ACEOF
700
1526
#define PACKAGE "$PACKAGE"
701
 
EOF
702
 
 
703
 
cat >> confdefs.h <<EOF
 
1527
_ACEOF
 
1528
 
 
1529
 
 
1530
cat >>confdefs.h <<_ACEOF
704
1531
#define VERSION "$VERSION"
705
 
EOF
706
 
 
707
 
 
708
 
 
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
716
 
   ACLOCAL=aclocal
717
 
   echo "$ac_t""found" 1>&6
718
 
else
719
 
   ACLOCAL="$missing_dir/missing aclocal"
720
 
   echo "$ac_t""missing" 1>&6
721
 
fi
722
 
 
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
729
 
   AUTOCONF=autoconf
730
 
   echo "$ac_t""found" 1>&6
731
 
else
732
 
   AUTOCONF="$missing_dir/missing autoconf"
733
 
   echo "$ac_t""missing" 1>&6
734
 
fi
735
 
 
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
742
 
   AUTOMAKE=automake
743
 
   echo "$ac_t""found" 1>&6
744
 
else
745
 
   AUTOMAKE="$missing_dir/missing automake"
746
 
   echo "$ac_t""missing" 1>&6
747
 
fi
748
 
 
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
757
 
else
758
 
   AUTOHEADER="$missing_dir/missing autoheader"
759
 
   echo "$ac_t""missing" 1>&6
760
 
fi
761
 
 
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
768
 
   MAKEINFO=makeinfo
769
 
   echo "$ac_t""found" 1>&6
770
 
else
771
 
   MAKEINFO="$missing_dir/missing makeinfo"
772
 
   echo "$ac_t""missing" 1>&6
773
 
fi
 
1532
_ACEOF
 
1533
 
 
1534
# Some tools Automake needs.
 
1535
 
 
1536
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
1537
 
 
1538
 
 
1539
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
1540
 
 
1541
 
 
1542
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
1543
 
 
1544
 
 
1545
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
1546
 
 
1547
 
 
1548
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
1549
 
 
1550
 
 
1551
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
1552
 
 
1553
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
1554
 
 
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
 
1567
else
 
1568
  if test -n "$STRIP"; then
 
1569
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1570
else
 
1571
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1572
for as_dir in $PATH
 
1573
do
 
1574
  IFS=$as_save_IFS
 
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
 
1580
    break 2
 
1581
  fi
 
1582
done
 
1583
done
 
1584
 
 
1585
fi
 
1586
fi
 
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
 
1591
else
 
1592
  echo "$as_me:$LINENO: result: no" >&5
 
1593
echo "${ECHO_T}no" >&6
 
1594
fi
 
1595
 
 
1596
fi
 
1597
if test -z "$ac_cv_prog_STRIP"; then
 
1598
  ac_ct_STRIP=$STRIP
 
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
 
1605
else
 
1606
  if test -n "$ac_ct_STRIP"; then
 
1607
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1608
else
 
1609
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1610
for as_dir in $PATH
 
1611
do
 
1612
  IFS=$as_save_IFS
 
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
 
1618
    break 2
 
1619
  fi
 
1620
done
 
1621
done
 
1622
 
 
1623
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
1624
fi
 
1625
fi
 
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
 
1630
else
 
1631
  echo "$as_me:$LINENO: result: no" >&5
 
1632
echo "${ECHO_T}no" >&6
 
1633
fi
 
1634
 
 
1635
  STRIP=$ac_ct_STRIP
 
1636
else
 
1637
  STRIP="$ac_cv_prog_STRIP"
 
1638
fi
 
1639
 
 
1640
fi
 
1641
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
1642
 
 
1643
# We need awk for the "check" target.  The system "awk" is bad on
 
1644
# some platforms.
 
1645
 
 
1646
 
 
1647
 
 
1648
 
 
1649
ELVIDIR="\$(libdir)/surfraw"
 
1650
 
 
1651
 
 
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
 
1656
fi;
774
1657
 
775
1658
 
776
1659
 
779
1662
ISODATE=`date +%Y-%m-%d`
780
1663
 
781
1664
 
782
 
 
783
1665
# Make sure we can run config.sub.
784
 
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
785
 
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
786
 
fi
787
 
 
788
 
echo $ac_n "checking host system type""... $ac_c" 1>&6
789
 
echo "configure:790: checking host system type" >&5
790
 
 
791
 
host_alias=$host
792
 
case "$host_alias" in
793
 
NONE)
794
 
  case $nonopt in
795
 
  NONE)
796
 
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
797
 
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
798
 
    fi ;;
799
 
  *) host_alias=$nonopt ;;
800
 
  esac ;;
801
 
esac
802
 
 
803
 
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
804
 
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
805
 
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
806
 
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
807
 
echo "$ac_t""$host" 1>&6
 
1666
$ac_config_sub sun4 >/dev/null 2>&1 ||
 
1667
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 
1668
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
1669
   { (exit 1); exit 1; }; }
 
1670
 
 
1671
echo "$as_me:$LINENO: checking build system type" >&5
 
1672
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
1673
if test "${ac_cv_build+set}" = set; then
 
1674
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1675
else
 
1676
  ac_cv_build_alias=$build_alias
 
1677
test -z "$ac_cv_build_alias" &&
 
1678
  ac_cv_build_alias=`$ac_config_guess`
 
1679
test -z "$ac_cv_build_alias" &&
 
1680
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
1681
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
1682
   { (exit 1); exit 1; }; }
 
1683
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 
1684
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 
1685
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
1686
   { (exit 1); exit 1; }; }
 
1687
 
 
1688
fi
 
1689
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
1690
echo "${ECHO_T}$ac_cv_build" >&6
 
1691
build=$ac_cv_build
 
1692
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
1693
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
1694
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
1695
 
 
1696
 
 
1697
echo "$as_me:$LINENO: checking host system type" >&5
 
1698
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
1699
if test "${ac_cv_host+set}" = set; then
 
1700
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1701
else
 
1702
  ac_cv_host_alias=$host_alias
 
1703
test -z "$ac_cv_host_alias" &&
 
1704
  ac_cv_host_alias=$ac_cv_build_alias
 
1705
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 
1706
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 
1707
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
1708
   { (exit 1); exit 1; }; }
 
1709
 
 
1710
fi
 
1711
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
1712
echo "${ECHO_T}$ac_cv_host" >&6
 
1713
host=$ac_cv_host
 
1714
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
1715
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 
1716
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
1717
 
808
1718
 
809
1719
 
810
1720
# Find a good install program.  We prefer a C program (faster),
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
826
1738
else
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.
830
 
    case "$ac_dir/" in
831
 
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
832
 
    *)
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
835
 
      # by default.
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
 
1740
for as_dir in $PATH
 
1741
do
 
1742
  IFS=$as_save_IFS
 
1743
  test -z "$as_dir" && as_dir=.
 
1744
  # Account for people who put trailing slashes in PATH elements.
 
1745
case $as_dir/ in
 
1746
  ./ | .// | /cC/* | \
 
1747
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1748
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1749
  /usr/ucb/* ) ;;
 
1750
  *)
 
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
 
1753
    # by default.
 
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.
841
1760
            :
 
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.
 
1764
            :
842
1765
          else
843
 
            ac_cv_path_install="$ac_dir/$ac_prog -c"
844
 
            break 2
 
1766
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1767
            break 3
845
1768
          fi
846
1769
        fi
847
1770
      done
848
 
      ;;
849
 
    esac
850
 
  done
851
 
  IFS="$ac_save_IFS"
 
1771
    done
 
1772
    ;;
 
1773
esac
 
1774
done
 
1775
 
852
1776
 
853
1777
fi
854
1778
  if test "${ac_cv_path_install+set}" = set; then
855
 
    INSTALL="$ac_cv_path_install"
 
1779
    INSTALL=$ac_cv_path_install
856
1780
  else
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
862
1786
  fi
863
1787
fi
864
 
echo "$ac_t""$INSTALL" 1>&6
 
1788
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1789
echo "${ECHO_T}$INSTALL" >&6
865
1790
 
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}'
869
1794
 
870
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
 
1795
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
871
1796
 
872
1797
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
873
1798
 
874
1799
for ac_prog in links w3m lynx
875
1800
do
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
882
1807
else
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.
885
1810
else
886
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
887
 
  ac_dummy="$PATH"
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"
892
 
      break
893
 
    fi
894
 
  done
895
 
  IFS="$ac_save_ifs"
896
 
fi
897
 
fi
898
 
sr_text_browser="$ac_cv_prog_sr_text_browser"
 
1811
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1812
for as_dir in $PATH
 
1813
do
 
1814
  IFS=$as_save_IFS
 
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
 
1820
    break 2
 
1821
  fi
 
1822
done
 
1823
done
 
1824
 
 
1825
fi
 
1826
fi
 
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
901
1831
else
902
 
  echo "$ac_t""no" 1>&6
 
1832
  echo "$as_me:$LINENO: result: no" >&5
 
1833
echo "${ECHO_T}no" >&6
903
1834
fi
904
1835
 
905
 
test -n "$sr_text_browser" && break
 
1836
  test -n "$sr_text_browser" && break
906
1837
done
907
1838
 
908
1839
 
909
1840
for ac_prog in mozilla konqueror netscape opera kfm
910
1841
do
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
917
1848
else
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.
920
1851
else
921
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
922
 
  ac_dummy="$PATH"
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"
927
 
      break
928
 
    fi
929
 
  done
930
 
  IFS="$ac_save_ifs"
931
 
fi
932
 
fi
933
 
sr_graphical_browser="$ac_cv_prog_sr_graphical_browser"
 
1852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1853
for as_dir in $PATH
 
1854
do
 
1855
  IFS=$as_save_IFS
 
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
 
1861
    break 2
 
1862
  fi
 
1863
done
 
1864
done
 
1865
 
 
1866
fi
 
1867
fi
 
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
936
1872
else
937
 
  echo "$ac_t""no" 1>&6
 
1873
  echo "$as_me:$LINENO: result: no" >&5
 
1874
echo "${ECHO_T}no" >&6
938
1875
fi
939
1876
 
940
 
test -n "$sr_graphical_browser" && break
 
1877
  test -n "$sr_graphical_browser" && break
941
1878
done
942
1879
 
943
1880
 
944
1881
 
945
 
trap '' 1 2 15
946
 
cat > confcache <<\EOF
 
1882
                                                                      ac_config_files="$ac_config_files Makefile surfraw.conf surfraw.lsm surfraw.spec elvi/Makefile surfraw.1 elvi.1sr"
 
1883
 
 
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.
951
 
#
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.
960
 
#
961
 
EOF
 
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.
 
1890
#
 
1891
# config.status only pays attention to the cache file if you give it
 
1892
# the --recheck option to rerun configure.
 
1893
#
 
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
 
1896
# following values.
 
1897
 
 
1898
_ACEOF
 
1899
 
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.
967
 
(set) 2>&1 |
968
 
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
969
 
  *ac_space=\ *)
970
 
    # `set' does not quote correctly, so add quotes (double-quote substitution
971
 
    # turns \\\\ into \\, and sed turns \\ into \).
972
 
    sed -n \
973
 
      -e "s/'/'\\\\''/g" \
974
 
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
975
 
    ;;
976
 
  *)
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'
979
 
    ;;
980
 
  esac >> confcache
981
 
if cmp -s $cache_file confcache; then
982
 
  :
983
 
else
 
1905
{
 
1906
  (set) 2>&1 |
 
1907
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
 
1908
    *ac_space=\ *)
 
1909
      # `set' does not quote correctly, so add quotes (double-quote
 
1910
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
1911
      sed -n \
 
1912
        "s/'/'\\\\''/g;
 
1913
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
1914
      ;;
 
1915
    *)
 
1916
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
1917
      sed -n \
 
1918
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1919
      ;;
 
1920
    esac;
 
1921
} |
 
1922
  sed '
 
1923
     t clear
 
1924
     : clear
 
1925
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
1926
     t end
 
1927
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
1928
     : end' >>confcache
 
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
987
1933
  else
988
1934
    echo "not updating unwritable cache $cache_file"
989
1935
  fi
990
1936
fi
991
1937
rm -f confcache
992
1938
 
993
 
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
994
 
 
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}'
998
1942
 
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}:*/:/;
 
1951
s/:*@srcdir@:*/:/;
 
1952
s/^\([^=]*=[     ]*\):*/\1/;
 
1953
s/:*$//;
 
1954
s/^[^=]*=[       ]*$//;
 
1955
}'
1004
1956
fi
1005
1957
 
1006
 
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1007
 
 
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
1014
 
s%\[%\\&%g
1015
 
s%\]%\\&%g
1016
 
s%\$%$$%g
1017
 
EOF
1018
 
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1019
 
rm -f conftest.defs
1020
 
 
1021
 
 
1022
 
# Without the "./", some shells look in PATH for config.status.
 
1961
#
 
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
 
1966
t clear
 
1967
: clear
 
1968
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 
1969
t quote
 
1970
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 
1971
t quote
 
1972
d
 
1973
: quote
 
1974
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
 
1975
s,\[,\\&,g
 
1976
s,\],\\&,g
 
1977
s,\$,$$,g
 
1978
p
 
1979
_ACEOF
 
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
 
1985
# would break.
 
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
 
1989
 
 
1990
 
 
1991
ac_libobjs=
 
1992
ac_ltlibobjs=
 
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$//'`
 
1997
  # 2. Add them.
 
1998
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 
1999
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
2000
done
 
2001
LIBOBJS=$ac_libobjs
 
2002
 
 
2003
LTLIBOBJS=$ac_ltlibobjs
 
2004
 
 
2005
 
 
2006
 
1023
2007
: ${CONFIG_STATUS=./config.status}
1024
 
 
1025
 
echo creating $CONFIG_STATUS
1026
 
rm -f $CONFIG_STATUS
1027
 
cat > $CONFIG_STATUS <<EOF
1028
 
#! /bin/sh
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
 
2013
#! $SHELL
 
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`:
1033
 
#
1034
 
# $0 $ac_configure_args
1035
 
#
1036
2016
# Compiler output produced by configure, useful for debugging
1037
 
# configure, is in ./config.log if it exists.
1038
 
 
1039
 
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1040
 
for ac_option
1041
 
do
1042
 
  case "\$ac_option" in
 
2017
# configure, is in config.log if it exists.
 
2018
 
 
2019
debug=false
 
2020
ac_cs_recheck=false
 
2021
ac_cs_silent=false
 
2022
SHELL=\${CONFIG_SHELL-$SHELL}
 
2023
_ACEOF
 
2024
 
 
2025
cat >>$CONFIG_STATUS <<\_ACEOF
 
2026
## --------------------- ##
 
2027
## M4sh Initialization.  ##
 
2028
## --------------------- ##
 
2029
 
 
2030
# Be Bourne compatible
 
2031
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
2032
  emulate sh
 
2033
  NULLCMD=:
 
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
 
2038
  set -o posix
 
2039
fi
 
2040
DUALCASE=1; export DUALCASE # for MKS sh
 
2041
 
 
2042
# Support unset when possible.
 
2043
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
2044
  as_unset=unset
 
2045
else
 
2046
  as_unset=false
 
2047
fi
 
2048
 
 
2049
 
 
2050
# Work around bugs in pre-3.0 UWIN ksh.
 
2051
$as_unset ENV MAIL MAILPATH
 
2052
PS1='$ '
 
2053
PS2='> '
 
2054
PS4='+ '
 
2055
 
 
2056
# NLS nuisances.
 
2057
for as_var in \
 
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
 
2061
do
 
2062
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
2063
    eval $as_var=C; export $as_var
 
2064
  else
 
2065
    $as_unset $as_var
 
2066
  fi
 
2067
done
 
2068
 
 
2069
# Required to use basename.
 
2070
if expr a : '\(a\)' >/dev/null 2>&1; then
 
2071
  as_expr=expr
 
2072
else
 
2073
  as_expr=false
 
2074
fi
 
2075
 
 
2076
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
2077
  as_basename=basename
 
2078
else
 
2079
  as_basename=false
 
2080
fi
 
2081
 
 
2082
 
 
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 ||
 
2089
echo X/"$0" |
 
2090
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 
2091
          /^X\/\(\/\/\)$/{ s//\1/; q; }
 
2092
          /^X\/\(\/\).*/{ s//\1/; q; }
 
2093
          s/.*/./; q'`
 
2094
 
 
2095
 
 
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
 
2103
 
 
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
 
2108
  chmod +x conf$$.sh
 
2109
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
2110
    PATH_SEPARATOR=';'
 
2111
  else
 
2112
    PATH_SEPARATOR=:
 
2113
  fi
 
2114
  rm -f conf$$.sh
 
2115
fi
 
2116
 
 
2117
 
 
2118
  as_lineno_1=$LINENO
 
2119
  as_lineno_2=$LINENO
 
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
 
2124
  # relative or not.
 
2125
  case $0 in
 
2126
    *[\\/]* ) as_myself=$0 ;;
 
2127
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2128
for as_dir in $PATH
 
2129
do
 
2130
  IFS=$as_save_IFS
 
2131
  test -z "$as_dir" && as_dir=.
 
2132
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
2133
done
 
2134
 
 
2135
       ;;
 
2136
  esac
 
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
 
2140
    as_myself=$0
 
2141
  fi
 
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; }; }
 
2146
  fi
 
2147
  case $CONFIG_SHELL in
 
2148
  '')
 
2149
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2150
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
2151
do
 
2152
  IFS=$as_save_IFS
 
2153
  test -z "$as_dir" && as_dir=.
 
2154
  for as_base in sh bash ksh sh5; do
 
2155
         case $as_dir in
 
2156
         /*)
 
2157
           if ("$as_dir/$as_base" -c '
 
2158
  as_lineno_1=$LINENO
 
2159
  as_lineno_2=$LINENO
 
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
 
2166
             export CONFIG_SHELL
 
2167
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 
2168
           fi;;
 
2169
         esac
 
2170
       done
 
2171
done
 
2172
;;
 
2173
  esac
 
2174
 
 
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 |
 
2184
    sed '
 
2185
      N
 
2186
      s,$,-,
 
2187
      : loop
 
2188
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
2189
      t loop
 
2190
      s,-$,,
 
2191
      s,^['$as_cr_digits']*\n,,
 
2192
    ' >$as_me.lineno &&
 
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; }; }
 
2197
 
 
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).
 
2201
  . ./$as_me.lineno
 
2202
  # Exit status is that of the last command.
 
2203
  exit
 
2204
}
 
2205
 
 
2206
 
 
2207
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 
2208
  *c*,-n*) ECHO_N= ECHO_C='
 
2209
' ECHO_T='      ' ;;
 
2210
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 
2211
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
2212
esac
 
2213
 
 
2214
if expr a : '\(a\)' >/dev/null 2>&1; then
 
2215
  as_expr=expr
 
2216
else
 
2217
  as_expr=false
 
2218
fi
 
2219
 
 
2220
rm -f conf$$ conf$$.exe conf$$.file
 
2221
echo >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
 
2227
    as_ln_s='cp -p'
 
2228
  else
 
2229
    as_ln_s='ln -s'
 
2230
  fi
 
2231
elif ln conf$$.file conf$$ 2>/dev/null; then
 
2232
  as_ln_s=ln
 
2233
else
 
2234
  as_ln_s='cp -p'
 
2235
fi
 
2236
rm -f conf$$ conf$$.exe conf$$.file
 
2237
 
 
2238
if mkdir -p . 2>/dev/null; then
 
2239
  as_mkdir_p=:
 
2240
else
 
2241
  test -d ./-p && rmdir ./-p
 
2242
  as_mkdir_p=false
 
2243
fi
 
2244
 
 
2245
as_executable_p="test -f"
 
2246
 
 
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'"
 
2249
 
 
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'"
 
2252
 
 
2253
 
 
2254
# IFS
 
2255
# We need space, tab and new line, in precisely that order.
 
2256
as_nl='
 
2257
'
 
2258
IFS="   $as_nl"
 
2259
 
 
2260
# CDPATH.
 
2261
$as_unset CDPATH
 
2262
 
 
2263
exec 6>&1
 
2264
 
 
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.
 
2268
exec 5>>config.log
 
2269
{
 
2270
  echo
 
2271
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
2272
## Running $as_me. ##
 
2273
_ASBOX
 
2274
} >&5
 
2275
cat >&5 <<_CSEOF
 
2276
 
 
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
 
2279
 
 
2280
  CONFIG_FILES    = $CONFIG_FILES
 
2281
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
2282
  CONFIG_LINKS    = $CONFIG_LINKS
 
2283
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
2284
  $ $0 $@
 
2285
 
 
2286
_CSEOF
 
2287
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 
2288
echo >&5
 
2289
_ACEOF
 
2290
 
 
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
 
2294
fi
 
2295
 
 
2296
if test -n "$ac_config_headers"; then
 
2297
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 
2298
fi
 
2299
 
 
2300
if test -n "$ac_config_links"; then
 
2301
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 
2302
fi
 
2303
 
 
2304
if test -n "$ac_config_commands"; then
 
2305
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 
2306
fi
 
2307
 
 
2308
cat >>$CONFIG_STATUS <<\_ACEOF
 
2309
 
 
2310
ac_cs_usage="\
 
2311
\`$as_me' instantiates files from templates according to the
 
2312
current configuration.
 
2313
 
 
2314
Usage: $0 [OPTIONS] [FILE]...
 
2315
 
 
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
 
2323
 
 
2324
Configuration files:
 
2325
$config_files
 
2326
 
 
2327
Report bugs to <bug-autoconf@gnu.org>."
 
2328
_ACEOF
 
2329
 
 
2330
cat >>$CONFIG_STATUS <<_ACEOF
 
2331
ac_cs_version="\\
 
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'`\\"
 
2335
 
 
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."
 
2339
srcdir=$srcdir
 
2340
INSTALL="$INSTALL"
 
2341
_ACEOF
 
2342
 
 
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.
 
2346
ac_need_defaults=:
 
2347
while test $# != 0
 
2348
do
 
2349
  case $1 in
 
2350
  --*=*)
 
2351
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
 
2352
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
2353
    ac_shift=:
 
2354
    ;;
 
2355
  -*)
 
2356
    ac_option=$1
 
2357
    ac_optarg=$2
 
2358
    ac_shift=shift
 
2359
    ;;
 
2360
  *) # This is not an option, so the user has probably given explicit
 
2361
     # arguments.
 
2362
     ac_option=$1
 
2363
     ac_need_defaults=false;;
 
2364
  esac
 
2365
 
 
2366
  case $ac_option in
 
2367
  # Handling of the options.
 
2368
_ACEOF
 
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"
1048
 
    exit 0 ;;
1049
 
  -help | --help | --hel | --he | --h)
1050
 
    echo "\$ac_cs_usage"; exit 0 ;;
1051
 
  *) echo "\$ac_cs_usage"; exit 1 ;;
1052
 
  esac
1053
 
done
1054
 
 
1055
 
ac_given_srcdir=$srcdir
1056
 
ac_given_INSTALL="$INSTALL"
1057
 
 
1058
 
trap 'rm -fr `echo "Makefile surfraw.conf surfraw.lsm surfraw surfraw.spec elvi/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1059
 
EOF
1060
 
cat >> $CONFIG_STATUS <<EOF
1061
 
 
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
1065
 
$ac_vpsub
1066
 
$extrasub
1067
 
s%@SHELL@%$SHELL%g
1068
 
s%@CFLAGS@%$CFLAGS%g
1069
 
s%@CPPFLAGS@%$CPPFLAGS%g
1070
 
s%@CXXFLAGS@%$CXXFLAGS%g
1071
 
s%@FFLAGS@%$FFLAGS%g
1072
 
s%@DEFS@%$DEFS%g
1073
 
s%@LDFLAGS@%$LDFLAGS%g
1074
 
s%@LIBS@%$LIBS%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
1102
 
s%@host@%$host%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
1109
 
 
 
2371
    ac_cs_recheck=: ;;
 
2372
  --version | --vers* | -V )
 
2373
    echo "$ac_cs_version"; exit 0 ;;
 
2374
  --he | --h)
 
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 )
 
2384
    debug=: ;;
 
2385
  --file | --fil | --fi | --f )
 
2386
    $ac_shift
 
2387
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
2388
    ac_need_defaults=false;;
 
2389
  --header | --heade | --head | --hea )
 
2390
    $ac_shift
 
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)
 
2395
    ac_cs_silent=: ;;
 
2396
 
 
2397
  # This is an error.
 
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; }; } ;;
 
2403
 
 
2404
  *) ac_config_targets="$ac_config_targets $1" ;;
 
2405
 
 
2406
  esac
 
2407
  shift
 
2408
done
 
2409
 
 
2410
ac_configure_extra_args=
 
2411
 
 
2412
if $ac_cs_silent; then
 
2413
  exec 6>/dev/null
 
2414
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
2415
fi
 
2416
 
 
2417
_ACEOF
 
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
 
2422
fi
 
2423
 
 
2424
_ACEOF
 
2425
 
 
2426
 
 
2427
 
 
2428
 
 
2429
 
 
2430
cat >>$CONFIG_STATUS <<\_ACEOF
 
2431
for ac_config_target in $ac_config_targets
 
2432
do
 
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; }; };;
 
2445
  esac
 
2446
done
 
2447
 
 
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
 
2454
fi
 
2455
 
 
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.
 
2460
$debug ||
 
2461
{
 
2462
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
2463
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
2464
}
 
2465
 
 
2466
# Create a (secure) tmp directory for tmp files.
 
2467
 
 
2468
{
 
2469
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
2470
  test -n "$tmp" && test -d "$tmp"
 
2471
}  ||
 
2472
{
 
2473
  tmp=./confstat$$-$RANDOM
 
2474
  (umask 077 && mkdir $tmp)
 
2475
} ||
 
2476
{
 
2477
   echo "$me: cannot create a temporary directory in ." >&2
 
2478
   { (exit 1); exit 1; }
 
2479
}
 
2480
 
 
2481
_ACEOF
 
2482
 
 
2483
cat >>$CONFIG_STATUS <<_ACEOF
 
2484
 
 
2485
#
 
2486
# CONFIG_FILES section.
 
2487
#
 
2488
 
 
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
 
2520
s,@DEFS@,$DEFS,;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
 
2524
s,@LIBS@,$LIBS,;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
 
2541
s,@AWK@,$AWK,;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
 
2550
s,@host@,$host,;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
1110
2558
CEOF
1111
 
EOF
1112
 
 
1113
 
cat >> $CONFIG_STATUS <<\EOF
1114
 
 
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.
1121
 
ac_more_lines=:
1122
 
ac_sed_cmds=""
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
1126
 
  else
1127
 
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1128
 
  fi
1129
 
  if test ! -s conftest.s$ac_file; then
1130
 
    ac_more_lines=false
1131
 
    rm -f conftest.s$ac_file
1132
 
  else
1133
 
    if test -z "$ac_sed_cmds"; then
1134
 
      ac_sed_cmds="sed -f conftest.s$ac_file"
1135
 
    else
1136
 
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1137
 
    fi
1138
 
    ac_file=`expr $ac_file + 1`
1139
 
    ac_beg=$ac_end
1140
 
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1141
 
  fi
1142
 
done
1143
 
if test -z "$ac_sed_cmds"; then
1144
 
  ac_sed_cmds=cat
1145
 
fi
1146
 
EOF
1147
 
 
1148
 
cat >> $CONFIG_STATUS <<EOF
1149
 
 
1150
 
CONFIG_FILES=\${CONFIG_FILES-"Makefile surfraw.conf surfraw.lsm surfraw surfraw.spec elvi/Makefile"}
1151
 
EOF
1152
 
cat >> $CONFIG_STATUS <<\EOF
1153
 
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
 
2559
 
 
2560
_ACEOF
 
2561
 
 
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.
 
2565
  ac_max_sed_lines=48
 
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.
 
2569
  ac_more_lines=:
 
2570
  ac_sed_cmds=
 
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
 
2574
    else
 
2575
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 
2576
    fi
 
2577
    if test ! -s $tmp/subs.frag; then
 
2578
      ac_more_lines=false
 
2579
    else
 
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.
 
2584
      (echo ':t
 
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"
 
2588
      else
 
2589
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
2590
      fi
 
2591
      ac_sed_frag=`expr $ac_sed_frag + 1`
 
2592
      ac_beg=$ac_end
 
2593
      ac_end=`expr $ac_end + $ac_max_sed_lines`
 
2594
    fi
 
2595
  done
 
2596
  if test -z "$ac_sed_cmds"; then
 
2597
    ac_sed_cmds=cat
 
2598
  fi
 
2599
fi # test -n "$CONFIG_FILES"
 
2600
 
 
2601
_ACEOF
 
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".
1155
 
  case "$ac_file" 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" ;;
 
2605
  case $ac_file in
 
2606
  - | *:- | *:-:* ) # input from stdin
 
2607
        cat >$tmp/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 ;;
1159
2613
  esac
1160
2614
 
1161
 
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1162
 
 
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 ||
 
2622
echo X"$ac_file" |
 
2623
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
2624
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
2625
          /^X\(\/\/\)$/{ s//\1/; q; }
 
2626
          /^X\(\/\).*/{ s//\1/; q; }
 
2627
          s/.*/./; q'`
 
2628
  { if $as_mkdir_p; then
 
2629
    mkdir -p "$ac_dir"
1171
2630
  else
1172
 
    ac_dir_suffix= ac_dots=
1173
 
  fi
1174
 
 
1175
 
  case "$ac_given_srcdir" in
1176
 
  .)  srcdir=.
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" ;;
 
2631
    as_dir="$ac_dir"
 
2632
    as_dirs=
 
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 ||
 
2641
echo X"$as_dir" |
 
2642
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
2643
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
2644
          /^X\(\/\/\)$/{ s//\1/; q; }
 
2645
          /^X\(\/\).*/{ s//\1/; q; }
 
2646
          s/.*/./; q'`
 
2647
    done
 
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; }; }; }
 
2652
 
 
2653
  ac_builddir=.
 
2654
 
 
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'`
 
2659
else
 
2660
  ac_dir_suffix= ac_top_builddir=
 
2661
fi
 
2662
 
 
2663
case $srcdir in
 
2664
  .)  # No --srcdir option.  We are building in place.
 
2665
    ac_srcdir=.
 
2666
    if test -z "$ac_top_builddir"; then
 
2667
       ac_top_srcdir=.
 
2668
    else
 
2669
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 
2670
    fi ;;
 
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" ;;
1183
 
  esac
1184
 
 
1185
 
  case "$ac_given_INSTALL" in
1186
 
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
1187
 
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1188
 
  esac
1189
 
 
1190
 
  echo creating "$ac_file"
1191
 
  rm -f "$ac_file"
1192
 
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1193
 
  case "$ac_file" in
1194
 
  *Makefile*) ac_comsub="1i\\
1195
 
# $configure_input" ;;
1196
 
  *) ac_comsub= ;;
1197
 
  esac
1198
 
 
1199
 
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1200
 
  sed -e "$ac_comsub
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
1206
 
fi; done
1207
 
rm -f conftest.s*
1208
 
 
1209
 
EOF
1210
 
cat >> $CONFIG_STATUS <<EOF
1211
 
 
1212
 
EOF
1213
 
cat >> $CONFIG_STATUS <<\EOF
1214
 
 
1215
 
exit 0
1216
 
EOF
 
2675
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 
2676
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 
2677
esac
 
2678
 
 
2679
# Do not use `cd foo && pwd` to compute absolute paths, because
 
2680
# the directories may not exist.
 
2681
case `pwd` in
 
2682
.) ac_abs_builddir="$ac_dir";;
 
2683
*)
 
2684
  case "$ac_dir" in
 
2685
  .) ac_abs_builddir=`pwd`;;
 
2686
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
2687
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
2688
  esac;;
 
2689
esac
 
2690
case $ac_abs_builddir in
 
2691
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
2692
*)
 
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}.;;
 
2697
  esac;;
 
2698
esac
 
2699
case $ac_abs_builddir in
 
2700
.) ac_abs_srcdir=$ac_srcdir;;
 
2701
*)
 
2702
  case $ac_srcdir in
 
2703
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
2704
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
2705
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
2706
  esac;;
 
2707
esac
 
2708
case $ac_abs_builddir in
 
2709
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
2710
*)
 
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;;
 
2715
  esac;;
 
2716
esac
 
2717
 
 
2718
 
 
2719
  case $INSTALL in
 
2720
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
2721
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
2722
  esac
 
2723
 
 
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
 
2728
    configure_input=
 
2729
  else
 
2730
    configure_input="$ac_file.  "
 
2731
  fi
 
2732
  configure_input=$configure_input"Generated from `echo $ac_file_in |
 
2733
                                     sed 's,.*/,,'` by configure."
 
2734
 
 
2735
  # First look for the input files in the build tree, otherwise in the
 
2736
  # src tree.
 
2737
  ac_file_inputs=`IFS=:
 
2738
    for f in $ac_file_in; do
 
2739
      case $f in
 
2740
      -) echo $tmp/stdin ;;
 
2741
      [\\/$]*)
 
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; }; }
 
2746
         echo "$f";;
 
2747
      *) # Relative
 
2748
         if test -f "$f"; then
 
2749
           # Build tree
 
2750
           echo "$f"
 
2751
         elif test -f "$srcdir/$f"; then
 
2752
           # Source tree
 
2753
           echo "$srcdir/$f"
 
2754
         else
 
2755
           # /dev/null tree
 
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; }; }
 
2759
         fi;;
 
2760
      esac
 
2761
    done` || { (exit 1); exit 1; }
 
2762
 
 
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;}
 
2766
    rm -f "$ac_file"
 
2767
  fi
 
2768
_ACEOF
 
2769
cat >>$CONFIG_STATUS <<_ACEOF
 
2770
  sed "$ac_vpsub
 
2771
$extrasub
 
2772
_ACEOF
 
2773
cat >>$CONFIG_STATUS <<\_ACEOF
 
2774
:t
 
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
 
2787
  rm -f $tmp/stdin
 
2788
  if test x"$ac_file" != x-; then
 
2789
    mv $tmp/out $ac_file
 
2790
  else
 
2791
    cat $tmp/out
 
2792
    rm -f $tmp/out
 
2793
  fi
 
2794
 
 
2795
done
 
2796
_ACEOF
 
2797
 
 
2798
cat >>$CONFIG_STATUS <<\_ACEOF
 
2799
 
 
2800
{ (exit 0); exit 0; }
 
2801
_ACEOF
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
 
2804
 
 
2805
 
 
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
 
2815
  ac_cs_success=:
 
2816
  ac_config_status_args=
 
2817
  test "$silent" = yes &&
 
2818
    ac_config_status_args="$ac_config_status_args --quiet"
 
2819
  exec 5>/dev/null
 
2820
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
2821
  exec 5>>config.log
 
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; }
 
2825
fi
 
2826
 
1220
2827