"Fossies" - the Fresh Open Source Software Archive

Member "libgphoto2-2.5.27/configure" (21 Feb 2021, 908994 Bytes) of package /linux/privat/libgphoto2-2.5.27.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 2.5.26_vs_2.5.27.

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