alpar@9: #! /bin/sh
alpar@9: # Guess values for system-dependent variables and create Makefiles.
alpar@9: # Generated by GNU Autoconf 2.65 for GLPK 4.47.
alpar@9: #
alpar@9: # Report bugs to <bug-glpk@gnu.org>.
alpar@9: #
alpar@9: #
alpar@9: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
alpar@9: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
alpar@9: # Inc.
alpar@9: #
alpar@9: #
alpar@9: # This configure script is free software; the Free Software Foundation
alpar@9: # gives unlimited permission to copy, distribute and modify it.
alpar@9: ## -------------------- ##
alpar@9: ## M4sh Initialization. ##
alpar@9: ## -------------------- ##
alpar@9: 
alpar@9: # Be more Bourne compatible
alpar@9: DUALCASE=1; export DUALCASE # for MKS sh
alpar@9: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
alpar@9:   emulate sh
alpar@9:   NULLCMD=:
alpar@9:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
alpar@9:   # is contrary to our usage.  Disable this feature.
alpar@9:   alias -g '${1+"$@"}'='"$@"'
alpar@9:   setopt NO_GLOB_SUBST
alpar@9: else
alpar@9:   case `(set -o) 2>/dev/null` in #(
alpar@9:   *posix*) :
alpar@9:     set -o posix ;; #(
alpar@9:   *) :
alpar@9:      ;;
alpar@9: esac
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: as_nl='
alpar@9: '
alpar@9: export as_nl
alpar@9: # Printing a long string crashes Solaris 7 /usr/bin/printf.
alpar@9: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
alpar@9: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
alpar@9: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
alpar@9: # Prefer a ksh shell builtin over an external printf program on Solaris,
alpar@9: # but without wasting forks for bash or zsh.
alpar@9: if test -z "$BASH_VERSION$ZSH_VERSION" \
alpar@9:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
alpar@9:   as_echo='print -r --'
alpar@9:   as_echo_n='print -rn --'
alpar@9: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
alpar@9:   as_echo='printf %s\n'
alpar@9:   as_echo_n='printf %s'
alpar@9: else
alpar@9:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
alpar@9:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
alpar@9:     as_echo_n='/usr/ucb/echo -n'
alpar@9:   else
alpar@9:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
alpar@9:     as_echo_n_body='eval
alpar@9:       arg=$1;
alpar@9:       case $arg in #(
alpar@9:       *"$as_nl"*)
alpar@9: 	expr "X$arg" : "X\\(.*\\)$as_nl";
alpar@9: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
alpar@9:       esac;
alpar@9:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
alpar@9:     '
alpar@9:     export as_echo_n_body
alpar@9:     as_echo_n='sh -c $as_echo_n_body as_echo'
alpar@9:   fi
alpar@9:   export as_echo_body
alpar@9:   as_echo='sh -c $as_echo_body as_echo'
alpar@9: fi
alpar@9: 
alpar@9: # The user is always right.
alpar@9: if test "${PATH_SEPARATOR+set}" != set; then
alpar@9:   PATH_SEPARATOR=:
alpar@9:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
alpar@9:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
alpar@9:       PATH_SEPARATOR=';'
alpar@9:   }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: # IFS
alpar@9: # We need space, tab and new line, in precisely that order.  Quoting is
alpar@9: # there to prevent editors from complaining about space-tab.
alpar@9: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
alpar@9: # splitting by setting IFS to empty value.)
alpar@9: IFS=" ""	$as_nl"
alpar@9: 
alpar@9: # Find who we are.  Look in the path if we contain no directory separator.
alpar@9: case $0 in #((
alpar@9:   *[\\/]* ) as_myself=$0 ;;
alpar@9:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9:      ;;
alpar@9: esac
alpar@9: # We did not find ourselves, most probably we were run as `sh COMMAND'
alpar@9: # in which case we are not to be found in the path.
alpar@9: if test "x$as_myself" = x; then
alpar@9:   as_myself=$0
alpar@9: fi
alpar@9: if test ! -f "$as_myself"; then
alpar@9:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
alpar@9:   exit 1
alpar@9: fi
alpar@9: 
alpar@9: # Unset variables that we do not need and which cause bugs (e.g. in
alpar@9: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
alpar@9: # suppresses any "Segmentation fault" message there.  '((' could
alpar@9: # trigger a bug in pdksh 5.2.14.
alpar@9: for as_var in BASH_ENV ENV MAIL MAILPATH
alpar@9: do eval test x\${$as_var+set} = xset \
alpar@9:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
alpar@9: done
alpar@9: PS1='$ '
alpar@9: PS2='> '
alpar@9: PS4='+ '
alpar@9: 
alpar@9: # NLS nuisances.
alpar@9: LC_ALL=C
alpar@9: export LC_ALL
alpar@9: LANGUAGE=C
alpar@9: export LANGUAGE
alpar@9: 
alpar@9: # CDPATH.
alpar@9: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
alpar@9: 
alpar@9: if test "x$CONFIG_SHELL" = x; then
alpar@9:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
alpar@9:   emulate sh
alpar@9:   NULLCMD=:
alpar@9:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
alpar@9:   # is contrary to our usage.  Disable this feature.
alpar@9:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
alpar@9:   setopt NO_GLOB_SUBST
alpar@9: else
alpar@9:   case \`(set -o) 2>/dev/null\` in #(
alpar@9:   *posix*) :
alpar@9:     set -o posix ;; #(
alpar@9:   *) :
alpar@9:      ;;
alpar@9: esac
alpar@9: fi
alpar@9: "
alpar@9:   as_required="as_fn_return () { (exit \$1); }
alpar@9: as_fn_success () { as_fn_return 0; }
alpar@9: as_fn_failure () { as_fn_return 1; }
alpar@9: as_fn_ret_success () { return 0; }
alpar@9: as_fn_ret_failure () { return 1; }
alpar@9: 
alpar@9: exitcode=0
alpar@9: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
alpar@9: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
alpar@9: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
alpar@9: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
alpar@9: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
alpar@9: 
alpar@9: else
alpar@9:   exitcode=1; echo positional parameters were not saved.
alpar@9: fi
alpar@9: test x\$exitcode = x0 || exit 1"
alpar@9:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
alpar@9:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
alpar@9:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
alpar@9:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
alpar@9: 
alpar@9:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
alpar@9:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
alpar@9:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
alpar@9:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
alpar@9:     PATH=/empty FPATH=/empty; export PATH FPATH
alpar@9:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
alpar@9:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
alpar@9: test \$(( 1 + 1 )) = 2 || exit 1"
alpar@9:   if (eval "$as_required") 2>/dev/null; then :
alpar@9:   as_have_required=yes
alpar@9: else
alpar@9:   as_have_required=no
alpar@9: fi
alpar@9:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
alpar@9: 
alpar@9: else
alpar@9:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: as_found=false
alpar@9: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:   as_found=:
alpar@9:   case $as_dir in #(
alpar@9: 	 /*)
alpar@9: 	   for as_base in sh bash ksh sh5; do
alpar@9: 	     # Try only shells that exist, to save several forks.
alpar@9: 	     as_shell=$as_dir/$as_base
alpar@9: 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
alpar@9: 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
alpar@9:   CONFIG_SHELL=$as_shell as_have_required=yes
alpar@9: 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
alpar@9:   break 2
alpar@9: fi
alpar@9: fi
alpar@9: 	   done;;
alpar@9:        esac
alpar@9:   as_found=false
alpar@9: done
alpar@9: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
alpar@9: 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
alpar@9:   CONFIG_SHELL=$SHELL as_have_required=yes
alpar@9: fi; }
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: 
alpar@9:       if test "x$CONFIG_SHELL" != x; then :
alpar@9:   # We cannot yet assume a decent shell, so we have to provide a
alpar@9: 	# neutralization value for shells without unset; and this also
alpar@9: 	# works around shells that cannot unset nonexistent variables.
alpar@9: 	BASH_ENV=/dev/null
alpar@9: 	ENV=/dev/null
alpar@9: 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
alpar@9: 	export CONFIG_SHELL
alpar@9: 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
alpar@9: fi
alpar@9: 
alpar@9:     if test x$as_have_required = xno; then :
alpar@9:   $as_echo "$0: This script requires a shell more modern than all"
alpar@9:   $as_echo "$0: the shells that I found on your system."
alpar@9:   if test x${ZSH_VERSION+set} = xset ; then
alpar@9:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
alpar@9:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
alpar@9:   else
alpar@9:     $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-glpk@gnu.org
alpar@9: $0: about your system, including any error possibly output
alpar@9: $0: before this message. Then install a modern shell, or
alpar@9: $0: manually run the script under such a shell if you do
alpar@9: $0: have one."
alpar@9:   fi
alpar@9:   exit 1
alpar@9: fi
alpar@9: fi
alpar@9: fi
alpar@9: SHELL=${CONFIG_SHELL-/bin/sh}
alpar@9: export SHELL
alpar@9: # Unset more variables known to interfere with behavior of common tools.
alpar@9: CLICOLOR_FORCE= GREP_OPTIONS=
alpar@9: unset CLICOLOR_FORCE GREP_OPTIONS
alpar@9: 
alpar@9: ## --------------------- ##
alpar@9: ## M4sh Shell Functions. ##
alpar@9: ## --------------------- ##
alpar@9: # as_fn_unset VAR
alpar@9: # ---------------
alpar@9: # Portably unset VAR.
alpar@9: as_fn_unset ()
alpar@9: {
alpar@9:   { eval $1=; unset $1;}
alpar@9: }
alpar@9: as_unset=as_fn_unset
alpar@9: 
alpar@9: # as_fn_set_status STATUS
alpar@9: # -----------------------
alpar@9: # Set $? to STATUS, without forking.
alpar@9: as_fn_set_status ()
alpar@9: {
alpar@9:   return $1
alpar@9: } # as_fn_set_status
alpar@9: 
alpar@9: # as_fn_exit STATUS
alpar@9: # -----------------
alpar@9: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
alpar@9: as_fn_exit ()
alpar@9: {
alpar@9:   set +e
alpar@9:   as_fn_set_status $1
alpar@9:   exit $1
alpar@9: } # as_fn_exit
alpar@9: 
alpar@9: # as_fn_mkdir_p
alpar@9: # -------------
alpar@9: # Create "$as_dir" as a directory, including parents if necessary.
alpar@9: as_fn_mkdir_p ()
alpar@9: {
alpar@9: 
alpar@9:   case $as_dir in #(
alpar@9:   -*) as_dir=./$as_dir;;
alpar@9:   esac
alpar@9:   test -d "$as_dir" || eval $as_mkdir_p || {
alpar@9:     as_dirs=
alpar@9:     while :; do
alpar@9:       case $as_dir in #(
alpar@9:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
alpar@9:       *) as_qdir=$as_dir;;
alpar@9:       esac
alpar@9:       as_dirs="'$as_qdir' $as_dirs"
alpar@9:       as_dir=`$as_dirname -- "$as_dir" ||
alpar@9: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
alpar@9: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
alpar@9: 	 X"$as_dir" : 'X\(//\)$' \| \
alpar@9: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
alpar@9: $as_echo X"$as_dir" |
alpar@9:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)[^/].*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\).*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  s/.*/./; q'`
alpar@9:       test -d "$as_dir" && break
alpar@9:     done
alpar@9:     test -z "$as_dirs" || eval "mkdir $as_dirs"
alpar@9:   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
alpar@9: 
alpar@9: 
alpar@9: } # as_fn_mkdir_p
alpar@9: # as_fn_append VAR VALUE
alpar@9: # ----------------------
alpar@9: # Append the text in VALUE to the end of the definition contained in VAR. Take
alpar@9: # advantage of any shell optimizations that allow amortized linear growth over
alpar@9: # repeated appends, instead of the typical quadratic growth present in naive
alpar@9: # implementations.
alpar@9: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
alpar@9:   eval 'as_fn_append ()
alpar@9:   {
alpar@9:     eval $1+=\$2
alpar@9:   }'
alpar@9: else
alpar@9:   as_fn_append ()
alpar@9:   {
alpar@9:     eval $1=\$$1\$2
alpar@9:   }
alpar@9: fi # as_fn_append
alpar@9: 
alpar@9: # as_fn_arith ARG...
alpar@9: # ------------------
alpar@9: # Perform arithmetic evaluation on the ARGs, and store the result in the
alpar@9: # global $as_val. Take advantage of shells that can avoid forks. The arguments
alpar@9: # must be portable across $(()) and expr.
alpar@9: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
alpar@9:   eval 'as_fn_arith ()
alpar@9:   {
alpar@9:     as_val=$(( $* ))
alpar@9:   }'
alpar@9: else
alpar@9:   as_fn_arith ()
alpar@9:   {
alpar@9:     as_val=`expr "$@" || test $? -eq 1`
alpar@9:   }
alpar@9: fi # as_fn_arith
alpar@9: 
alpar@9: 
alpar@9: # as_fn_error ERROR [LINENO LOG_FD]
alpar@9: # ---------------------------------
alpar@9: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
alpar@9: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
alpar@9: # script with status $?, using 1 if that was 0.
alpar@9: as_fn_error ()
alpar@9: {
alpar@9:   as_status=$?; test $as_status -eq 0 && as_status=1
alpar@9:   if test "$3"; then
alpar@9:     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
alpar@9:   fi
alpar@9:   $as_echo "$as_me: error: $1" >&2
alpar@9:   as_fn_exit $as_status
alpar@9: } # as_fn_error
alpar@9: 
alpar@9: if expr a : '\(a\)' >/dev/null 2>&1 &&
alpar@9:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
alpar@9:   as_expr=expr
alpar@9: else
alpar@9:   as_expr=false
alpar@9: fi
alpar@9: 
alpar@9: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
alpar@9:   as_basename=basename
alpar@9: else
alpar@9:   as_basename=false
alpar@9: fi
alpar@9: 
alpar@9: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
alpar@9:   as_dirname=dirname
alpar@9: else
alpar@9:   as_dirname=false
alpar@9: fi
alpar@9: 
alpar@9: as_me=`$as_basename -- "$0" ||
alpar@9: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
alpar@9: 	 X"$0" : 'X\(//\)$' \| \
alpar@9: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
alpar@9: $as_echo X/"$0" |
alpar@9:     sed '/^.*\/\([^/][^/]*\)\/*$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\/\(\/\/\)$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\/\(\/\).*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  s/.*/./; q'`
alpar@9: 
alpar@9: # Avoid depending upon Character Ranges.
alpar@9: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
alpar@9: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
alpar@9: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
alpar@9: as_cr_digits='0123456789'
alpar@9: as_cr_alnum=$as_cr_Letters$as_cr_digits
alpar@9: 
alpar@9: 
alpar@9:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
alpar@9:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
alpar@9:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
alpar@9:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
alpar@9:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
alpar@9:   sed -n '
alpar@9:     p
alpar@9:     /[$]LINENO/=
alpar@9:   ' <$as_myself |
alpar@9:     sed '
alpar@9:       s/[$]LINENO.*/&-/
alpar@9:       t lineno
alpar@9:       b
alpar@9:       :lineno
alpar@9:       N
alpar@9:       :loop
alpar@9:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
alpar@9:       t loop
alpar@9:       s/-\n.*//
alpar@9:     ' >$as_me.lineno &&
alpar@9:   chmod +x "$as_me.lineno" ||
alpar@9:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
alpar@9: 
alpar@9:   # Don't try to exec as it changes $[0], causing all sort of problems
alpar@9:   # (the dirname of $[0] is not the place where we might find the
alpar@9:   # original and so on.  Autoconf is especially sensitive to this).
alpar@9:   . "./$as_me.lineno"
alpar@9:   # Exit status is that of the last command.
alpar@9:   exit
alpar@9: }
alpar@9: 
alpar@9: ECHO_C= ECHO_N= ECHO_T=
alpar@9: case `echo -n x` in #(((((
alpar@9: -n*)
alpar@9:   case `echo 'xy\c'` in
alpar@9:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
alpar@9:   xy)  ECHO_C='\c';;
alpar@9:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
alpar@9:        ECHO_T='	';;
alpar@9:   esac;;
alpar@9: *)
alpar@9:   ECHO_N='-n';;
alpar@9: esac
alpar@9: 
alpar@9: rm -f conf$$ conf$$.exe conf$$.file
alpar@9: if test -d conf$$.dir; then
alpar@9:   rm -f conf$$.dir/conf$$.file
alpar@9: else
alpar@9:   rm -f conf$$.dir
alpar@9:   mkdir conf$$.dir 2>/dev/null
alpar@9: fi
alpar@9: if (echo >conf$$.file) 2>/dev/null; then
alpar@9:   if ln -s conf$$.file conf$$ 2>/dev/null; then
alpar@9:     as_ln_s='ln -s'
alpar@9:     # ... but there are two gotchas:
alpar@9:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
alpar@9:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
alpar@9:     # In both cases, we have to default to `cp -p'.
alpar@9:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
alpar@9:       as_ln_s='cp -p'
alpar@9:   elif ln conf$$.file conf$$ 2>/dev/null; then
alpar@9:     as_ln_s=ln
alpar@9:   else
alpar@9:     as_ln_s='cp -p'
alpar@9:   fi
alpar@9: else
alpar@9:   as_ln_s='cp -p'
alpar@9: fi
alpar@9: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
alpar@9: rmdir conf$$.dir 2>/dev/null
alpar@9: 
alpar@9: if mkdir -p . 2>/dev/null; then
alpar@9:   as_mkdir_p='mkdir -p "$as_dir"'
alpar@9: else
alpar@9:   test -d ./-p && rmdir ./-p
alpar@9:   as_mkdir_p=false
alpar@9: fi
alpar@9: 
alpar@9: if test -x / >/dev/null 2>&1; then
alpar@9:   as_test_x='test -x'
alpar@9: else
alpar@9:   if ls -dL / >/dev/null 2>&1; then
alpar@9:     as_ls_L_option=L
alpar@9:   else
alpar@9:     as_ls_L_option=
alpar@9:   fi
alpar@9:   as_test_x='
alpar@9:     eval sh -c '\''
alpar@9:       if test -d "$1"; then
alpar@9: 	test -d "$1/.";
alpar@9:       else
alpar@9: 	case $1 in #(
alpar@9: 	-*)set "./$1";;
alpar@9: 	esac;
alpar@9: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
alpar@9: 	???[sx]*):;;*)false;;esac;fi
alpar@9:     '\'' sh
alpar@9:   '
alpar@9: fi
alpar@9: as_executable_p=$as_test_x
alpar@9: 
alpar@9: # Sed expression to map a string onto a valid CPP name.
alpar@9: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
alpar@9: 
alpar@9: # Sed expression to map a string onto a valid variable name.
alpar@9: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
alpar@9: 
alpar@9: SHELL=${CONFIG_SHELL-/bin/sh}
alpar@9: 
alpar@9: 
alpar@9: test -n "$DJDIR" || exec 7<&0 </dev/null
alpar@9: exec 6>&1
alpar@9: 
alpar@9: # Name of the host.
alpar@9: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
alpar@9: # so uname gets run too.
alpar@9: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
alpar@9: 
alpar@9: #
alpar@9: # Initializations.
alpar@9: #
alpar@9: ac_default_prefix=/usr/local
alpar@9: ac_clean_files=
alpar@9: ac_config_libobj_dir=.
alpar@9: LIBOBJS=
alpar@9: cross_compiling=no
alpar@9: subdirs=
alpar@9: MFLAGS=
alpar@9: MAKEFLAGS=
alpar@9: 
alpar@9: # Identity of this package.
alpar@9: PACKAGE_NAME='GLPK'
alpar@9: PACKAGE_TARNAME='glpk'
alpar@9: PACKAGE_VERSION='4.47'
alpar@9: PACKAGE_STRING='GLPK 4.47'
alpar@9: PACKAGE_BUGREPORT='bug-glpk@gnu.org'
alpar@9: PACKAGE_URL=''
alpar@9: 
alpar@9: ac_unique_file="src/glpk.h"
alpar@9: # Factoring default headers for most tests.
alpar@9: ac_includes_default="\
alpar@9: #include <stdio.h>
alpar@9: #ifdef HAVE_SYS_TYPES_H
alpar@9: # include <sys/types.h>
alpar@9: #endif
alpar@9: #ifdef HAVE_SYS_STAT_H
alpar@9: # include <sys/stat.h>
alpar@9: #endif
alpar@9: #ifdef STDC_HEADERS
alpar@9: # include <stdlib.h>
alpar@9: # include <stddef.h>
alpar@9: #else
alpar@9: # ifdef HAVE_STDLIB_H
alpar@9: #  include <stdlib.h>
alpar@9: # endif
alpar@9: #endif
alpar@9: #ifdef HAVE_STRING_H
alpar@9: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
alpar@9: #  include <memory.h>
alpar@9: # endif
alpar@9: # include <string.h>
alpar@9: #endif
alpar@9: #ifdef HAVE_STRINGS_H
alpar@9: # include <strings.h>
alpar@9: #endif
alpar@9: #ifdef HAVE_INTTYPES_H
alpar@9: # include <inttypes.h>
alpar@9: #endif
alpar@9: #ifdef HAVE_STDINT_H
alpar@9: # include <stdint.h>
alpar@9: #endif
alpar@9: #ifdef HAVE_UNISTD_H
alpar@9: # include <unistd.h>
alpar@9: #endif"
alpar@9: 
alpar@9: ac_subst_vars='am__EXEEXT_FALSE
alpar@9: am__EXEEXT_TRUE
alpar@9: LTLIBOBJS
alpar@9: LIBOBJS
alpar@9: CPP
alpar@9: OTOOL64
alpar@9: OTOOL
alpar@9: LIPO
alpar@9: NMEDIT
alpar@9: DSYMUTIL
alpar@9: RANLIB
alpar@9: AR
alpar@9: DLLTOOL
alpar@9: OBJDUMP
alpar@9: to_host_path_cmd
alpar@9: LN_S
alpar@9: NM
alpar@9: ac_ct_DUMPBIN
alpar@9: DUMPBIN
alpar@9: LD
alpar@9: FGREP
alpar@9: EGREP
alpar@9: GREP
alpar@9: SED
alpar@9: host_os
alpar@9: host_vendor
alpar@9: host_cpu
alpar@9: host
alpar@9: build_os
alpar@9: build_vendor
alpar@9: build_cpu
alpar@9: build
alpar@9: LIBTOOL
alpar@9: am__fastdepCC_FALSE
alpar@9: am__fastdepCC_TRUE
alpar@9: CCDEPMODE
alpar@9: AMDEPBACKSLASH
alpar@9: AMDEP_FALSE
alpar@9: AMDEP_TRUE
alpar@9: am__quote
alpar@9: am__include
alpar@9: DEPDIR
alpar@9: OBJEXT
alpar@9: EXEEXT
alpar@9: ac_ct_CC
alpar@9: CPPFLAGS
alpar@9: LDFLAGS
alpar@9: CFLAGS
alpar@9: CC
alpar@9: am__untar
alpar@9: am__tar
alpar@9: AMTAR
alpar@9: am__leading_dot
alpar@9: SET_MAKE
alpar@9: AWK
alpar@9: mkdir_p
alpar@9: MKDIR_P
alpar@9: INSTALL_STRIP_PROGRAM
alpar@9: STRIP
alpar@9: install_sh
alpar@9: MAKEINFO
alpar@9: AUTOHEADER
alpar@9: AUTOMAKE
alpar@9: AUTOCONF
alpar@9: ACLOCAL
alpar@9: VERSION
alpar@9: PACKAGE
alpar@9: CYGPATH_W
alpar@9: am__isrc
alpar@9: INSTALL_DATA
alpar@9: INSTALL_SCRIPT
alpar@9: INSTALL_PROGRAM
alpar@9: target_alias
alpar@9: host_alias
alpar@9: build_alias
alpar@9: LIBS
alpar@9: ECHO_T
alpar@9: ECHO_N
alpar@9: ECHO_C
alpar@9: DEFS
alpar@9: mandir
alpar@9: localedir
alpar@9: libdir
alpar@9: psdir
alpar@9: pdfdir
alpar@9: dvidir
alpar@9: htmldir
alpar@9: infodir
alpar@9: docdir
alpar@9: oldincludedir
alpar@9: includedir
alpar@9: localstatedir
alpar@9: sharedstatedir
alpar@9: sysconfdir
alpar@9: datadir
alpar@9: datarootdir
alpar@9: libexecdir
alpar@9: sbindir
alpar@9: bindir
alpar@9: program_transform_name
alpar@9: prefix
alpar@9: exec_prefix
alpar@9: PACKAGE_URL
alpar@9: PACKAGE_BUGREPORT
alpar@9: PACKAGE_STRING
alpar@9: PACKAGE_VERSION
alpar@9: PACKAGE_TARNAME
alpar@9: PACKAGE_NAME
alpar@9: PATH_SEPARATOR
alpar@9: SHELL'
alpar@9: ac_subst_files=''
alpar@9: ac_user_opts='
alpar@9: enable_option_checking
alpar@9: with_gmp
alpar@9: enable_dl
alpar@9: enable_odbc
alpar@9: enable_mysql
alpar@9: enable_dependency_tracking
alpar@9: enable_shared
alpar@9: enable_static
alpar@9: with_pic
alpar@9: enable_fast_install
alpar@9: with_gnu_ld
alpar@9: enable_libtool_lock
alpar@9: '
alpar@9:       ac_precious_vars='build_alias
alpar@9: host_alias
alpar@9: target_alias
alpar@9: CC
alpar@9: CFLAGS
alpar@9: LDFLAGS
alpar@9: LIBS
alpar@9: CPPFLAGS
alpar@9: CPP'
alpar@9: 
alpar@9: 
alpar@9: # Initialize some variables set by options.
alpar@9: ac_init_help=
alpar@9: ac_init_version=false
alpar@9: ac_unrecognized_opts=
alpar@9: ac_unrecognized_sep=
alpar@9: # The variables have the same names as the options, with
alpar@9: # dashes changed to underlines.
alpar@9: cache_file=/dev/null
alpar@9: exec_prefix=NONE
alpar@9: no_create=
alpar@9: no_recursion=
alpar@9: prefix=NONE
alpar@9: program_prefix=NONE
alpar@9: program_suffix=NONE
alpar@9: program_transform_name=s,x,x,
alpar@9: silent=
alpar@9: site=
alpar@9: srcdir=
alpar@9: verbose=
alpar@9: x_includes=NONE
alpar@9: x_libraries=NONE
alpar@9: 
alpar@9: # Installation directory options.
alpar@9: # These are left unexpanded so users can "make install exec_prefix=/foo"
alpar@9: # and all the variables that are supposed to be based on exec_prefix
alpar@9: # by default will actually change.
alpar@9: # Use braces instead of parens because sh, perl, etc. also accept them.
alpar@9: # (The list follows the same order as the GNU Coding Standards.)
alpar@9: bindir='${exec_prefix}/bin'
alpar@9: sbindir='${exec_prefix}/sbin'
alpar@9: libexecdir='${exec_prefix}/libexec'
alpar@9: datarootdir='${prefix}/share'
alpar@9: datadir='${datarootdir}'
alpar@9: sysconfdir='${prefix}/etc'
alpar@9: sharedstatedir='${prefix}/com'
alpar@9: localstatedir='${prefix}/var'
alpar@9: includedir='${prefix}/include'
alpar@9: oldincludedir='/usr/include'
alpar@9: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
alpar@9: infodir='${datarootdir}/info'
alpar@9: htmldir='${docdir}'
alpar@9: dvidir='${docdir}'
alpar@9: pdfdir='${docdir}'
alpar@9: psdir='${docdir}'
alpar@9: libdir='${exec_prefix}/lib'
alpar@9: localedir='${datarootdir}/locale'
alpar@9: mandir='${datarootdir}/man'
alpar@9: 
alpar@9: ac_prev=
alpar@9: ac_dashdash=
alpar@9: for ac_option
alpar@9: do
alpar@9:   # If the previous option needs an argument, assign it.
alpar@9:   if test -n "$ac_prev"; then
alpar@9:     eval $ac_prev=\$ac_option
alpar@9:     ac_prev=
alpar@9:     continue
alpar@9:   fi
alpar@9: 
alpar@9:   case $ac_option in
alpar@9:   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
alpar@9:   *)	ac_optarg=yes ;;
alpar@9:   esac
alpar@9: 
alpar@9:   # Accept the important Cygnus configure options, so we can diagnose typos.
alpar@9: 
alpar@9:   case $ac_dashdash$ac_option in
alpar@9:   --)
alpar@9:     ac_dashdash=yes ;;
alpar@9: 
alpar@9:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
alpar@9:     ac_prev=bindir ;;
alpar@9:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
alpar@9:     bindir=$ac_optarg ;;
alpar@9: 
alpar@9:   -build | --build | --buil | --bui | --bu)
alpar@9:     ac_prev=build_alias ;;
alpar@9:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
alpar@9:     build_alias=$ac_optarg ;;
alpar@9: 
alpar@9:   -cache-file | --cache-file | --cache-fil | --cache-fi \
alpar@9:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
alpar@9:     ac_prev=cache_file ;;
alpar@9:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
alpar@9:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
alpar@9:     cache_file=$ac_optarg ;;
alpar@9: 
alpar@9:   --config-cache | -C)
alpar@9:     cache_file=config.cache ;;
alpar@9: 
alpar@9:   -datadir | --datadir | --datadi | --datad)
alpar@9:     ac_prev=datadir ;;
alpar@9:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
alpar@9:     datadir=$ac_optarg ;;
alpar@9: 
alpar@9:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
alpar@9:   | --dataroo | --dataro | --datar)
alpar@9:     ac_prev=datarootdir ;;
alpar@9:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
alpar@9:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
alpar@9:     datarootdir=$ac_optarg ;;
alpar@9: 
alpar@9:   -disable-* | --disable-*)
alpar@9:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
alpar@9:     # Reject names that are not valid shell variable names.
alpar@9:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
alpar@9:       as_fn_error "invalid feature name: $ac_useropt"
alpar@9:     ac_useropt_orig=$ac_useropt
alpar@9:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
alpar@9:     case $ac_user_opts in
alpar@9:       *"
alpar@9: "enable_$ac_useropt"
alpar@9: "*) ;;
alpar@9:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
alpar@9: 	 ac_unrecognized_sep=', ';;
alpar@9:     esac
alpar@9:     eval enable_$ac_useropt=no ;;
alpar@9: 
alpar@9:   -docdir | --docdir | --docdi | --doc | --do)
alpar@9:     ac_prev=docdir ;;
alpar@9:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
alpar@9:     docdir=$ac_optarg ;;
alpar@9: 
alpar@9:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
alpar@9:     ac_prev=dvidir ;;
alpar@9:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
alpar@9:     dvidir=$ac_optarg ;;
alpar@9: 
alpar@9:   -enable-* | --enable-*)
alpar@9:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
alpar@9:     # Reject names that are not valid shell variable names.
alpar@9:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
alpar@9:       as_fn_error "invalid feature name: $ac_useropt"
alpar@9:     ac_useropt_orig=$ac_useropt
alpar@9:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
alpar@9:     case $ac_user_opts in
alpar@9:       *"
alpar@9: "enable_$ac_useropt"
alpar@9: "*) ;;
alpar@9:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
alpar@9: 	 ac_unrecognized_sep=', ';;
alpar@9:     esac
alpar@9:     eval enable_$ac_useropt=\$ac_optarg ;;
alpar@9: 
alpar@9:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
alpar@9:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
alpar@9:   | --exec | --exe | --ex)
alpar@9:     ac_prev=exec_prefix ;;
alpar@9:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
alpar@9:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
alpar@9:   | --exec=* | --exe=* | --ex=*)
alpar@9:     exec_prefix=$ac_optarg ;;
alpar@9: 
alpar@9:   -gas | --gas | --ga | --g)
alpar@9:     # Obsolete; use --with-gas.
alpar@9:     with_gas=yes ;;
alpar@9: 
alpar@9:   -help | --help | --hel | --he | -h)
alpar@9:     ac_init_help=long ;;
alpar@9:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
alpar@9:     ac_init_help=recursive ;;
alpar@9:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
alpar@9:     ac_init_help=short ;;
alpar@9: 
alpar@9:   -host | --host | --hos | --ho)
alpar@9:     ac_prev=host_alias ;;
alpar@9:   -host=* | --host=* | --hos=* | --ho=*)
alpar@9:     host_alias=$ac_optarg ;;
alpar@9: 
alpar@9:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
alpar@9:     ac_prev=htmldir ;;
alpar@9:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
alpar@9:   | --ht=*)
alpar@9:     htmldir=$ac_optarg ;;
alpar@9: 
alpar@9:   -includedir | --includedir | --includedi | --included | --include \
alpar@9:   | --includ | --inclu | --incl | --inc)
alpar@9:     ac_prev=includedir ;;
alpar@9:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
alpar@9:   | --includ=* | --inclu=* | --incl=* | --inc=*)
alpar@9:     includedir=$ac_optarg ;;
alpar@9: 
alpar@9:   -infodir | --infodir | --infodi | --infod | --info | --inf)
alpar@9:     ac_prev=infodir ;;
alpar@9:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
alpar@9:     infodir=$ac_optarg ;;
alpar@9: 
alpar@9:   -libdir | --libdir | --libdi | --libd)
alpar@9:     ac_prev=libdir ;;
alpar@9:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
alpar@9:     libdir=$ac_optarg ;;
alpar@9: 
alpar@9:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
alpar@9:   | --libexe | --libex | --libe)
alpar@9:     ac_prev=libexecdir ;;
alpar@9:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
alpar@9:   | --libexe=* | --libex=* | --libe=*)
alpar@9:     libexecdir=$ac_optarg ;;
alpar@9: 
alpar@9:   -localedir | --localedir | --localedi | --localed | --locale)
alpar@9:     ac_prev=localedir ;;
alpar@9:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
alpar@9:     localedir=$ac_optarg ;;
alpar@9: 
alpar@9:   -localstatedir | --localstatedir | --localstatedi | --localstated \
alpar@9:   | --localstate | --localstat | --localsta | --localst | --locals)
alpar@9:     ac_prev=localstatedir ;;
alpar@9:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
alpar@9:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
alpar@9:     localstatedir=$ac_optarg ;;
alpar@9: 
alpar@9:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
alpar@9:     ac_prev=mandir ;;
alpar@9:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
alpar@9:     mandir=$ac_optarg ;;
alpar@9: 
alpar@9:   -nfp | --nfp | --nf)
alpar@9:     # Obsolete; use --without-fp.
alpar@9:     with_fp=no ;;
alpar@9: 
alpar@9:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
alpar@9:   | --no-cr | --no-c | -n)
alpar@9:     no_create=yes ;;
alpar@9: 
alpar@9:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
alpar@9:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
alpar@9:     no_recursion=yes ;;
alpar@9: 
alpar@9:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
alpar@9:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
alpar@9:   | --oldin | --oldi | --old | --ol | --o)
alpar@9:     ac_prev=oldincludedir ;;
alpar@9:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
alpar@9:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
alpar@9:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
alpar@9:     oldincludedir=$ac_optarg ;;
alpar@9: 
alpar@9:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
alpar@9:     ac_prev=prefix ;;
alpar@9:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
alpar@9:     prefix=$ac_optarg ;;
alpar@9: 
alpar@9:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
alpar@9:   | --program-pre | --program-pr | --program-p)
alpar@9:     ac_prev=program_prefix ;;
alpar@9:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
alpar@9:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
alpar@9:     program_prefix=$ac_optarg ;;
alpar@9: 
alpar@9:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
alpar@9:   | --program-suf | --program-su | --program-s)
alpar@9:     ac_prev=program_suffix ;;
alpar@9:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
alpar@9:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
alpar@9:     program_suffix=$ac_optarg ;;
alpar@9: 
alpar@9:   -program-transform-name | --program-transform-name \
alpar@9:   | --program-transform-nam | --program-transform-na \
alpar@9:   | --program-transform-n | --program-transform- \
alpar@9:   | --program-transform | --program-transfor \
alpar@9:   | --program-transfo | --program-transf \
alpar@9:   | --program-trans | --program-tran \
alpar@9:   | --progr-tra | --program-tr | --program-t)
alpar@9:     ac_prev=program_transform_name ;;
alpar@9:   -program-transform-name=* | --program-transform-name=* \
alpar@9:   | --program-transform-nam=* | --program-transform-na=* \
alpar@9:   | --program-transform-n=* | --program-transform-=* \
alpar@9:   | --program-transform=* | --program-transfor=* \
alpar@9:   | --program-transfo=* | --program-transf=* \
alpar@9:   | --program-trans=* | --program-tran=* \
alpar@9:   | --progr-tra=* | --program-tr=* | --program-t=*)
alpar@9:     program_transform_name=$ac_optarg ;;
alpar@9: 
alpar@9:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
alpar@9:     ac_prev=pdfdir ;;
alpar@9:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
alpar@9:     pdfdir=$ac_optarg ;;
alpar@9: 
alpar@9:   -psdir | --psdir | --psdi | --psd | --ps)
alpar@9:     ac_prev=psdir ;;
alpar@9:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
alpar@9:     psdir=$ac_optarg ;;
alpar@9: 
alpar@9:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
alpar@9:   | -silent | --silent | --silen | --sile | --sil)
alpar@9:     silent=yes ;;
alpar@9: 
alpar@9:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
alpar@9:     ac_prev=sbindir ;;
alpar@9:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
alpar@9:   | --sbi=* | --sb=*)
alpar@9:     sbindir=$ac_optarg ;;
alpar@9: 
alpar@9:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
alpar@9:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
alpar@9:   | --sharedst | --shareds | --shared | --share | --shar \
alpar@9:   | --sha | --sh)
alpar@9:     ac_prev=sharedstatedir ;;
alpar@9:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
alpar@9:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
alpar@9:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
alpar@9:   | --sha=* | --sh=*)
alpar@9:     sharedstatedir=$ac_optarg ;;
alpar@9: 
alpar@9:   -site | --site | --sit)
alpar@9:     ac_prev=site ;;
alpar@9:   -site=* | --site=* | --sit=*)
alpar@9:     site=$ac_optarg ;;
alpar@9: 
alpar@9:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
alpar@9:     ac_prev=srcdir ;;
alpar@9:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
alpar@9:     srcdir=$ac_optarg ;;
alpar@9: 
alpar@9:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
alpar@9:   | --syscon | --sysco | --sysc | --sys | --sy)
alpar@9:     ac_prev=sysconfdir ;;
alpar@9:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
alpar@9:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
alpar@9:     sysconfdir=$ac_optarg ;;
alpar@9: 
alpar@9:   -target | --target | --targe | --targ | --tar | --ta | --t)
alpar@9:     ac_prev=target_alias ;;
alpar@9:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
alpar@9:     target_alias=$ac_optarg ;;
alpar@9: 
alpar@9:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
alpar@9:     verbose=yes ;;
alpar@9: 
alpar@9:   -version | --version | --versio | --versi | --vers | -V)
alpar@9:     ac_init_version=: ;;
alpar@9: 
alpar@9:   -with-* | --with-*)
alpar@9:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
alpar@9:     # Reject names that are not valid shell variable names.
alpar@9:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
alpar@9:       as_fn_error "invalid package name: $ac_useropt"
alpar@9:     ac_useropt_orig=$ac_useropt
alpar@9:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
alpar@9:     case $ac_user_opts in
alpar@9:       *"
alpar@9: "with_$ac_useropt"
alpar@9: "*) ;;
alpar@9:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
alpar@9: 	 ac_unrecognized_sep=', ';;
alpar@9:     esac
alpar@9:     eval with_$ac_useropt=\$ac_optarg ;;
alpar@9: 
alpar@9:   -without-* | --without-*)
alpar@9:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
alpar@9:     # Reject names that are not valid shell variable names.
alpar@9:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
alpar@9:       as_fn_error "invalid package name: $ac_useropt"
alpar@9:     ac_useropt_orig=$ac_useropt
alpar@9:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
alpar@9:     case $ac_user_opts in
alpar@9:       *"
alpar@9: "with_$ac_useropt"
alpar@9: "*) ;;
alpar@9:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
alpar@9: 	 ac_unrecognized_sep=', ';;
alpar@9:     esac
alpar@9:     eval with_$ac_useropt=no ;;
alpar@9: 
alpar@9:   --x)
alpar@9:     # Obsolete; use --with-x.
alpar@9:     with_x=yes ;;
alpar@9: 
alpar@9:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
alpar@9:   | --x-incl | --x-inc | --x-in | --x-i)
alpar@9:     ac_prev=x_includes ;;
alpar@9:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
alpar@9:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
alpar@9:     x_includes=$ac_optarg ;;
alpar@9: 
alpar@9:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
alpar@9:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
alpar@9:     ac_prev=x_libraries ;;
alpar@9:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
alpar@9:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
alpar@9:     x_libraries=$ac_optarg ;;
alpar@9: 
alpar@9:   -*) as_fn_error "unrecognized option: \`$ac_option'
alpar@9: Try \`$0 --help' for more information."
alpar@9:     ;;
alpar@9: 
alpar@9:   *=*)
alpar@9:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
alpar@9:     # Reject names that are not valid shell variable names.
alpar@9:     case $ac_envvar in #(
alpar@9:       '' | [0-9]* | *[!_$as_cr_alnum]* )
alpar@9:       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
alpar@9:     esac
alpar@9:     eval $ac_envvar=\$ac_optarg
alpar@9:     export $ac_envvar ;;
alpar@9: 
alpar@9:   *)
alpar@9:     # FIXME: should be removed in autoconf 3.0.
alpar@9:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
alpar@9:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
alpar@9:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
alpar@9:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
alpar@9:     ;;
alpar@9: 
alpar@9:   esac
alpar@9: done
alpar@9: 
alpar@9: if test -n "$ac_prev"; then
alpar@9:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
alpar@9:   as_fn_error "missing argument to $ac_option"
alpar@9: fi
alpar@9: 
alpar@9: if test -n "$ac_unrecognized_opts"; then
alpar@9:   case $enable_option_checking in
alpar@9:     no) ;;
alpar@9:     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
alpar@9:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
alpar@9:   esac
alpar@9: fi
alpar@9: 
alpar@9: # Check all directory arguments for consistency.
alpar@9: for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
alpar@9: 		datadir sysconfdir sharedstatedir localstatedir includedir \
alpar@9: 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
alpar@9: 		libdir localedir mandir
alpar@9: do
alpar@9:   eval ac_val=\$$ac_var
alpar@9:   # Remove trailing slashes.
alpar@9:   case $ac_val in
alpar@9:     */ )
alpar@9:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
alpar@9:       eval $ac_var=\$ac_val;;
alpar@9:   esac
alpar@9:   # Be sure to have absolute directory names.
alpar@9:   case $ac_val in
alpar@9:     [\\/$]* | ?:[\\/]* )  continue;;
alpar@9:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
alpar@9:   esac
alpar@9:   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
alpar@9: done
alpar@9: 
alpar@9: # There might be people who depend on the old broken behavior: `$host'
alpar@9: # used to hold the argument of --host etc.
alpar@9: # FIXME: To remove some day.
alpar@9: build=$build_alias
alpar@9: host=$host_alias
alpar@9: target=$target_alias
alpar@9: 
alpar@9: # FIXME: To remove some day.
alpar@9: if test "x$host_alias" != x; then
alpar@9:   if test "x$build_alias" = x; then
alpar@9:     cross_compiling=maybe
alpar@9:     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
alpar@9:     If a cross compiler is detected then cross compile mode will be used." >&2
alpar@9:   elif test "x$build_alias" != "x$host_alias"; then
alpar@9:     cross_compiling=yes
alpar@9:   fi
alpar@9: fi
alpar@9: 
alpar@9: ac_tool_prefix=
alpar@9: test -n "$host_alias" && ac_tool_prefix=$host_alias-
alpar@9: 
alpar@9: test "$silent" = yes && exec 6>/dev/null
alpar@9: 
alpar@9: 
alpar@9: ac_pwd=`pwd` && test -n "$ac_pwd" &&
alpar@9: ac_ls_di=`ls -di .` &&
alpar@9: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
alpar@9:   as_fn_error "working directory cannot be determined"
alpar@9: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
alpar@9:   as_fn_error "pwd does not report name of working directory"
alpar@9: 
alpar@9: 
alpar@9: # Find the source files, if location was not specified.
alpar@9: if test -z "$srcdir"; then
alpar@9:   ac_srcdir_defaulted=yes
alpar@9:   # Try the directory containing this script, then the parent directory.
alpar@9:   ac_confdir=`$as_dirname -- "$as_myself" ||
alpar@9: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
alpar@9: 	 X"$as_myself" : 'X\(//\)[^/]' \| \
alpar@9: 	 X"$as_myself" : 'X\(//\)$' \| \
alpar@9: 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
alpar@9: $as_echo X"$as_myself" |
alpar@9:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)[^/].*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\).*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  s/.*/./; q'`
alpar@9:   srcdir=$ac_confdir
alpar@9:   if test ! -r "$srcdir/$ac_unique_file"; then
alpar@9:     srcdir=..
alpar@9:   fi
alpar@9: else
alpar@9:   ac_srcdir_defaulted=no
alpar@9: fi
alpar@9: if test ! -r "$srcdir/$ac_unique_file"; then
alpar@9:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
alpar@9:   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
alpar@9: fi
alpar@9: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
alpar@9: ac_abs_confdir=`(
alpar@9: 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
alpar@9: 	pwd)`
alpar@9: # When building in place, set srcdir=.
alpar@9: if test "$ac_abs_confdir" = "$ac_pwd"; then
alpar@9:   srcdir=.
alpar@9: fi
alpar@9: # Remove unnecessary trailing slashes from srcdir.
alpar@9: # Double slashes in file names in object file debugging info
alpar@9: # mess up M-x gdb in Emacs.
alpar@9: case $srcdir in
alpar@9: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
alpar@9: esac
alpar@9: for ac_var in $ac_precious_vars; do
alpar@9:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
alpar@9:   eval ac_env_${ac_var}_value=\$${ac_var}
alpar@9:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
alpar@9:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
alpar@9: done
alpar@9: 
alpar@9: #
alpar@9: # Report the --help message.
alpar@9: #
alpar@9: if test "$ac_init_help" = "long"; then
alpar@9:   # Omit some internal or obsolete options to make the list less imposing.
alpar@9:   # This message is too long to be a string in the A/UX 3.1 sh.
alpar@9:   cat <<_ACEOF
alpar@9: \`configure' configures GLPK 4.47 to adapt to many kinds of systems.
alpar@9: 
alpar@9: Usage: $0 [OPTION]... [VAR=VALUE]...
alpar@9: 
alpar@9: To assign environment variables (e.g., CC, CFLAGS...), specify them as
alpar@9: VAR=VALUE.  See below for descriptions of some of the useful variables.
alpar@9: 
alpar@9: Defaults for the options are specified in brackets.
alpar@9: 
alpar@9: Configuration:
alpar@9:   -h, --help              display this help and exit
alpar@9:       --help=short        display options specific to this package
alpar@9:       --help=recursive    display the short help of all the included packages
alpar@9:   -V, --version           display version information and exit
alpar@9:   -q, --quiet, --silent   do not print \`checking...' messages
alpar@9:       --cache-file=FILE   cache test results in FILE [disabled]
alpar@9:   -C, --config-cache      alias for \`--cache-file=config.cache'
alpar@9:   -n, --no-create         do not create output files
alpar@9:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
alpar@9: 
alpar@9: Installation directories:
alpar@9:   --prefix=PREFIX         install architecture-independent files in PREFIX
alpar@9:                           [$ac_default_prefix]
alpar@9:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
alpar@9:                           [PREFIX]
alpar@9: 
alpar@9: By default, \`make install' will install all the files in
alpar@9: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
alpar@9: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
alpar@9: for instance \`--prefix=\$HOME'.
alpar@9: 
alpar@9: For better control, use the options below.
alpar@9: 
alpar@9: Fine tuning of the installation directories:
alpar@9:   --bindir=DIR            user executables [EPREFIX/bin]
alpar@9:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
alpar@9:   --libexecdir=DIR        program executables [EPREFIX/libexec]
alpar@9:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
alpar@9:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
alpar@9:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
alpar@9:   --libdir=DIR            object code libraries [EPREFIX/lib]
alpar@9:   --includedir=DIR        C header files [PREFIX/include]
alpar@9:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
alpar@9:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
alpar@9:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
alpar@9:   --infodir=DIR           info documentation [DATAROOTDIR/info]
alpar@9:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
alpar@9:   --mandir=DIR            man documentation [DATAROOTDIR/man]
alpar@9:   --docdir=DIR            documentation root [DATAROOTDIR/doc/glpk]
alpar@9:   --htmldir=DIR           html documentation [DOCDIR]
alpar@9:   --dvidir=DIR            dvi documentation [DOCDIR]
alpar@9:   --pdfdir=DIR            pdf documentation [DOCDIR]
alpar@9:   --psdir=DIR             ps documentation [DOCDIR]
alpar@9: _ACEOF
alpar@9: 
alpar@9:   cat <<\_ACEOF
alpar@9: 
alpar@9: Program names:
alpar@9:   --program-prefix=PREFIX            prepend PREFIX to installed program names
alpar@9:   --program-suffix=SUFFIX            append SUFFIX to installed program names
alpar@9:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
alpar@9: 
alpar@9: System types:
alpar@9:   --build=BUILD     configure for building on BUILD [guessed]
alpar@9:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
alpar@9: _ACEOF
alpar@9: fi
alpar@9: 
alpar@9: if test -n "$ac_init_help"; then
alpar@9:   case $ac_init_help in
alpar@9:      short | recursive ) echo "Configuration of GLPK 4.47:";;
alpar@9:    esac
alpar@9:   cat <<\_ACEOF
alpar@9: 
alpar@9: Optional Features:
alpar@9:   --disable-option-checking  ignore unrecognized --enable/--with options
alpar@9:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
alpar@9:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
alpar@9:   --enable-dl             enable shared library support [[default=no]]
alpar@9:   --enable-odbc           enable MathProg ODBC support [[default=no]]
alpar@9:   --enable-mysql          enable MathProg MySQL support [[default=no]]
alpar@9:   --disable-dependency-tracking  speeds up one-time build
alpar@9:   --enable-dependency-tracking   do not reject slow dependency extractors
alpar@9:   --enable-shared[=PKGS]  build shared libraries [default=yes]
alpar@9:   --enable-static[=PKGS]  build static libraries [default=yes]
alpar@9:   --enable-fast-install[=PKGS]
alpar@9:                           optimize for fast installation [default=yes]
alpar@9:   --disable-libtool-lock  avoid locking (might break parallel builds)
alpar@9: 
alpar@9: Optional Packages:
alpar@9:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
alpar@9:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
alpar@9:   --with-gmp              use GNU MP bignum library [[default=no]]
alpar@9:   --with-pic              try to use only PIC/non-PIC objects [default=use
alpar@9:                           both]
alpar@9:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
alpar@9: 
alpar@9: Some influential environment variables:
alpar@9:   CC          C compiler command
alpar@9:   CFLAGS      C compiler flags
alpar@9:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
alpar@9:               nonstandard directory <lib dir>
alpar@9:   LIBS        libraries to pass to the linker, e.g. -l<library>
alpar@9:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
alpar@9:               you have headers in a nonstandard directory <include dir>
alpar@9:   CPP         C preprocessor
alpar@9: 
alpar@9: Use these variables to override the choices made by `configure' or to help
alpar@9: it to find libraries and programs with nonstandard names/locations.
alpar@9: 
alpar@9: Report bugs to <bug-glpk@gnu.org>.
alpar@9: _ACEOF
alpar@9: ac_status=$?
alpar@9: fi
alpar@9: 
alpar@9: if test "$ac_init_help" = "recursive"; then
alpar@9:   # If there are subdirs, report their specific --help.
alpar@9:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
alpar@9:     test -d "$ac_dir" ||
alpar@9:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
alpar@9:       continue
alpar@9:     ac_builddir=.
alpar@9: 
alpar@9: case "$ac_dir" in
alpar@9: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
alpar@9: *)
alpar@9:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
alpar@9:   # A ".." for each directory in $ac_dir_suffix.
alpar@9:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
alpar@9:   case $ac_top_builddir_sub in
alpar@9:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
alpar@9:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
alpar@9:   esac ;;
alpar@9: esac
alpar@9: ac_abs_top_builddir=$ac_pwd
alpar@9: ac_abs_builddir=$ac_pwd$ac_dir_suffix
alpar@9: # for backward compatibility:
alpar@9: ac_top_builddir=$ac_top_build_prefix
alpar@9: 
alpar@9: case $srcdir in
alpar@9:   .)  # We are building in place.
alpar@9:     ac_srcdir=.
alpar@9:     ac_top_srcdir=$ac_top_builddir_sub
alpar@9:     ac_abs_top_srcdir=$ac_pwd ;;
alpar@9:   [\\/]* | ?:[\\/]* )  # Absolute name.
alpar@9:     ac_srcdir=$srcdir$ac_dir_suffix;
alpar@9:     ac_top_srcdir=$srcdir
alpar@9:     ac_abs_top_srcdir=$srcdir ;;
alpar@9:   *) # Relative name.
alpar@9:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
alpar@9:     ac_top_srcdir=$ac_top_build_prefix$srcdir
alpar@9:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
alpar@9: esac
alpar@9: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
alpar@9: 
alpar@9:     cd "$ac_dir" || { ac_status=$?; continue; }
alpar@9:     # Check for guested configure.
alpar@9:     if test -f "$ac_srcdir/configure.gnu"; then
alpar@9:       echo &&
alpar@9:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
alpar@9:     elif test -f "$ac_srcdir/configure"; then
alpar@9:       echo &&
alpar@9:       $SHELL "$ac_srcdir/configure" --help=recursive
alpar@9:     else
alpar@9:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
alpar@9:     fi || ac_status=$?
alpar@9:     cd "$ac_pwd" || { ac_status=$?; break; }
alpar@9:   done
alpar@9: fi
alpar@9: 
alpar@9: test -n "$ac_init_help" && exit $ac_status
alpar@9: if $ac_init_version; then
alpar@9:   cat <<\_ACEOF
alpar@9: GLPK configure 4.47
alpar@9: generated by GNU Autoconf 2.65
alpar@9: 
alpar@9: Copyright (C) 2009 Free Software Foundation, Inc.
alpar@9: This configure script is free software; the Free Software Foundation
alpar@9: gives unlimited permission to copy, distribute and modify it.
alpar@9: _ACEOF
alpar@9:   exit
alpar@9: fi
alpar@9: 
alpar@9: ## ------------------------ ##
alpar@9: ## Autoconf initialization. ##
alpar@9: ## ------------------------ ##
alpar@9: 
alpar@9: # ac_fn_c_try_compile LINENO
alpar@9: # --------------------------
alpar@9: # Try to compile conftest.$ac_ext, and return whether this succeeded.
alpar@9: ac_fn_c_try_compile ()
alpar@9: {
alpar@9:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
alpar@9:   rm -f conftest.$ac_objext
alpar@9:   if { { ac_try="$ac_compile"
alpar@9: case "(($ac_try" in
alpar@9:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
alpar@9:   *) ac_try_echo=$ac_try;;
alpar@9: esac
alpar@9: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
alpar@9: $as_echo "$ac_try_echo"; } >&5
alpar@9:   (eval "$ac_compile") 2>conftest.err
alpar@9:   ac_status=$?
alpar@9:   if test -s conftest.err; then
alpar@9:     grep -v '^ *+' conftest.err >conftest.er1
alpar@9:     cat conftest.er1 >&5
alpar@9:     mv -f conftest.er1 conftest.err
alpar@9:   fi
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; } && {
alpar@9: 	 test -z "$ac_c_werror_flag" ||
alpar@9: 	 test ! -s conftest.err
alpar@9:        } && test -s conftest.$ac_objext; then :
alpar@9:   ac_retval=0
alpar@9: else
alpar@9:   $as_echo "$as_me: failed program was:" >&5
alpar@9: sed 's/^/| /' conftest.$ac_ext >&5
alpar@9: 
alpar@9: 	ac_retval=1
alpar@9: fi
alpar@9:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
alpar@9:   as_fn_set_status $ac_retval
alpar@9: 
alpar@9: } # ac_fn_c_try_compile
alpar@9: 
alpar@9: # ac_fn_c_try_link LINENO
alpar@9: # -----------------------
alpar@9: # Try to link conftest.$ac_ext, and return whether this succeeded.
alpar@9: ac_fn_c_try_link ()
alpar@9: {
alpar@9:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
alpar@9:   rm -f conftest.$ac_objext conftest$ac_exeext
alpar@9:   if { { ac_try="$ac_link"
alpar@9: case "(($ac_try" in
alpar@9:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
alpar@9:   *) ac_try_echo=$ac_try;;
alpar@9: esac
alpar@9: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
alpar@9: $as_echo "$ac_try_echo"; } >&5
alpar@9:   (eval "$ac_link") 2>conftest.err
alpar@9:   ac_status=$?
alpar@9:   if test -s conftest.err; then
alpar@9:     grep -v '^ *+' conftest.err >conftest.er1
alpar@9:     cat conftest.er1 >&5
alpar@9:     mv -f conftest.er1 conftest.err
alpar@9:   fi
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; } && {
alpar@9: 	 test -z "$ac_c_werror_flag" ||
alpar@9: 	 test ! -s conftest.err
alpar@9:        } && test -s conftest$ac_exeext && {
alpar@9: 	 test "$cross_compiling" = yes ||
alpar@9: 	 $as_test_x conftest$ac_exeext
alpar@9:        }; then :
alpar@9:   ac_retval=0
alpar@9: else
alpar@9:   $as_echo "$as_me: failed program was:" >&5
alpar@9: sed 's/^/| /' conftest.$ac_ext >&5
alpar@9: 
alpar@9: 	ac_retval=1
alpar@9: fi
alpar@9:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
alpar@9:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
alpar@9:   # interfere with the next link command; also delete a directory that is
alpar@9:   # left behind by Apple's compiler.  We do this before executing the actions.
alpar@9:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
alpar@9:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
alpar@9:   as_fn_set_status $ac_retval
alpar@9: 
alpar@9: } # ac_fn_c_try_link
alpar@9: 
alpar@9: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
alpar@9: # -------------------------------------------------------
alpar@9: # Tests whether HEADER exists and can be compiled using the include files in
alpar@9: # INCLUDES, setting the cache variable VAR accordingly.
alpar@9: ac_fn_c_check_header_compile ()
alpar@9: {
alpar@9:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
alpar@9: $as_echo_n "checking for $2... " >&6; }
alpar@9: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: $4
alpar@9: #include <$2>
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_compile "$LINENO"; then :
alpar@9:   eval "$3=yes"
alpar@9: else
alpar@9:   eval "$3=no"
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
alpar@9: fi
alpar@9: eval ac_res=\$$3
alpar@9: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
alpar@9: $as_echo "$ac_res" >&6; }
alpar@9:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
alpar@9: 
alpar@9: } # ac_fn_c_check_header_compile
alpar@9: 
alpar@9: # ac_fn_c_try_cpp LINENO
alpar@9: # ----------------------
alpar@9: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
alpar@9: ac_fn_c_try_cpp ()
alpar@9: {
alpar@9:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
alpar@9:   if { { ac_try="$ac_cpp conftest.$ac_ext"
alpar@9: case "(($ac_try" in
alpar@9:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
alpar@9:   *) ac_try_echo=$ac_try;;
alpar@9: esac
alpar@9: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
alpar@9: $as_echo "$ac_try_echo"; } >&5
alpar@9:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
alpar@9:   ac_status=$?
alpar@9:   if test -s conftest.err; then
alpar@9:     grep -v '^ *+' conftest.err >conftest.er1
alpar@9:     cat conftest.er1 >&5
alpar@9:     mv -f conftest.er1 conftest.err
alpar@9:   fi
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; } >/dev/null && {
alpar@9: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
alpar@9: 	 test ! -s conftest.err
alpar@9:        }; then :
alpar@9:   ac_retval=0
alpar@9: else
alpar@9:   $as_echo "$as_me: failed program was:" >&5
alpar@9: sed 's/^/| /' conftest.$ac_ext >&5
alpar@9: 
alpar@9:     ac_retval=1
alpar@9: fi
alpar@9:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
alpar@9:   as_fn_set_status $ac_retval
alpar@9: 
alpar@9: } # ac_fn_c_try_cpp
alpar@9: 
alpar@9: # ac_fn_c_try_run LINENO
alpar@9: # ----------------------
alpar@9: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
alpar@9: # that executables *can* be run.
alpar@9: ac_fn_c_try_run ()
alpar@9: {
alpar@9:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
alpar@9:   if { { ac_try="$ac_link"
alpar@9: case "(($ac_try" in
alpar@9:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
alpar@9:   *) ac_try_echo=$ac_try;;
alpar@9: esac
alpar@9: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
alpar@9: $as_echo "$ac_try_echo"; } >&5
alpar@9:   (eval "$ac_link") 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
alpar@9:   { { case "(($ac_try" in
alpar@9:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
alpar@9:   *) ac_try_echo=$ac_try;;
alpar@9: esac
alpar@9: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
alpar@9: $as_echo "$ac_try_echo"; } >&5
alpar@9:   (eval "$ac_try") 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }; }; then :
alpar@9:   ac_retval=0
alpar@9: else
alpar@9:   $as_echo "$as_me: program exited with status $ac_status" >&5
alpar@9:        $as_echo "$as_me: failed program was:" >&5
alpar@9: sed 's/^/| /' conftest.$ac_ext >&5
alpar@9: 
alpar@9:        ac_retval=$ac_status
alpar@9: fi
alpar@9:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
alpar@9:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
alpar@9:   as_fn_set_status $ac_retval
alpar@9: 
alpar@9: } # ac_fn_c_try_run
alpar@9: 
alpar@9: # ac_fn_c_check_func LINENO FUNC VAR
alpar@9: # ----------------------------------
alpar@9: # Tests whether FUNC exists, setting the cache variable VAR accordingly
alpar@9: ac_fn_c_check_func ()
alpar@9: {
alpar@9:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
alpar@9: $as_echo_n "checking for $2... " >&6; }
alpar@9: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
alpar@9:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
alpar@9: #define $2 innocuous_$2
alpar@9: 
alpar@9: /* System header to define __stub macros and hopefully few prototypes,
alpar@9:     which can conflict with char $2 (); below.
alpar@9:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
alpar@9:     <limits.h> exists even on freestanding compilers.  */
alpar@9: 
alpar@9: #ifdef __STDC__
alpar@9: # include <limits.h>
alpar@9: #else
alpar@9: # include <assert.h>
alpar@9: #endif
alpar@9: 
alpar@9: #undef $2
alpar@9: 
alpar@9: /* Override any GCC internal prototype to avoid an error.
alpar@9:    Use char because int might match the return type of a GCC
alpar@9:    builtin and then its argument prototype would still apply.  */
alpar@9: #ifdef __cplusplus
alpar@9: extern "C"
alpar@9: #endif
alpar@9: char $2 ();
alpar@9: /* The GNU C library defines this for functions which it implements
alpar@9:     to always fail with ENOSYS.  Some functions are actually named
alpar@9:     something starting with __ and the normal name is an alias.  */
alpar@9: #if defined __stub_$2 || defined __stub___$2
alpar@9: choke me
alpar@9: #endif
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: return $2 ();
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9:   eval "$3=yes"
alpar@9: else
alpar@9:   eval "$3=no"
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9: fi
alpar@9: eval ac_res=\$$3
alpar@9: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
alpar@9: $as_echo "$ac_res" >&6; }
alpar@9:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
alpar@9: 
alpar@9: } # ac_fn_c_check_func
alpar@9: 
alpar@9: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
alpar@9: # -------------------------------------------------------
alpar@9: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
alpar@9: # the include files in INCLUDES and setting the cache variable VAR
alpar@9: # accordingly.
alpar@9: ac_fn_c_check_header_mongrel ()
alpar@9: {
alpar@9:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
alpar@9:   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
alpar@9: $as_echo_n "checking for $2... " >&6; }
alpar@9: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: fi
alpar@9: eval ac_res=\$$3
alpar@9: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
alpar@9: $as_echo "$ac_res" >&6; }
alpar@9: else
alpar@9:   # Is the header compilable?
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
alpar@9: $as_echo_n "checking $2 usability... " >&6; }
alpar@9: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: $4
alpar@9: #include <$2>
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_compile "$LINENO"; then :
alpar@9:   ac_header_compiler=yes
alpar@9: else
alpar@9:   ac_header_compiler=no
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
alpar@9: $as_echo "$ac_header_compiler" >&6; }
alpar@9: 
alpar@9: # Is the header present?
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
alpar@9: $as_echo_n "checking $2 presence... " >&6; }
alpar@9: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: #include <$2>
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_cpp "$LINENO"; then :
alpar@9:   ac_header_preproc=yes
alpar@9: else
alpar@9:   ac_header_preproc=no
alpar@9: fi
alpar@9: rm -f conftest.err conftest.$ac_ext
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
alpar@9: $as_echo "$ac_header_preproc" >&6; }
alpar@9: 
alpar@9: # So?  What about this header?
alpar@9: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
alpar@9:   yes:no: )
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
alpar@9: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
alpar@9: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
alpar@9:     ;;
alpar@9:   no:yes:* )
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
alpar@9: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
alpar@9: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
alpar@9: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
alpar@9: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
alpar@9: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
alpar@9: ( cat <<\_ASBOX
alpar@9: ## ------------------------------- ##
alpar@9: ## Report this to bug-glpk@gnu.org ##
alpar@9: ## ------------------------------- ##
alpar@9: _ASBOX
alpar@9:      ) | sed "s/^/$as_me: WARNING:     /" >&2
alpar@9:     ;;
alpar@9: esac
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
alpar@9: $as_echo_n "checking for $2... " >&6; }
alpar@9: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   eval "$3=\$ac_header_compiler"
alpar@9: fi
alpar@9: eval ac_res=\$$3
alpar@9: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
alpar@9: $as_echo "$ac_res" >&6; }
alpar@9: fi
alpar@9:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
alpar@9: 
alpar@9: } # ac_fn_c_check_header_mongrel
alpar@9: cat >config.log <<_ACEOF
alpar@9: This file contains any messages produced by compilers while
alpar@9: running configure, to aid debugging if configure makes a mistake.
alpar@9: 
alpar@9: It was created by GLPK $as_me 4.47, which was
alpar@9: generated by GNU Autoconf 2.65.  Invocation command line was
alpar@9: 
alpar@9:   $ $0 $@
alpar@9: 
alpar@9: _ACEOF
alpar@9: exec 5>>config.log
alpar@9: {
alpar@9: cat <<_ASUNAME
alpar@9: ## --------- ##
alpar@9: ## Platform. ##
alpar@9: ## --------- ##
alpar@9: 
alpar@9: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
alpar@9: uname -m = `(uname -m) 2>/dev/null || echo unknown`
alpar@9: uname -r = `(uname -r) 2>/dev/null || echo unknown`
alpar@9: uname -s = `(uname -s) 2>/dev/null || echo unknown`
alpar@9: uname -v = `(uname -v) 2>/dev/null || echo unknown`
alpar@9: 
alpar@9: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
alpar@9: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
alpar@9: 
alpar@9: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
alpar@9: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
alpar@9: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
alpar@9: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
alpar@9: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
alpar@9: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
alpar@9: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
alpar@9: 
alpar@9: _ASUNAME
alpar@9: 
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     $as_echo "PATH: $as_dir"
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: } >&5
alpar@9: 
alpar@9: cat >&5 <<_ACEOF
alpar@9: 
alpar@9: 
alpar@9: ## ----------- ##
alpar@9: ## Core tests. ##
alpar@9: ## ----------- ##
alpar@9: 
alpar@9: _ACEOF
alpar@9: 
alpar@9: 
alpar@9: # Keep a trace of the command line.
alpar@9: # Strip out --no-create and --no-recursion so they do not pile up.
alpar@9: # Strip out --silent because we don't want to record it for future runs.
alpar@9: # Also quote any args containing shell meta-characters.
alpar@9: # Make two passes to allow for proper duplicate-argument suppression.
alpar@9: ac_configure_args=
alpar@9: ac_configure_args0=
alpar@9: ac_configure_args1=
alpar@9: ac_must_keep_next=false
alpar@9: for ac_pass in 1 2
alpar@9: do
alpar@9:   for ac_arg
alpar@9:   do
alpar@9:     case $ac_arg in
alpar@9:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
alpar@9:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
alpar@9:     | -silent | --silent | --silen | --sile | --sil)
alpar@9:       continue ;;
alpar@9:     *\'*)
alpar@9:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
alpar@9:     esac
alpar@9:     case $ac_pass in
alpar@9:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
alpar@9:     2)
alpar@9:       as_fn_append ac_configure_args1 " '$ac_arg'"
alpar@9:       if test $ac_must_keep_next = true; then
alpar@9: 	ac_must_keep_next=false # Got value, back to normal.
alpar@9:       else
alpar@9: 	case $ac_arg in
alpar@9: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
alpar@9: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
alpar@9: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
alpar@9: 	  | -with-* | --with-* | -without-* | --without-* | --x)
alpar@9: 	    case "$ac_configure_args0 " in
alpar@9: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
alpar@9: 	    esac
alpar@9: 	    ;;
alpar@9: 	  -* ) ac_must_keep_next=true ;;
alpar@9: 	esac
alpar@9:       fi
alpar@9:       as_fn_append ac_configure_args " '$ac_arg'"
alpar@9:       ;;
alpar@9:     esac
alpar@9:   done
alpar@9: done
alpar@9: { ac_configure_args0=; unset ac_configure_args0;}
alpar@9: { ac_configure_args1=; unset ac_configure_args1;}
alpar@9: 
alpar@9: # When interrupted or exit'd, cleanup temporary files, and complete
alpar@9: # config.log.  We remove comments because anyway the quotes in there
alpar@9: # would cause problems or look ugly.
alpar@9: # WARNING: Use '\'' to represent an apostrophe within the trap.
alpar@9: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
alpar@9: trap 'exit_status=$?
alpar@9:   # Save into config.log some information that might help in debugging.
alpar@9:   {
alpar@9:     echo
alpar@9: 
alpar@9:     cat <<\_ASBOX
alpar@9: ## ---------------- ##
alpar@9: ## Cache variables. ##
alpar@9: ## ---------------- ##
alpar@9: _ASBOX
alpar@9:     echo
alpar@9:     # The following way of writing the cache mishandles newlines in values,
alpar@9: (
alpar@9:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
alpar@9:     eval ac_val=\$$ac_var
alpar@9:     case $ac_val in #(
alpar@9:     *${as_nl}*)
alpar@9:       case $ac_var in #(
alpar@9:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
alpar@9: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
alpar@9:       esac
alpar@9:       case $ac_var in #(
alpar@9:       _ | IFS | as_nl) ;; #(
alpar@9:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
alpar@9:       *) { eval $ac_var=; unset $ac_var;} ;;
alpar@9:       esac ;;
alpar@9:     esac
alpar@9:   done
alpar@9:   (set) 2>&1 |
alpar@9:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
alpar@9:     *${as_nl}ac_space=\ *)
alpar@9:       sed -n \
alpar@9: 	"s/'\''/'\''\\\\'\'''\''/g;
alpar@9: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
alpar@9:       ;; #(
alpar@9:     *)
alpar@9:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
alpar@9:       ;;
alpar@9:     esac |
alpar@9:     sort
alpar@9: )
alpar@9:     echo
alpar@9: 
alpar@9:     cat <<\_ASBOX
alpar@9: ## ----------------- ##
alpar@9: ## Output variables. ##
alpar@9: ## ----------------- ##
alpar@9: _ASBOX
alpar@9:     echo
alpar@9:     for ac_var in $ac_subst_vars
alpar@9:     do
alpar@9:       eval ac_val=\$$ac_var
alpar@9:       case $ac_val in
alpar@9:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
alpar@9:       esac
alpar@9:       $as_echo "$ac_var='\''$ac_val'\''"
alpar@9:     done | sort
alpar@9:     echo
alpar@9: 
alpar@9:     if test -n "$ac_subst_files"; then
alpar@9:       cat <<\_ASBOX
alpar@9: ## ------------------- ##
alpar@9: ## File substitutions. ##
alpar@9: ## ------------------- ##
alpar@9: _ASBOX
alpar@9:       echo
alpar@9:       for ac_var in $ac_subst_files
alpar@9:       do
alpar@9: 	eval ac_val=\$$ac_var
alpar@9: 	case $ac_val in
alpar@9: 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
alpar@9: 	esac
alpar@9: 	$as_echo "$ac_var='\''$ac_val'\''"
alpar@9:       done | sort
alpar@9:       echo
alpar@9:     fi
alpar@9: 
alpar@9:     if test -s confdefs.h; then
alpar@9:       cat <<\_ASBOX
alpar@9: ## ----------- ##
alpar@9: ## confdefs.h. ##
alpar@9: ## ----------- ##
alpar@9: _ASBOX
alpar@9:       echo
alpar@9:       cat confdefs.h
alpar@9:       echo
alpar@9:     fi
alpar@9:     test "$ac_signal" != 0 &&
alpar@9:       $as_echo "$as_me: caught signal $ac_signal"
alpar@9:     $as_echo "$as_me: exit $exit_status"
alpar@9:   } >&5
alpar@9:   rm -f core *.core core.conftest.* &&
alpar@9:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
alpar@9:     exit $exit_status
alpar@9: ' 0
alpar@9: for ac_signal in 1 2 13 15; do
alpar@9:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
alpar@9: done
alpar@9: ac_signal=0
alpar@9: 
alpar@9: # confdefs.h avoids OS command line length limits that DEFS can exceed.
alpar@9: rm -f -r conftest* confdefs.h
alpar@9: 
alpar@9: $as_echo "/* confdefs.h */" > confdefs.h
alpar@9: 
alpar@9: # Predefined preprocessor variables.
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define PACKAGE_NAME "$PACKAGE_NAME"
alpar@9: _ACEOF
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
alpar@9: _ACEOF
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define PACKAGE_VERSION "$PACKAGE_VERSION"
alpar@9: _ACEOF
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define PACKAGE_STRING "$PACKAGE_STRING"
alpar@9: _ACEOF
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
alpar@9: _ACEOF
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define PACKAGE_URL "$PACKAGE_URL"
alpar@9: _ACEOF
alpar@9: 
alpar@9: 
alpar@9: # Let the site file select an alternate cache file if it wants to.
alpar@9: # Prefer an explicitly selected file to automatically selected ones.
alpar@9: ac_site_file1=NONE
alpar@9: ac_site_file2=NONE
alpar@9: if test -n "$CONFIG_SITE"; then
alpar@9:   ac_site_file1=$CONFIG_SITE
alpar@9: elif test "x$prefix" != xNONE; then
alpar@9:   ac_site_file1=$prefix/share/config.site
alpar@9:   ac_site_file2=$prefix/etc/config.site
alpar@9: else
alpar@9:   ac_site_file1=$ac_default_prefix/share/config.site
alpar@9:   ac_site_file2=$ac_default_prefix/etc/config.site
alpar@9: fi
alpar@9: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
alpar@9: do
alpar@9:   test "x$ac_site_file" = xNONE && continue
alpar@9:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
alpar@9: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
alpar@9:     sed 's/^/| /' "$ac_site_file" >&5
alpar@9:     . "$ac_site_file"
alpar@9:   fi
alpar@9: done
alpar@9: 
alpar@9: if test -r "$cache_file"; then
alpar@9:   # Some versions of bash will fail to source /dev/null (special files
alpar@9:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
alpar@9:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
alpar@9: $as_echo "$as_me: loading cache $cache_file" >&6;}
alpar@9:     case $cache_file in
alpar@9:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
alpar@9:       *)                      . "./$cache_file";;
alpar@9:     esac
alpar@9:   fi
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
alpar@9: $as_echo "$as_me: creating cache $cache_file" >&6;}
alpar@9:   >$cache_file
alpar@9: fi
alpar@9: 
alpar@9: # Check that the precious variables saved in the cache have kept the same
alpar@9: # value.
alpar@9: ac_cache_corrupted=false
alpar@9: for ac_var in $ac_precious_vars; do
alpar@9:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
alpar@9:   eval ac_new_set=\$ac_env_${ac_var}_set
alpar@9:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
alpar@9:   eval ac_new_val=\$ac_env_${ac_var}_value
alpar@9:   case $ac_old_set,$ac_new_set in
alpar@9:     set,)
alpar@9:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
alpar@9: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
alpar@9:       ac_cache_corrupted=: ;;
alpar@9:     ,set)
alpar@9:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
alpar@9: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
alpar@9:       ac_cache_corrupted=: ;;
alpar@9:     ,);;
alpar@9:     *)
alpar@9:       if test "x$ac_old_val" != "x$ac_new_val"; then
alpar@9: 	# differences in whitespace do not lead to failure.
alpar@9: 	ac_old_val_w=`echo x $ac_old_val`
alpar@9: 	ac_new_val_w=`echo x $ac_new_val`
alpar@9: 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
alpar@9: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
alpar@9: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
alpar@9: 	  ac_cache_corrupted=:
alpar@9: 	else
alpar@9: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
alpar@9: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
alpar@9: 	  eval $ac_var=\$ac_old_val
alpar@9: 	fi
alpar@9: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
alpar@9: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
alpar@9: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
alpar@9: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
alpar@9:       fi;;
alpar@9:   esac
alpar@9:   # Pass precious variables to config.status.
alpar@9:   if test "$ac_new_set" = set; then
alpar@9:     case $ac_new_val in
alpar@9:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
alpar@9:     *) ac_arg=$ac_var=$ac_new_val ;;
alpar@9:     esac
alpar@9:     case " $ac_configure_args " in
alpar@9:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
alpar@9:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
alpar@9:     esac
alpar@9:   fi
alpar@9: done
alpar@9: if $ac_cache_corrupted; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
alpar@9: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
alpar@9: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
alpar@9:   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
alpar@9: fi
alpar@9: ## -------------------- ##
alpar@9: ## Main body of script. ##
alpar@9: ## -------------------- ##
alpar@9: 
alpar@9: ac_ext=c
alpar@9: ac_cpp='$CPP $CPPFLAGS'
alpar@9: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
alpar@9: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
alpar@9: ac_compiler_gnu=$ac_cv_c_compiler_gnu
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: am__api_version='1.11'
alpar@9: 
alpar@9: ac_aux_dir=
alpar@9: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
alpar@9:   for ac_t in install-sh install.sh shtool; do
alpar@9:     if test -f "$ac_dir/$ac_t"; then
alpar@9:       ac_aux_dir=$ac_dir
alpar@9:       ac_install_sh="$ac_aux_dir/$ac_t -c"
alpar@9:       break 2
alpar@9:     fi
alpar@9:   done
alpar@9: done
alpar@9: if test -z "$ac_aux_dir"; then
alpar@9:   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
alpar@9: fi
alpar@9: 
alpar@9: # These three variables are undocumented and unsupported,
alpar@9: # and are intended to be withdrawn in a future Autoconf release.
alpar@9: # They can cause serious problems if a builder's source tree is in a directory
alpar@9: # whose full name contains unusual characters.
alpar@9: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
alpar@9: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
alpar@9: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
alpar@9: 
alpar@9: 
alpar@9: # Find a good install program.  We prefer a C program (faster),
alpar@9: # so one script is as good as another.  But avoid the broken or
alpar@9: # incompatible versions:
alpar@9: # SysV /etc/install, /usr/sbin/install
alpar@9: # SunOS /usr/etc/install
alpar@9: # IRIX /sbin/install
alpar@9: # AIX /bin/install
alpar@9: # AmigaOS /C/install, which installs bootblocks on floppy discs
alpar@9: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
alpar@9: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
alpar@9: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
alpar@9: # OS/2's system install, which has a completely different semantic
alpar@9: # ./install, which can be erroneously created by make from ./install.sh.
alpar@9: # Reject install programs that cannot install multiple files.
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
alpar@9: $as_echo_n "checking for a BSD-compatible install... " >&6; }
alpar@9: if test -z "$INSTALL"; then
alpar@9: if test "${ac_cv_path_install+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     # Account for people who put trailing slashes in PATH elements.
alpar@9: case $as_dir/ in #((
alpar@9:   ./ | .// | /[cC]/* | \
alpar@9:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
alpar@9:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
alpar@9:   /usr/ucb/* ) ;;
alpar@9:   *)
alpar@9:     # OSF1 and SCO ODT 3.0 have their own names for install.
alpar@9:     # Don't use installbsd from OSF since it installs stuff as root
alpar@9:     # by default.
alpar@9:     for ac_prog in ginstall scoinst install; do
alpar@9:       for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9: 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
alpar@9: 	  if test $ac_prog = install &&
alpar@9: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
alpar@9: 	    # AIX install.  It has an incompatible calling convention.
alpar@9: 	    :
alpar@9: 	  elif test $ac_prog = install &&
alpar@9: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
alpar@9: 	    # program-specific install script used by HP pwplus--don't use.
alpar@9: 	    :
alpar@9: 	  else
alpar@9: 	    rm -rf conftest.one conftest.two conftest.dir
alpar@9: 	    echo one > conftest.one
alpar@9: 	    echo two > conftest.two
alpar@9: 	    mkdir conftest.dir
alpar@9: 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
alpar@9: 	      test -s conftest.one && test -s conftest.two &&
alpar@9: 	      test -s conftest.dir/conftest.one &&
alpar@9: 	      test -s conftest.dir/conftest.two
alpar@9: 	    then
alpar@9: 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
alpar@9: 	      break 3
alpar@9: 	    fi
alpar@9: 	  fi
alpar@9: 	fi
alpar@9:       done
alpar@9:     done
alpar@9:     ;;
alpar@9: esac
alpar@9: 
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: rm -rf conftest.one conftest.two conftest.dir
alpar@9: 
alpar@9: fi
alpar@9:   if test "${ac_cv_path_install+set}" = set; then
alpar@9:     INSTALL=$ac_cv_path_install
alpar@9:   else
alpar@9:     # As a last resort, use the slow shell script.  Don't cache a
alpar@9:     # value for INSTALL within a source directory, because that will
alpar@9:     # break other packages using the cache if that directory is
alpar@9:     # removed, or if the value is a relative name.
alpar@9:     INSTALL=$ac_install_sh
alpar@9:   fi
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
alpar@9: $as_echo "$INSTALL" >&6; }
alpar@9: 
alpar@9: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
alpar@9: # It thinks the first close brace ends the variable substitution.
alpar@9: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
alpar@9: 
alpar@9: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
alpar@9: 
alpar@9: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
alpar@9: $as_echo_n "checking whether build environment is sane... " >&6; }
alpar@9: # Just in case
alpar@9: sleep 1
alpar@9: echo timestamp > conftest.file
alpar@9: # Reject unsafe characters in $srcdir or the absolute working directory
alpar@9: # name.  Accept space and tab only in the latter.
alpar@9: am_lf='
alpar@9: '
alpar@9: case `pwd` in
alpar@9:   *[\\\"\#\$\&\'\`$am_lf]*)
alpar@9:     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
alpar@9: esac
alpar@9: case $srcdir in
alpar@9:   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
alpar@9:     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
alpar@9: esac
alpar@9: 
alpar@9: # Do `set' in a subshell so we don't clobber the current shell's
alpar@9: # arguments.  Must try -L first in case configure is actually a
alpar@9: # symlink; some systems play weird games with the mod time of symlinks
alpar@9: # (eg FreeBSD returns the mod time of the symlink's containing
alpar@9: # directory).
alpar@9: if (
alpar@9:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
alpar@9:    if test "$*" = "X"; then
alpar@9:       # -L didn't work.
alpar@9:       set X `ls -t "$srcdir/configure" conftest.file`
alpar@9:    fi
alpar@9:    rm -f conftest.file
alpar@9:    if test "$*" != "X $srcdir/configure conftest.file" \
alpar@9:       && test "$*" != "X conftest.file $srcdir/configure"; then
alpar@9: 
alpar@9:       # If neither matched, then we have a broken ls.  This can happen
alpar@9:       # if, for instance, CONFIG_SHELL is bash and it inherits a
alpar@9:       # broken ls alias from the environment.  This has actually
alpar@9:       # happened.  Such a system could not be considered "sane".
alpar@9:       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
alpar@9: alias in your environment" "$LINENO" 5
alpar@9:    fi
alpar@9: 
alpar@9:    test "$2" = conftest.file
alpar@9:    )
alpar@9: then
alpar@9:    # Ok.
alpar@9:    :
alpar@9: else
alpar@9:    as_fn_error "newly created file is older than distributed files!
alpar@9: Check your system clock" "$LINENO" 5
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
alpar@9: $as_echo "yes" >&6; }
alpar@9: test "$program_prefix" != NONE &&
alpar@9:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
alpar@9: # Use a double $ so make ignores it.
alpar@9: test "$program_suffix" != NONE &&
alpar@9:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
alpar@9: # Double any \ or $.
alpar@9: # By default was `s,x,x', remove it if useless.
alpar@9: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
alpar@9: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
alpar@9: 
alpar@9: # expand $ac_aux_dir to an absolute path
alpar@9: am_aux_dir=`cd $ac_aux_dir && pwd`
alpar@9: 
alpar@9: if test x"${MISSING+set}" != xset; then
alpar@9:   case $am_aux_dir in
alpar@9:   *\ * | *\	*)
alpar@9:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
alpar@9:   *)
alpar@9:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
alpar@9:   esac
alpar@9: fi
alpar@9: # Use eval to expand $SHELL
alpar@9: if eval "$MISSING --run true"; then
alpar@9:   am_missing_run="$MISSING --run "
alpar@9: else
alpar@9:   am_missing_run=
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
alpar@9: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
alpar@9: fi
alpar@9: 
alpar@9: if test x"${install_sh}" != xset; then
alpar@9:   case $am_aux_dir in
alpar@9:   *\ * | *\	*)
alpar@9:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
alpar@9:   *)
alpar@9:     install_sh="\${SHELL} $am_aux_dir/install-sh"
alpar@9:   esac
alpar@9: fi
alpar@9: 
alpar@9: # Installed binaries are usually stripped using `strip' when the user
alpar@9: # run `make install-strip'.  However `strip' might not be the right
alpar@9: # tool to use in cross-compilation environments, therefore Automake
alpar@9: # will honor the `STRIP' environment variable to overrule this program.
alpar@9: if test "$cross_compiling" != no; then
alpar@9:   if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}strip; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_STRIP+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$STRIP"; then
alpar@9:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: STRIP=$ac_cv_prog_STRIP
alpar@9: if test -n "$STRIP"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
alpar@9: $as_echo "$STRIP" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_STRIP"; then
alpar@9:   ac_ct_STRIP=$STRIP
alpar@9:   # Extract the first word of "strip", so it can be a program name with args.
alpar@9: set dummy strip; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_STRIP"; then
alpar@9:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_STRIP="strip"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
alpar@9: if test -n "$ac_ct_STRIP"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
alpar@9: $as_echo "$ac_ct_STRIP" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_STRIP" = x; then
alpar@9:     STRIP=":"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     STRIP=$ac_ct_STRIP
alpar@9:   fi
alpar@9: else
alpar@9:   STRIP="$ac_cv_prog_STRIP"
alpar@9: fi
alpar@9: 
alpar@9: fi
alpar@9: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
alpar@9: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
alpar@9: if test -z "$MKDIR_P"; then
alpar@9:   if test "${ac_cv_path_mkdir+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_prog in mkdir gmkdir; do
alpar@9: 	 for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9: 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
alpar@9: 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
alpar@9: 	     'mkdir (GNU coreutils) '* | \
alpar@9: 	     'mkdir (coreutils) '* | \
alpar@9: 	     'mkdir (fileutils) '4.1*)
alpar@9: 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
alpar@9: 	       break 3;;
alpar@9: 	   esac
alpar@9: 	 done
alpar@9:        done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9:   test -d ./--version && rmdir ./--version
alpar@9:   if test "${ac_cv_path_mkdir+set}" = set; then
alpar@9:     MKDIR_P="$ac_cv_path_mkdir -p"
alpar@9:   else
alpar@9:     # As a last resort, use the slow shell script.  Don't cache a
alpar@9:     # value for MKDIR_P within a source directory, because that will
alpar@9:     # break other packages using the cache if that directory is
alpar@9:     # removed, or if the value is a relative name.
alpar@9:     MKDIR_P="$ac_install_sh -d"
alpar@9:   fi
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
alpar@9: $as_echo "$MKDIR_P" >&6; }
alpar@9: 
alpar@9: mkdir_p="$MKDIR_P"
alpar@9: case $mkdir_p in
alpar@9:   [\\/$]* | ?:[\\/]*) ;;
alpar@9:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
alpar@9: esac
alpar@9: 
alpar@9: for ac_prog in gawk mawk nawk awk
alpar@9: do
alpar@9:   # Extract the first word of "$ac_prog", so it can be a program name with args.
alpar@9: set dummy $ac_prog; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_AWK+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$AWK"; then
alpar@9:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_AWK="$ac_prog"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: AWK=$ac_cv_prog_AWK
alpar@9: if test -n "$AWK"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
alpar@9: $as_echo "$AWK" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9:   test -n "$AWK" && break
alpar@9: done
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
alpar@9: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
alpar@9: set x ${MAKE-make}
alpar@9: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
alpar@9: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   cat >conftest.make <<\_ACEOF
alpar@9: SHELL = /bin/sh
alpar@9: all:
alpar@9: 	@echo '@@@%%%=$(MAKE)=@@@%%%'
alpar@9: _ACEOF
alpar@9: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
alpar@9: case `${MAKE-make} -f conftest.make 2>/dev/null` in
alpar@9:   *@@@%%%=?*=@@@%%%*)
alpar@9:     eval ac_cv_prog_make_${ac_make}_set=yes;;
alpar@9:   *)
alpar@9:     eval ac_cv_prog_make_${ac_make}_set=no;;
alpar@9: esac
alpar@9: rm -f conftest.make
alpar@9: fi
alpar@9: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
alpar@9: $as_echo "yes" >&6; }
alpar@9:   SET_MAKE=
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9:   SET_MAKE="MAKE=${MAKE-make}"
alpar@9: fi
alpar@9: 
alpar@9: rm -rf .tst 2>/dev/null
alpar@9: mkdir .tst 2>/dev/null
alpar@9: if test -d .tst; then
alpar@9:   am__leading_dot=.
alpar@9: else
alpar@9:   am__leading_dot=_
alpar@9: fi
alpar@9: rmdir .tst 2>/dev/null
alpar@9: 
alpar@9: if test "`cd $srcdir && pwd`" != "`pwd`"; then
alpar@9:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
alpar@9:   # is not polluted with repeated "-I."
alpar@9:   am__isrc=' -I$(srcdir)'
alpar@9:   # test to see if srcdir already configured
alpar@9:   if test -f $srcdir/config.status; then
alpar@9:     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
alpar@9:   fi
alpar@9: fi
alpar@9: 
alpar@9: # test whether we have cygpath
alpar@9: if test -z "$CYGPATH_W"; then
alpar@9:   if (cygpath --version) >/dev/null 2>/dev/null; then
alpar@9:     CYGPATH_W='cygpath -w'
alpar@9:   else
alpar@9:     CYGPATH_W=echo
alpar@9:   fi
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: # Define the identity of the package.
alpar@9:  PACKAGE='glpk'
alpar@9:  VERSION='4.47'
alpar@9: 
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define PACKAGE "$PACKAGE"
alpar@9: _ACEOF
alpar@9: 
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define VERSION "$VERSION"
alpar@9: _ACEOF
alpar@9: 
alpar@9: # Some tools Automake needs.
alpar@9: 
alpar@9: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
alpar@9: 
alpar@9: 
alpar@9: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
alpar@9: 
alpar@9: 
alpar@9: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
alpar@9: 
alpar@9: 
alpar@9: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
alpar@9: 
alpar@9: 
alpar@9: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
alpar@9: 
alpar@9: # We need awk for the "check" target.  The system "awk" is bad on
alpar@9: # some platforms.
alpar@9: # Always define AMTAR for backward compatibility.
alpar@9: 
alpar@9: AMTAR=${AMTAR-"${am_missing_run}tar"}
alpar@9: 
alpar@9: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: ac_config_headers="$ac_config_headers config.h"
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: # Check whether --with-gmp was given.
alpar@9: if test "${with_gmp+set}" = set; then :
alpar@9:   withval=$with_gmp; case $withval in
alpar@9:       yes | no) ;;
alpar@9:       *) as_fn_error "invalid value \`$withval' for --with-gmp" "$LINENO" 5;;
alpar@9:       esac
alpar@9: else
alpar@9:   with_gmp=no
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: # Check whether --enable-dl was given.
alpar@9: if test "${enable_dl+set}" = set; then :
alpar@9:   enableval=$enable_dl; case $enableval in
alpar@9:       yes | ltdl | dlfcn | no) ;;
alpar@9:       *) as_fn_error "invalid value \`$enableval' for --enable-dl" "$LINENO" 5;;
alpar@9:       esac
alpar@9: else
alpar@9:   enable_dl=no
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: # Check whether --enable-odbc was given.
alpar@9: if test "${enable_odbc+set}" = set; then :
alpar@9:   enableval=$enable_odbc; case $enableval in
alpar@9:       yes | unix | no) ;;
alpar@9:       *) as_fn_error "invalid value \`$enableval' for --enable-odbc" "$LINENO" 5;;
alpar@9:       esac
alpar@9: else
alpar@9:   enable_odbc=no
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: # Check whether --enable-mysql was given.
alpar@9: if test "${enable_mysql+set}" = set; then :
alpar@9:   enableval=$enable_mysql; case $enableval in
alpar@9:       yes | no) ;;
alpar@9:       *) as_fn_error "invalid value \`$enableval' for --enable-mysql" "$LINENO" 5;;
alpar@9:       esac
alpar@9: else
alpar@9:   enable_mysql=no
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: ac_ext=c
alpar@9: ac_cpp='$CPP $CPPFLAGS'
alpar@9: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
alpar@9: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
alpar@9: ac_compiler_gnu=$ac_cv_c_compiler_gnu
alpar@9: if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}gcc; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_CC+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$CC"; then
alpar@9:   ac_cv_prog_CC="$CC" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: CC=$ac_cv_prog_CC
alpar@9: if test -n "$CC"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
alpar@9: $as_echo "$CC" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_CC"; then
alpar@9:   ac_ct_CC=$CC
alpar@9:   # Extract the first word of "gcc", so it can be a program name with args.
alpar@9: set dummy gcc; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_CC"; then
alpar@9:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_CC="gcc"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_CC=$ac_cv_prog_ac_ct_CC
alpar@9: if test -n "$ac_ct_CC"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
alpar@9: $as_echo "$ac_ct_CC" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_CC" = x; then
alpar@9:     CC=""
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     CC=$ac_ct_CC
alpar@9:   fi
alpar@9: else
alpar@9:   CC="$ac_cv_prog_CC"
alpar@9: fi
alpar@9: 
alpar@9: if test -z "$CC"; then
alpar@9:           if test -n "$ac_tool_prefix"; then
alpar@9:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}cc; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_CC+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$CC"; then
alpar@9:   ac_cv_prog_CC="$CC" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_CC="${ac_tool_prefix}cc"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: CC=$ac_cv_prog_CC
alpar@9: if test -n "$CC"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
alpar@9: $as_echo "$CC" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9:   fi
alpar@9: fi
alpar@9: if test -z "$CC"; then
alpar@9:   # Extract the first word of "cc", so it can be a program name with args.
alpar@9: set dummy cc; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_CC+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$CC"; then
alpar@9:   ac_cv_prog_CC="$CC" # Let the user override the test.
alpar@9: else
alpar@9:   ac_prog_rejected=no
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
alpar@9:        ac_prog_rejected=yes
alpar@9:        continue
alpar@9:      fi
alpar@9:     ac_cv_prog_CC="cc"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: if test $ac_prog_rejected = yes; then
alpar@9:   # We found a bogon in the path, so make sure we never use it.
alpar@9:   set dummy $ac_cv_prog_CC
alpar@9:   shift
alpar@9:   if test $# != 0; then
alpar@9:     # We chose a different compiler from the bogus one.
alpar@9:     # However, it has the same basename, so the bogon will be chosen
alpar@9:     # first if we set CC to just the basename; use the full file name.
alpar@9:     shift
alpar@9:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
alpar@9:   fi
alpar@9: fi
alpar@9: fi
alpar@9: fi
alpar@9: CC=$ac_cv_prog_CC
alpar@9: if test -n "$CC"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
alpar@9: $as_echo "$CC" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$CC"; then
alpar@9:   if test -n "$ac_tool_prefix"; then
alpar@9:   for ac_prog in cl.exe
alpar@9:   do
alpar@9:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
alpar@9: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_CC+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$CC"; then
alpar@9:   ac_cv_prog_CC="$CC" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: CC=$ac_cv_prog_CC
alpar@9: if test -n "$CC"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
alpar@9: $as_echo "$CC" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9:     test -n "$CC" && break
alpar@9:   done
alpar@9: fi
alpar@9: if test -z "$CC"; then
alpar@9:   ac_ct_CC=$CC
alpar@9:   for ac_prog in cl.exe
alpar@9: do
alpar@9:   # Extract the first word of "$ac_prog", so it can be a program name with args.
alpar@9: set dummy $ac_prog; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_CC"; then
alpar@9:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_CC="$ac_prog"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_CC=$ac_cv_prog_ac_ct_CC
alpar@9: if test -n "$ac_ct_CC"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
alpar@9: $as_echo "$ac_ct_CC" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9:   test -n "$ac_ct_CC" && break
alpar@9: done
alpar@9: 
alpar@9:   if test "x$ac_ct_CC" = x; then
alpar@9:     CC=""
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     CC=$ac_ct_CC
alpar@9:   fi
alpar@9: fi
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
alpar@9: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
alpar@9: as_fn_error "no acceptable C compiler found in \$PATH
alpar@9: See \`config.log' for more details." "$LINENO" 5; }
alpar@9: 
alpar@9: # Provide some information about the compiler.
alpar@9: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
alpar@9: set X $ac_compile
alpar@9: ac_compiler=$2
alpar@9: for ac_option in --version -v -V -qversion; do
alpar@9:   { { ac_try="$ac_compiler $ac_option >&5"
alpar@9: case "(($ac_try" in
alpar@9:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
alpar@9:   *) ac_try_echo=$ac_try;;
alpar@9: esac
alpar@9: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
alpar@9: $as_echo "$ac_try_echo"; } >&5
alpar@9:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
alpar@9:   ac_status=$?
alpar@9:   if test -s conftest.err; then
alpar@9:     sed '10a\
alpar@9: ... rest of stderr output deleted ...
alpar@9:          10q' conftest.err >conftest.er1
alpar@9:     cat conftest.er1 >&5
alpar@9:   fi
alpar@9:   rm -f conftest.er1 conftest.err
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }
alpar@9: done
alpar@9: 
alpar@9: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: ac_clean_files_save=$ac_clean_files
alpar@9: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
alpar@9: # Try to create an executable without -o first, disregard a.out.
alpar@9: # It will help us diagnose broken compilers, and finding out an intuition
alpar@9: # of exeext.
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
alpar@9: $as_echo_n "checking whether the C compiler works... " >&6; }
alpar@9: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
alpar@9: 
alpar@9: # The possible output files:
alpar@9: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
alpar@9: 
alpar@9: ac_rmfiles=
alpar@9: for ac_file in $ac_files
alpar@9: do
alpar@9:   case $ac_file in
alpar@9:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
alpar@9:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
alpar@9:   esac
alpar@9: done
alpar@9: rm -f $ac_rmfiles
alpar@9: 
alpar@9: if { { ac_try="$ac_link_default"
alpar@9: case "(($ac_try" in
alpar@9:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
alpar@9:   *) ac_try_echo=$ac_try;;
alpar@9: esac
alpar@9: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
alpar@9: $as_echo "$ac_try_echo"; } >&5
alpar@9:   (eval "$ac_link_default") 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }; then :
alpar@9:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
alpar@9: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
alpar@9: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
alpar@9: # so that the user can short-circuit this test for compilers unknown to
alpar@9: # Autoconf.
alpar@9: for ac_file in $ac_files ''
alpar@9: do
alpar@9:   test -f "$ac_file" || continue
alpar@9:   case $ac_file in
alpar@9:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
alpar@9: 	;;
alpar@9:     [ab].out )
alpar@9: 	# We found the default executable, but exeext='' is most
alpar@9: 	# certainly right.
alpar@9: 	break;;
alpar@9:     *.* )
alpar@9: 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
alpar@9: 	then :; else
alpar@9: 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
alpar@9: 	fi
alpar@9: 	# We set ac_cv_exeext here because the later test for it is not
alpar@9: 	# safe: cross compilers may not add the suffix if given an `-o'
alpar@9: 	# argument, so we may need to know it at that point already.
alpar@9: 	# Even if this section looks crufty: it has the advantage of
alpar@9: 	# actually working.
alpar@9: 	break;;
alpar@9:     * )
alpar@9: 	break;;
alpar@9:   esac
alpar@9: done
alpar@9: test "$ac_cv_exeext" = no && ac_cv_exeext=
alpar@9: 
alpar@9: else
alpar@9:   ac_file=''
alpar@9: fi
alpar@9: if test -z "$ac_file"; then :
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: $as_echo "$as_me: failed program was:" >&5
alpar@9: sed 's/^/| /' conftest.$ac_ext >&5
alpar@9: 
alpar@9: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
alpar@9: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
alpar@9: { as_fn_set_status 77
alpar@9: as_fn_error "C compiler cannot create executables
alpar@9: See \`config.log' for more details." "$LINENO" 5; }; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
alpar@9: $as_echo "yes" >&6; }
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
alpar@9: $as_echo_n "checking for C compiler default output file name... " >&6; }
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
alpar@9: $as_echo "$ac_file" >&6; }
alpar@9: ac_exeext=$ac_cv_exeext
alpar@9: 
alpar@9: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
alpar@9: ac_clean_files=$ac_clean_files_save
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
alpar@9: $as_echo_n "checking for suffix of executables... " >&6; }
alpar@9: if { { ac_try="$ac_link"
alpar@9: case "(($ac_try" in
alpar@9:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
alpar@9:   *) ac_try_echo=$ac_try;;
alpar@9: esac
alpar@9: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
alpar@9: $as_echo "$ac_try_echo"; } >&5
alpar@9:   (eval "$ac_link") 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }; then :
alpar@9:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
alpar@9: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
alpar@9: # work properly (i.e., refer to `conftest.exe'), while it won't with
alpar@9: # `rm'.
alpar@9: for ac_file in conftest.exe conftest conftest.*; do
alpar@9:   test -f "$ac_file" || continue
alpar@9:   case $ac_file in
alpar@9:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
alpar@9:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
alpar@9: 	  break;;
alpar@9:     * ) break;;
alpar@9:   esac
alpar@9: done
alpar@9: else
alpar@9:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
alpar@9: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
alpar@9: as_fn_error "cannot compute suffix of executables: cannot compile and link
alpar@9: See \`config.log' for more details." "$LINENO" 5; }
alpar@9: fi
alpar@9: rm -f conftest conftest$ac_cv_exeext
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
alpar@9: $as_echo "$ac_cv_exeext" >&6; }
alpar@9: 
alpar@9: rm -f conftest.$ac_ext
alpar@9: EXEEXT=$ac_cv_exeext
alpar@9: ac_exeext=$EXEEXT
alpar@9: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: #include <stdio.h>
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: FILE *f = fopen ("conftest.out", "w");
alpar@9:  return ferror (f) || fclose (f) != 0;
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: ac_clean_files="$ac_clean_files conftest.out"
alpar@9: # Check that the compiler produces executables we can run.  If not, either
alpar@9: # the compiler is broken, or we cross compile.
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
alpar@9: $as_echo_n "checking whether we are cross compiling... " >&6; }
alpar@9: if test "$cross_compiling" != yes; then
alpar@9:   { { ac_try="$ac_link"
alpar@9: case "(($ac_try" in
alpar@9:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
alpar@9:   *) ac_try_echo=$ac_try;;
alpar@9: esac
alpar@9: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
alpar@9: $as_echo "$ac_try_echo"; } >&5
alpar@9:   (eval "$ac_link") 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }
alpar@9:   if { ac_try='./conftest$ac_cv_exeext'
alpar@9:   { { case "(($ac_try" in
alpar@9:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
alpar@9:   *) ac_try_echo=$ac_try;;
alpar@9: esac
alpar@9: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
alpar@9: $as_echo "$ac_try_echo"; } >&5
alpar@9:   (eval "$ac_try") 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }; }; then
alpar@9:     cross_compiling=no
alpar@9:   else
alpar@9:     if test "$cross_compiling" = maybe; then
alpar@9: 	cross_compiling=yes
alpar@9:     else
alpar@9: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
alpar@9: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
alpar@9: as_fn_error "cannot run C compiled programs.
alpar@9: If you meant to cross compile, use \`--host'.
alpar@9: See \`config.log' for more details." "$LINENO" 5; }
alpar@9:     fi
alpar@9:   fi
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
alpar@9: $as_echo "$cross_compiling" >&6; }
alpar@9: 
alpar@9: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
alpar@9: ac_clean_files=$ac_clean_files_save
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
alpar@9: $as_echo_n "checking for suffix of object files... " >&6; }
alpar@9: if test "${ac_cv_objext+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: rm -f conftest.o conftest.obj
alpar@9: if { { ac_try="$ac_compile"
alpar@9: case "(($ac_try" in
alpar@9:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
alpar@9:   *) ac_try_echo=$ac_try;;
alpar@9: esac
alpar@9: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
alpar@9: $as_echo "$ac_try_echo"; } >&5
alpar@9:   (eval "$ac_compile") 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }; then :
alpar@9:   for ac_file in conftest.o conftest.obj conftest.*; do
alpar@9:   test -f "$ac_file" || continue;
alpar@9:   case $ac_file in
alpar@9:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
alpar@9:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
alpar@9:        break;;
alpar@9:   esac
alpar@9: done
alpar@9: else
alpar@9:   $as_echo "$as_me: failed program was:" >&5
alpar@9: sed 's/^/| /' conftest.$ac_ext >&5
alpar@9: 
alpar@9: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
alpar@9: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
alpar@9: as_fn_error "cannot compute suffix of object files: cannot compile
alpar@9: See \`config.log' for more details." "$LINENO" 5; }
alpar@9: fi
alpar@9: rm -f conftest.$ac_cv_objext conftest.$ac_ext
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
alpar@9: $as_echo "$ac_cv_objext" >&6; }
alpar@9: OBJEXT=$ac_cv_objext
alpar@9: ac_objext=$OBJEXT
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
alpar@9: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
alpar@9: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: #ifndef __GNUC__
alpar@9:        choke me
alpar@9: #endif
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_compile "$LINENO"; then :
alpar@9:   ac_compiler_gnu=yes
alpar@9: else
alpar@9:   ac_compiler_gnu=no
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
alpar@9: ac_cv_c_compiler_gnu=$ac_compiler_gnu
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
alpar@9: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
alpar@9: if test $ac_compiler_gnu = yes; then
alpar@9:   GCC=yes
alpar@9: else
alpar@9:   GCC=
alpar@9: fi
alpar@9: ac_test_CFLAGS=${CFLAGS+set}
alpar@9: ac_save_CFLAGS=$CFLAGS
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
alpar@9: $as_echo_n "checking whether $CC accepts -g... " >&6; }
alpar@9: if test "${ac_cv_prog_cc_g+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   ac_save_c_werror_flag=$ac_c_werror_flag
alpar@9:    ac_c_werror_flag=yes
alpar@9:    ac_cv_prog_cc_g=no
alpar@9:    CFLAGS="-g"
alpar@9:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_compile "$LINENO"; then :
alpar@9:   ac_cv_prog_cc_g=yes
alpar@9: else
alpar@9:   CFLAGS=""
alpar@9:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_compile "$LINENO"; then :
alpar@9: 
alpar@9: else
alpar@9:   ac_c_werror_flag=$ac_save_c_werror_flag
alpar@9: 	 CFLAGS="-g"
alpar@9: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_compile "$LINENO"; then :
alpar@9:   ac_cv_prog_cc_g=yes
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
alpar@9:    ac_c_werror_flag=$ac_save_c_werror_flag
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
alpar@9: $as_echo "$ac_cv_prog_cc_g" >&6; }
alpar@9: if test "$ac_test_CFLAGS" = set; then
alpar@9:   CFLAGS=$ac_save_CFLAGS
alpar@9: elif test $ac_cv_prog_cc_g = yes; then
alpar@9:   if test "$GCC" = yes; then
alpar@9:     CFLAGS="-g -O2"
alpar@9:   else
alpar@9:     CFLAGS="-g"
alpar@9:   fi
alpar@9: else
alpar@9:   if test "$GCC" = yes; then
alpar@9:     CFLAGS="-O2"
alpar@9:   else
alpar@9:     CFLAGS=
alpar@9:   fi
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
alpar@9: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
alpar@9: if test "${ac_cv_prog_cc_c89+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   ac_cv_prog_cc_c89=no
alpar@9: ac_save_CC=$CC
alpar@9: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: #include <stdarg.h>
alpar@9: #include <stdio.h>
alpar@9: #include <sys/types.h>
alpar@9: #include <sys/stat.h>
alpar@9: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
alpar@9: struct buf { int x; };
alpar@9: FILE * (*rcsopen) (struct buf *, struct stat *, int);
alpar@9: static char *e (p, i)
alpar@9:      char **p;
alpar@9:      int i;
alpar@9: {
alpar@9:   return p[i];
alpar@9: }
alpar@9: static char *f (char * (*g) (char **, int), char **p, ...)
alpar@9: {
alpar@9:   char *s;
alpar@9:   va_list v;
alpar@9:   va_start (v,p);
alpar@9:   s = g (p, va_arg (v,int));
alpar@9:   va_end (v);
alpar@9:   return s;
alpar@9: }
alpar@9: 
alpar@9: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
alpar@9:    function prototypes and stuff, but not '\xHH' hex character constants.
alpar@9:    These don't provoke an error unfortunately, instead are silently treated
alpar@9:    as 'x'.  The following induces an error, until -std is added to get
alpar@9:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
alpar@9:    array size at least.  It's necessary to write '\x00'==0 to get something
alpar@9:    that's true only with -std.  */
alpar@9: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
alpar@9: 
alpar@9: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
alpar@9:    inside strings and character constants.  */
alpar@9: #define FOO(x) 'x'
alpar@9: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
alpar@9: 
alpar@9: int test (int i, double x);
alpar@9: struct s1 {int (*f) (int a);};
alpar@9: struct s2 {int (*f) (double a);};
alpar@9: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
alpar@9: int argc;
alpar@9: char **argv;
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
alpar@9: 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
alpar@9: do
alpar@9:   CC="$ac_save_CC $ac_arg"
alpar@9:   if ac_fn_c_try_compile "$LINENO"; then :
alpar@9:   ac_cv_prog_cc_c89=$ac_arg
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext
alpar@9:   test "x$ac_cv_prog_cc_c89" != "xno" && break
alpar@9: done
alpar@9: rm -f conftest.$ac_ext
alpar@9: CC=$ac_save_CC
alpar@9: 
alpar@9: fi
alpar@9: # AC_CACHE_VAL
alpar@9: case "x$ac_cv_prog_cc_c89" in
alpar@9:   x)
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
alpar@9: $as_echo "none needed" >&6; } ;;
alpar@9:   xno)
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
alpar@9: $as_echo "unsupported" >&6; } ;;
alpar@9:   *)
alpar@9:     CC="$CC $ac_cv_prog_cc_c89"
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
alpar@9: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
alpar@9: esac
alpar@9: if test "x$ac_cv_prog_cc_c89" != xno; then :
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: ac_ext=c
alpar@9: ac_cpp='$CPP $CPPFLAGS'
alpar@9: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
alpar@9: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
alpar@9: ac_compiler_gnu=$ac_cv_c_compiler_gnu
alpar@9: DEPDIR="${am__leading_dot}deps"
alpar@9: 
alpar@9: ac_config_commands="$ac_config_commands depfiles"
alpar@9: 
alpar@9: 
alpar@9: am_make=${MAKE-make}
alpar@9: cat > confinc << 'END'
alpar@9: am__doit:
alpar@9: 	@echo this is the am__doit target
alpar@9: .PHONY: am__doit
alpar@9: END
alpar@9: # If we don't find an include directive, just comment out the code.
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
alpar@9: $as_echo_n "checking for style of include used by $am_make... " >&6; }
alpar@9: am__include="#"
alpar@9: am__quote=
alpar@9: _am_result=none
alpar@9: # First try GNU make style include.
alpar@9: echo "include confinc" > confmf
alpar@9: # Ignore all kinds of additional output from `make'.
alpar@9: case `$am_make -s -f confmf 2> /dev/null` in #(
alpar@9: *the\ am__doit\ target*)
alpar@9:   am__include=include
alpar@9:   am__quote=
alpar@9:   _am_result=GNU
alpar@9:   ;;
alpar@9: esac
alpar@9: # Now try BSD make style include.
alpar@9: if test "$am__include" = "#"; then
alpar@9:    echo '.include "confinc"' > confmf
alpar@9:    case `$am_make -s -f confmf 2> /dev/null` in #(
alpar@9:    *the\ am__doit\ target*)
alpar@9:      am__include=.include
alpar@9:      am__quote="\""
alpar@9:      _am_result=BSD
alpar@9:      ;;
alpar@9:    esac
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
alpar@9: $as_echo "$_am_result" >&6; }
alpar@9: rm -f confinc confmf
alpar@9: 
alpar@9: # Check whether --enable-dependency-tracking was given.
alpar@9: if test "${enable_dependency_tracking+set}" = set; then :
alpar@9:   enableval=$enable_dependency_tracking;
alpar@9: fi
alpar@9: 
alpar@9: if test "x$enable_dependency_tracking" != xno; then
alpar@9:   am_depcomp="$ac_aux_dir/depcomp"
alpar@9:   AMDEPBACKSLASH='\'
alpar@9: fi
alpar@9:  if test "x$enable_dependency_tracking" != xno; then
alpar@9:   AMDEP_TRUE=
alpar@9:   AMDEP_FALSE='#'
alpar@9: else
alpar@9:   AMDEP_TRUE='#'
alpar@9:   AMDEP_FALSE=
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: depcc="$CC"   am_compiler_list=
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
alpar@9: $as_echo_n "checking dependency style of $depcc... " >&6; }
alpar@9: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
alpar@9:   # We make a subdir and do the tests there.  Otherwise we can end up
alpar@9:   # making bogus files that we don't know about and never remove.  For
alpar@9:   # instance it was reported that on HP-UX the gcc test will end up
alpar@9:   # making a dummy file named `D' -- because `-MD' means `put the output
alpar@9:   # in D'.
alpar@9:   mkdir conftest.dir
alpar@9:   # Copy depcomp to subdir because otherwise we won't find it if we're
alpar@9:   # using a relative directory.
alpar@9:   cp "$am_depcomp" conftest.dir
alpar@9:   cd conftest.dir
alpar@9:   # We will build objects and dependencies in a subdirectory because
alpar@9:   # it helps to detect inapplicable dependency modes.  For instance
alpar@9:   # both Tru64's cc and ICC support -MD to output dependencies as a
alpar@9:   # side effect of compilation, but ICC will put the dependencies in
alpar@9:   # the current directory while Tru64 will put them in the object
alpar@9:   # directory.
alpar@9:   mkdir sub
alpar@9: 
alpar@9:   am_cv_CC_dependencies_compiler_type=none
alpar@9:   if test "$am_compiler_list" = ""; then
alpar@9:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
alpar@9:   fi
alpar@9:   am__universal=false
alpar@9:   case " $depcc " in #(
alpar@9:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
alpar@9:      esac
alpar@9: 
alpar@9:   for depmode in $am_compiler_list; do
alpar@9:     # Setup a source with many dependencies, because some compilers
alpar@9:     # like to wrap large dependency lists on column 80 (with \), and
alpar@9:     # we should not choose a depcomp mode which is confused by this.
alpar@9:     #
alpar@9:     # We need to recreate these files for each test, as the compiler may
alpar@9:     # overwrite some of them when testing with obscure command lines.
alpar@9:     # This happens at least with the AIX C compiler.
alpar@9:     : > sub/conftest.c
alpar@9:     for i in 1 2 3 4 5 6; do
alpar@9:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
alpar@9:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
alpar@9:       # Solaris 8's {/usr,}/bin/sh.
alpar@9:       touch sub/conftst$i.h
alpar@9:     done
alpar@9:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
alpar@9: 
alpar@9:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
alpar@9:     # mode.  It turns out that the SunPro C++ compiler does not properly
alpar@9:     # handle `-M -o', and we need to detect this.  Also, some Intel
alpar@9:     # versions had trouble with output in subdirs
alpar@9:     am__obj=sub/conftest.${OBJEXT-o}
alpar@9:     am__minus_obj="-o $am__obj"
alpar@9:     case $depmode in
alpar@9:     gcc)
alpar@9:       # This depmode causes a compiler race in universal mode.
alpar@9:       test "$am__universal" = false || continue
alpar@9:       ;;
alpar@9:     nosideeffect)
alpar@9:       # after this tag, mechanisms are not by side-effect, so they'll
alpar@9:       # only be used when explicitly requested
alpar@9:       if test "x$enable_dependency_tracking" = xyes; then
alpar@9: 	continue
alpar@9:       else
alpar@9: 	break
alpar@9:       fi
alpar@9:       ;;
alpar@9:     msvisualcpp | msvcmsys)
alpar@9:       # This compiler won't grok `-c -o', but also, the minuso test has
alpar@9:       # not run yet.  These depmodes are late enough in the game, and
alpar@9:       # so weak that their functioning should not be impacted.
alpar@9:       am__obj=conftest.${OBJEXT-o}
alpar@9:       am__minus_obj=
alpar@9:       ;;
alpar@9:     none) break ;;
alpar@9:     esac
alpar@9:     if depmode=$depmode \
alpar@9:        source=sub/conftest.c object=$am__obj \
alpar@9:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
alpar@9:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
alpar@9:          >/dev/null 2>conftest.err &&
alpar@9:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
alpar@9:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
alpar@9:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
alpar@9:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
alpar@9:       # icc doesn't choke on unknown options, it will just issue warnings
alpar@9:       # or remarks (even with -Werror).  So we grep stderr for any message
alpar@9:       # that says an option was ignored or not supported.
alpar@9:       # When given -MP, icc 7.0 and 7.1 complain thusly:
alpar@9:       #   icc: Command line warning: ignoring option '-M'; no argument required
alpar@9:       # The diagnosis changed in icc 8.0:
alpar@9:       #   icc: Command line remark: option '-MP' not supported
alpar@9:       if (grep 'ignoring option' conftest.err ||
alpar@9:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
alpar@9:         am_cv_CC_dependencies_compiler_type=$depmode
alpar@9:         break
alpar@9:       fi
alpar@9:     fi
alpar@9:   done
alpar@9: 
alpar@9:   cd ..
alpar@9:   rm -rf conftest.dir
alpar@9: else
alpar@9:   am_cv_CC_dependencies_compiler_type=none
alpar@9: fi
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
alpar@9: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
alpar@9: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
alpar@9: 
alpar@9:  if
alpar@9:   test "x$enable_dependency_tracking" != xno \
alpar@9:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
alpar@9:   am__fastdepCC_TRUE=
alpar@9:   am__fastdepCC_FALSE='#'
alpar@9: else
alpar@9:   am__fastdepCC_TRUE='#'
alpar@9:   am__fastdepCC_FALSE=
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: case `pwd` in
alpar@9:   *\ * | *\	*)
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
alpar@9: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
alpar@9: esac
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: macro_version='2.2.7a'
alpar@9: macro_revision='1.3140'
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: ltmain="$ac_aux_dir/ltmain.sh"
alpar@9: 
alpar@9: # Make sure we can run config.sub.
alpar@9: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
alpar@9:   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
alpar@9: $as_echo_n "checking build system type... " >&6; }
alpar@9: if test "${ac_cv_build+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   ac_build_alias=$build_alias
alpar@9: test "x$ac_build_alias" = x &&
alpar@9:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
alpar@9: test "x$ac_build_alias" = x &&
alpar@9:   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
alpar@9: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
alpar@9:   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
alpar@9: $as_echo "$ac_cv_build" >&6; }
alpar@9: case $ac_cv_build in
alpar@9: *-*-*) ;;
alpar@9: *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
alpar@9: esac
alpar@9: build=$ac_cv_build
alpar@9: ac_save_IFS=$IFS; IFS='-'
alpar@9: set x $ac_cv_build
alpar@9: shift
alpar@9: build_cpu=$1
alpar@9: build_vendor=$2
alpar@9: shift; shift
alpar@9: # Remember, the first character of IFS is used to create $*,
alpar@9: # except with old shells:
alpar@9: build_os=$*
alpar@9: IFS=$ac_save_IFS
alpar@9: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
alpar@9: $as_echo_n "checking host system type... " >&6; }
alpar@9: if test "${ac_cv_host+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test "x$host_alias" = x; then
alpar@9:   ac_cv_host=$ac_cv_build
alpar@9: else
alpar@9:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
alpar@9:     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
alpar@9: fi
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
alpar@9: $as_echo "$ac_cv_host" >&6; }
alpar@9: case $ac_cv_host in
alpar@9: *-*-*) ;;
alpar@9: *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
alpar@9: esac
alpar@9: host=$ac_cv_host
alpar@9: ac_save_IFS=$IFS; IFS='-'
alpar@9: set x $ac_cv_host
alpar@9: shift
alpar@9: host_cpu=$1
alpar@9: host_vendor=$2
alpar@9: shift; shift
alpar@9: # Remember, the first character of IFS is used to create $*,
alpar@9: # except with old shells:
alpar@9: host_os=$*
alpar@9: IFS=$ac_save_IFS
alpar@9: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
alpar@9: 
alpar@9: 
alpar@9: # Backslashify metacharacters that are still active within
alpar@9: # double-quoted strings.
alpar@9: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
alpar@9: 
alpar@9: # Same as above, but do not quote variable references.
alpar@9: double_quote_subst='s/\(["`\\]\)/\\\1/g'
alpar@9: 
alpar@9: # Sed substitution to delay expansion of an escaped shell variable in a
alpar@9: # double_quote_subst'ed string.
alpar@9: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
alpar@9: 
alpar@9: # Sed substitution to delay expansion of an escaped single quote.
alpar@9: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
alpar@9: 
alpar@9: # Sed substitution to avoid accidental globbing in evaled expressions
alpar@9: no_glob_subst='s/\*/\\\*/g'
alpar@9: 
alpar@9: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
alpar@9: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
alpar@9: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
alpar@9: $as_echo_n "checking how to print strings... " >&6; }
alpar@9: # Test print first, because it will be a builtin if present.
alpar@9: if test "X`print -r -- -n 2>/dev/null`" = X-n && \
alpar@9:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
alpar@9:   ECHO='print -r --'
alpar@9: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
alpar@9:   ECHO='printf %s\n'
alpar@9: else
alpar@9:   # Use this function as a fallback that always works.
alpar@9:   func_fallback_echo ()
alpar@9:   {
alpar@9:     eval 'cat <<_LTECHO_EOF
alpar@9: $1
alpar@9: _LTECHO_EOF'
alpar@9:   }
alpar@9:   ECHO='func_fallback_echo'
alpar@9: fi
alpar@9: 
alpar@9: # func_echo_all arg...
alpar@9: # Invoke $ECHO with all args, space-separated.
alpar@9: func_echo_all ()
alpar@9: {
alpar@9:     $ECHO ""
alpar@9: }
alpar@9: 
alpar@9: case "$ECHO" in
alpar@9:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
alpar@9: $as_echo "printf" >&6; } ;;
alpar@9:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
alpar@9: $as_echo "print -r" >&6; } ;;
alpar@9:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
alpar@9: $as_echo "cat" >&6; } ;;
alpar@9: esac
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
alpar@9: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
alpar@9: if test "${ac_cv_path_SED+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
alpar@9:      for ac_i in 1 2 3 4 5 6 7; do
alpar@9:        ac_script="$ac_script$as_nl$ac_script"
alpar@9:      done
alpar@9:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
alpar@9:      { ac_script=; unset ac_script;}
alpar@9:      if test -z "$SED"; then
alpar@9:   ac_path_SED_found=false
alpar@9:   # Loop through the user's path and test for each of PROGNAME-LIST
alpar@9:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_prog in sed gsed; do
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
alpar@9:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
alpar@9: # Check for GNU ac_path_SED and select it if it is found.
alpar@9:   # Check for GNU $ac_path_SED
alpar@9: case `"$ac_path_SED" --version 2>&1` in
alpar@9: *GNU*)
alpar@9:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
alpar@9: *)
alpar@9:   ac_count=0
alpar@9:   $as_echo_n 0123456789 >"conftest.in"
alpar@9:   while :
alpar@9:   do
alpar@9:     cat "conftest.in" "conftest.in" >"conftest.tmp"
alpar@9:     mv "conftest.tmp" "conftest.in"
alpar@9:     cp "conftest.in" "conftest.nl"
alpar@9:     $as_echo '' >> "conftest.nl"
alpar@9:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
alpar@9:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
alpar@9:     as_fn_arith $ac_count + 1 && ac_count=$as_val
alpar@9:     if test $ac_count -gt ${ac_path_SED_max-0}; then
alpar@9:       # Best one so far, save it but keep looking for a better one
alpar@9:       ac_cv_path_SED="$ac_path_SED"
alpar@9:       ac_path_SED_max=$ac_count
alpar@9:     fi
alpar@9:     # 10*(2^10) chars as input seems more than enough
alpar@9:     test $ac_count -gt 10 && break
alpar@9:   done
alpar@9:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
alpar@9: esac
alpar@9: 
alpar@9:       $ac_path_SED_found && break 3
alpar@9:     done
alpar@9:   done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9:   if test -z "$ac_cv_path_SED"; then
alpar@9:     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
alpar@9:   fi
alpar@9: else
alpar@9:   ac_cv_path_SED=$SED
alpar@9: fi
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
alpar@9: $as_echo "$ac_cv_path_SED" >&6; }
alpar@9:  SED="$ac_cv_path_SED"
alpar@9:   rm -f conftest.sed
alpar@9: 
alpar@9: test -z "$SED" && SED=sed
alpar@9: Xsed="$SED -e 1s/^X//"
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
alpar@9: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
alpar@9: if test "${ac_cv_path_GREP+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -z "$GREP"; then
alpar@9:   ac_path_GREP_found=false
alpar@9:   # Loop through the user's path and test for each of PROGNAME-LIST
alpar@9:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_prog in grep ggrep; do
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
alpar@9:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
alpar@9: # Check for GNU ac_path_GREP and select it if it is found.
alpar@9:   # Check for GNU $ac_path_GREP
alpar@9: case `"$ac_path_GREP" --version 2>&1` in
alpar@9: *GNU*)
alpar@9:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
alpar@9: *)
alpar@9:   ac_count=0
alpar@9:   $as_echo_n 0123456789 >"conftest.in"
alpar@9:   while :
alpar@9:   do
alpar@9:     cat "conftest.in" "conftest.in" >"conftest.tmp"
alpar@9:     mv "conftest.tmp" "conftest.in"
alpar@9:     cp "conftest.in" "conftest.nl"
alpar@9:     $as_echo 'GREP' >> "conftest.nl"
alpar@9:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
alpar@9:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
alpar@9:     as_fn_arith $ac_count + 1 && ac_count=$as_val
alpar@9:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
alpar@9:       # Best one so far, save it but keep looking for a better one
alpar@9:       ac_cv_path_GREP="$ac_path_GREP"
alpar@9:       ac_path_GREP_max=$ac_count
alpar@9:     fi
alpar@9:     # 10*(2^10) chars as input seems more than enough
alpar@9:     test $ac_count -gt 10 && break
alpar@9:   done
alpar@9:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
alpar@9: esac
alpar@9: 
alpar@9:       $ac_path_GREP_found && break 3
alpar@9:     done
alpar@9:   done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9:   if test -z "$ac_cv_path_GREP"; then
alpar@9:     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
alpar@9:   fi
alpar@9: else
alpar@9:   ac_cv_path_GREP=$GREP
alpar@9: fi
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
alpar@9: $as_echo "$ac_cv_path_GREP" >&6; }
alpar@9:  GREP="$ac_cv_path_GREP"
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
alpar@9: $as_echo_n "checking for egrep... " >&6; }
alpar@9: if test "${ac_cv_path_EGREP+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
alpar@9:    then ac_cv_path_EGREP="$GREP -E"
alpar@9:    else
alpar@9:      if test -z "$EGREP"; then
alpar@9:   ac_path_EGREP_found=false
alpar@9:   # Loop through the user's path and test for each of PROGNAME-LIST
alpar@9:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_prog in egrep; do
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
alpar@9:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
alpar@9: # Check for GNU ac_path_EGREP and select it if it is found.
alpar@9:   # Check for GNU $ac_path_EGREP
alpar@9: case `"$ac_path_EGREP" --version 2>&1` in
alpar@9: *GNU*)
alpar@9:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
alpar@9: *)
alpar@9:   ac_count=0
alpar@9:   $as_echo_n 0123456789 >"conftest.in"
alpar@9:   while :
alpar@9:   do
alpar@9:     cat "conftest.in" "conftest.in" >"conftest.tmp"
alpar@9:     mv "conftest.tmp" "conftest.in"
alpar@9:     cp "conftest.in" "conftest.nl"
alpar@9:     $as_echo 'EGREP' >> "conftest.nl"
alpar@9:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
alpar@9:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
alpar@9:     as_fn_arith $ac_count + 1 && ac_count=$as_val
alpar@9:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
alpar@9:       # Best one so far, save it but keep looking for a better one
alpar@9:       ac_cv_path_EGREP="$ac_path_EGREP"
alpar@9:       ac_path_EGREP_max=$ac_count
alpar@9:     fi
alpar@9:     # 10*(2^10) chars as input seems more than enough
alpar@9:     test $ac_count -gt 10 && break
alpar@9:   done
alpar@9:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
alpar@9: esac
alpar@9: 
alpar@9:       $ac_path_EGREP_found && break 3
alpar@9:     done
alpar@9:   done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9:   if test -z "$ac_cv_path_EGREP"; then
alpar@9:     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
alpar@9:   fi
alpar@9: else
alpar@9:   ac_cv_path_EGREP=$EGREP
alpar@9: fi
alpar@9: 
alpar@9:    fi
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
alpar@9: $as_echo "$ac_cv_path_EGREP" >&6; }
alpar@9:  EGREP="$ac_cv_path_EGREP"
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
alpar@9: $as_echo_n "checking for fgrep... " >&6; }
alpar@9: if test "${ac_cv_path_FGREP+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
alpar@9:    then ac_cv_path_FGREP="$GREP -F"
alpar@9:    else
alpar@9:      if test -z "$FGREP"; then
alpar@9:   ac_path_FGREP_found=false
alpar@9:   # Loop through the user's path and test for each of PROGNAME-LIST
alpar@9:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_prog in fgrep; do
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
alpar@9:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
alpar@9: # Check for GNU ac_path_FGREP and select it if it is found.
alpar@9:   # Check for GNU $ac_path_FGREP
alpar@9: case `"$ac_path_FGREP" --version 2>&1` in
alpar@9: *GNU*)
alpar@9:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
alpar@9: *)
alpar@9:   ac_count=0
alpar@9:   $as_echo_n 0123456789 >"conftest.in"
alpar@9:   while :
alpar@9:   do
alpar@9:     cat "conftest.in" "conftest.in" >"conftest.tmp"
alpar@9:     mv "conftest.tmp" "conftest.in"
alpar@9:     cp "conftest.in" "conftest.nl"
alpar@9:     $as_echo 'FGREP' >> "conftest.nl"
alpar@9:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
alpar@9:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
alpar@9:     as_fn_arith $ac_count + 1 && ac_count=$as_val
alpar@9:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
alpar@9:       # Best one so far, save it but keep looking for a better one
alpar@9:       ac_cv_path_FGREP="$ac_path_FGREP"
alpar@9:       ac_path_FGREP_max=$ac_count
alpar@9:     fi
alpar@9:     # 10*(2^10) chars as input seems more than enough
alpar@9:     test $ac_count -gt 10 && break
alpar@9:   done
alpar@9:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
alpar@9: esac
alpar@9: 
alpar@9:       $ac_path_FGREP_found && break 3
alpar@9:     done
alpar@9:   done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9:   if test -z "$ac_cv_path_FGREP"; then
alpar@9:     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
alpar@9:   fi
alpar@9: else
alpar@9:   ac_cv_path_FGREP=$FGREP
alpar@9: fi
alpar@9: 
alpar@9:    fi
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
alpar@9: $as_echo "$ac_cv_path_FGREP" >&6; }
alpar@9:  FGREP="$ac_cv_path_FGREP"
alpar@9: 
alpar@9: 
alpar@9: test -z "$GREP" && GREP=grep
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: # Check whether --with-gnu-ld was given.
alpar@9: if test "${with_gnu_ld+set}" = set; then :
alpar@9:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
alpar@9: else
alpar@9:   with_gnu_ld=no
alpar@9: fi
alpar@9: 
alpar@9: ac_prog=ld
alpar@9: if test "$GCC" = yes; then
alpar@9:   # Check if gcc -print-prog-name=ld gives a path.
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
alpar@9: $as_echo_n "checking for ld used by $CC... " >&6; }
alpar@9:   case $host in
alpar@9:   *-*-mingw*)
alpar@9:     # gcc leaves a trailing carriage return which upsets mingw
alpar@9:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
alpar@9:   *)
alpar@9:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
alpar@9:   esac
alpar@9:   case $ac_prog in
alpar@9:     # Accept absolute paths.
alpar@9:     [\\/]* | ?:[\\/]*)
alpar@9:       re_direlt='/[^/][^/]*/\.\./'
alpar@9:       # Canonicalize the pathname of ld
alpar@9:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
alpar@9:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
alpar@9: 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
alpar@9:       done
alpar@9:       test -z "$LD" && LD="$ac_prog"
alpar@9:       ;;
alpar@9:   "")
alpar@9:     # If it fails, then pretend we aren't using GCC.
alpar@9:     ac_prog=ld
alpar@9:     ;;
alpar@9:   *)
alpar@9:     # If it is relative, then search for the first ld in PATH.
alpar@9:     with_gnu_ld=unknown
alpar@9:     ;;
alpar@9:   esac
alpar@9: elif test "$with_gnu_ld" = yes; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
alpar@9: $as_echo_n "checking for GNU ld... " >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
alpar@9: $as_echo_n "checking for non-GNU ld... " >&6; }
alpar@9: fi
alpar@9: if test "${lt_cv_path_LD+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -z "$LD"; then
alpar@9:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
alpar@9:   for ac_dir in $PATH; do
alpar@9:     IFS="$lt_save_ifs"
alpar@9:     test -z "$ac_dir" && ac_dir=.
alpar@9:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
alpar@9:       lt_cv_path_LD="$ac_dir/$ac_prog"
alpar@9:       # Check to see if the program is GNU ld.  I'd rather use --version,
alpar@9:       # but apparently some variants of GNU ld only accept -v.
alpar@9:       # Break only if it was the GNU/non-GNU ld that we prefer.
alpar@9:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
alpar@9:       *GNU* | *'with BFD'*)
alpar@9: 	test "$with_gnu_ld" != no && break
alpar@9: 	;;
alpar@9:       *)
alpar@9: 	test "$with_gnu_ld" != yes && break
alpar@9: 	;;
alpar@9:       esac
alpar@9:     fi
alpar@9:   done
alpar@9:   IFS="$lt_save_ifs"
alpar@9: else
alpar@9:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
alpar@9: fi
alpar@9: fi
alpar@9: 
alpar@9: LD="$lt_cv_path_LD"
alpar@9: if test -n "$LD"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
alpar@9: $as_echo "$LD" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
alpar@9: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
alpar@9: if test "${lt_cv_prog_gnu_ld+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
alpar@9: case `$LD -v 2>&1 </dev/null` in
alpar@9: *GNU* | *'with BFD'*)
alpar@9:   lt_cv_prog_gnu_ld=yes
alpar@9:   ;;
alpar@9: *)
alpar@9:   lt_cv_prog_gnu_ld=no
alpar@9:   ;;
alpar@9: esac
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
alpar@9: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
alpar@9: with_gnu_ld=$lt_cv_prog_gnu_ld
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
alpar@9: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
alpar@9: if test "${lt_cv_path_NM+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$NM"; then
alpar@9:   # Let the user override the test.
alpar@9:   lt_cv_path_NM="$NM"
alpar@9: else
alpar@9:   lt_nm_to_check="${ac_tool_prefix}nm"
alpar@9:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
alpar@9:     lt_nm_to_check="$lt_nm_to_check nm"
alpar@9:   fi
alpar@9:   for lt_tmp_nm in $lt_nm_to_check; do
alpar@9:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
alpar@9:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
alpar@9:       IFS="$lt_save_ifs"
alpar@9:       test -z "$ac_dir" && ac_dir=.
alpar@9:       tmp_nm="$ac_dir/$lt_tmp_nm"
alpar@9:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
alpar@9: 	# Check to see if the nm accepts a BSD-compat flag.
alpar@9: 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
alpar@9: 	#   nm: unknown option "B" ignored
alpar@9: 	# Tru64's nm complains that /dev/null is an invalid object file
alpar@9: 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
alpar@9: 	*/dev/null* | *'Invalid file or object type'*)
alpar@9: 	  lt_cv_path_NM="$tmp_nm -B"
alpar@9: 	  break
alpar@9: 	  ;;
alpar@9: 	*)
alpar@9: 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
alpar@9: 	  */dev/null*)
alpar@9: 	    lt_cv_path_NM="$tmp_nm -p"
alpar@9: 	    break
alpar@9: 	    ;;
alpar@9: 	  *)
alpar@9: 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
alpar@9: 	    continue # so that we can try to find one that supports BSD flags
alpar@9: 	    ;;
alpar@9: 	  esac
alpar@9: 	  ;;
alpar@9: 	esac
alpar@9:       fi
alpar@9:     done
alpar@9:     IFS="$lt_save_ifs"
alpar@9:   done
alpar@9:   : ${lt_cv_path_NM=no}
alpar@9: fi
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
alpar@9: $as_echo "$lt_cv_path_NM" >&6; }
alpar@9: if test "$lt_cv_path_NM" != "no"; then
alpar@9:   NM="$lt_cv_path_NM"
alpar@9: else
alpar@9:   # Didn't find any BSD compatible name lister, look for dumpbin.
alpar@9:   if test -n "$DUMPBIN"; then :
alpar@9:     # Let the user override the test.
alpar@9:   else
alpar@9:     if test -n "$ac_tool_prefix"; then
alpar@9:   for ac_prog in dumpbin "link -dump"
alpar@9:   do
alpar@9:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
alpar@9: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$DUMPBIN"; then
alpar@9:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: DUMPBIN=$ac_cv_prog_DUMPBIN
alpar@9: if test -n "$DUMPBIN"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
alpar@9: $as_echo "$DUMPBIN" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9:     test -n "$DUMPBIN" && break
alpar@9:   done
alpar@9: fi
alpar@9: if test -z "$DUMPBIN"; then
alpar@9:   ac_ct_DUMPBIN=$DUMPBIN
alpar@9:   for ac_prog in dumpbin "link -dump"
alpar@9: do
alpar@9:   # Extract the first word of "$ac_prog", so it can be a program name with args.
alpar@9: set dummy $ac_prog; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_DUMPBIN"; then
alpar@9:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
alpar@9: if test -n "$ac_ct_DUMPBIN"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
alpar@9: $as_echo "$ac_ct_DUMPBIN" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9:   test -n "$ac_ct_DUMPBIN" && break
alpar@9: done
alpar@9: 
alpar@9:   if test "x$ac_ct_DUMPBIN" = x; then
alpar@9:     DUMPBIN=":"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     DUMPBIN=$ac_ct_DUMPBIN
alpar@9:   fi
alpar@9: fi
alpar@9: 
alpar@9:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
alpar@9:     *COFF*)
alpar@9:       DUMPBIN="$DUMPBIN -symbols"
alpar@9:       ;;
alpar@9:     *)
alpar@9:       DUMPBIN=:
alpar@9:       ;;
alpar@9:     esac
alpar@9:   fi
alpar@9: 
alpar@9:   if test "$DUMPBIN" != ":"; then
alpar@9:     NM="$DUMPBIN"
alpar@9:   fi
alpar@9: fi
alpar@9: test -z "$NM" && NM=nm
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
alpar@9: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
alpar@9: if test "${lt_cv_nm_interface+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_nm_interface="BSD nm"
alpar@9:   echo "int some_variable = 0;" > conftest.$ac_ext
alpar@9:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
alpar@9:   (eval "$ac_compile" 2>conftest.err)
alpar@9:   cat conftest.err >&5
alpar@9:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
alpar@9:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
alpar@9:   cat conftest.err >&5
alpar@9:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
alpar@9:   cat conftest.out >&5
alpar@9:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
alpar@9:     lt_cv_nm_interface="MS dumpbin"
alpar@9:   fi
alpar@9:   rm -f conftest*
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
alpar@9: $as_echo "$lt_cv_nm_interface" >&6; }
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
alpar@9: $as_echo_n "checking whether ln -s works... " >&6; }
alpar@9: LN_S=$as_ln_s
alpar@9: if test "$LN_S" = "ln -s"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
alpar@9: $as_echo "yes" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
alpar@9: $as_echo "no, using $LN_S" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: # find the maximum length of command line arguments
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
alpar@9: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
alpar@9: if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:     i=0
alpar@9:   teststring="ABCD"
alpar@9: 
alpar@9:   case $build_os in
alpar@9:   msdosdjgpp*)
alpar@9:     # On DJGPP, this test can blow up pretty badly due to problems in libc
alpar@9:     # (any single argument exceeding 2000 bytes causes a buffer overrun
alpar@9:     # during glob expansion).  Even if it were fixed, the result of this
alpar@9:     # check would be larger than it should be.
alpar@9:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
alpar@9:     ;;
alpar@9: 
alpar@9:   gnu*)
alpar@9:     # Under GNU Hurd, this test is not required because there is
alpar@9:     # no limit to the length of command line arguments.
alpar@9:     # Libtool will interpret -1 as no limit whatsoever
alpar@9:     lt_cv_sys_max_cmd_len=-1;
alpar@9:     ;;
alpar@9: 
alpar@9:   cygwin* | mingw* | cegcc*)
alpar@9:     # On Win9x/ME, this test blows up -- it succeeds, but takes
alpar@9:     # about 5 minutes as the teststring grows exponentially.
alpar@9:     # Worse, since 9x/ME are not pre-emptively multitasking,
alpar@9:     # you end up with a "frozen" computer, even though with patience
alpar@9:     # the test eventually succeeds (with a max line length of 256k).
alpar@9:     # Instead, let's just punt: use the minimum linelength reported by
alpar@9:     # all of the supported platforms: 8192 (on NT/2K/XP).
alpar@9:     lt_cv_sys_max_cmd_len=8192;
alpar@9:     ;;
alpar@9: 
alpar@9:   mint*)
alpar@9:     # On MiNT this can take a long time and run out of memory.
alpar@9:     lt_cv_sys_max_cmd_len=8192;
alpar@9:     ;;
alpar@9: 
alpar@9:   amigaos*)
alpar@9:     # On AmigaOS with pdksh, this test takes hours, literally.
alpar@9:     # So we just punt and use a minimum line length of 8192.
alpar@9:     lt_cv_sys_max_cmd_len=8192;
alpar@9:     ;;
alpar@9: 
alpar@9:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
alpar@9:     # This has been around since 386BSD, at least.  Likely further.
alpar@9:     if test -x /sbin/sysctl; then
alpar@9:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
alpar@9:     elif test -x /usr/sbin/sysctl; then
alpar@9:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
alpar@9:     else
alpar@9:       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
alpar@9:     fi
alpar@9:     # And add a safety zone
alpar@9:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
alpar@9:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
alpar@9:     ;;
alpar@9: 
alpar@9:   interix*)
alpar@9:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
alpar@9:     lt_cv_sys_max_cmd_len=196608
alpar@9:     ;;
alpar@9: 
alpar@9:   osf*)
alpar@9:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
alpar@9:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
alpar@9:     # nice to cause kernel panics so lets avoid the loop below.
alpar@9:     # First set a reasonable default.
alpar@9:     lt_cv_sys_max_cmd_len=16384
alpar@9:     #
alpar@9:     if test -x /sbin/sysconfig; then
alpar@9:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
alpar@9:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
alpar@9:       esac
alpar@9:     fi
alpar@9:     ;;
alpar@9:   sco3.2v5*)
alpar@9:     lt_cv_sys_max_cmd_len=102400
alpar@9:     ;;
alpar@9:   sysv5* | sco5v6* | sysv4.2uw2*)
alpar@9:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
alpar@9:     if test -n "$kargmax"; then
alpar@9:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
alpar@9:     else
alpar@9:       lt_cv_sys_max_cmd_len=32768
alpar@9:     fi
alpar@9:     ;;
alpar@9:   *)
alpar@9:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
alpar@9:     if test -n "$lt_cv_sys_max_cmd_len"; then
alpar@9:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
alpar@9:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
alpar@9:     else
alpar@9:       # Make teststring a little bigger before we do anything with it.
alpar@9:       # a 1K string should be a reasonable start.
alpar@9:       for i in 1 2 3 4 5 6 7 8 ; do
alpar@9:         teststring=$teststring$teststring
alpar@9:       done
alpar@9:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
alpar@9:       # If test is not a shell built-in, we'll probably end up computing a
alpar@9:       # maximum length that is only half of the actual maximum length, but
alpar@9:       # we can't tell.
alpar@9:       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
alpar@9: 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
alpar@9: 	      test $i != 17 # 1/2 MB should be enough
alpar@9:       do
alpar@9:         i=`expr $i + 1`
alpar@9:         teststring=$teststring$teststring
alpar@9:       done
alpar@9:       # Only check the string length outside the loop.
alpar@9:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
alpar@9:       teststring=
alpar@9:       # Add a significant safety factor because C++ compilers can tack on
alpar@9:       # massive amounts of additional arguments before passing them to the
alpar@9:       # linker.  It appears as though 1/2 is a usable value.
alpar@9:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
alpar@9:     fi
alpar@9:     ;;
alpar@9:   esac
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: if test -n $lt_cv_sys_max_cmd_len ; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
alpar@9: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
alpar@9: $as_echo "none" >&6; }
alpar@9: fi
alpar@9: max_cmd_len=$lt_cv_sys_max_cmd_len
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: : ${CP="cp -f"}
alpar@9: : ${MV="mv -f"}
alpar@9: : ${RM="rm -f"}
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
alpar@9: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
alpar@9: # Try some XSI features
alpar@9: xsi_shell=no
alpar@9: ( _lt_dummy="a/b/c"
alpar@9:   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
alpar@9:       = c,a/b,, \
alpar@9:     && eval 'test $(( 1 + 1 )) -eq 2 \
alpar@9:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
alpar@9:   && xsi_shell=yes
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
alpar@9: $as_echo "$xsi_shell" >&6; }
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
alpar@9: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
alpar@9: lt_shell_append=no
alpar@9: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
alpar@9:     >/dev/null 2>&1 \
alpar@9:   && lt_shell_append=yes
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
alpar@9: $as_echo "$lt_shell_append" >&6; }
alpar@9: 
alpar@9: 
alpar@9: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
alpar@9:   lt_unset=unset
alpar@9: else
alpar@9:   lt_unset=false
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: # test EBCDIC or ASCII
alpar@9: case `echo X|tr X '\101'` in
alpar@9:  A) # ASCII based system
alpar@9:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
alpar@9:   lt_SP2NL='tr \040 \012'
alpar@9:   lt_NL2SP='tr \015\012 \040\040'
alpar@9:   ;;
alpar@9:  *) # EBCDIC based system
alpar@9:   lt_SP2NL='tr \100 \n'
alpar@9:   lt_NL2SP='tr \r\n \100\100'
alpar@9:   ;;
alpar@9: esac
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build paths to $host format" >&5
alpar@9: $as_echo_n "checking how to convert $build paths to $host format... " >&6; }
alpar@9: if test "${lt_cv_to_host_path_cmd+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   case $host in
alpar@9:   *mingw* )
alpar@9:     case $build in
alpar@9:       *mingw* ) # actually msys
alpar@9:         lt_cv_to_host_path_cmd=func_msys_to_mingw_path_convert
alpar@9:         ;;
alpar@9:       *cygwin* )
alpar@9:         lt_cv_to_host_path_cmd=func_cygwin_to_mingw_path_convert
alpar@9:         ;;
alpar@9:       * ) # otherwise, assume *nix
alpar@9:         lt_cv_to_host_path_cmd=func_nix_to_mingw_path_convert
alpar@9:         ;;
alpar@9:     esac
alpar@9:     ;;
alpar@9:   *cygwin* )
alpar@9:     case $build in
alpar@9:       *mingw* ) # actually msys
alpar@9:         lt_cv_to_host_path_cmd=func_msys_to_cygwin_path_convert
alpar@9:         ;;
alpar@9:       *cygwin* )
alpar@9:         lt_cv_to_host_path_cmd=func_noop_path_convert
alpar@9:         ;;
alpar@9:       * ) # otherwise, assume *nix
alpar@9:         lt_cv_to_host_path_cmd=func_nix_to_cygwin_path_convert
alpar@9:         ;;
alpar@9:     esac
alpar@9:     ;;
alpar@9:   * ) # unhandled hosts (and "normal" native builds)
alpar@9:     lt_cv_to_host_path_cmd=func_noop_path_convert
alpar@9:     ;;
alpar@9: esac
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: to_host_path_cmd=$lt_cv_to_host_path_cmd
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_path_cmd" >&5
alpar@9: $as_echo "$lt_cv_to_host_path_cmd" >&6; }
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
alpar@9: $as_echo_n "checking for $LD option to reload object files... " >&6; }
alpar@9: if test "${lt_cv_ld_reload_flag+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_ld_reload_flag='-r'
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
alpar@9: $as_echo "$lt_cv_ld_reload_flag" >&6; }
alpar@9: reload_flag=$lt_cv_ld_reload_flag
alpar@9: case $reload_flag in
alpar@9: "" | " "*) ;;
alpar@9: *) reload_flag=" $reload_flag" ;;
alpar@9: esac
alpar@9: reload_cmds='$LD$reload_flag -o $output$reload_objs'
alpar@9: case $host_os in
alpar@9:   darwin*)
alpar@9:     if test "$GCC" = yes; then
alpar@9:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
alpar@9:     else
alpar@9:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
alpar@9:     fi
alpar@9:     ;;
alpar@9: esac
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}objdump; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$OBJDUMP"; then
alpar@9:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: OBJDUMP=$ac_cv_prog_OBJDUMP
alpar@9: if test -n "$OBJDUMP"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
alpar@9: $as_echo "$OBJDUMP" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_OBJDUMP"; then
alpar@9:   ac_ct_OBJDUMP=$OBJDUMP
alpar@9:   # Extract the first word of "objdump", so it can be a program name with args.
alpar@9: set dummy objdump; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_OBJDUMP"; then
alpar@9:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
alpar@9: if test -n "$ac_ct_OBJDUMP"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
alpar@9: $as_echo "$ac_ct_OBJDUMP" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_OBJDUMP" = x; then
alpar@9:     OBJDUMP="false"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     OBJDUMP=$ac_ct_OBJDUMP
alpar@9:   fi
alpar@9: else
alpar@9:   OBJDUMP="$ac_cv_prog_OBJDUMP"
alpar@9: fi
alpar@9: 
alpar@9: test -z "$OBJDUMP" && OBJDUMP=objdump
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
alpar@9: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
alpar@9: if test "${lt_cv_deplibs_check_method+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_file_magic_cmd='$MAGIC_CMD'
alpar@9: lt_cv_file_magic_test_file=
alpar@9: lt_cv_deplibs_check_method='unknown'
alpar@9: # Need to set the preceding variable on all platforms that support
alpar@9: # interlibrary dependencies.
alpar@9: # 'none' -- dependencies not supported.
alpar@9: # `unknown' -- same as none, but documents that we really don't know.
alpar@9: # 'pass_all' -- all dependencies passed with no checks.
alpar@9: # 'test_compile' -- check by making test program.
alpar@9: # 'file_magic [[regex]]' -- check by looking for files in library path
alpar@9: # which responds to the $file_magic_cmd with a given extended regex.
alpar@9: # If you have `file' or equivalent on your system and you're not sure
alpar@9: # whether `pass_all' will *always* work, you probably want this one.
alpar@9: 
alpar@9: case $host_os in
alpar@9: aix[4-9]*)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: beos*)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: bsdi[45]*)
alpar@9:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
alpar@9:   lt_cv_file_magic_cmd='/usr/bin/file -L'
alpar@9:   lt_cv_file_magic_test_file=/shlib/libc.so
alpar@9:   ;;
alpar@9: 
alpar@9: cygwin*)
alpar@9:   # func_win32_libid is a shell function defined in ltmain.sh
alpar@9:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
alpar@9:   lt_cv_file_magic_cmd='func_win32_libid'
alpar@9:   ;;
alpar@9: 
alpar@9: mingw* | pw32*)
alpar@9:   # Base MSYS/MinGW do not provide the 'file' command needed by
alpar@9:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
alpar@9:   # unless we find 'file', for example because we are cross-compiling.
alpar@9:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
alpar@9:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
alpar@9:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
alpar@9:     lt_cv_file_magic_cmd='func_win32_libid'
alpar@9:   else
alpar@9:     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
alpar@9:     lt_cv_file_magic_cmd='$OBJDUMP -f'
alpar@9:   fi
alpar@9:   ;;
alpar@9: 
alpar@9: cegcc*)
alpar@9:   # use the weaker test based on 'objdump'. See mingw*.
alpar@9:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
alpar@9:   lt_cv_file_magic_cmd='$OBJDUMP -f'
alpar@9:   ;;
alpar@9: 
alpar@9: darwin* | rhapsody*)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: freebsd* | dragonfly*)
alpar@9:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
alpar@9:     case $host_cpu in
alpar@9:     i*86 )
alpar@9:       # Not sure whether the presence of OpenBSD here was a mistake.
alpar@9:       # Let's accept both of them until this is cleared up.
alpar@9:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
alpar@9:       lt_cv_file_magic_cmd=/usr/bin/file
alpar@9:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
alpar@9:       ;;
alpar@9:     esac
alpar@9:   else
alpar@9:     lt_cv_deplibs_check_method=pass_all
alpar@9:   fi
alpar@9:   ;;
alpar@9: 
alpar@9: gnu*)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: haiku*)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: hpux10.20* | hpux11*)
alpar@9:   lt_cv_file_magic_cmd=/usr/bin/file
alpar@9:   case $host_cpu in
alpar@9:   ia64*)
alpar@9:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
alpar@9:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
alpar@9:     ;;
alpar@9:   hppa*64*)
alpar@9:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
alpar@9:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
alpar@9:     ;;
alpar@9:   *)
alpar@9:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
alpar@9:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
alpar@9:     ;;
alpar@9:   esac
alpar@9:   ;;
alpar@9: 
alpar@9: interix[3-9]*)
alpar@9:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
alpar@9:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
alpar@9:   ;;
alpar@9: 
alpar@9: irix5* | irix6* | nonstopux*)
alpar@9:   case $LD in
alpar@9:   *-32|*"-32 ") libmagic=32-bit;;
alpar@9:   *-n32|*"-n32 ") libmagic=N32;;
alpar@9:   *-64|*"-64 ") libmagic=64-bit;;
alpar@9:   *) libmagic=never-match;;
alpar@9:   esac
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: # This must be Linux ELF.
alpar@9: linux* | k*bsd*-gnu | kopensolaris*-gnu)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: netbsd*)
alpar@9:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
alpar@9:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
alpar@9:   else
alpar@9:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
alpar@9:   fi
alpar@9:   ;;
alpar@9: 
alpar@9: newos6*)
alpar@9:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
alpar@9:   lt_cv_file_magic_cmd=/usr/bin/file
alpar@9:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
alpar@9:   ;;
alpar@9: 
alpar@9: *nto* | *qnx*)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: openbsd*)
alpar@9:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
alpar@9:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
alpar@9:   else
alpar@9:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
alpar@9:   fi
alpar@9:   ;;
alpar@9: 
alpar@9: osf3* | osf4* | osf5*)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: rdos*)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: solaris*)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: 
alpar@9: sysv4 | sysv4.3*)
alpar@9:   case $host_vendor in
alpar@9:   motorola)
alpar@9:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
alpar@9:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
alpar@9:     ;;
alpar@9:   ncr)
alpar@9:     lt_cv_deplibs_check_method=pass_all
alpar@9:     ;;
alpar@9:   sequent)
alpar@9:     lt_cv_file_magic_cmd='/bin/file'
alpar@9:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
alpar@9:     ;;
alpar@9:   sni)
alpar@9:     lt_cv_file_magic_cmd='/bin/file'
alpar@9:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
alpar@9:     lt_cv_file_magic_test_file=/lib/libc.so
alpar@9:     ;;
alpar@9:   siemens)
alpar@9:     lt_cv_deplibs_check_method=pass_all
alpar@9:     ;;
alpar@9:   pc)
alpar@9:     lt_cv_deplibs_check_method=pass_all
alpar@9:     ;;
alpar@9:   esac
alpar@9:   ;;
alpar@9: 
alpar@9: tpf*)
alpar@9:   lt_cv_deplibs_check_method=pass_all
alpar@9:   ;;
alpar@9: esac
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
alpar@9: $as_echo "$lt_cv_deplibs_check_method" >&6; }
alpar@9: file_magic_cmd=$lt_cv_file_magic_cmd
alpar@9: deplibs_check_method=$lt_cv_deplibs_check_method
alpar@9: test -z "$deplibs_check_method" && deplibs_check_method=unknown
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$DLLTOOL"; then
alpar@9:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: DLLTOOL=$ac_cv_prog_DLLTOOL
alpar@9: if test -n "$DLLTOOL"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
alpar@9: $as_echo "$DLLTOOL" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_DLLTOOL"; then
alpar@9:   ac_ct_DLLTOOL=$DLLTOOL
alpar@9:   # Extract the first word of "dlltool", so it can be a program name with args.
alpar@9: set dummy dlltool; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_DLLTOOL"; then
alpar@9:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
alpar@9: if test -n "$ac_ct_DLLTOOL"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
alpar@9: $as_echo "$ac_ct_DLLTOOL" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_DLLTOOL" = x; then
alpar@9:     DLLTOOL="false"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     DLLTOOL=$ac_ct_DLLTOOL
alpar@9:   fi
alpar@9: else
alpar@9:   DLLTOOL="$ac_cv_prog_DLLTOOL"
alpar@9: fi
alpar@9: 
alpar@9: test -z "$DLLTOOL" && DLLTOOL=dlltool
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
alpar@9: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
alpar@9: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_sharedlib_from_linklib_cmd='unknown'
alpar@9: 
alpar@9: case $host_os in
alpar@9: cygwin* | mingw* | pw32* | cegcc*)
alpar@9:   # two different shell functions defined in ltmain.sh
alpar@9:   # decide which to use based on capabilities of $DLLTOOL
alpar@9:   case `$DLLTOOL --help 2>&1` in
alpar@9:   *--identify-strict*)
alpar@9:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
alpar@9:     ;;
alpar@9:   *)
alpar@9:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
alpar@9:     ;;
alpar@9:   esac
alpar@9:   ;;
alpar@9: *)
alpar@9:   # fallback: assume linklib IS sharedlib
alpar@9:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
alpar@9:   ;;
alpar@9: esac
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
alpar@9: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
alpar@9: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
alpar@9: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}ar; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_AR+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$AR"; then
alpar@9:   ac_cv_prog_AR="$AR" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_AR="${ac_tool_prefix}ar"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: AR=$ac_cv_prog_AR
alpar@9: if test -n "$AR"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
alpar@9: $as_echo "$AR" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_AR"; then
alpar@9:   ac_ct_AR=$AR
alpar@9:   # Extract the first word of "ar", so it can be a program name with args.
alpar@9: set dummy ar; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_AR"; then
alpar@9:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_AR="ar"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_AR=$ac_cv_prog_ac_ct_AR
alpar@9: if test -n "$ac_ct_AR"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
alpar@9: $as_echo "$ac_ct_AR" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_AR" = x; then
alpar@9:     AR="false"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     AR=$ac_ct_AR
alpar@9:   fi
alpar@9: else
alpar@9:   AR="$ac_cv_prog_AR"
alpar@9: fi
alpar@9: 
alpar@9: test -z "$AR" && AR=ar
alpar@9: test -z "$AR_FLAGS" && AR_FLAGS=cru
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}strip; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_STRIP+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$STRIP"; then
alpar@9:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: STRIP=$ac_cv_prog_STRIP
alpar@9: if test -n "$STRIP"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
alpar@9: $as_echo "$STRIP" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_STRIP"; then
alpar@9:   ac_ct_STRIP=$STRIP
alpar@9:   # Extract the first word of "strip", so it can be a program name with args.
alpar@9: set dummy strip; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_STRIP"; then
alpar@9:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_STRIP="strip"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
alpar@9: if test -n "$ac_ct_STRIP"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
alpar@9: $as_echo "$ac_ct_STRIP" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_STRIP" = x; then
alpar@9:     STRIP=":"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     STRIP=$ac_ct_STRIP
alpar@9:   fi
alpar@9: else
alpar@9:   STRIP="$ac_cv_prog_STRIP"
alpar@9: fi
alpar@9: 
alpar@9: test -z "$STRIP" && STRIP=:
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_RANLIB+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$RANLIB"; then
alpar@9:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: RANLIB=$ac_cv_prog_RANLIB
alpar@9: if test -n "$RANLIB"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
alpar@9: $as_echo "$RANLIB" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_RANLIB"; then
alpar@9:   ac_ct_RANLIB=$RANLIB
alpar@9:   # Extract the first word of "ranlib", so it can be a program name with args.
alpar@9: set dummy ranlib; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_RANLIB"; then
alpar@9:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_RANLIB="ranlib"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
alpar@9: if test -n "$ac_ct_RANLIB"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
alpar@9: $as_echo "$ac_ct_RANLIB" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_RANLIB" = x; then
alpar@9:     RANLIB=":"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     RANLIB=$ac_ct_RANLIB
alpar@9:   fi
alpar@9: else
alpar@9:   RANLIB="$ac_cv_prog_RANLIB"
alpar@9: fi
alpar@9: 
alpar@9: test -z "$RANLIB" && RANLIB=:
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: # Determine commands to create old-style static archives.
alpar@9: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
alpar@9: old_postinstall_cmds='chmod 644 $oldlib'
alpar@9: old_postuninstall_cmds=
alpar@9: 
alpar@9: if test -n "$RANLIB"; then
alpar@9:   case $host_os in
alpar@9:   openbsd*)
alpar@9:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
alpar@9:     ;;
alpar@9:   *)
alpar@9:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
alpar@9:     ;;
alpar@9:   esac
alpar@9:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
alpar@9: fi
alpar@9: 
alpar@9: case $host_os in
alpar@9:   darwin*)
alpar@9:     lock_old_archive_extraction=yes ;;
alpar@9:   *)
alpar@9:     lock_old_archive_extraction=no ;;
alpar@9: esac
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: # If no C compiler was specified, use CC.
alpar@9: LTCC=${LTCC-"$CC"}
alpar@9: 
alpar@9: # If no C compiler flags were specified, use CFLAGS.
alpar@9: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
alpar@9: 
alpar@9: # Allow CC to be a program name with arguments.
alpar@9: compiler=$CC
alpar@9: 
alpar@9: 
alpar@9: # Check for command to grab the raw symbol name followed by C symbol from nm.
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
alpar@9: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
alpar@9: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9: 
alpar@9: # These are sane defaults that work on at least a few old systems.
alpar@9: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
alpar@9: 
alpar@9: # Character class describing NM global symbol codes.
alpar@9: symcode='[BCDEGRST]'
alpar@9: 
alpar@9: # Regexp to match symbols that can be accessed directly from C.
alpar@9: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
alpar@9: 
alpar@9: # Define system-specific variables.
alpar@9: case $host_os in
alpar@9: aix*)
alpar@9:   symcode='[BCDT]'
alpar@9:   ;;
alpar@9: cygwin* | mingw* | pw32* | cegcc*)
alpar@9:   symcode='[ABCDGISTW]'
alpar@9:   ;;
alpar@9: hpux*)
alpar@9:   if test "$host_cpu" = ia64; then
alpar@9:     symcode='[ABCDEGRST]'
alpar@9:   fi
alpar@9:   ;;
alpar@9: irix* | nonstopux*)
alpar@9:   symcode='[BCDEGRST]'
alpar@9:   ;;
alpar@9: osf*)
alpar@9:   symcode='[BCDEGQRST]'
alpar@9:   ;;
alpar@9: solaris*)
alpar@9:   symcode='[BDRT]'
alpar@9:   ;;
alpar@9: sco3.2v5*)
alpar@9:   symcode='[DT]'
alpar@9:   ;;
alpar@9: sysv4.2uw2*)
alpar@9:   symcode='[DT]'
alpar@9:   ;;
alpar@9: sysv5* | sco5v6* | unixware* | OpenUNIX*)
alpar@9:   symcode='[ABDT]'
alpar@9:   ;;
alpar@9: sysv4)
alpar@9:   symcode='[DFNSTU]'
alpar@9:   ;;
alpar@9: esac
alpar@9: 
alpar@9: # If we're using GNU nm, then use its standard symbol codes.
alpar@9: case `$NM -V 2>&1` in
alpar@9: *GNU* | *'with BFD'*)
alpar@9:   symcode='[ABCDGIRSTW]' ;;
alpar@9: esac
alpar@9: 
alpar@9: # Transform an extracted symbol line into a proper C declaration.
alpar@9: # Some systems (esp. on ia64) link data and code symbols differently,
alpar@9: # so use this general approach.
alpar@9: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
alpar@9: 
alpar@9: # Transform an extracted symbol line into symbol name and symbol address
alpar@9: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
alpar@9: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
alpar@9: 
alpar@9: # Handle CRLF in mingw tool chain
alpar@9: opt_cr=
alpar@9: case $build_os in
alpar@9: mingw*)
alpar@9:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
alpar@9:   ;;
alpar@9: esac
alpar@9: 
alpar@9: # Try without a prefix underscore, then with it.
alpar@9: for ac_symprfx in "" "_"; do
alpar@9: 
alpar@9:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
alpar@9:   symxfrm="\\1 $ac_symprfx\\2 \\2"
alpar@9: 
alpar@9:   # Write the raw and C identifiers.
alpar@9:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
alpar@9:     # Fake it for dumpbin and say T for any non-static function
alpar@9:     # and D for any global variable.
alpar@9:     # Also find C++ and __fastcall symbols from MSVC++,
alpar@9:     # which start with @ or ?.
alpar@9:     lt_cv_sys_global_symbol_pipe="$AWK '"\
alpar@9: "     {last_section=section; section=\$ 3};"\
alpar@9: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
alpar@9: "     \$ 0!~/External *\|/{next};"\
alpar@9: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
alpar@9: "     {if(hide[section]) next};"\
alpar@9: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
alpar@9: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
alpar@9: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
alpar@9: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
alpar@9: "     ' prfx=^$ac_symprfx"
alpar@9:   else
alpar@9:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
alpar@9:   fi
alpar@9: 
alpar@9:   # Check to see that the pipe works correctly.
alpar@9:   pipe_works=no
alpar@9: 
alpar@9:   rm -f conftest*
alpar@9:   cat > conftest.$ac_ext <<_LT_EOF
alpar@9: #ifdef __cplusplus
alpar@9: extern "C" {
alpar@9: #endif
alpar@9: char nm_test_var;
alpar@9: void nm_test_func(void);
alpar@9: void nm_test_func(void){}
alpar@9: #ifdef __cplusplus
alpar@9: }
alpar@9: #endif
alpar@9: int main(){nm_test_var='a';nm_test_func();return(0);}
alpar@9: _LT_EOF
alpar@9: 
alpar@9:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
alpar@9:   (eval $ac_compile) 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }; then
alpar@9:     # Now try to grab the symbols.
alpar@9:     nlist=conftest.nm
alpar@9:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
alpar@9:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; } && test -s "$nlist"; then
alpar@9:       # Try sorting and uniquifying the output.
alpar@9:       if sort "$nlist" | uniq > "$nlist"T; then
alpar@9: 	mv -f "$nlist"T "$nlist"
alpar@9:       else
alpar@9: 	rm -f "$nlist"T
alpar@9:       fi
alpar@9: 
alpar@9:       # Make sure that we snagged all the symbols we need.
alpar@9:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
alpar@9: 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
alpar@9: 	  cat <<_LT_EOF > conftest.$ac_ext
alpar@9: #ifdef __cplusplus
alpar@9: extern "C" {
alpar@9: #endif
alpar@9: 
alpar@9: _LT_EOF
alpar@9: 	  # Now generate the symbol file.
alpar@9: 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
alpar@9: 
alpar@9: 	  cat <<_LT_EOF >> conftest.$ac_ext
alpar@9: 
alpar@9: /* The mapping between symbol names and symbols.  */
alpar@9: const struct {
alpar@9:   const char *name;
alpar@9:   void       *address;
alpar@9: }
alpar@9: lt__PROGRAM__LTX_preloaded_symbols[] =
alpar@9: {
alpar@9:   { "@PROGRAM@", (void *) 0 },
alpar@9: _LT_EOF
alpar@9: 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
alpar@9: 	  cat <<\_LT_EOF >> conftest.$ac_ext
alpar@9:   {0, (void *) 0}
alpar@9: };
alpar@9: 
alpar@9: /* This works around a problem in FreeBSD linker */
alpar@9: #ifdef FREEBSD_WORKAROUND
alpar@9: static const void *lt_preloaded_setup() {
alpar@9:   return lt__PROGRAM__LTX_preloaded_symbols;
alpar@9: }
alpar@9: #endif
alpar@9: 
alpar@9: #ifdef __cplusplus
alpar@9: }
alpar@9: #endif
alpar@9: _LT_EOF
alpar@9: 	  # Now try linking the two files.
alpar@9: 	  mv conftest.$ac_objext conftstm.$ac_objext
alpar@9: 	  lt_save_LIBS="$LIBS"
alpar@9: 	  lt_save_CFLAGS="$CFLAGS"
alpar@9: 	  LIBS="conftstm.$ac_objext"
alpar@9: 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
alpar@9: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
alpar@9:   (eval $ac_link) 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
alpar@9: 	    pipe_works=yes
alpar@9: 	  fi
alpar@9: 	  LIBS="$lt_save_LIBS"
alpar@9: 	  CFLAGS="$lt_save_CFLAGS"
alpar@9: 	else
alpar@9: 	  echo "cannot find nm_test_func in $nlist" >&5
alpar@9: 	fi
alpar@9:       else
alpar@9: 	echo "cannot find nm_test_var in $nlist" >&5
alpar@9:       fi
alpar@9:     else
alpar@9:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
alpar@9:     fi
alpar@9:   else
alpar@9:     echo "$progname: failed program was:" >&5
alpar@9:     cat conftest.$ac_ext >&5
alpar@9:   fi
alpar@9:   rm -rf conftest* conftst*
alpar@9: 
alpar@9:   # Do not use the global_symbol_pipe unless it works.
alpar@9:   if test "$pipe_works" = yes; then
alpar@9:     break
alpar@9:   else
alpar@9:     lt_cv_sys_global_symbol_pipe=
alpar@9:   fi
alpar@9: done
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: if test -z "$lt_cv_sys_global_symbol_pipe"; then
alpar@9:   lt_cv_sys_global_symbol_to_cdecl=
alpar@9: fi
alpar@9: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
alpar@9: $as_echo "failed" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
alpar@9: $as_echo "ok" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: # Check whether --enable-libtool-lock was given.
alpar@9: if test "${enable_libtool_lock+set}" = set; then :
alpar@9:   enableval=$enable_libtool_lock;
alpar@9: fi
alpar@9: 
alpar@9: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
alpar@9: 
alpar@9: # Some flags need to be propagated to the compiler or linker for good
alpar@9: # libtool support.
alpar@9: case $host in
alpar@9: ia64-*-hpux*)
alpar@9:   # Find out which ABI we are using.
alpar@9:   echo 'int i;' > conftest.$ac_ext
alpar@9:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
alpar@9:   (eval $ac_compile) 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }; then
alpar@9:     case `/usr/bin/file conftest.$ac_objext` in
alpar@9:       *ELF-32*)
alpar@9: 	HPUX_IA64_MODE="32"
alpar@9: 	;;
alpar@9:       *ELF-64*)
alpar@9: 	HPUX_IA64_MODE="64"
alpar@9: 	;;
alpar@9:     esac
alpar@9:   fi
alpar@9:   rm -rf conftest*
alpar@9:   ;;
alpar@9: *-*-irix6*)
alpar@9:   # Find out which ABI we are using.
alpar@9:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
alpar@9:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
alpar@9:   (eval $ac_compile) 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }; then
alpar@9:     if test "$lt_cv_prog_gnu_ld" = yes; then
alpar@9:       case `/usr/bin/file conftest.$ac_objext` in
alpar@9: 	*32-bit*)
alpar@9: 	  LD="${LD-ld} -melf32bsmip"
alpar@9: 	  ;;
alpar@9: 	*N32*)
alpar@9: 	  LD="${LD-ld} -melf32bmipn32"
alpar@9: 	  ;;
alpar@9: 	*64-bit*)
alpar@9: 	  LD="${LD-ld} -melf64bmip"
alpar@9: 	;;
alpar@9:       esac
alpar@9:     else
alpar@9:       case `/usr/bin/file conftest.$ac_objext` in
alpar@9: 	*32-bit*)
alpar@9: 	  LD="${LD-ld} -32"
alpar@9: 	  ;;
alpar@9: 	*N32*)
alpar@9: 	  LD="${LD-ld} -n32"
alpar@9: 	  ;;
alpar@9: 	*64-bit*)
alpar@9: 	  LD="${LD-ld} -64"
alpar@9: 	  ;;
alpar@9:       esac
alpar@9:     fi
alpar@9:   fi
alpar@9:   rm -rf conftest*
alpar@9:   ;;
alpar@9: 
alpar@9: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
alpar@9: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
alpar@9:   # Find out which ABI we are using.
alpar@9:   echo 'int i;' > conftest.$ac_ext
alpar@9:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
alpar@9:   (eval $ac_compile) 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }; then
alpar@9:     case `/usr/bin/file conftest.o` in
alpar@9:       *32-bit*)
alpar@9: 	case $host in
alpar@9: 	  x86_64-*kfreebsd*-gnu)
alpar@9: 	    LD="${LD-ld} -m elf_i386_fbsd"
alpar@9: 	    ;;
alpar@9: 	  x86_64-*linux*)
alpar@9: 	    LD="${LD-ld} -m elf_i386"
alpar@9: 	    ;;
alpar@9: 	  ppc64-*linux*|powerpc64-*linux*)
alpar@9: 	    LD="${LD-ld} -m elf32ppclinux"
alpar@9: 	    ;;
alpar@9: 	  s390x-*linux*)
alpar@9: 	    LD="${LD-ld} -m elf_s390"
alpar@9: 	    ;;
alpar@9: 	  sparc64-*linux*)
alpar@9: 	    LD="${LD-ld} -m elf32_sparc"
alpar@9: 	    ;;
alpar@9: 	esac
alpar@9: 	;;
alpar@9:       *64-bit*)
alpar@9: 	case $host in
alpar@9: 	  x86_64-*kfreebsd*-gnu)
alpar@9: 	    LD="${LD-ld} -m elf_x86_64_fbsd"
alpar@9: 	    ;;
alpar@9: 	  x86_64-*linux*)
alpar@9: 	    LD="${LD-ld} -m elf_x86_64"
alpar@9: 	    ;;
alpar@9: 	  ppc*-*linux*|powerpc*-*linux*)
alpar@9: 	    LD="${LD-ld} -m elf64ppc"
alpar@9: 	    ;;
alpar@9: 	  s390*-*linux*|s390*-*tpf*)
alpar@9: 	    LD="${LD-ld} -m elf64_s390"
alpar@9: 	    ;;
alpar@9: 	  sparc*-*linux*)
alpar@9: 	    LD="${LD-ld} -m elf64_sparc"
alpar@9: 	    ;;
alpar@9: 	esac
alpar@9: 	;;
alpar@9:     esac
alpar@9:   fi
alpar@9:   rm -rf conftest*
alpar@9:   ;;
alpar@9: 
alpar@9: *-*-sco3.2v5*)
alpar@9:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
alpar@9:   SAVE_CFLAGS="$CFLAGS"
alpar@9:   CFLAGS="$CFLAGS -belf"
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
alpar@9: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
alpar@9: if test "${lt_cv_cc_needs_belf+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   ac_ext=c
alpar@9: ac_cpp='$CPP $CPPFLAGS'
alpar@9: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
alpar@9: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
alpar@9: ac_compiler_gnu=$ac_cv_c_compiler_gnu
alpar@9: 
alpar@9:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9:   lt_cv_cc_needs_belf=yes
alpar@9: else
alpar@9:   lt_cv_cc_needs_belf=no
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9:      ac_ext=c
alpar@9: ac_cpp='$CPP $CPPFLAGS'
alpar@9: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
alpar@9: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
alpar@9: ac_compiler_gnu=$ac_cv_c_compiler_gnu
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
alpar@9: $as_echo "$lt_cv_cc_needs_belf" >&6; }
alpar@9:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
alpar@9:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
alpar@9:     CFLAGS="$SAVE_CFLAGS"
alpar@9:   fi
alpar@9:   ;;
alpar@9: sparc*-*solaris*)
alpar@9:   # Find out which ABI we are using.
alpar@9:   echo 'int i;' > conftest.$ac_ext
alpar@9:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
alpar@9:   (eval $ac_compile) 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }; then
alpar@9:     case `/usr/bin/file conftest.o` in
alpar@9:     *64-bit*)
alpar@9:       case $lt_cv_prog_gnu_ld in
alpar@9:       yes*) LD="${LD-ld} -m elf64_sparc" ;;
alpar@9:       *)
alpar@9: 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
alpar@9: 	  LD="${LD-ld} -64"
alpar@9: 	fi
alpar@9: 	;;
alpar@9:       esac
alpar@9:       ;;
alpar@9:     esac
alpar@9:   fi
alpar@9:   rm -rf conftest*
alpar@9:   ;;
alpar@9: esac
alpar@9: 
alpar@9: need_locks="$enable_libtool_lock"
alpar@9: 
alpar@9: 
alpar@9:   case $host_os in
alpar@9:     rhapsody* | darwin*)
alpar@9:     if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$DSYMUTIL"; then
alpar@9:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: DSYMUTIL=$ac_cv_prog_DSYMUTIL
alpar@9: if test -n "$DSYMUTIL"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
alpar@9: $as_echo "$DSYMUTIL" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_DSYMUTIL"; then
alpar@9:   ac_ct_DSYMUTIL=$DSYMUTIL
alpar@9:   # Extract the first word of "dsymutil", so it can be a program name with args.
alpar@9: set dummy dsymutil; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_DSYMUTIL"; then
alpar@9:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
alpar@9: if test -n "$ac_ct_DSYMUTIL"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
alpar@9: $as_echo "$ac_ct_DSYMUTIL" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_DSYMUTIL" = x; then
alpar@9:     DSYMUTIL=":"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     DSYMUTIL=$ac_ct_DSYMUTIL
alpar@9:   fi
alpar@9: else
alpar@9:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
alpar@9: fi
alpar@9: 
alpar@9:     if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_NMEDIT+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$NMEDIT"; then
alpar@9:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: NMEDIT=$ac_cv_prog_NMEDIT
alpar@9: if test -n "$NMEDIT"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
alpar@9: $as_echo "$NMEDIT" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_NMEDIT"; then
alpar@9:   ac_ct_NMEDIT=$NMEDIT
alpar@9:   # Extract the first word of "nmedit", so it can be a program name with args.
alpar@9: set dummy nmedit; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_NMEDIT"; then
alpar@9:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
alpar@9: if test -n "$ac_ct_NMEDIT"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
alpar@9: $as_echo "$ac_ct_NMEDIT" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_NMEDIT" = x; then
alpar@9:     NMEDIT=":"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     NMEDIT=$ac_ct_NMEDIT
alpar@9:   fi
alpar@9: else
alpar@9:   NMEDIT="$ac_cv_prog_NMEDIT"
alpar@9: fi
alpar@9: 
alpar@9:     if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}lipo; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_LIPO+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$LIPO"; then
alpar@9:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: LIPO=$ac_cv_prog_LIPO
alpar@9: if test -n "$LIPO"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
alpar@9: $as_echo "$LIPO" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_LIPO"; then
alpar@9:   ac_ct_LIPO=$LIPO
alpar@9:   # Extract the first word of "lipo", so it can be a program name with args.
alpar@9: set dummy lipo; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_LIPO"; then
alpar@9:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_LIPO="lipo"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
alpar@9: if test -n "$ac_ct_LIPO"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
alpar@9: $as_echo "$ac_ct_LIPO" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_LIPO" = x; then
alpar@9:     LIPO=":"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     LIPO=$ac_ct_LIPO
alpar@9:   fi
alpar@9: else
alpar@9:   LIPO="$ac_cv_prog_LIPO"
alpar@9: fi
alpar@9: 
alpar@9:     if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}otool; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_OTOOL+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$OTOOL"; then
alpar@9:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: OTOOL=$ac_cv_prog_OTOOL
alpar@9: if test -n "$OTOOL"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
alpar@9: $as_echo "$OTOOL" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_OTOOL"; then
alpar@9:   ac_ct_OTOOL=$OTOOL
alpar@9:   # Extract the first word of "otool", so it can be a program name with args.
alpar@9: set dummy otool; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_OTOOL"; then
alpar@9:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_OTOOL="otool"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
alpar@9: if test -n "$ac_ct_OTOOL"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
alpar@9: $as_echo "$ac_ct_OTOOL" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_OTOOL" = x; then
alpar@9:     OTOOL=":"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     OTOOL=$ac_ct_OTOOL
alpar@9:   fi
alpar@9: else
alpar@9:   OTOOL="$ac_cv_prog_OTOOL"
alpar@9: fi
alpar@9: 
alpar@9:     if test -n "$ac_tool_prefix"; then
alpar@9:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
alpar@9: set dummy ${ac_tool_prefix}otool64; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_OTOOL64+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$OTOOL64"; then
alpar@9:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: OTOOL64=$ac_cv_prog_OTOOL64
alpar@9: if test -n "$OTOOL64"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
alpar@9: $as_echo "$OTOOL64" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: if test -z "$ac_cv_prog_OTOOL64"; then
alpar@9:   ac_ct_OTOOL64=$OTOOL64
alpar@9:   # Extract the first word of "otool64", so it can be a program name with args.
alpar@9: set dummy otool64; ac_word=$2
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
alpar@9: $as_echo_n "checking for $ac_word... " >&6; }
alpar@9: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   if test -n "$ac_ct_OTOOL64"; then
alpar@9:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
alpar@9: else
alpar@9: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     for ac_exec_ext in '' $ac_executable_extensions; do
alpar@9:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
alpar@9:     ac_cv_prog_ac_ct_OTOOL64="otool64"
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
alpar@9:     break 2
alpar@9:   fi
alpar@9: done
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
alpar@9: if test -n "$ac_ct_OTOOL64"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
alpar@9: $as_echo "$ac_ct_OTOOL64" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9:   if test "x$ac_ct_OTOOL64" = x; then
alpar@9:     OTOOL64=":"
alpar@9:   else
alpar@9:     case $cross_compiling:$ac_tool_warned in
alpar@9: yes:)
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
alpar@9: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
alpar@9: ac_tool_warned=yes ;;
alpar@9: esac
alpar@9:     OTOOL64=$ac_ct_OTOOL64
alpar@9:   fi
alpar@9: else
alpar@9:   OTOOL64="$ac_cv_prog_OTOOL64"
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
alpar@9: $as_echo_n "checking for -single_module linker flag... " >&6; }
alpar@9: if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_apple_cc_single_mod=no
alpar@9:       if test -z "${LT_MULTI_MODULE}"; then
alpar@9: 	# By default we will add the -single_module flag. You can override
alpar@9: 	# by either setting the environment variable LT_MULTI_MODULE
alpar@9: 	# non-empty at configure time, or by adding -multi_module to the
alpar@9: 	# link flags.
alpar@9: 	rm -rf libconftest.dylib*
alpar@9: 	echo "int foo(void){return 1;}" > conftest.c
alpar@9: 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
alpar@9: -dynamiclib -Wl,-single_module conftest.c" >&5
alpar@9: 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
alpar@9: 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
alpar@9:         _lt_result=$?
alpar@9: 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
alpar@9: 	  lt_cv_apple_cc_single_mod=yes
alpar@9: 	else
alpar@9: 	  cat conftest.err >&5
alpar@9: 	fi
alpar@9: 	rm -rf libconftest.dylib*
alpar@9: 	rm -f conftest.*
alpar@9:       fi
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
alpar@9: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
alpar@9: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
alpar@9: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_ld_exported_symbols_list=no
alpar@9:       save_LDFLAGS=$LDFLAGS
alpar@9:       echo "_main" > conftest.sym
alpar@9:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
alpar@9:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9:   lt_cv_ld_exported_symbols_list=yes
alpar@9: else
alpar@9:   lt_cv_ld_exported_symbols_list=no
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9: 	LDFLAGS="$save_LDFLAGS"
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
alpar@9: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
alpar@9: $as_echo_n "checking for -force_load linker flag... " >&6; }
alpar@9: if test "${lt_cv_ld_force_load+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_ld_force_load=no
alpar@9:       cat > conftest.c << _LT_EOF
alpar@9: int forced_loaded() { return 2;}
alpar@9: _LT_EOF
alpar@9:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
alpar@9:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
alpar@9:       echo "$AR cru libconftest.a conftest.o" >&5
alpar@9:       $AR cru libconftest.a conftest.o 2>&5
alpar@9:       cat > conftest.c << _LT_EOF
alpar@9: int main() { return 0;}
alpar@9: _LT_EOF
alpar@9:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
alpar@9:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
alpar@9:       _lt_result=$?
alpar@9:       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
alpar@9: 	lt_cv_ld_force_load=yes
alpar@9:       else
alpar@9: 	cat conftest.err >&5
alpar@9:       fi
alpar@9:         rm -f conftest.err libconftest.a conftest conftest.c
alpar@9:         rm -rf conftest.dSYM
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
alpar@9: $as_echo "$lt_cv_ld_force_load" >&6; }
alpar@9:     case $host_os in
alpar@9:     rhapsody* | darwin1.[012])
alpar@9:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
alpar@9:     darwin1.*)
alpar@9:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
alpar@9:     darwin*) # darwin 5.x on
alpar@9:       # if running on 10.5 or later, the deployment target defaults
alpar@9:       # to the OS version, if on x86, and 10.4, the deployment
alpar@9:       # target defaults to 10.4. Don't you love it?
alpar@9:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
alpar@9: 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
alpar@9: 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
alpar@9: 	10.[012]*)
alpar@9: 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
alpar@9: 	10.*)
alpar@9: 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
alpar@9:       esac
alpar@9:     ;;
alpar@9:   esac
alpar@9:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
alpar@9:       _lt_dar_single_mod='$single_module'
alpar@9:     fi
alpar@9:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
alpar@9:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
alpar@9:     else
alpar@9:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
alpar@9:     fi
alpar@9:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
alpar@9:       _lt_dsymutil='~$DSYMUTIL $lib || :'
alpar@9:     else
alpar@9:       _lt_dsymutil=
alpar@9:     fi
alpar@9:     ;;
alpar@9:   esac
alpar@9: 
alpar@9: ac_ext=c
alpar@9: ac_cpp='$CPP $CPPFLAGS'
alpar@9: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
alpar@9: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
alpar@9: ac_compiler_gnu=$ac_cv_c_compiler_gnu
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
alpar@9: $as_echo_n "checking how to run the C preprocessor... " >&6; }
alpar@9: # On Suns, sometimes $CPP names a directory.
alpar@9: if test -n "$CPP" && test -d "$CPP"; then
alpar@9:   CPP=
alpar@9: fi
alpar@9: if test -z "$CPP"; then
alpar@9:   if test "${ac_cv_prog_CPP+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:       # Double quotes because CPP needs to be expanded
alpar@9:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
alpar@9:     do
alpar@9:       ac_preproc_ok=false
alpar@9: for ac_c_preproc_warn_flag in '' yes
alpar@9: do
alpar@9:   # Use a header file that comes with gcc, so configuring glibc
alpar@9:   # with a fresh cross-compiler works.
alpar@9:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
alpar@9:   # <limits.h> exists even on freestanding compilers.
alpar@9:   # On the NeXT, cc -E runs the code through the compiler's parser,
alpar@9:   # not just through cpp. "Syntax error" is here to catch this case.
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: #ifdef __STDC__
alpar@9: # include <limits.h>
alpar@9: #else
alpar@9: # include <assert.h>
alpar@9: #endif
alpar@9: 		     Syntax error
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_cpp "$LINENO"; then :
alpar@9: 
alpar@9: else
alpar@9:   # Broken: fails on valid input.
alpar@9: continue
alpar@9: fi
alpar@9: rm -f conftest.err conftest.$ac_ext
alpar@9: 
alpar@9:   # OK, works on sane cases.  Now check whether nonexistent headers
alpar@9:   # can be detected and how.
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: #include <ac_nonexistent.h>
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_cpp "$LINENO"; then :
alpar@9:   # Broken: success on invalid input.
alpar@9: continue
alpar@9: else
alpar@9:   # Passes both tests.
alpar@9: ac_preproc_ok=:
alpar@9: break
alpar@9: fi
alpar@9: rm -f conftest.err conftest.$ac_ext
alpar@9: 
alpar@9: done
alpar@9: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
alpar@9: rm -f conftest.err conftest.$ac_ext
alpar@9: if $ac_preproc_ok; then :
alpar@9:   break
alpar@9: fi
alpar@9: 
alpar@9:     done
alpar@9:     ac_cv_prog_CPP=$CPP
alpar@9: 
alpar@9: fi
alpar@9:   CPP=$ac_cv_prog_CPP
alpar@9: else
alpar@9:   ac_cv_prog_CPP=$CPP
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
alpar@9: $as_echo "$CPP" >&6; }
alpar@9: ac_preproc_ok=false
alpar@9: for ac_c_preproc_warn_flag in '' yes
alpar@9: do
alpar@9:   # Use a header file that comes with gcc, so configuring glibc
alpar@9:   # with a fresh cross-compiler works.
alpar@9:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
alpar@9:   # <limits.h> exists even on freestanding compilers.
alpar@9:   # On the NeXT, cc -E runs the code through the compiler's parser,
alpar@9:   # not just through cpp. "Syntax error" is here to catch this case.
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: #ifdef __STDC__
alpar@9: # include <limits.h>
alpar@9: #else
alpar@9: # include <assert.h>
alpar@9: #endif
alpar@9: 		     Syntax error
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_cpp "$LINENO"; then :
alpar@9: 
alpar@9: else
alpar@9:   # Broken: fails on valid input.
alpar@9: continue
alpar@9: fi
alpar@9: rm -f conftest.err conftest.$ac_ext
alpar@9: 
alpar@9:   # OK, works on sane cases.  Now check whether nonexistent headers
alpar@9:   # can be detected and how.
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: #include <ac_nonexistent.h>
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_cpp "$LINENO"; then :
alpar@9:   # Broken: success on invalid input.
alpar@9: continue
alpar@9: else
alpar@9:   # Passes both tests.
alpar@9: ac_preproc_ok=:
alpar@9: break
alpar@9: fi
alpar@9: rm -f conftest.err conftest.$ac_ext
alpar@9: 
alpar@9: done
alpar@9: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
alpar@9: rm -f conftest.err conftest.$ac_ext
alpar@9: if $ac_preproc_ok; then :
alpar@9: 
alpar@9: else
alpar@9:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
alpar@9: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
alpar@9: as_fn_error "C preprocessor \"$CPP\" fails sanity check
alpar@9: See \`config.log' for more details." "$LINENO" 5; }
alpar@9: fi
alpar@9: 
alpar@9: ac_ext=c
alpar@9: ac_cpp='$CPP $CPPFLAGS'
alpar@9: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
alpar@9: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
alpar@9: ac_compiler_gnu=$ac_cv_c_compiler_gnu
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
alpar@9: $as_echo_n "checking for ANSI C header files... " >&6; }
alpar@9: if test "${ac_cv_header_stdc+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: #include <stdlib.h>
alpar@9: #include <stdarg.h>
alpar@9: #include <string.h>
alpar@9: #include <float.h>
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_compile "$LINENO"; then :
alpar@9:   ac_cv_header_stdc=yes
alpar@9: else
alpar@9:   ac_cv_header_stdc=no
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
alpar@9: 
alpar@9: if test $ac_cv_header_stdc = yes; then
alpar@9:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: #include <string.h>
alpar@9: 
alpar@9: _ACEOF
alpar@9: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
alpar@9:   $EGREP "memchr" >/dev/null 2>&1; then :
alpar@9: 
alpar@9: else
alpar@9:   ac_cv_header_stdc=no
alpar@9: fi
alpar@9: rm -f conftest*
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: if test $ac_cv_header_stdc = yes; then
alpar@9:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: #include <stdlib.h>
alpar@9: 
alpar@9: _ACEOF
alpar@9: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
alpar@9:   $EGREP "free" >/dev/null 2>&1; then :
alpar@9: 
alpar@9: else
alpar@9:   ac_cv_header_stdc=no
alpar@9: fi
alpar@9: rm -f conftest*
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: if test $ac_cv_header_stdc = yes; then
alpar@9:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
alpar@9:   if test "$cross_compiling" = yes; then :
alpar@9:   :
alpar@9: else
alpar@9:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: #include <ctype.h>
alpar@9: #include <stdlib.h>
alpar@9: #if ((' ' & 0x0FF) == 0x020)
alpar@9: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
alpar@9: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
alpar@9: #else
alpar@9: # define ISLOWER(c) \
alpar@9: 		   (('a' <= (c) && (c) <= 'i') \
alpar@9: 		     || ('j' <= (c) && (c) <= 'r') \
alpar@9: 		     || ('s' <= (c) && (c) <= 'z'))
alpar@9: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
alpar@9: #endif
alpar@9: 
alpar@9: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9:   int i;
alpar@9:   for (i = 0; i < 256; i++)
alpar@9:     if (XOR (islower (i), ISLOWER (i))
alpar@9: 	|| toupper (i) != TOUPPER (i))
alpar@9:       return 2;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_run "$LINENO"; then :
alpar@9: 
alpar@9: else
alpar@9:   ac_cv_header_stdc=no
alpar@9: fi
alpar@9: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
alpar@9:   conftest.$ac_objext conftest.beam conftest.$ac_ext
alpar@9: fi
alpar@9: 
alpar@9: fi
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
alpar@9: $as_echo "$ac_cv_header_stdc" >&6; }
alpar@9: if test $ac_cv_header_stdc = yes; then
alpar@9: 
alpar@9: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
alpar@9: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
alpar@9: 		  inttypes.h stdint.h unistd.h
alpar@9: do :
alpar@9:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
alpar@9: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
alpar@9: "
alpar@9: eval as_val=\$$as_ac_Header
alpar@9:    if test "x$as_val" = x""yes; then :
alpar@9:   cat >>confdefs.h <<_ACEOF
alpar@9: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
alpar@9: _ACEOF
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: done
alpar@9: 
alpar@9: 
alpar@9: for ac_header in dlfcn.h
alpar@9: do :
alpar@9:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
alpar@9: "
alpar@9: if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
alpar@9:   cat >>confdefs.h <<_ACEOF
alpar@9: #define HAVE_DLFCN_H 1
alpar@9: _ACEOF
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: done
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: # Set options
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:         enable_dlopen=no
alpar@9: 
alpar@9: 
alpar@9:   enable_win32_dll=no
alpar@9: 
alpar@9: 
alpar@9:             # Check whether --enable-shared was given.
alpar@9: if test "${enable_shared+set}" = set; then :
alpar@9:   enableval=$enable_shared; p=${PACKAGE-default}
alpar@9:     case $enableval in
alpar@9:     yes) enable_shared=yes ;;
alpar@9:     no) enable_shared=no ;;
alpar@9:     *)
alpar@9:       enable_shared=no
alpar@9:       # Look at the argument we got.  We use all the common list separators.
alpar@9:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
alpar@9:       for pkg in $enableval; do
alpar@9: 	IFS="$lt_save_ifs"
alpar@9: 	if test "X$pkg" = "X$p"; then
alpar@9: 	  enable_shared=yes
alpar@9: 	fi
alpar@9:       done
alpar@9:       IFS="$lt_save_ifs"
alpar@9:       ;;
alpar@9:     esac
alpar@9: else
alpar@9:   enable_shared=yes
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:   # Check whether --enable-static was given.
alpar@9: if test "${enable_static+set}" = set; then :
alpar@9:   enableval=$enable_static; p=${PACKAGE-default}
alpar@9:     case $enableval in
alpar@9:     yes) enable_static=yes ;;
alpar@9:     no) enable_static=no ;;
alpar@9:     *)
alpar@9:      enable_static=no
alpar@9:       # Look at the argument we got.  We use all the common list separators.
alpar@9:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
alpar@9:       for pkg in $enableval; do
alpar@9: 	IFS="$lt_save_ifs"
alpar@9: 	if test "X$pkg" = "X$p"; then
alpar@9: 	  enable_static=yes
alpar@9: 	fi
alpar@9:       done
alpar@9:       IFS="$lt_save_ifs"
alpar@9:       ;;
alpar@9:     esac
alpar@9: else
alpar@9:   enable_static=yes
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: # Check whether --with-pic was given.
alpar@9: if test "${with_pic+set}" = set; then :
alpar@9:   withval=$with_pic; pic_mode="$withval"
alpar@9: else
alpar@9:   pic_mode=default
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: test -z "$pic_mode" && pic_mode=default
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:   # Check whether --enable-fast-install was given.
alpar@9: if test "${enable_fast_install+set}" = set; then :
alpar@9:   enableval=$enable_fast_install; p=${PACKAGE-default}
alpar@9:     case $enableval in
alpar@9:     yes) enable_fast_install=yes ;;
alpar@9:     no) enable_fast_install=no ;;
alpar@9:     *)
alpar@9:       enable_fast_install=no
alpar@9:       # Look at the argument we got.  We use all the common list separators.
alpar@9:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
alpar@9:       for pkg in $enableval; do
alpar@9: 	IFS="$lt_save_ifs"
alpar@9: 	if test "X$pkg" = "X$p"; then
alpar@9: 	  enable_fast_install=yes
alpar@9: 	fi
alpar@9:       done
alpar@9:       IFS="$lt_save_ifs"
alpar@9:       ;;
alpar@9:     esac
alpar@9: else
alpar@9:   enable_fast_install=yes
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: # This can be used to rebuild libtool when needed
alpar@9: LIBTOOL_DEPS="$ltmain"
alpar@9: 
alpar@9: # Always use our own libtool.
alpar@9: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: test -z "$LN_S" && LN_S="ln -s"
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: if test -n "${ZSH_VERSION+set}" ; then
alpar@9:    setopt NO_GLOB_SUBST
alpar@9: fi
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
alpar@9: $as_echo_n "checking for objdir... " >&6; }
alpar@9: if test "${lt_cv_objdir+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   rm -f .libs 2>/dev/null
alpar@9: mkdir .libs 2>/dev/null
alpar@9: if test -d .libs; then
alpar@9:   lt_cv_objdir=.libs
alpar@9: else
alpar@9:   # MS-DOS does not allow filenames that begin with a dot.
alpar@9:   lt_cv_objdir=_libs
alpar@9: fi
alpar@9: rmdir .libs 2>/dev/null
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
alpar@9: $as_echo "$lt_cv_objdir" >&6; }
alpar@9: objdir=$lt_cv_objdir
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define LT_OBJDIR "$lt_cv_objdir/"
alpar@9: _ACEOF
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: case $host_os in
alpar@9: aix3*)
alpar@9:   # AIX sometimes has problems with the GCC collect2 program.  For some
alpar@9:   # reason, if we set the COLLECT_NAMES environment variable, the problems
alpar@9:   # vanish in a puff of smoke.
alpar@9:   if test "X${COLLECT_NAMES+set}" != Xset; then
alpar@9:     COLLECT_NAMES=
alpar@9:     export COLLECT_NAMES
alpar@9:   fi
alpar@9:   ;;
alpar@9: esac
alpar@9: 
alpar@9: # Global variables:
alpar@9: ofile=libtool
alpar@9: can_build_shared=yes
alpar@9: 
alpar@9: # All known linkers require a `.a' archive for static linking (except MSVC,
alpar@9: # which needs '.lib').
alpar@9: libext=a
alpar@9: 
alpar@9: with_gnu_ld="$lt_cv_prog_gnu_ld"
alpar@9: 
alpar@9: old_CC="$CC"
alpar@9: old_CFLAGS="$CFLAGS"
alpar@9: 
alpar@9: # Set sane defaults for various variables
alpar@9: test -z "$CC" && CC=cc
alpar@9: test -z "$LTCC" && LTCC=$CC
alpar@9: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
alpar@9: test -z "$LD" && LD=ld
alpar@9: test -z "$ac_objext" && ac_objext=o
alpar@9: 
alpar@9: for cc_temp in $compiler""; do
alpar@9:   case $cc_temp in
alpar@9:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
alpar@9:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
alpar@9:     \-*) ;;
alpar@9:     *) break;;
alpar@9:   esac
alpar@9: done
alpar@9: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
alpar@9: 
alpar@9: 
alpar@9: # Only perform the check for file, if the check method requires it
alpar@9: test -z "$MAGIC_CMD" && MAGIC_CMD=file
alpar@9: case $deplibs_check_method in
alpar@9: file_magic*)
alpar@9:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
alpar@9: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
alpar@9: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   case $MAGIC_CMD in
alpar@9: [\\/*] |  ?:[\\/]*)
alpar@9:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
alpar@9:   ;;
alpar@9: *)
alpar@9:   lt_save_MAGIC_CMD="$MAGIC_CMD"
alpar@9:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
alpar@9:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
alpar@9:   for ac_dir in $ac_dummy; do
alpar@9:     IFS="$lt_save_ifs"
alpar@9:     test -z "$ac_dir" && ac_dir=.
alpar@9:     if test -f $ac_dir/${ac_tool_prefix}file; then
alpar@9:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
alpar@9:       if test -n "$file_magic_test_file"; then
alpar@9: 	case $deplibs_check_method in
alpar@9: 	"file_magic "*)
alpar@9: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
alpar@9: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
alpar@9: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
alpar@9: 	    $EGREP "$file_magic_regex" > /dev/null; then
alpar@9: 	    :
alpar@9: 	  else
alpar@9: 	    cat <<_LT_EOF 1>&2
alpar@9: 
alpar@9: *** Warning: the command libtool uses to detect shared libraries,
alpar@9: *** $file_magic_cmd, produces output that libtool cannot recognize.
alpar@9: *** The result is that libtool may fail to recognize shared libraries
alpar@9: *** as such.  This will affect the creation of libtool libraries that
alpar@9: *** depend on shared libraries, but programs linked with such libtool
alpar@9: *** libraries will work regardless of this problem.  Nevertheless, you
alpar@9: *** may want to report the problem to your system manager and/or to
alpar@9: *** bug-libtool@gnu.org
alpar@9: 
alpar@9: _LT_EOF
alpar@9: 	  fi ;;
alpar@9: 	esac
alpar@9:       fi
alpar@9:       break
alpar@9:     fi
alpar@9:   done
alpar@9:   IFS="$lt_save_ifs"
alpar@9:   MAGIC_CMD="$lt_save_MAGIC_CMD"
alpar@9:   ;;
alpar@9: esac
alpar@9: fi
alpar@9: 
alpar@9: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
alpar@9: if test -n "$MAGIC_CMD"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
alpar@9: $as_echo "$MAGIC_CMD" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: if test -z "$lt_cv_path_MAGIC_CMD"; then
alpar@9:   if test -n "$ac_tool_prefix"; then
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
alpar@9: $as_echo_n "checking for file... " >&6; }
alpar@9: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   case $MAGIC_CMD in
alpar@9: [\\/*] |  ?:[\\/]*)
alpar@9:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
alpar@9:   ;;
alpar@9: *)
alpar@9:   lt_save_MAGIC_CMD="$MAGIC_CMD"
alpar@9:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
alpar@9:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
alpar@9:   for ac_dir in $ac_dummy; do
alpar@9:     IFS="$lt_save_ifs"
alpar@9:     test -z "$ac_dir" && ac_dir=.
alpar@9:     if test -f $ac_dir/file; then
alpar@9:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
alpar@9:       if test -n "$file_magic_test_file"; then
alpar@9: 	case $deplibs_check_method in
alpar@9: 	"file_magic "*)
alpar@9: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
alpar@9: 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
alpar@9: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
alpar@9: 	    $EGREP "$file_magic_regex" > /dev/null; then
alpar@9: 	    :
alpar@9: 	  else
alpar@9: 	    cat <<_LT_EOF 1>&2
alpar@9: 
alpar@9: *** Warning: the command libtool uses to detect shared libraries,
alpar@9: *** $file_magic_cmd, produces output that libtool cannot recognize.
alpar@9: *** The result is that libtool may fail to recognize shared libraries
alpar@9: *** as such.  This will affect the creation of libtool libraries that
alpar@9: *** depend on shared libraries, but programs linked with such libtool
alpar@9: *** libraries will work regardless of this problem.  Nevertheless, you
alpar@9: *** may want to report the problem to your system manager and/or to
alpar@9: *** bug-libtool@gnu.org
alpar@9: 
alpar@9: _LT_EOF
alpar@9: 	  fi ;;
alpar@9: 	esac
alpar@9:       fi
alpar@9:       break
alpar@9:     fi
alpar@9:   done
alpar@9:   IFS="$lt_save_ifs"
alpar@9:   MAGIC_CMD="$lt_save_MAGIC_CMD"
alpar@9:   ;;
alpar@9: esac
alpar@9: fi
alpar@9: 
alpar@9: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
alpar@9: if test -n "$MAGIC_CMD"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
alpar@9: $as_echo "$MAGIC_CMD" >&6; }
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9:   else
alpar@9:     MAGIC_CMD=:
alpar@9:   fi
alpar@9: fi
alpar@9: 
alpar@9:   fi
alpar@9:   ;;
alpar@9: esac
alpar@9: 
alpar@9: # Use C for the default configuration in the libtool script
alpar@9: 
alpar@9: lt_save_CC="$CC"
alpar@9: ac_ext=c
alpar@9: ac_cpp='$CPP $CPPFLAGS'
alpar@9: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
alpar@9: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
alpar@9: ac_compiler_gnu=$ac_cv_c_compiler_gnu
alpar@9: 
alpar@9: 
alpar@9: # Source file extension for C test sources.
alpar@9: ac_ext=c
alpar@9: 
alpar@9: # Object file extension for compiled C test sources.
alpar@9: objext=o
alpar@9: objext=$objext
alpar@9: 
alpar@9: # Code to be used in simple compile tests
alpar@9: lt_simple_compile_test_code="int some_variable = 0;"
alpar@9: 
alpar@9: # Code to be used in simple link tests
alpar@9: lt_simple_link_test_code='int main(){return(0);}'
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: # If no C compiler was specified, use CC.
alpar@9: LTCC=${LTCC-"$CC"}
alpar@9: 
alpar@9: # If no C compiler flags were specified, use CFLAGS.
alpar@9: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
alpar@9: 
alpar@9: # Allow CC to be a program name with arguments.
alpar@9: compiler=$CC
alpar@9: 
alpar@9: # Save the default compiler, since it gets overwritten when the other
alpar@9: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
alpar@9: compiler_DEFAULT=$CC
alpar@9: 
alpar@9: # save warnings/boilerplate of simple test code
alpar@9: ac_outfile=conftest.$ac_objext
alpar@9: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
alpar@9: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
alpar@9: _lt_compiler_boilerplate=`cat conftest.err`
alpar@9: $RM conftest*
alpar@9: 
alpar@9: ac_outfile=conftest.$ac_objext
alpar@9: echo "$lt_simple_link_test_code" >conftest.$ac_ext
alpar@9: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
alpar@9: _lt_linker_boilerplate=`cat conftest.err`
alpar@9: $RM -r conftest*
alpar@9: 
alpar@9: 
alpar@9: ## CAVEAT EMPTOR:
alpar@9: ## There is no encapsulation within the following macros, do not change
alpar@9: ## the running order or otherwise move them around unless you know exactly
alpar@9: ## what you are doing...
alpar@9: if test -n "$compiler"; then
alpar@9: 
alpar@9: lt_prog_compiler_no_builtin_flag=
alpar@9: 
alpar@9: if test "$GCC" = yes; then
alpar@9:   case $cc_basename in
alpar@9:   nvcc*)
alpar@9:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
alpar@9:   *)
alpar@9:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
alpar@9:   esac
alpar@9: 
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
alpar@9: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
alpar@9: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_prog_compiler_rtti_exceptions=no
alpar@9:    ac_outfile=conftest.$ac_objext
alpar@9:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
alpar@9:    lt_compiler_flag="-fno-rtti -fno-exceptions"
alpar@9:    # Insert the option either (1) after the last *FLAGS variable, or
alpar@9:    # (2) before a word containing "conftest.", or (3) at the end.
alpar@9:    # Note that $ac_compile itself does not contain backslashes and begins
alpar@9:    # with a dollar sign (not a hyphen), so the echo should work correctly.
alpar@9:    # The option is referenced via a variable to avoid confusing sed.
alpar@9:    lt_compile=`echo "$ac_compile" | $SED \
alpar@9:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
alpar@9:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
alpar@9:    -e 's:$: $lt_compiler_flag:'`
alpar@9:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
alpar@9:    (eval "$lt_compile" 2>conftest.err)
alpar@9:    ac_status=$?
alpar@9:    cat conftest.err >&5
alpar@9:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
alpar@9:    if (exit $ac_status) && test -s "$ac_outfile"; then
alpar@9:      # The compiler can only warn and ignore the option if not recognized
alpar@9:      # So say no if there are warnings other than the usual output.
alpar@9:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
alpar@9:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
alpar@9:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
alpar@9:        lt_cv_prog_compiler_rtti_exceptions=yes
alpar@9:      fi
alpar@9:    fi
alpar@9:    $RM conftest*
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
alpar@9: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
alpar@9: 
alpar@9: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
alpar@9:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
alpar@9: else
alpar@9:     :
alpar@9: fi
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:   lt_prog_compiler_wl=
alpar@9: lt_prog_compiler_pic=
alpar@9: lt_prog_compiler_static=
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
alpar@9: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
alpar@9: 
alpar@9:   if test "$GCC" = yes; then
alpar@9:     lt_prog_compiler_wl='-Wl,'
alpar@9:     lt_prog_compiler_static='-static'
alpar@9: 
alpar@9:     case $host_os in
alpar@9:       aix*)
alpar@9:       # All AIX code is PIC.
alpar@9:       if test "$host_cpu" = ia64; then
alpar@9: 	# AIX 5 now supports IA64 processor
alpar@9: 	lt_prog_compiler_static='-Bstatic'
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     amigaos*)
alpar@9:       case $host_cpu in
alpar@9:       powerpc)
alpar@9:             # see comment about AmigaOS4 .so support
alpar@9:             lt_prog_compiler_pic='-fPIC'
alpar@9:         ;;
alpar@9:       m68k)
alpar@9:             # FIXME: we need at least 68020 code to build shared libraries, but
alpar@9:             # adding the `-m68020' flag to GCC prevents building anything better,
alpar@9:             # like `-m68040'.
alpar@9:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
alpar@9:         ;;
alpar@9:       esac
alpar@9:       ;;
alpar@9: 
alpar@9:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
alpar@9:       # PIC is the default for these OSes.
alpar@9:       ;;
alpar@9: 
alpar@9:     mingw* | cygwin* | pw32* | os2* | cegcc*)
alpar@9:       # This hack is so that the source file can tell whether it is being
alpar@9:       # built for inclusion in a dll (and should export symbols for example).
alpar@9:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
alpar@9:       # (--disable-auto-import) libraries
alpar@9:       lt_prog_compiler_pic='-DDLL_EXPORT'
alpar@9:       ;;
alpar@9: 
alpar@9:     darwin* | rhapsody*)
alpar@9:       # PIC is the default on this platform
alpar@9:       # Common symbols not allowed in MH_DYLIB files
alpar@9:       lt_prog_compiler_pic='-fno-common'
alpar@9:       ;;
alpar@9: 
alpar@9:     haiku*)
alpar@9:       # PIC is the default for Haiku.
alpar@9:       # The "-static" flag exists, but is broken.
alpar@9:       lt_prog_compiler_static=
alpar@9:       ;;
alpar@9: 
alpar@9:     hpux*)
alpar@9:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
alpar@9:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
alpar@9:       # sets the default TLS model and affects inlining.
alpar@9:       case $host_cpu in
alpar@9:       hppa*64*)
alpar@9: 	# +Z the default
alpar@9: 	;;
alpar@9:       *)
alpar@9: 	lt_prog_compiler_pic='-fPIC'
alpar@9: 	;;
alpar@9:       esac
alpar@9:       ;;
alpar@9: 
alpar@9:     interix[3-9]*)
alpar@9:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
alpar@9:       # Instead, we relocate shared libraries at runtime.
alpar@9:       ;;
alpar@9: 
alpar@9:     msdosdjgpp*)
alpar@9:       # Just because we use GCC doesn't mean we suddenly get shared libraries
alpar@9:       # on systems that don't support them.
alpar@9:       lt_prog_compiler_can_build_shared=no
alpar@9:       enable_shared=no
alpar@9:       ;;
alpar@9: 
alpar@9:     *nto* | *qnx*)
alpar@9:       # QNX uses GNU C++, but need to define -shared option too, otherwise
alpar@9:       # it will coredump.
alpar@9:       lt_prog_compiler_pic='-fPIC -shared'
alpar@9:       ;;
alpar@9: 
alpar@9:     sysv4*MP*)
alpar@9:       if test -d /usr/nec; then
alpar@9: 	lt_prog_compiler_pic=-Kconform_pic
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     *)
alpar@9:       lt_prog_compiler_pic='-fPIC'
alpar@9:       ;;
alpar@9:     esac
alpar@9: 
alpar@9:     case $cc_basename in
alpar@9:     nvcc*) # Cuda Compiler Driver 2.2
alpar@9:       lt_prog_compiler_wl='-Xlinker '
alpar@9:       lt_prog_compiler_pic='-Xcompiler -fPIC'
alpar@9:       ;;
alpar@9:     esac
alpar@9:   else
alpar@9:     # PORTME Check for flag to pass linker flags through the system compiler.
alpar@9:     case $host_os in
alpar@9:     aix*)
alpar@9:       lt_prog_compiler_wl='-Wl,'
alpar@9:       if test "$host_cpu" = ia64; then
alpar@9: 	# AIX 5 now supports IA64 processor
alpar@9: 	lt_prog_compiler_static='-Bstatic'
alpar@9:       else
alpar@9: 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     mingw* | cygwin* | pw32* | os2* | cegcc*)
alpar@9:       # This hack is so that the source file can tell whether it is being
alpar@9:       # built for inclusion in a dll (and should export symbols for example).
alpar@9:       lt_prog_compiler_pic='-DDLL_EXPORT'
alpar@9:       ;;
alpar@9: 
alpar@9:     hpux9* | hpux10* | hpux11*)
alpar@9:       lt_prog_compiler_wl='-Wl,'
alpar@9:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
alpar@9:       # not for PA HP-UX.
alpar@9:       case $host_cpu in
alpar@9:       hppa*64*|ia64*)
alpar@9: 	# +Z the default
alpar@9: 	;;
alpar@9:       *)
alpar@9: 	lt_prog_compiler_pic='+Z'
alpar@9: 	;;
alpar@9:       esac
alpar@9:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
alpar@9:       lt_prog_compiler_static='${wl}-a ${wl}archive'
alpar@9:       ;;
alpar@9: 
alpar@9:     irix5* | irix6* | nonstopux*)
alpar@9:       lt_prog_compiler_wl='-Wl,'
alpar@9:       # PIC (with -KPIC) is the default.
alpar@9:       lt_prog_compiler_static='-non_shared'
alpar@9:       ;;
alpar@9: 
alpar@9:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
alpar@9:       case $cc_basename in
alpar@9:       # old Intel for x86_64 which still supported -KPIC.
alpar@9:       ecc*)
alpar@9: 	lt_prog_compiler_wl='-Wl,'
alpar@9: 	lt_prog_compiler_pic='-KPIC'
alpar@9: 	lt_prog_compiler_static='-static'
alpar@9:         ;;
alpar@9:       # icc used to be incompatible with GCC.
alpar@9:       # ICC 10 doesn't accept -KPIC any more.
alpar@9:       icc* | ifort*)
alpar@9: 	lt_prog_compiler_wl='-Wl,'
alpar@9: 	lt_prog_compiler_pic='-fPIC'
alpar@9: 	lt_prog_compiler_static='-static'
alpar@9:         ;;
alpar@9:       # Lahey Fortran 8.1.
alpar@9:       lf95*)
alpar@9: 	lt_prog_compiler_wl='-Wl,'
alpar@9: 	lt_prog_compiler_pic='--shared'
alpar@9: 	lt_prog_compiler_static='--static'
alpar@9: 	;;
alpar@9:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
alpar@9:         # Portland Group compilers (*not* the Pentium gcc compiler,
alpar@9: 	# which looks to be a dead project)
alpar@9: 	lt_prog_compiler_wl='-Wl,'
alpar@9: 	lt_prog_compiler_pic='-fpic'
alpar@9: 	lt_prog_compiler_static='-Bstatic'
alpar@9:         ;;
alpar@9:       ccc*)
alpar@9:         lt_prog_compiler_wl='-Wl,'
alpar@9:         # All Alpha code is PIC.
alpar@9:         lt_prog_compiler_static='-non_shared'
alpar@9:         ;;
alpar@9:       xl* | bgxl* | bgf* | mpixl*)
alpar@9: 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
alpar@9: 	lt_prog_compiler_wl='-Wl,'
alpar@9: 	lt_prog_compiler_pic='-qpic'
alpar@9: 	lt_prog_compiler_static='-qstaticlink'
alpar@9: 	;;
alpar@9:       *)
alpar@9: 	case `$CC -V 2>&1 | sed 5q` in
alpar@9: 	*Sun\ F* | *Sun*Fortran*)
alpar@9: 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
alpar@9: 	  lt_prog_compiler_pic='-KPIC'
alpar@9: 	  lt_prog_compiler_static='-Bstatic'
alpar@9: 	  lt_prog_compiler_wl=''
alpar@9: 	  ;;
alpar@9: 	*Sun\ C*)
alpar@9: 	  # Sun C 5.9
alpar@9: 	  lt_prog_compiler_pic='-KPIC'
alpar@9: 	  lt_prog_compiler_static='-Bstatic'
alpar@9: 	  lt_prog_compiler_wl='-Wl,'
alpar@9: 	  ;;
alpar@9: 	esac
alpar@9: 	;;
alpar@9:       esac
alpar@9:       ;;
alpar@9: 
alpar@9:     newsos6)
alpar@9:       lt_prog_compiler_pic='-KPIC'
alpar@9:       lt_prog_compiler_static='-Bstatic'
alpar@9:       ;;
alpar@9: 
alpar@9:     *nto* | *qnx*)
alpar@9:       # QNX uses GNU C++, but need to define -shared option too, otherwise
alpar@9:       # it will coredump.
alpar@9:       lt_prog_compiler_pic='-fPIC -shared'
alpar@9:       ;;
alpar@9: 
alpar@9:     osf3* | osf4* | osf5*)
alpar@9:       lt_prog_compiler_wl='-Wl,'
alpar@9:       # All OSF/1 code is PIC.
alpar@9:       lt_prog_compiler_static='-non_shared'
alpar@9:       ;;
alpar@9: 
alpar@9:     rdos*)
alpar@9:       lt_prog_compiler_static='-non_shared'
alpar@9:       ;;
alpar@9: 
alpar@9:     solaris*)
alpar@9:       lt_prog_compiler_pic='-KPIC'
alpar@9:       lt_prog_compiler_static='-Bstatic'
alpar@9:       case $cc_basename in
alpar@9:       f77* | f90* | f95*)
alpar@9: 	lt_prog_compiler_wl='-Qoption ld ';;
alpar@9:       *)
alpar@9: 	lt_prog_compiler_wl='-Wl,';;
alpar@9:       esac
alpar@9:       ;;
alpar@9: 
alpar@9:     sunos4*)
alpar@9:       lt_prog_compiler_wl='-Qoption ld '
alpar@9:       lt_prog_compiler_pic='-PIC'
alpar@9:       lt_prog_compiler_static='-Bstatic'
alpar@9:       ;;
alpar@9: 
alpar@9:     sysv4 | sysv4.2uw2* | sysv4.3*)
alpar@9:       lt_prog_compiler_wl='-Wl,'
alpar@9:       lt_prog_compiler_pic='-KPIC'
alpar@9:       lt_prog_compiler_static='-Bstatic'
alpar@9:       ;;
alpar@9: 
alpar@9:     sysv4*MP*)
alpar@9:       if test -d /usr/nec ;then
alpar@9: 	lt_prog_compiler_pic='-Kconform_pic'
alpar@9: 	lt_prog_compiler_static='-Bstatic'
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
alpar@9:       lt_prog_compiler_wl='-Wl,'
alpar@9:       lt_prog_compiler_pic='-KPIC'
alpar@9:       lt_prog_compiler_static='-Bstatic'
alpar@9:       ;;
alpar@9: 
alpar@9:     unicos*)
alpar@9:       lt_prog_compiler_wl='-Wl,'
alpar@9:       lt_prog_compiler_can_build_shared=no
alpar@9:       ;;
alpar@9: 
alpar@9:     uts4*)
alpar@9:       lt_prog_compiler_pic='-pic'
alpar@9:       lt_prog_compiler_static='-Bstatic'
alpar@9:       ;;
alpar@9: 
alpar@9:     *)
alpar@9:       lt_prog_compiler_can_build_shared=no
alpar@9:       ;;
alpar@9:     esac
alpar@9:   fi
alpar@9: 
alpar@9: case $host_os in
alpar@9:   # For platforms which do not support PIC, -DPIC is meaningless:
alpar@9:   *djgpp*)
alpar@9:     lt_prog_compiler_pic=
alpar@9:     ;;
alpar@9:   *)
alpar@9:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
alpar@9:     ;;
alpar@9: esac
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
alpar@9: $as_echo "$lt_prog_compiler_pic" >&6; }
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: #
alpar@9: # Check to make sure the PIC flag actually works.
alpar@9: #
alpar@9: if test -n "$lt_prog_compiler_pic"; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
alpar@9: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
alpar@9: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_prog_compiler_pic_works=no
alpar@9:    ac_outfile=conftest.$ac_objext
alpar@9:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
alpar@9:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
alpar@9:    # Insert the option either (1) after the last *FLAGS variable, or
alpar@9:    # (2) before a word containing "conftest.", or (3) at the end.
alpar@9:    # Note that $ac_compile itself does not contain backslashes and begins
alpar@9:    # with a dollar sign (not a hyphen), so the echo should work correctly.
alpar@9:    # The option is referenced via a variable to avoid confusing sed.
alpar@9:    lt_compile=`echo "$ac_compile" | $SED \
alpar@9:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
alpar@9:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
alpar@9:    -e 's:$: $lt_compiler_flag:'`
alpar@9:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
alpar@9:    (eval "$lt_compile" 2>conftest.err)
alpar@9:    ac_status=$?
alpar@9:    cat conftest.err >&5
alpar@9:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
alpar@9:    if (exit $ac_status) && test -s "$ac_outfile"; then
alpar@9:      # The compiler can only warn and ignore the option if not recognized
alpar@9:      # So say no if there are warnings other than the usual output.
alpar@9:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
alpar@9:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
alpar@9:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
alpar@9:        lt_cv_prog_compiler_pic_works=yes
alpar@9:      fi
alpar@9:    fi
alpar@9:    $RM conftest*
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
alpar@9: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
alpar@9: 
alpar@9: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
alpar@9:     case $lt_prog_compiler_pic in
alpar@9:      "" | " "*) ;;
alpar@9:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
alpar@9:      esac
alpar@9: else
alpar@9:     lt_prog_compiler_pic=
alpar@9:      lt_prog_compiler_can_build_shared=no
alpar@9: fi
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: #
alpar@9: # Check to make sure the static flag actually works.
alpar@9: #
alpar@9: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
alpar@9: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
alpar@9: if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_prog_compiler_static_works=no
alpar@9:    save_LDFLAGS="$LDFLAGS"
alpar@9:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
alpar@9:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
alpar@9:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
alpar@9:      # The linker can only warn and ignore the option if not recognized
alpar@9:      # So say no if there are warnings
alpar@9:      if test -s conftest.err; then
alpar@9:        # Append any errors to the config.log.
alpar@9:        cat conftest.err 1>&5
alpar@9:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
alpar@9:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
alpar@9:        if diff conftest.exp conftest.er2 >/dev/null; then
alpar@9:          lt_cv_prog_compiler_static_works=yes
alpar@9:        fi
alpar@9:      else
alpar@9:        lt_cv_prog_compiler_static_works=yes
alpar@9:      fi
alpar@9:    fi
alpar@9:    $RM -r conftest*
alpar@9:    LDFLAGS="$save_LDFLAGS"
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
alpar@9: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
alpar@9: 
alpar@9: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
alpar@9:     :
alpar@9: else
alpar@9:     lt_prog_compiler_static=
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
alpar@9: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
alpar@9: if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_prog_compiler_c_o=no
alpar@9:    $RM -r conftest 2>/dev/null
alpar@9:    mkdir conftest
alpar@9:    cd conftest
alpar@9:    mkdir out
alpar@9:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
alpar@9: 
alpar@9:    lt_compiler_flag="-o out/conftest2.$ac_objext"
alpar@9:    # Insert the option either (1) after the last *FLAGS variable, or
alpar@9:    # (2) before a word containing "conftest.", or (3) at the end.
alpar@9:    # Note that $ac_compile itself does not contain backslashes and begins
alpar@9:    # with a dollar sign (not a hyphen), so the echo should work correctly.
alpar@9:    lt_compile=`echo "$ac_compile" | $SED \
alpar@9:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
alpar@9:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
alpar@9:    -e 's:$: $lt_compiler_flag:'`
alpar@9:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
alpar@9:    (eval "$lt_compile" 2>out/conftest.err)
alpar@9:    ac_status=$?
alpar@9:    cat out/conftest.err >&5
alpar@9:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
alpar@9:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
alpar@9:    then
alpar@9:      # The compiler can only warn and ignore the option if not recognized
alpar@9:      # So say no if there are warnings
alpar@9:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
alpar@9:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
alpar@9:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
alpar@9:        lt_cv_prog_compiler_c_o=yes
alpar@9:      fi
alpar@9:    fi
alpar@9:    chmod u+w . 2>&5
alpar@9:    $RM conftest*
alpar@9:    # SGI C++ compiler will create directory out/ii_files/ for
alpar@9:    # template instantiation
alpar@9:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
alpar@9:    $RM out/* && rmdir out
alpar@9:    cd ..
alpar@9:    $RM -r conftest
alpar@9:    $RM conftest*
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
alpar@9: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
alpar@9: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
alpar@9: if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_prog_compiler_c_o=no
alpar@9:    $RM -r conftest 2>/dev/null
alpar@9:    mkdir conftest
alpar@9:    cd conftest
alpar@9:    mkdir out
alpar@9:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
alpar@9: 
alpar@9:    lt_compiler_flag="-o out/conftest2.$ac_objext"
alpar@9:    # Insert the option either (1) after the last *FLAGS variable, or
alpar@9:    # (2) before a word containing "conftest.", or (3) at the end.
alpar@9:    # Note that $ac_compile itself does not contain backslashes and begins
alpar@9:    # with a dollar sign (not a hyphen), so the echo should work correctly.
alpar@9:    lt_compile=`echo "$ac_compile" | $SED \
alpar@9:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
alpar@9:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
alpar@9:    -e 's:$: $lt_compiler_flag:'`
alpar@9:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
alpar@9:    (eval "$lt_compile" 2>out/conftest.err)
alpar@9:    ac_status=$?
alpar@9:    cat out/conftest.err >&5
alpar@9:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
alpar@9:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
alpar@9:    then
alpar@9:      # The compiler can only warn and ignore the option if not recognized
alpar@9:      # So say no if there are warnings
alpar@9:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
alpar@9:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
alpar@9:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
alpar@9:        lt_cv_prog_compiler_c_o=yes
alpar@9:      fi
alpar@9:    fi
alpar@9:    chmod u+w . 2>&5
alpar@9:    $RM conftest*
alpar@9:    # SGI C++ compiler will create directory out/ii_files/ for
alpar@9:    # template instantiation
alpar@9:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
alpar@9:    $RM out/* && rmdir out
alpar@9:    cd ..
alpar@9:    $RM -r conftest
alpar@9:    $RM conftest*
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
alpar@9: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: hard_links="nottested"
alpar@9: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
alpar@9:   # do not overwrite the value of need_locks provided by the user
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
alpar@9: $as_echo_n "checking if we can lock with hard links... " >&6; }
alpar@9:   hard_links=yes
alpar@9:   $RM conftest*
alpar@9:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
alpar@9:   touch conftest.a
alpar@9:   ln conftest.a conftest.b 2>&5 || hard_links=no
alpar@9:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
alpar@9: $as_echo "$hard_links" >&6; }
alpar@9:   if test "$hard_links" = no; then
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
alpar@9: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
alpar@9:     need_locks=warn
alpar@9:   fi
alpar@9: else
alpar@9:   need_locks=no
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
alpar@9: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
alpar@9: 
alpar@9:   runpath_var=
alpar@9:   allow_undefined_flag=
alpar@9:   always_export_symbols=no
alpar@9:   archive_cmds=
alpar@9:   archive_expsym_cmds=
alpar@9:   compiler_needs_object=no
alpar@9:   enable_shared_with_static_runtimes=no
alpar@9:   export_dynamic_flag_spec=
alpar@9:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
alpar@9:   hardcode_automatic=no
alpar@9:   hardcode_direct=no
alpar@9:   hardcode_direct_absolute=no
alpar@9:   hardcode_libdir_flag_spec=
alpar@9:   hardcode_libdir_flag_spec_ld=
alpar@9:   hardcode_libdir_separator=
alpar@9:   hardcode_minus_L=no
alpar@9:   hardcode_shlibpath_var=unsupported
alpar@9:   inherit_rpath=no
alpar@9:   link_all_deplibs=unknown
alpar@9:   module_cmds=
alpar@9:   module_expsym_cmds=
alpar@9:   old_archive_from_new_cmds=
alpar@9:   old_archive_from_expsyms_cmds=
alpar@9:   thread_safe_flag_spec=
alpar@9:   whole_archive_flag_spec=
alpar@9:   # include_expsyms should be a list of space-separated symbols to be *always*
alpar@9:   # included in the symbol list
alpar@9:   include_expsyms=
alpar@9:   # exclude_expsyms can be an extended regexp of symbols to exclude
alpar@9:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
alpar@9:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
alpar@9:   # as well as any symbol that contains `d'.
alpar@9:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
alpar@9:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
alpar@9:   # platforms (ab)use it in PIC code, but their linkers get confused if
alpar@9:   # the symbol is explicitly referenced.  Since portable code cannot
alpar@9:   # rely on this symbol name, it's probably fine to never include it in
alpar@9:   # preloaded symbol tables.
alpar@9:   # Exclude shared library initialization/finalization symbols.
alpar@9:   extract_expsyms_cmds=
alpar@9: 
alpar@9:   case $host_os in
alpar@9:   cygwin* | mingw* | pw32* | cegcc*)
alpar@9:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
alpar@9:     # When not using gcc, we currently assume that we are using
alpar@9:     # Microsoft Visual C++.
alpar@9:     if test "$GCC" != yes; then
alpar@9:       with_gnu_ld=no
alpar@9:     fi
alpar@9:     ;;
alpar@9:   interix*)
alpar@9:     # we just hope/assume this is gcc and not c89 (= MSVC++)
alpar@9:     with_gnu_ld=yes
alpar@9:     ;;
alpar@9:   openbsd*)
alpar@9:     with_gnu_ld=no
alpar@9:     ;;
alpar@9:   esac
alpar@9: 
alpar@9:   ld_shlibs=yes
alpar@9: 
alpar@9:   # On some targets, GNU ld is compatible enough with the native linker
alpar@9:   # that we're better off using the native interface for both.
alpar@9:   lt_use_gnu_ld_interface=no
alpar@9:   if test "$with_gnu_ld" = yes; then
alpar@9:     case $host_os in
alpar@9:       aix*)
alpar@9: 	# The AIX port of GNU ld has always aspired to compatibility
alpar@9: 	# with the native linker.  However, as the warning in the GNU ld
alpar@9: 	# block says, versions before 2.19.5* couldn't really create working
alpar@9: 	# shared libraries, regardless of the interface used.
alpar@9: 	case `$LD -v 2>&1` in
alpar@9: 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
alpar@9: 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
alpar@9: 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
alpar@9: 	  *)
alpar@9: 	    lt_use_gnu_ld_interface=yes
alpar@9: 	    ;;
alpar@9: 	esac
alpar@9: 	;;
alpar@9:       *)
alpar@9: 	lt_use_gnu_ld_interface=yes
alpar@9: 	;;
alpar@9:     esac
alpar@9:   fi
alpar@9: 
alpar@9:   if test "$lt_use_gnu_ld_interface" = yes; then
alpar@9:     # If archive_cmds runs LD, not CC, wlarc should be empty
alpar@9:     wlarc='${wl}'
alpar@9: 
alpar@9:     # Set some defaults for GNU ld with shared library support. These
alpar@9:     # are reset later if shared libraries are not supported. Putting them
alpar@9:     # here allows them to be overridden if necessary.
alpar@9:     runpath_var=LD_RUN_PATH
alpar@9:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
alpar@9:     export_dynamic_flag_spec='${wl}--export-dynamic'
alpar@9:     # ancient GNU ld didn't support --whole-archive et. al.
alpar@9:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
alpar@9:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
alpar@9:     else
alpar@9:       whole_archive_flag_spec=
alpar@9:     fi
alpar@9:     supports_anon_versioning=no
alpar@9:     case `$LD -v 2>&1` in
alpar@9:       *GNU\ gold*) supports_anon_versioning=yes ;;
alpar@9:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
alpar@9:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
alpar@9:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
alpar@9:       *\ 2.11.*) ;; # other 2.11 versions
alpar@9:       *) supports_anon_versioning=yes ;;
alpar@9:     esac
alpar@9: 
alpar@9:     # See if GNU ld supports shared libraries.
alpar@9:     case $host_os in
alpar@9:     aix[3-9]*)
alpar@9:       # On AIX/PPC, the GNU linker is very broken
alpar@9:       if test "$host_cpu" != ia64; then
alpar@9: 	ld_shlibs=no
alpar@9: 	cat <<_LT_EOF 1>&2
alpar@9: 
alpar@9: *** Warning: the GNU linker, at least up to release 2.19, is reported
alpar@9: *** to be unable to reliably create shared libraries on AIX.
alpar@9: *** Therefore, libtool is disabling shared libraries support.  If you
alpar@9: *** really care for shared libraries, you may want to install binutils
alpar@9: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
alpar@9: *** You will then need to restart the configuration process.
alpar@9: 
alpar@9: _LT_EOF
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     amigaos*)
alpar@9:       case $host_cpu in
alpar@9:       powerpc)
alpar@9:             # see comment about AmigaOS4 .so support
alpar@9:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
alpar@9:             archive_expsym_cmds=''
alpar@9:         ;;
alpar@9:       m68k)
alpar@9:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
alpar@9:             hardcode_libdir_flag_spec='-L$libdir'
alpar@9:             hardcode_minus_L=yes
alpar@9:         ;;
alpar@9:       esac
alpar@9:       ;;
alpar@9: 
alpar@9:     beos*)
alpar@9:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
alpar@9: 	allow_undefined_flag=unsupported
alpar@9: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
alpar@9: 	# support --undefined.  This deserves some investigation.  FIXME
alpar@9: 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
alpar@9:       else
alpar@9: 	ld_shlibs=no
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     cygwin* | mingw* | pw32* | cegcc*)
alpar@9:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
alpar@9:       # as there is no search path for DLLs.
alpar@9:       hardcode_libdir_flag_spec='-L$libdir'
alpar@9:       export_dynamic_flag_spec='${wl}--export-all-symbols'
alpar@9:       allow_undefined_flag=unsupported
alpar@9:       always_export_symbols=no
alpar@9:       enable_shared_with_static_runtimes=yes
alpar@9:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
alpar@9:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
alpar@9: 
alpar@9:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
alpar@9:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
alpar@9: 	# If the export-symbols file already is a .def file (1st line
alpar@9: 	# is EXPORTS), use it as is; otherwise, prepend...
alpar@9: 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
alpar@9: 	  cp $export_symbols $output_objdir/$soname.def;
alpar@9: 	else
alpar@9: 	  echo EXPORTS > $output_objdir/$soname.def;
alpar@9: 	  cat $export_symbols >> $output_objdir/$soname.def;
alpar@9: 	fi~
alpar@9: 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
alpar@9:       else
alpar@9: 	ld_shlibs=no
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     haiku*)
alpar@9:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
alpar@9:       link_all_deplibs=yes
alpar@9:       ;;
alpar@9: 
alpar@9:     interix[3-9]*)
alpar@9:       hardcode_direct=no
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
alpar@9:       export_dynamic_flag_spec='${wl}-E'
alpar@9:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
alpar@9:       # Instead, shared libraries are loaded at an image base (0x10000000 by
alpar@9:       # default) and relocated if they conflict, which is a slow very memory
alpar@9:       # consuming and fragmenting process.  To avoid this, we pick a random,
alpar@9:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
alpar@9:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
alpar@9:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
alpar@9:       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
alpar@9:       ;;
alpar@9: 
alpar@9:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
alpar@9:       tmp_diet=no
alpar@9:       if test "$host_os" = linux-dietlibc; then
alpar@9: 	case $cc_basename in
alpar@9: 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
alpar@9: 	esac
alpar@9:       fi
alpar@9:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
alpar@9: 	 && test "$tmp_diet" = no
alpar@9:       then
alpar@9: 	tmp_addflag=
alpar@9: 	tmp_sharedflag='-shared'
alpar@9: 	case $cc_basename,$host_cpu in
alpar@9:         pgcc*)				# Portland Group C compiler
alpar@9: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
alpar@9: 	  tmp_addflag=' $pic_flag'
alpar@9: 	  ;;
alpar@9: 	pgf77* | pgf90* | pgf95* | pgfortran*)
alpar@9: 					# Portland Group f77 and f90 compilers
alpar@9: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
alpar@9: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
alpar@9: 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
alpar@9: 	  tmp_addflag=' -i_dynamic' ;;
alpar@9: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
alpar@9: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
alpar@9: 	ifc* | ifort*)			# Intel Fortran compiler
alpar@9: 	  tmp_addflag=' -nofor_main' ;;
alpar@9: 	lf95*)				# Lahey Fortran 8.1
alpar@9: 	  whole_archive_flag_spec=
alpar@9: 	  tmp_sharedflag='--shared' ;;
alpar@9: 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
alpar@9: 	  tmp_sharedflag='-qmkshrobj'
alpar@9: 	  tmp_addflag= ;;
alpar@9: 	nvcc*)	# Cuda Compiler Driver 2.2
alpar@9: 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
alpar@9: 	  compiler_needs_object=yes
alpar@9: 	  ;;
alpar@9: 	esac
alpar@9: 	case `$CC -V 2>&1 | sed 5q` in
alpar@9: 	*Sun\ C*)			# Sun C 5.9
alpar@9: 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
alpar@9: 	  compiler_needs_object=yes
alpar@9: 	  tmp_sharedflag='-G' ;;
alpar@9: 	*Sun\ F*)			# Sun Fortran 8.3
alpar@9: 	  tmp_sharedflag='-G' ;;
alpar@9: 	esac
alpar@9: 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
alpar@9: 
alpar@9:         if test "x$supports_anon_versioning" = xyes; then
alpar@9:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
alpar@9: 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
alpar@9: 	    echo "local: *; };" >> $output_objdir/$libname.ver~
alpar@9: 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
alpar@9:         fi
alpar@9: 
alpar@9: 	case $cc_basename in
alpar@9: 	xlf* | bgf* | bgxlf* | mpixlf*)
alpar@9: 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
alpar@9: 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
alpar@9: 	  hardcode_libdir_flag_spec=
alpar@9: 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
alpar@9: 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
alpar@9: 	  if test "x$supports_anon_versioning" = xyes; then
alpar@9: 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
alpar@9: 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
alpar@9: 	      echo "local: *; };" >> $output_objdir/$libname.ver~
alpar@9: 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
alpar@9: 	  fi
alpar@9: 	  ;;
alpar@9: 	esac
alpar@9:       else
alpar@9:         ld_shlibs=no
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     netbsd*)
alpar@9:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
alpar@9: 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
alpar@9: 	wlarc=
alpar@9:       else
alpar@9: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
alpar@9: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     solaris*)
alpar@9:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
alpar@9: 	ld_shlibs=no
alpar@9: 	cat <<_LT_EOF 1>&2
alpar@9: 
alpar@9: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
alpar@9: *** create shared libraries on Solaris systems.  Therefore, libtool
alpar@9: *** is disabling shared libraries support.  We urge you to upgrade GNU
alpar@9: *** binutils to release 2.9.1 or newer.  Another option is to modify
alpar@9: *** your PATH or compiler configuration so that the native linker is
alpar@9: *** used, and then restart.
alpar@9: 
alpar@9: _LT_EOF
alpar@9:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
alpar@9: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
alpar@9: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
alpar@9:       else
alpar@9: 	ld_shlibs=no
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
alpar@9:       case `$LD -v 2>&1` in
alpar@9:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
alpar@9: 	ld_shlibs=no
alpar@9: 	cat <<_LT_EOF 1>&2
alpar@9: 
alpar@9: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
alpar@9: *** reliably create shared libraries on SCO systems.  Therefore, libtool
alpar@9: *** is disabling shared libraries support.  We urge you to upgrade GNU
alpar@9: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
alpar@9: *** your PATH or compiler configuration so that the native linker is
alpar@9: *** used, and then restart.
alpar@9: 
alpar@9: _LT_EOF
alpar@9: 	;;
alpar@9: 	*)
alpar@9: 	  # For security reasons, it is highly recommended that you always
alpar@9: 	  # use absolute paths for naming shared libraries, and exclude the
alpar@9: 	  # DT_RUNPATH tag from executables and libraries.  But doing so
alpar@9: 	  # requires that you compile everything twice, which is a pain.
alpar@9: 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
alpar@9: 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
alpar@9: 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
alpar@9: 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
alpar@9: 	  else
alpar@9: 	    ld_shlibs=no
alpar@9: 	  fi
alpar@9: 	;;
alpar@9:       esac
alpar@9:       ;;
alpar@9: 
alpar@9:     sunos4*)
alpar@9:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
alpar@9:       wlarc=
alpar@9:       hardcode_direct=yes
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       ;;
alpar@9: 
alpar@9:     *)
alpar@9:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
alpar@9: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
alpar@9: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
alpar@9:       else
alpar@9: 	ld_shlibs=no
alpar@9:       fi
alpar@9:       ;;
alpar@9:     esac
alpar@9: 
alpar@9:     if test "$ld_shlibs" = no; then
alpar@9:       runpath_var=
alpar@9:       hardcode_libdir_flag_spec=
alpar@9:       export_dynamic_flag_spec=
alpar@9:       whole_archive_flag_spec=
alpar@9:     fi
alpar@9:   else
alpar@9:     # PORTME fill in a description of your system's linker (not GNU ld)
alpar@9:     case $host_os in
alpar@9:     aix3*)
alpar@9:       allow_undefined_flag=unsupported
alpar@9:       always_export_symbols=yes
alpar@9:       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
alpar@9:       # Note: this linker hardcodes the directories in LIBPATH if there
alpar@9:       # are no directories specified by -L.
alpar@9:       hardcode_minus_L=yes
alpar@9:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
alpar@9: 	# Neither direct hardcoding nor static linking is supported with a
alpar@9: 	# broken collect2.
alpar@9: 	hardcode_direct=unsupported
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     aix[4-9]*)
alpar@9:       if test "$host_cpu" = ia64; then
alpar@9: 	# On IA64, the linker does run time linking by default, so we don't
alpar@9: 	# have to do anything special.
alpar@9: 	aix_use_runtimelinking=no
alpar@9: 	exp_sym_flag='-Bexport'
alpar@9: 	no_entry_flag=""
alpar@9:       else
alpar@9: 	# If we're using GNU nm, then we don't want the "-C" option.
alpar@9: 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
alpar@9: 	# Also, AIX nm treats weak defined symbols like other global
alpar@9: 	# defined symbols, whereas GNU nm marks them as "W".
alpar@9: 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
alpar@9: 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
alpar@9: 	else
alpar@9: 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
alpar@9: 	fi
alpar@9: 	aix_use_runtimelinking=no
alpar@9: 
alpar@9: 	# Test if we are trying to use run time linking or normal
alpar@9: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
alpar@9: 	# need to do runtime linking.
alpar@9: 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
alpar@9: 	  for ld_flag in $LDFLAGS; do
alpar@9: 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
alpar@9: 	    aix_use_runtimelinking=yes
alpar@9: 	    break
alpar@9: 	  fi
alpar@9: 	  done
alpar@9: 	  ;;
alpar@9: 	esac
alpar@9: 
alpar@9: 	exp_sym_flag='-bexport'
alpar@9: 	no_entry_flag='-bnoentry'
alpar@9:       fi
alpar@9: 
alpar@9:       # When large executables or shared objects are built, AIX ld can
alpar@9:       # have problems creating the table of contents.  If linking a library
alpar@9:       # or program results in "error TOC overflow" add -mminimal-toc to
alpar@9:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
alpar@9:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
alpar@9: 
alpar@9:       archive_cmds=''
alpar@9:       hardcode_direct=yes
alpar@9:       hardcode_direct_absolute=yes
alpar@9:       hardcode_libdir_separator=':'
alpar@9:       link_all_deplibs=yes
alpar@9:       file_list_spec='${wl}-f,'
alpar@9: 
alpar@9:       if test "$GCC" = yes; then
alpar@9: 	case $host_os in aix4.[012]|aix4.[012].*)
alpar@9: 	# We only want to do this on AIX 4.2 and lower, the check
alpar@9: 	# below for broken collect2 doesn't work under 4.3+
alpar@9: 	  collect2name=`${CC} -print-prog-name=collect2`
alpar@9: 	  if test -f "$collect2name" &&
alpar@9: 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
alpar@9: 	  then
alpar@9: 	  # We have reworked collect2
alpar@9: 	  :
alpar@9: 	  else
alpar@9: 	  # We have old collect2
alpar@9: 	  hardcode_direct=unsupported
alpar@9: 	  # It fails to find uninstalled libraries when the uninstalled
alpar@9: 	  # path is not listed in the libpath.  Setting hardcode_minus_L
alpar@9: 	  # to unsupported forces relinking
alpar@9: 	  hardcode_minus_L=yes
alpar@9: 	  hardcode_libdir_flag_spec='-L$libdir'
alpar@9: 	  hardcode_libdir_separator=
alpar@9: 	  fi
alpar@9: 	  ;;
alpar@9: 	esac
alpar@9: 	shared_flag='-shared'
alpar@9: 	if test "$aix_use_runtimelinking" = yes; then
alpar@9: 	  shared_flag="$shared_flag "'${wl}-G'
alpar@9: 	fi
alpar@9:       else
alpar@9: 	# not using gcc
alpar@9: 	if test "$host_cpu" = ia64; then
alpar@9: 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
alpar@9: 	# chokes on -Wl,-G. The following line is correct:
alpar@9: 	  shared_flag='-G'
alpar@9: 	else
alpar@9: 	  if test "$aix_use_runtimelinking" = yes; then
alpar@9: 	    shared_flag='${wl}-G'
alpar@9: 	  else
alpar@9: 	    shared_flag='${wl}-bM:SRE'
alpar@9: 	  fi
alpar@9: 	fi
alpar@9:       fi
alpar@9: 
alpar@9:       export_dynamic_flag_spec='${wl}-bexpall'
alpar@9:       # It seems that -bexpall does not export symbols beginning with
alpar@9:       # underscore (_), so it is better to generate a list of symbols to export.
alpar@9:       always_export_symbols=yes
alpar@9:       if test "$aix_use_runtimelinking" = yes; then
alpar@9: 	# Warning - without using the other runtime loading flags (-brtl),
alpar@9: 	# -berok will link without error, but may produce a broken library.
alpar@9: 	allow_undefined_flag='-berok'
alpar@9:         # Determine the default libpath from the value encoded in an
alpar@9:         # empty executable.
alpar@9:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9: 
alpar@9: lt_aix_libpath_sed='
alpar@9:     /Import File Strings/,/^$/ {
alpar@9: 	/^0/ {
alpar@9: 	    s/^0  *\(.*\)$/\1/
alpar@9: 	    p
alpar@9: 	}
alpar@9:     }'
alpar@9: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
alpar@9: # Check for a 64-bit object if we didn't find anything.
alpar@9: if test -z "$aix_libpath"; then
alpar@9:   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
alpar@9: fi
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
alpar@9: 
alpar@9:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
alpar@9:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
alpar@9:       else
alpar@9: 	if test "$host_cpu" = ia64; then
alpar@9: 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
alpar@9: 	  allow_undefined_flag="-z nodefs"
alpar@9: 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
alpar@9: 	else
alpar@9: 	 # Determine the default libpath from the value encoded in an
alpar@9: 	 # empty executable.
alpar@9: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9: 
alpar@9: lt_aix_libpath_sed='
alpar@9:     /Import File Strings/,/^$/ {
alpar@9: 	/^0/ {
alpar@9: 	    s/^0  *\(.*\)$/\1/
alpar@9: 	    p
alpar@9: 	}
alpar@9:     }'
alpar@9: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
alpar@9: # Check for a 64-bit object if we didn't find anything.
alpar@9: if test -z "$aix_libpath"; then
alpar@9:   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
alpar@9: fi
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
alpar@9: 
alpar@9: 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
alpar@9: 	  # Warning - without using the other run time loading flags,
alpar@9: 	  # -berok will link without error, but may produce a broken library.
alpar@9: 	  no_undefined_flag=' ${wl}-bernotok'
alpar@9: 	  allow_undefined_flag=' ${wl}-berok'
alpar@9: 	  if test "$with_gnu_ld" = yes; then
alpar@9: 	    # We only use this code for GNU lds that support --whole-archive.
alpar@9: 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
alpar@9: 	  else
alpar@9: 	    # Exported symbols can be pulled into shared objects from archives
alpar@9: 	    whole_archive_flag_spec='$convenience'
alpar@9: 	  fi
alpar@9: 	  archive_cmds_need_lc=yes
alpar@9: 	  # This is similar to how AIX traditionally builds its shared libraries.
alpar@9: 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
alpar@9: 	fi
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     amigaos*)
alpar@9:       case $host_cpu in
alpar@9:       powerpc)
alpar@9:             # see comment about AmigaOS4 .so support
alpar@9:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
alpar@9:             archive_expsym_cmds=''
alpar@9:         ;;
alpar@9:       m68k)
alpar@9:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
alpar@9:             hardcode_libdir_flag_spec='-L$libdir'
alpar@9:             hardcode_minus_L=yes
alpar@9:         ;;
alpar@9:       esac
alpar@9:       ;;
alpar@9: 
alpar@9:     bsdi[45]*)
alpar@9:       export_dynamic_flag_spec=-rdynamic
alpar@9:       ;;
alpar@9: 
alpar@9:     cygwin* | mingw* | pw32* | cegcc*)
alpar@9:       # When not using gcc, we currently assume that we are using
alpar@9:       # Microsoft Visual C++.
alpar@9:       # hardcode_libdir_flag_spec is actually meaningless, as there is
alpar@9:       # no search path for DLLs.
alpar@9:       hardcode_libdir_flag_spec=' '
alpar@9:       allow_undefined_flag=unsupported
alpar@9:       # Tell ltmain to make .lib files, not .a files.
alpar@9:       libext=lib
alpar@9:       # Tell ltmain to make .dll files, not .so files.
alpar@9:       shrext_cmds=".dll"
alpar@9:       # FIXME: Setting linknames here is a bad hack.
alpar@9:       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
alpar@9:       # The linker will automatically build a .lib file if we build a DLL.
alpar@9:       old_archive_from_new_cmds='true'
alpar@9:       # FIXME: Should let the user specify the lib program.
alpar@9:       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
alpar@9:       fix_srcfile_path='`cygpath -w "$srcfile"`'
alpar@9:       enable_shared_with_static_runtimes=yes
alpar@9:       ;;
alpar@9: 
alpar@9:     darwin* | rhapsody*)
alpar@9: 
alpar@9: 
alpar@9:   archive_cmds_need_lc=no
alpar@9:   hardcode_direct=no
alpar@9:   hardcode_automatic=yes
alpar@9:   hardcode_shlibpath_var=unsupported
alpar@9:   if test "$lt_cv_ld_force_load" = "yes"; then
alpar@9:     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
alpar@9:   else
alpar@9:     whole_archive_flag_spec=''
alpar@9:   fi
alpar@9:   link_all_deplibs=yes
alpar@9:   allow_undefined_flag="$_lt_dar_allow_undefined"
alpar@9:   case $cc_basename in
alpar@9:      ifort*) _lt_dar_can_shared=yes ;;
alpar@9:      *) _lt_dar_can_shared=$GCC ;;
alpar@9:   esac
alpar@9:   if test "$_lt_dar_can_shared" = "yes"; then
alpar@9:     output_verbose_link_cmd=func_echo_all
alpar@9:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
alpar@9:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
alpar@9:     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
alpar@9:     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
alpar@9: 
alpar@9:   else
alpar@9:   ld_shlibs=no
alpar@9:   fi
alpar@9: 
alpar@9:       ;;
alpar@9: 
alpar@9:     dgux*)
alpar@9:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
alpar@9:       hardcode_libdir_flag_spec='-L$libdir'
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       ;;
alpar@9: 
alpar@9:     freebsd1*)
alpar@9:       ld_shlibs=no
alpar@9:       ;;
alpar@9: 
alpar@9:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
alpar@9:     # support.  Future versions do this automatically, but an explicit c++rt0.o
alpar@9:     # does not break anything, and helps significantly (at the cost of a little
alpar@9:     # extra space).
alpar@9:     freebsd2.2*)
alpar@9:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
alpar@9:       hardcode_libdir_flag_spec='-R$libdir'
alpar@9:       hardcode_direct=yes
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       ;;
alpar@9: 
alpar@9:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
alpar@9:     freebsd2*)
alpar@9:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
alpar@9:       hardcode_direct=yes
alpar@9:       hardcode_minus_L=yes
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       ;;
alpar@9: 
alpar@9:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
alpar@9:     freebsd* | dragonfly*)
alpar@9:       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
alpar@9:       hardcode_libdir_flag_spec='-R$libdir'
alpar@9:       hardcode_direct=yes
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       ;;
alpar@9: 
alpar@9:     hpux9*)
alpar@9:       if test "$GCC" = yes; then
alpar@9: 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
alpar@9:       else
alpar@9: 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
alpar@9:       fi
alpar@9:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
alpar@9:       hardcode_libdir_separator=:
alpar@9:       hardcode_direct=yes
alpar@9: 
alpar@9:       # hardcode_minus_L: Not really in the search PATH,
alpar@9:       # but as the default location of the library.
alpar@9:       hardcode_minus_L=yes
alpar@9:       export_dynamic_flag_spec='${wl}-E'
alpar@9:       ;;
alpar@9: 
alpar@9:     hpux10*)
alpar@9:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
alpar@9: 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
alpar@9:       else
alpar@9: 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
alpar@9:       fi
alpar@9:       if test "$with_gnu_ld" = no; then
alpar@9: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
alpar@9: 	hardcode_libdir_flag_spec_ld='+b $libdir'
alpar@9: 	hardcode_libdir_separator=:
alpar@9: 	hardcode_direct=yes
alpar@9: 	hardcode_direct_absolute=yes
alpar@9: 	export_dynamic_flag_spec='${wl}-E'
alpar@9: 	# hardcode_minus_L: Not really in the search PATH,
alpar@9: 	# but as the default location of the library.
alpar@9: 	hardcode_minus_L=yes
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     hpux11*)
alpar@9:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
alpar@9: 	case $host_cpu in
alpar@9: 	hppa*64*)
alpar@9: 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	  ;;
alpar@9: 	ia64*)
alpar@9: 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	  ;;
alpar@9: 	*)
alpar@9: 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	  ;;
alpar@9: 	esac
alpar@9:       else
alpar@9: 	case $host_cpu in
alpar@9: 	hppa*64*)
alpar@9: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	  ;;
alpar@9: 	ia64*)
alpar@9: 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	  ;;
alpar@9: 	*)
alpar@9: 
alpar@9: 	  # Older versions of the 11.00 compiler do not understand -b yet
alpar@9: 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
alpar@9: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
alpar@9: $as_echo_n "checking if $CC understands -b... " >&6; }
alpar@9: if test "${lt_cv_prog_compiler__b+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_prog_compiler__b=no
alpar@9:    save_LDFLAGS="$LDFLAGS"
alpar@9:    LDFLAGS="$LDFLAGS -b"
alpar@9:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
alpar@9:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
alpar@9:      # The linker can only warn and ignore the option if not recognized
alpar@9:      # So say no if there are warnings
alpar@9:      if test -s conftest.err; then
alpar@9:        # Append any errors to the config.log.
alpar@9:        cat conftest.err 1>&5
alpar@9:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
alpar@9:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
alpar@9:        if diff conftest.exp conftest.er2 >/dev/null; then
alpar@9:          lt_cv_prog_compiler__b=yes
alpar@9:        fi
alpar@9:      else
alpar@9:        lt_cv_prog_compiler__b=yes
alpar@9:      fi
alpar@9:    fi
alpar@9:    $RM -r conftest*
alpar@9:    LDFLAGS="$save_LDFLAGS"
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
alpar@9: $as_echo "$lt_cv_prog_compiler__b" >&6; }
alpar@9: 
alpar@9: if test x"$lt_cv_prog_compiler__b" = xyes; then
alpar@9:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: else
alpar@9:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
alpar@9: fi
alpar@9: 
alpar@9: 	  ;;
alpar@9: 	esac
alpar@9:       fi
alpar@9:       if test "$with_gnu_ld" = no; then
alpar@9: 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
alpar@9: 	hardcode_libdir_separator=:
alpar@9: 
alpar@9: 	case $host_cpu in
alpar@9: 	hppa*64*|ia64*)
alpar@9: 	  hardcode_direct=no
alpar@9: 	  hardcode_shlibpath_var=no
alpar@9: 	  ;;
alpar@9: 	*)
alpar@9: 	  hardcode_direct=yes
alpar@9: 	  hardcode_direct_absolute=yes
alpar@9: 	  export_dynamic_flag_spec='${wl}-E'
alpar@9: 
alpar@9: 	  # hardcode_minus_L: Not really in the search PATH,
alpar@9: 	  # but as the default location of the library.
alpar@9: 	  hardcode_minus_L=yes
alpar@9: 	  ;;
alpar@9: 	esac
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     irix5* | irix6* | nonstopux*)
alpar@9:       if test "$GCC" = yes; then
alpar@9: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
alpar@9: 	# Try to use the -exported_symbol ld option, if it does not
alpar@9: 	# work, assume that -exports_file does not work either and
alpar@9: 	# implicitly export all symbols.
alpar@9:         save_LDFLAGS="$LDFLAGS"
alpar@9:         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
alpar@9:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: int foo(void) {}
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9:   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
alpar@9: 
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9:         LDFLAGS="$save_LDFLAGS"
alpar@9:       else
alpar@9: 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
alpar@9: 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
alpar@9:       fi
alpar@9:       archive_cmds_need_lc='no'
alpar@9:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
alpar@9:       hardcode_libdir_separator=:
alpar@9:       inherit_rpath=yes
alpar@9:       link_all_deplibs=yes
alpar@9:       ;;
alpar@9: 
alpar@9:     netbsd*)
alpar@9:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
alpar@9: 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
alpar@9:       else
alpar@9: 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
alpar@9:       fi
alpar@9:       hardcode_libdir_flag_spec='-R$libdir'
alpar@9:       hardcode_direct=yes
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       ;;
alpar@9: 
alpar@9:     newsos6)
alpar@9:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
alpar@9:       hardcode_direct=yes
alpar@9:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
alpar@9:       hardcode_libdir_separator=:
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       ;;
alpar@9: 
alpar@9:     *nto* | *qnx*)
alpar@9:       ;;
alpar@9: 
alpar@9:     openbsd*)
alpar@9:       if test -f /usr/libexec/ld.so; then
alpar@9: 	hardcode_direct=yes
alpar@9: 	hardcode_shlibpath_var=no
alpar@9: 	hardcode_direct_absolute=yes
alpar@9: 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
alpar@9: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
alpar@9: 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
alpar@9: 	  export_dynamic_flag_spec='${wl}-E'
alpar@9: 	else
alpar@9: 	  case $host_os in
alpar@9: 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
alpar@9: 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
alpar@9: 	     hardcode_libdir_flag_spec='-R$libdir'
alpar@9: 	     ;;
alpar@9: 	   *)
alpar@9: 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
alpar@9: 	     ;;
alpar@9: 	  esac
alpar@9: 	fi
alpar@9:       else
alpar@9: 	ld_shlibs=no
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     os2*)
alpar@9:       hardcode_libdir_flag_spec='-L$libdir'
alpar@9:       hardcode_minus_L=yes
alpar@9:       allow_undefined_flag=unsupported
alpar@9:       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
alpar@9:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
alpar@9:       ;;
alpar@9: 
alpar@9:     osf3*)
alpar@9:       if test "$GCC" = yes; then
alpar@9: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
alpar@9: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
alpar@9:       else
alpar@9: 	allow_undefined_flag=' -expect_unresolved \*'
alpar@9: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
alpar@9:       fi
alpar@9:       archive_cmds_need_lc='no'
alpar@9:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
alpar@9:       hardcode_libdir_separator=:
alpar@9:       ;;
alpar@9: 
alpar@9:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
alpar@9:       if test "$GCC" = yes; then
alpar@9: 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
alpar@9: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
alpar@9: 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
alpar@9:       else
alpar@9: 	allow_undefined_flag=' -expect_unresolved \*'
alpar@9: 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
alpar@9: 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
alpar@9: 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
alpar@9: 
alpar@9: 	# Both c and cxx compiler support -rpath directly
alpar@9: 	hardcode_libdir_flag_spec='-rpath $libdir'
alpar@9:       fi
alpar@9:       archive_cmds_need_lc='no'
alpar@9:       hardcode_libdir_separator=:
alpar@9:       ;;
alpar@9: 
alpar@9:     solaris*)
alpar@9:       no_undefined_flag=' -z defs'
alpar@9:       if test "$GCC" = yes; then
alpar@9: 	wlarc='${wl}'
alpar@9: 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
alpar@9: 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
alpar@9:       else
alpar@9: 	case `$CC -V 2>&1` in
alpar@9: 	*"Compilers 5.0"*)
alpar@9: 	  wlarc=''
alpar@9: 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
alpar@9: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
alpar@9: 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
alpar@9: 	  ;;
alpar@9: 	*)
alpar@9: 	  wlarc='${wl}'
alpar@9: 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
alpar@9: 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
alpar@9: 	  ;;
alpar@9: 	esac
alpar@9:       fi
alpar@9:       hardcode_libdir_flag_spec='-R$libdir'
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       case $host_os in
alpar@9:       solaris2.[0-5] | solaris2.[0-5].*) ;;
alpar@9:       *)
alpar@9: 	# The compiler driver will combine and reorder linker options,
alpar@9: 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
alpar@9: 	# but is careful enough not to reorder.
alpar@9: 	# Supported since Solaris 2.6 (maybe 2.5.1?)
alpar@9: 	if test "$GCC" = yes; then
alpar@9: 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
alpar@9: 	else
alpar@9: 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
alpar@9: 	fi
alpar@9: 	;;
alpar@9:       esac
alpar@9:       link_all_deplibs=yes
alpar@9:       ;;
alpar@9: 
alpar@9:     sunos4*)
alpar@9:       if test "x$host_vendor" = xsequent; then
alpar@9: 	# Use $CC to link under sequent, because it throws in some extra .o
alpar@9: 	# files that make .init and .fini sections work.
alpar@9: 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9:       else
alpar@9: 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
alpar@9:       fi
alpar@9:       hardcode_libdir_flag_spec='-L$libdir'
alpar@9:       hardcode_direct=yes
alpar@9:       hardcode_minus_L=yes
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       ;;
alpar@9: 
alpar@9:     sysv4)
alpar@9:       case $host_vendor in
alpar@9: 	sni)
alpar@9: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
alpar@9: 	  hardcode_direct=yes # is this really true???
alpar@9: 	;;
alpar@9: 	siemens)
alpar@9: 	  ## LD is ld it makes a PLAMLIB
alpar@9: 	  ## CC just makes a GrossModule.
alpar@9: 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
alpar@9: 	  reload_cmds='$CC -r -o $output$reload_objs'
alpar@9: 	  hardcode_direct=no
alpar@9:         ;;
alpar@9: 	motorola)
alpar@9: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
alpar@9: 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
alpar@9: 	;;
alpar@9:       esac
alpar@9:       runpath_var='LD_RUN_PATH'
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       ;;
alpar@9: 
alpar@9:     sysv4.3*)
alpar@9:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       export_dynamic_flag_spec='-Bexport'
alpar@9:       ;;
alpar@9: 
alpar@9:     sysv4*MP*)
alpar@9:       if test -d /usr/nec; then
alpar@9: 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
alpar@9: 	hardcode_shlibpath_var=no
alpar@9: 	runpath_var=LD_RUN_PATH
alpar@9: 	hardcode_runpath_var=yes
alpar@9: 	ld_shlibs=yes
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
alpar@9:       no_undefined_flag='${wl}-z,text'
alpar@9:       archive_cmds_need_lc=no
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       runpath_var='LD_RUN_PATH'
alpar@9: 
alpar@9:       if test "$GCC" = yes; then
alpar@9: 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9:       else
alpar@9: 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     sysv5* | sco3.2v5* | sco5v6*)
alpar@9:       # Note: We can NOT use -z defs as we might desire, because we do not
alpar@9:       # link with -lc, and that would cause any symbols used from libc to
alpar@9:       # always be unresolved, which means just about no library would
alpar@9:       # ever link correctly.  If we're not using GNU ld we use -z text
alpar@9:       # though, which does catch some bad symbols but isn't as heavy-handed
alpar@9:       # as -z defs.
alpar@9:       no_undefined_flag='${wl}-z,text'
alpar@9:       allow_undefined_flag='${wl}-z,nodefs'
alpar@9:       archive_cmds_need_lc=no
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
alpar@9:       hardcode_libdir_separator=':'
alpar@9:       link_all_deplibs=yes
alpar@9:       export_dynamic_flag_spec='${wl}-Bexport'
alpar@9:       runpath_var='LD_RUN_PATH'
alpar@9: 
alpar@9:       if test "$GCC" = yes; then
alpar@9: 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9:       else
alpar@9: 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9: 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
alpar@9:       fi
alpar@9:       ;;
alpar@9: 
alpar@9:     uts4*)
alpar@9:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
alpar@9:       hardcode_libdir_flag_spec='-L$libdir'
alpar@9:       hardcode_shlibpath_var=no
alpar@9:       ;;
alpar@9: 
alpar@9:     *)
alpar@9:       ld_shlibs=no
alpar@9:       ;;
alpar@9:     esac
alpar@9: 
alpar@9:     if test x$host_vendor = xsni; then
alpar@9:       case $host in
alpar@9:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
alpar@9: 	export_dynamic_flag_spec='${wl}-Blargedynsym'
alpar@9: 	;;
alpar@9:       esac
alpar@9:     fi
alpar@9:   fi
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
alpar@9: $as_echo "$ld_shlibs" >&6; }
alpar@9: test "$ld_shlibs" = no && can_build_shared=no
alpar@9: 
alpar@9: with_gnu_ld=$with_gnu_ld
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: #
alpar@9: # Do we need to explicitly link libc?
alpar@9: #
alpar@9: case "x$archive_cmds_need_lc" in
alpar@9: x|xyes)
alpar@9:   # Assume -lc should be added
alpar@9:   archive_cmds_need_lc=yes
alpar@9: 
alpar@9:   if test "$enable_shared" = yes && test "$GCC" = yes; then
alpar@9:     case $archive_cmds in
alpar@9:     *'~'*)
alpar@9:       # FIXME: we may have to deal with multi-command sequences.
alpar@9:       ;;
alpar@9:     '$CC '*)
alpar@9:       # Test whether the compiler implicitly links with -lc since on some
alpar@9:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
alpar@9:       # to ld, don't add -lc before -lgcc.
alpar@9:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
alpar@9: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
alpar@9: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   $RM conftest*
alpar@9: 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
alpar@9: 
alpar@9: 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
alpar@9:   (eval $ac_compile) 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; } 2>conftest.err; then
alpar@9: 	  soname=conftest
alpar@9: 	  lib=conftest
alpar@9: 	  libobjs=conftest.$ac_objext
alpar@9: 	  deplibs=
alpar@9: 	  wl=$lt_prog_compiler_wl
alpar@9: 	  pic_flag=$lt_prog_compiler_pic
alpar@9: 	  compiler_flags=-v
alpar@9: 	  linker_flags=-v
alpar@9: 	  verstring=
alpar@9: 	  output_objdir=.
alpar@9: 	  libname=conftest
alpar@9: 	  lt_save_allow_undefined_flag=$allow_undefined_flag
alpar@9: 	  allow_undefined_flag=
alpar@9: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
alpar@9:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; }
alpar@9: 	  then
alpar@9: 	    lt_cv_archive_cmds_need_lc=no
alpar@9: 	  else
alpar@9: 	    lt_cv_archive_cmds_need_lc=yes
alpar@9: 	  fi
alpar@9: 	  allow_undefined_flag=$lt_save_allow_undefined_flag
alpar@9: 	else
alpar@9: 	  cat conftest.err 1>&5
alpar@9: 	fi
alpar@9: 	$RM conftest*
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
alpar@9: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
alpar@9:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
alpar@9:       ;;
alpar@9:     esac
alpar@9:   fi
alpar@9:   ;;
alpar@9: esac
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
alpar@9: $as_echo_n "checking dynamic linker characteristics... " >&6; }
alpar@9: 
alpar@9: if test "$GCC" = yes; then
alpar@9:   case $host_os in
alpar@9:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
alpar@9:     *) lt_awk_arg="/^libraries:/" ;;
alpar@9:   esac
alpar@9:   case $host_os in
alpar@9:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
alpar@9:     *) lt_sed_strip_eq="s,=/,/,g" ;;
alpar@9:   esac
alpar@9:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
alpar@9:   case $lt_search_path_spec in
alpar@9:   *\;*)
alpar@9:     # if the path contains ";" then we assume it to be the separator
alpar@9:     # otherwise default to the standard path separator (i.e. ":") - it is
alpar@9:     # assumed that no part of a normal pathname contains ";" but that should
alpar@9:     # okay in the real world where ";" in dirpaths is itself problematic.
alpar@9:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
alpar@9:     ;;
alpar@9:   *)
alpar@9:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
alpar@9:     ;;
alpar@9:   esac
alpar@9:   # Ok, now we have the path, separated by spaces, we can step through it
alpar@9:   # and add multilib dir if necessary.
alpar@9:   lt_tmp_lt_search_path_spec=
alpar@9:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
alpar@9:   for lt_sys_path in $lt_search_path_spec; do
alpar@9:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
alpar@9:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
alpar@9:     else
alpar@9:       test -d "$lt_sys_path" && \
alpar@9: 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
alpar@9:     fi
alpar@9:   done
alpar@9:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
alpar@9: BEGIN {RS=" "; FS="/|\n";} {
alpar@9:   lt_foo="";
alpar@9:   lt_count=0;
alpar@9:   for (lt_i = NF; lt_i > 0; lt_i--) {
alpar@9:     if ($lt_i != "" && $lt_i != ".") {
alpar@9:       if ($lt_i == "..") {
alpar@9:         lt_count++;
alpar@9:       } else {
alpar@9:         if (lt_count == 0) {
alpar@9:           lt_foo="/" $lt_i lt_foo;
alpar@9:         } else {
alpar@9:           lt_count--;
alpar@9:         }
alpar@9:       }
alpar@9:     }
alpar@9:   }
alpar@9:   if (lt_foo != "") { lt_freq[lt_foo]++; }
alpar@9:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
alpar@9: }'`
alpar@9:   # AWK program above erroneously prepends '/' to C:/dos/paths
alpar@9:   # for these hosts.
alpar@9:   case $host_os in
alpar@9:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
alpar@9:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
alpar@9:   esac
alpar@9:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
alpar@9: else
alpar@9:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
alpar@9: fi
alpar@9: library_names_spec=
alpar@9: libname_spec='lib$name'
alpar@9: soname_spec=
alpar@9: shrext_cmds=".so"
alpar@9: postinstall_cmds=
alpar@9: postuninstall_cmds=
alpar@9: finish_cmds=
alpar@9: finish_eval=
alpar@9: shlibpath_var=
alpar@9: shlibpath_overrides_runpath=unknown
alpar@9: version_type=none
alpar@9: dynamic_linker="$host_os ld.so"
alpar@9: sys_lib_dlsearch_path_spec="/lib /usr/lib"
alpar@9: need_lib_prefix=unknown
alpar@9: hardcode_into_libs=no
alpar@9: 
alpar@9: # when you set need_version to no, make sure it does not cause -set_version
alpar@9: # flags to be left without arguments
alpar@9: need_version=unknown
alpar@9: 
alpar@9: case $host_os in
alpar@9: aix3*)
alpar@9:   version_type=linux
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
alpar@9:   shlibpath_var=LIBPATH
alpar@9: 
alpar@9:   # AIX 3 has no versioning support, so we append a major version to the name.
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   ;;
alpar@9: 
alpar@9: aix[4-9]*)
alpar@9:   version_type=linux
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   hardcode_into_libs=yes
alpar@9:   if test "$host_cpu" = ia64; then
alpar@9:     # AIX 5 supports IA64
alpar@9:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
alpar@9:     shlibpath_var=LD_LIBRARY_PATH
alpar@9:   else
alpar@9:     # With GCC up to 2.95.x, collect2 would create an import file
alpar@9:     # for dependence libraries.  The import file would start with
alpar@9:     # the line `#! .'.  This would cause the generated library to
alpar@9:     # depend on `.', always an invalid library.  This was fixed in
alpar@9:     # development snapshots of GCC prior to 3.0.
alpar@9:     case $host_os in
alpar@9:       aix4 | aix4.[01] | aix4.[01].*)
alpar@9:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
alpar@9: 	   echo ' yes '
alpar@9: 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
alpar@9: 	:
alpar@9:       else
alpar@9: 	can_build_shared=no
alpar@9:       fi
alpar@9:       ;;
alpar@9:     esac
alpar@9:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
alpar@9:     # soname into executable. Probably we can add versioning support to
alpar@9:     # collect2, so additional links can be useful in future.
alpar@9:     if test "$aix_use_runtimelinking" = yes; then
alpar@9:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
alpar@9:       # instead of lib<name>.a to let people know that these are not
alpar@9:       # typical AIX shared libraries.
alpar@9:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:     else
alpar@9:       # We preserve .a as extension for shared libraries through AIX4.2
alpar@9:       # and later when we are not doing run time linking.
alpar@9:       library_names_spec='${libname}${release}.a $libname.a'
alpar@9:       soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:     fi
alpar@9:     shlibpath_var=LIBPATH
alpar@9:   fi
alpar@9:   ;;
alpar@9: 
alpar@9: amigaos*)
alpar@9:   case $host_cpu in
alpar@9:   powerpc)
alpar@9:     # Since July 2007 AmigaOS4 officially supports .so libraries.
alpar@9:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
alpar@9:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:     ;;
alpar@9:   m68k)
alpar@9:     library_names_spec='$libname.ixlibrary $libname.a'
alpar@9:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
alpar@9:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
alpar@9:     ;;
alpar@9:   esac
alpar@9:   ;;
alpar@9: 
alpar@9: beos*)
alpar@9:   library_names_spec='${libname}${shared_ext}'
alpar@9:   dynamic_linker="$host_os ld.so"
alpar@9:   shlibpath_var=LIBRARY_PATH
alpar@9:   ;;
alpar@9: 
alpar@9: bsdi[45]*)
alpar@9:   version_type=linux
alpar@9:   need_version=no
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
alpar@9:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
alpar@9:   # the default ld.so.conf also contains /usr/contrib/lib and
alpar@9:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
alpar@9:   # libtool to hard-code these into programs
alpar@9:   ;;
alpar@9: 
alpar@9: cygwin* | mingw* | pw32* | cegcc*)
alpar@9:   version_type=windows
alpar@9:   shrext_cmds=".dll"
alpar@9:   need_version=no
alpar@9:   need_lib_prefix=no
alpar@9: 
alpar@9:   case $GCC,$host_os in
alpar@9:   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
alpar@9:     library_names_spec='$libname.dll.a'
alpar@9:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
alpar@9:     postinstall_cmds='base_file=`basename \${file}`~
alpar@9:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
alpar@9:       dldir=$destdir/`dirname \$dlpath`~
alpar@9:       test -d \$dldir || mkdir -p \$dldir~
alpar@9:       $install_prog $dir/$dlname \$dldir/$dlname~
alpar@9:       chmod a+x \$dldir/$dlname~
alpar@9:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
alpar@9:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
alpar@9:       fi'
alpar@9:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
alpar@9:       dlpath=$dir/\$dldll~
alpar@9:        $RM \$dlpath'
alpar@9:     shlibpath_overrides_runpath=yes
alpar@9: 
alpar@9:     case $host_os in
alpar@9:     cygwin*)
alpar@9:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
alpar@9:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
alpar@9: 
alpar@9:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
alpar@9:       ;;
alpar@9:     mingw* | cegcc*)
alpar@9:       # MinGW DLLs use traditional 'lib' prefix
alpar@9:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
alpar@9:       ;;
alpar@9:     pw32*)
alpar@9:       # pw32 DLLs use 'pw' prefix rather than 'lib'
alpar@9:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
alpar@9:       ;;
alpar@9:     esac
alpar@9:     ;;
alpar@9: 
alpar@9:   *)
alpar@9:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
alpar@9:     ;;
alpar@9:   esac
alpar@9:   dynamic_linker='Win32 ld.exe'
alpar@9:   # FIXME: first we should search . and the directory the executable is in
alpar@9:   shlibpath_var=PATH
alpar@9:   ;;
alpar@9: 
alpar@9: darwin* | rhapsody*)
alpar@9:   dynamic_linker="$host_os dyld"
alpar@9:   version_type=darwin
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
alpar@9:   soname_spec='${libname}${release}${major}$shared_ext'
alpar@9:   shlibpath_overrides_runpath=yes
alpar@9:   shlibpath_var=DYLD_LIBRARY_PATH
alpar@9:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
alpar@9: 
alpar@9:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
alpar@9:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
alpar@9:   ;;
alpar@9: 
alpar@9: dgux*)
alpar@9:   version_type=linux
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   ;;
alpar@9: 
alpar@9: freebsd1*)
alpar@9:   dynamic_linker=no
alpar@9:   ;;
alpar@9: 
alpar@9: freebsd* | dragonfly*)
alpar@9:   # DragonFly does not have aout.  When/if they implement a new
alpar@9:   # versioning mechanism, adjust this.
alpar@9:   if test -x /usr/bin/objformat; then
alpar@9:     objformat=`/usr/bin/objformat`
alpar@9:   else
alpar@9:     case $host_os in
alpar@9:     freebsd[123]*) objformat=aout ;;
alpar@9:     *) objformat=elf ;;
alpar@9:     esac
alpar@9:   fi
alpar@9:   version_type=freebsd-$objformat
alpar@9:   case $version_type in
alpar@9:     freebsd-elf*)
alpar@9:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
alpar@9:       need_version=no
alpar@9:       need_lib_prefix=no
alpar@9:       ;;
alpar@9:     freebsd-*)
alpar@9:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
alpar@9:       need_version=yes
alpar@9:       ;;
alpar@9:   esac
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   case $host_os in
alpar@9:   freebsd2*)
alpar@9:     shlibpath_overrides_runpath=yes
alpar@9:     ;;
alpar@9:   freebsd3.[01]* | freebsdelf3.[01]*)
alpar@9:     shlibpath_overrides_runpath=yes
alpar@9:     hardcode_into_libs=yes
alpar@9:     ;;
alpar@9:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
alpar@9:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
alpar@9:     shlibpath_overrides_runpath=no
alpar@9:     hardcode_into_libs=yes
alpar@9:     ;;
alpar@9:   *) # from 4.6 on, and DragonFly
alpar@9:     shlibpath_overrides_runpath=yes
alpar@9:     hardcode_into_libs=yes
alpar@9:     ;;
alpar@9:   esac
alpar@9:   ;;
alpar@9: 
alpar@9: gnu*)
alpar@9:   version_type=linux
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   hardcode_into_libs=yes
alpar@9:   ;;
alpar@9: 
alpar@9: haiku*)
alpar@9:   version_type=linux
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   dynamic_linker="$host_os runtime_loader"
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   shlibpath_var=LIBRARY_PATH
alpar@9:   shlibpath_overrides_runpath=yes
alpar@9:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
alpar@9:   hardcode_into_libs=yes
alpar@9:   ;;
alpar@9: 
alpar@9: hpux9* | hpux10* | hpux11*)
alpar@9:   # Give a soname corresponding to the major version so that dld.sl refuses to
alpar@9:   # link against other versions.
alpar@9:   version_type=sunos
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   case $host_cpu in
alpar@9:   ia64*)
alpar@9:     shrext_cmds='.so'
alpar@9:     hardcode_into_libs=yes
alpar@9:     dynamic_linker="$host_os dld.so"
alpar@9:     shlibpath_var=LD_LIBRARY_PATH
alpar@9:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
alpar@9:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:     soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:     if test "X$HPUX_IA64_MODE" = X32; then
alpar@9:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
alpar@9:     else
alpar@9:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
alpar@9:     fi
alpar@9:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
alpar@9:     ;;
alpar@9:   hppa*64*)
alpar@9:     shrext_cmds='.sl'
alpar@9:     hardcode_into_libs=yes
alpar@9:     dynamic_linker="$host_os dld.sl"
alpar@9:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
alpar@9:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
alpar@9:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:     soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
alpar@9:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
alpar@9:     ;;
alpar@9:   *)
alpar@9:     shrext_cmds='.sl'
alpar@9:     dynamic_linker="$host_os dld.sl"
alpar@9:     shlibpath_var=SHLIB_PATH
alpar@9:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
alpar@9:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:     soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:     ;;
alpar@9:   esac
alpar@9:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
alpar@9:   postinstall_cmds='chmod 555 $lib'
alpar@9:   # or fails outright, so override atomically:
alpar@9:   install_override_mode=555
alpar@9:   ;;
alpar@9: 
alpar@9: interix[3-9]*)
alpar@9:   version_type=linux
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   shlibpath_overrides_runpath=no
alpar@9:   hardcode_into_libs=yes
alpar@9:   ;;
alpar@9: 
alpar@9: irix5* | irix6* | nonstopux*)
alpar@9:   case $host_os in
alpar@9:     nonstopux*) version_type=nonstopux ;;
alpar@9:     *)
alpar@9: 	if test "$lt_cv_prog_gnu_ld" = yes; then
alpar@9: 		version_type=linux
alpar@9: 	else
alpar@9: 		version_type=irix
alpar@9: 	fi ;;
alpar@9:   esac
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
alpar@9:   case $host_os in
alpar@9:   irix5* | nonstopux*)
alpar@9:     libsuff= shlibsuff=
alpar@9:     ;;
alpar@9:   *)
alpar@9:     case $LD in # libtool.m4 will add one of these switches to LD
alpar@9:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
alpar@9:       libsuff= shlibsuff= libmagic=32-bit;;
alpar@9:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
alpar@9:       libsuff=32 shlibsuff=N32 libmagic=N32;;
alpar@9:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
alpar@9:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
alpar@9:     *) libsuff= shlibsuff= libmagic=never-match;;
alpar@9:     esac
alpar@9:     ;;
alpar@9:   esac
alpar@9:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
alpar@9:   shlibpath_overrides_runpath=no
alpar@9:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
alpar@9:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
alpar@9:   hardcode_into_libs=yes
alpar@9:   ;;
alpar@9: 
alpar@9: # No shared lib support for Linux oldld, aout, or coff.
alpar@9: linux*oldld* | linux*aout* | linux*coff*)
alpar@9:   dynamic_linker=no
alpar@9:   ;;
alpar@9: 
alpar@9: # This must be Linux ELF.
alpar@9: linux* | k*bsd*-gnu | kopensolaris*-gnu)
alpar@9:   version_type=linux
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   shlibpath_overrides_runpath=no
alpar@9: 
alpar@9:   # Some binutils ld are patched to set DT_RUNPATH
alpar@9:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   lt_cv_shlibpath_overrides_runpath=no
alpar@9:     save_LDFLAGS=$LDFLAGS
alpar@9:     save_libdir=$libdir
alpar@9:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
alpar@9: 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
alpar@9:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: 
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
alpar@9:   lt_cv_shlibpath_overrides_runpath=yes
alpar@9: fi
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9:     LDFLAGS=$save_LDFLAGS
alpar@9:     libdir=$save_libdir
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
alpar@9: 
alpar@9:   # This implies no fast_install, which is unacceptable.
alpar@9:   # Some rework will be needed to allow for fast_install
alpar@9:   # before this can be enabled.
alpar@9:   hardcode_into_libs=yes
alpar@9: 
alpar@9:   # Append ld.so.conf contents to the search path
alpar@9:   if test -f /etc/ld.so.conf; then
alpar@9:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
alpar@9:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
alpar@9:   fi
alpar@9: 
alpar@9:   # We used to test for /lib/ld.so.1 and disable shared libraries on
alpar@9:   # powerpc, because MkLinux only supported shared libraries with the
alpar@9:   # GNU dynamic linker.  Since this was broken with cross compilers,
alpar@9:   # most powerpc-linux boxes support dynamic linking these days and
alpar@9:   # people can always --disable-shared, the test was removed, and we
alpar@9:   # assume the GNU/Linux dynamic linker is in use.
alpar@9:   dynamic_linker='GNU/Linux ld.so'
alpar@9:   ;;
alpar@9: 
alpar@9: netbsd*)
alpar@9:   version_type=sunos
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
alpar@9:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
alpar@9:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
alpar@9:     dynamic_linker='NetBSD (a.out) ld.so'
alpar@9:   else
alpar@9:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
alpar@9:     soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:     dynamic_linker='NetBSD ld.elf_so'
alpar@9:   fi
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   shlibpath_overrides_runpath=yes
alpar@9:   hardcode_into_libs=yes
alpar@9:   ;;
alpar@9: 
alpar@9: newsos6)
alpar@9:   version_type=linux
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   shlibpath_overrides_runpath=yes
alpar@9:   ;;
alpar@9: 
alpar@9: *nto* | *qnx*)
alpar@9:   version_type=qnx
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   shlibpath_overrides_runpath=no
alpar@9:   hardcode_into_libs=yes
alpar@9:   dynamic_linker='ldqnx.so'
alpar@9:   ;;
alpar@9: 
alpar@9: openbsd*)
alpar@9:   version_type=sunos
alpar@9:   sys_lib_dlsearch_path_spec="/usr/lib"
alpar@9:   need_lib_prefix=no
alpar@9:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
alpar@9:   case $host_os in
alpar@9:     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
alpar@9:     *)				need_version=no  ;;
alpar@9:   esac
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
alpar@9:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
alpar@9:     case $host_os in
alpar@9:       openbsd2.[89] | openbsd2.[89].*)
alpar@9: 	shlibpath_overrides_runpath=no
alpar@9: 	;;
alpar@9:       *)
alpar@9: 	shlibpath_overrides_runpath=yes
alpar@9: 	;;
alpar@9:       esac
alpar@9:   else
alpar@9:     shlibpath_overrides_runpath=yes
alpar@9:   fi
alpar@9:   ;;
alpar@9: 
alpar@9: os2*)
alpar@9:   libname_spec='$name'
alpar@9:   shrext_cmds=".dll"
alpar@9:   need_lib_prefix=no
alpar@9:   library_names_spec='$libname${shared_ext} $libname.a'
alpar@9:   dynamic_linker='OS/2 ld.exe'
alpar@9:   shlibpath_var=LIBPATH
alpar@9:   ;;
alpar@9: 
alpar@9: osf3* | osf4* | osf5*)
alpar@9:   version_type=osf
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
alpar@9:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
alpar@9:   ;;
alpar@9: 
alpar@9: rdos*)
alpar@9:   dynamic_linker=no
alpar@9:   ;;
alpar@9: 
alpar@9: solaris*)
alpar@9:   version_type=linux
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   shlibpath_overrides_runpath=yes
alpar@9:   hardcode_into_libs=yes
alpar@9:   # ldd complains unless libraries are executable
alpar@9:   postinstall_cmds='chmod +x $lib'
alpar@9:   ;;
alpar@9: 
alpar@9: sunos4*)
alpar@9:   version_type=sunos
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
alpar@9:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   shlibpath_overrides_runpath=yes
alpar@9:   if test "$with_gnu_ld" = yes; then
alpar@9:     need_lib_prefix=no
alpar@9:   fi
alpar@9:   need_version=yes
alpar@9:   ;;
alpar@9: 
alpar@9: sysv4 | sysv4.3*)
alpar@9:   version_type=linux
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   case $host_vendor in
alpar@9:     sni)
alpar@9:       shlibpath_overrides_runpath=no
alpar@9:       need_lib_prefix=no
alpar@9:       runpath_var=LD_RUN_PATH
alpar@9:       ;;
alpar@9:     siemens)
alpar@9:       need_lib_prefix=no
alpar@9:       ;;
alpar@9:     motorola)
alpar@9:       need_lib_prefix=no
alpar@9:       need_version=no
alpar@9:       shlibpath_overrides_runpath=no
alpar@9:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
alpar@9:       ;;
alpar@9:   esac
alpar@9:   ;;
alpar@9: 
alpar@9: sysv4*MP*)
alpar@9:   if test -d /usr/nec ;then
alpar@9:     version_type=linux
alpar@9:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
alpar@9:     soname_spec='$libname${shared_ext}.$major'
alpar@9:     shlibpath_var=LD_LIBRARY_PATH
alpar@9:   fi
alpar@9:   ;;
alpar@9: 
alpar@9: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
alpar@9:   version_type=freebsd-elf
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   shlibpath_overrides_runpath=yes
alpar@9:   hardcode_into_libs=yes
alpar@9:   if test "$with_gnu_ld" = yes; then
alpar@9:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
alpar@9:   else
alpar@9:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
alpar@9:     case $host_os in
alpar@9:       sco3.2v5*)
alpar@9:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
alpar@9: 	;;
alpar@9:     esac
alpar@9:   fi
alpar@9:   sys_lib_dlsearch_path_spec='/usr/lib'
alpar@9:   ;;
alpar@9: 
alpar@9: tpf*)
alpar@9:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
alpar@9:   version_type=linux
alpar@9:   need_lib_prefix=no
alpar@9:   need_version=no
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   shlibpath_overrides_runpath=no
alpar@9:   hardcode_into_libs=yes
alpar@9:   ;;
alpar@9: 
alpar@9: uts4*)
alpar@9:   version_type=linux
alpar@9:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
alpar@9:   soname_spec='${libname}${release}${shared_ext}$major'
alpar@9:   shlibpath_var=LD_LIBRARY_PATH
alpar@9:   ;;
alpar@9: 
alpar@9: *)
alpar@9:   dynamic_linker=no
alpar@9:   ;;
alpar@9: esac
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
alpar@9: $as_echo "$dynamic_linker" >&6; }
alpar@9: test "$dynamic_linker" = no && can_build_shared=no
alpar@9: 
alpar@9: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
alpar@9: if test "$GCC" = yes; then
alpar@9:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
alpar@9: fi
alpar@9: 
alpar@9: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
alpar@9:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
alpar@9: fi
alpar@9: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
alpar@9:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
alpar@9: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
alpar@9: hardcode_action=
alpar@9: if test -n "$hardcode_libdir_flag_spec" ||
alpar@9:    test -n "$runpath_var" ||
alpar@9:    test "X$hardcode_automatic" = "Xyes" ; then
alpar@9: 
alpar@9:   # We can hardcode non-existent directories.
alpar@9:   if test "$hardcode_direct" != no &&
alpar@9:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
alpar@9:      # have to relink, otherwise we might link with an installed library
alpar@9:      # when we should be linking with a yet-to-be-installed one
alpar@9:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
alpar@9:      test "$hardcode_minus_L" != no; then
alpar@9:     # Linking always hardcodes the temporary library directory.
alpar@9:     hardcode_action=relink
alpar@9:   else
alpar@9:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
alpar@9:     hardcode_action=immediate
alpar@9:   fi
alpar@9: else
alpar@9:   # We cannot hardcode anything, or else we can only hardcode existing
alpar@9:   # directories.
alpar@9:   hardcode_action=unsupported
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
alpar@9: $as_echo "$hardcode_action" >&6; }
alpar@9: 
alpar@9: if test "$hardcode_action" = relink ||
alpar@9:    test "$inherit_rpath" = yes; then
alpar@9:   # Fast installation is not supported
alpar@9:   enable_fast_install=no
alpar@9: elif test "$shlibpath_overrides_runpath" = yes ||
alpar@9:      test "$enable_shared" = no; then
alpar@9:   # Fast installation is not necessary
alpar@9:   enable_fast_install=needless
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:   if test "x$enable_dlopen" != xyes; then
alpar@9:   enable_dlopen=unknown
alpar@9:   enable_dlopen_self=unknown
alpar@9:   enable_dlopen_self_static=unknown
alpar@9: else
alpar@9:   lt_cv_dlopen=no
alpar@9:   lt_cv_dlopen_libs=
alpar@9: 
alpar@9:   case $host_os in
alpar@9:   beos*)
alpar@9:     lt_cv_dlopen="load_add_on"
alpar@9:     lt_cv_dlopen_libs=
alpar@9:     lt_cv_dlopen_self=yes
alpar@9:     ;;
alpar@9: 
alpar@9:   mingw* | pw32* | cegcc*)
alpar@9:     lt_cv_dlopen="LoadLibrary"
alpar@9:     lt_cv_dlopen_libs=
alpar@9:     ;;
alpar@9: 
alpar@9:   cygwin*)
alpar@9:     lt_cv_dlopen="dlopen"
alpar@9:     lt_cv_dlopen_libs=
alpar@9:     ;;
alpar@9: 
alpar@9:   darwin*)
alpar@9:   # if libdl is installed we need to link against it
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
alpar@9: $as_echo_n "checking for dlopen in -ldl... " >&6; }
alpar@9: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   ac_check_lib_save_LIBS=$LIBS
alpar@9: LIBS="-ldl  $LIBS"
alpar@9: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: /* Override any GCC internal prototype to avoid an error.
alpar@9:    Use char because int might match the return type of a GCC
alpar@9:    builtin and then its argument prototype would still apply.  */
alpar@9: #ifdef __cplusplus
alpar@9: extern "C"
alpar@9: #endif
alpar@9: char dlopen ();
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: return dlopen ();
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9:   ac_cv_lib_dl_dlopen=yes
alpar@9: else
alpar@9:   ac_cv_lib_dl_dlopen=no
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9: LIBS=$ac_check_lib_save_LIBS
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
alpar@9: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
alpar@9: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
alpar@9:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
alpar@9: else
alpar@9: 
alpar@9:     lt_cv_dlopen="dyld"
alpar@9:     lt_cv_dlopen_libs=
alpar@9:     lt_cv_dlopen_self=yes
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9:     ;;
alpar@9: 
alpar@9:   *)
alpar@9:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
alpar@9: if test "x$ac_cv_func_shl_load" = x""yes; then :
alpar@9:   lt_cv_dlopen="shl_load"
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
alpar@9: $as_echo_n "checking for shl_load in -ldld... " >&6; }
alpar@9: if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   ac_check_lib_save_LIBS=$LIBS
alpar@9: LIBS="-ldld  $LIBS"
alpar@9: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: /* Override any GCC internal prototype to avoid an error.
alpar@9:    Use char because int might match the return type of a GCC
alpar@9:    builtin and then its argument prototype would still apply.  */
alpar@9: #ifdef __cplusplus
alpar@9: extern "C"
alpar@9: #endif
alpar@9: char shl_load ();
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: return shl_load ();
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9:   ac_cv_lib_dld_shl_load=yes
alpar@9: else
alpar@9:   ac_cv_lib_dld_shl_load=no
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9: LIBS=$ac_check_lib_save_LIBS
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
alpar@9: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
alpar@9: if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
alpar@9:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
alpar@9: else
alpar@9:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
alpar@9: if test "x$ac_cv_func_dlopen" = x""yes; then :
alpar@9:   lt_cv_dlopen="dlopen"
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
alpar@9: $as_echo_n "checking for dlopen in -ldl... " >&6; }
alpar@9: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   ac_check_lib_save_LIBS=$LIBS
alpar@9: LIBS="-ldl  $LIBS"
alpar@9: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: /* Override any GCC internal prototype to avoid an error.
alpar@9:    Use char because int might match the return type of a GCC
alpar@9:    builtin and then its argument prototype would still apply.  */
alpar@9: #ifdef __cplusplus
alpar@9: extern "C"
alpar@9: #endif
alpar@9: char dlopen ();
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: return dlopen ();
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9:   ac_cv_lib_dl_dlopen=yes
alpar@9: else
alpar@9:   ac_cv_lib_dl_dlopen=no
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9: LIBS=$ac_check_lib_save_LIBS
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
alpar@9: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
alpar@9: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
alpar@9:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
alpar@9: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
alpar@9: if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   ac_check_lib_save_LIBS=$LIBS
alpar@9: LIBS="-lsvld  $LIBS"
alpar@9: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: /* Override any GCC internal prototype to avoid an error.
alpar@9:    Use char because int might match the return type of a GCC
alpar@9:    builtin and then its argument prototype would still apply.  */
alpar@9: #ifdef __cplusplus
alpar@9: extern "C"
alpar@9: #endif
alpar@9: char dlopen ();
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: return dlopen ();
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9:   ac_cv_lib_svld_dlopen=yes
alpar@9: else
alpar@9:   ac_cv_lib_svld_dlopen=no
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9: LIBS=$ac_check_lib_save_LIBS
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
alpar@9: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
alpar@9: if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
alpar@9:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
alpar@9: else
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
alpar@9: $as_echo_n "checking for dld_link in -ldld... " >&6; }
alpar@9: if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   ac_check_lib_save_LIBS=$LIBS
alpar@9: LIBS="-ldld  $LIBS"
alpar@9: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: /* Override any GCC internal prototype to avoid an error.
alpar@9:    Use char because int might match the return type of a GCC
alpar@9:    builtin and then its argument prototype would still apply.  */
alpar@9: #ifdef __cplusplus
alpar@9: extern "C"
alpar@9: #endif
alpar@9: char dld_link ();
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: return dld_link ();
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9:   ac_cv_lib_dld_dld_link=yes
alpar@9: else
alpar@9:   ac_cv_lib_dld_dld_link=no
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9: LIBS=$ac_check_lib_save_LIBS
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
alpar@9: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
alpar@9: if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
alpar@9:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9:     ;;
alpar@9:   esac
alpar@9: 
alpar@9:   if test "x$lt_cv_dlopen" != xno; then
alpar@9:     enable_dlopen=yes
alpar@9:   else
alpar@9:     enable_dlopen=no
alpar@9:   fi
alpar@9: 
alpar@9:   case $lt_cv_dlopen in
alpar@9:   dlopen)
alpar@9:     save_CPPFLAGS="$CPPFLAGS"
alpar@9:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
alpar@9: 
alpar@9:     save_LDFLAGS="$LDFLAGS"
alpar@9:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
alpar@9: 
alpar@9:     save_LIBS="$LIBS"
alpar@9:     LIBS="$lt_cv_dlopen_libs $LIBS"
alpar@9: 
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
alpar@9: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
alpar@9: if test "${lt_cv_dlopen_self+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   	  if test "$cross_compiling" = yes; then :
alpar@9:   lt_cv_dlopen_self=cross
alpar@9: else
alpar@9:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
alpar@9:   lt_status=$lt_dlunknown
alpar@9:   cat > conftest.$ac_ext <<_LT_EOF
alpar@9: #line $LINENO "configure"
alpar@9: #include "confdefs.h"
alpar@9: 
alpar@9: #if HAVE_DLFCN_H
alpar@9: #include <dlfcn.h>
alpar@9: #endif
alpar@9: 
alpar@9: #include <stdio.h>
alpar@9: 
alpar@9: #ifdef RTLD_GLOBAL
alpar@9: #  define LT_DLGLOBAL		RTLD_GLOBAL
alpar@9: #else
alpar@9: #  ifdef DL_GLOBAL
alpar@9: #    define LT_DLGLOBAL		DL_GLOBAL
alpar@9: #  else
alpar@9: #    define LT_DLGLOBAL		0
alpar@9: #  endif
alpar@9: #endif
alpar@9: 
alpar@9: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
alpar@9:    find out it does not work in some platform. */
alpar@9: #ifndef LT_DLLAZY_OR_NOW
alpar@9: #  ifdef RTLD_LAZY
alpar@9: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
alpar@9: #  else
alpar@9: #    ifdef DL_LAZY
alpar@9: #      define LT_DLLAZY_OR_NOW		DL_LAZY
alpar@9: #    else
alpar@9: #      ifdef RTLD_NOW
alpar@9: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
alpar@9: #      else
alpar@9: #        ifdef DL_NOW
alpar@9: #          define LT_DLLAZY_OR_NOW	DL_NOW
alpar@9: #        else
alpar@9: #          define LT_DLLAZY_OR_NOW	0
alpar@9: #        endif
alpar@9: #      endif
alpar@9: #    endif
alpar@9: #  endif
alpar@9: #endif
alpar@9: 
alpar@9: /* When -fvisbility=hidden is used, assume the code has been annotated
alpar@9:    correspondingly for the symbols needed.  */
alpar@9: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
alpar@9: void fnord () __attribute__((visibility("default")));
alpar@9: #endif
alpar@9: 
alpar@9: void fnord () { int i=42; }
alpar@9: int main ()
alpar@9: {
alpar@9:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
alpar@9:   int status = $lt_dlunknown;
alpar@9: 
alpar@9:   if (self)
alpar@9:     {
alpar@9:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
alpar@9:       else
alpar@9:         {
alpar@9: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
alpar@9:           else puts (dlerror ());
alpar@9: 	}
alpar@9:       /* dlclose (self); */
alpar@9:     }
alpar@9:   else
alpar@9:     puts (dlerror ());
alpar@9: 
alpar@9:   return status;
alpar@9: }
alpar@9: _LT_EOF
alpar@9:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
alpar@9:   (eval $ac_link) 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
alpar@9:     (./conftest; exit; ) >&5 2>/dev/null
alpar@9:     lt_status=$?
alpar@9:     case x$lt_status in
alpar@9:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
alpar@9:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
alpar@9:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
alpar@9:     esac
alpar@9:   else :
alpar@9:     # compilation failed
alpar@9:     lt_cv_dlopen_self=no
alpar@9:   fi
alpar@9: fi
alpar@9: rm -fr conftest*
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
alpar@9: $as_echo "$lt_cv_dlopen_self" >&6; }
alpar@9: 
alpar@9:     if test "x$lt_cv_dlopen_self" = xyes; then
alpar@9:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
alpar@9:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
alpar@9: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
alpar@9: if test "${lt_cv_dlopen_self_static+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   	  if test "$cross_compiling" = yes; then :
alpar@9:   lt_cv_dlopen_self_static=cross
alpar@9: else
alpar@9:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
alpar@9:   lt_status=$lt_dlunknown
alpar@9:   cat > conftest.$ac_ext <<_LT_EOF
alpar@9: #line $LINENO "configure"
alpar@9: #include "confdefs.h"
alpar@9: 
alpar@9: #if HAVE_DLFCN_H
alpar@9: #include <dlfcn.h>
alpar@9: #endif
alpar@9: 
alpar@9: #include <stdio.h>
alpar@9: 
alpar@9: #ifdef RTLD_GLOBAL
alpar@9: #  define LT_DLGLOBAL		RTLD_GLOBAL
alpar@9: #else
alpar@9: #  ifdef DL_GLOBAL
alpar@9: #    define LT_DLGLOBAL		DL_GLOBAL
alpar@9: #  else
alpar@9: #    define LT_DLGLOBAL		0
alpar@9: #  endif
alpar@9: #endif
alpar@9: 
alpar@9: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
alpar@9:    find out it does not work in some platform. */
alpar@9: #ifndef LT_DLLAZY_OR_NOW
alpar@9: #  ifdef RTLD_LAZY
alpar@9: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
alpar@9: #  else
alpar@9: #    ifdef DL_LAZY
alpar@9: #      define LT_DLLAZY_OR_NOW		DL_LAZY
alpar@9: #    else
alpar@9: #      ifdef RTLD_NOW
alpar@9: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
alpar@9: #      else
alpar@9: #        ifdef DL_NOW
alpar@9: #          define LT_DLLAZY_OR_NOW	DL_NOW
alpar@9: #        else
alpar@9: #          define LT_DLLAZY_OR_NOW	0
alpar@9: #        endif
alpar@9: #      endif
alpar@9: #    endif
alpar@9: #  endif
alpar@9: #endif
alpar@9: 
alpar@9: /* When -fvisbility=hidden is used, assume the code has been annotated
alpar@9:    correspondingly for the symbols needed.  */
alpar@9: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
alpar@9: void fnord () __attribute__((visibility("default")));
alpar@9: #endif
alpar@9: 
alpar@9: void fnord () { int i=42; }
alpar@9: int main ()
alpar@9: {
alpar@9:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
alpar@9:   int status = $lt_dlunknown;
alpar@9: 
alpar@9:   if (self)
alpar@9:     {
alpar@9:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
alpar@9:       else
alpar@9:         {
alpar@9: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
alpar@9:           else puts (dlerror ());
alpar@9: 	}
alpar@9:       /* dlclose (self); */
alpar@9:     }
alpar@9:   else
alpar@9:     puts (dlerror ());
alpar@9: 
alpar@9:   return status;
alpar@9: }
alpar@9: _LT_EOF
alpar@9:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
alpar@9:   (eval $ac_link) 2>&5
alpar@9:   ac_status=$?
alpar@9:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
alpar@9:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
alpar@9:     (./conftest; exit; ) >&5 2>/dev/null
alpar@9:     lt_status=$?
alpar@9:     case x$lt_status in
alpar@9:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
alpar@9:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
alpar@9:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
alpar@9:     esac
alpar@9:   else :
alpar@9:     # compilation failed
alpar@9:     lt_cv_dlopen_self_static=no
alpar@9:   fi
alpar@9: fi
alpar@9: rm -fr conftest*
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
alpar@9: $as_echo "$lt_cv_dlopen_self_static" >&6; }
alpar@9:     fi
alpar@9: 
alpar@9:     CPPFLAGS="$save_CPPFLAGS"
alpar@9:     LDFLAGS="$save_LDFLAGS"
alpar@9:     LIBS="$save_LIBS"
alpar@9:     ;;
alpar@9:   esac
alpar@9: 
alpar@9:   case $lt_cv_dlopen_self in
alpar@9:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
alpar@9:   *) enable_dlopen_self=unknown ;;
alpar@9:   esac
alpar@9: 
alpar@9:   case $lt_cv_dlopen_self_static in
alpar@9:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
alpar@9:   *) enable_dlopen_self_static=unknown ;;
alpar@9:   esac
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: striplib=
alpar@9: old_striplib=
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
alpar@9: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
alpar@9: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
alpar@9:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
alpar@9:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
alpar@9: $as_echo "yes" >&6; }
alpar@9: else
alpar@9: # FIXME - insert some real tests, host_os isn't really good enough
alpar@9:   case $host_os in
alpar@9:   darwin*)
alpar@9:     if test -n "$STRIP" ; then
alpar@9:       striplib="$STRIP -x"
alpar@9:       old_striplib="$STRIP -S"
alpar@9:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
alpar@9: $as_echo "yes" >&6; }
alpar@9:     else
alpar@9:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9:     fi
alpar@9:     ;;
alpar@9:   *)
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9:     ;;
alpar@9:   esac
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:   # Report which library types will actually be built
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
alpar@9: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
alpar@9: $as_echo "$can_build_shared" >&6; }
alpar@9: 
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
alpar@9: $as_echo_n "checking whether to build shared libraries... " >&6; }
alpar@9:   test "$can_build_shared" = "no" && enable_shared=no
alpar@9: 
alpar@9:   # On AIX, shared libraries and static libraries use the same namespace, and
alpar@9:   # are all built from PIC.
alpar@9:   case $host_os in
alpar@9:   aix3*)
alpar@9:     test "$enable_shared" = yes && enable_static=no
alpar@9:     if test -n "$RANLIB"; then
alpar@9:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
alpar@9:       postinstall_cmds='$RANLIB $lib'
alpar@9:     fi
alpar@9:     ;;
alpar@9: 
alpar@9:   aix[4-9]*)
alpar@9:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
alpar@9:       test "$enable_shared" = yes && enable_static=no
alpar@9:     fi
alpar@9:     ;;
alpar@9:   esac
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
alpar@9: $as_echo "$enable_shared" >&6; }
alpar@9: 
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
alpar@9: $as_echo_n "checking whether to build static libraries... " >&6; }
alpar@9:   # Make sure either enable_shared or enable_static is yes.
alpar@9:   test "$enable_shared" = yes || enable_static=yes
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
alpar@9: $as_echo "$enable_static" >&6; }
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: fi
alpar@9: ac_ext=c
alpar@9: ac_cpp='$CPP $CPPFLAGS'
alpar@9: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
alpar@9: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
alpar@9: ac_compiler_gnu=$ac_cv_c_compiler_gnu
alpar@9: 
alpar@9: CC="$lt_save_CC"
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9:         ac_config_commands="$ac_config_commands libtool"
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: # Only expand once:
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
alpar@9: $as_echo_n "checking for exp in -lm... " >&6; }
alpar@9: if test "${ac_cv_lib_m_exp+set}" = set; then :
alpar@9:   $as_echo_n "(cached) " >&6
alpar@9: else
alpar@9:   ac_check_lib_save_LIBS=$LIBS
alpar@9: LIBS="-lm  $LIBS"
alpar@9: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
alpar@9: /* end confdefs.h.  */
alpar@9: 
alpar@9: /* Override any GCC internal prototype to avoid an error.
alpar@9:    Use char because int might match the return type of a GCC
alpar@9:    builtin and then its argument prototype would still apply.  */
alpar@9: #ifdef __cplusplus
alpar@9: extern "C"
alpar@9: #endif
alpar@9: char exp ();
alpar@9: int
alpar@9: main ()
alpar@9: {
alpar@9: return exp ();
alpar@9:   ;
alpar@9:   return 0;
alpar@9: }
alpar@9: _ACEOF
alpar@9: if ac_fn_c_try_link "$LINENO"; then :
alpar@9:   ac_cv_lib_m_exp=yes
alpar@9: else
alpar@9:   ac_cv_lib_m_exp=no
alpar@9: fi
alpar@9: rm -f core conftest.err conftest.$ac_objext \
alpar@9:     conftest$ac_exeext conftest.$ac_ext
alpar@9: LIBS=$ac_check_lib_save_LIBS
alpar@9: fi
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
alpar@9: $as_echo "$ac_cv_lib_m_exp" >&6; }
alpar@9: if test "x$ac_cv_lib_m_exp" = x""yes; then :
alpar@9:   cat >>confdefs.h <<_ACEOF
alpar@9: #define HAVE_LIBM 1
alpar@9: _ACEOF
alpar@9: 
alpar@9:   LIBS="-lm $LIBS"
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
alpar@9: if test "x$ac_cv_header_sys_time_h" = x""yes; then :
alpar@9: 
alpar@9: $as_echo "#define HAVE_SYS_TIME_H 1" >>confdefs.h
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
alpar@9: if test "x$ac_cv_func_gettimeofday" = x""yes; then :
alpar@9: 
alpar@9: $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
alpar@9: 
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use GNU MP bignum library" >&5
alpar@9: $as_echo_n "checking whether to use GNU MP bignum library... " >&6; }
alpar@9: if test "$with_gmp" = "yes"; then
alpar@9:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
alpar@9: $as_echo "yes" >&6; }
alpar@9: 
alpar@9: $as_echo "#define HAVE_GMP 1" >>confdefs.h
alpar@9: 
alpar@9:    LIBS="-lgmp $LIBS"
alpar@9: else
alpar@9:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable shared library support" >&5
alpar@9: $as_echo_n "checking whether to enable shared library support... " >&6; }
alpar@9: if test "$enable_dl" = "yes"; then
alpar@9:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ltdl" >&5
alpar@9: $as_echo "ltdl" >&6; }
alpar@9: 
alpar@9: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
alpar@9: 
alpar@9:    LIBS="-lltdl $LIBS"
alpar@9: elif test "$enable_dl" = "ltdl"; then
alpar@9:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ltdl" >&5
alpar@9: $as_echo "ltdl" >&6; }
alpar@9: 
alpar@9: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
alpar@9: 
alpar@9:    LIBS="-lltdl $LIBS"
alpar@9: elif test "$enable_dl" = "dlfcn"; then
alpar@9:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: dlfcn" >&5
alpar@9: $as_echo "dlfcn" >&6; }
alpar@9: 
alpar@9: $as_echo "#define HAVE_DLFCN 1" >>confdefs.h
alpar@9: 
alpar@9: else
alpar@9:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: case $host_os in
alpar@9:    darwin* | macosx*)
alpar@9:       LIBIODBC="libiodbc.dylib"
alpar@9:       LIBODBC="libodbc.dylib"
alpar@9:       LIBMYSQL="libmysqlclient.dylib"
alpar@9:       ;;
alpar@9:    *)
alpar@9:       LIBIODBC="libiodbc.so"
alpar@9:       LIBODBC="libodbc.so"
alpar@9:       LIBMYSQL="libmysqlclient.so"
alpar@9:       ;;
alpar@9: esac
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable MathProg ODBC support" >&5
alpar@9: $as_echo_n "checking whether to enable MathProg ODBC support... " >&6; }
alpar@9: if test "$enable_odbc" = "yes"; then
alpar@9:    if test "$enable_dl" = "no"; then
alpar@9:       as_fn_error "--enable-odbc requires --enable-dl" "$LINENO" 5
alpar@9:    fi
alpar@9:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
alpar@9: $as_echo "yes" >&6; }
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define ODBC_DLNAME "$LIBIODBC"
alpar@9: _ACEOF
alpar@9: 
alpar@9: elif test "$enable_odbc" = "unix"; then
alpar@9:    if test "$enable_dl" = "no"; then
alpar@9:       as_fn_error "--enable-odbc requires --enable-dl" "$LINENO" 5
alpar@9:    fi
alpar@9:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unix" >&5
alpar@9: $as_echo "unix" >&6; }
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define ODBC_DLNAME "$LIBODBC"
alpar@9: _ACEOF
alpar@9: 
alpar@9: else
alpar@9:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable MathProg MySQL support" >&5
alpar@9: $as_echo_n "checking whether to enable MathProg MySQL support... " >&6; }
alpar@9: if test "$enable_mysql" = "yes"; then
alpar@9:    if test "$enable_dl" = "no"; then
alpar@9:       as_fn_error "--enable-mysql requires --enable-dl" "$LINENO" 5
alpar@9:    fi
alpar@9:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
alpar@9: $as_echo "yes" >&6; }
alpar@9:    CPPFLAGS="-I/usr/include/mysql $CPPFLAGS"
alpar@9: 
alpar@9: cat >>confdefs.h <<_ACEOF
alpar@9: #define MYSQL_DLNAME "$LIBMYSQL"
alpar@9: _ACEOF
alpar@9: 
alpar@9: else
alpar@9:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
alpar@9: $as_echo "no" >&6; }
alpar@9: fi
alpar@9: 
alpar@9: ac_config_files="$ac_config_files src/Makefile examples/Makefile Makefile"
alpar@9: 
alpar@9: cat >confcache <<\_ACEOF
alpar@9: # This file is a shell script that caches the results of configure
alpar@9: # tests run on this system so they can be shared between configure
alpar@9: # scripts and configure runs, see configure's option --config-cache.
alpar@9: # It is not useful on other systems.  If it contains results you don't
alpar@9: # want to keep, you may remove or edit it.
alpar@9: #
alpar@9: # config.status only pays attention to the cache file if you give it
alpar@9: # the --recheck option to rerun configure.
alpar@9: #
alpar@9: # `ac_cv_env_foo' variables (set or unset) will be overridden when
alpar@9: # loading this file, other *unset* `ac_cv_foo' will be assigned the
alpar@9: # following values.
alpar@9: 
alpar@9: _ACEOF
alpar@9: 
alpar@9: # The following way of writing the cache mishandles newlines in values,
alpar@9: # but we know of no workaround that is simple, portable, and efficient.
alpar@9: # So, we kill variables containing newlines.
alpar@9: # Ultrix sh set writes to stderr and can't be redirected directly,
alpar@9: # and sets the high bit in the cache file unless we assign to the vars.
alpar@9: (
alpar@9:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
alpar@9:     eval ac_val=\$$ac_var
alpar@9:     case $ac_val in #(
alpar@9:     *${as_nl}*)
alpar@9:       case $ac_var in #(
alpar@9:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
alpar@9: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
alpar@9:       esac
alpar@9:       case $ac_var in #(
alpar@9:       _ | IFS | as_nl) ;; #(
alpar@9:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
alpar@9:       *) { eval $ac_var=; unset $ac_var;} ;;
alpar@9:       esac ;;
alpar@9:     esac
alpar@9:   done
alpar@9: 
alpar@9:   (set) 2>&1 |
alpar@9:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
alpar@9:     *${as_nl}ac_space=\ *)
alpar@9:       # `set' does not quote correctly, so add quotes: double-quote
alpar@9:       # substitution turns \\\\ into \\, and sed turns \\ into \.
alpar@9:       sed -n \
alpar@9: 	"s/'/'\\\\''/g;
alpar@9: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
alpar@9:       ;; #(
alpar@9:     *)
alpar@9:       # `set' quotes correctly as required by POSIX, so do not add quotes.
alpar@9:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
alpar@9:       ;;
alpar@9:     esac |
alpar@9:     sort
alpar@9: ) |
alpar@9:   sed '
alpar@9:      /^ac_cv_env_/b end
alpar@9:      t clear
alpar@9:      :clear
alpar@9:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
alpar@9:      t end
alpar@9:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
alpar@9:      :end' >>confcache
alpar@9: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
alpar@9:   if test -w "$cache_file"; then
alpar@9:     test "x$cache_file" != "x/dev/null" &&
alpar@9:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
alpar@9: $as_echo "$as_me: updating cache $cache_file" >&6;}
alpar@9:     cat confcache >$cache_file
alpar@9:   else
alpar@9:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
alpar@9: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
alpar@9:   fi
alpar@9: fi
alpar@9: rm -f confcache
alpar@9: 
alpar@9: test "x$prefix" = xNONE && prefix=$ac_default_prefix
alpar@9: # Let make expand exec_prefix.
alpar@9: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
alpar@9: 
alpar@9: DEFS=-DHAVE_CONFIG_H
alpar@9: 
alpar@9: ac_libobjs=
alpar@9: ac_ltlibobjs=
alpar@9: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
alpar@9:   # 1. Remove the extension, and $U if already installed.
alpar@9:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
alpar@9:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
alpar@9:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
alpar@9:   #    will be set to the directory where LIBOBJS objects are built.
alpar@9:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
alpar@9:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
alpar@9: done
alpar@9: LIBOBJS=$ac_libobjs
alpar@9: 
alpar@9: LTLIBOBJS=$ac_ltlibobjs
alpar@9: 
alpar@9: 
alpar@9:  if test -n "$EXEEXT"; then
alpar@9:   am__EXEEXT_TRUE=
alpar@9:   am__EXEEXT_FALSE='#'
alpar@9: else
alpar@9:   am__EXEEXT_TRUE='#'
alpar@9:   am__EXEEXT_FALSE=
alpar@9: fi
alpar@9: 
alpar@9: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
alpar@9:   as_fn_error "conditional \"AMDEP\" was never defined.
alpar@9: Usually this means the macro was only invoked conditionally." "$LINENO" 5
alpar@9: fi
alpar@9: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
alpar@9:   as_fn_error "conditional \"am__fastdepCC\" was never defined.
alpar@9: Usually this means the macro was only invoked conditionally." "$LINENO" 5
alpar@9: fi
alpar@9: 
alpar@9: : ${CONFIG_STATUS=./config.status}
alpar@9: ac_write_fail=0
alpar@9: ac_clean_files_save=$ac_clean_files
alpar@9: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
alpar@9: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
alpar@9: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
alpar@9: as_write_fail=0
alpar@9: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
alpar@9: #! $SHELL
alpar@9: # Generated by $as_me.
alpar@9: # Run this file to recreate the current configuration.
alpar@9: # Compiler output produced by configure, useful for debugging
alpar@9: # configure, is in config.log if it exists.
alpar@9: 
alpar@9: debug=false
alpar@9: ac_cs_recheck=false
alpar@9: ac_cs_silent=false
alpar@9: 
alpar@9: SHELL=\${CONFIG_SHELL-$SHELL}
alpar@9: export SHELL
alpar@9: _ASEOF
alpar@9: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
alpar@9: ## -------------------- ##
alpar@9: ## M4sh Initialization. ##
alpar@9: ## -------------------- ##
alpar@9: 
alpar@9: # Be more Bourne compatible
alpar@9: DUALCASE=1; export DUALCASE # for MKS sh
alpar@9: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
alpar@9:   emulate sh
alpar@9:   NULLCMD=:
alpar@9:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
alpar@9:   # is contrary to our usage.  Disable this feature.
alpar@9:   alias -g '${1+"$@"}'='"$@"'
alpar@9:   setopt NO_GLOB_SUBST
alpar@9: else
alpar@9:   case `(set -o) 2>/dev/null` in #(
alpar@9:   *posix*) :
alpar@9:     set -o posix ;; #(
alpar@9:   *) :
alpar@9:      ;;
alpar@9: esac
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: as_nl='
alpar@9: '
alpar@9: export as_nl
alpar@9: # Printing a long string crashes Solaris 7 /usr/bin/printf.
alpar@9: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
alpar@9: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
alpar@9: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
alpar@9: # Prefer a ksh shell builtin over an external printf program on Solaris,
alpar@9: # but without wasting forks for bash or zsh.
alpar@9: if test -z "$BASH_VERSION$ZSH_VERSION" \
alpar@9:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
alpar@9:   as_echo='print -r --'
alpar@9:   as_echo_n='print -rn --'
alpar@9: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
alpar@9:   as_echo='printf %s\n'
alpar@9:   as_echo_n='printf %s'
alpar@9: else
alpar@9:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
alpar@9:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
alpar@9:     as_echo_n='/usr/ucb/echo -n'
alpar@9:   else
alpar@9:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
alpar@9:     as_echo_n_body='eval
alpar@9:       arg=$1;
alpar@9:       case $arg in #(
alpar@9:       *"$as_nl"*)
alpar@9: 	expr "X$arg" : "X\\(.*\\)$as_nl";
alpar@9: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
alpar@9:       esac;
alpar@9:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
alpar@9:     '
alpar@9:     export as_echo_n_body
alpar@9:     as_echo_n='sh -c $as_echo_n_body as_echo'
alpar@9:   fi
alpar@9:   export as_echo_body
alpar@9:   as_echo='sh -c $as_echo_body as_echo'
alpar@9: fi
alpar@9: 
alpar@9: # The user is always right.
alpar@9: if test "${PATH_SEPARATOR+set}" != set; then
alpar@9:   PATH_SEPARATOR=:
alpar@9:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
alpar@9:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
alpar@9:       PATH_SEPARATOR=';'
alpar@9:   }
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9: # IFS
alpar@9: # We need space, tab and new line, in precisely that order.  Quoting is
alpar@9: # there to prevent editors from complaining about space-tab.
alpar@9: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
alpar@9: # splitting by setting IFS to empty value.)
alpar@9: IFS=" ""	$as_nl"
alpar@9: 
alpar@9: # Find who we are.  Look in the path if we contain no directory separator.
alpar@9: case $0 in #((
alpar@9:   *[\\/]* ) as_myself=$0 ;;
alpar@9:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
alpar@9: for as_dir in $PATH
alpar@9: do
alpar@9:   IFS=$as_save_IFS
alpar@9:   test -z "$as_dir" && as_dir=.
alpar@9:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
alpar@9:   done
alpar@9: IFS=$as_save_IFS
alpar@9: 
alpar@9:      ;;
alpar@9: esac
alpar@9: # We did not find ourselves, most probably we were run as `sh COMMAND'
alpar@9: # in which case we are not to be found in the path.
alpar@9: if test "x$as_myself" = x; then
alpar@9:   as_myself=$0
alpar@9: fi
alpar@9: if test ! -f "$as_myself"; then
alpar@9:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
alpar@9:   exit 1
alpar@9: fi
alpar@9: 
alpar@9: # Unset variables that we do not need and which cause bugs (e.g. in
alpar@9: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
alpar@9: # suppresses any "Segmentation fault" message there.  '((' could
alpar@9: # trigger a bug in pdksh 5.2.14.
alpar@9: for as_var in BASH_ENV ENV MAIL MAILPATH
alpar@9: do eval test x\${$as_var+set} = xset \
alpar@9:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
alpar@9: done
alpar@9: PS1='$ '
alpar@9: PS2='> '
alpar@9: PS4='+ '
alpar@9: 
alpar@9: # NLS nuisances.
alpar@9: LC_ALL=C
alpar@9: export LC_ALL
alpar@9: LANGUAGE=C
alpar@9: export LANGUAGE
alpar@9: 
alpar@9: # CDPATH.
alpar@9: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
alpar@9: 
alpar@9: 
alpar@9: # as_fn_error ERROR [LINENO LOG_FD]
alpar@9: # ---------------------------------
alpar@9: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
alpar@9: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
alpar@9: # script with status $?, using 1 if that was 0.
alpar@9: as_fn_error ()
alpar@9: {
alpar@9:   as_status=$?; test $as_status -eq 0 && as_status=1
alpar@9:   if test "$3"; then
alpar@9:     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
alpar@9:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
alpar@9:   fi
alpar@9:   $as_echo "$as_me: error: $1" >&2
alpar@9:   as_fn_exit $as_status
alpar@9: } # as_fn_error
alpar@9: 
alpar@9: 
alpar@9: # as_fn_set_status STATUS
alpar@9: # -----------------------
alpar@9: # Set $? to STATUS, without forking.
alpar@9: as_fn_set_status ()
alpar@9: {
alpar@9:   return $1
alpar@9: } # as_fn_set_status
alpar@9: 
alpar@9: # as_fn_exit STATUS
alpar@9: # -----------------
alpar@9: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
alpar@9: as_fn_exit ()
alpar@9: {
alpar@9:   set +e
alpar@9:   as_fn_set_status $1
alpar@9:   exit $1
alpar@9: } # as_fn_exit
alpar@9: 
alpar@9: # as_fn_unset VAR
alpar@9: # ---------------
alpar@9: # Portably unset VAR.
alpar@9: as_fn_unset ()
alpar@9: {
alpar@9:   { eval $1=; unset $1;}
alpar@9: }
alpar@9: as_unset=as_fn_unset
alpar@9: # as_fn_append VAR VALUE
alpar@9: # ----------------------
alpar@9: # Append the text in VALUE to the end of the definition contained in VAR. Take
alpar@9: # advantage of any shell optimizations that allow amortized linear growth over
alpar@9: # repeated appends, instead of the typical quadratic growth present in naive
alpar@9: # implementations.
alpar@9: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
alpar@9:   eval 'as_fn_append ()
alpar@9:   {
alpar@9:     eval $1+=\$2
alpar@9:   }'
alpar@9: else
alpar@9:   as_fn_append ()
alpar@9:   {
alpar@9:     eval $1=\$$1\$2
alpar@9:   }
alpar@9: fi # as_fn_append
alpar@9: 
alpar@9: # as_fn_arith ARG...
alpar@9: # ------------------
alpar@9: # Perform arithmetic evaluation on the ARGs, and store the result in the
alpar@9: # global $as_val. Take advantage of shells that can avoid forks. The arguments
alpar@9: # must be portable across $(()) and expr.
alpar@9: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
alpar@9:   eval 'as_fn_arith ()
alpar@9:   {
alpar@9:     as_val=$(( $* ))
alpar@9:   }'
alpar@9: else
alpar@9:   as_fn_arith ()
alpar@9:   {
alpar@9:     as_val=`expr "$@" || test $? -eq 1`
alpar@9:   }
alpar@9: fi # as_fn_arith
alpar@9: 
alpar@9: 
alpar@9: if expr a : '\(a\)' >/dev/null 2>&1 &&
alpar@9:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
alpar@9:   as_expr=expr
alpar@9: else
alpar@9:   as_expr=false
alpar@9: fi
alpar@9: 
alpar@9: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
alpar@9:   as_basename=basename
alpar@9: else
alpar@9:   as_basename=false
alpar@9: fi
alpar@9: 
alpar@9: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
alpar@9:   as_dirname=dirname
alpar@9: else
alpar@9:   as_dirname=false
alpar@9: fi
alpar@9: 
alpar@9: as_me=`$as_basename -- "$0" ||
alpar@9: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
alpar@9: 	 X"$0" : 'X\(//\)$' \| \
alpar@9: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
alpar@9: $as_echo X/"$0" |
alpar@9:     sed '/^.*\/\([^/][^/]*\)\/*$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\/\(\/\/\)$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\/\(\/\).*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  s/.*/./; q'`
alpar@9: 
alpar@9: # Avoid depending upon Character Ranges.
alpar@9: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
alpar@9: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
alpar@9: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
alpar@9: as_cr_digits='0123456789'
alpar@9: as_cr_alnum=$as_cr_Letters$as_cr_digits
alpar@9: 
alpar@9: ECHO_C= ECHO_N= ECHO_T=
alpar@9: case `echo -n x` in #(((((
alpar@9: -n*)
alpar@9:   case `echo 'xy\c'` in
alpar@9:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
alpar@9:   xy)  ECHO_C='\c';;
alpar@9:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
alpar@9:        ECHO_T='	';;
alpar@9:   esac;;
alpar@9: *)
alpar@9:   ECHO_N='-n';;
alpar@9: esac
alpar@9: 
alpar@9: rm -f conf$$ conf$$.exe conf$$.file
alpar@9: if test -d conf$$.dir; then
alpar@9:   rm -f conf$$.dir/conf$$.file
alpar@9: else
alpar@9:   rm -f conf$$.dir
alpar@9:   mkdir conf$$.dir 2>/dev/null
alpar@9: fi
alpar@9: if (echo >conf$$.file) 2>/dev/null; then
alpar@9:   if ln -s conf$$.file conf$$ 2>/dev/null; then
alpar@9:     as_ln_s='ln -s'
alpar@9:     # ... but there are two gotchas:
alpar@9:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
alpar@9:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
alpar@9:     # In both cases, we have to default to `cp -p'.
alpar@9:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
alpar@9:       as_ln_s='cp -p'
alpar@9:   elif ln conf$$.file conf$$ 2>/dev/null; then
alpar@9:     as_ln_s=ln
alpar@9:   else
alpar@9:     as_ln_s='cp -p'
alpar@9:   fi
alpar@9: else
alpar@9:   as_ln_s='cp -p'
alpar@9: fi
alpar@9: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
alpar@9: rmdir conf$$.dir 2>/dev/null
alpar@9: 
alpar@9: 
alpar@9: # as_fn_mkdir_p
alpar@9: # -------------
alpar@9: # Create "$as_dir" as a directory, including parents if necessary.
alpar@9: as_fn_mkdir_p ()
alpar@9: {
alpar@9: 
alpar@9:   case $as_dir in #(
alpar@9:   -*) as_dir=./$as_dir;;
alpar@9:   esac
alpar@9:   test -d "$as_dir" || eval $as_mkdir_p || {
alpar@9:     as_dirs=
alpar@9:     while :; do
alpar@9:       case $as_dir in #(
alpar@9:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
alpar@9:       *) as_qdir=$as_dir;;
alpar@9:       esac
alpar@9:       as_dirs="'$as_qdir' $as_dirs"
alpar@9:       as_dir=`$as_dirname -- "$as_dir" ||
alpar@9: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
alpar@9: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
alpar@9: 	 X"$as_dir" : 'X\(//\)$' \| \
alpar@9: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
alpar@9: $as_echo X"$as_dir" |
alpar@9:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)[^/].*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\).*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  s/.*/./; q'`
alpar@9:       test -d "$as_dir" && break
alpar@9:     done
alpar@9:     test -z "$as_dirs" || eval "mkdir $as_dirs"
alpar@9:   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
alpar@9: 
alpar@9: 
alpar@9: } # as_fn_mkdir_p
alpar@9: if mkdir -p . 2>/dev/null; then
alpar@9:   as_mkdir_p='mkdir -p "$as_dir"'
alpar@9: else
alpar@9:   test -d ./-p && rmdir ./-p
alpar@9:   as_mkdir_p=false
alpar@9: fi
alpar@9: 
alpar@9: if test -x / >/dev/null 2>&1; then
alpar@9:   as_test_x='test -x'
alpar@9: else
alpar@9:   if ls -dL / >/dev/null 2>&1; then
alpar@9:     as_ls_L_option=L
alpar@9:   else
alpar@9:     as_ls_L_option=
alpar@9:   fi
alpar@9:   as_test_x='
alpar@9:     eval sh -c '\''
alpar@9:       if test -d "$1"; then
alpar@9: 	test -d "$1/.";
alpar@9:       else
alpar@9: 	case $1 in #(
alpar@9: 	-*)set "./$1";;
alpar@9: 	esac;
alpar@9: 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
alpar@9: 	???[sx]*):;;*)false;;esac;fi
alpar@9:     '\'' sh
alpar@9:   '
alpar@9: fi
alpar@9: as_executable_p=$as_test_x
alpar@9: 
alpar@9: # Sed expression to map a string onto a valid CPP name.
alpar@9: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
alpar@9: 
alpar@9: # Sed expression to map a string onto a valid variable name.
alpar@9: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
alpar@9: 
alpar@9: 
alpar@9: exec 6>&1
alpar@9: ## ----------------------------------- ##
alpar@9: ## Main body of $CONFIG_STATUS script. ##
alpar@9: ## ----------------------------------- ##
alpar@9: _ASEOF
alpar@9: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
alpar@9: 
alpar@9: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
alpar@9: # Save the log message, to keep $0 and so on meaningful, and to
alpar@9: # report actual input values of CONFIG_FILES etc. instead of their
alpar@9: # values after options handling.
alpar@9: ac_log="
alpar@9: This file was extended by GLPK $as_me 4.47, which was
alpar@9: generated by GNU Autoconf 2.65.  Invocation command line was
alpar@9: 
alpar@9:   CONFIG_FILES    = $CONFIG_FILES
alpar@9:   CONFIG_HEADERS  = $CONFIG_HEADERS
alpar@9:   CONFIG_LINKS    = $CONFIG_LINKS
alpar@9:   CONFIG_COMMANDS = $CONFIG_COMMANDS
alpar@9:   $ $0 $@
alpar@9: 
alpar@9: on `(hostname || uname -n) 2>/dev/null | sed 1q`
alpar@9: "
alpar@9: 
alpar@9: _ACEOF
alpar@9: 
alpar@9: case $ac_config_files in *"
alpar@9: "*) set x $ac_config_files; shift; ac_config_files=$*;;
alpar@9: esac
alpar@9: 
alpar@9: case $ac_config_headers in *"
alpar@9: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
alpar@9: esac
alpar@9: 
alpar@9: 
alpar@9: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
alpar@9: # Files that config.status was made for.
alpar@9: config_files="$ac_config_files"
alpar@9: config_headers="$ac_config_headers"
alpar@9: config_commands="$ac_config_commands"
alpar@9: 
alpar@9: _ACEOF
alpar@9: 
alpar@9: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
alpar@9: ac_cs_usage="\
alpar@9: \`$as_me' instantiates files and other configuration actions
alpar@9: from templates according to the current configuration.  Unless the files
alpar@9: and actions are specified as TAGs, all are instantiated by default.
alpar@9: 
alpar@9: Usage: $0 [OPTION]... [TAG]...
alpar@9: 
alpar@9:   -h, --help       print this help, then exit
alpar@9:   -V, --version    print version number and configuration settings, then exit
alpar@9:       --config     print configuration, then exit
alpar@9:   -q, --quiet, --silent
alpar@9:                    do not print progress messages
alpar@9:   -d, --debug      don't remove temporary files
alpar@9:       --recheck    update $as_me by reconfiguring in the same conditions
alpar@9:       --file=FILE[:TEMPLATE]
alpar@9:                    instantiate the configuration file FILE
alpar@9:       --header=FILE[:TEMPLATE]
alpar@9:                    instantiate the configuration header FILE
alpar@9: 
alpar@9: Configuration files:
alpar@9: $config_files
alpar@9: 
alpar@9: Configuration headers:
alpar@9: $config_headers
alpar@9: 
alpar@9: Configuration commands:
alpar@9: $config_commands
alpar@9: 
alpar@9: Report bugs to <bug-glpk@gnu.org>."
alpar@9: 
alpar@9: _ACEOF
alpar@9: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
alpar@9: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
alpar@9: ac_cs_version="\\
alpar@9: GLPK config.status 4.47
alpar@9: configured by $0, generated by GNU Autoconf 2.65,
alpar@9:   with options \\"\$ac_cs_config\\"
alpar@9: 
alpar@9: Copyright (C) 2009 Free Software Foundation, Inc.
alpar@9: This config.status script is free software; the Free Software Foundation
alpar@9: gives unlimited permission to copy, distribute and modify it."
alpar@9: 
alpar@9: ac_pwd='$ac_pwd'
alpar@9: srcdir='$srcdir'
alpar@9: INSTALL='$INSTALL'
alpar@9: MKDIR_P='$MKDIR_P'
alpar@9: AWK='$AWK'
alpar@9: test -n "\$AWK" || AWK=awk
alpar@9: _ACEOF
alpar@9: 
alpar@9: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
alpar@9: # The default lists apply if the user does not specify any file.
alpar@9: ac_need_defaults=:
alpar@9: while test $# != 0
alpar@9: do
alpar@9:   case $1 in
alpar@9:   --*=*)
alpar@9:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
alpar@9:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
alpar@9:     ac_shift=:
alpar@9:     ;;
alpar@9:   *)
alpar@9:     ac_option=$1
alpar@9:     ac_optarg=$2
alpar@9:     ac_shift=shift
alpar@9:     ;;
alpar@9:   esac
alpar@9: 
alpar@9:   case $ac_option in
alpar@9:   # Handling of the options.
alpar@9:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
alpar@9:     ac_cs_recheck=: ;;
alpar@9:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
alpar@9:     $as_echo "$ac_cs_version"; exit ;;
alpar@9:   --config | --confi | --conf | --con | --co | --c )
alpar@9:     $as_echo "$ac_cs_config"; exit ;;
alpar@9:   --debug | --debu | --deb | --de | --d | -d )
alpar@9:     debug=: ;;
alpar@9:   --file | --fil | --fi | --f )
alpar@9:     $ac_shift
alpar@9:     case $ac_optarg in
alpar@9:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
alpar@9:     esac
alpar@9:     as_fn_append CONFIG_FILES " '$ac_optarg'"
alpar@9:     ac_need_defaults=false;;
alpar@9:   --header | --heade | --head | --hea )
alpar@9:     $ac_shift
alpar@9:     case $ac_optarg in
alpar@9:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
alpar@9:     esac
alpar@9:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
alpar@9:     ac_need_defaults=false;;
alpar@9:   --he | --h)
alpar@9:     # Conflict between --help and --header
alpar@9:     as_fn_error "ambiguous option: \`$1'
alpar@9: Try \`$0 --help' for more information.";;
alpar@9:   --help | --hel | -h )
alpar@9:     $as_echo "$ac_cs_usage"; exit ;;
alpar@9:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
alpar@9:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
alpar@9:     ac_cs_silent=: ;;
alpar@9: 
alpar@9:   # This is an error.
alpar@9:   -*) as_fn_error "unrecognized option: \`$1'
alpar@9: Try \`$0 --help' for more information." ;;
alpar@9: 
alpar@9:   *) as_fn_append ac_config_targets " $1"
alpar@9:      ac_need_defaults=false ;;
alpar@9: 
alpar@9:   esac
alpar@9:   shift
alpar@9: done
alpar@9: 
alpar@9: ac_configure_extra_args=
alpar@9: 
alpar@9: if $ac_cs_silent; then
alpar@9:   exec 6>/dev/null
alpar@9:   ac_configure_extra_args="$ac_configure_extra_args --silent"
alpar@9: fi
alpar@9: 
alpar@9: _ACEOF
alpar@9: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
alpar@9: if \$ac_cs_recheck; then
alpar@9:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
alpar@9:   shift
alpar@9:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
alpar@9:   CONFIG_SHELL='$SHELL'
alpar@9:   export CONFIG_SHELL
alpar@9:   exec "\$@"
alpar@9: fi
alpar@9: 
alpar@9: _ACEOF
alpar@9: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
alpar@9: exec 5>>config.log
alpar@9: {
alpar@9:   echo
alpar@9:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
alpar@9: ## Running $as_me. ##
alpar@9: _ASBOX
alpar@9:   $as_echo "$ac_log"
alpar@9: } >&5
alpar@9: 
alpar@9: _ACEOF
alpar@9: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
alpar@9: #
alpar@9: # INIT-COMMANDS
alpar@9: #
alpar@9: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
alpar@9: 
alpar@9: 
alpar@9: # The HP-UX ksh and POSIX shell print the target directory to stdout
alpar@9: # if CDPATH is set.
alpar@9: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
alpar@9: 
alpar@9: sed_quote_subst='$sed_quote_subst'
alpar@9: double_quote_subst='$double_quote_subst'
alpar@9: delay_variable_subst='$delay_variable_subst'
alpar@9: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
alpar@9: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
alpar@9: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
alpar@9: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
alpar@9: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
alpar@9: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
alpar@9: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
alpar@9: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
alpar@9: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
alpar@9: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
alpar@9: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
alpar@9: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
alpar@9: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
alpar@9: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
alpar@9: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
alpar@9: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
alpar@9: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
alpar@9: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
alpar@9: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
alpar@9: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
alpar@9: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
alpar@9: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
alpar@9: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
alpar@9: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
alpar@9: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_cv_to_host_path_cmd='`$ECHO "$lt_cv_to_host_path_cmd" | $SED "$delay_single_quote_subst"`'
alpar@9: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
alpar@9: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
alpar@9: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
alpar@9: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
alpar@9: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
alpar@9: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
alpar@9: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
alpar@9: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
alpar@9: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
alpar@9: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
alpar@9: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
alpar@9: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
alpar@9: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
alpar@9: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
alpar@9: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
alpar@9: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
alpar@9: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
alpar@9: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
alpar@9: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
alpar@9: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
alpar@9: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
alpar@9: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
alpar@9: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
alpar@9: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
alpar@9: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
alpar@9: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
alpar@9: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
alpar@9: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
alpar@9: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
alpar@9: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
alpar@9: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
alpar@9: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
alpar@9: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
alpar@9: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
alpar@9: hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
alpar@9: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
alpar@9: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
alpar@9: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
alpar@9: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
alpar@9: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
alpar@9: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
alpar@9: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
alpar@9: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
alpar@9: fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
alpar@9: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
alpar@9: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
alpar@9: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
alpar@9: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
alpar@9: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
alpar@9: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
alpar@9: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
alpar@9: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
alpar@9: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
alpar@9: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
alpar@9: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
alpar@9: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
alpar@9: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
alpar@9: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
alpar@9: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
alpar@9: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
alpar@9: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
alpar@9: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
alpar@9: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
alpar@9: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
alpar@9: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
alpar@9: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
alpar@9: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
alpar@9: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
alpar@9: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
alpar@9: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
alpar@9: 
alpar@9: LTCC='$LTCC'
alpar@9: LTCFLAGS='$LTCFLAGS'
alpar@9: compiler='$compiler_DEFAULT'
alpar@9: 
alpar@9: # A function that is used when there is no print builtin or printf.
alpar@9: func_fallback_echo ()
alpar@9: {
alpar@9:   eval 'cat <<_LTECHO_EOF
alpar@9: \$1
alpar@9: _LTECHO_EOF'
alpar@9: }
alpar@9: 
alpar@9: # Quote evaled strings.
alpar@9: for var in SHELL \
alpar@9: ECHO \
alpar@9: SED \
alpar@9: GREP \
alpar@9: EGREP \
alpar@9: FGREP \
alpar@9: LD \
alpar@9: NM \
alpar@9: LN_S \
alpar@9: lt_SP2NL \
alpar@9: lt_NL2SP \
alpar@9: reload_flag \
alpar@9: OBJDUMP \
alpar@9: deplibs_check_method \
alpar@9: file_magic_cmd \
alpar@9: DLLTOOL \
alpar@9: sharedlib_from_linklib_cmd \
alpar@9: AR \
alpar@9: AR_FLAGS \
alpar@9: STRIP \
alpar@9: RANLIB \
alpar@9: CC \
alpar@9: CFLAGS \
alpar@9: compiler \
alpar@9: lt_cv_sys_global_symbol_pipe \
alpar@9: lt_cv_sys_global_symbol_to_cdecl \
alpar@9: lt_cv_sys_global_symbol_to_c_name_address \
alpar@9: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
alpar@9: lt_prog_compiler_no_builtin_flag \
alpar@9: lt_prog_compiler_wl \
alpar@9: lt_prog_compiler_pic \
alpar@9: lt_prog_compiler_static \
alpar@9: lt_cv_prog_compiler_c_o \
alpar@9: need_locks \
alpar@9: DSYMUTIL \
alpar@9: NMEDIT \
alpar@9: LIPO \
alpar@9: OTOOL \
alpar@9: OTOOL64 \
alpar@9: shrext_cmds \
alpar@9: export_dynamic_flag_spec \
alpar@9: whole_archive_flag_spec \
alpar@9: compiler_needs_object \
alpar@9: with_gnu_ld \
alpar@9: allow_undefined_flag \
alpar@9: no_undefined_flag \
alpar@9: hardcode_libdir_flag_spec \
alpar@9: hardcode_libdir_flag_spec_ld \
alpar@9: hardcode_libdir_separator \
alpar@9: fix_srcfile_path \
alpar@9: exclude_expsyms \
alpar@9: include_expsyms \
alpar@9: file_list_spec \
alpar@9: variables_saved_for_relink \
alpar@9: libname_spec \
alpar@9: library_names_spec \
alpar@9: soname_spec \
alpar@9: install_override_mode \
alpar@9: finish_eval \
alpar@9: old_striplib \
alpar@9: striplib; do
alpar@9:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
alpar@9:     *[\\\\\\\`\\"\\\$]*)
alpar@9:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
alpar@9:       ;;
alpar@9:     *)
alpar@9:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
alpar@9:       ;;
alpar@9:     esac
alpar@9: done
alpar@9: 
alpar@9: # Double-quote double-evaled strings.
alpar@9: for var in reload_cmds \
alpar@9: old_postinstall_cmds \
alpar@9: old_postuninstall_cmds \
alpar@9: old_archive_cmds \
alpar@9: extract_expsyms_cmds \
alpar@9: old_archive_from_new_cmds \
alpar@9: old_archive_from_expsyms_cmds \
alpar@9: archive_cmds \
alpar@9: archive_expsym_cmds \
alpar@9: module_cmds \
alpar@9: module_expsym_cmds \
alpar@9: export_symbols_cmds \
alpar@9: prelink_cmds \
alpar@9: postinstall_cmds \
alpar@9: postuninstall_cmds \
alpar@9: finish_cmds \
alpar@9: sys_lib_search_path_spec \
alpar@9: sys_lib_dlsearch_path_spec; do
alpar@9:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
alpar@9:     *[\\\\\\\`\\"\\\$]*)
alpar@9:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
alpar@9:       ;;
alpar@9:     *)
alpar@9:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
alpar@9:       ;;
alpar@9:     esac
alpar@9: done
alpar@9: 
alpar@9: ac_aux_dir='$ac_aux_dir'
alpar@9: xsi_shell='$xsi_shell'
alpar@9: lt_shell_append='$lt_shell_append'
alpar@9: 
alpar@9: # See if we are running on zsh, and set the options which allow our
alpar@9: # commands through without removal of \ escapes INIT.
alpar@9: if test -n "\${ZSH_VERSION+set}" ; then
alpar@9:    setopt NO_GLOB_SUBST
alpar@9: fi
alpar@9: 
alpar@9: 
alpar@9:     PACKAGE='$PACKAGE'
alpar@9:     VERSION='$VERSION'
alpar@9:     TIMESTAMP='$TIMESTAMP'
alpar@9:     RM='$RM'
alpar@9:     ofile='$ofile'
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: 
alpar@9: _ACEOF
alpar@9: 
alpar@9: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
alpar@9: 
alpar@9: # Handling of arguments.
alpar@9: for ac_config_target in $ac_config_targets
alpar@9: do
alpar@9:   case $ac_config_target in
alpar@9:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
alpar@9:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
alpar@9:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
alpar@9:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
alpar@9:     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
alpar@9:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
alpar@9: 
alpar@9:   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
alpar@9:   esac
alpar@9: done
alpar@9: 
alpar@9: 
alpar@9: # If the user did not use the arguments to specify the items to instantiate,
alpar@9: # then the envvar interface is used.  Set only those that are not.
alpar@9: # We use the long form for the default assignment because of an extremely
alpar@9: # bizarre bug on SunOS 4.1.3.
alpar@9: if $ac_need_defaults; then
alpar@9:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
alpar@9:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
alpar@9:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
alpar@9: fi
alpar@9: 
alpar@9: # Have a temporary directory for convenience.  Make it in the build tree
alpar@9: # simply because there is no reason against having it here, and in addition,
alpar@9: # creating and moving files from /tmp can sometimes cause problems.
alpar@9: # Hook for its removal unless debugging.
alpar@9: # Note that there is a small window in which the directory will not be cleaned:
alpar@9: # after its creation but before its name has been assigned to `$tmp'.
alpar@9: $debug ||
alpar@9: {
alpar@9:   tmp=
alpar@9:   trap 'exit_status=$?
alpar@9:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
alpar@9: ' 0
alpar@9:   trap 'as_fn_exit 1' 1 2 13 15
alpar@9: }
alpar@9: # Create a (secure) tmp directory for tmp files.
alpar@9: 
alpar@9: {
alpar@9:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
alpar@9:   test -n "$tmp" && test -d "$tmp"
alpar@9: }  ||
alpar@9: {
alpar@9:   tmp=./conf$$-$RANDOM
alpar@9:   (umask 077 && mkdir "$tmp")
alpar@9: } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
alpar@9: 
alpar@9: # Set up the scripts for CONFIG_FILES section.
alpar@9: # No need to generate them if there are no CONFIG_FILES.
alpar@9: # This happens for instance with `./config.status config.h'.
alpar@9: if test -n "$CONFIG_FILES"; then
alpar@9: 
alpar@9: 
alpar@9: ac_cr=`echo X | tr X '\015'`
alpar@9: # On cygwin, bash can eat \r inside `` if the user requested igncr.
alpar@9: # But we know of no other shell where ac_cr would be empty at this
alpar@9: # point, so we can use a bashism as a fallback.
alpar@9: if test "x$ac_cr" = x; then
alpar@9:   eval ac_cr=\$\'\\r\'
alpar@9: fi
alpar@9: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
alpar@9: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
alpar@9:   ac_cs_awk_cr='\r'
alpar@9: else
alpar@9:   ac_cs_awk_cr=$ac_cr
alpar@9: fi
alpar@9: 
alpar@9: echo 'BEGIN {' >"$tmp/subs1.awk" &&
alpar@9: _ACEOF
alpar@9: 
alpar@9: 
alpar@9: {
alpar@9:   echo "cat >conf$$subs.awk <<_ACEOF" &&
alpar@9:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
alpar@9:   echo "_ACEOF"
alpar@9: } >conf$$subs.sh ||
alpar@9:   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
alpar@9: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
alpar@9: ac_delim='%!_!# '
alpar@9: for ac_last_try in false false false false false :; do
alpar@9:   . ./conf$$subs.sh ||
alpar@9:     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
alpar@9: 
alpar@9:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
alpar@9:   if test $ac_delim_n = $ac_delim_num; then
alpar@9:     break
alpar@9:   elif $ac_last_try; then
alpar@9:     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
alpar@9:   else
alpar@9:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
alpar@9:   fi
alpar@9: done
alpar@9: rm -f conf$$subs.sh
alpar@9: 
alpar@9: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
alpar@9: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
alpar@9: _ACEOF
alpar@9: sed -n '
alpar@9: h
alpar@9: s/^/S["/; s/!.*/"]=/
alpar@9: p
alpar@9: g
alpar@9: s/^[^!]*!//
alpar@9: :repl
alpar@9: t repl
alpar@9: s/'"$ac_delim"'$//
alpar@9: t delim
alpar@9: :nl
alpar@9: h
alpar@9: s/\(.\{148\}\)..*/\1/
alpar@9: t more1
alpar@9: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
alpar@9: p
alpar@9: n
alpar@9: b repl
alpar@9: :more1
alpar@9: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
alpar@9: p
alpar@9: g
alpar@9: s/.\{148\}//
alpar@9: t nl
alpar@9: :delim
alpar@9: h
alpar@9: s/\(.\{148\}\)..*/\1/
alpar@9: t more2
alpar@9: s/["\\]/\\&/g; s/^/"/; s/$/"/
alpar@9: p
alpar@9: b
alpar@9: :more2
alpar@9: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
alpar@9: p
alpar@9: g
alpar@9: s/.\{148\}//
alpar@9: t delim
alpar@9: ' <conf$$subs.awk | sed '
alpar@9: /^[^""]/{
alpar@9:   N
alpar@9:   s/\n//
alpar@9: }
alpar@9: ' >>$CONFIG_STATUS || ac_write_fail=1
alpar@9: rm -f conf$$subs.awk
alpar@9: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
alpar@9: _ACAWK
alpar@9: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
alpar@9:   for (key in S) S_is_set[key] = 1
alpar@9:   FS = ""
alpar@9: 
alpar@9: }
alpar@9: {
alpar@9:   line = $ 0
alpar@9:   nfields = split(line, field, "@")
alpar@9:   substed = 0
alpar@9:   len = length(field[1])
alpar@9:   for (i = 2; i < nfields; i++) {
alpar@9:     key = field[i]
alpar@9:     keylen = length(key)
alpar@9:     if (S_is_set[key]) {
alpar@9:       value = S[key]
alpar@9:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
alpar@9:       len += length(value) + length(field[++i])
alpar@9:       substed = 1
alpar@9:     } else
alpar@9:       len += 1 + keylen
alpar@9:   }
alpar@9: 
alpar@9:   print line
alpar@9: }
alpar@9: 
alpar@9: _ACAWK
alpar@9: _ACEOF
alpar@9: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
alpar@9: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
alpar@9:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
alpar@9: else
alpar@9:   cat
alpar@9: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
alpar@9:   || as_fn_error "could not setup config files machinery" "$LINENO" 5
alpar@9: _ACEOF
alpar@9: 
alpar@9: # VPATH may cause trouble with some makes, so we remove $(srcdir),
alpar@9: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
alpar@9: # trailing colons and then remove the whole line if VPATH becomes empty
alpar@9: # (actually we leave an empty line to preserve line numbers).
alpar@9: if test "x$srcdir" = x.; then
alpar@9:   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
alpar@9: s/:*\$(srcdir):*/:/
alpar@9: s/:*\${srcdir}:*/:/
alpar@9: s/:*@srcdir@:*/:/
alpar@9: s/^\([^=]*=[	 ]*\):*/\1/
alpar@9: s/:*$//
alpar@9: s/^[^=]*=[	 ]*$//
alpar@9: }'
alpar@9: fi
alpar@9: 
alpar@9: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
alpar@9: fi # test -n "$CONFIG_FILES"
alpar@9: 
alpar@9: # Set up the scripts for CONFIG_HEADERS section.
alpar@9: # No need to generate them if there are no CONFIG_HEADERS.
alpar@9: # This happens for instance with `./config.status Makefile'.
alpar@9: if test -n "$CONFIG_HEADERS"; then
alpar@9: cat >"$tmp/defines.awk" <<\_ACAWK ||
alpar@9: BEGIN {
alpar@9: _ACEOF
alpar@9: 
alpar@9: # Transform confdefs.h into an awk script `defines.awk', embedded as
alpar@9: # here-document in config.status, that substitutes the proper values into
alpar@9: # config.h.in to produce config.h.
alpar@9: 
alpar@9: # Create a delimiter string that does not exist in confdefs.h, to ease
alpar@9: # handling of long lines.
alpar@9: ac_delim='%!_!# '
alpar@9: for ac_last_try in false false :; do
alpar@9:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
alpar@9:   if test -z "$ac_t"; then
alpar@9:     break
alpar@9:   elif $ac_last_try; then
alpar@9:     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
alpar@9:   else
alpar@9:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
alpar@9:   fi
alpar@9: done
alpar@9: 
alpar@9: # For the awk script, D is an array of macro values keyed by name,
alpar@9: # likewise P contains macro parameters if any.  Preserve backslash
alpar@9: # newline sequences.
alpar@9: 
alpar@9: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
alpar@9: sed -n '
alpar@9: s/.\{148\}/&'"$ac_delim"'/g
alpar@9: t rset
alpar@9: :rset
alpar@9: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
alpar@9: t def
alpar@9: d
alpar@9: :def
alpar@9: s/\\$//
alpar@9: t bsnl
alpar@9: s/["\\]/\\&/g
alpar@9: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
alpar@9: D["\1"]=" \3"/p
alpar@9: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
alpar@9: d
alpar@9: :bsnl
alpar@9: s/["\\]/\\&/g
alpar@9: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
alpar@9: D["\1"]=" \3\\\\\\n"\\/p
alpar@9: t cont
alpar@9: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
alpar@9: t cont
alpar@9: d
alpar@9: :cont
alpar@9: n
alpar@9: s/.\{148\}/&'"$ac_delim"'/g
alpar@9: t clear
alpar@9: :clear
alpar@9: s/\\$//
alpar@9: t bsnlc
alpar@9: s/["\\]/\\&/g; s/^/"/; s/$/"/p
alpar@9: d
alpar@9: :bsnlc
alpar@9: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
alpar@9: b cont
alpar@9: ' <confdefs.h | sed '
alpar@9: s/'"$ac_delim"'/"\\\
alpar@9: "/g' >>$CONFIG_STATUS || ac_write_fail=1
alpar@9: 
alpar@9: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
alpar@9:   for (key in D) D_is_set[key] = 1
alpar@9:   FS = ""
alpar@9: }
alpar@9: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
alpar@9:   line = \$ 0
alpar@9:   split(line, arg, " ")
alpar@9:   if (arg[1] == "#") {
alpar@9:     defundef = arg[2]
alpar@9:     mac1 = arg[3]
alpar@9:   } else {
alpar@9:     defundef = substr(arg[1], 2)
alpar@9:     mac1 = arg[2]
alpar@9:   }
alpar@9:   split(mac1, mac2, "(") #)
alpar@9:   macro = mac2[1]
alpar@9:   prefix = substr(line, 1, index(line, defundef) - 1)
alpar@9:   if (D_is_set[macro]) {
alpar@9:     # Preserve the white space surrounding the "#".
alpar@9:     print prefix "define", macro P[macro] D[macro]
alpar@9:     next
alpar@9:   } else {
alpar@9:     # Replace #undef with comments.  This is necessary, for example,
alpar@9:     # in the case of _POSIX_SOURCE, which is predefined and required
alpar@9:     # on some systems where configure will not decide to define it.
alpar@9:     if (defundef == "undef") {
alpar@9:       print "/*", prefix defundef, macro, "*/"
alpar@9:       next
alpar@9:     }
alpar@9:   }
alpar@9: }
alpar@9: { print }
alpar@9: _ACAWK
alpar@9: _ACEOF
alpar@9: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
alpar@9:   as_fn_error "could not setup config headers machinery" "$LINENO" 5
alpar@9: fi # test -n "$CONFIG_HEADERS"
alpar@9: 
alpar@9: 
alpar@9: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
alpar@9: shift
alpar@9: for ac_tag
alpar@9: do
alpar@9:   case $ac_tag in
alpar@9:   :[FHLC]) ac_mode=$ac_tag; continue;;
alpar@9:   esac
alpar@9:   case $ac_mode$ac_tag in
alpar@9:   :[FHL]*:*);;
alpar@9:   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
alpar@9:   :[FH]-) ac_tag=-:-;;
alpar@9:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
alpar@9:   esac
alpar@9:   ac_save_IFS=$IFS
alpar@9:   IFS=:
alpar@9:   set x $ac_tag
alpar@9:   IFS=$ac_save_IFS
alpar@9:   shift
alpar@9:   ac_file=$1
alpar@9:   shift
alpar@9: 
alpar@9:   case $ac_mode in
alpar@9:   :L) ac_source=$1;;
alpar@9:   :[FH])
alpar@9:     ac_file_inputs=
alpar@9:     for ac_f
alpar@9:     do
alpar@9:       case $ac_f in
alpar@9:       -) ac_f="$tmp/stdin";;
alpar@9:       *) # Look for the file first in the build tree, then in the source tree
alpar@9: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
alpar@9: 	 # because $ac_f cannot contain `:'.
alpar@9: 	 test -f "$ac_f" ||
alpar@9: 	   case $ac_f in
alpar@9: 	   [\\/$]*) false;;
alpar@9: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
alpar@9: 	   esac ||
alpar@9: 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
alpar@9:       esac
alpar@9:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
alpar@9:       as_fn_append ac_file_inputs " '$ac_f'"
alpar@9:     done
alpar@9: 
alpar@9:     # Let's still pretend it is `configure' which instantiates (i.e., don't
alpar@9:     # use $as_me), people would be surprised to read:
alpar@9:     #    /* config.h.  Generated by config.status.  */
alpar@9:     configure_input='Generated from '`
alpar@9: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
alpar@9: 	`' by configure.'
alpar@9:     if test x"$ac_file" != x-; then
alpar@9:       configure_input="$ac_file.  $configure_input"
alpar@9:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
alpar@9: $as_echo "$as_me: creating $ac_file" >&6;}
alpar@9:     fi
alpar@9:     # Neutralize special characters interpreted by sed in replacement strings.
alpar@9:     case $configure_input in #(
alpar@9:     *\&* | *\|* | *\\* )
alpar@9:        ac_sed_conf_input=`$as_echo "$configure_input" |
alpar@9:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
alpar@9:     *) ac_sed_conf_input=$configure_input;;
alpar@9:     esac
alpar@9: 
alpar@9:     case $ac_tag in
alpar@9:     *:-:* | *:-) cat >"$tmp/stdin" \
alpar@9:       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
alpar@9:     esac
alpar@9:     ;;
alpar@9:   esac
alpar@9: 
alpar@9:   ac_dir=`$as_dirname -- "$ac_file" ||
alpar@9: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
alpar@9: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
alpar@9: 	 X"$ac_file" : 'X\(//\)$' \| \
alpar@9: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
alpar@9: $as_echo X"$ac_file" |
alpar@9:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)[^/].*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\).*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  s/.*/./; q'`
alpar@9:   as_dir="$ac_dir"; as_fn_mkdir_p
alpar@9:   ac_builddir=.
alpar@9: 
alpar@9: case "$ac_dir" in
alpar@9: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
alpar@9: *)
alpar@9:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
alpar@9:   # A ".." for each directory in $ac_dir_suffix.
alpar@9:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
alpar@9:   case $ac_top_builddir_sub in
alpar@9:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
alpar@9:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
alpar@9:   esac ;;
alpar@9: esac
alpar@9: ac_abs_top_builddir=$ac_pwd
alpar@9: ac_abs_builddir=$ac_pwd$ac_dir_suffix
alpar@9: # for backward compatibility:
alpar@9: ac_top_builddir=$ac_top_build_prefix
alpar@9: 
alpar@9: case $srcdir in
alpar@9:   .)  # We are building in place.
alpar@9:     ac_srcdir=.
alpar@9:     ac_top_srcdir=$ac_top_builddir_sub
alpar@9:     ac_abs_top_srcdir=$ac_pwd ;;
alpar@9:   [\\/]* | ?:[\\/]* )  # Absolute name.
alpar@9:     ac_srcdir=$srcdir$ac_dir_suffix;
alpar@9:     ac_top_srcdir=$srcdir
alpar@9:     ac_abs_top_srcdir=$srcdir ;;
alpar@9:   *) # Relative name.
alpar@9:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
alpar@9:     ac_top_srcdir=$ac_top_build_prefix$srcdir
alpar@9:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
alpar@9: esac
alpar@9: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
alpar@9: 
alpar@9: 
alpar@9:   case $ac_mode in
alpar@9:   :F)
alpar@9:   #
alpar@9:   # CONFIG_FILE
alpar@9:   #
alpar@9: 
alpar@9:   case $INSTALL in
alpar@9:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
alpar@9:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
alpar@9:   esac
alpar@9:   ac_MKDIR_P=$MKDIR_P
alpar@9:   case $MKDIR_P in
alpar@9:   [\\/$]* | ?:[\\/]* ) ;;
alpar@9:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
alpar@9:   esac
alpar@9: _ACEOF
alpar@9: 
alpar@9: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
alpar@9: # If the template does not know about datarootdir, expand it.
alpar@9: # FIXME: This hack should be removed a few years after 2.60.
alpar@9: ac_datarootdir_hack=; ac_datarootdir_seen=
alpar@9: ac_sed_dataroot='
alpar@9: /datarootdir/ {
alpar@9:   p
alpar@9:   q
alpar@9: }
alpar@9: /@datadir@/p
alpar@9: /@docdir@/p
alpar@9: /@infodir@/p
alpar@9: /@localedir@/p
alpar@9: /@mandir@/p'
alpar@9: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
alpar@9: *datarootdir*) ac_datarootdir_seen=yes;;
alpar@9: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
alpar@9: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
alpar@9: _ACEOF
alpar@9: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
alpar@9:   ac_datarootdir_hack='
alpar@9:   s&@datadir@&$datadir&g
alpar@9:   s&@docdir@&$docdir&g
alpar@9:   s&@infodir@&$infodir&g
alpar@9:   s&@localedir@&$localedir&g
alpar@9:   s&@mandir@&$mandir&g
alpar@9:   s&\\\${datarootdir}&$datarootdir&g' ;;
alpar@9: esac
alpar@9: _ACEOF
alpar@9: 
alpar@9: # Neutralize VPATH when `$srcdir' = `.'.
alpar@9: # Shell code in configure.ac might set extrasub.
alpar@9: # FIXME: do we really want to maintain this feature?
alpar@9: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
alpar@9: ac_sed_extra="$ac_vpsub
alpar@9: $extrasub
alpar@9: _ACEOF
alpar@9: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
alpar@9: :t
alpar@9: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
alpar@9: s|@configure_input@|$ac_sed_conf_input|;t t
alpar@9: s&@top_builddir@&$ac_top_builddir_sub&;t t
alpar@9: s&@top_build_prefix@&$ac_top_build_prefix&;t t
alpar@9: s&@srcdir@&$ac_srcdir&;t t
alpar@9: s&@abs_srcdir@&$ac_abs_srcdir&;t t
alpar@9: s&@top_srcdir@&$ac_top_srcdir&;t t
alpar@9: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
alpar@9: s&@builddir@&$ac_builddir&;t t
alpar@9: s&@abs_builddir@&$ac_abs_builddir&;t t
alpar@9: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
alpar@9: s&@INSTALL@&$ac_INSTALL&;t t
alpar@9: s&@MKDIR_P@&$ac_MKDIR_P&;t t
alpar@9: $ac_datarootdir_hack
alpar@9: "
alpar@9: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
alpar@9:   || as_fn_error "could not create $ac_file" "$LINENO" 5
alpar@9: 
alpar@9: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
alpar@9:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
alpar@9:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
alpar@9: which seems to be undefined.  Please make sure it is defined." >&5
alpar@9: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
alpar@9: which seems to be undefined.  Please make sure it is defined." >&2;}
alpar@9: 
alpar@9:   rm -f "$tmp/stdin"
alpar@9:   case $ac_file in
alpar@9:   -) cat "$tmp/out" && rm -f "$tmp/out";;
alpar@9:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
alpar@9:   esac \
alpar@9:   || as_fn_error "could not create $ac_file" "$LINENO" 5
alpar@9:  ;;
alpar@9:   :H)
alpar@9:   #
alpar@9:   # CONFIG_HEADER
alpar@9:   #
alpar@9:   if test x"$ac_file" != x-; then
alpar@9:     {
alpar@9:       $as_echo "/* $configure_input  */" \
alpar@9:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
alpar@9:     } >"$tmp/config.h" \
alpar@9:       || as_fn_error "could not create $ac_file" "$LINENO" 5
alpar@9:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
alpar@9:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
alpar@9: $as_echo "$as_me: $ac_file is unchanged" >&6;}
alpar@9:     else
alpar@9:       rm -f "$ac_file"
alpar@9:       mv "$tmp/config.h" "$ac_file" \
alpar@9: 	|| as_fn_error "could not create $ac_file" "$LINENO" 5
alpar@9:     fi
alpar@9:   else
alpar@9:     $as_echo "/* $configure_input  */" \
alpar@9:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
alpar@9:       || as_fn_error "could not create -" "$LINENO" 5
alpar@9:   fi
alpar@9: # Compute "$ac_file"'s index in $config_headers.
alpar@9: _am_arg="$ac_file"
alpar@9: _am_stamp_count=1
alpar@9: for _am_header in $config_headers :; do
alpar@9:   case $_am_header in
alpar@9:     $_am_arg | $_am_arg:* )
alpar@9:       break ;;
alpar@9:     * )
alpar@9:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
alpar@9:   esac
alpar@9: done
alpar@9: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
alpar@9: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
alpar@9: 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
alpar@9: 	 X"$_am_arg" : 'X\(//\)$' \| \
alpar@9: 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
alpar@9: $as_echo X"$_am_arg" |
alpar@9:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)[^/].*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\).*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  s/.*/./; q'`/stamp-h$_am_stamp_count
alpar@9:  ;;
alpar@9: 
alpar@9:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
alpar@9: $as_echo "$as_me: executing $ac_file commands" >&6;}
alpar@9:  ;;
alpar@9:   esac
alpar@9: 
alpar@9: 
alpar@9:   case $ac_file$ac_mode in
alpar@9:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
alpar@9:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
alpar@9:   # are listed without --file.  Let's play safe and only enable the eval
alpar@9:   # if we detect the quoting.
alpar@9:   case $CONFIG_FILES in
alpar@9:   *\'*) eval set x "$CONFIG_FILES" ;;
alpar@9:   *)   set x $CONFIG_FILES ;;
alpar@9:   esac
alpar@9:   shift
alpar@9:   for mf
alpar@9:   do
alpar@9:     # Strip MF so we end up with the name of the file.
alpar@9:     mf=`echo "$mf" | sed -e 's/:.*$//'`
alpar@9:     # Check whether this is an Automake generated Makefile or not.
alpar@9:     # We used to match only the files named `Makefile.in', but
alpar@9:     # some people rename them; so instead we look at the file content.
alpar@9:     # Grep'ing the first line is not enough: some people post-process
alpar@9:     # each Makefile.in and add a new line on top of each file to say so.
alpar@9:     # Grep'ing the whole file is not good either: AIX grep has a line
alpar@9:     # limit of 2048, but all sed's we know have understand at least 4000.
alpar@9:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
alpar@9:       dirpart=`$as_dirname -- "$mf" ||
alpar@9: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
alpar@9: 	 X"$mf" : 'X\(//\)[^/]' \| \
alpar@9: 	 X"$mf" : 'X\(//\)$' \| \
alpar@9: 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
alpar@9: $as_echo X"$mf" |
alpar@9:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)[^/].*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\).*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  s/.*/./; q'`
alpar@9:     else
alpar@9:       continue
alpar@9:     fi
alpar@9:     # Extract the definition of DEPDIR, am__include, and am__quote
alpar@9:     # from the Makefile without running `make'.
alpar@9:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
alpar@9:     test -z "$DEPDIR" && continue
alpar@9:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
alpar@9:     test -z "am__include" && continue
alpar@9:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
alpar@9:     # When using ansi2knr, U may be empty or an underscore; expand it
alpar@9:     U=`sed -n 's/^U = //p' < "$mf"`
alpar@9:     # Find all dependency output files, they are included files with
alpar@9:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
alpar@9:     # simplest approach to changing $(DEPDIR) to its actual value in the
alpar@9:     # expansion.
alpar@9:     for file in `sed -n "
alpar@9:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
alpar@9: 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
alpar@9:       # Make sure the directory exists.
alpar@9:       test -f "$dirpart/$file" && continue
alpar@9:       fdir=`$as_dirname -- "$file" ||
alpar@9: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
alpar@9: 	 X"$file" : 'X\(//\)[^/]' \| \
alpar@9: 	 X"$file" : 'X\(//\)$' \| \
alpar@9: 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
alpar@9: $as_echo X"$file" |
alpar@9:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)[^/].*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\/\)$/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  /^X\(\/\).*/{
alpar@9: 	    s//\1/
alpar@9: 	    q
alpar@9: 	  }
alpar@9: 	  s/.*/./; q'`
alpar@9:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
alpar@9:       # echo "creating $dirpart/$file"
alpar@9:       echo '# dummy' > "$dirpart/$file"
alpar@9:     done
alpar@9:   done
alpar@9: }
alpar@9:  ;;
alpar@9:     "libtool":C)
alpar@9: 
alpar@9:     # See if we are running on zsh, and set the options which allow our
alpar@9:     # commands through without removal of \ escapes.
alpar@9:     if test -n "${ZSH_VERSION+set}" ; then
alpar@9:       setopt NO_GLOB_SUBST
alpar@9:     fi
alpar@9: 
alpar@9:     cfgfile="${ofile}T"
alpar@9:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
alpar@9:     $RM "$cfgfile"
alpar@9: 
alpar@9:     cat <<_LT_EOF >> "$cfgfile"
alpar@9: #! $SHELL
alpar@9: 
alpar@9: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
alpar@9: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
alpar@9: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
alpar@9: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
alpar@9: #
alpar@9: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
alpar@9: #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
alpar@9: #   Written by Gordon Matzigkeit, 1996
alpar@9: #
alpar@9: #   This file is part of GNU Libtool.
alpar@9: #
alpar@9: # GNU Libtool is free software; you can redistribute it and/or
alpar@9: # modify it under the terms of the GNU General Public License as
alpar@9: # published by the Free Software Foundation; either version 2 of
alpar@9: # the License, or (at your option) any later version.
alpar@9: #
alpar@9: # As a special exception to the GNU General Public License,
alpar@9: # if you distribute this file as part of a program or library that
alpar@9: # is built using GNU Libtool, you may include this file under the
alpar@9: # same distribution terms that you use for the rest of that program.
alpar@9: #
alpar@9: # GNU Libtool is distributed in the hope that it will be useful,
alpar@9: # but WITHOUT ANY WARRANTY; without even the implied warranty of
alpar@9: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
alpar@9: # GNU General Public License for more details.
alpar@9: #
alpar@9: # You should have received a copy of the GNU General Public License
alpar@9: # along with GNU Libtool; see the file COPYING.  If not, a copy
alpar@9: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
alpar@9: # obtained by writing to the Free Software Foundation, Inc.,
alpar@9: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
alpar@9: 
alpar@9: 
alpar@9: # The names of the tagged configurations supported by this script.
alpar@9: available_tags=""
alpar@9: 
alpar@9: # ### BEGIN LIBTOOL CONFIG
alpar@9: 
alpar@9: # Which release of libtool.m4 was used?
alpar@9: macro_version=$macro_version
alpar@9: macro_revision=$macro_revision
alpar@9: 
alpar@9: # Whether or not to build shared libraries.
alpar@9: build_libtool_libs=$enable_shared
alpar@9: 
alpar@9: # Whether or not to build static libraries.
alpar@9: build_old_libs=$enable_static
alpar@9: 
alpar@9: # What type of objects to build.
alpar@9: pic_mode=$pic_mode
alpar@9: 
alpar@9: # Whether or not to optimize for fast installation.
alpar@9: fast_install=$enable_fast_install
alpar@9: 
alpar@9: # Shell to use when invoking shell scripts.
alpar@9: SHELL=$lt_SHELL
alpar@9: 
alpar@9: # An echo program that protects backslashes.
alpar@9: ECHO=$lt_ECHO
alpar@9: 
alpar@9: # The host system.
alpar@9: host_alias=$host_alias
alpar@9: host=$host
alpar@9: host_os=$host_os
alpar@9: 
alpar@9: # The build system.
alpar@9: build_alias=$build_alias
alpar@9: build=$build
alpar@9: build_os=$build_os
alpar@9: 
alpar@9: # A sed program that does not truncate output.
alpar@9: SED=$lt_SED
alpar@9: 
alpar@9: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
alpar@9: Xsed="\$SED -e 1s/^X//"
alpar@9: 
alpar@9: # A grep program that handles long lines.
alpar@9: GREP=$lt_GREP
alpar@9: 
alpar@9: # An ERE matcher.
alpar@9: EGREP=$lt_EGREP
alpar@9: 
alpar@9: # A literal string matcher.
alpar@9: FGREP=$lt_FGREP
alpar@9: 
alpar@9: # A BSD- or MS-compatible name lister.
alpar@9: NM=$lt_NM
alpar@9: 
alpar@9: # Whether we need soft or hard links.
alpar@9: LN_S=$lt_LN_S
alpar@9: 
alpar@9: # What is the maximum length of a command?
alpar@9: max_cmd_len=$max_cmd_len
alpar@9: 
alpar@9: # Object file suffix (normally "o").
alpar@9: objext=$ac_objext
alpar@9: 
alpar@9: # Executable file suffix (normally "").
alpar@9: exeext=$exeext
alpar@9: 
alpar@9: # whether the shell understands "unset".
alpar@9: lt_unset=$lt_unset
alpar@9: 
alpar@9: # turn spaces into newlines.
alpar@9: SP2NL=$lt_lt_SP2NL
alpar@9: 
alpar@9: # turn newlines into spaces.
alpar@9: NL2SP=$lt_lt_NL2SP
alpar@9: 
alpar@9: # convert \$build paths to \$host format.
alpar@9: to_host_path_cmd=$lt_cv_to_host_path_cmd
alpar@9: 
alpar@9: # An object symbol dumper.
alpar@9: OBJDUMP=$lt_OBJDUMP
alpar@9: 
alpar@9: # Method to check whether dependent libraries are shared objects.
alpar@9: deplibs_check_method=$lt_deplibs_check_method
alpar@9: 
alpar@9: # Command to use when deplibs_check_method == "file_magic".
alpar@9: file_magic_cmd=$lt_file_magic_cmd
alpar@9: 
alpar@9: # DLL creation program.
alpar@9: DLLTOOL=$lt_DLLTOOL
alpar@9: 
alpar@9: # Command to associate shared and link libraries.
alpar@9: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
alpar@9: 
alpar@9: # The archiver.
alpar@9: AR=$lt_AR
alpar@9: AR_FLAGS=$lt_AR_FLAGS
alpar@9: 
alpar@9: # A symbol stripping program.
alpar@9: STRIP=$lt_STRIP
alpar@9: 
alpar@9: # Commands used to install an old-style archive.
alpar@9: RANLIB=$lt_RANLIB
alpar@9: old_postinstall_cmds=$lt_old_postinstall_cmds
alpar@9: old_postuninstall_cmds=$lt_old_postuninstall_cmds
alpar@9: 
alpar@9: # Whether to use a lock for old archive extraction.
alpar@9: lock_old_archive_extraction=$lock_old_archive_extraction
alpar@9: 
alpar@9: # A C compiler.
alpar@9: LTCC=$lt_CC
alpar@9: 
alpar@9: # LTCC compiler flags.
alpar@9: LTCFLAGS=$lt_CFLAGS
alpar@9: 
alpar@9: # Take the output of nm and produce a listing of raw symbols and C names.
alpar@9: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
alpar@9: 
alpar@9: # Transform the output of nm in a proper C declaration.
alpar@9: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
alpar@9: 
alpar@9: # Transform the output of nm in a C name address pair.
alpar@9: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
alpar@9: 
alpar@9: # Transform the output of nm in a C name address pair when lib prefix is needed.
alpar@9: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
alpar@9: 
alpar@9: # The name of the directory that contains temporary libtool files.
alpar@9: objdir=$objdir
alpar@9: 
alpar@9: # Used to examine libraries when file_magic_cmd begins with "file".
alpar@9: MAGIC_CMD=$MAGIC_CMD
alpar@9: 
alpar@9: # Must we lock files when doing compilation?
alpar@9: need_locks=$lt_need_locks
alpar@9: 
alpar@9: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
alpar@9: DSYMUTIL=$lt_DSYMUTIL
alpar@9: 
alpar@9: # Tool to change global to local symbols on Mac OS X.
alpar@9: NMEDIT=$lt_NMEDIT
alpar@9: 
alpar@9: # Tool to manipulate fat objects and archives on Mac OS X.
alpar@9: LIPO=$lt_LIPO
alpar@9: 
alpar@9: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
alpar@9: OTOOL=$lt_OTOOL
alpar@9: 
alpar@9: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
alpar@9: OTOOL64=$lt_OTOOL64
alpar@9: 
alpar@9: # Old archive suffix (normally "a").
alpar@9: libext=$libext
alpar@9: 
alpar@9: # Shared library suffix (normally ".so").
alpar@9: shrext_cmds=$lt_shrext_cmds
alpar@9: 
alpar@9: # The commands to extract the exported symbol list from a shared archive.
alpar@9: extract_expsyms_cmds=$lt_extract_expsyms_cmds
alpar@9: 
alpar@9: # Variables whose values should be saved in libtool wrapper scripts and
alpar@9: # restored at link time.
alpar@9: variables_saved_for_relink=$lt_variables_saved_for_relink
alpar@9: 
alpar@9: # Do we need the "lib" prefix for modules?
alpar@9: need_lib_prefix=$need_lib_prefix
alpar@9: 
alpar@9: # Do we need a version for libraries?
alpar@9: need_version=$need_version
alpar@9: 
alpar@9: # Library versioning type.
alpar@9: version_type=$version_type
alpar@9: 
alpar@9: # Shared library runtime path variable.
alpar@9: runpath_var=$runpath_var
alpar@9: 
alpar@9: # Shared library path variable.
alpar@9: shlibpath_var=$shlibpath_var
alpar@9: 
alpar@9: # Is shlibpath searched before the hard-coded library search path?
alpar@9: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
alpar@9: 
alpar@9: # Format of library name prefix.
alpar@9: libname_spec=$lt_libname_spec
alpar@9: 
alpar@9: # List of archive names.  First name is the real one, the rest are links.
alpar@9: # The last name is the one that the linker finds with -lNAME
alpar@9: library_names_spec=$lt_library_names_spec
alpar@9: 
alpar@9: # The coded name of the library, if different from the real name.
alpar@9: soname_spec=$lt_soname_spec
alpar@9: 
alpar@9: # Permission mode override for installation of shared libraries.
alpar@9: install_override_mode=$lt_install_override_mode
alpar@9: 
alpar@9: # Command to use after installation of a shared archive.
alpar@9: postinstall_cmds=$lt_postinstall_cmds
alpar@9: 
alpar@9: # Command to use after uninstallation of a shared archive.
alpar@9: postuninstall_cmds=$lt_postuninstall_cmds
alpar@9: 
alpar@9: # Commands used to finish a libtool library installation in a directory.
alpar@9: finish_cmds=$lt_finish_cmds
alpar@9: 
alpar@9: # As "finish_cmds", except a single script fragment to be evaled but
alpar@9: # not shown.
alpar@9: finish_eval=$lt_finish_eval
alpar@9: 
alpar@9: # Whether we should hardcode library paths into libraries.
alpar@9: hardcode_into_libs=$hardcode_into_libs
alpar@9: 
alpar@9: # Compile-time system search path for libraries.
alpar@9: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
alpar@9: 
alpar@9: # Run-time system search path for libraries.
alpar@9: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
alpar@9: 
alpar@9: # Whether dlopen is supported.
alpar@9: dlopen_support=$enable_dlopen
alpar@9: 
alpar@9: # Whether dlopen of programs is supported.
alpar@9: dlopen_self=$enable_dlopen_self
alpar@9: 
alpar@9: # Whether dlopen of statically linked programs is supported.
alpar@9: dlopen_self_static=$enable_dlopen_self_static
alpar@9: 
alpar@9: # Commands to strip libraries.
alpar@9: old_striplib=$lt_old_striplib
alpar@9: striplib=$lt_striplib
alpar@9: 
alpar@9: 
alpar@9: # The linker used to build libraries.
alpar@9: LD=$lt_LD
alpar@9: 
alpar@9: # How to create reloadable object files.
alpar@9: reload_flag=$lt_reload_flag
alpar@9: reload_cmds=$lt_reload_cmds
alpar@9: 
alpar@9: # Commands used to build an old-style archive.
alpar@9: old_archive_cmds=$lt_old_archive_cmds
alpar@9: 
alpar@9: # A language specific compiler.
alpar@9: CC=$lt_compiler
alpar@9: 
alpar@9: # Is the compiler the GNU compiler?
alpar@9: with_gcc=$GCC
alpar@9: 
alpar@9: # Compiler flag to turn off builtin functions.
alpar@9: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
alpar@9: 
alpar@9: # How to pass a linker flag through the compiler.
alpar@9: wl=$lt_lt_prog_compiler_wl
alpar@9: 
alpar@9: # Additional compiler flags for building library objects.
alpar@9: pic_flag=$lt_lt_prog_compiler_pic
alpar@9: 
alpar@9: # Compiler flag to prevent dynamic linking.
alpar@9: link_static_flag=$lt_lt_prog_compiler_static
alpar@9: 
alpar@9: # Does compiler simultaneously support -c and -o options?
alpar@9: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
alpar@9: 
alpar@9: # Whether or not to add -lc for building shared libraries.
alpar@9: build_libtool_need_lc=$archive_cmds_need_lc
alpar@9: 
alpar@9: # Whether or not to disallow shared libs when runtime libs are static.
alpar@9: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
alpar@9: 
alpar@9: # Compiler flag to allow reflexive dlopens.
alpar@9: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
alpar@9: 
alpar@9: # Compiler flag to generate shared objects directly from archives.
alpar@9: whole_archive_flag_spec=$lt_whole_archive_flag_spec
alpar@9: 
alpar@9: # Whether the compiler copes with passing no objects directly.
alpar@9: compiler_needs_object=$lt_compiler_needs_object
alpar@9: 
alpar@9: # Create an old-style archive from a shared archive.
alpar@9: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
alpar@9: 
alpar@9: # Create a temporary old-style archive to link instead of a shared archive.
alpar@9: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
alpar@9: 
alpar@9: # Commands used to build a shared archive.
alpar@9: archive_cmds=$lt_archive_cmds
alpar@9: archive_expsym_cmds=$lt_archive_expsym_cmds
alpar@9: 
alpar@9: # Commands used to build a loadable module if different from building
alpar@9: # a shared archive.
alpar@9: module_cmds=$lt_module_cmds
alpar@9: module_expsym_cmds=$lt_module_expsym_cmds
alpar@9: 
alpar@9: # Whether we are building with GNU ld or not.
alpar@9: with_gnu_ld=$lt_with_gnu_ld
alpar@9: 
alpar@9: # Flag that allows shared libraries with undefined symbols to be built.
alpar@9: allow_undefined_flag=$lt_allow_undefined_flag
alpar@9: 
alpar@9: # Flag that enforces no undefined symbols.
alpar@9: no_undefined_flag=$lt_no_undefined_flag
alpar@9: 
alpar@9: # Flag to hardcode \$libdir into a binary during linking.
alpar@9: # This must work even if \$libdir does not exist
alpar@9: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
alpar@9: 
alpar@9: # If ld is used when linking, flag to hardcode \$libdir into a binary
alpar@9: # during linking.  This must work even if \$libdir does not exist.
alpar@9: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
alpar@9: 
alpar@9: # Whether we need a single "-rpath" flag with a separated argument.
alpar@9: hardcode_libdir_separator=$lt_hardcode_libdir_separator
alpar@9: 
alpar@9: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
alpar@9: # DIR into the resulting binary.
alpar@9: hardcode_direct=$hardcode_direct
alpar@9: 
alpar@9: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
alpar@9: # DIR into the resulting binary and the resulting library dependency is
alpar@9: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
alpar@9: # library is relocated.
alpar@9: hardcode_direct_absolute=$hardcode_direct_absolute
alpar@9: 
alpar@9: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
alpar@9: # into the resulting binary.
alpar@9: hardcode_minus_L=$hardcode_minus_L
alpar@9: 
alpar@9: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
alpar@9: # into the resulting binary.
alpar@9: hardcode_shlibpath_var=$hardcode_shlibpath_var
alpar@9: 
alpar@9: # Set to "yes" if building a shared library automatically hardcodes DIR
alpar@9: # into the library and all subsequent libraries and executables linked
alpar@9: # against it.
alpar@9: hardcode_automatic=$hardcode_automatic
alpar@9: 
alpar@9: # Set to yes if linker adds runtime paths of dependent libraries
alpar@9: # to runtime path list.
alpar@9: inherit_rpath=$inherit_rpath
alpar@9: 
alpar@9: # Whether libtool must link a program against all its dependency libraries.
alpar@9: link_all_deplibs=$link_all_deplibs
alpar@9: 
alpar@9: # Fix the shell variable \$srcfile for the compiler.
alpar@9: fix_srcfile_path=$lt_fix_srcfile_path
alpar@9: 
alpar@9: # Set to "yes" if exported symbols are required.
alpar@9: always_export_symbols=$always_export_symbols
alpar@9: 
alpar@9: # The commands to list exported symbols.
alpar@9: export_symbols_cmds=$lt_export_symbols_cmds
alpar@9: 
alpar@9: # Symbols that should not be listed in the preloaded symbols.
alpar@9: exclude_expsyms=$lt_exclude_expsyms
alpar@9: 
alpar@9: # Symbols that must always be exported.
alpar@9: include_expsyms=$lt_include_expsyms
alpar@9: 
alpar@9: # Commands necessary for linking programs (against libraries) with templates.
alpar@9: prelink_cmds=$lt_prelink_cmds
alpar@9: 
alpar@9: # Specify filename containing input files.
alpar@9: file_list_spec=$lt_file_list_spec
alpar@9: 
alpar@9: # How to hardcode a shared library path into an executable.
alpar@9: hardcode_action=$hardcode_action
alpar@9: 
alpar@9: # ### END LIBTOOL CONFIG
alpar@9: 
alpar@9: _LT_EOF
alpar@9: 
alpar@9:   case $host_os in
alpar@9:   aix3*)
alpar@9:     cat <<\_LT_EOF >> "$cfgfile"
alpar@9: # AIX sometimes has problems with the GCC collect2 program.  For some
alpar@9: # reason, if we set the COLLECT_NAMES environment variable, the problems
alpar@9: # vanish in a puff of smoke.
alpar@9: if test "X${COLLECT_NAMES+set}" != Xset; then
alpar@9:   COLLECT_NAMES=
alpar@9:   export COLLECT_NAMES
alpar@9: fi
alpar@9: _LT_EOF
alpar@9:     ;;
alpar@9:   esac
alpar@9: 
alpar@9: 
alpar@9: ltmain="$ac_aux_dir/ltmain.sh"
alpar@9: 
alpar@9: 
alpar@9:   # We use sed instead of cat because bash on DJGPP gets confused if
alpar@9:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
alpar@9:   # text mode, it properly converts lines to CR/LF.  This bash problem
alpar@9:   # is reportedly fixed, but why not run on old versions too?
alpar@9:   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
alpar@9:     || (rm -f "$cfgfile"; exit 1)
alpar@9: 
alpar@9:   case $xsi_shell in
alpar@9:   yes)
alpar@9:     cat << \_LT_EOF >> "$cfgfile"
alpar@9: 
alpar@9: # func_dirname file append nondir_replacement
alpar@9: # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
alpar@9: # otherwise set result to NONDIR_REPLACEMENT.
alpar@9: func_dirname ()
alpar@9: {
alpar@9:   case ${1} in
alpar@9:     */*) func_dirname_result="${1%/*}${2}" ;;
alpar@9:     *  ) func_dirname_result="${3}" ;;
alpar@9:   esac
alpar@9: }
alpar@9: 
alpar@9: # func_basename file
alpar@9: func_basename ()
alpar@9: {
alpar@9:   func_basename_result="${1##*/}"
alpar@9: }
alpar@9: 
alpar@9: # func_dirname_and_basename file append nondir_replacement
alpar@9: # perform func_basename and func_dirname in a single function
alpar@9: # call:
alpar@9: #   dirname:  Compute the dirname of FILE.  If nonempty,
alpar@9: #             add APPEND to the result, otherwise set result
alpar@9: #             to NONDIR_REPLACEMENT.
alpar@9: #             value returned in "$func_dirname_result"
alpar@9: #   basename: Compute filename of FILE.
alpar@9: #             value retuned in "$func_basename_result"
alpar@9: # Implementation must be kept synchronized with func_dirname
alpar@9: # and func_basename. For efficiency, we do not delegate to
alpar@9: # those functions but instead duplicate the functionality here.
alpar@9: func_dirname_and_basename ()
alpar@9: {
alpar@9:   case ${1} in
alpar@9:     */*) func_dirname_result="${1%/*}${2}" ;;
alpar@9:     *  ) func_dirname_result="${3}" ;;
alpar@9:   esac
alpar@9:   func_basename_result="${1##*/}"
alpar@9: }
alpar@9: 
alpar@9: # func_stripname prefix suffix name
alpar@9: # strip PREFIX and SUFFIX off of NAME.
alpar@9: # PREFIX and SUFFIX must not contain globbing or regex special
alpar@9: # characters, hashes, percent signs, but SUFFIX may contain a leading
alpar@9: # dot (in which case that matches only a dot).
alpar@9: func_stripname ()
alpar@9: {
alpar@9:   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
alpar@9:   # positional parameters, so assign one to ordinary parameter first.
alpar@9:   func_stripname_result=${3}
alpar@9:   func_stripname_result=${func_stripname_result#"${1}"}
alpar@9:   func_stripname_result=${func_stripname_result%"${2}"}
alpar@9: }
alpar@9: 
alpar@9: # func_opt_split
alpar@9: func_opt_split ()
alpar@9: {
alpar@9:   func_opt_split_opt=${1%%=*}
alpar@9:   func_opt_split_arg=${1#*=}
alpar@9: }
alpar@9: 
alpar@9: # func_lo2o object
alpar@9: func_lo2o ()
alpar@9: {
alpar@9:   case ${1} in
alpar@9:     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
alpar@9:     *)    func_lo2o_result=${1} ;;
alpar@9:   esac
alpar@9: }
alpar@9: 
alpar@9: # func_xform libobj-or-source
alpar@9: func_xform ()
alpar@9: {
alpar@9:   func_xform_result=${1%.*}.lo
alpar@9: }
alpar@9: 
alpar@9: # func_arith arithmetic-term...
alpar@9: func_arith ()
alpar@9: {
alpar@9:   func_arith_result=$(( $* ))
alpar@9: }
alpar@9: 
alpar@9: # func_len string
alpar@9: # STRING may not start with a hyphen.
alpar@9: func_len ()
alpar@9: {
alpar@9:   func_len_result=${#1}
alpar@9: }
alpar@9: 
alpar@9: _LT_EOF
alpar@9:     ;;
alpar@9:   *) # Bourne compatible functions.
alpar@9:     cat << \_LT_EOF >> "$cfgfile"
alpar@9: 
alpar@9: # func_dirname file append nondir_replacement
alpar@9: # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
alpar@9: # otherwise set result to NONDIR_REPLACEMENT.
alpar@9: func_dirname ()
alpar@9: {
alpar@9:   # Extract subdirectory from the argument.
alpar@9:   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
alpar@9:   if test "X$func_dirname_result" = "X${1}"; then
alpar@9:     func_dirname_result="${3}"
alpar@9:   else
alpar@9:     func_dirname_result="$func_dirname_result${2}"
alpar@9:   fi
alpar@9: }
alpar@9: 
alpar@9: # func_basename file
alpar@9: func_basename ()
alpar@9: {
alpar@9:   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
alpar@9: }
alpar@9: 
alpar@9: 
alpar@9: # func_stripname prefix suffix name
alpar@9: # strip PREFIX and SUFFIX off of NAME.
alpar@9: # PREFIX and SUFFIX must not contain globbing or regex special
alpar@9: # characters, hashes, percent signs, but SUFFIX may contain a leading
alpar@9: # dot (in which case that matches only a dot).
alpar@9: # func_strip_suffix prefix name
alpar@9: func_stripname ()
alpar@9: {
alpar@9:   case ${2} in
alpar@9:     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
alpar@9:     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
alpar@9:   esac
alpar@9: }
alpar@9: 
alpar@9: # sed scripts:
alpar@9: my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
alpar@9: my_sed_long_arg='1s/^-[^=]*=//'
alpar@9: 
alpar@9: # func_opt_split
alpar@9: func_opt_split ()
alpar@9: {
alpar@9:   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
alpar@9:   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
alpar@9: }
alpar@9: 
alpar@9: # func_lo2o object
alpar@9: func_lo2o ()
alpar@9: {
alpar@9:   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
alpar@9: }
alpar@9: 
alpar@9: # func_xform libobj-or-source
alpar@9: func_xform ()
alpar@9: {
alpar@9:   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
alpar@9: }
alpar@9: 
alpar@9: # func_arith arithmetic-term...
alpar@9: func_arith ()
alpar@9: {
alpar@9:   func_arith_result=`expr "$@"`
alpar@9: }
alpar@9: 
alpar@9: # func_len string
alpar@9: # STRING may not start with a hyphen.
alpar@9: func_len ()
alpar@9: {
alpar@9:   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
alpar@9: }
alpar@9: 
alpar@9: _LT_EOF
alpar@9: esac
alpar@9: 
alpar@9: case $lt_shell_append in
alpar@9:   yes)
alpar@9:     cat << \_LT_EOF >> "$cfgfile"
alpar@9: 
alpar@9: # func_append var value
alpar@9: # Append VALUE to the end of shell variable VAR.
alpar@9: func_append ()
alpar@9: {
alpar@9:   eval "$1+=\$2"
alpar@9: }
alpar@9: _LT_EOF
alpar@9:     ;;
alpar@9:   *)
alpar@9:     cat << \_LT_EOF >> "$cfgfile"
alpar@9: 
alpar@9: # func_append var value
alpar@9: # Append VALUE to the end of shell variable VAR.
alpar@9: func_append ()
alpar@9: {
alpar@9:   eval "$1=\$$1\$2"
alpar@9: }
alpar@9: 
alpar@9: _LT_EOF
alpar@9:     ;;
alpar@9:   esac
alpar@9: 
alpar@9: 
alpar@9:   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
alpar@9:     || (rm -f "$cfgfile"; exit 1)
alpar@9: 
alpar@9:   mv -f "$cfgfile" "$ofile" ||
alpar@9:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
alpar@9:   chmod +x "$ofile"
alpar@9: 
alpar@9:  ;;
alpar@9: 
alpar@9:   esac
alpar@9: done # for ac_tag
alpar@9: 
alpar@9: 
alpar@9: as_fn_exit 0
alpar@9: _ACEOF
alpar@9: ac_clean_files=$ac_clean_files_save
alpar@9: 
alpar@9: test $ac_write_fail = 0 ||
alpar@9:   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
alpar@9: 
alpar@9: 
alpar@9: # configure is writing to config.log, and then calls config.status.
alpar@9: # config.status does its own redirection, appending to config.log.
alpar@9: # Unfortunately, on DOS this fails, as config.log is still kept open
alpar@9: # by configure, so config.status won't be able to write to it; its
alpar@9: # output is simply discarded.  So we exec the FD to /dev/null,
alpar@9: # effectively closing config.log, so it can be properly (re)opened and
alpar@9: # appended to by config.status.  When coming back to configure, we
alpar@9: # need to make the FD available again.
alpar@9: if test "$no_create" != yes; then
alpar@9:   ac_cs_success=:
alpar@9:   ac_config_status_args=
alpar@9:   test "$silent" = yes &&
alpar@9:     ac_config_status_args="$ac_config_status_args --quiet"
alpar@9:   exec 5>/dev/null
alpar@9:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
alpar@9:   exec 5>>config.log
alpar@9:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
alpar@9:   # would make configure fail if this is the last instruction.
alpar@9:   $ac_cs_success || as_fn_exit $?
alpar@9: fi
alpar@9: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
alpar@9:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
alpar@9: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
alpar@9: fi
alpar@9: 
alpar@9: