"Initial commit to Gerrit"
[profile/ivi/xorg-utils.git] / xfd / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for xfd 1.0.1.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177   if (eval "$as_required") 2>/dev/null; then :
178   as_have_required=yes
179 else
180   as_have_required=no
181 fi
182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189   IFS=$as_save_IFS
190   test -z "$as_dir" && as_dir=.
191   as_found=:
192   case $as_dir in #(
193          /*)
194            for as_base in sh bash ksh sh5; do
195              # Try only shells that exist, to save several forks.
196              as_shell=$as_dir/$as_base
197              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   CONFIG_SHELL=$as_shell as_have_required=yes
200                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   break 2
202 fi
203 fi
204            done;;
205        esac
206   as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210   CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215       if test "x$CONFIG_SHELL" != x; then :
216   # We cannot yet assume a decent shell, so we have to provide a
217         # neutralization value for shells without unset; and this also
218         # works around shells that cannot unset nonexistent variables.
219         BASH_ENV=/dev/null
220         ENV=/dev/null
221         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222         export CONFIG_SHELL
223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226     if test x$as_have_required = xno; then :
227   $as_echo "$0: This script requires a shell more modern than all"
228   $as_echo "$0: the shells that I found on your system."
229   if test x${ZSH_VERSION+set} = xset ; then
230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232   else
233     $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
238 $0: have one."
239   fi
240   exit 1
241 fi
242 fi
243 fi
244 SHELL=${CONFIG_SHELL-/bin/sh}
245 export SHELL
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
249
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
253 # as_fn_unset VAR
254 # ---------------
255 # Portably unset VAR.
256 as_fn_unset ()
257 {
258   { eval $1=; unset $1;}
259 }
260 as_unset=as_fn_unset
261
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
265 as_fn_set_status ()
266 {
267   return $1
268 } # as_fn_set_status
269
270 # as_fn_exit STATUS
271 # -----------------
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 as_fn_exit ()
274 {
275   set +e
276   as_fn_set_status $1
277   exit $1
278 } # as_fn_exit
279
280 # as_fn_mkdir_p
281 # -------------
282 # Create "$as_dir" as a directory, including parents if necessary.
283 as_fn_mkdir_p ()
284 {
285
286   case $as_dir in #(
287   -*) as_dir=./$as_dir;;
288   esac
289   test -d "$as_dir" || eval $as_mkdir_p || {
290     as_dirs=
291     while :; do
292       case $as_dir in #(
293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294       *) as_qdir=$as_dir;;
295       esac
296       as_dirs="'$as_qdir' $as_dirs"
297       as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299          X"$as_dir" : 'X\(//\)[^/]' \| \
300          X"$as_dir" : 'X\(//\)$' \| \
301          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)[^/].*/{
308             s//\1/
309             q
310           }
311           /^X\(\/\/\)$/{
312             s//\1/
313             q
314           }
315           /^X\(\/\).*/{
316             s//\1/
317             q
318           }
319           s/.*/./; q'`
320       test -d "$as_dir" && break
321     done
322     test -z "$as_dirs" || eval "mkdir $as_dirs"
323   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
325
326 } # as_fn_mkdir_p
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
332 # implementations.
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334   eval 'as_fn_append ()
335   {
336     eval $1+=\$2
337   }'
338 else
339   as_fn_append ()
340   {
341     eval $1=\$$1\$2
342   }
343 fi # as_fn_append
344
345 # as_fn_arith ARG...
346 # ------------------
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351   eval 'as_fn_arith ()
352   {
353     as_val=$(( $* ))
354   }'
355 else
356   as_fn_arith ()
357   {
358     as_val=`expr "$@" || test $? -eq 1`
359   }
360 fi # as_fn_arith
361
362
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
368 as_fn_error ()
369 {
370   as_status=$1; test $as_status -eq 0 && as_status=1
371   if test "$4"; then
372     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374   fi
375   $as_echo "$as_me: error: $2" >&2
376   as_fn_exit $as_status
377 } # as_fn_error
378
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
381   as_expr=expr
382 else
383   as_expr=false
384 fi
385
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387   as_basename=basename
388 else
389   as_basename=false
390 fi
391
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393   as_dirname=dirname
394 else
395   as_dirname=false
396 fi
397
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400          X"$0" : 'X\(//\)$' \| \
401          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 $as_echo X/"$0" |
403     sed '/^.*\/\([^/][^/]*\)\/*$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\/\)$/{
408             s//\1/
409             q
410           }
411           /^X\/\(\/\).*/{
412             s//\1/
413             q
414           }
415           s/.*/./; q'`
416
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425   as_lineno_1=$LINENO as_lineno_1a=$LINENO
426   as_lineno_2=$LINENO as_lineno_2a=$LINENO
427   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
430   sed -n '
431     p
432     /[$]LINENO/=
433   ' <$as_myself |
434     sed '
435       s/[$]LINENO.*/&-/
436       t lineno
437       b
438       :lineno
439       N
440       :loop
441       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442       t loop
443       s/-\n.*//
444     ' >$as_me.lineno &&
445   chmod +x "$as_me.lineno" ||
446     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
448   # Don't try to exec as it changes $[0], causing all sort of problems
449   # (the dirname of $[0] is not the place where we might find the
450   # original and so on.  Autoconf is especially sensitive to this).
451   . "./$as_me.lineno"
452   # Exit status is that of the last command.
453   exit
454 }
455
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
458 -n*)
459   case `echo 'xy\c'` in
460   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
461   xy)  ECHO_C='\c';;
462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
463        ECHO_T=' ';;
464   esac;;
465 *)
466   ECHO_N='-n';;
467 esac
468
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471   rm -f conf$$.dir/conf$$.file
472 else
473   rm -f conf$$.dir
474   mkdir conf$$.dir 2>/dev/null
475 fi
476 if (echo >conf$$.file) 2>/dev/null; then
477   if ln -s conf$$.file conf$$ 2>/dev/null; then
478     as_ln_s='ln -s'
479     # ... but there are two gotchas:
480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482     # In both cases, we have to default to `cp -p'.
483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484       as_ln_s='cp -p'
485   elif ln conf$$.file conf$$ 2>/dev/null; then
486     as_ln_s=ln
487   else
488     as_ln_s='cp -p'
489   fi
490 else
491   as_ln_s='cp -p'
492 fi
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
495
496 if mkdir -p . 2>/dev/null; then
497   as_mkdir_p='mkdir -p "$as_dir"'
498 else
499   test -d ./-p && rmdir ./-p
500   as_mkdir_p=false
501 fi
502
503 if test -x / >/dev/null 2>&1; then
504   as_test_x='test -x'
505 else
506   if ls -dL / >/dev/null 2>&1; then
507     as_ls_L_option=L
508   else
509     as_ls_L_option=
510   fi
511   as_test_x='
512     eval sh -c '\''
513       if test -d "$1"; then
514         test -d "$1/.";
515       else
516         case $1 in #(
517         -*)set "./$1";;
518         esac;
519         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520         ???[sx]*):;;*)false;;esac;fi
521     '\'' sh
522   '
523 fi
524 as_executable_p=$as_test_x
525
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
532
533 test -n "$DJDIR" || exec 7<&0 </dev/null
534 exec 6>&1
535
536 # Name of the host.
537 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
541 #
542 # Initializations.
543 #
544 ac_default_prefix=/usr/local
545 ac_clean_files=
546 ac_config_libobj_dir=.
547 LIBOBJS=
548 cross_compiling=no
549 subdirs=
550 MFLAGS=
551 MAKEFLAGS=
552
553 # Identity of this package.
554 PACKAGE_NAME='xfd'
555 PACKAGE_TARNAME='xfd'
556 PACKAGE_VERSION='1.0.1'
557 PACKAGE_STRING='xfd 1.0.1'
558 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
559 PACKAGE_URL=''
560
561 ac_subst_vars='am__EXEEXT_FALSE
562 am__EXEEXT_TRUE
563 LTLIBOBJS
564 LIBOBJS
565 MAN_SUBSTS
566 XORG_MAN_PAGE
567 ADMIN_MAN_DIR
568 DRIVER_MAN_DIR
569 MISC_MAN_DIR
570 FILE_MAN_DIR
571 LIB_MAN_DIR
572 APP_MAN_DIR
573 ADMIN_MAN_SUFFIX
574 DRIVER_MAN_SUFFIX
575 MISC_MAN_SUFFIX
576 FILE_MAN_SUFFIX
577 LIB_MAN_SUFFIX
578 APP_MAN_SUFFIX
579 SED
580 host_os
581 host_vendor
582 host_cpu
583 host
584 build_os
585 build_vendor
586 build_cpu
587 build
588 appdefaultdir
589 APPDEFS_LIBS
590 APPDEFS_CFLAGS
591 XFD_LIBS
592 XFD_CFLAGS
593 ADDITIONAL_LIBS
594 ADDITIONAL_CFLAGS
595 XAW_LIBS
596 XAW_CFLAGS
597 PKG_CONFIG_LIBDIR
598 PKG_CONFIG_PATH
599 PKG_CONFIG
600 am__fastdepCC_FALSE
601 am__fastdepCC_TRUE
602 CCDEPMODE
603 AMDEPBACKSLASH
604 AMDEP_FALSE
605 AMDEP_TRUE
606 am__quote
607 am__include
608 DEPDIR
609 OBJEXT
610 EXEEXT
611 ac_ct_CC
612 CPPFLAGS
613 LDFLAGS
614 CFLAGS
615 CC
616 MAINT
617 MAINTAINER_MODE_FALSE
618 MAINTAINER_MODE_TRUE
619 am__untar
620 am__tar
621 AMTAR
622 am__leading_dot
623 SET_MAKE
624 AWK
625 mkdir_p
626 MKDIR_P
627 INSTALL_STRIP_PROGRAM
628 STRIP
629 install_sh
630 MAKEINFO
631 AUTOHEADER
632 AUTOMAKE
633 AUTOCONF
634 ACLOCAL
635 VERSION
636 PACKAGE
637 CYGPATH_W
638 am__isrc
639 INSTALL_DATA
640 INSTALL_SCRIPT
641 INSTALL_PROGRAM
642 target_alias
643 host_alias
644 build_alias
645 LIBS
646 ECHO_T
647 ECHO_N
648 ECHO_C
649 DEFS
650 mandir
651 localedir
652 libdir
653 psdir
654 pdfdir
655 dvidir
656 htmldir
657 infodir
658 docdir
659 oldincludedir
660 includedir
661 localstatedir
662 sharedstatedir
663 sysconfdir
664 datadir
665 datarootdir
666 libexecdir
667 sbindir
668 bindir
669 program_transform_name
670 prefix
671 exec_prefix
672 PACKAGE_URL
673 PACKAGE_BUGREPORT
674 PACKAGE_STRING
675 PACKAGE_VERSION
676 PACKAGE_TARNAME
677 PACKAGE_NAME
678 PATH_SEPARATOR
679 SHELL'
680 ac_subst_files=''
681 ac_user_opts='
682 enable_option_checking
683 enable_maintainer_mode
684 enable_dependency_tracking
685 '
686       ac_precious_vars='build_alias
687 host_alias
688 target_alias
689 CC
690 CFLAGS
691 LDFLAGS
692 LIBS
693 CPPFLAGS
694 PKG_CONFIG
695 PKG_CONFIG_PATH
696 PKG_CONFIG_LIBDIR
697 XAW_CFLAGS
698 XAW_LIBS
699 ADDITIONAL_CFLAGS
700 ADDITIONAL_LIBS
701 APPDEFS_CFLAGS
702 APPDEFS_LIBS'
703
704
705 # Initialize some variables set by options.
706 ac_init_help=
707 ac_init_version=false
708 ac_unrecognized_opts=
709 ac_unrecognized_sep=
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
712 cache_file=/dev/null
713 exec_prefix=NONE
714 no_create=
715 no_recursion=
716 prefix=NONE
717 program_prefix=NONE
718 program_suffix=NONE
719 program_transform_name=s,x,x,
720 silent=
721 site=
722 srcdir=
723 verbose=
724 x_includes=NONE
725 x_libraries=NONE
726
727 # Installation directory options.
728 # These are left unexpanded so users can "make install exec_prefix=/foo"
729 # and all the variables that are supposed to be based on exec_prefix
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
733 bindir='${exec_prefix}/bin'
734 sbindir='${exec_prefix}/sbin'
735 libexecdir='${exec_prefix}/libexec'
736 datarootdir='${prefix}/share'
737 datadir='${datarootdir}'
738 sysconfdir='${prefix}/etc'
739 sharedstatedir='${prefix}/com'
740 localstatedir='${prefix}/var'
741 includedir='${prefix}/include'
742 oldincludedir='/usr/include'
743 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
744 infodir='${datarootdir}/info'
745 htmldir='${docdir}'
746 dvidir='${docdir}'
747 pdfdir='${docdir}'
748 psdir='${docdir}'
749 libdir='${exec_prefix}/lib'
750 localedir='${datarootdir}/locale'
751 mandir='${datarootdir}/man'
752
753 ac_prev=
754 ac_dashdash=
755 for ac_option
756 do
757   # If the previous option needs an argument, assign it.
758   if test -n "$ac_prev"; then
759     eval $ac_prev=\$ac_option
760     ac_prev=
761     continue
762   fi
763
764   case $ac_option in
765   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766   *=)   ac_optarg= ;;
767   *)    ac_optarg=yes ;;
768   esac
769
770   # Accept the important Cygnus configure options, so we can diagnose typos.
771
772   case $ac_dashdash$ac_option in
773   --)
774     ac_dashdash=yes ;;
775
776   -bindir | --bindir | --bindi | --bind | --bin | --bi)
777     ac_prev=bindir ;;
778   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
779     bindir=$ac_optarg ;;
780
781   -build | --build | --buil | --bui | --bu)
782     ac_prev=build_alias ;;
783   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
784     build_alias=$ac_optarg ;;
785
786   -cache-file | --cache-file | --cache-fil | --cache-fi \
787   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
788     ac_prev=cache_file ;;
789   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
790   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
791     cache_file=$ac_optarg ;;
792
793   --config-cache | -C)
794     cache_file=config.cache ;;
795
796   -datadir | --datadir | --datadi | --datad)
797     ac_prev=datadir ;;
798   -datadir=* | --datadir=* | --datadi=* | --datad=*)
799     datadir=$ac_optarg ;;
800
801   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
802   | --dataroo | --dataro | --datar)
803     ac_prev=datarootdir ;;
804   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
805   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
806     datarootdir=$ac_optarg ;;
807
808   -disable-* | --disable-*)
809     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810     # Reject names that are not valid shell variable names.
811     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812       as_fn_error $? "invalid feature name: $ac_useropt"
813     ac_useropt_orig=$ac_useropt
814     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815     case $ac_user_opts in
816       *"
817 "enable_$ac_useropt"
818 "*) ;;
819       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820          ac_unrecognized_sep=', ';;
821     esac
822     eval enable_$ac_useropt=no ;;
823
824   -docdir | --docdir | --docdi | --doc | --do)
825     ac_prev=docdir ;;
826   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
827     docdir=$ac_optarg ;;
828
829   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
830     ac_prev=dvidir ;;
831   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
832     dvidir=$ac_optarg ;;
833
834   -enable-* | --enable-*)
835     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836     # Reject names that are not valid shell variable names.
837     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838       as_fn_error $? "invalid feature name: $ac_useropt"
839     ac_useropt_orig=$ac_useropt
840     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841     case $ac_user_opts in
842       *"
843 "enable_$ac_useropt"
844 "*) ;;
845       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
846          ac_unrecognized_sep=', ';;
847     esac
848     eval enable_$ac_useropt=\$ac_optarg ;;
849
850   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
851   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
852   | --exec | --exe | --ex)
853     ac_prev=exec_prefix ;;
854   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
855   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
856   | --exec=* | --exe=* | --ex=*)
857     exec_prefix=$ac_optarg ;;
858
859   -gas | --gas | --ga | --g)
860     # Obsolete; use --with-gas.
861     with_gas=yes ;;
862
863   -help | --help | --hel | --he | -h)
864     ac_init_help=long ;;
865   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
866     ac_init_help=recursive ;;
867   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
868     ac_init_help=short ;;
869
870   -host | --host | --hos | --ho)
871     ac_prev=host_alias ;;
872   -host=* | --host=* | --hos=* | --ho=*)
873     host_alias=$ac_optarg ;;
874
875   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
876     ac_prev=htmldir ;;
877   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
878   | --ht=*)
879     htmldir=$ac_optarg ;;
880
881   -includedir | --includedir | --includedi | --included | --include \
882   | --includ | --inclu | --incl | --inc)
883     ac_prev=includedir ;;
884   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
885   | --includ=* | --inclu=* | --incl=* | --inc=*)
886     includedir=$ac_optarg ;;
887
888   -infodir | --infodir | --infodi | --infod | --info | --inf)
889     ac_prev=infodir ;;
890   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
891     infodir=$ac_optarg ;;
892
893   -libdir | --libdir | --libdi | --libd)
894     ac_prev=libdir ;;
895   -libdir=* | --libdir=* | --libdi=* | --libd=*)
896     libdir=$ac_optarg ;;
897
898   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
899   | --libexe | --libex | --libe)
900     ac_prev=libexecdir ;;
901   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
902   | --libexe=* | --libex=* | --libe=*)
903     libexecdir=$ac_optarg ;;
904
905   -localedir | --localedir | --localedi | --localed | --locale)
906     ac_prev=localedir ;;
907   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
908     localedir=$ac_optarg ;;
909
910   -localstatedir | --localstatedir | --localstatedi | --localstated \
911   | --localstate | --localstat | --localsta | --localst | --locals)
912     ac_prev=localstatedir ;;
913   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
914   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
915     localstatedir=$ac_optarg ;;
916
917   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
918     ac_prev=mandir ;;
919   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
920     mandir=$ac_optarg ;;
921
922   -nfp | --nfp | --nf)
923     # Obsolete; use --without-fp.
924     with_fp=no ;;
925
926   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
927   | --no-cr | --no-c | -n)
928     no_create=yes ;;
929
930   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
931   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
932     no_recursion=yes ;;
933
934   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
935   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
936   | --oldin | --oldi | --old | --ol | --o)
937     ac_prev=oldincludedir ;;
938   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
939   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
940   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
941     oldincludedir=$ac_optarg ;;
942
943   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
944     ac_prev=prefix ;;
945   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
946     prefix=$ac_optarg ;;
947
948   -program-prefix | --program-prefix | --program-prefi | --program-pref \
949   | --program-pre | --program-pr | --program-p)
950     ac_prev=program_prefix ;;
951   -program-prefix=* | --program-prefix=* | --program-prefi=* \
952   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
953     program_prefix=$ac_optarg ;;
954
955   -program-suffix | --program-suffix | --program-suffi | --program-suff \
956   | --program-suf | --program-su | --program-s)
957     ac_prev=program_suffix ;;
958   -program-suffix=* | --program-suffix=* | --program-suffi=* \
959   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
960     program_suffix=$ac_optarg ;;
961
962   -program-transform-name | --program-transform-name \
963   | --program-transform-nam | --program-transform-na \
964   | --program-transform-n | --program-transform- \
965   | --program-transform | --program-transfor \
966   | --program-transfo | --program-transf \
967   | --program-trans | --program-tran \
968   | --progr-tra | --program-tr | --program-t)
969     ac_prev=program_transform_name ;;
970   -program-transform-name=* | --program-transform-name=* \
971   | --program-transform-nam=* | --program-transform-na=* \
972   | --program-transform-n=* | --program-transform-=* \
973   | --program-transform=* | --program-transfor=* \
974   | --program-transfo=* | --program-transf=* \
975   | --program-trans=* | --program-tran=* \
976   | --progr-tra=* | --program-tr=* | --program-t=*)
977     program_transform_name=$ac_optarg ;;
978
979   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
980     ac_prev=pdfdir ;;
981   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
982     pdfdir=$ac_optarg ;;
983
984   -psdir | --psdir | --psdi | --psd | --ps)
985     ac_prev=psdir ;;
986   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
987     psdir=$ac_optarg ;;
988
989   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990   | -silent | --silent | --silen | --sile | --sil)
991     silent=yes ;;
992
993   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
994     ac_prev=sbindir ;;
995   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
996   | --sbi=* | --sb=*)
997     sbindir=$ac_optarg ;;
998
999   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1000   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1001   | --sharedst | --shareds | --shared | --share | --shar \
1002   | --sha | --sh)
1003     ac_prev=sharedstatedir ;;
1004   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1005   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1006   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1007   | --sha=* | --sh=*)
1008     sharedstatedir=$ac_optarg ;;
1009
1010   -site | --site | --sit)
1011     ac_prev=site ;;
1012   -site=* | --site=* | --sit=*)
1013     site=$ac_optarg ;;
1014
1015   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1016     ac_prev=srcdir ;;
1017   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1018     srcdir=$ac_optarg ;;
1019
1020   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1021   | --syscon | --sysco | --sysc | --sys | --sy)
1022     ac_prev=sysconfdir ;;
1023   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1024   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1025     sysconfdir=$ac_optarg ;;
1026
1027   -target | --target | --targe | --targ | --tar | --ta | --t)
1028     ac_prev=target_alias ;;
1029   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1030     target_alias=$ac_optarg ;;
1031
1032   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1033     verbose=yes ;;
1034
1035   -version | --version | --versio | --versi | --vers | -V)
1036     ac_init_version=: ;;
1037
1038   -with-* | --with-*)
1039     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1040     # Reject names that are not valid shell variable names.
1041     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042       as_fn_error $? "invalid package name: $ac_useropt"
1043     ac_useropt_orig=$ac_useropt
1044     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045     case $ac_user_opts in
1046       *"
1047 "with_$ac_useropt"
1048 "*) ;;
1049       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1050          ac_unrecognized_sep=', ';;
1051     esac
1052     eval with_$ac_useropt=\$ac_optarg ;;
1053
1054   -without-* | --without-*)
1055     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056     # Reject names that are not valid shell variable names.
1057     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058       as_fn_error $? "invalid package name: $ac_useropt"
1059     ac_useropt_orig=$ac_useropt
1060     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061     case $ac_user_opts in
1062       *"
1063 "with_$ac_useropt"
1064 "*) ;;
1065       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1066          ac_unrecognized_sep=', ';;
1067     esac
1068     eval with_$ac_useropt=no ;;
1069
1070   --x)
1071     # Obsolete; use --with-x.
1072     with_x=yes ;;
1073
1074   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1075   | --x-incl | --x-inc | --x-in | --x-i)
1076     ac_prev=x_includes ;;
1077   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1078   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1079     x_includes=$ac_optarg ;;
1080
1081   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1082   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1083     ac_prev=x_libraries ;;
1084   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1085   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1086     x_libraries=$ac_optarg ;;
1087
1088   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1089 Try \`$0 --help' for more information"
1090     ;;
1091
1092   *=*)
1093     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1094     # Reject names that are not valid shell variable names.
1095     case $ac_envvar in #(
1096       '' | [0-9]* | *[!_$as_cr_alnum]* )
1097       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1098     esac
1099     eval $ac_envvar=\$ac_optarg
1100     export $ac_envvar ;;
1101
1102   *)
1103     # FIXME: should be removed in autoconf 3.0.
1104     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1108     ;;
1109
1110   esac
1111 done
1112
1113 if test -n "$ac_prev"; then
1114   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1115   as_fn_error $? "missing argument to $ac_option"
1116 fi
1117
1118 if test -n "$ac_unrecognized_opts"; then
1119   case $enable_option_checking in
1120     no) ;;
1121     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1122     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1123   esac
1124 fi
1125
1126 # Check all directory arguments for consistency.
1127 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1128                 datadir sysconfdir sharedstatedir localstatedir includedir \
1129                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1130                 libdir localedir mandir
1131 do
1132   eval ac_val=\$$ac_var
1133   # Remove trailing slashes.
1134   case $ac_val in
1135     */ )
1136       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1137       eval $ac_var=\$ac_val;;
1138   esac
1139   # Be sure to have absolute directory names.
1140   case $ac_val in
1141     [\\/$]* | ?:[\\/]* )  continue;;
1142     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1143   esac
1144   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1145 done
1146
1147 # There might be people who depend on the old broken behavior: `$host'
1148 # used to hold the argument of --host etc.
1149 # FIXME: To remove some day.
1150 build=$build_alias
1151 host=$host_alias
1152 target=$target_alias
1153
1154 # FIXME: To remove some day.
1155 if test "x$host_alias" != x; then
1156   if test "x$build_alias" = x; then
1157     cross_compiling=maybe
1158     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1159     If a cross compiler is detected then cross compile mode will be used" >&2
1160   elif test "x$build_alias" != "x$host_alias"; then
1161     cross_compiling=yes
1162   fi
1163 fi
1164
1165 ac_tool_prefix=
1166 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1167
1168 test "$silent" = yes && exec 6>/dev/null
1169
1170
1171 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1172 ac_ls_di=`ls -di .` &&
1173 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1174   as_fn_error $? "working directory cannot be determined"
1175 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176   as_fn_error $? "pwd does not report name of working directory"
1177
1178
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181   ac_srcdir_defaulted=yes
1182   # Try the directory containing this script, then the parent directory.
1183   ac_confdir=`$as_dirname -- "$as_myself" ||
1184 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185          X"$as_myself" : 'X\(//\)[^/]' \| \
1186          X"$as_myself" : 'X\(//\)$' \| \
1187          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188 $as_echo X"$as_myself" |
1189     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190             s//\1/
1191             q
1192           }
1193           /^X\(\/\/\)[^/].*/{
1194             s//\1/
1195             q
1196           }
1197           /^X\(\/\/\)$/{
1198             s//\1/
1199             q
1200           }
1201           /^X\(\/\).*/{
1202             s//\1/
1203             q
1204           }
1205           s/.*/./; q'`
1206   srcdir=$ac_confdir
1207   if test ! -r "$srcdir/$ac_unique_file"; then
1208     srcdir=..
1209   fi
1210 else
1211   ac_srcdir_defaulted=no
1212 fi
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1216 fi
1217 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1218 ac_abs_confdir=`(
1219         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1220         pwd)`
1221 # When building in place, set srcdir=.
1222 if test "$ac_abs_confdir" = "$ac_pwd"; then
1223   srcdir=.
1224 fi
1225 # Remove unnecessary trailing slashes from srcdir.
1226 # Double slashes in file names in object file debugging info
1227 # mess up M-x gdb in Emacs.
1228 case $srcdir in
1229 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230 esac
1231 for ac_var in $ac_precious_vars; do
1232   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1233   eval ac_env_${ac_var}_value=\$${ac_var}
1234   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1235   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1236 done
1237
1238 #
1239 # Report the --help message.
1240 #
1241 if test "$ac_init_help" = "long"; then
1242   # Omit some internal or obsolete options to make the list less imposing.
1243   # This message is too long to be a string in the A/UX 3.1 sh.
1244   cat <<_ACEOF
1245 \`configure' configures xfd 1.0.1 to adapt to many kinds of systems.
1246
1247 Usage: $0 [OPTION]... [VAR=VALUE]...
1248
1249 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250 VAR=VALUE.  See below for descriptions of some of the useful variables.
1251
1252 Defaults for the options are specified in brackets.
1253
1254 Configuration:
1255   -h, --help              display this help and exit
1256       --help=short        display options specific to this package
1257       --help=recursive    display the short help of all the included packages
1258   -V, --version           display version information and exit
1259   -q, --quiet, --silent   do not print \`checking ...' messages
1260       --cache-file=FILE   cache test results in FILE [disabled]
1261   -C, --config-cache      alias for \`--cache-file=config.cache'
1262   -n, --no-create         do not create output files
1263       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1264
1265 Installation directories:
1266   --prefix=PREFIX         install architecture-independent files in PREFIX
1267                           [$ac_default_prefix]
1268   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1269                           [PREFIX]
1270
1271 By default, \`make install' will install all the files in
1272 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1273 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274 for instance \`--prefix=\$HOME'.
1275
1276 For better control, use the options below.
1277
1278 Fine tuning of the installation directories:
1279   --bindir=DIR            user executables [EPREFIX/bin]
1280   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1281   --libexecdir=DIR        program executables [EPREFIX/libexec]
1282   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1283   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1284   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1285   --libdir=DIR            object code libraries [EPREFIX/lib]
1286   --includedir=DIR        C header files [PREFIX/include]
1287   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1288   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1289   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1290   --infodir=DIR           info documentation [DATAROOTDIR/info]
1291   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1292   --mandir=DIR            man documentation [DATAROOTDIR/man]
1293   --docdir=DIR            documentation root [DATAROOTDIR/doc/xfd]
1294   --htmldir=DIR           html documentation [DOCDIR]
1295   --dvidir=DIR            dvi documentation [DOCDIR]
1296   --pdfdir=DIR            pdf documentation [DOCDIR]
1297   --psdir=DIR             ps documentation [DOCDIR]
1298 _ACEOF
1299
1300   cat <<\_ACEOF
1301
1302 Program names:
1303   --program-prefix=PREFIX            prepend PREFIX to installed program names
1304   --program-suffix=SUFFIX            append SUFFIX to installed program names
1305   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1306
1307 System types:
1308   --build=BUILD     configure for building on BUILD [guessed]
1309   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1310 _ACEOF
1311 fi
1312
1313 if test -n "$ac_init_help"; then
1314   case $ac_init_help in
1315      short | recursive ) echo "Configuration of xfd 1.0.1:";;
1316    esac
1317   cat <<\_ACEOF
1318
1319 Optional Features:
1320   --disable-option-checking  ignore unrecognized --enable/--with options
1321   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1322   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1323   --enable-maintainer-mode  enable make rules and dependencies not useful
1324                           (and sometimes confusing) to the casual installer
1325   --disable-dependency-tracking  speeds up one-time build
1326   --enable-dependency-tracking   do not reject slow dependency extractors
1327
1328 Some influential environment variables:
1329   CC          C compiler command
1330   CFLAGS      C compiler flags
1331   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1332               nonstandard directory <lib dir>
1333   LIBS        libraries to pass to the linker, e.g. -l<library>
1334   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1335               you have headers in a nonstandard directory <include dir>
1336   PKG_CONFIG  path to pkg-config utility
1337   PKG_CONFIG_PATH
1338               directories to add to pkg-config's search path
1339   PKG_CONFIG_LIBDIR
1340               path overriding pkg-config's built-in search path
1341   XAW_CFLAGS  C compiler flags for XAW, overriding pkg-config
1342   XAW_LIBS    linker flags for XAW, overriding pkg-config
1343   ADDITIONAL_CFLAGS
1344               C compiler flags for ADDITIONAL, overriding pkg-config
1345   ADDITIONAL_LIBS
1346               linker flags for ADDITIONAL, overriding pkg-config
1347   APPDEFS_CFLAGS
1348               C compiler flags for APPDEFS, overriding pkg-config
1349   APPDEFS_LIBS
1350               linker flags for APPDEFS, overriding pkg-config
1351
1352 Use these variables to override the choices made by `configure' or to help
1353 it to find libraries and programs with nonstandard names/locations.
1354
1355 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1356 _ACEOF
1357 ac_status=$?
1358 fi
1359
1360 if test "$ac_init_help" = "recursive"; then
1361   # If there are subdirs, report their specific --help.
1362   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1363     test -d "$ac_dir" ||
1364       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1365       continue
1366     ac_builddir=.
1367
1368 case "$ac_dir" in
1369 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1370 *)
1371   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1372   # A ".." for each directory in $ac_dir_suffix.
1373   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1374   case $ac_top_builddir_sub in
1375   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1377   esac ;;
1378 esac
1379 ac_abs_top_builddir=$ac_pwd
1380 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1381 # for backward compatibility:
1382 ac_top_builddir=$ac_top_build_prefix
1383
1384 case $srcdir in
1385   .)  # We are building in place.
1386     ac_srcdir=.
1387     ac_top_srcdir=$ac_top_builddir_sub
1388     ac_abs_top_srcdir=$ac_pwd ;;
1389   [\\/]* | ?:[\\/]* )  # Absolute name.
1390     ac_srcdir=$srcdir$ac_dir_suffix;
1391     ac_top_srcdir=$srcdir
1392     ac_abs_top_srcdir=$srcdir ;;
1393   *) # Relative name.
1394     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1395     ac_top_srcdir=$ac_top_build_prefix$srcdir
1396     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1397 esac
1398 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1399
1400     cd "$ac_dir" || { ac_status=$?; continue; }
1401     # Check for guested configure.
1402     if test -f "$ac_srcdir/configure.gnu"; then
1403       echo &&
1404       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1405     elif test -f "$ac_srcdir/configure"; then
1406       echo &&
1407       $SHELL "$ac_srcdir/configure" --help=recursive
1408     else
1409       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1410     fi || ac_status=$?
1411     cd "$ac_pwd" || { ac_status=$?; break; }
1412   done
1413 fi
1414
1415 test -n "$ac_init_help" && exit $ac_status
1416 if $ac_init_version; then
1417   cat <<\_ACEOF
1418 xfd configure 1.0.1
1419 generated by GNU Autoconf 2.67
1420
1421 Copyright (C) 2010 Free Software Foundation, Inc.
1422 This configure script is free software; the Free Software Foundation
1423 gives unlimited permission to copy, distribute and modify it.
1424 _ACEOF
1425   exit
1426 fi
1427
1428 ## ------------------------ ##
1429 ## Autoconf initialization. ##
1430 ## ------------------------ ##
1431
1432 # ac_fn_c_try_compile LINENO
1433 # --------------------------
1434 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1435 ac_fn_c_try_compile ()
1436 {
1437   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1438   rm -f conftest.$ac_objext
1439   if { { ac_try="$ac_compile"
1440 case "(($ac_try" in
1441   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1442   *) ac_try_echo=$ac_try;;
1443 esac
1444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1445 $as_echo "$ac_try_echo"; } >&5
1446   (eval "$ac_compile") 2>conftest.err
1447   ac_status=$?
1448   if test -s conftest.err; then
1449     grep -v '^ *+' conftest.err >conftest.er1
1450     cat conftest.er1 >&5
1451     mv -f conftest.er1 conftest.err
1452   fi
1453   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1454   test $ac_status = 0; } && {
1455          test -z "$ac_c_werror_flag" ||
1456          test ! -s conftest.err
1457        } && test -s conftest.$ac_objext; then :
1458   ac_retval=0
1459 else
1460   $as_echo "$as_me: failed program was:" >&5
1461 sed 's/^/| /' conftest.$ac_ext >&5
1462
1463         ac_retval=1
1464 fi
1465   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1466   as_fn_set_status $ac_retval
1467
1468 } # ac_fn_c_try_compile
1469 cat >config.log <<_ACEOF
1470 This file contains any messages produced by compilers while
1471 running configure, to aid debugging if configure makes a mistake.
1472
1473 It was created by xfd $as_me 1.0.1, which was
1474 generated by GNU Autoconf 2.67.  Invocation command line was
1475
1476   $ $0 $@
1477
1478 _ACEOF
1479 exec 5>>config.log
1480 {
1481 cat <<_ASUNAME
1482 ## --------- ##
1483 ## Platform. ##
1484 ## --------- ##
1485
1486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491
1492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1493 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1494
1495 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1496 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1498 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1499 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1500 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1501 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1502
1503 _ASUNAME
1504
1505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506 for as_dir in $PATH
1507 do
1508   IFS=$as_save_IFS
1509   test -z "$as_dir" && as_dir=.
1510     $as_echo "PATH: $as_dir"
1511   done
1512 IFS=$as_save_IFS
1513
1514 } >&5
1515
1516 cat >&5 <<_ACEOF
1517
1518
1519 ## ----------- ##
1520 ## Core tests. ##
1521 ## ----------- ##
1522
1523 _ACEOF
1524
1525
1526 # Keep a trace of the command line.
1527 # Strip out --no-create and --no-recursion so they do not pile up.
1528 # Strip out --silent because we don't want to record it for future runs.
1529 # Also quote any args containing shell meta-characters.
1530 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_configure_args=
1532 ac_configure_args0=
1533 ac_configure_args1=
1534 ac_must_keep_next=false
1535 for ac_pass in 1 2
1536 do
1537   for ac_arg
1538   do
1539     case $ac_arg in
1540     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1541     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1542     | -silent | --silent | --silen | --sile | --sil)
1543       continue ;;
1544     *\'*)
1545       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1546     esac
1547     case $ac_pass in
1548     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1549     2)
1550       as_fn_append ac_configure_args1 " '$ac_arg'"
1551       if test $ac_must_keep_next = true; then
1552         ac_must_keep_next=false # Got value, back to normal.
1553       else
1554         case $ac_arg in
1555           *=* | --config-cache | -C | -disable-* | --disable-* \
1556           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1557           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1558           | -with-* | --with-* | -without-* | --without-* | --x)
1559             case "$ac_configure_args0 " in
1560               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1561             esac
1562             ;;
1563           -* ) ac_must_keep_next=true ;;
1564         esac
1565       fi
1566       as_fn_append ac_configure_args " '$ac_arg'"
1567       ;;
1568     esac
1569   done
1570 done
1571 { ac_configure_args0=; unset ac_configure_args0;}
1572 { ac_configure_args1=; unset ac_configure_args1;}
1573
1574 # When interrupted or exit'd, cleanup temporary files, and complete
1575 # config.log.  We remove comments because anyway the quotes in there
1576 # would cause problems or look ugly.
1577 # WARNING: Use '\'' to represent an apostrophe within the trap.
1578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1579 trap 'exit_status=$?
1580   # Save into config.log some information that might help in debugging.
1581   {
1582     echo
1583
1584     $as_echo "## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##"
1587     echo
1588     # The following way of writing the cache mishandles newlines in values,
1589 (
1590   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1591     eval ac_val=\$$ac_var
1592     case $ac_val in #(
1593     *${as_nl}*)
1594       case $ac_var in #(
1595       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1596 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1597       esac
1598       case $ac_var in #(
1599       _ | IFS | as_nl) ;; #(
1600       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1601       *) { eval $ac_var=; unset $ac_var;} ;;
1602       esac ;;
1603     esac
1604   done
1605   (set) 2>&1 |
1606     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607     *${as_nl}ac_space=\ *)
1608       sed -n \
1609         "s/'\''/'\''\\\\'\'''\''/g;
1610           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611       ;; #(
1612     *)
1613       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1614       ;;
1615     esac |
1616     sort
1617 )
1618     echo
1619
1620     $as_echo "## ----------------- ##
1621 ## Output variables. ##
1622 ## ----------------- ##"
1623     echo
1624     for ac_var in $ac_subst_vars
1625     do
1626       eval ac_val=\$$ac_var
1627       case $ac_val in
1628       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629       esac
1630       $as_echo "$ac_var='\''$ac_val'\''"
1631     done | sort
1632     echo
1633
1634     if test -n "$ac_subst_files"; then
1635       $as_echo "## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##"
1638       echo
1639       for ac_var in $ac_subst_files
1640       do
1641         eval ac_val=\$$ac_var
1642         case $ac_val in
1643         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1644         esac
1645         $as_echo "$ac_var='\''$ac_val'\''"
1646       done | sort
1647       echo
1648     fi
1649
1650     if test -s confdefs.h; then
1651       $as_echo "## ----------- ##
1652 ## confdefs.h. ##
1653 ## ----------- ##"
1654       echo
1655       cat confdefs.h
1656       echo
1657     fi
1658     test "$ac_signal" != 0 &&
1659       $as_echo "$as_me: caught signal $ac_signal"
1660     $as_echo "$as_me: exit $exit_status"
1661   } >&5
1662   rm -f core *.core core.conftest.* &&
1663     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1664     exit $exit_status
1665 ' 0
1666 for ac_signal in 1 2 13 15; do
1667   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1668 done
1669 ac_signal=0
1670
1671 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1672 rm -f -r conftest* confdefs.h
1673
1674 $as_echo "/* confdefs.h */" > confdefs.h
1675
1676 # Predefined preprocessor variables.
1677
1678 cat >>confdefs.h <<_ACEOF
1679 #define PACKAGE_NAME "$PACKAGE_NAME"
1680 _ACEOF
1681
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1684 _ACEOF
1685
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1688 _ACEOF
1689
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_STRING "$PACKAGE_STRING"
1692 _ACEOF
1693
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1696 _ACEOF
1697
1698 cat >>confdefs.h <<_ACEOF
1699 #define PACKAGE_URL "$PACKAGE_URL"
1700 _ACEOF
1701
1702
1703 # Let the site file select an alternate cache file if it wants to.
1704 # Prefer an explicitly selected file to automatically selected ones.
1705 ac_site_file1=NONE
1706 ac_site_file2=NONE
1707 if test -n "$CONFIG_SITE"; then
1708   # We do not want a PATH search for config.site.
1709   case $CONFIG_SITE in #((
1710     -*)  ac_site_file1=./$CONFIG_SITE;;
1711     */*) ac_site_file1=$CONFIG_SITE;;
1712     *)   ac_site_file1=./$CONFIG_SITE;;
1713   esac
1714 elif test "x$prefix" != xNONE; then
1715   ac_site_file1=$prefix/share/config.site
1716   ac_site_file2=$prefix/etc/config.site
1717 else
1718   ac_site_file1=$ac_default_prefix/share/config.site
1719   ac_site_file2=$ac_default_prefix/etc/config.site
1720 fi
1721 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1722 do
1723   test "x$ac_site_file" = xNONE && continue
1724   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1725     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1726 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1727     sed 's/^/| /' "$ac_site_file" >&5
1728     . "$ac_site_file" \
1729       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1731 as_fn_error $? "failed to load site script $ac_site_file
1732 See \`config.log' for more details" "$LINENO" 5 ; }
1733   fi
1734 done
1735
1736 if test -r "$cache_file"; then
1737   # Some versions of bash will fail to source /dev/null (special files
1738   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1739   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1740     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1741 $as_echo "$as_me: loading cache $cache_file" >&6;}
1742     case $cache_file in
1743       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1744       *)                      . "./$cache_file";;
1745     esac
1746   fi
1747 else
1748   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1749 $as_echo "$as_me: creating cache $cache_file" >&6;}
1750   >$cache_file
1751 fi
1752
1753 # Check that the precious variables saved in the cache have kept the same
1754 # value.
1755 ac_cache_corrupted=false
1756 for ac_var in $ac_precious_vars; do
1757   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1758   eval ac_new_set=\$ac_env_${ac_var}_set
1759   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1760   eval ac_new_val=\$ac_env_${ac_var}_value
1761   case $ac_old_set,$ac_new_set in
1762     set,)
1763       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1764 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1765       ac_cache_corrupted=: ;;
1766     ,set)
1767       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1768 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1769       ac_cache_corrupted=: ;;
1770     ,);;
1771     *)
1772       if test "x$ac_old_val" != "x$ac_new_val"; then
1773         # differences in whitespace do not lead to failure.
1774         ac_old_val_w=`echo x $ac_old_val`
1775         ac_new_val_w=`echo x $ac_new_val`
1776         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1777           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1778 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1779           ac_cache_corrupted=:
1780         else
1781           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1782 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1783           eval $ac_var=\$ac_old_val
1784         fi
1785         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1786 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1787         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1788 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1789       fi;;
1790   esac
1791   # Pass precious variables to config.status.
1792   if test "$ac_new_set" = set; then
1793     case $ac_new_val in
1794     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1795     *) ac_arg=$ac_var=$ac_new_val ;;
1796     esac
1797     case " $ac_configure_args " in
1798       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1799       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1800     esac
1801   fi
1802 done
1803 if $ac_cache_corrupted; then
1804   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1806   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1807 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1808   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1809 fi
1810 ## -------------------- ##
1811 ## Main body of script. ##
1812 ## -------------------- ##
1813
1814 ac_ext=c
1815 ac_cpp='$CPP $CPPFLAGS'
1816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1819
1820
1821 am__api_version='1.11'
1822
1823 ac_aux_dir=
1824 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1825   if test -f "$ac_dir/install-sh"; then
1826     ac_aux_dir=$ac_dir
1827     ac_install_sh="$ac_aux_dir/install-sh -c"
1828     break
1829   elif test -f "$ac_dir/install.sh"; then
1830     ac_aux_dir=$ac_dir
1831     ac_install_sh="$ac_aux_dir/install.sh -c"
1832     break
1833   elif test -f "$ac_dir/shtool"; then
1834     ac_aux_dir=$ac_dir
1835     ac_install_sh="$ac_aux_dir/shtool install -c"
1836     break
1837   fi
1838 done
1839 if test -z "$ac_aux_dir"; then
1840   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1841 fi
1842
1843 # These three variables are undocumented and unsupported,
1844 # and are intended to be withdrawn in a future Autoconf release.
1845 # They can cause serious problems if a builder's source tree is in a directory
1846 # whose full name contains unusual characters.
1847 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1848 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1849 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1850
1851
1852 # Find a good install program.  We prefer a C program (faster),
1853 # so one script is as good as another.  But avoid the broken or
1854 # incompatible versions:
1855 # SysV /etc/install, /usr/sbin/install
1856 # SunOS /usr/etc/install
1857 # IRIX /sbin/install
1858 # AIX /bin/install
1859 # AmigaOS /C/install, which installs bootblocks on floppy discs
1860 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1861 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1862 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1863 # OS/2's system install, which has a completely different semantic
1864 # ./install, which can be erroneously created by make from ./install.sh.
1865 # Reject install programs that cannot install multiple files.
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1867 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1868 if test -z "$INSTALL"; then
1869 if test "${ac_cv_path_install+set}" = set; then :
1870   $as_echo_n "(cached) " >&6
1871 else
1872   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873 for as_dir in $PATH
1874 do
1875   IFS=$as_save_IFS
1876   test -z "$as_dir" && as_dir=.
1877     # Account for people who put trailing slashes in PATH elements.
1878 case $as_dir/ in #((
1879   ./ | .// | /[cC]/* | \
1880   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1881   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1882   /usr/ucb/* ) ;;
1883   *)
1884     # OSF1 and SCO ODT 3.0 have their own names for install.
1885     # Don't use installbsd from OSF since it installs stuff as root
1886     # by default.
1887     for ac_prog in ginstall scoinst install; do
1888       for ac_exec_ext in '' $ac_executable_extensions; do
1889         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1890           if test $ac_prog = install &&
1891             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1892             # AIX install.  It has an incompatible calling convention.
1893             :
1894           elif test $ac_prog = install &&
1895             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1896             # program-specific install script used by HP pwplus--don't use.
1897             :
1898           else
1899             rm -rf conftest.one conftest.two conftest.dir
1900             echo one > conftest.one
1901             echo two > conftest.two
1902             mkdir conftest.dir
1903             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1904               test -s conftest.one && test -s conftest.two &&
1905               test -s conftest.dir/conftest.one &&
1906               test -s conftest.dir/conftest.two
1907             then
1908               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1909               break 3
1910             fi
1911           fi
1912         fi
1913       done
1914     done
1915     ;;
1916 esac
1917
1918   done
1919 IFS=$as_save_IFS
1920
1921 rm -rf conftest.one conftest.two conftest.dir
1922
1923 fi
1924   if test "${ac_cv_path_install+set}" = set; then
1925     INSTALL=$ac_cv_path_install
1926   else
1927     # As a last resort, use the slow shell script.  Don't cache a
1928     # value for INSTALL within a source directory, because that will
1929     # break other packages using the cache if that directory is
1930     # removed, or if the value is a relative name.
1931     INSTALL=$ac_install_sh
1932   fi
1933 fi
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1935 $as_echo "$INSTALL" >&6; }
1936
1937 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1938 # It thinks the first close brace ends the variable substitution.
1939 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1940
1941 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1942
1943 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1944
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1946 $as_echo_n "checking whether build environment is sane... " >&6; }
1947 # Just in case
1948 sleep 1
1949 echo timestamp > conftest.file
1950 # Reject unsafe characters in $srcdir or the absolute working directory
1951 # name.  Accept space and tab only in the latter.
1952 am_lf='
1953 '
1954 case `pwd` in
1955   *[\\\"\#\$\&\'\`$am_lf]*)
1956     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
1957 esac
1958 case $srcdir in
1959   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
1960     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
1961 esac
1962
1963 # Do `set' in a subshell so we don't clobber the current shell's
1964 # arguments.  Must try -L first in case configure is actually a
1965 # symlink; some systems play weird games with the mod time of symlinks
1966 # (eg FreeBSD returns the mod time of the symlink's containing
1967 # directory).
1968 if (
1969    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1970    if test "$*" = "X"; then
1971       # -L didn't work.
1972       set X `ls -t "$srcdir/configure" conftest.file`
1973    fi
1974    rm -f conftest.file
1975    if test "$*" != "X $srcdir/configure conftest.file" \
1976       && test "$*" != "X conftest.file $srcdir/configure"; then
1977
1978       # If neither matched, then we have a broken ls.  This can happen
1979       # if, for instance, CONFIG_SHELL is bash and it inherits a
1980       # broken ls alias from the environment.  This has actually
1981       # happened.  Such a system could not be considered "sane".
1982       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1983 alias in your environment" "$LINENO" 5
1984    fi
1985
1986    test "$2" = conftest.file
1987    )
1988 then
1989    # Ok.
1990    :
1991 else
1992    as_fn_error $? "newly created file is older than distributed files!
1993 Check your system clock" "$LINENO" 5
1994 fi
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1996 $as_echo "yes" >&6; }
1997 test "$program_prefix" != NONE &&
1998   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1999 # Use a double $ so make ignores it.
2000 test "$program_suffix" != NONE &&
2001   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2002 # Double any \ or $.
2003 # By default was `s,x,x', remove it if useless.
2004 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2005 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2006
2007 # expand $ac_aux_dir to an absolute path
2008 am_aux_dir=`cd $ac_aux_dir && pwd`
2009
2010 if test x"${MISSING+set}" != xset; then
2011   case $am_aux_dir in
2012   *\ * | *\     *)
2013     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2014   *)
2015     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2016   esac
2017 fi
2018 # Use eval to expand $SHELL
2019 if eval "$MISSING --run true"; then
2020   am_missing_run="$MISSING --run "
2021 else
2022   am_missing_run=
2023   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2024 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2025 fi
2026
2027 if test x"${install_sh}" != xset; then
2028   case $am_aux_dir in
2029   *\ * | *\     *)
2030     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2031   *)
2032     install_sh="\${SHELL} $am_aux_dir/install-sh"
2033   esac
2034 fi
2035
2036 # Installed binaries are usually stripped using `strip' when the user
2037 # run `make install-strip'.  However `strip' might not be the right
2038 # tool to use in cross-compilation environments, therefore Automake
2039 # will honor the `STRIP' environment variable to overrule this program.
2040 if test "$cross_compiling" != no; then
2041   if test -n "$ac_tool_prefix"; then
2042   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2043 set dummy ${ac_tool_prefix}strip; ac_word=$2
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2045 $as_echo_n "checking for $ac_word... " >&6; }
2046 if test "${ac_cv_prog_STRIP+set}" = set; then :
2047   $as_echo_n "(cached) " >&6
2048 else
2049   if test -n "$STRIP"; then
2050   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2051 else
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2054 do
2055   IFS=$as_save_IFS
2056   test -z "$as_dir" && as_dir=.
2057     for ac_exec_ext in '' $ac_executable_extensions; do
2058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2059     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2061     break 2
2062   fi
2063 done
2064   done
2065 IFS=$as_save_IFS
2066
2067 fi
2068 fi
2069 STRIP=$ac_cv_prog_STRIP
2070 if test -n "$STRIP"; then
2071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2072 $as_echo "$STRIP" >&6; }
2073 else
2074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2075 $as_echo "no" >&6; }
2076 fi
2077
2078
2079 fi
2080 if test -z "$ac_cv_prog_STRIP"; then
2081   ac_ct_STRIP=$STRIP
2082   # Extract the first word of "strip", so it can be a program name with args.
2083 set dummy strip; ac_word=$2
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2085 $as_echo_n "checking for $ac_word... " >&6; }
2086 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2087   $as_echo_n "(cached) " >&6
2088 else
2089   if test -n "$ac_ct_STRIP"; then
2090   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2091 else
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093 for as_dir in $PATH
2094 do
2095   IFS=$as_save_IFS
2096   test -z "$as_dir" && as_dir=.
2097     for ac_exec_ext in '' $ac_executable_extensions; do
2098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2099     ac_cv_prog_ac_ct_STRIP="strip"
2100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2101     break 2
2102   fi
2103 done
2104   done
2105 IFS=$as_save_IFS
2106
2107 fi
2108 fi
2109 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2110 if test -n "$ac_ct_STRIP"; then
2111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2112 $as_echo "$ac_ct_STRIP" >&6; }
2113 else
2114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2115 $as_echo "no" >&6; }
2116 fi
2117
2118   if test "x$ac_ct_STRIP" = x; then
2119     STRIP=":"
2120   else
2121     case $cross_compiling:$ac_tool_warned in
2122 yes:)
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2125 ac_tool_warned=yes ;;
2126 esac
2127     STRIP=$ac_ct_STRIP
2128   fi
2129 else
2130   STRIP="$ac_cv_prog_STRIP"
2131 fi
2132
2133 fi
2134 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2135
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2137 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2138 if test -z "$MKDIR_P"; then
2139   if test "${ac_cv_path_mkdir+set}" = set; then :
2140   $as_echo_n "(cached) " >&6
2141 else
2142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2144 do
2145   IFS=$as_save_IFS
2146   test -z "$as_dir" && as_dir=.
2147     for ac_prog in mkdir gmkdir; do
2148          for ac_exec_ext in '' $ac_executable_extensions; do
2149            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2150            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2151              'mkdir (GNU coreutils) '* | \
2152              'mkdir (coreutils) '* | \
2153              'mkdir (fileutils) '4.1*)
2154                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2155                break 3;;
2156            esac
2157          done
2158        done
2159   done
2160 IFS=$as_save_IFS
2161
2162 fi
2163
2164   test -d ./--version && rmdir ./--version
2165   if test "${ac_cv_path_mkdir+set}" = set; then
2166     MKDIR_P="$ac_cv_path_mkdir -p"
2167   else
2168     # As a last resort, use the slow shell script.  Don't cache a
2169     # value for MKDIR_P within a source directory, because that will
2170     # break other packages using the cache if that directory is
2171     # removed, or if the value is a relative name.
2172     MKDIR_P="$ac_install_sh -d"
2173   fi
2174 fi
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2176 $as_echo "$MKDIR_P" >&6; }
2177
2178 mkdir_p="$MKDIR_P"
2179 case $mkdir_p in
2180   [\\/$]* | ?:[\\/]*) ;;
2181   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2182 esac
2183
2184 for ac_prog in gawk mawk nawk awk
2185 do
2186   # Extract the first word of "$ac_prog", so it can be a program name with args.
2187 set dummy $ac_prog; ac_word=$2
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2189 $as_echo_n "checking for $ac_word... " >&6; }
2190 if test "${ac_cv_prog_AWK+set}" = set; then :
2191   $as_echo_n "(cached) " >&6
2192 else
2193   if test -n "$AWK"; then
2194   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2195 else
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 for as_dir in $PATH
2198 do
2199   IFS=$as_save_IFS
2200   test -z "$as_dir" && as_dir=.
2201     for ac_exec_ext in '' $ac_executable_extensions; do
2202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2203     ac_cv_prog_AWK="$ac_prog"
2204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2205     break 2
2206   fi
2207 done
2208   done
2209 IFS=$as_save_IFS
2210
2211 fi
2212 fi
2213 AWK=$ac_cv_prog_AWK
2214 if test -n "$AWK"; then
2215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2216 $as_echo "$AWK" >&6; }
2217 else
2218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2219 $as_echo "no" >&6; }
2220 fi
2221
2222
2223   test -n "$AWK" && break
2224 done
2225
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2227 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2228 set x ${MAKE-make}
2229 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2230 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2231   $as_echo_n "(cached) " >&6
2232 else
2233   cat >conftest.make <<\_ACEOF
2234 SHELL = /bin/sh
2235 all:
2236         @echo '@@@%%%=$(MAKE)=@@@%%%'
2237 _ACEOF
2238 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2239 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2240   *@@@%%%=?*=@@@%%%*)
2241     eval ac_cv_prog_make_${ac_make}_set=yes;;
2242   *)
2243     eval ac_cv_prog_make_${ac_make}_set=no;;
2244 esac
2245 rm -f conftest.make
2246 fi
2247 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2249 $as_echo "yes" >&6; }
2250   SET_MAKE=
2251 else
2252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2253 $as_echo "no" >&6; }
2254   SET_MAKE="MAKE=${MAKE-make}"
2255 fi
2256
2257 rm -rf .tst 2>/dev/null
2258 mkdir .tst 2>/dev/null
2259 if test -d .tst; then
2260   am__leading_dot=.
2261 else
2262   am__leading_dot=_
2263 fi
2264 rmdir .tst 2>/dev/null
2265
2266 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2267   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2268   # is not polluted with repeated "-I."
2269   am__isrc=' -I$(srcdir)'
2270   # test to see if srcdir already configured
2271   if test -f $srcdir/config.status; then
2272     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2273   fi
2274 fi
2275
2276 # test whether we have cygpath
2277 if test -z "$CYGPATH_W"; then
2278   if (cygpath --version) >/dev/null 2>/dev/null; then
2279     CYGPATH_W='cygpath -w'
2280   else
2281     CYGPATH_W=echo
2282   fi
2283 fi
2284
2285
2286 # Define the identity of the package.
2287  PACKAGE='xfd'
2288  VERSION='1.0.1'
2289
2290
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE "$PACKAGE"
2293 _ACEOF
2294
2295
2296 cat >>confdefs.h <<_ACEOF
2297 #define VERSION "$VERSION"
2298 _ACEOF
2299
2300 # Some tools Automake needs.
2301
2302 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2303
2304
2305 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2306
2307
2308 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2309
2310
2311 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2312
2313
2314 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2315
2316 # We need awk for the "check" target.  The system "awk" is bad on
2317 # some platforms.
2318 # Always define AMTAR for backward compatibility.
2319
2320 AMTAR=${AMTAR-"${am_missing_run}tar"}
2321
2322 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2323
2324
2325
2326
2327
2328
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2330 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2331     # Check whether --enable-maintainer-mode was given.
2332 if test "${enable_maintainer_mode+set}" = set; then :
2333   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2334 else
2335   USE_MAINTAINER_MODE=no
2336 fi
2337
2338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2339 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2340    if test $USE_MAINTAINER_MODE = yes; then
2341   MAINTAINER_MODE_TRUE=
2342   MAINTAINER_MODE_FALSE='#'
2343 else
2344   MAINTAINER_MODE_TRUE='#'
2345   MAINTAINER_MODE_FALSE=
2346 fi
2347
2348   MAINT=$MAINTAINER_MODE_TRUE
2349
2350
2351
2352 ac_config_headers="$ac_config_headers config.h"
2353
2354
2355 ac_ext=c
2356 ac_cpp='$CPP $CPPFLAGS'
2357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2360 if test -n "$ac_tool_prefix"; then
2361   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2362 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2364 $as_echo_n "checking for $ac_word... " >&6; }
2365 if test "${ac_cv_prog_CC+set}" = set; then :
2366   $as_echo_n "(cached) " >&6
2367 else
2368   if test -n "$CC"; then
2369   ac_cv_prog_CC="$CC" # Let the user override the test.
2370 else
2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 for as_dir in $PATH
2373 do
2374   IFS=$as_save_IFS
2375   test -z "$as_dir" && as_dir=.
2376     for ac_exec_ext in '' $ac_executable_extensions; do
2377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2378     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2380     break 2
2381   fi
2382 done
2383   done
2384 IFS=$as_save_IFS
2385
2386 fi
2387 fi
2388 CC=$ac_cv_prog_CC
2389 if test -n "$CC"; then
2390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2391 $as_echo "$CC" >&6; }
2392 else
2393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2394 $as_echo "no" >&6; }
2395 fi
2396
2397
2398 fi
2399 if test -z "$ac_cv_prog_CC"; then
2400   ac_ct_CC=$CC
2401   # Extract the first word of "gcc", so it can be a program name with args.
2402 set dummy gcc; ac_word=$2
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404 $as_echo_n "checking for $ac_word... " >&6; }
2405 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2406   $as_echo_n "(cached) " >&6
2407 else
2408   if test -n "$ac_ct_CC"; then
2409   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2410 else
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 for as_dir in $PATH
2413 do
2414   IFS=$as_save_IFS
2415   test -z "$as_dir" && as_dir=.
2416     for ac_exec_ext in '' $ac_executable_extensions; do
2417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418     ac_cv_prog_ac_ct_CC="gcc"
2419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2420     break 2
2421   fi
2422 done
2423   done
2424 IFS=$as_save_IFS
2425
2426 fi
2427 fi
2428 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2429 if test -n "$ac_ct_CC"; then
2430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2431 $as_echo "$ac_ct_CC" >&6; }
2432 else
2433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434 $as_echo "no" >&6; }
2435 fi
2436
2437   if test "x$ac_ct_CC" = x; then
2438     CC=""
2439   else
2440     case $cross_compiling:$ac_tool_warned in
2441 yes:)
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2444 ac_tool_warned=yes ;;
2445 esac
2446     CC=$ac_ct_CC
2447   fi
2448 else
2449   CC="$ac_cv_prog_CC"
2450 fi
2451
2452 if test -z "$CC"; then
2453           if test -n "$ac_tool_prefix"; then
2454     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2455 set dummy ${ac_tool_prefix}cc; ac_word=$2
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if test "${ac_cv_prog_CC+set}" = set; then :
2459   $as_echo_n "(cached) " >&6
2460 else
2461   if test -n "$CC"; then
2462   ac_cv_prog_CC="$CC" # Let the user override the test.
2463 else
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 for as_dir in $PATH
2466 do
2467   IFS=$as_save_IFS
2468   test -z "$as_dir" && as_dir=.
2469     for ac_exec_ext in '' $ac_executable_extensions; do
2470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471     ac_cv_prog_CC="${ac_tool_prefix}cc"
2472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473     break 2
2474   fi
2475 done
2476   done
2477 IFS=$as_save_IFS
2478
2479 fi
2480 fi
2481 CC=$ac_cv_prog_CC
2482 if test -n "$CC"; then
2483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2484 $as_echo "$CC" >&6; }
2485 else
2486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487 $as_echo "no" >&6; }
2488 fi
2489
2490
2491   fi
2492 fi
2493 if test -z "$CC"; then
2494   # Extract the first word of "cc", so it can be a program name with args.
2495 set dummy cc; ac_word=$2
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2497 $as_echo_n "checking for $ac_word... " >&6; }
2498 if test "${ac_cv_prog_CC+set}" = set; then :
2499   $as_echo_n "(cached) " >&6
2500 else
2501   if test -n "$CC"; then
2502   ac_cv_prog_CC="$CC" # Let the user override the test.
2503 else
2504   ac_prog_rejected=no
2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506 for as_dir in $PATH
2507 do
2508   IFS=$as_save_IFS
2509   test -z "$as_dir" && as_dir=.
2510     for ac_exec_ext in '' $ac_executable_extensions; do
2511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2513        ac_prog_rejected=yes
2514        continue
2515      fi
2516     ac_cv_prog_CC="cc"
2517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2518     break 2
2519   fi
2520 done
2521   done
2522 IFS=$as_save_IFS
2523
2524 if test $ac_prog_rejected = yes; then
2525   # We found a bogon in the path, so make sure we never use it.
2526   set dummy $ac_cv_prog_CC
2527   shift
2528   if test $# != 0; then
2529     # We chose a different compiler from the bogus one.
2530     # However, it has the same basename, so the bogon will be chosen
2531     # first if we set CC to just the basename; use the full file name.
2532     shift
2533     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2534   fi
2535 fi
2536 fi
2537 fi
2538 CC=$ac_cv_prog_CC
2539 if test -n "$CC"; then
2540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2541 $as_echo "$CC" >&6; }
2542 else
2543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2544 $as_echo "no" >&6; }
2545 fi
2546
2547
2548 fi
2549 if test -z "$CC"; then
2550   if test -n "$ac_tool_prefix"; then
2551   for ac_prog in cl.exe
2552   do
2553     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2554 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2556 $as_echo_n "checking for $ac_word... " >&6; }
2557 if test "${ac_cv_prog_CC+set}" = set; then :
2558   $as_echo_n "(cached) " >&6
2559 else
2560   if test -n "$CC"; then
2561   ac_cv_prog_CC="$CC" # Let the user override the test.
2562 else
2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564 for as_dir in $PATH
2565 do
2566   IFS=$as_save_IFS
2567   test -z "$as_dir" && as_dir=.
2568     for ac_exec_ext in '' $ac_executable_extensions; do
2569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2572     break 2
2573   fi
2574 done
2575   done
2576 IFS=$as_save_IFS
2577
2578 fi
2579 fi
2580 CC=$ac_cv_prog_CC
2581 if test -n "$CC"; then
2582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2583 $as_echo "$CC" >&6; }
2584 else
2585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586 $as_echo "no" >&6; }
2587 fi
2588
2589
2590     test -n "$CC" && break
2591   done
2592 fi
2593 if test -z "$CC"; then
2594   ac_ct_CC=$CC
2595   for ac_prog in cl.exe
2596 do
2597   # Extract the first word of "$ac_prog", so it can be a program name with args.
2598 set dummy $ac_prog; ac_word=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2602   $as_echo_n "(cached) " >&6
2603 else
2604   if test -n "$ac_ct_CC"; then
2605   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2606 else
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 for as_dir in $PATH
2609 do
2610   IFS=$as_save_IFS
2611   test -z "$as_dir" && as_dir=.
2612     for ac_exec_ext in '' $ac_executable_extensions; do
2613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614     ac_cv_prog_ac_ct_CC="$ac_prog"
2615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616     break 2
2617   fi
2618 done
2619   done
2620 IFS=$as_save_IFS
2621
2622 fi
2623 fi
2624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2625 if test -n "$ac_ct_CC"; then
2626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2627 $as_echo "$ac_ct_CC" >&6; }
2628 else
2629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2631 fi
2632
2633
2634   test -n "$ac_ct_CC" && break
2635 done
2636
2637   if test "x$ac_ct_CC" = x; then
2638     CC=""
2639   else
2640     case $cross_compiling:$ac_tool_warned in
2641 yes:)
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2644 ac_tool_warned=yes ;;
2645 esac
2646     CC=$ac_ct_CC
2647   fi
2648 fi
2649
2650 fi
2651
2652
2653 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2655 as_fn_error $? "no acceptable C compiler found in \$PATH
2656 See \`config.log' for more details" "$LINENO" 5 ; }
2657
2658 # Provide some information about the compiler.
2659 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2660 set X $ac_compile
2661 ac_compiler=$2
2662 for ac_option in --version -v -V -qversion; do
2663   { { ac_try="$ac_compiler $ac_option >&5"
2664 case "(($ac_try" in
2665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2666   *) ac_try_echo=$ac_try;;
2667 esac
2668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2669 $as_echo "$ac_try_echo"; } >&5
2670   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2671   ac_status=$?
2672   if test -s conftest.err; then
2673     sed '10a\
2674 ... rest of stderr output deleted ...
2675          10q' conftest.err >conftest.er1
2676     cat conftest.er1 >&5
2677   fi
2678   rm -f conftest.er1 conftest.err
2679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2680   test $ac_status = 0; }
2681 done
2682
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h.  */
2685
2686 int
2687 main ()
2688 {
2689
2690   ;
2691   return 0;
2692 }
2693 _ACEOF
2694 ac_clean_files_save=$ac_clean_files
2695 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2696 # Try to create an executable without -o first, disregard a.out.
2697 # It will help us diagnose broken compilers, and finding out an intuition
2698 # of exeext.
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2700 $as_echo_n "checking whether the C compiler works... " >&6; }
2701 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2702
2703 # The possible output files:
2704 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2705
2706 ac_rmfiles=
2707 for ac_file in $ac_files
2708 do
2709   case $ac_file in
2710     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2711     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2712   esac
2713 done
2714 rm -f $ac_rmfiles
2715
2716 if { { ac_try="$ac_link_default"
2717 case "(($ac_try" in
2718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719   *) ac_try_echo=$ac_try;;
2720 esac
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723   (eval "$ac_link_default") 2>&5
2724   ac_status=$?
2725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2726   test $ac_status = 0; }; then :
2727   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2728 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2729 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2730 # so that the user can short-circuit this test for compilers unknown to
2731 # Autoconf.
2732 for ac_file in $ac_files ''
2733 do
2734   test -f "$ac_file" || continue
2735   case $ac_file in
2736     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2737         ;;
2738     [ab].out )
2739         # We found the default executable, but exeext='' is most
2740         # certainly right.
2741         break;;
2742     *.* )
2743         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2744         then :; else
2745            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2746         fi
2747         # We set ac_cv_exeext here because the later test for it is not
2748         # safe: cross compilers may not add the suffix if given an `-o'
2749         # argument, so we may need to know it at that point already.
2750         # Even if this section looks crufty: it has the advantage of
2751         # actually working.
2752         break;;
2753     * )
2754         break;;
2755   esac
2756 done
2757 test "$ac_cv_exeext" = no && ac_cv_exeext=
2758
2759 else
2760   ac_file=''
2761 fi
2762 if test -z "$ac_file"; then :
2763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2765 $as_echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2767
2768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2770 as_fn_error 77 "C compiler cannot create executables
2771 See \`config.log' for more details" "$LINENO" 5 ; }
2772 else
2773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2774 $as_echo "yes" >&6; }
2775 fi
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2777 $as_echo_n "checking for C compiler default output file name... " >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2779 $as_echo "$ac_file" >&6; }
2780 ac_exeext=$ac_cv_exeext
2781
2782 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2783 ac_clean_files=$ac_clean_files_save
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2785 $as_echo_n "checking for suffix of executables... " >&6; }
2786 if { { ac_try="$ac_link"
2787 case "(($ac_try" in
2788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789   *) ac_try_echo=$ac_try;;
2790 esac
2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2792 $as_echo "$ac_try_echo"; } >&5
2793   (eval "$ac_link") 2>&5
2794   ac_status=$?
2795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796   test $ac_status = 0; }; then :
2797   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2798 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2799 # work properly (i.e., refer to `conftest.exe'), while it won't with
2800 # `rm'.
2801 for ac_file in conftest.exe conftest conftest.*; do
2802   test -f "$ac_file" || continue
2803   case $ac_file in
2804     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2805     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2806           break;;
2807     * ) break;;
2808   esac
2809 done
2810 else
2811   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2813 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2814 See \`config.log' for more details" "$LINENO" 5 ; }
2815 fi
2816 rm -f conftest conftest$ac_cv_exeext
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2818 $as_echo "$ac_cv_exeext" >&6; }
2819
2820 rm -f conftest.$ac_ext
2821 EXEEXT=$ac_cv_exeext
2822 ac_exeext=$EXEEXT
2823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h.  */
2825 #include <stdio.h>
2826 int
2827 main ()
2828 {
2829 FILE *f = fopen ("conftest.out", "w");
2830  return ferror (f) || fclose (f) != 0;
2831
2832   ;
2833   return 0;
2834 }
2835 _ACEOF
2836 ac_clean_files="$ac_clean_files conftest.out"
2837 # Check that the compiler produces executables we can run.  If not, either
2838 # the compiler is broken, or we cross compile.
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2840 $as_echo_n "checking whether we are cross compiling... " >&6; }
2841 if test "$cross_compiling" != yes; then
2842   { { ac_try="$ac_link"
2843 case "(($ac_try" in
2844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845   *) ac_try_echo=$ac_try;;
2846 esac
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 $as_echo "$ac_try_echo"; } >&5
2849   (eval "$ac_link") 2>&5
2850   ac_status=$?
2851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852   test $ac_status = 0; }
2853   if { ac_try='./conftest$ac_cv_exeext'
2854   { { case "(($ac_try" in
2855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2856   *) ac_try_echo=$ac_try;;
2857 esac
2858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2859 $as_echo "$ac_try_echo"; } >&5
2860   (eval "$ac_try") 2>&5
2861   ac_status=$?
2862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863   test $ac_status = 0; }; }; then
2864     cross_compiling=no
2865   else
2866     if test "$cross_compiling" = maybe; then
2867         cross_compiling=yes
2868     else
2869         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2871 as_fn_error $? "cannot run C compiled programs.
2872 If you meant to cross compile, use \`--host'.
2873 See \`config.log' for more details" "$LINENO" 5 ; }
2874     fi
2875   fi
2876 fi
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2878 $as_echo "$cross_compiling" >&6; }
2879
2880 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2881 ac_clean_files=$ac_clean_files_save
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2883 $as_echo_n "checking for suffix of object files... " >&6; }
2884 if test "${ac_cv_objext+set}" = set; then :
2885   $as_echo_n "(cached) " >&6
2886 else
2887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h.  */
2889
2890 int
2891 main ()
2892 {
2893
2894   ;
2895   return 0;
2896 }
2897 _ACEOF
2898 rm -f conftest.o conftest.obj
2899 if { { ac_try="$ac_compile"
2900 case "(($ac_try" in
2901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902   *) ac_try_echo=$ac_try;;
2903 esac
2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2905 $as_echo "$ac_try_echo"; } >&5
2906   (eval "$ac_compile") 2>&5
2907   ac_status=$?
2908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2909   test $ac_status = 0; }; then :
2910   for ac_file in conftest.o conftest.obj conftest.*; do
2911   test -f "$ac_file" || continue;
2912   case $ac_file in
2913     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2914     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2915        break;;
2916   esac
2917 done
2918 else
2919   $as_echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.$ac_ext >&5
2921
2922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924 as_fn_error $? "cannot compute suffix of object files: cannot compile
2925 See \`config.log' for more details" "$LINENO" 5 ; }
2926 fi
2927 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2928 fi
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2930 $as_echo "$ac_cv_objext" >&6; }
2931 OBJEXT=$ac_cv_objext
2932 ac_objext=$OBJEXT
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2934 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2935 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2936   $as_echo_n "(cached) " >&6
2937 else
2938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h.  */
2940
2941 int
2942 main ()
2943 {
2944 #ifndef __GNUC__
2945        choke me
2946 #endif
2947
2948   ;
2949   return 0;
2950 }
2951 _ACEOF
2952 if ac_fn_c_try_compile "$LINENO"; then :
2953   ac_compiler_gnu=yes
2954 else
2955   ac_compiler_gnu=no
2956 fi
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2959
2960 fi
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2962 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2963 if test $ac_compiler_gnu = yes; then
2964   GCC=yes
2965 else
2966   GCC=
2967 fi
2968 ac_test_CFLAGS=${CFLAGS+set}
2969 ac_save_CFLAGS=$CFLAGS
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2971 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2972 if test "${ac_cv_prog_cc_g+set}" = set; then :
2973   $as_echo_n "(cached) " >&6
2974 else
2975   ac_save_c_werror_flag=$ac_c_werror_flag
2976    ac_c_werror_flag=yes
2977    ac_cv_prog_cc_g=no
2978    CFLAGS="-g"
2979    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h.  */
2981
2982 int
2983 main ()
2984 {
2985
2986   ;
2987   return 0;
2988 }
2989 _ACEOF
2990 if ac_fn_c_try_compile "$LINENO"; then :
2991   ac_cv_prog_cc_g=yes
2992 else
2993   CFLAGS=""
2994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h.  */
2996
2997 int
2998 main ()
2999 {
3000
3001   ;
3002   return 0;
3003 }
3004 _ACEOF
3005 if ac_fn_c_try_compile "$LINENO"; then :
3006
3007 else
3008   ac_c_werror_flag=$ac_save_c_werror_flag
3009          CFLAGS="-g"
3010          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h.  */
3012
3013 int
3014 main ()
3015 {
3016
3017   ;
3018   return 0;
3019 }
3020 _ACEOF
3021 if ac_fn_c_try_compile "$LINENO"; then :
3022   ac_cv_prog_cc_g=yes
3023 fi
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 fi
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 fi
3028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029    ac_c_werror_flag=$ac_save_c_werror_flag
3030 fi
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3032 $as_echo "$ac_cv_prog_cc_g" >&6; }
3033 if test "$ac_test_CFLAGS" = set; then
3034   CFLAGS=$ac_save_CFLAGS
3035 elif test $ac_cv_prog_cc_g = yes; then
3036   if test "$GCC" = yes; then
3037     CFLAGS="-g -O2"
3038   else
3039     CFLAGS="-g"
3040   fi
3041 else
3042   if test "$GCC" = yes; then
3043     CFLAGS="-O2"
3044   else
3045     CFLAGS=
3046   fi
3047 fi
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3049 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3050 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3051   $as_echo_n "(cached) " >&6
3052 else
3053   ac_cv_prog_cc_c89=no
3054 ac_save_CC=$CC
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h.  */
3057 #include <stdarg.h>
3058 #include <stdio.h>
3059 #include <sys/types.h>
3060 #include <sys/stat.h>
3061 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3062 struct buf { int x; };
3063 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3064 static char *e (p, i)
3065      char **p;
3066      int i;
3067 {
3068   return p[i];
3069 }
3070 static char *f (char * (*g) (char **, int), char **p, ...)
3071 {
3072   char *s;
3073   va_list v;
3074   va_start (v,p);
3075   s = g (p, va_arg (v,int));
3076   va_end (v);
3077   return s;
3078 }
3079
3080 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3081    function prototypes and stuff, but not '\xHH' hex character constants.
3082    These don't provoke an error unfortunately, instead are silently treated
3083    as 'x'.  The following induces an error, until -std is added to get
3084    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3085    array size at least.  It's necessary to write '\x00'==0 to get something
3086    that's true only with -std.  */
3087 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3088
3089 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3090    inside strings and character constants.  */
3091 #define FOO(x) 'x'
3092 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3093
3094 int test (int i, double x);
3095 struct s1 {int (*f) (int a);};
3096 struct s2 {int (*f) (double a);};
3097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3098 int argc;
3099 char **argv;
3100 int
3101 main ()
3102 {
3103 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3104   ;
3105   return 0;
3106 }
3107 _ACEOF
3108 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3109         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3110 do
3111   CC="$ac_save_CC $ac_arg"
3112   if ac_fn_c_try_compile "$LINENO"; then :
3113   ac_cv_prog_cc_c89=$ac_arg
3114 fi
3115 rm -f core conftest.err conftest.$ac_objext
3116   test "x$ac_cv_prog_cc_c89" != "xno" && break
3117 done
3118 rm -f conftest.$ac_ext
3119 CC=$ac_save_CC
3120
3121 fi
3122 # AC_CACHE_VAL
3123 case "x$ac_cv_prog_cc_c89" in
3124   x)
3125     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3126 $as_echo "none needed" >&6; } ;;
3127   xno)
3128     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3129 $as_echo "unsupported" >&6; } ;;
3130   *)
3131     CC="$CC $ac_cv_prog_cc_c89"
3132     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3133 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3134 esac
3135 if test "x$ac_cv_prog_cc_c89" != xno; then :
3136
3137 fi
3138
3139 ac_ext=c
3140 ac_cpp='$CPP $CPPFLAGS'
3141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3144 DEPDIR="${am__leading_dot}deps"
3145
3146 ac_config_commands="$ac_config_commands depfiles"
3147
3148
3149 am_make=${MAKE-make}
3150 cat > confinc << 'END'
3151 am__doit:
3152         @echo this is the am__doit target
3153 .PHONY: am__doit
3154 END
3155 # If we don't find an include directive, just comment out the code.
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3157 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3158 am__include="#"
3159 am__quote=
3160 _am_result=none
3161 # First try GNU make style include.
3162 echo "include confinc" > confmf
3163 # Ignore all kinds of additional output from `make'.
3164 case `$am_make -s -f confmf 2> /dev/null` in #(
3165 *the\ am__doit\ target*)
3166   am__include=include
3167   am__quote=
3168   _am_result=GNU
3169   ;;
3170 esac
3171 # Now try BSD make style include.
3172 if test "$am__include" = "#"; then
3173    echo '.include "confinc"' > confmf
3174    case `$am_make -s -f confmf 2> /dev/null` in #(
3175    *the\ am__doit\ target*)
3176      am__include=.include
3177      am__quote="\""
3178      _am_result=BSD
3179      ;;
3180    esac
3181 fi
3182
3183
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3185 $as_echo "$_am_result" >&6; }
3186 rm -f confinc confmf
3187
3188 # Check whether --enable-dependency-tracking was given.
3189 if test "${enable_dependency_tracking+set}" = set; then :
3190   enableval=$enable_dependency_tracking;
3191 fi
3192
3193 if test "x$enable_dependency_tracking" != xno; then
3194   am_depcomp="$ac_aux_dir/depcomp"
3195   AMDEPBACKSLASH='\'
3196 fi
3197  if test "x$enable_dependency_tracking" != xno; then
3198   AMDEP_TRUE=
3199   AMDEP_FALSE='#'
3200 else
3201   AMDEP_TRUE='#'
3202   AMDEP_FALSE=
3203 fi
3204
3205
3206
3207 depcc="$CC"   am_compiler_list=
3208
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3210 $as_echo_n "checking dependency style of $depcc... " >&6; }
3211 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3212   $as_echo_n "(cached) " >&6
3213 else
3214   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3215   # We make a subdir and do the tests there.  Otherwise we can end up
3216   # making bogus files that we don't know about and never remove.  For
3217   # instance it was reported that on HP-UX the gcc test will end up
3218   # making a dummy file named `D' -- because `-MD' means `put the output
3219   # in D'.
3220   mkdir conftest.dir
3221   # Copy depcomp to subdir because otherwise we won't find it if we're
3222   # using a relative directory.
3223   cp "$am_depcomp" conftest.dir
3224   cd conftest.dir
3225   # We will build objects and dependencies in a subdirectory because
3226   # it helps to detect inapplicable dependency modes.  For instance
3227   # both Tru64's cc and ICC support -MD to output dependencies as a
3228   # side effect of compilation, but ICC will put the dependencies in
3229   # the current directory while Tru64 will put them in the object
3230   # directory.
3231   mkdir sub
3232
3233   am_cv_CC_dependencies_compiler_type=none
3234   if test "$am_compiler_list" = ""; then
3235      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3236   fi
3237   am__universal=false
3238   case " $depcc " in #(
3239      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3240      esac
3241
3242   for depmode in $am_compiler_list; do
3243     # Setup a source with many dependencies, because some compilers
3244     # like to wrap large dependency lists on column 80 (with \), and
3245     # we should not choose a depcomp mode which is confused by this.
3246     #
3247     # We need to recreate these files for each test, as the compiler may
3248     # overwrite some of them when testing with obscure command lines.
3249     # This happens at least with the AIX C compiler.
3250     : > sub/conftest.c
3251     for i in 1 2 3 4 5 6; do
3252       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3253       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3254       # Solaris 8's {/usr,}/bin/sh.
3255       touch sub/conftst$i.h
3256     done
3257     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3258
3259     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3260     # mode.  It turns out that the SunPro C++ compiler does not properly
3261     # handle `-M -o', and we need to detect this.  Also, some Intel
3262     # versions had trouble with output in subdirs
3263     am__obj=sub/conftest.${OBJEXT-o}
3264     am__minus_obj="-o $am__obj"
3265     case $depmode in
3266     gcc)
3267       # This depmode causes a compiler race in universal mode.
3268       test "$am__universal" = false || continue
3269       ;;
3270     nosideeffect)
3271       # after this tag, mechanisms are not by side-effect, so they'll
3272       # only be used when explicitly requested
3273       if test "x$enable_dependency_tracking" = xyes; then
3274         continue
3275       else
3276         break
3277       fi
3278       ;;
3279     msvisualcpp | msvcmsys)
3280       # This compiler won't grok `-c -o', but also, the minuso test has
3281       # not run yet.  These depmodes are late enough in the game, and
3282       # so weak that their functioning should not be impacted.
3283       am__obj=conftest.${OBJEXT-o}
3284       am__minus_obj=
3285       ;;
3286     none) break ;;
3287     esac
3288     if depmode=$depmode \
3289        source=sub/conftest.c object=$am__obj \
3290        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3291        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3292          >/dev/null 2>conftest.err &&
3293        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3294        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3295        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3296        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3297       # icc doesn't choke on unknown options, it will just issue warnings
3298       # or remarks (even with -Werror).  So we grep stderr for any message
3299       # that says an option was ignored or not supported.
3300       # When given -MP, icc 7.0 and 7.1 complain thusly:
3301       #   icc: Command line warning: ignoring option '-M'; no argument required
3302       # The diagnosis changed in icc 8.0:
3303       #   icc: Command line remark: option '-MP' not supported
3304       if (grep 'ignoring option' conftest.err ||
3305           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3306         am_cv_CC_dependencies_compiler_type=$depmode
3307         break
3308       fi
3309     fi
3310   done
3311
3312   cd ..
3313   rm -rf conftest.dir
3314 else
3315   am_cv_CC_dependencies_compiler_type=none
3316 fi
3317
3318 fi
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3320 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3321 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3322
3323  if
3324   test "x$enable_dependency_tracking" != xno \
3325   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3326   am__fastdepCC_TRUE=
3327   am__fastdepCC_FALSE='#'
3328 else
3329   am__fastdepCC_TRUE='#'
3330   am__fastdepCC_FALSE=
3331 fi
3332
3333
3334
3335
3336 # Checks for pkg-config packages
3337 #XAW_CHECK_XPRINT_SUPPORT(XAW)
3338
3339
3340
3341
3342
3343
3344 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3345         if test -n "$ac_tool_prefix"; then
3346   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3347 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3349 $as_echo_n "checking for $ac_word... " >&6; }
3350 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3351   $as_echo_n "(cached) " >&6
3352 else
3353   case $PKG_CONFIG in
3354   [\\/]* | ?:[\\/]*)
3355   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3356   ;;
3357   *)
3358   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359 for as_dir in $PATH
3360 do
3361   IFS=$as_save_IFS
3362   test -z "$as_dir" && as_dir=.
3363     for ac_exec_ext in '' $ac_executable_extensions; do
3364   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3365     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3367     break 2
3368   fi
3369 done
3370   done
3371 IFS=$as_save_IFS
3372
3373   ;;
3374 esac
3375 fi
3376 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3377 if test -n "$PKG_CONFIG"; then
3378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3379 $as_echo "$PKG_CONFIG" >&6; }
3380 else
3381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382 $as_echo "no" >&6; }
3383 fi
3384
3385
3386 fi
3387 if test -z "$ac_cv_path_PKG_CONFIG"; then
3388   ac_pt_PKG_CONFIG=$PKG_CONFIG
3389   # Extract the first word of "pkg-config", so it can be a program name with args.
3390 set dummy pkg-config; ac_word=$2
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392 $as_echo_n "checking for $ac_word... " >&6; }
3393 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3394   $as_echo_n "(cached) " >&6
3395 else
3396   case $ac_pt_PKG_CONFIG in
3397   [\\/]* | ?:[\\/]*)
3398   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3399   ;;
3400   *)
3401   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3402 for as_dir in $PATH
3403 do
3404   IFS=$as_save_IFS
3405   test -z "$as_dir" && as_dir=.
3406     for ac_exec_ext in '' $ac_executable_extensions; do
3407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3408     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3410     break 2
3411   fi
3412 done
3413   done
3414 IFS=$as_save_IFS
3415
3416   ;;
3417 esac
3418 fi
3419 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3420 if test -n "$ac_pt_PKG_CONFIG"; then
3421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3422 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3423 else
3424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3426 fi
3427
3428   if test "x$ac_pt_PKG_CONFIG" = x; then
3429     PKG_CONFIG=""
3430   else
3431     case $cross_compiling:$ac_tool_warned in
3432 yes:)
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3435 ac_tool_warned=yes ;;
3436 esac
3437     PKG_CONFIG=$ac_pt_PKG_CONFIG
3438   fi
3439 else
3440   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3441 fi
3442
3443 fi
3444 if test -n "$PKG_CONFIG"; then
3445         _pkg_min_version=0.9.0
3446         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3447 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3448         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3449                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3450 $as_echo "yes" >&6; }
3451         else
3452                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3454                 PKG_CONFIG=""
3455         fi
3456 fi
3457
3458 pkg_failed=no
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAW" >&5
3460 $as_echo_n "checking for XAW... " >&6; }
3461
3462 if test -n "$XAW_CFLAGS"; then
3463     pkg_cv_XAW_CFLAGS="$XAW_CFLAGS"
3464  elif test -n "$PKG_CONFIG"; then
3465     if test -n "$PKG_CONFIG" && \
3466     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
3467   ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
3468   ac_status=$?
3469   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3470   test $ac_status = 0; }; then
3471   pkg_cv_XAW_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
3472 else
3473   pkg_failed=yes
3474 fi
3475  else
3476     pkg_failed=untried
3477 fi
3478 if test -n "$XAW_LIBS"; then
3479     pkg_cv_XAW_LIBS="$XAW_LIBS"
3480  elif test -n "$PKG_CONFIG"; then
3481     if test -n "$PKG_CONFIG" && \
3482     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
3483   ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
3484   ac_status=$?
3485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486   test $ac_status = 0; }; then
3487   pkg_cv_XAW_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
3488 else
3489   pkg_failed=yes
3490 fi
3491  else
3492     pkg_failed=untried
3493 fi
3494
3495
3496
3497 if test $pkg_failed = yes; then
3498         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499 $as_echo "no" >&6; }
3500
3501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3502         _pkg_short_errors_supported=yes
3503 else
3504         _pkg_short_errors_supported=no
3505 fi
3506         if test $_pkg_short_errors_supported = yes; then
3507                 XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7" 2>&1`
3508         else
3509                 XAW_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7" 2>&1`
3510         fi
3511         # Put the nasty error message in config.log where it belongs
3512         echo "$XAW_PKG_ERRORS" >&5
3513
3514         as_fn_error $? "Package requirements (xaw7) were not met:
3515
3516 $XAW_PKG_ERRORS
3517
3518 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3519 installed software in a non-standard prefix.
3520
3521 Alternatively, you may set the environment variables XAW_CFLAGS
3522 and XAW_LIBS to avoid the need to call pkg-config.
3523 See the pkg-config man page for more details." "$LINENO" 5
3524 elif test $pkg_failed = untried; then
3525         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3526 $as_echo "no" >&6; }
3527         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3529 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
3530 is in your PATH or set the PKG_CONFIG environment variable to the full
3531 path to pkg-config.
3532
3533 Alternatively, you may set the environment variables XAW_CFLAGS
3534 and XAW_LIBS to avoid the need to call pkg-config.
3535 See the pkg-config man page for more details.
3536
3537 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3538 See \`config.log' for more details" "$LINENO" 5 ; }
3539 else
3540         XAW_CFLAGS=$pkg_cv_XAW_CFLAGS
3541         XAW_LIBS=$pkg_cv_XAW_LIBS
3542         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3543 $as_echo "yes" >&6; }
3544
3545 fi
3546
3547 pkg_failed=no
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADDITIONAL" >&5
3549 $as_echo_n "checking for ADDITIONAL... " >&6; }
3550
3551 if test -n "$ADDITIONAL_CFLAGS"; then
3552     pkg_cv_ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS"
3553  elif test -n "$PKG_CONFIG"; then
3554     if test -n "$PKG_CONFIG" && \
3555     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 fontconfig xft xmu\""; } >&5
3556   ($PKG_CONFIG --exists --print-errors "freetype2 fontconfig xft xmu") 2>&5
3557   ac_status=$?
3558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559   test $ac_status = 0; }; then
3560   pkg_cv_ADDITIONAL_CFLAGS=`$PKG_CONFIG --cflags "freetype2 fontconfig xft xmu" 2>/dev/null`
3561 else
3562   pkg_failed=yes
3563 fi
3564  else
3565     pkg_failed=untried
3566 fi
3567 if test -n "$ADDITIONAL_LIBS"; then
3568     pkg_cv_ADDITIONAL_LIBS="$ADDITIONAL_LIBS"
3569  elif test -n "$PKG_CONFIG"; then
3570     if test -n "$PKG_CONFIG" && \
3571     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 fontconfig xft xmu\""; } >&5
3572   ($PKG_CONFIG --exists --print-errors "freetype2 fontconfig xft xmu") 2>&5
3573   ac_status=$?
3574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3575   test $ac_status = 0; }; then
3576   pkg_cv_ADDITIONAL_LIBS=`$PKG_CONFIG --libs "freetype2 fontconfig xft xmu" 2>/dev/null`
3577 else
3578   pkg_failed=yes
3579 fi
3580  else
3581     pkg_failed=untried
3582 fi
3583
3584
3585
3586 if test $pkg_failed = yes; then
3587         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3589
3590 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3591         _pkg_short_errors_supported=yes
3592 else
3593         _pkg_short_errors_supported=no
3594 fi
3595         if test $_pkg_short_errors_supported = yes; then
3596                 ADDITIONAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2 fontconfig xft xmu" 2>&1`
3597         else
3598                 ADDITIONAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2 fontconfig xft xmu" 2>&1`
3599         fi
3600         # Put the nasty error message in config.log where it belongs
3601         echo "$ADDITIONAL_PKG_ERRORS" >&5
3602
3603         as_fn_error $? "Package requirements (freetype2 fontconfig xft xmu) were not met:
3604
3605 $ADDITIONAL_PKG_ERRORS
3606
3607 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3608 installed software in a non-standard prefix.
3609
3610 Alternatively, you may set the environment variables ADDITIONAL_CFLAGS
3611 and ADDITIONAL_LIBS to avoid the need to call pkg-config.
3612 See the pkg-config man page for more details." "$LINENO" 5
3613 elif test $pkg_failed = untried; then
3614         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3616         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3618 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
3619 is in your PATH or set the PKG_CONFIG environment variable to the full
3620 path to pkg-config.
3621
3622 Alternatively, you may set the environment variables ADDITIONAL_CFLAGS
3623 and ADDITIONAL_LIBS to avoid the need to call pkg-config.
3624 See the pkg-config man page for more details.
3625
3626 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3627 See \`config.log' for more details" "$LINENO" 5 ; }
3628 else
3629         ADDITIONAL_CFLAGS=$pkg_cv_ADDITIONAL_CFLAGS
3630         ADDITIONAL_LIBS=$pkg_cv_ADDITIONAL_LIBS
3631         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3632 $as_echo "yes" >&6; }
3633
3634 fi
3635
3636 XFD_CFLAGS="$XAW_CFLAGS $ADDITIONAL_CFLAGS"
3637 XFD_LIBS="$XAW_LIBS $ADDITIONAL_LIBS"
3638
3639
3640
3641
3642
3643
3644 pkg_failed=no
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
3646 $as_echo_n "checking for APPDEFS... " >&6; }
3647
3648 if test -n "$APPDEFS_CFLAGS"; then
3649     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
3650  elif test -n "$PKG_CONFIG"; then
3651     if test -n "$PKG_CONFIG" && \
3652     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
3653   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
3654   ac_status=$?
3655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656   test $ac_status = 0; }; then
3657   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
3658 else
3659   pkg_failed=yes
3660 fi
3661  else
3662     pkg_failed=untried
3663 fi
3664 if test -n "$APPDEFS_LIBS"; then
3665     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
3666  elif test -n "$PKG_CONFIG"; then
3667     if test -n "$PKG_CONFIG" && \
3668     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
3669   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
3670   ac_status=$?
3671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3672   test $ac_status = 0; }; then
3673   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
3674 else
3675   pkg_failed=yes
3676 fi
3677  else
3678     pkg_failed=untried
3679 fi
3680
3681
3682
3683 if test $pkg_failed = yes; then
3684         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3686
3687 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3688         _pkg_short_errors_supported=yes
3689 else
3690         _pkg_short_errors_supported=no
3691 fi
3692         if test $_pkg_short_errors_supported = yes; then
3693                 APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
3694         else
3695                 APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
3696         fi
3697         # Put the nasty error message in config.log where it belongs
3698         echo "$APPDEFS_PKG_ERRORS" >&5
3699
3700         as_fn_error $? "Package requirements (xt) were not met:
3701
3702 $APPDEFS_PKG_ERRORS
3703
3704 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3705 installed software in a non-standard prefix.
3706
3707 Alternatively, you may set the environment variables APPDEFS_CFLAGS
3708 and APPDEFS_LIBS to avoid the need to call pkg-config.
3709 See the pkg-config man page for more details." "$LINENO" 5
3710 elif test $pkg_failed = untried; then
3711         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3713         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
3716 is in your PATH or set the PKG_CONFIG environment variable to the full
3717 path to pkg-config.
3718
3719 Alternatively, you may set the environment variables APPDEFS_CFLAGS
3720 and APPDEFS_LIBS to avoid the need to call pkg-config.
3721 See the pkg-config man page for more details.
3722
3723 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3724 See \`config.log' for more details" "$LINENO" 5 ; }
3725 else
3726         APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
3727         APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
3728         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3729 $as_echo "yes" >&6; }
3730
3731 fi
3732 appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
3733
3734
3735 # Make sure we can run config.sub.
3736 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3737   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3738
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3740 $as_echo_n "checking build system type... " >&6; }
3741 if test "${ac_cv_build+set}" = set; then :
3742   $as_echo_n "(cached) " >&6
3743 else
3744   ac_build_alias=$build_alias
3745 test "x$ac_build_alias" = x &&
3746   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3747 test "x$ac_build_alias" = x &&
3748   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3749 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3750   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3751
3752 fi
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3754 $as_echo "$ac_cv_build" >&6; }
3755 case $ac_cv_build in
3756 *-*-*) ;;
3757 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3758 esac
3759 build=$ac_cv_build
3760 ac_save_IFS=$IFS; IFS='-'
3761 set x $ac_cv_build
3762 shift
3763 build_cpu=$1
3764 build_vendor=$2
3765 shift; shift
3766 # Remember, the first character of IFS is used to create $*,
3767 # except with old shells:
3768 build_os=$*
3769 IFS=$ac_save_IFS
3770 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3771
3772
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3774 $as_echo_n "checking host system type... " >&6; }
3775 if test "${ac_cv_host+set}" = set; then :
3776   $as_echo_n "(cached) " >&6
3777 else
3778   if test "x$host_alias" = x; then
3779   ac_cv_host=$ac_cv_build
3780 else
3781   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3782     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3783 fi
3784
3785 fi
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3787 $as_echo "$ac_cv_host" >&6; }
3788 case $ac_cv_host in
3789 *-*-*) ;;
3790 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3791 esac
3792 host=$ac_cv_host
3793 ac_save_IFS=$IFS; IFS='-'
3794 set x $ac_cv_host
3795 shift
3796 host_cpu=$1
3797 host_vendor=$2
3798 shift; shift
3799 # Remember, the first character of IFS is used to create $*,
3800 # except with old shells:
3801 host_os=$*
3802 IFS=$ac_save_IFS
3803 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3804
3805
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3807 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3808 if test "${ac_cv_path_SED+set}" = set; then :
3809   $as_echo_n "(cached) " >&6
3810 else
3811             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3812      for ac_i in 1 2 3 4 5 6 7; do
3813        ac_script="$ac_script$as_nl$ac_script"
3814      done
3815      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3816      { ac_script=; unset ac_script;}
3817      if test -z "$SED"; then
3818   ac_path_SED_found=false
3819   # Loop through the user's path and test for each of PROGNAME-LIST
3820   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821 for as_dir in $PATH
3822 do
3823   IFS=$as_save_IFS
3824   test -z "$as_dir" && as_dir=.
3825     for ac_prog in sed gsed; do
3826     for ac_exec_ext in '' $ac_executable_extensions; do
3827       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3828       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3829 # Check for GNU ac_path_SED and select it if it is found.
3830   # Check for GNU $ac_path_SED
3831 case `"$ac_path_SED" --version 2>&1` in
3832 *GNU*)
3833   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3834 *)
3835   ac_count=0
3836   $as_echo_n 0123456789 >"conftest.in"
3837   while :
3838   do
3839     cat "conftest.in" "conftest.in" >"conftest.tmp"
3840     mv "conftest.tmp" "conftest.in"
3841     cp "conftest.in" "conftest.nl"
3842     $as_echo '' >> "conftest.nl"
3843     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3844     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3845     as_fn_arith $ac_count + 1 && ac_count=$as_val
3846     if test $ac_count -gt ${ac_path_SED_max-0}; then
3847       # Best one so far, save it but keep looking for a better one
3848       ac_cv_path_SED="$ac_path_SED"
3849       ac_path_SED_max=$ac_count
3850     fi
3851     # 10*(2^10) chars as input seems more than enough
3852     test $ac_count -gt 10 && break
3853   done
3854   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3855 esac
3856
3857       $ac_path_SED_found && break 3
3858     done
3859   done
3860   done
3861 IFS=$as_save_IFS
3862   if test -z "$ac_cv_path_SED"; then
3863     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3864   fi
3865 else
3866   ac_cv_path_SED=$SED
3867 fi
3868
3869 fi
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3871 $as_echo "$ac_cv_path_SED" >&6; }
3872  SED="$ac_cv_path_SED"
3873   rm -f conftest.sed
3874
3875
3876
3877
3878
3879 if test x$APP_MAN_SUFFIX = x    ; then
3880     APP_MAN_SUFFIX=1
3881 fi
3882 if test x$APP_MAN_DIR = x    ; then
3883     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
3884 fi
3885
3886 if test x$LIB_MAN_SUFFIX = x    ; then
3887     LIB_MAN_SUFFIX=3
3888 fi
3889 if test x$LIB_MAN_DIR = x    ; then
3890     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3891 fi
3892
3893 if test x$FILE_MAN_SUFFIX = x    ; then
3894     case $host_os in
3895         solaris*)       FILE_MAN_SUFFIX=4  ;;
3896         *)              FILE_MAN_SUFFIX=5  ;;
3897     esac
3898 fi
3899 if test x$FILE_MAN_DIR = x    ; then
3900     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3901 fi
3902
3903 if test x$MISC_MAN_SUFFIX = x    ; then
3904     case $host_os in
3905         solaris*)       MISC_MAN_SUFFIX=5  ;;
3906         *)              MISC_MAN_SUFFIX=7  ;;
3907     esac
3908 fi
3909 if test x$MISC_MAN_DIR = x    ; then
3910     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3911 fi
3912
3913 if test x$DRIVER_MAN_SUFFIX = x    ; then
3914     case $host_os in
3915         solaris*)       DRIVER_MAN_SUFFIX=7  ;;
3916         *)              DRIVER_MAN_SUFFIX=4  ;;
3917     esac
3918 fi
3919 if test x$DRIVER_MAN_DIR = x    ; then
3920     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3921 fi
3922
3923 if test x$ADMIN_MAN_SUFFIX = x    ; then
3924     case $host_os in
3925         solaris*)       ADMIN_MAN_SUFFIX=1m ;;
3926         *)              ADMIN_MAN_SUFFIX=8  ;;
3927     esac
3928 fi
3929 if test x$ADMIN_MAN_DIR = x    ; then
3930     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3931 fi
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947 XORG_MAN_PAGE="X Version 11"
3948
3949 MAN_SUBSTS="\
3950         -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
3951         -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
3952         -e 's|__xservername__|Xorg|g' \
3953         -e 's|__xconfigfile__|xorg.conf|g' \
3954         -e 's|__projectroot__|\$(prefix)|g' \
3955         -e 's|__apploaddir__|\$(appdefaultdir)|g' \
3956         -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
3957         -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
3958         -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
3959         -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
3960         -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
3961         -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
3962
3963
3964
3965
3966
3967 cat >>confdefs.h <<_ACEOF
3968 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
3969 _ACEOF
3970
3971         PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
3972         if test "x$PVM" = "x"; then
3973                 PVM="0"
3974         fi
3975
3976 cat >>confdefs.h <<_ACEOF
3977 #define PACKAGE_VERSION_MINOR $PVM
3978 _ACEOF
3979
3980         PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
3981         if test "x$PVP" = "x"; then
3982                 PVP="0"
3983         fi
3984
3985 cat >>confdefs.h <<_ACEOF
3986 #define PACKAGE_VERSION_PATCHLEVEL $PVP
3987 _ACEOF
3988
3989
3990
3991 ac_config_files="$ac_config_files Makefile"
3992
3993 cat >confcache <<\_ACEOF
3994 # This file is a shell script that caches the results of configure
3995 # tests run on this system so they can be shared between configure
3996 # scripts and configure runs, see configure's option --config-cache.
3997 # It is not useful on other systems.  If it contains results you don't
3998 # want to keep, you may remove or edit it.
3999 #
4000 # config.status only pays attention to the cache file if you give it
4001 # the --recheck option to rerun configure.
4002 #
4003 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4004 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4005 # following values.
4006
4007 _ACEOF
4008
4009 # The following way of writing the cache mishandles newlines in values,
4010 # but we know of no workaround that is simple, portable, and efficient.
4011 # So, we kill variables containing newlines.
4012 # Ultrix sh set writes to stderr and can't be redirected directly,
4013 # and sets the high bit in the cache file unless we assign to the vars.
4014 (
4015   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4016     eval ac_val=\$$ac_var
4017     case $ac_val in #(
4018     *${as_nl}*)
4019       case $ac_var in #(
4020       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4021 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4022       esac
4023       case $ac_var in #(
4024       _ | IFS | as_nl) ;; #(
4025       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4026       *) { eval $ac_var=; unset $ac_var;} ;;
4027       esac ;;
4028     esac
4029   done
4030
4031   (set) 2>&1 |
4032     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4033     *${as_nl}ac_space=\ *)
4034       # `set' does not quote correctly, so add quotes: double-quote
4035       # substitution turns \\\\ into \\, and sed turns \\ into \.
4036       sed -n \
4037         "s/'/'\\\\''/g;
4038           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4039       ;; #(
4040     *)
4041       # `set' quotes correctly as required by POSIX, so do not add quotes.
4042       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4043       ;;
4044     esac |
4045     sort
4046 ) |
4047   sed '
4048      /^ac_cv_env_/b end
4049      t clear
4050      :clear
4051      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4052      t end
4053      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4054      :end' >>confcache
4055 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4056   if test -w "$cache_file"; then
4057     test "x$cache_file" != "x/dev/null" &&
4058       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4059 $as_echo "$as_me: updating cache $cache_file" >&6;}
4060     cat confcache >$cache_file
4061   else
4062     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4063 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4064   fi
4065 fi
4066 rm -f confcache
4067
4068 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4069 # Let make expand exec_prefix.
4070 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4071
4072 DEFS=-DHAVE_CONFIG_H
4073
4074 ac_libobjs=
4075 ac_ltlibobjs=
4076 U=
4077 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4078   # 1. Remove the extension, and $U if already installed.
4079   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4080   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4081   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4082   #    will be set to the directory where LIBOBJS objects are built.
4083   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4084   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4085 done
4086 LIBOBJS=$ac_libobjs
4087
4088 LTLIBOBJS=$ac_ltlibobjs
4089
4090
4091  if test -n "$EXEEXT"; then
4092   am__EXEEXT_TRUE=
4093   am__EXEEXT_FALSE='#'
4094 else
4095   am__EXEEXT_TRUE='#'
4096   am__EXEEXT_FALSE=
4097 fi
4098
4099 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4100   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4102 fi
4103 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4104   as_fn_error $? "conditional \"AMDEP\" was never defined.
4105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4106 fi
4107 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4108   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4110 fi
4111
4112 : ${CONFIG_STATUS=./config.status}
4113 ac_write_fail=0
4114 ac_clean_files_save=$ac_clean_files
4115 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4117 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4118 as_write_fail=0
4119 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4120 #! $SHELL
4121 # Generated by $as_me.
4122 # Run this file to recreate the current configuration.
4123 # Compiler output produced by configure, useful for debugging
4124 # configure, is in config.log if it exists.
4125
4126 debug=false
4127 ac_cs_recheck=false
4128 ac_cs_silent=false
4129
4130 SHELL=\${CONFIG_SHELL-$SHELL}
4131 export SHELL
4132 _ASEOF
4133 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4134 ## -------------------- ##
4135 ## M4sh Initialization. ##
4136 ## -------------------- ##
4137
4138 # Be more Bourne compatible
4139 DUALCASE=1; export DUALCASE # for MKS sh
4140 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4141   emulate sh
4142   NULLCMD=:
4143   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4144   # is contrary to our usage.  Disable this feature.
4145   alias -g '${1+"$@"}'='"$@"'
4146   setopt NO_GLOB_SUBST
4147 else
4148   case `(set -o) 2>/dev/null` in #(
4149   *posix*) :
4150     set -o posix ;; #(
4151   *) :
4152      ;;
4153 esac
4154 fi
4155
4156
4157 as_nl='
4158 '
4159 export as_nl
4160 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4161 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4162 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4163 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4164 # Prefer a ksh shell builtin over an external printf program on Solaris,
4165 # but without wasting forks for bash or zsh.
4166 if test -z "$BASH_VERSION$ZSH_VERSION" \
4167     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4168   as_echo='print -r --'
4169   as_echo_n='print -rn --'
4170 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4171   as_echo='printf %s\n'
4172   as_echo_n='printf %s'
4173 else
4174   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4175     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4176     as_echo_n='/usr/ucb/echo -n'
4177   else
4178     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4179     as_echo_n_body='eval
4180       arg=$1;
4181       case $arg in #(
4182       *"$as_nl"*)
4183         expr "X$arg" : "X\\(.*\\)$as_nl";
4184         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4185       esac;
4186       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4187     '
4188     export as_echo_n_body
4189     as_echo_n='sh -c $as_echo_n_body as_echo'
4190   fi
4191   export as_echo_body
4192   as_echo='sh -c $as_echo_body as_echo'
4193 fi
4194
4195 # The user is always right.
4196 if test "${PATH_SEPARATOR+set}" != set; then
4197   PATH_SEPARATOR=:
4198   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4199     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4200       PATH_SEPARATOR=';'
4201   }
4202 fi
4203
4204
4205 # IFS
4206 # We need space, tab and new line, in precisely that order.  Quoting is
4207 # there to prevent editors from complaining about space-tab.
4208 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4209 # splitting by setting IFS to empty value.)
4210 IFS=" ""        $as_nl"
4211
4212 # Find who we are.  Look in the path if we contain no directory separator.
4213 case $0 in #((
4214   *[\\/]* ) as_myself=$0 ;;
4215   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216 for as_dir in $PATH
4217 do
4218   IFS=$as_save_IFS
4219   test -z "$as_dir" && as_dir=.
4220     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4221   done
4222 IFS=$as_save_IFS
4223
4224      ;;
4225 esac
4226 # We did not find ourselves, most probably we were run as `sh COMMAND'
4227 # in which case we are not to be found in the path.
4228 if test "x$as_myself" = x; then
4229   as_myself=$0
4230 fi
4231 if test ! -f "$as_myself"; then
4232   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4233   exit 1
4234 fi
4235
4236 # Unset variables that we do not need and which cause bugs (e.g. in
4237 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4238 # suppresses any "Segmentation fault" message there.  '((' could
4239 # trigger a bug in pdksh 5.2.14.
4240 for as_var in BASH_ENV ENV MAIL MAILPATH
4241 do eval test x\${$as_var+set} = xset \
4242   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4243 done
4244 PS1='$ '
4245 PS2='> '
4246 PS4='+ '
4247
4248 # NLS nuisances.
4249 LC_ALL=C
4250 export LC_ALL
4251 LANGUAGE=C
4252 export LANGUAGE
4253
4254 # CDPATH.
4255 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4256
4257
4258 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4259 # ----------------------------------------
4260 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4261 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4262 # script with STATUS, using 1 if that was 0.
4263 as_fn_error ()
4264 {
4265   as_status=$1; test $as_status -eq 0 && as_status=1
4266   if test "$4"; then
4267     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4268     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4269   fi
4270   $as_echo "$as_me: error: $2" >&2
4271   as_fn_exit $as_status
4272 } # as_fn_error
4273
4274
4275 # as_fn_set_status STATUS
4276 # -----------------------
4277 # Set $? to STATUS, without forking.
4278 as_fn_set_status ()
4279 {
4280   return $1
4281 } # as_fn_set_status
4282
4283 # as_fn_exit STATUS
4284 # -----------------
4285 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4286 as_fn_exit ()
4287 {
4288   set +e
4289   as_fn_set_status $1
4290   exit $1
4291 } # as_fn_exit
4292
4293 # as_fn_unset VAR
4294 # ---------------
4295 # Portably unset VAR.
4296 as_fn_unset ()
4297 {
4298   { eval $1=; unset $1;}
4299 }
4300 as_unset=as_fn_unset
4301 # as_fn_append VAR VALUE
4302 # ----------------------
4303 # Append the text in VALUE to the end of the definition contained in VAR. Take
4304 # advantage of any shell optimizations that allow amortized linear growth over
4305 # repeated appends, instead of the typical quadratic growth present in naive
4306 # implementations.
4307 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4308   eval 'as_fn_append ()
4309   {
4310     eval $1+=\$2
4311   }'
4312 else
4313   as_fn_append ()
4314   {
4315     eval $1=\$$1\$2
4316   }
4317 fi # as_fn_append
4318
4319 # as_fn_arith ARG...
4320 # ------------------
4321 # Perform arithmetic evaluation on the ARGs, and store the result in the
4322 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4323 # must be portable across $(()) and expr.
4324 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4325   eval 'as_fn_arith ()
4326   {
4327     as_val=$(( $* ))
4328   }'
4329 else
4330   as_fn_arith ()
4331   {
4332     as_val=`expr "$@" || test $? -eq 1`
4333   }
4334 fi # as_fn_arith
4335
4336
4337 if expr a : '\(a\)' >/dev/null 2>&1 &&
4338    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4339   as_expr=expr
4340 else
4341   as_expr=false
4342 fi
4343
4344 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4345   as_basename=basename
4346 else
4347   as_basename=false
4348 fi
4349
4350 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4351   as_dirname=dirname
4352 else
4353   as_dirname=false
4354 fi
4355
4356 as_me=`$as_basename -- "$0" ||
4357 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4358          X"$0" : 'X\(//\)$' \| \
4359          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4360 $as_echo X/"$0" |
4361     sed '/^.*\/\([^/][^/]*\)\/*$/{
4362             s//\1/
4363             q
4364           }
4365           /^X\/\(\/\/\)$/{
4366             s//\1/
4367             q
4368           }
4369           /^X\/\(\/\).*/{
4370             s//\1/
4371             q
4372           }
4373           s/.*/./; q'`
4374
4375 # Avoid depending upon Character Ranges.
4376 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4377 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4378 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4379 as_cr_digits='0123456789'
4380 as_cr_alnum=$as_cr_Letters$as_cr_digits
4381
4382 ECHO_C= ECHO_N= ECHO_T=
4383 case `echo -n x` in #(((((
4384 -n*)
4385   case `echo 'xy\c'` in
4386   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4387   xy)  ECHO_C='\c';;
4388   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4389        ECHO_T=' ';;
4390   esac;;
4391 *)
4392   ECHO_N='-n';;
4393 esac
4394
4395 rm -f conf$$ conf$$.exe conf$$.file
4396 if test -d conf$$.dir; then
4397   rm -f conf$$.dir/conf$$.file
4398 else
4399   rm -f conf$$.dir
4400   mkdir conf$$.dir 2>/dev/null
4401 fi
4402 if (echo >conf$$.file) 2>/dev/null; then
4403   if ln -s conf$$.file conf$$ 2>/dev/null; then
4404     as_ln_s='ln -s'
4405     # ... but there are two gotchas:
4406     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4407     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4408     # In both cases, we have to default to `cp -p'.
4409     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4410       as_ln_s='cp -p'
4411   elif ln conf$$.file conf$$ 2>/dev/null; then
4412     as_ln_s=ln
4413   else
4414     as_ln_s='cp -p'
4415   fi
4416 else
4417   as_ln_s='cp -p'
4418 fi
4419 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4420 rmdir conf$$.dir 2>/dev/null
4421
4422
4423 # as_fn_mkdir_p
4424 # -------------
4425 # Create "$as_dir" as a directory, including parents if necessary.
4426 as_fn_mkdir_p ()
4427 {
4428
4429   case $as_dir in #(
4430   -*) as_dir=./$as_dir;;
4431   esac
4432   test -d "$as_dir" || eval $as_mkdir_p || {
4433     as_dirs=
4434     while :; do
4435       case $as_dir in #(
4436       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4437       *) as_qdir=$as_dir;;
4438       esac
4439       as_dirs="'$as_qdir' $as_dirs"
4440       as_dir=`$as_dirname -- "$as_dir" ||
4441 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4442          X"$as_dir" : 'X\(//\)[^/]' \| \
4443          X"$as_dir" : 'X\(//\)$' \| \
4444          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4445 $as_echo X"$as_dir" |
4446     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4447             s//\1/
4448             q
4449           }
4450           /^X\(\/\/\)[^/].*/{
4451             s//\1/
4452             q
4453           }
4454           /^X\(\/\/\)$/{
4455             s//\1/
4456             q
4457           }
4458           /^X\(\/\).*/{
4459             s//\1/
4460             q
4461           }
4462           s/.*/./; q'`
4463       test -d "$as_dir" && break
4464     done
4465     test -z "$as_dirs" || eval "mkdir $as_dirs"
4466   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4467
4468
4469 } # as_fn_mkdir_p
4470 if mkdir -p . 2>/dev/null; then
4471   as_mkdir_p='mkdir -p "$as_dir"'
4472 else
4473   test -d ./-p && rmdir ./-p
4474   as_mkdir_p=false
4475 fi
4476
4477 if test -x / >/dev/null 2>&1; then
4478   as_test_x='test -x'
4479 else
4480   if ls -dL / >/dev/null 2>&1; then
4481     as_ls_L_option=L
4482   else
4483     as_ls_L_option=
4484   fi
4485   as_test_x='
4486     eval sh -c '\''
4487       if test -d "$1"; then
4488         test -d "$1/.";
4489       else
4490         case $1 in #(
4491         -*)set "./$1";;
4492         esac;
4493         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4494         ???[sx]*):;;*)false;;esac;fi
4495     '\'' sh
4496   '
4497 fi
4498 as_executable_p=$as_test_x
4499
4500 # Sed expression to map a string onto a valid CPP name.
4501 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4502
4503 # Sed expression to map a string onto a valid variable name.
4504 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4505
4506
4507 exec 6>&1
4508 ## ----------------------------------- ##
4509 ## Main body of $CONFIG_STATUS script. ##
4510 ## ----------------------------------- ##
4511 _ASEOF
4512 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4513
4514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4515 # Save the log message, to keep $0 and so on meaningful, and to
4516 # report actual input values of CONFIG_FILES etc. instead of their
4517 # values after options handling.
4518 ac_log="
4519 This file was extended by xfd $as_me 1.0.1, which was
4520 generated by GNU Autoconf 2.67.  Invocation command line was
4521
4522   CONFIG_FILES    = $CONFIG_FILES
4523   CONFIG_HEADERS  = $CONFIG_HEADERS
4524   CONFIG_LINKS    = $CONFIG_LINKS
4525   CONFIG_COMMANDS = $CONFIG_COMMANDS
4526   $ $0 $@
4527
4528 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4529 "
4530
4531 _ACEOF
4532
4533 case $ac_config_files in *"
4534 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4535 esac
4536
4537 case $ac_config_headers in *"
4538 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4539 esac
4540
4541
4542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4543 # Files that config.status was made for.
4544 config_files="$ac_config_files"
4545 config_headers="$ac_config_headers"
4546 config_commands="$ac_config_commands"
4547
4548 _ACEOF
4549
4550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4551 ac_cs_usage="\
4552 \`$as_me' instantiates files and other configuration actions
4553 from templates according to the current configuration.  Unless the files
4554 and actions are specified as TAGs, all are instantiated by default.
4555
4556 Usage: $0 [OPTION]... [TAG]...
4557
4558   -h, --help       print this help, then exit
4559   -V, --version    print version number and configuration settings, then exit
4560       --config     print configuration, then exit
4561   -q, --quiet, --silent
4562                    do not print progress messages
4563   -d, --debug      don't remove temporary files
4564       --recheck    update $as_me by reconfiguring in the same conditions
4565       --file=FILE[:TEMPLATE]
4566                    instantiate the configuration file FILE
4567       --header=FILE[:TEMPLATE]
4568                    instantiate the configuration header FILE
4569
4570 Configuration files:
4571 $config_files
4572
4573 Configuration headers:
4574 $config_headers
4575
4576 Configuration commands:
4577 $config_commands
4578
4579 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
4580
4581 _ACEOF
4582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4583 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4584 ac_cs_version="\\
4585 xfd config.status 1.0.1
4586 configured by $0, generated by GNU Autoconf 2.67,
4587   with options \\"\$ac_cs_config\\"
4588
4589 Copyright (C) 2010 Free Software Foundation, Inc.
4590 This config.status script is free software; the Free Software Foundation
4591 gives unlimited permission to copy, distribute and modify it."
4592
4593 ac_pwd='$ac_pwd'
4594 srcdir='$srcdir'
4595 INSTALL='$INSTALL'
4596 MKDIR_P='$MKDIR_P'
4597 AWK='$AWK'
4598 test -n "\$AWK" || AWK=awk
4599 _ACEOF
4600
4601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4602 # The default lists apply if the user does not specify any file.
4603 ac_need_defaults=:
4604 while test $# != 0
4605 do
4606   case $1 in
4607   --*=?*)
4608     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4609     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4610     ac_shift=:
4611     ;;
4612   --*=)
4613     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4614     ac_optarg=
4615     ac_shift=:
4616     ;;
4617   *)
4618     ac_option=$1
4619     ac_optarg=$2
4620     ac_shift=shift
4621     ;;
4622   esac
4623
4624   case $ac_option in
4625   # Handling of the options.
4626   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4627     ac_cs_recheck=: ;;
4628   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4629     $as_echo "$ac_cs_version"; exit ;;
4630   --config | --confi | --conf | --con | --co | --c )
4631     $as_echo "$ac_cs_config"; exit ;;
4632   --debug | --debu | --deb | --de | --d | -d )
4633     debug=: ;;
4634   --file | --fil | --fi | --f )
4635     $ac_shift
4636     case $ac_optarg in
4637     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4638     '') as_fn_error $? "missing file argument" ;;
4639     esac
4640     as_fn_append CONFIG_FILES " '$ac_optarg'"
4641     ac_need_defaults=false;;
4642   --header | --heade | --head | --hea )
4643     $ac_shift
4644     case $ac_optarg in
4645     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4646     esac
4647     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4648     ac_need_defaults=false;;
4649   --he | --h)
4650     # Conflict between --help and --header
4651     as_fn_error $? "ambiguous option: \`$1'
4652 Try \`$0 --help' for more information.";;
4653   --help | --hel | -h )
4654     $as_echo "$ac_cs_usage"; exit ;;
4655   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4656   | -silent | --silent | --silen | --sile | --sil | --si | --s)
4657     ac_cs_silent=: ;;
4658
4659   # This is an error.
4660   -*) as_fn_error $? "unrecognized option: \`$1'
4661 Try \`$0 --help' for more information." ;;
4662
4663   *) as_fn_append ac_config_targets " $1"
4664      ac_need_defaults=false ;;
4665
4666   esac
4667   shift
4668 done
4669
4670 ac_configure_extra_args=
4671
4672 if $ac_cs_silent; then
4673   exec 6>/dev/null
4674   ac_configure_extra_args="$ac_configure_extra_args --silent"
4675 fi
4676
4677 _ACEOF
4678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4679 if \$ac_cs_recheck; then
4680   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4681   shift
4682   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4683   CONFIG_SHELL='$SHELL'
4684   export CONFIG_SHELL
4685   exec "\$@"
4686 fi
4687
4688 _ACEOF
4689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4690 exec 5>>config.log
4691 {
4692   echo
4693   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4694 ## Running $as_me. ##
4695 _ASBOX
4696   $as_echo "$ac_log"
4697 } >&5
4698
4699 _ACEOF
4700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4701 #
4702 # INIT-COMMANDS
4703 #
4704 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4705
4706 _ACEOF
4707
4708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4709
4710 # Handling of arguments.
4711 for ac_config_target in $ac_config_targets
4712 do
4713   case $ac_config_target in
4714     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4715     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4716     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4717
4718   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
4719   esac
4720 done
4721
4722
4723 # If the user did not use the arguments to specify the items to instantiate,
4724 # then the envvar interface is used.  Set only those that are not.
4725 # We use the long form for the default assignment because of an extremely
4726 # bizarre bug on SunOS 4.1.3.
4727 if $ac_need_defaults; then
4728   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4729   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4730   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4731 fi
4732
4733 # Have a temporary directory for convenience.  Make it in the build tree
4734 # simply because there is no reason against having it here, and in addition,
4735 # creating and moving files from /tmp can sometimes cause problems.
4736 # Hook for its removal unless debugging.
4737 # Note that there is a small window in which the directory will not be cleaned:
4738 # after its creation but before its name has been assigned to `$tmp'.
4739 $debug ||
4740 {
4741   tmp=
4742   trap 'exit_status=$?
4743   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4744 ' 0
4745   trap 'as_fn_exit 1' 1 2 13 15
4746 }
4747 # Create a (secure) tmp directory for tmp files.
4748
4749 {
4750   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4751   test -n "$tmp" && test -d "$tmp"
4752 }  ||
4753 {
4754   tmp=./conf$$-$RANDOM
4755   (umask 077 && mkdir "$tmp")
4756 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4757
4758 # Set up the scripts for CONFIG_FILES section.
4759 # No need to generate them if there are no CONFIG_FILES.
4760 # This happens for instance with `./config.status config.h'.
4761 if test -n "$CONFIG_FILES"; then
4762
4763
4764 ac_cr=`echo X | tr X '\015'`
4765 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4766 # But we know of no other shell where ac_cr would be empty at this
4767 # point, so we can use a bashism as a fallback.
4768 if test "x$ac_cr" = x; then
4769   eval ac_cr=\$\'\\r\'
4770 fi
4771 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4772 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4773   ac_cs_awk_cr='\\r'
4774 else
4775   ac_cs_awk_cr=$ac_cr
4776 fi
4777
4778 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4779 _ACEOF
4780
4781
4782 {
4783   echo "cat >conf$$subs.awk <<_ACEOF" &&
4784   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4785   echo "_ACEOF"
4786 } >conf$$subs.sh ||
4787   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4788 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4789 ac_delim='%!_!# '
4790 for ac_last_try in false false false false false :; do
4791   . ./conf$$subs.sh ||
4792     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4793
4794   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4795   if test $ac_delim_n = $ac_delim_num; then
4796     break
4797   elif $ac_last_try; then
4798     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4799   else
4800     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4801   fi
4802 done
4803 rm -f conf$$subs.sh
4804
4805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4806 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4807 _ACEOF
4808 sed -n '
4809 h
4810 s/^/S["/; s/!.*/"]=/
4811 p
4812 g
4813 s/^[^!]*!//
4814 :repl
4815 t repl
4816 s/'"$ac_delim"'$//
4817 t delim
4818 :nl
4819 h
4820 s/\(.\{148\}\)..*/\1/
4821 t more1
4822 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4823 p
4824 n
4825 b repl
4826 :more1
4827 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4828 p
4829 g
4830 s/.\{148\}//
4831 t nl
4832 :delim
4833 h
4834 s/\(.\{148\}\)..*/\1/
4835 t more2
4836 s/["\\]/\\&/g; s/^/"/; s/$/"/
4837 p
4838 b
4839 :more2
4840 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4841 p
4842 g
4843 s/.\{148\}//
4844 t delim
4845 ' <conf$$subs.awk | sed '
4846 /^[^""]/{
4847   N
4848   s/\n//
4849 }
4850 ' >>$CONFIG_STATUS || ac_write_fail=1
4851 rm -f conf$$subs.awk
4852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4853 _ACAWK
4854 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4855   for (key in S) S_is_set[key] = 1
4856   FS = "\a"
4857
4858 }
4859 {
4860   line = $ 0
4861   nfields = split(line, field, "@")
4862   substed = 0
4863   len = length(field[1])
4864   for (i = 2; i < nfields; i++) {
4865     key = field[i]
4866     keylen = length(key)
4867     if (S_is_set[key]) {
4868       value = S[key]
4869       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4870       len += length(value) + length(field[++i])
4871       substed = 1
4872     } else
4873       len += 1 + keylen
4874   }
4875
4876   print line
4877 }
4878
4879 _ACAWK
4880 _ACEOF
4881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4882 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4883   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4884 else
4885   cat
4886 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4887   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4888 _ACEOF
4889
4890 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4891 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4892 # trailing colons and then remove the whole line if VPATH becomes empty
4893 # (actually we leave an empty line to preserve line numbers).
4894 if test "x$srcdir" = x.; then
4895   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
4896 h
4897 s///
4898 s/^/:/
4899 s/[      ]*$/:/
4900 s/:\$(srcdir):/:/g
4901 s/:\${srcdir}:/:/g
4902 s/:@srcdir@:/:/g
4903 s/^:*//
4904 s/:*$//
4905 x
4906 s/\(=[   ]*\).*/\1/
4907 G
4908 s/\n//
4909 s/^[^=]*=[       ]*$//
4910 }'
4911 fi
4912
4913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4914 fi # test -n "$CONFIG_FILES"
4915
4916 # Set up the scripts for CONFIG_HEADERS section.
4917 # No need to generate them if there are no CONFIG_HEADERS.
4918 # This happens for instance with `./config.status Makefile'.
4919 if test -n "$CONFIG_HEADERS"; then
4920 cat >"$tmp/defines.awk" <<\_ACAWK ||
4921 BEGIN {
4922 _ACEOF
4923
4924 # Transform confdefs.h into an awk script `defines.awk', embedded as
4925 # here-document in config.status, that substitutes the proper values into
4926 # config.h.in to produce config.h.
4927
4928 # Create a delimiter string that does not exist in confdefs.h, to ease
4929 # handling of long lines.
4930 ac_delim='%!_!# '
4931 for ac_last_try in false false :; do
4932   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4933   if test -z "$ac_t"; then
4934     break
4935   elif $ac_last_try; then
4936     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4937   else
4938     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4939   fi
4940 done
4941
4942 # For the awk script, D is an array of macro values keyed by name,
4943 # likewise P contains macro parameters if any.  Preserve backslash
4944 # newline sequences.
4945
4946 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4947 sed -n '
4948 s/.\{148\}/&'"$ac_delim"'/g
4949 t rset
4950 :rset
4951 s/^[     ]*#[    ]*define[       ][      ]*/ /
4952 t def
4953 d
4954 :def
4955 s/\\$//
4956 t bsnl
4957 s/["\\]/\\&/g
4958 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
4959 D["\1"]=" \3"/p
4960 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
4961 d
4962 :bsnl
4963 s/["\\]/\\&/g
4964 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
4965 D["\1"]=" \3\\\\\\n"\\/p
4966 t cont
4967 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4968 t cont
4969 d
4970 :cont
4971 n
4972 s/.\{148\}/&'"$ac_delim"'/g
4973 t clear
4974 :clear
4975 s/\\$//
4976 t bsnlc
4977 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4978 d
4979 :bsnlc
4980 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4981 b cont
4982 ' <confdefs.h | sed '
4983 s/'"$ac_delim"'/"\\\
4984 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4985
4986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4987   for (key in D) D_is_set[key] = 1
4988   FS = "\a"
4989 }
4990 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4991   line = \$ 0
4992   split(line, arg, " ")
4993   if (arg[1] == "#") {
4994     defundef = arg[2]
4995     mac1 = arg[3]
4996   } else {
4997     defundef = substr(arg[1], 2)
4998     mac1 = arg[2]
4999   }
5000   split(mac1, mac2, "(") #)
5001   macro = mac2[1]
5002   prefix = substr(line, 1, index(line, defundef) - 1)
5003   if (D_is_set[macro]) {
5004     # Preserve the white space surrounding the "#".
5005     print prefix "define", macro P[macro] D[macro]
5006     next
5007   } else {
5008     # Replace #undef with comments.  This is necessary, for example,
5009     # in the case of _POSIX_SOURCE, which is predefined and required
5010     # on some systems where configure will not decide to define it.
5011     if (defundef == "undef") {
5012       print "/*", prefix defundef, macro, "*/"
5013       next
5014     }
5015   }
5016 }
5017 { print }
5018 _ACAWK
5019 _ACEOF
5020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5021   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5022 fi # test -n "$CONFIG_HEADERS"
5023
5024
5025 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5026 shift
5027 for ac_tag
5028 do
5029   case $ac_tag in
5030   :[FHLC]) ac_mode=$ac_tag; continue;;
5031   esac
5032   case $ac_mode$ac_tag in
5033   :[FHL]*:*);;
5034   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
5035   :[FH]-) ac_tag=-:-;;
5036   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5037   esac
5038   ac_save_IFS=$IFS
5039   IFS=:
5040   set x $ac_tag
5041   IFS=$ac_save_IFS
5042   shift
5043   ac_file=$1
5044   shift
5045
5046   case $ac_mode in
5047   :L) ac_source=$1;;
5048   :[FH])
5049     ac_file_inputs=
5050     for ac_f
5051     do
5052       case $ac_f in
5053       -) ac_f="$tmp/stdin";;
5054       *) # Look for the file first in the build tree, then in the source tree
5055          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5056          # because $ac_f cannot contain `:'.
5057          test -f "$ac_f" ||
5058            case $ac_f in
5059            [\\/$]*) false;;
5060            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5061            esac ||
5062            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
5063       esac
5064       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5065       as_fn_append ac_file_inputs " '$ac_f'"
5066     done
5067
5068     # Let's still pretend it is `configure' which instantiates (i.e., don't
5069     # use $as_me), people would be surprised to read:
5070     #    /* config.h.  Generated by config.status.  */
5071     configure_input='Generated from '`
5072           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5073         `' by configure.'
5074     if test x"$ac_file" != x-; then
5075       configure_input="$ac_file.  $configure_input"
5076       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5077 $as_echo "$as_me: creating $ac_file" >&6;}
5078     fi
5079     # Neutralize special characters interpreted by sed in replacement strings.
5080     case $configure_input in #(
5081     *\&* | *\|* | *\\* )
5082        ac_sed_conf_input=`$as_echo "$configure_input" |
5083        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5084     *) ac_sed_conf_input=$configure_input;;
5085     esac
5086
5087     case $ac_tag in
5088     *:-:* | *:-) cat >"$tmp/stdin" \
5089       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
5090     esac
5091     ;;
5092   esac
5093
5094   ac_dir=`$as_dirname -- "$ac_file" ||
5095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5096          X"$ac_file" : 'X\(//\)[^/]' \| \
5097          X"$ac_file" : 'X\(//\)$' \| \
5098          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5099 $as_echo X"$ac_file" |
5100     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5101             s//\1/
5102             q
5103           }
5104           /^X\(\/\/\)[^/].*/{
5105             s//\1/
5106             q
5107           }
5108           /^X\(\/\/\)$/{
5109             s//\1/
5110             q
5111           }
5112           /^X\(\/\).*/{
5113             s//\1/
5114             q
5115           }
5116           s/.*/./; q'`
5117   as_dir="$ac_dir"; as_fn_mkdir_p
5118   ac_builddir=.
5119
5120 case "$ac_dir" in
5121 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5122 *)
5123   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5124   # A ".." for each directory in $ac_dir_suffix.
5125   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5126   case $ac_top_builddir_sub in
5127   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5128   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5129   esac ;;
5130 esac
5131 ac_abs_top_builddir=$ac_pwd
5132 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5133 # for backward compatibility:
5134 ac_top_builddir=$ac_top_build_prefix
5135
5136 case $srcdir in
5137   .)  # We are building in place.
5138     ac_srcdir=.
5139     ac_top_srcdir=$ac_top_builddir_sub
5140     ac_abs_top_srcdir=$ac_pwd ;;
5141   [\\/]* | ?:[\\/]* )  # Absolute name.
5142     ac_srcdir=$srcdir$ac_dir_suffix;
5143     ac_top_srcdir=$srcdir
5144     ac_abs_top_srcdir=$srcdir ;;
5145   *) # Relative name.
5146     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5147     ac_top_srcdir=$ac_top_build_prefix$srcdir
5148     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5149 esac
5150 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5151
5152
5153   case $ac_mode in
5154   :F)
5155   #
5156   # CONFIG_FILE
5157   #
5158
5159   case $INSTALL in
5160   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5161   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5162   esac
5163   ac_MKDIR_P=$MKDIR_P
5164   case $MKDIR_P in
5165   [\\/$]* | ?:[\\/]* ) ;;
5166   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5167   esac
5168 _ACEOF
5169
5170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5171 # If the template does not know about datarootdir, expand it.
5172 # FIXME: This hack should be removed a few years after 2.60.
5173 ac_datarootdir_hack=; ac_datarootdir_seen=
5174 ac_sed_dataroot='
5175 /datarootdir/ {
5176   p
5177   q
5178 }
5179 /@datadir@/p
5180 /@docdir@/p
5181 /@infodir@/p
5182 /@localedir@/p
5183 /@mandir@/p'
5184 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5185 *datarootdir*) ac_datarootdir_seen=yes;;
5186 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5187   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5188 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5189 _ACEOF
5190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5191   ac_datarootdir_hack='
5192   s&@datadir@&$datadir&g
5193   s&@docdir@&$docdir&g
5194   s&@infodir@&$infodir&g
5195   s&@localedir@&$localedir&g
5196   s&@mandir@&$mandir&g
5197   s&\\\${datarootdir}&$datarootdir&g' ;;
5198 esac
5199 _ACEOF
5200
5201 # Neutralize VPATH when `$srcdir' = `.'.
5202 # Shell code in configure.ac might set extrasub.
5203 # FIXME: do we really want to maintain this feature?
5204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5205 ac_sed_extra="$ac_vpsub
5206 $extrasub
5207 _ACEOF
5208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5209 :t
5210 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5211 s|@configure_input@|$ac_sed_conf_input|;t t
5212 s&@top_builddir@&$ac_top_builddir_sub&;t t
5213 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5214 s&@srcdir@&$ac_srcdir&;t t
5215 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5216 s&@top_srcdir@&$ac_top_srcdir&;t t
5217 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5218 s&@builddir@&$ac_builddir&;t t
5219 s&@abs_builddir@&$ac_abs_builddir&;t t
5220 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5221 s&@INSTALL@&$ac_INSTALL&;t t
5222 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5223 $ac_datarootdir_hack
5224 "
5225 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5226   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5227
5228 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5229   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5230   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5231   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5232 which seems to be undefined.  Please make sure it is defined" >&5
5233 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5234 which seems to be undefined.  Please make sure it is defined" >&2;}
5235
5236   rm -f "$tmp/stdin"
5237   case $ac_file in
5238   -) cat "$tmp/out" && rm -f "$tmp/out";;
5239   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5240   esac \
5241   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5242  ;;
5243   :H)
5244   #
5245   # CONFIG_HEADER
5246   #
5247   if test x"$ac_file" != x-; then
5248     {
5249       $as_echo "/* $configure_input  */" \
5250       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5251     } >"$tmp/config.h" \
5252       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5253     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5254       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5255 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5256     else
5257       rm -f "$ac_file"
5258       mv "$tmp/config.h" "$ac_file" \
5259         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5260     fi
5261   else
5262     $as_echo "/* $configure_input  */" \
5263       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5264       || as_fn_error $? "could not create -" "$LINENO" 5
5265   fi
5266 # Compute "$ac_file"'s index in $config_headers.
5267 _am_arg="$ac_file"
5268 _am_stamp_count=1
5269 for _am_header in $config_headers :; do
5270   case $_am_header in
5271     $_am_arg | $_am_arg:* )
5272       break ;;
5273     * )
5274       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5275   esac
5276 done
5277 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5278 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5279          X"$_am_arg" : 'X\(//\)[^/]' \| \
5280          X"$_am_arg" : 'X\(//\)$' \| \
5281          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5282 $as_echo X"$_am_arg" |
5283     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5284             s//\1/
5285             q
5286           }
5287           /^X\(\/\/\)[^/].*/{
5288             s//\1/
5289             q
5290           }
5291           /^X\(\/\/\)$/{
5292             s//\1/
5293             q
5294           }
5295           /^X\(\/\).*/{
5296             s//\1/
5297             q
5298           }
5299           s/.*/./; q'`/stamp-h$_am_stamp_count
5300  ;;
5301
5302   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5303 $as_echo "$as_me: executing $ac_file commands" >&6;}
5304  ;;
5305   esac
5306
5307
5308   case $ac_file$ac_mode in
5309     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5310   # Autoconf 2.62 quotes --file arguments for eval, but not when files
5311   # are listed without --file.  Let's play safe and only enable the eval
5312   # if we detect the quoting.
5313   case $CONFIG_FILES in
5314   *\'*) eval set x "$CONFIG_FILES" ;;
5315   *)   set x $CONFIG_FILES ;;
5316   esac
5317   shift
5318   for mf
5319   do
5320     # Strip MF so we end up with the name of the file.
5321     mf=`echo "$mf" | sed -e 's/:.*$//'`
5322     # Check whether this is an Automake generated Makefile or not.
5323     # We used to match only the files named `Makefile.in', but
5324     # some people rename them; so instead we look at the file content.
5325     # Grep'ing the first line is not enough: some people post-process
5326     # each Makefile.in and add a new line on top of each file to say so.
5327     # Grep'ing the whole file is not good either: AIX grep has a line
5328     # limit of 2048, but all sed's we know have understand at least 4000.
5329     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5330       dirpart=`$as_dirname -- "$mf" ||
5331 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5332          X"$mf" : 'X\(//\)[^/]' \| \
5333          X"$mf" : 'X\(//\)$' \| \
5334          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5335 $as_echo X"$mf" |
5336     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5337             s//\1/
5338             q
5339           }
5340           /^X\(\/\/\)[^/].*/{
5341             s//\1/
5342             q
5343           }
5344           /^X\(\/\/\)$/{
5345             s//\1/
5346             q
5347           }
5348           /^X\(\/\).*/{
5349             s//\1/
5350             q
5351           }
5352           s/.*/./; q'`
5353     else
5354       continue
5355     fi
5356     # Extract the definition of DEPDIR, am__include, and am__quote
5357     # from the Makefile without running `make'.
5358     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5359     test -z "$DEPDIR" && continue
5360     am__include=`sed -n 's/^am__include = //p' < "$mf"`
5361     test -z "am__include" && continue
5362     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5363     # When using ansi2knr, U may be empty or an underscore; expand it
5364     U=`sed -n 's/^U = //p' < "$mf"`
5365     # Find all dependency output files, they are included files with
5366     # $(DEPDIR) in their names.  We invoke sed twice because it is the
5367     # simplest approach to changing $(DEPDIR) to its actual value in the
5368     # expansion.
5369     for file in `sed -n "
5370       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5371          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5372       # Make sure the directory exists.
5373       test -f "$dirpart/$file" && continue
5374       fdir=`$as_dirname -- "$file" ||
5375 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5376          X"$file" : 'X\(//\)[^/]' \| \
5377          X"$file" : 'X\(//\)$' \| \
5378          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5379 $as_echo X"$file" |
5380     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5381             s//\1/
5382             q
5383           }
5384           /^X\(\/\/\)[^/].*/{
5385             s//\1/
5386             q
5387           }
5388           /^X\(\/\/\)$/{
5389             s//\1/
5390             q
5391           }
5392           /^X\(\/\).*/{
5393             s//\1/
5394             q
5395           }
5396           s/.*/./; q'`
5397       as_dir=$dirpart/$fdir; as_fn_mkdir_p
5398       # echo "creating $dirpart/$file"
5399       echo '# dummy' > "$dirpart/$file"
5400     done
5401   done
5402 }
5403  ;;
5404
5405   esac
5406 done # for ac_tag
5407
5408
5409 as_fn_exit 0
5410 _ACEOF
5411 ac_clean_files=$ac_clean_files_save
5412
5413 test $ac_write_fail = 0 ||
5414   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5415
5416
5417 # configure is writing to config.log, and then calls config.status.
5418 # config.status does its own redirection, appending to config.log.
5419 # Unfortunately, on DOS this fails, as config.log is still kept open
5420 # by configure, so config.status won't be able to write to it; its
5421 # output is simply discarded.  So we exec the FD to /dev/null,
5422 # effectively closing config.log, so it can be properly (re)opened and
5423 # appended to by config.status.  When coming back to configure, we
5424 # need to make the FD available again.
5425 if test "$no_create" != yes; then
5426   ac_cs_success=:
5427   ac_config_status_args=
5428   test "$silent" = yes &&
5429     ac_config_status_args="$ac_config_status_args --quiet"
5430   exec 5>/dev/null
5431   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5432   exec 5>>config.log
5433   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5434   # would make configure fail if this is the last instruction.
5435   $ac_cs_success || as_fn_exit 1
5436 fi
5437 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5438   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5439 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5440 fi
5441