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