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