~ubuntu-branches/ubuntu/natty/bbdb/natty

« back to all changes in this revision

Viewing changes to .pc/debian-changes-2.36-2/configure

  • Committer: Bazaar Package Importer
  • Author(s): Barak A. Pearlmutter
  • Date: 2010-12-12 14:57:47 UTC
  • mfrom: (4.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101212145747-ywc1sfpvg1znft09
Tags: 2.36-2
* Update to bbdb-vcard 0.3, which better parses birthdays
* bump standards version (debian/changelog)
* bump to dh 8, dh --parallel, dh --with autotools_dev (debian/compat,
  debian/control, debian/rules)
* rephrase for grammar and Moore's Law (debian/bbdb.emacsen-install)
  (closes: #440192, #540539)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.65 for BBDB 2.36.
 
4
#
 
5
# Report bugs to <bbdb-info@lists.sourceforge.net>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
 
11
#
 
12
#
 
13
# This configure script is free software; the Free Software Foundation
 
14
# gives unlimited permission to copy, distribute and modify it.
 
15
#
 
16
# Copyright (C) 2000-2001 Didier Verna <didier@xemacs.org>.
 
17
## -------------------- ##
 
18
## M4sh Initialization. ##
 
19
## -------------------- ##
 
20
 
 
21
# Be more Bourne compatible
 
22
DUALCASE=1; export DUALCASE # for MKS sh
 
23
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
24
  emulate sh
 
25
  NULLCMD=:
 
26
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
27
  # is contrary to our usage.  Disable this feature.
 
28
  alias -g '${1+"$@"}'='"$@"'
 
29
  setopt NO_GLOB_SUBST
 
30
else
 
31
  case `(set -o) 2>/dev/null` in #(
 
32
  *posix*) :
 
33
    set -o posix ;; #(
 
34
  *) :
 
35
     ;;
 
36
esac
 
37
fi
 
38
 
 
39
 
 
40
as_nl='
 
41
'
 
42
export as_nl
 
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
47
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
48
# but without wasting forks for bash or zsh.
 
49
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
50
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
51
  as_echo='print -r --'
 
52
  as_echo_n='print -rn --'
 
53
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
54
  as_echo='printf %s\n'
 
55
  as_echo_n='printf %s'
 
56
else
 
57
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
58
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
59
    as_echo_n='/usr/ucb/echo -n'
 
60
  else
 
61
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
62
    as_echo_n_body='eval
 
63
      arg=$1;
 
64
      case $arg in #(
 
65
      *"$as_nl"*)
 
66
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
67
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
68
      esac;
 
69
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
70
    '
 
71
    export as_echo_n_body
 
72
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
73
  fi
 
74
  export as_echo_body
 
75
  as_echo='sh -c $as_echo_body as_echo'
 
76
fi
 
77
 
 
78
# The user is always right.
 
79
if test "${PATH_SEPARATOR+set}" != set; then
 
80
  PATH_SEPARATOR=:
 
81
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
82
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
83
      PATH_SEPARATOR=';'
 
84
  }
 
85
fi
 
86
 
 
87
 
 
88
# IFS
 
89
# We need space, tab and new line, in precisely that order.  Quoting is
 
90
# there to prevent editors from complaining about space-tab.
 
91
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
92
# splitting by setting IFS to empty value.)
 
93
IFS=" ""        $as_nl"
 
94
 
 
95
# Find who we are.  Look in the path if we contain no directory separator.
 
96
case $0 in #((
 
97
  *[\\/]* ) as_myself=$0 ;;
 
98
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
99
for as_dir in $PATH
 
100
do
 
101
  IFS=$as_save_IFS
 
102
  test -z "$as_dir" && as_dir=.
 
103
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
104
  done
 
105
IFS=$as_save_IFS
 
106
 
 
107
     ;;
 
108
esac
 
109
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
110
# in which case we are not to be found in the path.
 
111
if test "x$as_myself" = x; then
 
112
  as_myself=$0
 
113
fi
 
114
if test ! -f "$as_myself"; then
 
115
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
116
  exit 1
 
117
fi
 
118
 
 
119
# Unset variables that we do not need and which cause bugs (e.g. in
 
120
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
121
# suppresses any "Segmentation fault" message there.  '((' could
 
122
# trigger a bug in pdksh 5.2.14.
 
123
for as_var in BASH_ENV ENV MAIL MAILPATH
 
124
do eval test x\${$as_var+set} = xset \
 
125
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
126
done
 
127
PS1='$ '
 
128
PS2='> '
 
129
PS4='+ '
 
130
 
 
131
# NLS nuisances.
 
132
LC_ALL=C
 
133
export LC_ALL
 
134
LANGUAGE=C
 
135
export LANGUAGE
 
136
 
 
137
# CDPATH.
 
138
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
139
 
 
140
if test "x$CONFIG_SHELL" = x; then
 
141
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
142
  emulate sh
 
143
  NULLCMD=:
 
144
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
145
  # is contrary to our usage.  Disable this feature.
 
146
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
147
  setopt NO_GLOB_SUBST
 
148
else
 
149
  case \`(set -o) 2>/dev/null\` in #(
 
150
  *posix*) :
 
151
    set -o posix ;; #(
 
152
  *) :
 
153
     ;;
 
154
esac
 
155
fi
 
156
"
 
157
  as_required="as_fn_return () { (exit \$1); }
 
158
as_fn_success () { as_fn_return 0; }
 
159
as_fn_failure () { as_fn_return 1; }
 
160
as_fn_ret_success () { return 0; }
 
161
as_fn_ret_failure () { return 1; }
 
162
 
 
163
exitcode=0
 
164
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
165
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
166
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
167
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
168
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
169
 
 
170
else
 
171
  exitcode=1; echo positional parameters were not saved.
 
172
fi
 
173
test x\$exitcode = x0 || exit 1"
 
174
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
175
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
176
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
177
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
 
178
  if (eval "$as_required") 2>/dev/null; then :
 
179
  as_have_required=yes
 
180
else
 
181
  as_have_required=no
 
182
fi
 
183
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
184
 
 
185
else
 
186
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
187
as_found=false
 
188
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
189
do
 
190
  IFS=$as_save_IFS
 
191
  test -z "$as_dir" && as_dir=.
 
192
  as_found=:
 
193
  case $as_dir in #(
 
194
         /*)
 
195
           for as_base in sh bash ksh sh5; do
 
196
             # Try only shells that exist, to save several forks.
 
197
             as_shell=$as_dir/$as_base
 
198
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
199
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
200
  CONFIG_SHELL=$as_shell as_have_required=yes
 
201
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
202
  break 2
 
203
fi
 
204
fi
 
205
           done;;
 
206
       esac
 
207
  as_found=false
 
208
done
 
209
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
210
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
211
  CONFIG_SHELL=$SHELL as_have_required=yes
 
212
fi; }
 
213
IFS=$as_save_IFS
 
214
 
 
215
 
 
216
      if test "x$CONFIG_SHELL" != x; then :
 
217
  # We cannot yet assume a decent shell, so we have to provide a
 
218
        # neutralization value for shells without unset; and this also
 
219
        # works around shells that cannot unset nonexistent variables.
 
220
        BASH_ENV=/dev/null
 
221
        ENV=/dev/null
 
222
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
223
        export CONFIG_SHELL
 
224
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
225
fi
 
226
 
 
227
    if test x$as_have_required = xno; then :
 
228
  $as_echo "$0: This script requires a shell more modern than all"
 
229
  $as_echo "$0: the shells that I found on your system."
 
230
  if test x${ZSH_VERSION+set} = xset ; then
 
231
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
232
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
233
  else
 
234
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
235
$0: bbdb-info@lists.sourceforge.net about your system,
 
236
$0: including any error possibly output before this
 
237
$0: message. Then install a modern shell, or manually run
 
238
$0: the script under such a shell if you do have one."
 
239
  fi
 
240
  exit 1
 
241
fi
 
242
fi
 
243
fi
 
244
SHELL=${CONFIG_SHELL-/bin/sh}
 
245
export SHELL
 
246
# Unset more variables known to interfere with behavior of common tools.
 
247
CLICOLOR_FORCE= GREP_OPTIONS=
 
248
unset CLICOLOR_FORCE GREP_OPTIONS
 
249
 
 
250
## --------------------- ##
 
251
## M4sh Shell Functions. ##
 
252
## --------------------- ##
 
253
# as_fn_unset VAR
 
254
# ---------------
 
255
# Portably unset VAR.
 
256
as_fn_unset ()
 
257
{
 
258
  { eval $1=; unset $1;}
 
259
}
 
260
as_unset=as_fn_unset
 
261
 
 
262
# as_fn_set_status STATUS
 
263
# -----------------------
 
264
# Set $? to STATUS, without forking.
 
265
as_fn_set_status ()
 
266
{
 
267
  return $1
 
268
} # as_fn_set_status
 
269
 
 
270
# as_fn_exit STATUS
 
271
# -----------------
 
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
273
as_fn_exit ()
 
274
{
 
275
  set +e
 
276
  as_fn_set_status $1
 
277
  exit $1
 
278
} # as_fn_exit
 
279
 
 
280
# as_fn_mkdir_p
 
281
# -------------
 
282
# Create "$as_dir" as a directory, including parents if necessary.
 
283
as_fn_mkdir_p ()
 
284
{
 
285
 
 
286
  case $as_dir in #(
 
287
  -*) as_dir=./$as_dir;;
 
288
  esac
 
289
  test -d "$as_dir" || eval $as_mkdir_p || {
 
290
    as_dirs=
 
291
    while :; do
 
292
      case $as_dir in #(
 
293
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
294
      *) as_qdir=$as_dir;;
 
295
      esac
 
296
      as_dirs="'$as_qdir' $as_dirs"
 
297
      as_dir=`$as_dirname -- "$as_dir" ||
 
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
299
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
300
         X"$as_dir" : 'X\(//\)$' \| \
 
301
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
302
$as_echo X"$as_dir" |
 
303
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)[^/].*/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\/\)$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\).*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          s/.*/./; q'`
 
320
      test -d "$as_dir" && break
 
321
    done
 
322
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
323
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
324
 
 
325
 
 
326
} # as_fn_mkdir_p
 
327
# as_fn_append VAR VALUE
 
328
# ----------------------
 
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
330
# advantage of any shell optimizations that allow amortized linear growth over
 
331
# repeated appends, instead of the typical quadratic growth present in naive
 
332
# implementations.
 
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
334
  eval 'as_fn_append ()
 
335
  {
 
336
    eval $1+=\$2
 
337
  }'
 
338
else
 
339
  as_fn_append ()
 
340
  {
 
341
    eval $1=\$$1\$2
 
342
  }
 
343
fi # as_fn_append
 
344
 
 
345
# as_fn_arith ARG...
 
346
# ------------------
 
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
349
# must be portable across $(()) and expr.
 
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
351
  eval 'as_fn_arith ()
 
352
  {
 
353
    as_val=$(( $* ))
 
354
  }'
 
355
else
 
356
  as_fn_arith ()
 
357
  {
 
358
    as_val=`expr "$@" || test $? -eq 1`
 
359
  }
 
360
fi # as_fn_arith
 
361
 
 
362
 
 
363
# as_fn_error ERROR [LINENO LOG_FD]
 
364
# ---------------------------------
 
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
367
# script with status $?, using 1 if that was 0.
 
368
as_fn_error ()
 
369
{
 
370
  as_status=$?; test $as_status -eq 0 && as_status=1
 
371
  if test "$3"; then
 
372
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
373
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
374
  fi
 
375
  $as_echo "$as_me: error: $1" >&2
 
376
  as_fn_exit $as_status
 
377
} # as_fn_error
 
378
 
 
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
380
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
381
  as_expr=expr
 
382
else
 
383
  as_expr=false
 
384
fi
 
385
 
 
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
387
  as_basename=basename
 
388
else
 
389
  as_basename=false
 
390
fi
 
391
 
 
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
393
  as_dirname=dirname
 
394
else
 
395
  as_dirname=false
 
396
fi
 
397
 
 
398
as_me=`$as_basename -- "$0" ||
 
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
400
         X"$0" : 'X\(//\)$' \| \
 
401
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
402
$as_echo X/"$0" |
 
403
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\/\)$/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          /^X\/\(\/\).*/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          s/.*/./; q'`
 
416
 
 
417
# Avoid depending upon Character Ranges.
 
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
421
as_cr_digits='0123456789'
 
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
426
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
427
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
428
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
429
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
430
  sed -n '
 
431
    p
 
432
    /[$]LINENO/=
 
433
  ' <$as_myself |
 
434
    sed '
 
435
      s/[$]LINENO.*/&-/
 
436
      t lineno
 
437
      b
 
438
      :lineno
 
439
      N
 
440
      :loop
 
441
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
442
      t loop
 
443
      s/-\n.*//
 
444
    ' >$as_me.lineno &&
 
445
  chmod +x "$as_me.lineno" ||
 
446
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
447
 
 
448
  # Don't try to exec as it changes $[0], causing all sort of problems
 
449
  # (the dirname of $[0] is not the place where we might find the
 
450
  # original and so on.  Autoconf is especially sensitive to this).
 
451
  . "./$as_me.lineno"
 
452
  # Exit status is that of the last command.
 
453
  exit
 
454
}
 
455
 
 
456
ECHO_C= ECHO_N= ECHO_T=
 
457
case `echo -n x` in #(((((
 
458
-n*)
 
459
  case `echo 'xy\c'` in
 
460
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
461
  xy)  ECHO_C='\c';;
 
462
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
463
       ECHO_T=' ';;
 
464
  esac;;
 
465
*)
 
466
  ECHO_N='-n';;
 
467
esac
 
468
 
 
469
rm -f conf$$ conf$$.exe conf$$.file
 
470
if test -d conf$$.dir; then
 
471
  rm -f conf$$.dir/conf$$.file
 
472
else
 
473
  rm -f conf$$.dir
 
474
  mkdir conf$$.dir 2>/dev/null
 
475
fi
 
476
if (echo >conf$$.file) 2>/dev/null; then
 
477
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
478
    as_ln_s='ln -s'
 
479
    # ... but there are two gotchas:
 
480
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
481
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
482
    # In both cases, we have to default to `cp -p'.
 
483
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
484
      as_ln_s='cp -p'
 
485
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
486
    as_ln_s=ln
 
487
  else
 
488
    as_ln_s='cp -p'
 
489
  fi
 
490
else
 
491
  as_ln_s='cp -p'
 
492
fi
 
493
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
494
rmdir conf$$.dir 2>/dev/null
 
495
 
 
496
if mkdir -p . 2>/dev/null; then
 
497
  as_mkdir_p='mkdir -p "$as_dir"'
 
498
else
 
499
  test -d ./-p && rmdir ./-p
 
500
  as_mkdir_p=false
 
501
fi
 
502
 
 
503
if test -x / >/dev/null 2>&1; then
 
504
  as_test_x='test -x'
 
505
else
 
506
  if ls -dL / >/dev/null 2>&1; then
 
507
    as_ls_L_option=L
 
508
  else
 
509
    as_ls_L_option=
 
510
  fi
 
511
  as_test_x='
 
512
    eval sh -c '\''
 
513
      if test -d "$1"; then
 
514
        test -d "$1/.";
 
515
      else
 
516
        case $1 in #(
 
517
        -*)set "./$1";;
 
518
        esac;
 
519
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
520
        ???[sx]*):;;*)false;;esac;fi
 
521
    '\'' sh
 
522
  '
 
523
fi
 
524
as_executable_p=$as_test_x
 
525
 
 
526
# Sed expression to map a string onto a valid CPP name.
 
527
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
528
 
 
529
# Sed expression to map a string onto a valid variable name.
 
530
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
531
 
 
532
 
 
533
test -n "$DJDIR" || exec 7<&0 </dev/null
 
534
exec 6>&1
 
535
 
 
536
# Name of the host.
 
537
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
538
# so uname gets run too.
 
539
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
540
 
 
541
#
 
542
# Initializations.
 
543
#
 
544
ac_default_prefix=/usr/local
 
545
ac_clean_files=
 
546
ac_config_libobj_dir=.
 
547
LIBOBJS=
 
548
cross_compiling=no
 
549
subdirs=
 
550
MFLAGS=
 
551
MAKEFLAGS=
 
552
 
 
553
# Identity of this package.
 
554
PACKAGE_NAME='BBDB'
 
555
PACKAGE_TARNAME='bbdb'
 
556
PACKAGE_VERSION='2.36'
 
557
PACKAGE_STRING='BBDB 2.36'
 
558
PACKAGE_BUGREPORT='bbdb-info@lists.sourceforge.net'
 
559
PACKAGE_URL=''
 
560
 
 
561
ac_unique_file="configure.ac"
 
562
ac_subst_vars='LTLIBOBJS
 
563
LIBOBJS
 
564
GREPCONTEXT
 
565
EMACS_FLAVOR
 
566
HUSHMAKE
 
567
BBDB_SRV
 
568
BBDB_REPORTMAIL
 
569
BBDB_SC
 
570
BBDB_LOADPATH
 
571
BBDB_MHE
 
572
BBDB_GNUS
 
573
BBDB_VM
 
574
BBDB_RMAIL
 
575
LINKPATH
 
576
SYMLINKS
 
577
PACKAGEDIR
 
578
OTHERDIRS
 
579
VMDIR
 
580
MHEDIR
 
581
GNUSDIR
 
582
EMACS_PROG
 
583
ETAGS
 
584
TEXI2DVI
 
585
MAKEINFO
 
586
COMPEXT
 
587
COMPRESS
 
588
TAR
 
589
GREP
 
590
RM
 
591
LN_S
 
592
INSTALL_DATA
 
593
INSTALL_SCRIPT
 
594
INSTALL_PROGRAM
 
595
SET_MAKE
 
596
target_alias
 
597
host_alias
 
598
build_alias
 
599
LIBS
 
600
ECHO_T
 
601
ECHO_N
 
602
ECHO_C
 
603
DEFS
 
604
mandir
 
605
localedir
 
606
libdir
 
607
psdir
 
608
pdfdir
 
609
dvidir
 
610
htmldir
 
611
infodir
 
612
docdir
 
613
oldincludedir
 
614
includedir
 
615
localstatedir
 
616
sharedstatedir
 
617
sysconfdir
 
618
datadir
 
619
datarootdir
 
620
libexecdir
 
621
sbindir
 
622
bindir
 
623
program_transform_name
 
624
prefix
 
625
exec_prefix
 
626
PACKAGE_URL
 
627
PACKAGE_BUGREPORT
 
628
PACKAGE_STRING
 
629
PACKAGE_VERSION
 
630
PACKAGE_TARNAME
 
631
PACKAGE_NAME
 
632
PATH_SEPARATOR
 
633
SHELL'
 
634
ac_subst_files=''
 
635
ac_user_opts='
 
636
enable_option_checking
 
637
with_emacs
 
638
with_gnus_dir
 
639
with_mhe_dir
 
640
with_vm_dir
 
641
enable_vm
 
642
enable_rmail
 
643
enable_gnus
 
644
enable_mhe
 
645
enable_developer
 
646
with_other_dirs
 
647
with_package_dir
 
648
with_symlinks
 
649
with_linkpath
 
650
'
 
651
      ac_precious_vars='build_alias
 
652
host_alias
 
653
target_alias'
 
654
 
 
655
 
 
656
# Initialize some variables set by options.
 
657
ac_init_help=
 
658
ac_init_version=false
 
659
ac_unrecognized_opts=
 
660
ac_unrecognized_sep=
 
661
# The variables have the same names as the options, with
 
662
# dashes changed to underlines.
 
663
cache_file=/dev/null
 
664
exec_prefix=NONE
 
665
no_create=
 
666
no_recursion=
 
667
prefix=NONE
 
668
program_prefix=NONE
 
669
program_suffix=NONE
 
670
program_transform_name=s,x,x,
 
671
silent=
 
672
site=
 
673
srcdir=
 
674
verbose=
 
675
x_includes=NONE
 
676
x_libraries=NONE
 
677
 
 
678
# Installation directory options.
 
679
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
680
# and all the variables that are supposed to be based on exec_prefix
 
681
# by default will actually change.
 
682
# Use braces instead of parens because sh, perl, etc. also accept them.
 
683
# (The list follows the same order as the GNU Coding Standards.)
 
684
bindir='${exec_prefix}/bin'
 
685
sbindir='${exec_prefix}/sbin'
 
686
libexecdir='${exec_prefix}/libexec'
 
687
datarootdir='${prefix}/share'
 
688
datadir='${datarootdir}'
 
689
sysconfdir='${prefix}/etc'
 
690
sharedstatedir='${prefix}/com'
 
691
localstatedir='${prefix}/var'
 
692
includedir='${prefix}/include'
 
693
oldincludedir='/usr/include'
 
694
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
695
infodir='${datarootdir}/info'
 
696
htmldir='${docdir}'
 
697
dvidir='${docdir}'
 
698
pdfdir='${docdir}'
 
699
psdir='${docdir}'
 
700
libdir='${exec_prefix}/lib'
 
701
localedir='${datarootdir}/locale'
 
702
mandir='${datarootdir}/man'
 
703
 
 
704
ac_prev=
 
705
ac_dashdash=
 
706
for ac_option
 
707
do
 
708
  # If the previous option needs an argument, assign it.
 
709
  if test -n "$ac_prev"; then
 
710
    eval $ac_prev=\$ac_option
 
711
    ac_prev=
 
712
    continue
 
713
  fi
 
714
 
 
715
  case $ac_option in
 
716
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
717
  *)    ac_optarg=yes ;;
 
718
  esac
 
719
 
 
720
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
721
 
 
722
  case $ac_dashdash$ac_option in
 
723
  --)
 
724
    ac_dashdash=yes ;;
 
725
 
 
726
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
727
    ac_prev=bindir ;;
 
728
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
729
    bindir=$ac_optarg ;;
 
730
 
 
731
  -build | --build | --buil | --bui | --bu)
 
732
    ac_prev=build_alias ;;
 
733
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
734
    build_alias=$ac_optarg ;;
 
735
 
 
736
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
737
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
738
    ac_prev=cache_file ;;
 
739
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
740
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
741
    cache_file=$ac_optarg ;;
 
742
 
 
743
  --config-cache | -C)
 
744
    cache_file=config.cache ;;
 
745
 
 
746
  -datadir | --datadir | --datadi | --datad)
 
747
    ac_prev=datadir ;;
 
748
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
749
    datadir=$ac_optarg ;;
 
750
 
 
751
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
752
  | --dataroo | --dataro | --datar)
 
753
    ac_prev=datarootdir ;;
 
754
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
755
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
756
    datarootdir=$ac_optarg ;;
 
757
 
 
758
  -disable-* | --disable-*)
 
759
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
760
    # Reject names that are not valid shell variable names.
 
761
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
762
      as_fn_error "invalid feature name: $ac_useropt"
 
763
    ac_useropt_orig=$ac_useropt
 
764
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
765
    case $ac_user_opts in
 
766
      *"
 
767
"enable_$ac_useropt"
 
768
"*) ;;
 
769
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
770
         ac_unrecognized_sep=', ';;
 
771
    esac
 
772
    eval enable_$ac_useropt=no ;;
 
773
 
 
774
  -docdir | --docdir | --docdi | --doc | --do)
 
775
    ac_prev=docdir ;;
 
776
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
777
    docdir=$ac_optarg ;;
 
778
 
 
779
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
780
    ac_prev=dvidir ;;
 
781
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
782
    dvidir=$ac_optarg ;;
 
783
 
 
784
  -enable-* | --enable-*)
 
785
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
786
    # Reject names that are not valid shell variable names.
 
787
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
788
      as_fn_error "invalid feature name: $ac_useropt"
 
789
    ac_useropt_orig=$ac_useropt
 
790
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
791
    case $ac_user_opts in
 
792
      *"
 
793
"enable_$ac_useropt"
 
794
"*) ;;
 
795
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
796
         ac_unrecognized_sep=', ';;
 
797
    esac
 
798
    eval enable_$ac_useropt=\$ac_optarg ;;
 
799
 
 
800
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
801
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
802
  | --exec | --exe | --ex)
 
803
    ac_prev=exec_prefix ;;
 
804
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
805
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
806
  | --exec=* | --exe=* | --ex=*)
 
807
    exec_prefix=$ac_optarg ;;
 
808
 
 
809
  -gas | --gas | --ga | --g)
 
810
    # Obsolete; use --with-gas.
 
811
    with_gas=yes ;;
 
812
 
 
813
  -help | --help | --hel | --he | -h)
 
814
    ac_init_help=long ;;
 
815
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
816
    ac_init_help=recursive ;;
 
817
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
818
    ac_init_help=short ;;
 
819
 
 
820
  -host | --host | --hos | --ho)
 
821
    ac_prev=host_alias ;;
 
822
  -host=* | --host=* | --hos=* | --ho=*)
 
823
    host_alias=$ac_optarg ;;
 
824
 
 
825
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
826
    ac_prev=htmldir ;;
 
827
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
828
  | --ht=*)
 
829
    htmldir=$ac_optarg ;;
 
830
 
 
831
  -includedir | --includedir | --includedi | --included | --include \
 
832
  | --includ | --inclu | --incl | --inc)
 
833
    ac_prev=includedir ;;
 
834
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
835
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
836
    includedir=$ac_optarg ;;
 
837
 
 
838
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
839
    ac_prev=infodir ;;
 
840
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
841
    infodir=$ac_optarg ;;
 
842
 
 
843
  -libdir | --libdir | --libdi | --libd)
 
844
    ac_prev=libdir ;;
 
845
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
846
    libdir=$ac_optarg ;;
 
847
 
 
848
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
849
  | --libexe | --libex | --libe)
 
850
    ac_prev=libexecdir ;;
 
851
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
852
  | --libexe=* | --libex=* | --libe=*)
 
853
    libexecdir=$ac_optarg ;;
 
854
 
 
855
  -localedir | --localedir | --localedi | --localed | --locale)
 
856
    ac_prev=localedir ;;
 
857
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
858
    localedir=$ac_optarg ;;
 
859
 
 
860
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
861
  | --localstate | --localstat | --localsta | --localst | --locals)
 
862
    ac_prev=localstatedir ;;
 
863
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
864
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
865
    localstatedir=$ac_optarg ;;
 
866
 
 
867
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
868
    ac_prev=mandir ;;
 
869
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
870
    mandir=$ac_optarg ;;
 
871
 
 
872
  -nfp | --nfp | --nf)
 
873
    # Obsolete; use --without-fp.
 
874
    with_fp=no ;;
 
875
 
 
876
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
877
  | --no-cr | --no-c | -n)
 
878
    no_create=yes ;;
 
879
 
 
880
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
881
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
882
    no_recursion=yes ;;
 
883
 
 
884
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
885
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
886
  | --oldin | --oldi | --old | --ol | --o)
 
887
    ac_prev=oldincludedir ;;
 
888
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
889
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
890
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
891
    oldincludedir=$ac_optarg ;;
 
892
 
 
893
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
894
    ac_prev=prefix ;;
 
895
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
896
    prefix=$ac_optarg ;;
 
897
 
 
898
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
899
  | --program-pre | --program-pr | --program-p)
 
900
    ac_prev=program_prefix ;;
 
901
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
902
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
903
    program_prefix=$ac_optarg ;;
 
904
 
 
905
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
906
  | --program-suf | --program-su | --program-s)
 
907
    ac_prev=program_suffix ;;
 
908
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
909
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
910
    program_suffix=$ac_optarg ;;
 
911
 
 
912
  -program-transform-name | --program-transform-name \
 
913
  | --program-transform-nam | --program-transform-na \
 
914
  | --program-transform-n | --program-transform- \
 
915
  | --program-transform | --program-transfor \
 
916
  | --program-transfo | --program-transf \
 
917
  | --program-trans | --program-tran \
 
918
  | --progr-tra | --program-tr | --program-t)
 
919
    ac_prev=program_transform_name ;;
 
920
  -program-transform-name=* | --program-transform-name=* \
 
921
  | --program-transform-nam=* | --program-transform-na=* \
 
922
  | --program-transform-n=* | --program-transform-=* \
 
923
  | --program-transform=* | --program-transfor=* \
 
924
  | --program-transfo=* | --program-transf=* \
 
925
  | --program-trans=* | --program-tran=* \
 
926
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
927
    program_transform_name=$ac_optarg ;;
 
928
 
 
929
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
930
    ac_prev=pdfdir ;;
 
931
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
932
    pdfdir=$ac_optarg ;;
 
933
 
 
934
  -psdir | --psdir | --psdi | --psd | --ps)
 
935
    ac_prev=psdir ;;
 
936
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
937
    psdir=$ac_optarg ;;
 
938
 
 
939
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
940
  | -silent | --silent | --silen | --sile | --sil)
 
941
    silent=yes ;;
 
942
 
 
943
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
944
    ac_prev=sbindir ;;
 
945
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
946
  | --sbi=* | --sb=*)
 
947
    sbindir=$ac_optarg ;;
 
948
 
 
949
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
950
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
951
  | --sharedst | --shareds | --shared | --share | --shar \
 
952
  | --sha | --sh)
 
953
    ac_prev=sharedstatedir ;;
 
954
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
955
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
956
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
957
  | --sha=* | --sh=*)
 
958
    sharedstatedir=$ac_optarg ;;
 
959
 
 
960
  -site | --site | --sit)
 
961
    ac_prev=site ;;
 
962
  -site=* | --site=* | --sit=*)
 
963
    site=$ac_optarg ;;
 
964
 
 
965
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
966
    ac_prev=srcdir ;;
 
967
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
968
    srcdir=$ac_optarg ;;
 
969
 
 
970
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
971
  | --syscon | --sysco | --sysc | --sys | --sy)
 
972
    ac_prev=sysconfdir ;;
 
973
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
974
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
975
    sysconfdir=$ac_optarg ;;
 
976
 
 
977
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
978
    ac_prev=target_alias ;;
 
979
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
980
    target_alias=$ac_optarg ;;
 
981
 
 
982
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
983
    verbose=yes ;;
 
984
 
 
985
  -version | --version | --versio | --versi | --vers | -V)
 
986
    ac_init_version=: ;;
 
987
 
 
988
  -with-* | --with-*)
 
989
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
990
    # Reject names that are not valid shell variable names.
 
991
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
992
      as_fn_error "invalid package name: $ac_useropt"
 
993
    ac_useropt_orig=$ac_useropt
 
994
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
995
    case $ac_user_opts in
 
996
      *"
 
997
"with_$ac_useropt"
 
998
"*) ;;
 
999
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1000
         ac_unrecognized_sep=', ';;
 
1001
    esac
 
1002
    eval with_$ac_useropt=\$ac_optarg ;;
 
1003
 
 
1004
  -without-* | --without-*)
 
1005
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1006
    # Reject names that are not valid shell variable names.
 
1007
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1008
      as_fn_error "invalid package name: $ac_useropt"
 
1009
    ac_useropt_orig=$ac_useropt
 
1010
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1011
    case $ac_user_opts in
 
1012
      *"
 
1013
"with_$ac_useropt"
 
1014
"*) ;;
 
1015
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1016
         ac_unrecognized_sep=', ';;
 
1017
    esac
 
1018
    eval with_$ac_useropt=no ;;
 
1019
 
 
1020
  --x)
 
1021
    # Obsolete; use --with-x.
 
1022
    with_x=yes ;;
 
1023
 
 
1024
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1025
  | --x-incl | --x-inc | --x-in | --x-i)
 
1026
    ac_prev=x_includes ;;
 
1027
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1028
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1029
    x_includes=$ac_optarg ;;
 
1030
 
 
1031
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1032
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1033
    ac_prev=x_libraries ;;
 
1034
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1035
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1036
    x_libraries=$ac_optarg ;;
 
1037
 
 
1038
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1039
Try \`$0 --help' for more information."
 
1040
    ;;
 
1041
 
 
1042
  *=*)
 
1043
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1044
    # Reject names that are not valid shell variable names.
 
1045
    case $ac_envvar in #(
 
1046
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1047
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1048
    esac
 
1049
    eval $ac_envvar=\$ac_optarg
 
1050
    export $ac_envvar ;;
 
1051
 
 
1052
  *)
 
1053
    # FIXME: should be removed in autoconf 3.0.
 
1054
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1055
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1056
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1057
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1058
    ;;
 
1059
 
 
1060
  esac
 
1061
done
 
1062
 
 
1063
if test -n "$ac_prev"; then
 
1064
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1065
  as_fn_error "missing argument to $ac_option"
 
1066
fi
 
1067
 
 
1068
if test -n "$ac_unrecognized_opts"; then
 
1069
  case $enable_option_checking in
 
1070
    no) ;;
 
1071
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1072
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1073
  esac
 
1074
fi
 
1075
 
 
1076
# Check all directory arguments for consistency.
 
1077
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1078
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1079
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1080
                libdir localedir mandir
 
1081
do
 
1082
  eval ac_val=\$$ac_var
 
1083
  # Remove trailing slashes.
 
1084
  case $ac_val in
 
1085
    */ )
 
1086
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1087
      eval $ac_var=\$ac_val;;
 
1088
  esac
 
1089
  # Be sure to have absolute directory names.
 
1090
  case $ac_val in
 
1091
    [\\/$]* | ?:[\\/]* )  continue;;
 
1092
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1093
  esac
 
1094
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1095
done
 
1096
 
 
1097
# There might be people who depend on the old broken behavior: `$host'
 
1098
# used to hold the argument of --host etc.
 
1099
# FIXME: To remove some day.
 
1100
build=$build_alias
 
1101
host=$host_alias
 
1102
target=$target_alias
 
1103
 
 
1104
# FIXME: To remove some day.
 
1105
if test "x$host_alias" != x; then
 
1106
  if test "x$build_alias" = x; then
 
1107
    cross_compiling=maybe
 
1108
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1109
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1110
  elif test "x$build_alias" != "x$host_alias"; then
 
1111
    cross_compiling=yes
 
1112
  fi
 
1113
fi
 
1114
 
 
1115
ac_tool_prefix=
 
1116
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1117
 
 
1118
test "$silent" = yes && exec 6>/dev/null
 
1119
 
 
1120
 
 
1121
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1122
ac_ls_di=`ls -di .` &&
 
1123
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1124
  as_fn_error "working directory cannot be determined"
 
1125
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1126
  as_fn_error "pwd does not report name of working directory"
 
1127
 
 
1128
 
 
1129
# Find the source files, if location was not specified.
 
1130
if test -z "$srcdir"; then
 
1131
  ac_srcdir_defaulted=yes
 
1132
  # Try the directory containing this script, then the parent directory.
 
1133
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1134
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1135
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1136
         X"$as_myself" : 'X\(//\)$' \| \
 
1137
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1138
$as_echo X"$as_myself" |
 
1139
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1140
            s//\1/
 
1141
            q
 
1142
          }
 
1143
          /^X\(\/\/\)[^/].*/{
 
1144
            s//\1/
 
1145
            q
 
1146
          }
 
1147
          /^X\(\/\/\)$/{
 
1148
            s//\1/
 
1149
            q
 
1150
          }
 
1151
          /^X\(\/\).*/{
 
1152
            s//\1/
 
1153
            q
 
1154
          }
 
1155
          s/.*/./; q'`
 
1156
  srcdir=$ac_confdir
 
1157
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1158
    srcdir=..
 
1159
  fi
 
1160
else
 
1161
  ac_srcdir_defaulted=no
 
1162
fi
 
1163
if test ! -r "$srcdir/$ac_unique_file"; then
 
1164
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1165
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1166
fi
 
1167
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1168
ac_abs_confdir=`(
 
1169
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1170
        pwd)`
 
1171
# When building in place, set srcdir=.
 
1172
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1173
  srcdir=.
 
1174
fi
 
1175
# Remove unnecessary trailing slashes from srcdir.
 
1176
# Double slashes in file names in object file debugging info
 
1177
# mess up M-x gdb in Emacs.
 
1178
case $srcdir in
 
1179
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1180
esac
 
1181
for ac_var in $ac_precious_vars; do
 
1182
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1183
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1184
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1185
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1186
done
 
1187
 
 
1188
#
 
1189
# Report the --help message.
 
1190
#
 
1191
if test "$ac_init_help" = "long"; then
 
1192
  # Omit some internal or obsolete options to make the list less imposing.
 
1193
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1194
  cat <<_ACEOF
 
1195
\`configure' configures BBDB 2.36 to adapt to many kinds of systems.
 
1196
 
 
1197
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1198
 
 
1199
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1200
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1201
 
 
1202
Defaults for the options are specified in brackets.
 
1203
 
 
1204
Configuration:
 
1205
  -h, --help              display this help and exit
 
1206
      --help=short        display options specific to this package
 
1207
      --help=recursive    display the short help of all the included packages
 
1208
  -V, --version           display version information and exit
 
1209
  -q, --quiet, --silent   do not print \`checking...' messages
 
1210
      --cache-file=FILE   cache test results in FILE [disabled]
 
1211
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1212
  -n, --no-create         do not create output files
 
1213
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1214
 
 
1215
Installation directories:
 
1216
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1217
                          [$ac_default_prefix]
 
1218
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1219
                          [PREFIX]
 
1220
 
 
1221
By default, \`make install' will install all the files in
 
1222
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1223
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1224
for instance \`--prefix=\$HOME'.
 
1225
 
 
1226
For better control, use the options below.
 
1227
 
 
1228
Fine tuning of the installation directories:
 
1229
  --bindir=DIR            user executables [EPREFIX/bin]
 
1230
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1231
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1232
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1233
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1234
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1235
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1236
  --includedir=DIR        C header files [PREFIX/include]
 
1237
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1238
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1239
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1240
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1241
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1242
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1243
  --docdir=DIR            documentation root [DATAROOTDIR/doc/bbdb]
 
1244
  --htmldir=DIR           html documentation [DOCDIR]
 
1245
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1246
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1247
  --psdir=DIR             ps documentation [DOCDIR]
 
1248
_ACEOF
 
1249
 
 
1250
  cat <<\_ACEOF
 
1251
_ACEOF
 
1252
fi
 
1253
 
 
1254
if test -n "$ac_init_help"; then
 
1255
  case $ac_init_help in
 
1256
     short | recursive ) echo "Configuration of BBDB 2.36:";;
 
1257
   esac
 
1258
  cat <<\_ACEOF
 
1259
 
 
1260
Optional Features:
 
1261
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1262
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1263
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1264
  --enable-vm             enable VM hooks (default depends on --with-vm-dir)
 
1265
  --enable-rmail          enable RMAIL hooks [[no]]
 
1266
  --enable-gnus           enable GNUS hooks [[yes]]
 
1267
  --enable-mhe            enable MH-E hooks (default depends on
 
1268
                          --with-mhe-dir)
 
1269
  --enable-developer      enable developer hooks [[no]]
 
1270
 
 
1271
Optional Packages:
 
1272
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1273
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1274
  --with-emacs=PROG       choose which flavor of Emacs to use
 
1275
  --with-gnus-dir=DIR     set the location of Gnus to DIR
 
1276
  --with-mhe-dir=DIR      set the location of Mh-E to DIR
 
1277
  --with-vm-dir=DIR       set the location of VM to DIR
 
1278
  --with-other-dirs=DIRS  set other needed directories (a list of space or
 
1279
                          colon separated paths)
 
1280
  --with-package-dir=DIR  set the XEmacs package directory to DIR
 
1281
                          [[/usr/lib/xemacs/site-packages]]
 
1282
  --with-symlinks         install BBDB by linking instead of copying [[no]]
 
1283
  --with-linkpath=PATH    path to symlink from if `pwd' does not work
 
1284
 
 
1285
Report bugs to <bbdb-info@lists.sourceforge.net>.
 
1286
_ACEOF
 
1287
ac_status=$?
 
1288
fi
 
1289
 
 
1290
if test "$ac_init_help" = "recursive"; then
 
1291
  # If there are subdirs, report their specific --help.
 
1292
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1293
    test -d "$ac_dir" ||
 
1294
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1295
      continue
 
1296
    ac_builddir=.
 
1297
 
 
1298
case "$ac_dir" in
 
1299
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1300
*)
 
1301
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1302
  # A ".." for each directory in $ac_dir_suffix.
 
1303
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1304
  case $ac_top_builddir_sub in
 
1305
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1306
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1307
  esac ;;
 
1308
esac
 
1309
ac_abs_top_builddir=$ac_pwd
 
1310
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1311
# for backward compatibility:
 
1312
ac_top_builddir=$ac_top_build_prefix
 
1313
 
 
1314
case $srcdir in
 
1315
  .)  # We are building in place.
 
1316
    ac_srcdir=.
 
1317
    ac_top_srcdir=$ac_top_builddir_sub
 
1318
    ac_abs_top_srcdir=$ac_pwd ;;
 
1319
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1320
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1321
    ac_top_srcdir=$srcdir
 
1322
    ac_abs_top_srcdir=$srcdir ;;
 
1323
  *) # Relative name.
 
1324
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1325
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1326
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1327
esac
 
1328
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1329
 
 
1330
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1331
    # Check for guested configure.
 
1332
    if test -f "$ac_srcdir/configure.gnu"; then
 
1333
      echo &&
 
1334
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1335
    elif test -f "$ac_srcdir/configure"; then
 
1336
      echo &&
 
1337
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1338
    else
 
1339
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1340
    fi || ac_status=$?
 
1341
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1342
  done
 
1343
fi
 
1344
 
 
1345
test -n "$ac_init_help" && exit $ac_status
 
1346
if $ac_init_version; then
 
1347
  cat <<\_ACEOF
 
1348
BBDB configure 2.36
 
1349
generated by GNU Autoconf 2.65
 
1350
 
 
1351
Copyright (C) 2009 Free Software Foundation, Inc.
 
1352
This configure script is free software; the Free Software Foundation
 
1353
gives unlimited permission to copy, distribute and modify it.
 
1354
 
 
1355
Copyright (C) 2000-2001 Didier Verna <didier@xemacs.org>.
 
1356
_ACEOF
 
1357
  exit
 
1358
fi
 
1359
 
 
1360
## ------------------------ ##
 
1361
## Autoconf initialization. ##
 
1362
## ------------------------ ##
 
1363
cat >config.log <<_ACEOF
 
1364
This file contains any messages produced by compilers while
 
1365
running configure, to aid debugging if configure makes a mistake.
 
1366
 
 
1367
It was created by BBDB $as_me 2.36, which was
 
1368
generated by GNU Autoconf 2.65.  Invocation command line was
 
1369
 
 
1370
  $ $0 $@
 
1371
 
 
1372
_ACEOF
 
1373
exec 5>>config.log
 
1374
{
 
1375
cat <<_ASUNAME
 
1376
## --------- ##
 
1377
## Platform. ##
 
1378
## --------- ##
 
1379
 
 
1380
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1381
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1382
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1383
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1384
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1385
 
 
1386
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1387
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1388
 
 
1389
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1390
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1391
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1392
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1393
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1394
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1395
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1396
 
 
1397
_ASUNAME
 
1398
 
 
1399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1400
for as_dir in $PATH
 
1401
do
 
1402
  IFS=$as_save_IFS
 
1403
  test -z "$as_dir" && as_dir=.
 
1404
    $as_echo "PATH: $as_dir"
 
1405
  done
 
1406
IFS=$as_save_IFS
 
1407
 
 
1408
} >&5
 
1409
 
 
1410
cat >&5 <<_ACEOF
 
1411
 
 
1412
 
 
1413
## ----------- ##
 
1414
## Core tests. ##
 
1415
## ----------- ##
 
1416
 
 
1417
_ACEOF
 
1418
 
 
1419
 
 
1420
# Keep a trace of the command line.
 
1421
# Strip out --no-create and --no-recursion so they do not pile up.
 
1422
# Strip out --silent because we don't want to record it for future runs.
 
1423
# Also quote any args containing shell meta-characters.
 
1424
# Make two passes to allow for proper duplicate-argument suppression.
 
1425
ac_configure_args=
 
1426
ac_configure_args0=
 
1427
ac_configure_args1=
 
1428
ac_must_keep_next=false
 
1429
for ac_pass in 1 2
 
1430
do
 
1431
  for ac_arg
 
1432
  do
 
1433
    case $ac_arg in
 
1434
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1435
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1436
    | -silent | --silent | --silen | --sile | --sil)
 
1437
      continue ;;
 
1438
    *\'*)
 
1439
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1440
    esac
 
1441
    case $ac_pass in
 
1442
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
1443
    2)
 
1444
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
1445
      if test $ac_must_keep_next = true; then
 
1446
        ac_must_keep_next=false # Got value, back to normal.
 
1447
      else
 
1448
        case $ac_arg in
 
1449
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1450
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1451
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1452
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1453
            case "$ac_configure_args0 " in
 
1454
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1455
            esac
 
1456
            ;;
 
1457
          -* ) ac_must_keep_next=true ;;
 
1458
        esac
 
1459
      fi
 
1460
      as_fn_append ac_configure_args " '$ac_arg'"
 
1461
      ;;
 
1462
    esac
 
1463
  done
 
1464
done
 
1465
{ ac_configure_args0=; unset ac_configure_args0;}
 
1466
{ ac_configure_args1=; unset ac_configure_args1;}
 
1467
 
 
1468
# When interrupted or exit'd, cleanup temporary files, and complete
 
1469
# config.log.  We remove comments because anyway the quotes in there
 
1470
# would cause problems or look ugly.
 
1471
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1472
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
1473
trap 'exit_status=$?
 
1474
  # Save into config.log some information that might help in debugging.
 
1475
  {
 
1476
    echo
 
1477
 
 
1478
    cat <<\_ASBOX
 
1479
## ---------------- ##
 
1480
## Cache variables. ##
 
1481
## ---------------- ##
 
1482
_ASBOX
 
1483
    echo
 
1484
    # The following way of writing the cache mishandles newlines in values,
 
1485
(
 
1486
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1487
    eval ac_val=\$$ac_var
 
1488
    case $ac_val in #(
 
1489
    *${as_nl}*)
 
1490
      case $ac_var in #(
 
1491
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1492
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1493
      esac
 
1494
      case $ac_var in #(
 
1495
      _ | IFS | as_nl) ;; #(
 
1496
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1497
      *) { eval $ac_var=; unset $ac_var;} ;;
 
1498
      esac ;;
 
1499
    esac
 
1500
  done
 
1501
  (set) 2>&1 |
 
1502
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1503
    *${as_nl}ac_space=\ *)
 
1504
      sed -n \
 
1505
        "s/'\''/'\''\\\\'\'''\''/g;
 
1506
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1507
      ;; #(
 
1508
    *)
 
1509
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
1510
      ;;
 
1511
    esac |
 
1512
    sort
 
1513
)
 
1514
    echo
 
1515
 
 
1516
    cat <<\_ASBOX
 
1517
## ----------------- ##
 
1518
## Output variables. ##
 
1519
## ----------------- ##
 
1520
_ASBOX
 
1521
    echo
 
1522
    for ac_var in $ac_subst_vars
 
1523
    do
 
1524
      eval ac_val=\$$ac_var
 
1525
      case $ac_val in
 
1526
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1527
      esac
 
1528
      $as_echo "$ac_var='\''$ac_val'\''"
 
1529
    done | sort
 
1530
    echo
 
1531
 
 
1532
    if test -n "$ac_subst_files"; then
 
1533
      cat <<\_ASBOX
 
1534
## ------------------- ##
 
1535
## File substitutions. ##
 
1536
## ------------------- ##
 
1537
_ASBOX
 
1538
      echo
 
1539
      for ac_var in $ac_subst_files
 
1540
      do
 
1541
        eval ac_val=\$$ac_var
 
1542
        case $ac_val in
 
1543
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1544
        esac
 
1545
        $as_echo "$ac_var='\''$ac_val'\''"
 
1546
      done | sort
 
1547
      echo
 
1548
    fi
 
1549
 
 
1550
    if test -s confdefs.h; then
 
1551
      cat <<\_ASBOX
 
1552
## ----------- ##
 
1553
## confdefs.h. ##
 
1554
## ----------- ##
 
1555
_ASBOX
 
1556
      echo
 
1557
      cat confdefs.h
 
1558
      echo
 
1559
    fi
 
1560
    test "$ac_signal" != 0 &&
 
1561
      $as_echo "$as_me: caught signal $ac_signal"
 
1562
    $as_echo "$as_me: exit $exit_status"
 
1563
  } >&5
 
1564
  rm -f core *.core core.conftest.* &&
 
1565
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
1566
    exit $exit_status
 
1567
' 0
 
1568
for ac_signal in 1 2 13 15; do
 
1569
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
1570
done
 
1571
ac_signal=0
 
1572
 
 
1573
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
1574
rm -f -r conftest* confdefs.h
 
1575
 
 
1576
$as_echo "/* confdefs.h */" > confdefs.h
 
1577
 
 
1578
# Predefined preprocessor variables.
 
1579
 
 
1580
cat >>confdefs.h <<_ACEOF
 
1581
#define PACKAGE_NAME "$PACKAGE_NAME"
 
1582
_ACEOF
 
1583
 
 
1584
cat >>confdefs.h <<_ACEOF
 
1585
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
1586
_ACEOF
 
1587
 
 
1588
cat >>confdefs.h <<_ACEOF
 
1589
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
1590
_ACEOF
 
1591
 
 
1592
cat >>confdefs.h <<_ACEOF
 
1593
#define PACKAGE_STRING "$PACKAGE_STRING"
 
1594
_ACEOF
 
1595
 
 
1596
cat >>confdefs.h <<_ACEOF
 
1597
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
1598
_ACEOF
 
1599
 
 
1600
cat >>confdefs.h <<_ACEOF
 
1601
#define PACKAGE_URL "$PACKAGE_URL"
 
1602
_ACEOF
 
1603
 
 
1604
 
 
1605
# Let the site file select an alternate cache file if it wants to.
 
1606
# Prefer an explicitly selected file to automatically selected ones.
 
1607
ac_site_file1=NONE
 
1608
ac_site_file2=NONE
 
1609
if test -n "$CONFIG_SITE"; then
 
1610
  ac_site_file1=$CONFIG_SITE
 
1611
elif test "x$prefix" != xNONE; then
 
1612
  ac_site_file1=$prefix/share/config.site
 
1613
  ac_site_file2=$prefix/etc/config.site
 
1614
else
 
1615
  ac_site_file1=$ac_default_prefix/share/config.site
 
1616
  ac_site_file2=$ac_default_prefix/etc/config.site
 
1617
fi
 
1618
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
1619
do
 
1620
  test "x$ac_site_file" = xNONE && continue
 
1621
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
1622
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
1623
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
1624
    sed 's/^/| /' "$ac_site_file" >&5
 
1625
    . "$ac_site_file"
 
1626
  fi
 
1627
done
 
1628
 
 
1629
if test -r "$cache_file"; then
 
1630
  # Some versions of bash will fail to source /dev/null (special files
 
1631
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
1632
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
1633
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
1634
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
1635
    case $cache_file in
 
1636
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1637
      *)                      . "./$cache_file";;
 
1638
    esac
 
1639
  fi
 
1640
else
 
1641
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
1642
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
1643
  >$cache_file
 
1644
fi
 
1645
 
 
1646
# Check that the precious variables saved in the cache have kept the same
 
1647
# value.
 
1648
ac_cache_corrupted=false
 
1649
for ac_var in $ac_precious_vars; do
 
1650
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
1651
  eval ac_new_set=\$ac_env_${ac_var}_set
 
1652
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1653
  eval ac_new_val=\$ac_env_${ac_var}_value
 
1654
  case $ac_old_set,$ac_new_set in
 
1655
    set,)
 
1656
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1657
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1658
      ac_cache_corrupted=: ;;
 
1659
    ,set)
 
1660
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
1661
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1662
      ac_cache_corrupted=: ;;
 
1663
    ,);;
 
1664
    *)
 
1665
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
1666
        # differences in whitespace do not lead to failure.
 
1667
        ac_old_val_w=`echo x $ac_old_val`
 
1668
        ac_new_val_w=`echo x $ac_new_val`
 
1669
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1670
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
1671
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1672
          ac_cache_corrupted=:
 
1673
        else
 
1674
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1675
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1676
          eval $ac_var=\$ac_old_val
 
1677
        fi
 
1678
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
1679
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1680
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
1681
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
1682
      fi;;
 
1683
  esac
 
1684
  # Pass precious variables to config.status.
 
1685
  if test "$ac_new_set" = set; then
 
1686
    case $ac_new_val in
 
1687
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1688
    *) ac_arg=$ac_var=$ac_new_val ;;
 
1689
    esac
 
1690
    case " $ac_configure_args " in
 
1691
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
1692
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
1693
    esac
 
1694
  fi
 
1695
done
 
1696
if $ac_cache_corrupted; then
 
1697
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
1698
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1699
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
1700
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1701
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
1702
fi
 
1703
## -------------------- ##
 
1704
## Main body of script. ##
 
1705
## -------------------- ##
 
1706
 
 
1707
ac_ext=c
 
1708
ac_cpp='$CPP $CPPFLAGS'
 
1709
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
1710
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
1711
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
1712
 
 
1713
 
 
1714
 
 
1715
 
 
1716
 
 
1717
 
 
1718
ac_config_files="$ac_config_files Makefile lisp/Makefile texinfo/Makefile tex/Makefile utils/Makefile"
 
1719
 
 
1720
 
 
1721
if [ -d testing ]
 
1722
then
 
1723
  ac_config_files="$ac_config_files testing/Makefile"
 
1724
 
 
1725
fi
 
1726
 
 
1727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1728
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
1729
set x ${MAKE-make}
 
1730
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
1731
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1732
  $as_echo_n "(cached) " >&6
 
1733
else
 
1734
  cat >conftest.make <<\_ACEOF
 
1735
SHELL = /bin/sh
 
1736
all:
 
1737
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
1738
_ACEOF
 
1739
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
1740
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
1741
  *@@@%%%=?*=@@@%%%*)
 
1742
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
1743
  *)
 
1744
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
1745
esac
 
1746
rm -f conftest.make
 
1747
fi
 
1748
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
1749
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
1750
$as_echo "yes" >&6; }
 
1751
  SET_MAKE=
 
1752
else
 
1753
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1754
$as_echo "no" >&6; }
 
1755
  SET_MAKE="MAKE=${MAKE-make}"
 
1756
fi
 
1757
 
 
1758
ac_aux_dir=
 
1759
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1760
  for ac_t in install-sh install.sh shtool; do
 
1761
    if test -f "$ac_dir/$ac_t"; then
 
1762
      ac_aux_dir=$ac_dir
 
1763
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
1764
      break 2
 
1765
    fi
 
1766
  done
 
1767
done
 
1768
if test -z "$ac_aux_dir"; then
 
1769
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
1770
fi
 
1771
 
 
1772
# These three variables are undocumented and unsupported,
 
1773
# and are intended to be withdrawn in a future Autoconf release.
 
1774
# They can cause serious problems if a builder's source tree is in a directory
 
1775
# whose full name contains unusual characters.
 
1776
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1777
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1778
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1779
 
 
1780
 
 
1781
# Find a good install program.  We prefer a C program (faster),
 
1782
# so one script is as good as another.  But avoid the broken or
 
1783
# incompatible versions:
 
1784
# SysV /etc/install, /usr/sbin/install
 
1785
# SunOS /usr/etc/install
 
1786
# IRIX /sbin/install
 
1787
# AIX /bin/install
 
1788
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
1789
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
1790
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
1791
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1792
# OS/2's system install, which has a completely different semantic
 
1793
# ./install, which can be erroneously created by make from ./install.sh.
 
1794
# Reject install programs that cannot install multiple files.
 
1795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
1796
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
1797
if test -z "$INSTALL"; then
 
1798
if test "${ac_cv_path_install+set}" = set; then :
 
1799
  $as_echo_n "(cached) " >&6
 
1800
else
 
1801
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1802
for as_dir in $PATH
 
1803
do
 
1804
  IFS=$as_save_IFS
 
1805
  test -z "$as_dir" && as_dir=.
 
1806
    # Account for people who put trailing slashes in PATH elements.
 
1807
case $as_dir/ in #((
 
1808
  ./ | .// | /[cC]/* | \
 
1809
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1810
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
1811
  /usr/ucb/* ) ;;
 
1812
  *)
 
1813
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
1814
    # Don't use installbsd from OSF since it installs stuff as root
 
1815
    # by default.
 
1816
    for ac_prog in ginstall scoinst install; do
 
1817
      for ac_exec_ext in '' $ac_executable_extensions; do
 
1818
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
1819
          if test $ac_prog = install &&
 
1820
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1821
            # AIX install.  It has an incompatible calling convention.
 
1822
            :
 
1823
          elif test $ac_prog = install &&
 
1824
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1825
            # program-specific install script used by HP pwplus--don't use.
 
1826
            :
 
1827
          else
 
1828
            rm -rf conftest.one conftest.two conftest.dir
 
1829
            echo one > conftest.one
 
1830
            echo two > conftest.two
 
1831
            mkdir conftest.dir
 
1832
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
1833
              test -s conftest.one && test -s conftest.two &&
 
1834
              test -s conftest.dir/conftest.one &&
 
1835
              test -s conftest.dir/conftest.two
 
1836
            then
 
1837
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1838
              break 3
 
1839
            fi
 
1840
          fi
 
1841
        fi
 
1842
      done
 
1843
    done
 
1844
    ;;
 
1845
esac
 
1846
 
 
1847
  done
 
1848
IFS=$as_save_IFS
 
1849
 
 
1850
rm -rf conftest.one conftest.two conftest.dir
 
1851
 
 
1852
fi
 
1853
  if test "${ac_cv_path_install+set}" = set; then
 
1854
    INSTALL=$ac_cv_path_install
 
1855
  else
 
1856
    # As a last resort, use the slow shell script.  Don't cache a
 
1857
    # value for INSTALL within a source directory, because that will
 
1858
    # break other packages using the cache if that directory is
 
1859
    # removed, or if the value is a relative name.
 
1860
    INSTALL=$ac_install_sh
 
1861
  fi
 
1862
fi
 
1863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
1864
$as_echo "$INSTALL" >&6; }
 
1865
 
 
1866
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
1867
# It thinks the first close brace ends the variable substitution.
 
1868
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
1869
 
 
1870
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
1871
 
 
1872
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
1873
 
 
1874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
1875
$as_echo_n "checking whether ln -s works... " >&6; }
 
1876
LN_S=$as_ln_s
 
1877
if test "$LN_S" = "ln -s"; then
 
1878
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
1879
$as_echo "yes" >&6; }
 
1880
else
 
1881
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
1882
$as_echo "no, using $LN_S" >&6; }
 
1883
fi
 
1884
 
 
1885
# Extract the first word of "rm", so it can be a program name with args.
 
1886
set dummy rm; ac_word=$2
 
1887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1888
$as_echo_n "checking for $ac_word... " >&6; }
 
1889
if test "${ac_cv_path_RM+set}" = set; then :
 
1890
  $as_echo_n "(cached) " >&6
 
1891
else
 
1892
  case $RM in
 
1893
  [\\/]* | ?:[\\/]*)
 
1894
  ac_cv_path_RM="$RM" # Let the user override the test with a path.
 
1895
  ;;
 
1896
  *)
 
1897
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1898
for as_dir in $PATH
 
1899
do
 
1900
  IFS=$as_save_IFS
 
1901
  test -z "$as_dir" && as_dir=.
 
1902
    for ac_exec_ext in '' $ac_executable_extensions; do
 
1903
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1904
    ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
 
1905
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1906
    break 2
 
1907
  fi
 
1908
done
 
1909
  done
 
1910
IFS=$as_save_IFS
 
1911
 
 
1912
  test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
 
1913
  ;;
 
1914
esac
 
1915
fi
 
1916
RM=$ac_cv_path_RM
 
1917
if test -n "$RM"; then
 
1918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
 
1919
$as_echo "$RM" >&6; }
 
1920
else
 
1921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1922
$as_echo "no" >&6; }
 
1923
fi
 
1924
 
 
1925
 
 
1926
# Extract the first word of "grep", so it can be a program name with args.
 
1927
set dummy grep; ac_word=$2
 
1928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1929
$as_echo_n "checking for $ac_word... " >&6; }
 
1930
if test "${ac_cv_path_GREP+set}" = set; then :
 
1931
  $as_echo_n "(cached) " >&6
 
1932
else
 
1933
  case $GREP in
 
1934
  [\\/]* | ?:[\\/]*)
 
1935
  ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
 
1936
  ;;
 
1937
  *)
 
1938
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1939
for as_dir in $PATH
 
1940
do
 
1941
  IFS=$as_save_IFS
 
1942
  test -z "$as_dir" && as_dir=.
 
1943
    for ac_exec_ext in '' $ac_executable_extensions; do
 
1944
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1945
    ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
 
1946
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1947
    break 2
 
1948
  fi
 
1949
done
 
1950
  done
 
1951
IFS=$as_save_IFS
 
1952
 
 
1953
  test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="/bin/grep"
 
1954
  ;;
 
1955
esac
 
1956
fi
 
1957
GREP=$ac_cv_path_GREP
 
1958
if test -n "$GREP"; then
 
1959
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5
 
1960
$as_echo "$GREP" >&6; }
 
1961
else
 
1962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1963
$as_echo "no" >&6; }
 
1964
fi
 
1965
 
 
1966
 
 
1967
 
 
1968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for my keys" >&5
 
1969
$as_echo_n "checking for my keys... " >&6; }
 
1970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
 
1971
$as_echo "not found" >&6; }
 
1972
echo "Damn! I'm locked outside :-("
 
1973
 
 
1974
 for ac_prog in gtar tar
 
1975
do
 
1976
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1977
set dummy $ac_prog; ac_word=$2
 
1978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1979
$as_echo_n "checking for $ac_word... " >&6; }
 
1980
if test "${ac_cv_prog_TAR+set}" = set; then :
 
1981
  $as_echo_n "(cached) " >&6
 
1982
else
 
1983
  if test -n "$TAR"; then
 
1984
  ac_cv_prog_TAR="$TAR" # Let the user override the test.
 
1985
else
 
1986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1987
for as_dir in $PATH
 
1988
do
 
1989
  IFS=$as_save_IFS
 
1990
  test -z "$as_dir" && as_dir=.
 
1991
    for ac_exec_ext in '' $ac_executable_extensions; do
 
1992
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1993
    ac_cv_prog_TAR="$ac_prog"
 
1994
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1995
    break 2
 
1996
  fi
 
1997
done
 
1998
  done
 
1999
IFS=$as_save_IFS
 
2000
 
 
2001
fi
 
2002
fi
 
2003
TAR=$ac_cv_prog_TAR
 
2004
if test -n "$TAR"; then
 
2005
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
 
2006
$as_echo "$TAR" >&6; }
 
2007
else
 
2008
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2009
$as_echo "no" >&6; }
 
2010
fi
 
2011
 
 
2012
 
 
2013
  test -n "$TAR" && break
 
2014
done
 
2015
 
 
2016
    if test "x${TAR}" = "xtar" ; then
 
2017
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking that tar is GNU tar" >&5
 
2018
$as_echo_n "checking that tar is GNU tar... " >&6; }
 
2019
      ${TAR} --version > /dev/null 2>&1 || TAR=
 
2020
      if test "x${TAR}" = "x" ; then
 
2021
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2022
$as_echo "no" >&6; }
 
2023
      else
 
2024
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2025
$as_echo "yes" >&6; }
 
2026
      fi
 
2027
    fi
 
2028
    if test "x${TAR}" = "x" ; then
 
2029
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** No GNU tar program found." >&5
 
2030
$as_echo "$as_me: WARNING: *** No GNU tar program found." >&2;}
 
2031
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Some targets will be unavailable." >&5
 
2032
$as_echo "$as_me: WARNING: *** Some targets will be unavailable." >&2;}
 
2033
    fi
 
2034
 for ac_prog in gzip compress
 
2035
do
 
2036
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2037
set dummy $ac_prog; ac_word=$2
 
2038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2039
$as_echo_n "checking for $ac_word... " >&6; }
 
2040
if test "${ac_cv_prog_COMPRESS+set}" = set; then :
 
2041
  $as_echo_n "(cached) " >&6
 
2042
else
 
2043
  if test -n "$COMPRESS"; then
 
2044
  ac_cv_prog_COMPRESS="$COMPRESS" # Let the user override the test.
 
2045
else
 
2046
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2047
for as_dir in $PATH
 
2048
do
 
2049
  IFS=$as_save_IFS
 
2050
  test -z "$as_dir" && as_dir=.
 
2051
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2052
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2053
    ac_cv_prog_COMPRESS="$ac_prog"
 
2054
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2055
    break 2
 
2056
  fi
 
2057
done
 
2058
  done
 
2059
IFS=$as_save_IFS
 
2060
 
 
2061
fi
 
2062
fi
 
2063
COMPRESS=$ac_cv_prog_COMPRESS
 
2064
if test -n "$COMPRESS"; then
 
2065
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5
 
2066
$as_echo "$COMPRESS" >&6; }
 
2067
else
 
2068
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2069
$as_echo "no" >&6; }
 
2070
fi
 
2071
 
 
2072
 
 
2073
  test -n "$COMPRESS" && break
 
2074
done
 
2075
 
 
2076
 
 
2077
    if test "x${COMPRESS}" = "x" ; then
 
2078
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** No compression program found." >&5
 
2079
$as_echo "$as_me: WARNING: *** No compression program found." >&2;}
 
2080
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Tarballs will not be compressed." >&5
 
2081
$as_echo "$as_me: WARNING: *** Tarballs will not be compressed." >&2;}
 
2082
      COMPEXT=
 
2083
    elif test "x${COMPRESS}" = "xgzip" ; then
 
2084
      COMPRESS="gzip --verbose --best"
 
2085
      COMPEXT=gz
 
2086
    else
 
2087
      COMPEXT=Z
 
2088
    fi
 
2089
 # Extract the first word of "makeinfo", so it can be a program name with args.
 
2090
set dummy makeinfo; ac_word=$2
 
2091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2092
$as_echo_n "checking for $ac_word... " >&6; }
 
2093
if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
 
2094
  $as_echo_n "(cached) " >&6
 
2095
else
 
2096
  if test -n "$MAKEINFO"; then
 
2097
  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
 
2098
else
 
2099
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2100
for as_dir in $PATH
 
2101
do
 
2102
  IFS=$as_save_IFS
 
2103
  test -z "$as_dir" && as_dir=.
 
2104
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2105
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2106
    ac_cv_prog_MAKEINFO="makeinfo"
 
2107
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2108
    break 2
 
2109
  fi
 
2110
done
 
2111
  done
 
2112
IFS=$as_save_IFS
 
2113
 
 
2114
fi
 
2115
fi
 
2116
MAKEINFO=$ac_cv_prog_MAKEINFO
 
2117
if test -n "$MAKEINFO"; then
 
2118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
 
2119
$as_echo "$MAKEINFO" >&6; }
 
2120
else
 
2121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2122
$as_echo "no" >&6; }
 
2123
fi
 
2124
 
 
2125
 
 
2126
    if test "x${MAKEINFO}" = "x" ; then
 
2127
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** No makeinfo program found." >&5
 
2128
$as_echo "$as_me: WARNING: *** No makeinfo program found." >&2;}
 
2129
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Info files will not be built." >&5
 
2130
$as_echo "$as_me: WARNING: *** Info files will not be built." >&2;}
 
2131
    fi
 
2132
 # Extract the first word of "texi2dvi", so it can be a program name with args.
 
2133
set dummy texi2dvi; ac_word=$2
 
2134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2135
$as_echo_n "checking for $ac_word... " >&6; }
 
2136
if test "${ac_cv_prog_TEXI2DVI+set}" = set; then :
 
2137
  $as_echo_n "(cached) " >&6
 
2138
else
 
2139
  if test -n "$TEXI2DVI"; then
 
2140
  ac_cv_prog_TEXI2DVI="$TEXI2DVI" # Let the user override the test.
 
2141
else
 
2142
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2143
for as_dir in $PATH
 
2144
do
 
2145
  IFS=$as_save_IFS
 
2146
  test -z "$as_dir" && as_dir=.
 
2147
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2148
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2149
    ac_cv_prog_TEXI2DVI="texi2dvi"
 
2150
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2151
    break 2
 
2152
  fi
 
2153
done
 
2154
  done
 
2155
IFS=$as_save_IFS
 
2156
 
 
2157
fi
 
2158
fi
 
2159
TEXI2DVI=$ac_cv_prog_TEXI2DVI
 
2160
if test -n "$TEXI2DVI"; then
 
2161
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEXI2DVI" >&5
 
2162
$as_echo "$TEXI2DVI" >&6; }
 
2163
else
 
2164
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2165
$as_echo "no" >&6; }
 
2166
fi
 
2167
 
 
2168
 
 
2169
    if test "x${TEXI2DVI}" = "x" ; then
 
2170
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** No texi2dvi program found." >&5
 
2171
$as_echo "$as_me: WARNING: *** No texi2dvi program found." >&2;}
 
2172
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** DVI and PDF files will not be built." >&5
 
2173
$as_echo "$as_me: WARNING: *** DVI and PDF files will not be built." >&2;}
 
2174
    fi
 
2175
 # Extract the first word of "etags", so it can be a program name with args.
 
2176
set dummy etags; ac_word=$2
 
2177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2178
$as_echo_n "checking for $ac_word... " >&6; }
 
2179
if test "${ac_cv_prog_ETAGS+set}" = set; then :
 
2180
  $as_echo_n "(cached) " >&6
 
2181
else
 
2182
  if test -n "$ETAGS"; then
 
2183
  ac_cv_prog_ETAGS="$ETAGS" # Let the user override the test.
 
2184
else
 
2185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2186
for as_dir in $PATH
 
2187
do
 
2188
  IFS=$as_save_IFS
 
2189
  test -z "$as_dir" && as_dir=.
 
2190
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2191
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2192
    ac_cv_prog_ETAGS="etags"
 
2193
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2194
    break 2
 
2195
  fi
 
2196
done
 
2197
  done
 
2198
IFS=$as_save_IFS
 
2199
 
 
2200
fi
 
2201
fi
 
2202
ETAGS=$ac_cv_prog_ETAGS
 
2203
if test -n "$ETAGS"; then
 
2204
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ETAGS" >&5
 
2205
$as_echo "$ETAGS" >&6; }
 
2206
else
 
2207
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2208
$as_echo "no" >&6; }
 
2209
fi
 
2210
 
 
2211
 
 
2212
    if test "x${ETAGS}" = "x" ; then
 
2213
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** No etags program found." >&5
 
2214
$as_echo "$as_me: WARNING: *** No etags program found." >&2;}
 
2215
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Tags file will not be built." >&5
 
2216
$as_echo "$as_me: WARNING: *** Tags file will not be built." >&2;}
 
2217
    fi
 
2218
 
 
2219
# Check whether --with-emacs was given.
 
2220
if test "${with_emacs+set}" = set; then :
 
2221
  withval=$with_emacs;  EMACS_PROG="${withval}"
 
2222
else
 
2223
   for ac_prog in emacs xemacs
 
2224
do
 
2225
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2226
set dummy $ac_prog; ac_word=$2
 
2227
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2228
$as_echo_n "checking for $ac_word... " >&6; }
 
2229
if test "${ac_cv_path_EMACS_PROG+set}" = set; then :
 
2230
  $as_echo_n "(cached) " >&6
 
2231
else
 
2232
  case $EMACS_PROG in
 
2233
  [\\/]* | ?:[\\/]*)
 
2234
  ac_cv_path_EMACS_PROG="$EMACS_PROG" # Let the user override the test with a path.
 
2235
  ;;
 
2236
  *)
 
2237
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2238
for as_dir in $PATH
 
2239
do
 
2240
  IFS=$as_save_IFS
 
2241
  test -z "$as_dir" && as_dir=.
 
2242
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2243
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2244
    ac_cv_path_EMACS_PROG="$as_dir/$ac_word$ac_exec_ext"
 
2245
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2246
    break 2
 
2247
  fi
 
2248
done
 
2249
  done
 
2250
IFS=$as_save_IFS
 
2251
 
 
2252
  ;;
 
2253
esac
 
2254
fi
 
2255
EMACS_PROG=$ac_cv_path_EMACS_PROG
 
2256
if test -n "$EMACS_PROG"; then
 
2257
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS_PROG" >&5
 
2258
$as_echo "$EMACS_PROG" >&6; }
 
2259
else
 
2260
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2261
$as_echo "no" >&6; }
 
2262
fi
 
2263
 
 
2264
 
 
2265
  test -n "$EMACS_PROG" && break
 
2266
done
 
2267
 
 
2268
fi
 
2269
 
 
2270
    if test "x${EMACS_PROG}" = "x" ; then
 
2271
            as_fn_error "*** No Emacs program found." "$LINENO" 5
 
2272
    fi
 
2273
        if test -x "${EMACS_PROG}"; then
 
2274
      echo "yay" > /dev/null # because I don't know if 'if !' is portable
 
2275
    else
 
2276
                as_fn_error "*** ${EMACS_PROG} isn't executable." "$LINENO" 5
 
2277
        fi
 
2278
            if test "x`echo $EMACS_PROG | grep \" \"`" != "x"; then
 
2279
      EMACS_PROG=\"$EMACS_PROG\"
 
2280
    fi
 
2281
 
 
2282
 
 
2283
 
 
2284
 
 
2285
 
 
2286
# Check whether --with-gnus-dir was given.
 
2287
if test "${with_gnus_dir+set}" = set; then :
 
2288
  withval=$with_gnus_dir;
 
2289
       enable_gnus=gnus
 
2290
      GNUSDIR="${withval}"
 
2291
 
 
2292
fi
 
2293
 
 
2294
 
 
2295
 
 
2296
 
 
2297
 
 
2298
# Check whether --with-mhe-dir was given.
 
2299
if test "${with_mhe_dir+set}" = set; then :
 
2300
  withval=$with_mhe_dir;
 
2301
       enable_mhe=mhe
 
2302
      MHEDIR="${withval}"
 
2303
 
 
2304
fi
 
2305
 
 
2306
 
 
2307
 
 
2308
 
 
2309
 
 
2310
# Check whether --with-vm-dir was given.
 
2311
if test "${with_vm_dir+set}" = set; then :
 
2312
  withval=$with_vm_dir;
 
2313
       enable_vm=vm
 
2314
      VMDIR="${withval}"
 
2315
 
 
2316
fi
 
2317
 
 
2318
 
 
2319
 
 
2320
# Various MTAs and other optional bits
 
2321
# Default Gnus to on
 
2322
enable_gnus=gnus
 
2323
 
 
2324
# this seems far messier and more complex than I'd expect from autoconf...
 
2325
# Check whether --enable-vm was given.
 
2326
if test "${enable_vm+set}" = set; then :
 
2327
  enableval=$enable_vm; if test "x$enableval" = "xno"; then BBDB_VM=; enable_vm=; else BBDB_VM=vm; fi
 
2328
fi
 
2329
 
 
2330
 
 
2331
# Check whether --enable-rmail was given.
 
2332
if test "${enable_rmail+set}" = set; then :
 
2333
  enableval=$enable_rmail; if test "x$enableval" = "xno"; then BBDB_RMAIL=; enable_rmail=; else BBDB_RMAIL=rmail; fi
 
2334
else
 
2335
  BBDB_RMAIL=
 
2336
fi
 
2337
 
 
2338
 
 
2339
# Check whether --enable-gnus was given.
 
2340
if test "${enable_gnus+set}" = set; then :
 
2341
  enableval=$enable_gnus; if test "x$enableval" = "xno"; then BBDB_GNUS=; enable_gnus=; else BBDB_GNUS=gnus; fi
 
2342
else
 
2343
  BBDB_GNUS=
 
2344
fi
 
2345
 
 
2346
 
 
2347
# Check whether --enable-mhe was given.
 
2348
if test "${enable_mhe+set}" = set; then :
 
2349
  enableval=$enable_mhe; if test "x$enableval" = "xno"; then BBDB_MHE=; enable_mhe=; else BBDB_MHE=mhe; fi
 
2350
else
 
2351
  BBDB_MHE=
 
2352
fi
 
2353
 
 
2354
 
 
2355
# Check whether --enable-developer was given.
 
2356
if test "${enable_developer+set}" = set; then :
 
2357
  enableval=$enable_developer; if test "x$enable" = "xno"; then HUSHMAKE=; fi
 
2358
else
 
2359
  HUSHMAKE=@
 
2360
fi
 
2361
 
 
2362
 
 
2363
 
 
2364
 
 
2365
 
 
2366
# Check whether --with-other-dirs was given.
 
2367
if test "${with_other_dirs+set}" = set; then :
 
2368
  withval=$with_other_dirs;
 
2369
        case "$withval" in *:*)
 
2370
    withval="`echo $withval | sed -e 's/:/ /g'`";;
 
2371
  esac
 
2372
      OTHERDIRS="${withval}"
 
2373
 
 
2374
fi
 
2375
 
 
2376
 
 
2377
 
 
2378
echo "(setq load-path (append (list " > ${ac_confdir}/loadpath.el
 
2379
for dir in . "${VMDIR}" "${GNUSDIR}" "${MHEDIR}" "${OTHERDIRS}"
 
2380
do
 
2381
  if test "x$dir" != "x"
 
2382
  then
 
2383
    echo "(expand-file-name \"$dir\") " >> ${ac_confdir}/loadpath.el
 
2384
  fi
 
2385
done
 
2386
echo ") load-path))" >> ${ac_confdir}/loadpath.el
 
2387
 
 
2388
BBDB_LOADPATH="${ac_confdir}/loadpath.el"
 
2389
 
 
2390
if test "x$enable_vm" != "x"; then
 
2391
   BBDB_VM=`${EMACS_PROG} --no-site-file --no-init-file -batch -q -l ${BBDB_LOADPATH} -eval "(if (locate-library \"vm-autoload\") (message \"vm\"))" 2>&1`
 
2392
   if test "x$BBDB_VM" = "x"; then
 
2393
          as_fn_error "*** Cannot build VM support without VM's source." "$LINENO" 5
 
2394
   fi
 
2395
fi
 
2396
 
 
2397
BBDB_SC=`${EMACS_PROG} -no-site-file -no-init-file -batch -q -l ${BBDB_LOADPATH} -eval "(if (locate-library \"supercite\") (message \"bbdb-sc.elc\"))" 2>&1`
 
2398
BBDB_REPORTMAIL=`${EMACS_PROG} -no-site-file -no-init-file -batch -q -l ${BBDB_LOADPATH} -eval "(if (locate-library \"reportmail\") (message \"bbdb-reportmail.elc\"))" 2>&1`
 
2399
BBDB_SRV=`${EMACS_PROG} -no-site-file -no-init-file -batch -q -l ${BBDB_LOADPATH} -eval "(progn (or (fboundp (quote define-obsolete-variable-alias)) (if (locate-library \"gnuserv-compat\") (load \"gnuserv-compat\" t t))) (if (and (locate-library \"gnuserv\") (locate-library \"itimer\")) (message \"bbdb-srv.el\")))" 2>&1`
 
2400
 
 
2401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking checking emacs-type of ${EMACS_PROG}" >&5
 
2402
$as_echo_n "checking checking emacs-type of ${EMACS_PROG}... " >&6; }
 
2403
cat > conftest.el <<TEST
 
2404
(princ (format "%s" (if (featurep 'xemacs ) 'xemacs 'emacs)))
 
2405
TEST
 
2406
EMACS_FLAVOR=`${EMACS_PROG} --no-site-file --batch -l conftest.el | ${GREP} .`
 
2407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${EMACS_FLAVOR}" >&5
 
2408
$as_echo "${EMACS_FLAVOR}" >&6; }
 
2409
 
 
2410
 
 
2411
 
 
2412
 
 
2413
# Check whether --with-package-dir was given.
 
2414
if test "${with_package_dir+set}" = set; then :
 
2415
  withval=$with_package_dir;
 
2416
 
 
2417
      PACKAGEDIR="${withval}"
 
2418
 
 
2419
else
 
2420
  PACKAGEDIR="/usr/lib/xemacs/site-packages"
 
2421
fi
 
2422
 
 
2423
 
 
2424
 
 
2425
 
 
2426
 
 
2427
 
 
2428
# Check whether --with-symlinks was given.
 
2429
if test "${with_symlinks+set}" = set; then :
 
2430
  withval=$with_symlinks;
 
2431
 
 
2432
      SYMLINKS="${withval}"
 
2433
 
 
2434
else
 
2435
  SYMLINKS="no"
 
2436
fi
 
2437
 
 
2438
 
 
2439
 
 
2440
 
 
2441
 
 
2442
 
 
2443
# Check whether --with-linkpath was given.
 
2444
if test "${with_linkpath+set}" = set; then :
 
2445
  withval=$with_linkpath;
 
2446
 
 
2447
      LINKPATH="${withval}"
 
2448
 
 
2449
fi
 
2450
 
 
2451
 
 
2452
 
 
2453
# Switch on some targets
 
2454
 
 
2455
 
 
2456
 
 
2457
 
 
2458
 
 
2459
 
 
2460
 
 
2461
 
 
2462
 
 
2463
 
 
2464
 
 
2465
if test "${RM}" = "/bin/rm" -o "${RM}" = "/usr/bin/rm"; then
 
2466
  RM="${RM} -f"
 
2467
fi
 
2468
 
 
2469
if test "x$enable_developer" != "x"; then
 
2470
  if ${GREP} -C foo configure.ac > /dev/null 2>&1; then
 
2471
     GREPCONTEXT="-C"
 
2472
  else
 
2473
     GREPCONTEXT="-C5"
 
2474
  fi
 
2475
fi
 
2476
 
 
2477
 
 
2478
 
 
2479
cat >confcache <<\_ACEOF
 
2480
# This file is a shell script that caches the results of configure
 
2481
# tests run on this system so they can be shared between configure
 
2482
# scripts and configure runs, see configure's option --config-cache.
 
2483
# It is not useful on other systems.  If it contains results you don't
 
2484
# want to keep, you may remove or edit it.
 
2485
#
 
2486
# config.status only pays attention to the cache file if you give it
 
2487
# the --recheck option to rerun configure.
 
2488
#
 
2489
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
2490
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
2491
# following values.
 
2492
 
 
2493
_ACEOF
 
2494
 
 
2495
# The following way of writing the cache mishandles newlines in values,
 
2496
# but we know of no workaround that is simple, portable, and efficient.
 
2497
# So, we kill variables containing newlines.
 
2498
# Ultrix sh set writes to stderr and can't be redirected directly,
 
2499
# and sets the high bit in the cache file unless we assign to the vars.
 
2500
(
 
2501
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
2502
    eval ac_val=\$$ac_var
 
2503
    case $ac_val in #(
 
2504
    *${as_nl}*)
 
2505
      case $ac_var in #(
 
2506
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2507
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2508
      esac
 
2509
      case $ac_var in #(
 
2510
      _ | IFS | as_nl) ;; #(
 
2511
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2512
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2513
      esac ;;
 
2514
    esac
 
2515
  done
 
2516
 
 
2517
  (set) 2>&1 |
 
2518
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
2519
    *${as_nl}ac_space=\ *)
 
2520
      # `set' does not quote correctly, so add quotes: double-quote
 
2521
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
2522
      sed -n \
 
2523
        "s/'/'\\\\''/g;
 
2524
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
2525
      ;; #(
 
2526
    *)
 
2527
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
2528
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2529
      ;;
 
2530
    esac |
 
2531
    sort
 
2532
) |
 
2533
  sed '
 
2534
     /^ac_cv_env_/b end
 
2535
     t clear
 
2536
     :clear
 
2537
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
2538
     t end
 
2539
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
2540
     :end' >>confcache
 
2541
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
2542
  if test -w "$cache_file"; then
 
2543
    test "x$cache_file" != "x/dev/null" &&
 
2544
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
2545
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
2546
    cat confcache >$cache_file
 
2547
  else
 
2548
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
2549
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
2550
  fi
 
2551
fi
 
2552
rm -f confcache
 
2553
 
 
2554
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
2555
# Let make expand exec_prefix.
 
2556
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
2557
 
 
2558
# Transform confdefs.h into DEFS.
 
2559
# Protect against shell expansion while executing Makefile rules.
 
2560
# Protect against Makefile macro expansion.
 
2561
#
 
2562
# If the first sed substitution is executed (which looks for macros that
 
2563
# take arguments), then branch to the quote section.  Otherwise,
 
2564
# look for a macro that doesn't take arguments.
 
2565
ac_script='
 
2566
:mline
 
2567
/\\$/{
 
2568
 N
 
2569
 s,\\\n,,
 
2570
 b mline
 
2571
}
 
2572
t clear
 
2573
:clear
 
2574
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
2575
t quote
 
2576
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
2577
t quote
 
2578
b any
 
2579
:quote
 
2580
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
2581
s/\[/\\&/g
 
2582
s/\]/\\&/g
 
2583
s/\$/$$/g
 
2584
H
 
2585
:any
 
2586
${
 
2587
        g
 
2588
        s/^\n//
 
2589
        s/\n/ /g
 
2590
        p
 
2591
}
 
2592
'
 
2593
DEFS=`sed -n "$ac_script" confdefs.h`
 
2594
 
 
2595
 
 
2596
ac_libobjs=
 
2597
ac_ltlibobjs=
 
2598
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
2599
  # 1. Remove the extension, and $U if already installed.
 
2600
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
2601
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
2602
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
2603
  #    will be set to the directory where LIBOBJS objects are built.
 
2604
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
2605
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
2606
done
 
2607
LIBOBJS=$ac_libobjs
 
2608
 
 
2609
LTLIBOBJS=$ac_ltlibobjs
 
2610
 
 
2611
 
 
2612
 
 
2613
: ${CONFIG_STATUS=./config.status}
 
2614
ac_write_fail=0
 
2615
ac_clean_files_save=$ac_clean_files
 
2616
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
2617
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
2618
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
2619
as_write_fail=0
 
2620
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
2621
#! $SHELL
 
2622
# Generated by $as_me.
 
2623
# Run this file to recreate the current configuration.
 
2624
# Compiler output produced by configure, useful for debugging
 
2625
# configure, is in config.log if it exists.
 
2626
 
 
2627
debug=false
 
2628
ac_cs_recheck=false
 
2629
ac_cs_silent=false
 
2630
 
 
2631
SHELL=\${CONFIG_SHELL-$SHELL}
 
2632
export SHELL
 
2633
_ASEOF
 
2634
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
2635
## -------------------- ##
 
2636
## M4sh Initialization. ##
 
2637
## -------------------- ##
 
2638
 
 
2639
# Be more Bourne compatible
 
2640
DUALCASE=1; export DUALCASE # for MKS sh
 
2641
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
2642
  emulate sh
 
2643
  NULLCMD=:
 
2644
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
2645
  # is contrary to our usage.  Disable this feature.
 
2646
  alias -g '${1+"$@"}'='"$@"'
 
2647
  setopt NO_GLOB_SUBST
 
2648
else
 
2649
  case `(set -o) 2>/dev/null` in #(
 
2650
  *posix*) :
 
2651
    set -o posix ;; #(
 
2652
  *) :
 
2653
     ;;
 
2654
esac
 
2655
fi
 
2656
 
 
2657
 
 
2658
as_nl='
 
2659
'
 
2660
export as_nl
 
2661
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
2662
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
2663
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
2664
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
2665
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
2666
# but without wasting forks for bash or zsh.
 
2667
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
2668
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
2669
  as_echo='print -r --'
 
2670
  as_echo_n='print -rn --'
 
2671
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
2672
  as_echo='printf %s\n'
 
2673
  as_echo_n='printf %s'
 
2674
else
 
2675
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
2676
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
2677
    as_echo_n='/usr/ucb/echo -n'
 
2678
  else
 
2679
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
2680
    as_echo_n_body='eval
 
2681
      arg=$1;
 
2682
      case $arg in #(
 
2683
      *"$as_nl"*)
 
2684
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
2685
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
2686
      esac;
 
2687
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
2688
    '
 
2689
    export as_echo_n_body
 
2690
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
2691
  fi
 
2692
  export as_echo_body
 
2693
  as_echo='sh -c $as_echo_body as_echo'
 
2694
fi
 
2695
 
 
2696
# The user is always right.
 
2697
if test "${PATH_SEPARATOR+set}" != set; then
 
2698
  PATH_SEPARATOR=:
 
2699
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
2700
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
2701
      PATH_SEPARATOR=';'
 
2702
  }
 
2703
fi
 
2704
 
 
2705
 
 
2706
# IFS
 
2707
# We need space, tab and new line, in precisely that order.  Quoting is
 
2708
# there to prevent editors from complaining about space-tab.
 
2709
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
2710
# splitting by setting IFS to empty value.)
 
2711
IFS=" ""        $as_nl"
 
2712
 
 
2713
# Find who we are.  Look in the path if we contain no directory separator.
 
2714
case $0 in #((
 
2715
  *[\\/]* ) as_myself=$0 ;;
 
2716
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2717
for as_dir in $PATH
 
2718
do
 
2719
  IFS=$as_save_IFS
 
2720
  test -z "$as_dir" && as_dir=.
 
2721
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
2722
  done
 
2723
IFS=$as_save_IFS
 
2724
 
 
2725
     ;;
 
2726
esac
 
2727
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
2728
# in which case we are not to be found in the path.
 
2729
if test "x$as_myself" = x; then
 
2730
  as_myself=$0
 
2731
fi
 
2732
if test ! -f "$as_myself"; then
 
2733
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
2734
  exit 1
 
2735
fi
 
2736
 
 
2737
# Unset variables that we do not need and which cause bugs (e.g. in
 
2738
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
2739
# suppresses any "Segmentation fault" message there.  '((' could
 
2740
# trigger a bug in pdksh 5.2.14.
 
2741
for as_var in BASH_ENV ENV MAIL MAILPATH
 
2742
do eval test x\${$as_var+set} = xset \
 
2743
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
2744
done
 
2745
PS1='$ '
 
2746
PS2='> '
 
2747
PS4='+ '
 
2748
 
 
2749
# NLS nuisances.
 
2750
LC_ALL=C
 
2751
export LC_ALL
 
2752
LANGUAGE=C
 
2753
export LANGUAGE
 
2754
 
 
2755
# CDPATH.
 
2756
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
2757
 
 
2758
 
 
2759
# as_fn_error ERROR [LINENO LOG_FD]
 
2760
# ---------------------------------
 
2761
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
2762
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
2763
# script with status $?, using 1 if that was 0.
 
2764
as_fn_error ()
 
2765
{
 
2766
  as_status=$?; test $as_status -eq 0 && as_status=1
 
2767
  if test "$3"; then
 
2768
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2769
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
2770
  fi
 
2771
  $as_echo "$as_me: error: $1" >&2
 
2772
  as_fn_exit $as_status
 
2773
} # as_fn_error
 
2774
 
 
2775
 
 
2776
# as_fn_set_status STATUS
 
2777
# -----------------------
 
2778
# Set $? to STATUS, without forking.
 
2779
as_fn_set_status ()
 
2780
{
 
2781
  return $1
 
2782
} # as_fn_set_status
 
2783
 
 
2784
# as_fn_exit STATUS
 
2785
# -----------------
 
2786
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
2787
as_fn_exit ()
 
2788
{
 
2789
  set +e
 
2790
  as_fn_set_status $1
 
2791
  exit $1
 
2792
} # as_fn_exit
 
2793
 
 
2794
# as_fn_unset VAR
 
2795
# ---------------
 
2796
# Portably unset VAR.
 
2797
as_fn_unset ()
 
2798
{
 
2799
  { eval $1=; unset $1;}
 
2800
}
 
2801
as_unset=as_fn_unset
 
2802
# as_fn_append VAR VALUE
 
2803
# ----------------------
 
2804
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
2805
# advantage of any shell optimizations that allow amortized linear growth over
 
2806
# repeated appends, instead of the typical quadratic growth present in naive
 
2807
# implementations.
 
2808
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
2809
  eval 'as_fn_append ()
 
2810
  {
 
2811
    eval $1+=\$2
 
2812
  }'
 
2813
else
 
2814
  as_fn_append ()
 
2815
  {
 
2816
    eval $1=\$$1\$2
 
2817
  }
 
2818
fi # as_fn_append
 
2819
 
 
2820
# as_fn_arith ARG...
 
2821
# ------------------
 
2822
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
2823
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
2824
# must be portable across $(()) and expr.
 
2825
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
2826
  eval 'as_fn_arith ()
 
2827
  {
 
2828
    as_val=$(( $* ))
 
2829
  }'
 
2830
else
 
2831
  as_fn_arith ()
 
2832
  {
 
2833
    as_val=`expr "$@" || test $? -eq 1`
 
2834
  }
 
2835
fi # as_fn_arith
 
2836
 
 
2837
 
 
2838
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
2839
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
2840
  as_expr=expr
 
2841
else
 
2842
  as_expr=false
 
2843
fi
 
2844
 
 
2845
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
2846
  as_basename=basename
 
2847
else
 
2848
  as_basename=false
 
2849
fi
 
2850
 
 
2851
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
2852
  as_dirname=dirname
 
2853
else
 
2854
  as_dirname=false
 
2855
fi
 
2856
 
 
2857
as_me=`$as_basename -- "$0" ||
 
2858
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
2859
         X"$0" : 'X\(//\)$' \| \
 
2860
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
2861
$as_echo X/"$0" |
 
2862
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
2863
            s//\1/
 
2864
            q
 
2865
          }
 
2866
          /^X\/\(\/\/\)$/{
 
2867
            s//\1/
 
2868
            q
 
2869
          }
 
2870
          /^X\/\(\/\).*/{
 
2871
            s//\1/
 
2872
            q
 
2873
          }
 
2874
          s/.*/./; q'`
 
2875
 
 
2876
# Avoid depending upon Character Ranges.
 
2877
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
2878
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
2879
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
2880
as_cr_digits='0123456789'
 
2881
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
2882
 
 
2883
ECHO_C= ECHO_N= ECHO_T=
 
2884
case `echo -n x` in #(((((
 
2885
-n*)
 
2886
  case `echo 'xy\c'` in
 
2887
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
2888
  xy)  ECHO_C='\c';;
 
2889
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
2890
       ECHO_T=' ';;
 
2891
  esac;;
 
2892
*)
 
2893
  ECHO_N='-n';;
 
2894
esac
 
2895
 
 
2896
rm -f conf$$ conf$$.exe conf$$.file
 
2897
if test -d conf$$.dir; then
 
2898
  rm -f conf$$.dir/conf$$.file
 
2899
else
 
2900
  rm -f conf$$.dir
 
2901
  mkdir conf$$.dir 2>/dev/null
 
2902
fi
 
2903
if (echo >conf$$.file) 2>/dev/null; then
 
2904
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
2905
    as_ln_s='ln -s'
 
2906
    # ... but there are two gotchas:
 
2907
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
2908
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
2909
    # In both cases, we have to default to `cp -p'.
 
2910
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
2911
      as_ln_s='cp -p'
 
2912
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
2913
    as_ln_s=ln
 
2914
  else
 
2915
    as_ln_s='cp -p'
 
2916
  fi
 
2917
else
 
2918
  as_ln_s='cp -p'
 
2919
fi
 
2920
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
2921
rmdir conf$$.dir 2>/dev/null
 
2922
 
 
2923
 
 
2924
# as_fn_mkdir_p
 
2925
# -------------
 
2926
# Create "$as_dir" as a directory, including parents if necessary.
 
2927
as_fn_mkdir_p ()
 
2928
{
 
2929
 
 
2930
  case $as_dir in #(
 
2931
  -*) as_dir=./$as_dir;;
 
2932
  esac
 
2933
  test -d "$as_dir" || eval $as_mkdir_p || {
 
2934
    as_dirs=
 
2935
    while :; do
 
2936
      case $as_dir in #(
 
2937
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
2938
      *) as_qdir=$as_dir;;
 
2939
      esac
 
2940
      as_dirs="'$as_qdir' $as_dirs"
 
2941
      as_dir=`$as_dirname -- "$as_dir" ||
 
2942
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
2943
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
2944
         X"$as_dir" : 'X\(//\)$' \| \
 
2945
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
2946
$as_echo X"$as_dir" |
 
2947
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
2948
            s//\1/
 
2949
            q
 
2950
          }
 
2951
          /^X\(\/\/\)[^/].*/{
 
2952
            s//\1/
 
2953
            q
 
2954
          }
 
2955
          /^X\(\/\/\)$/{
 
2956
            s//\1/
 
2957
            q
 
2958
          }
 
2959
          /^X\(\/\).*/{
 
2960
            s//\1/
 
2961
            q
 
2962
          }
 
2963
          s/.*/./; q'`
 
2964
      test -d "$as_dir" && break
 
2965
    done
 
2966
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
2967
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
2968
 
 
2969
 
 
2970
} # as_fn_mkdir_p
 
2971
if mkdir -p . 2>/dev/null; then
 
2972
  as_mkdir_p='mkdir -p "$as_dir"'
 
2973
else
 
2974
  test -d ./-p && rmdir ./-p
 
2975
  as_mkdir_p=false
 
2976
fi
 
2977
 
 
2978
if test -x / >/dev/null 2>&1; then
 
2979
  as_test_x='test -x'
 
2980
else
 
2981
  if ls -dL / >/dev/null 2>&1; then
 
2982
    as_ls_L_option=L
 
2983
  else
 
2984
    as_ls_L_option=
 
2985
  fi
 
2986
  as_test_x='
 
2987
    eval sh -c '\''
 
2988
      if test -d "$1"; then
 
2989
        test -d "$1/.";
 
2990
      else
 
2991
        case $1 in #(
 
2992
        -*)set "./$1";;
 
2993
        esac;
 
2994
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
2995
        ???[sx]*):;;*)false;;esac;fi
 
2996
    '\'' sh
 
2997
  '
 
2998
fi
 
2999
as_executable_p=$as_test_x
 
3000
 
 
3001
# Sed expression to map a string onto a valid CPP name.
 
3002
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
3003
 
 
3004
# Sed expression to map a string onto a valid variable name.
 
3005
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
3006
 
 
3007
 
 
3008
exec 6>&1
 
3009
## ----------------------------------- ##
 
3010
## Main body of $CONFIG_STATUS script. ##
 
3011
## ----------------------------------- ##
 
3012
_ASEOF
 
3013
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
3014
 
 
3015
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3016
# Save the log message, to keep $0 and so on meaningful, and to
 
3017
# report actual input values of CONFIG_FILES etc. instead of their
 
3018
# values after options handling.
 
3019
ac_log="
 
3020
This file was extended by BBDB $as_me 2.36, which was
 
3021
generated by GNU Autoconf 2.65.  Invocation command line was
 
3022
 
 
3023
  CONFIG_FILES    = $CONFIG_FILES
 
3024
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
3025
  CONFIG_LINKS    = $CONFIG_LINKS
 
3026
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
3027
  $ $0 $@
 
3028
 
 
3029
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
3030
"
 
3031
 
 
3032
_ACEOF
 
3033
 
 
3034
case $ac_config_files in *"
 
3035
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
3036
esac
 
3037
 
 
3038
 
 
3039
 
 
3040
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3041
# Files that config.status was made for.
 
3042
config_files="$ac_config_files"
 
3043
 
 
3044
_ACEOF
 
3045
 
 
3046
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3047
ac_cs_usage="\
 
3048
\`$as_me' instantiates files and other configuration actions
 
3049
from templates according to the current configuration.  Unless the files
 
3050
and actions are specified as TAGs, all are instantiated by default.
 
3051
 
 
3052
Usage: $0 [OPTION]... [TAG]...
 
3053
 
 
3054
  -h, --help       print this help, then exit
 
3055
  -V, --version    print version number and configuration settings, then exit
 
3056
      --config     print configuration, then exit
 
3057
  -q, --quiet, --silent
 
3058
                   do not print progress messages
 
3059
  -d, --debug      don't remove temporary files
 
3060
      --recheck    update $as_me by reconfiguring in the same conditions
 
3061
      --file=FILE[:TEMPLATE]
 
3062
                   instantiate the configuration file FILE
 
3063
 
 
3064
Configuration files:
 
3065
$config_files
 
3066
 
 
3067
Report bugs to <bbdb-info@lists.sourceforge.net>."
 
3068
 
 
3069
_ACEOF
 
3070
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3071
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
3072
ac_cs_version="\\
 
3073
BBDB config.status 2.36
 
3074
configured by $0, generated by GNU Autoconf 2.65,
 
3075
  with options \\"\$ac_cs_config\\"
 
3076
 
 
3077
Copyright (C) 2009 Free Software Foundation, Inc.
 
3078
This config.status script is free software; the Free Software Foundation
 
3079
gives unlimited permission to copy, distribute and modify it."
 
3080
 
 
3081
ac_pwd='$ac_pwd'
 
3082
srcdir='$srcdir'
 
3083
INSTALL='$INSTALL'
 
3084
test -n "\$AWK" || AWK=awk
 
3085
_ACEOF
 
3086
 
 
3087
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3088
# The default lists apply if the user does not specify any file.
 
3089
ac_need_defaults=:
 
3090
while test $# != 0
 
3091
do
 
3092
  case $1 in
 
3093
  --*=*)
 
3094
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
3095
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
3096
    ac_shift=:
 
3097
    ;;
 
3098
  *)
 
3099
    ac_option=$1
 
3100
    ac_optarg=$2
 
3101
    ac_shift=shift
 
3102
    ;;
 
3103
  esac
 
3104
 
 
3105
  case $ac_option in
 
3106
  # Handling of the options.
 
3107
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
3108
    ac_cs_recheck=: ;;
 
3109
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
3110
    $as_echo "$ac_cs_version"; exit ;;
 
3111
  --config | --confi | --conf | --con | --co | --c )
 
3112
    $as_echo "$ac_cs_config"; exit ;;
 
3113
  --debug | --debu | --deb | --de | --d | -d )
 
3114
    debug=: ;;
 
3115
  --file | --fil | --fi | --f )
 
3116
    $ac_shift
 
3117
    case $ac_optarg in
 
3118
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
3119
    esac
 
3120
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
3121
    ac_need_defaults=false;;
 
3122
  --he | --h |  --help | --hel | -h )
 
3123
    $as_echo "$ac_cs_usage"; exit ;;
 
3124
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
3125
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
3126
    ac_cs_silent=: ;;
 
3127
 
 
3128
  # This is an error.
 
3129
  -*) as_fn_error "unrecognized option: \`$1'
 
3130
Try \`$0 --help' for more information." ;;
 
3131
 
 
3132
  *) as_fn_append ac_config_targets " $1"
 
3133
     ac_need_defaults=false ;;
 
3134
 
 
3135
  esac
 
3136
  shift
 
3137
done
 
3138
 
 
3139
ac_configure_extra_args=
 
3140
 
 
3141
if $ac_cs_silent; then
 
3142
  exec 6>/dev/null
 
3143
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
3144
fi
 
3145
 
 
3146
_ACEOF
 
3147
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3148
if \$ac_cs_recheck; then
 
3149
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
3150
  shift
 
3151
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
3152
  CONFIG_SHELL='$SHELL'
 
3153
  export CONFIG_SHELL
 
3154
  exec "\$@"
 
3155
fi
 
3156
 
 
3157
_ACEOF
 
3158
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3159
exec 5>>config.log
 
3160
{
 
3161
  echo
 
3162
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
3163
## Running $as_me. ##
 
3164
_ASBOX
 
3165
  $as_echo "$ac_log"
 
3166
} >&5
 
3167
 
 
3168
_ACEOF
 
3169
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3170
_ACEOF
 
3171
 
 
3172
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3173
 
 
3174
# Handling of arguments.
 
3175
for ac_config_target in $ac_config_targets
 
3176
do
 
3177
  case $ac_config_target in
 
3178
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
3179
    "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
 
3180
    "texinfo/Makefile") CONFIG_FILES="$CONFIG_FILES texinfo/Makefile" ;;
 
3181
    "tex/Makefile") CONFIG_FILES="$CONFIG_FILES tex/Makefile" ;;
 
3182
    "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
 
3183
    "testing/Makefile") CONFIG_FILES="$CONFIG_FILES testing/Makefile" ;;
 
3184
 
 
3185
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
3186
  esac
 
3187
done
 
3188
 
 
3189
 
 
3190
# If the user did not use the arguments to specify the items to instantiate,
 
3191
# then the envvar interface is used.  Set only those that are not.
 
3192
# We use the long form for the default assignment because of an extremely
 
3193
# bizarre bug on SunOS 4.1.3.
 
3194
if $ac_need_defaults; then
 
3195
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
3196
fi
 
3197
 
 
3198
# Have a temporary directory for convenience.  Make it in the build tree
 
3199
# simply because there is no reason against having it here, and in addition,
 
3200
# creating and moving files from /tmp can sometimes cause problems.
 
3201
# Hook for its removal unless debugging.
 
3202
# Note that there is a small window in which the directory will not be cleaned:
 
3203
# after its creation but before its name has been assigned to `$tmp'.
 
3204
$debug ||
 
3205
{
 
3206
  tmp=
 
3207
  trap 'exit_status=$?
 
3208
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
3209
' 0
 
3210
  trap 'as_fn_exit 1' 1 2 13 15
 
3211
}
 
3212
# Create a (secure) tmp directory for tmp files.
 
3213
 
 
3214
{
 
3215
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
3216
  test -n "$tmp" && test -d "$tmp"
 
3217
}  ||
 
3218
{
 
3219
  tmp=./conf$$-$RANDOM
 
3220
  (umask 077 && mkdir "$tmp")
 
3221
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
3222
 
 
3223
# Set up the scripts for CONFIG_FILES section.
 
3224
# No need to generate them if there are no CONFIG_FILES.
 
3225
# This happens for instance with `./config.status config.h'.
 
3226
if test -n "$CONFIG_FILES"; then
 
3227
 
 
3228
 
 
3229
ac_cr=`echo X | tr X '\015'`
 
3230
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
3231
# But we know of no other shell where ac_cr would be empty at this
 
3232
# point, so we can use a bashism as a fallback.
 
3233
if test "x$ac_cr" = x; then
 
3234
  eval ac_cr=\$\'\\r\'
 
3235
fi
 
3236
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
3237
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
3238
  ac_cs_awk_cr='\r'
 
3239
else
 
3240
  ac_cs_awk_cr=$ac_cr
 
3241
fi
 
3242
 
 
3243
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
3244
_ACEOF
 
3245
 
 
3246
 
 
3247
{
 
3248
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
3249
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
3250
  echo "_ACEOF"
 
3251
} >conf$$subs.sh ||
 
3252
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
3253
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
3254
ac_delim='%!_!# '
 
3255
for ac_last_try in false false false false false :; do
 
3256
  . ./conf$$subs.sh ||
 
3257
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
3258
 
 
3259
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
3260
  if test $ac_delim_n = $ac_delim_num; then
 
3261
    break
 
3262
  elif $ac_last_try; then
 
3263
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
3264
  else
 
3265
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
3266
  fi
 
3267
done
 
3268
rm -f conf$$subs.sh
 
3269
 
 
3270
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3271
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
3272
_ACEOF
 
3273
sed -n '
 
3274
h
 
3275
s/^/S["/; s/!.*/"]=/
 
3276
p
 
3277
g
 
3278
s/^[^!]*!//
 
3279
:repl
 
3280
t repl
 
3281
s/'"$ac_delim"'$//
 
3282
t delim
 
3283
:nl
 
3284
h
 
3285
s/\(.\{148\}\)..*/\1/
 
3286
t more1
 
3287
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
3288
p
 
3289
n
 
3290
b repl
 
3291
:more1
 
3292
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
3293
p
 
3294
g
 
3295
s/.\{148\}//
 
3296
t nl
 
3297
:delim
 
3298
h
 
3299
s/\(.\{148\}\)..*/\1/
 
3300
t more2
 
3301
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
3302
p
 
3303
b
 
3304
:more2
 
3305
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
3306
p
 
3307
g
 
3308
s/.\{148\}//
 
3309
t delim
 
3310
' <conf$$subs.awk | sed '
 
3311
/^[^""]/{
 
3312
  N
 
3313
  s/\n//
 
3314
}
 
3315
' >>$CONFIG_STATUS || ac_write_fail=1
 
3316
rm -f conf$$subs.awk
 
3317
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3318
_ACAWK
 
3319
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
3320
  for (key in S) S_is_set[key] = 1
 
3321
  FS = ""
 
3322
 
 
3323
}
 
3324
{
 
3325
  line = $ 0
 
3326
  nfields = split(line, field, "@")
 
3327
  substed = 0
 
3328
  len = length(field[1])
 
3329
  for (i = 2; i < nfields; i++) {
 
3330
    key = field[i]
 
3331
    keylen = length(key)
 
3332
    if (S_is_set[key]) {
 
3333
      value = S[key]
 
3334
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
3335
      len += length(value) + length(field[++i])
 
3336
      substed = 1
 
3337
    } else
 
3338
      len += 1 + keylen
 
3339
  }
 
3340
 
 
3341
  print line
 
3342
}
 
3343
 
 
3344
_ACAWK
 
3345
_ACEOF
 
3346
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3347
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
3348
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
3349
else
 
3350
  cat
 
3351
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
3352
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
3353
_ACEOF
 
3354
 
 
3355
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
3356
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
3357
# trailing colons and then remove the whole line if VPATH becomes empty
 
3358
# (actually we leave an empty line to preserve line numbers).
 
3359
if test "x$srcdir" = x.; then
 
3360
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
3361
s/:*\$(srcdir):*/:/
 
3362
s/:*\${srcdir}:*/:/
 
3363
s/:*@srcdir@:*/:/
 
3364
s/^\([^=]*=[     ]*\):*/\1/
 
3365
s/:*$//
 
3366
s/^[^=]*=[       ]*$//
 
3367
}'
 
3368
fi
 
3369
 
 
3370
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3371
fi # test -n "$CONFIG_FILES"
 
3372
 
 
3373
 
 
3374
eval set X "  :F $CONFIG_FILES      "
 
3375
shift
 
3376
for ac_tag
 
3377
do
 
3378
  case $ac_tag in
 
3379
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
3380
  esac
 
3381
  case $ac_mode$ac_tag in
 
3382
  :[FHL]*:*);;
 
3383
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
3384
  :[FH]-) ac_tag=-:-;;
 
3385
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
3386
  esac
 
3387
  ac_save_IFS=$IFS
 
3388
  IFS=:
 
3389
  set x $ac_tag
 
3390
  IFS=$ac_save_IFS
 
3391
  shift
 
3392
  ac_file=$1
 
3393
  shift
 
3394
 
 
3395
  case $ac_mode in
 
3396
  :L) ac_source=$1;;
 
3397
  :[FH])
 
3398
    ac_file_inputs=
 
3399
    for ac_f
 
3400
    do
 
3401
      case $ac_f in
 
3402
      -) ac_f="$tmp/stdin";;
 
3403
      *) # Look for the file first in the build tree, then in the source tree
 
3404
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
3405
         # because $ac_f cannot contain `:'.
 
3406
         test -f "$ac_f" ||
 
3407
           case $ac_f in
 
3408
           [\\/$]*) false;;
 
3409
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
3410
           esac ||
 
3411
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
3412
      esac
 
3413
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
3414
      as_fn_append ac_file_inputs " '$ac_f'"
 
3415
    done
 
3416
 
 
3417
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
3418
    # use $as_me), people would be surprised to read:
 
3419
    #    /* config.h.  Generated by config.status.  */
 
3420
    configure_input='Generated from '`
 
3421
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
3422
        `' by configure.'
 
3423
    if test x"$ac_file" != x-; then
 
3424
      configure_input="$ac_file.  $configure_input"
 
3425
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
3426
$as_echo "$as_me: creating $ac_file" >&6;}
 
3427
    fi
 
3428
    # Neutralize special characters interpreted by sed in replacement strings.
 
3429
    case $configure_input in #(
 
3430
    *\&* | *\|* | *\\* )
 
3431
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
3432
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
3433
    *) ac_sed_conf_input=$configure_input;;
 
3434
    esac
 
3435
 
 
3436
    case $ac_tag in
 
3437
    *:-:* | *:-) cat >"$tmp/stdin" \
 
3438
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
3439
    esac
 
3440
    ;;
 
3441
  esac
 
3442
 
 
3443
  ac_dir=`$as_dirname -- "$ac_file" ||
 
3444
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3445
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
3446
         X"$ac_file" : 'X\(//\)$' \| \
 
3447
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
3448
$as_echo X"$ac_file" |
 
3449
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
3450
            s//\1/
 
3451
            q
 
3452
          }
 
3453
          /^X\(\/\/\)[^/].*/{
 
3454
            s//\1/
 
3455
            q
 
3456
          }
 
3457
          /^X\(\/\/\)$/{
 
3458
            s//\1/
 
3459
            q
 
3460
          }
 
3461
          /^X\(\/\).*/{
 
3462
            s//\1/
 
3463
            q
 
3464
          }
 
3465
          s/.*/./; q'`
 
3466
  as_dir="$ac_dir"; as_fn_mkdir_p
 
3467
  ac_builddir=.
 
3468
 
 
3469
case "$ac_dir" in
 
3470
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
3471
*)
 
3472
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
3473
  # A ".." for each directory in $ac_dir_suffix.
 
3474
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
3475
  case $ac_top_builddir_sub in
 
3476
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
3477
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
3478
  esac ;;
 
3479
esac
 
3480
ac_abs_top_builddir=$ac_pwd
 
3481
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
3482
# for backward compatibility:
 
3483
ac_top_builddir=$ac_top_build_prefix
 
3484
 
 
3485
case $srcdir in
 
3486
  .)  # We are building in place.
 
3487
    ac_srcdir=.
 
3488
    ac_top_srcdir=$ac_top_builddir_sub
 
3489
    ac_abs_top_srcdir=$ac_pwd ;;
 
3490
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
3491
    ac_srcdir=$srcdir$ac_dir_suffix;
 
3492
    ac_top_srcdir=$srcdir
 
3493
    ac_abs_top_srcdir=$srcdir ;;
 
3494
  *) # Relative name.
 
3495
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
3496
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
3497
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
3498
esac
 
3499
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
3500
 
 
3501
 
 
3502
  case $ac_mode in
 
3503
  :F)
 
3504
  #
 
3505
  # CONFIG_FILE
 
3506
  #
 
3507
 
 
3508
  case $INSTALL in
 
3509
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
3510
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
3511
  esac
 
3512
_ACEOF
 
3513
 
 
3514
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3515
# If the template does not know about datarootdir, expand it.
 
3516
# FIXME: This hack should be removed a few years after 2.60.
 
3517
ac_datarootdir_hack=; ac_datarootdir_seen=
 
3518
ac_sed_dataroot='
 
3519
/datarootdir/ {
 
3520
  p
 
3521
  q
 
3522
}
 
3523
/@datadir@/p
 
3524
/@docdir@/p
 
3525
/@infodir@/p
 
3526
/@localedir@/p
 
3527
/@mandir@/p'
 
3528
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
3529
*datarootdir*) ac_datarootdir_seen=yes;;
 
3530
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
3531
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
3532
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
3533
_ACEOF
 
3534
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3535
  ac_datarootdir_hack='
 
3536
  s&@datadir@&$datadir&g
 
3537
  s&@docdir@&$docdir&g
 
3538
  s&@infodir@&$infodir&g
 
3539
  s&@localedir@&$localedir&g
 
3540
  s&@mandir@&$mandir&g
 
3541
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
3542
esac
 
3543
_ACEOF
 
3544
 
 
3545
# Neutralize VPATH when `$srcdir' = `.'.
 
3546
# Shell code in configure.ac might set extrasub.
 
3547
# FIXME: do we really want to maintain this feature?
 
3548
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3549
ac_sed_extra="$ac_vpsub
 
3550
$extrasub
 
3551
_ACEOF
 
3552
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3553
:t
 
3554
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
3555
s|@configure_input@|$ac_sed_conf_input|;t t
 
3556
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
3557
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
3558
s&@srcdir@&$ac_srcdir&;t t
 
3559
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
3560
s&@top_srcdir@&$ac_top_srcdir&;t t
 
3561
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
3562
s&@builddir@&$ac_builddir&;t t
 
3563
s&@abs_builddir@&$ac_abs_builddir&;t t
 
3564
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
3565
s&@INSTALL@&$ac_INSTALL&;t t
 
3566
$ac_datarootdir_hack
 
3567
"
 
3568
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
3569
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
3570
 
 
3571
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
3572
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
3573
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
3574
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3575
which seems to be undefined.  Please make sure it is defined." >&5
 
3576
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3577
which seems to be undefined.  Please make sure it is defined." >&2;}
 
3578
 
 
3579
  rm -f "$tmp/stdin"
 
3580
  case $ac_file in
 
3581
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
3582
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
3583
  esac \
 
3584
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
3585
 ;;
 
3586
 
 
3587
 
 
3588
 
 
3589
  esac
 
3590
 
 
3591
done # for ac_tag
 
3592
 
 
3593
 
 
3594
as_fn_exit 0
 
3595
_ACEOF
 
3596
ac_clean_files=$ac_clean_files_save
 
3597
 
 
3598
test $ac_write_fail = 0 ||
 
3599
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
3600
 
 
3601
 
 
3602
# configure is writing to config.log, and then calls config.status.
 
3603
# config.status does its own redirection, appending to config.log.
 
3604
# Unfortunately, on DOS this fails, as config.log is still kept open
 
3605
# by configure, so config.status won't be able to write to it; its
 
3606
# output is simply discarded.  So we exec the FD to /dev/null,
 
3607
# effectively closing config.log, so it can be properly (re)opened and
 
3608
# appended to by config.status.  When coming back to configure, we
 
3609
# need to make the FD available again.
 
3610
if test "$no_create" != yes; then
 
3611
  ac_cs_success=:
 
3612
  ac_config_status_args=
 
3613
  test "$silent" = yes &&
 
3614
    ac_config_status_args="$ac_config_status_args --quiet"
 
3615
  exec 5>/dev/null
 
3616
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
3617
  exec 5>>config.log
 
3618
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
3619
  # would make configure fail if this is the last instruction.
 
3620
  $ac_cs_success || as_fn_exit $?
 
3621
fi
 
3622
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
3623
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
3624
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
3625
fi
 
3626
 
 
3627