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