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