home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.lbl.gov / 2014.05.ftp.ee.lbl.gov.tar / ftp.ee.lbl.gov / ipsearch-1.0.tar.gz / ipsearch-1.0.tar / ipsearch-1.0 / configure < prev    next >
Text File  |  2011-07-06  |  176KB  |  6,165 lines

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