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