home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.lbl.gov / 2014.05.ftp.ee.lbl.gov.tar / ftp.ee.lbl.gov / cf-1.2.3.tar.gz / cf-1.2.3.tar / cf-1.2.3 / configure < prev    next >
Text File  |  2011-02-24  |  163KB  |  5,678 lines

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