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