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