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