| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1 | #! /bin/sh | 
 | 2 | # Guess values for system-dependent variables and create Makefiles. | 
| Chris Lattner | 95f45c5 | 2004-04-14 16:32:09 +0000 | [diff] [blame] | 3 | # Generated by GNU Autoconf 2.57 for [LLVM] [1.3]. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4 | # | 
 | 5 | # Report bugs to <llvmbugs@cs.uiuc.edu>. | 
 | 6 | # | 
 | 7 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 
 | 8 | # Free Software Foundation, Inc. | 
 | 9 | # This configure script is free software; the Free Software Foundation | 
 | 10 | # gives unlimited permission to copy, distribute and modify it. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11 | ## --------------------- ## | 
 | 12 | ## M4sh Initialization.  ## | 
 | 13 | ## --------------------- ## | 
 | 14 |  | 
 | 15 | # Be Bourne compatible | 
 | 16 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
 | 17 |   emulate sh | 
 | 18 |   NULLCMD=: | 
 | 19 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
 | 20 |   # is contrary to our usage.  Disable this feature. | 
 | 21 |   alias -g '${1+"$@"}'='"$@"' | 
 | 22 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
 | 23 |   set -o posix | 
 | 24 | fi | 
 | 25 |  | 
 | 26 | # Support unset when possible. | 
 | 27 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
 | 28 |   as_unset=unset | 
 | 29 | else | 
 | 30 |   as_unset=false | 
 | 31 | fi | 
 | 32 |  | 
 | 33 |  | 
 | 34 | # Work around bugs in pre-3.0 UWIN ksh. | 
 | 35 | $as_unset ENV MAIL MAILPATH | 
 | 36 | PS1='$ ' | 
 | 37 | PS2='> ' | 
 | 38 | PS4='+ ' | 
 | 39 |  | 
 | 40 | # NLS nuisances. | 
 | 41 | for as_var in \ | 
 | 42 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
 | 43 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
 | 44 |   LC_TELEPHONE LC_TIME | 
 | 45 | do | 
 | 46 |   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
 | 47 |     eval $as_var=C; export $as_var | 
 | 48 |   else | 
 | 49 |     $as_unset $as_var | 
 | 50 |   fi | 
 | 51 | done | 
 | 52 |  | 
 | 53 | # Required to use basename. | 
 | 54 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 55 |   as_expr=expr | 
 | 56 | else | 
 | 57 |   as_expr=false | 
 | 58 | fi | 
 | 59 |  | 
 | 60 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
 | 61 |   as_basename=basename | 
 | 62 | else | 
 | 63 |   as_basename=false | 
 | 64 | fi | 
 | 65 |  | 
 | 66 |  | 
 | 67 | # Name of the executable. | 
 | 68 | as_me=`$as_basename "$0" || | 
 | 69 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
 | 70 | 	 X"$0" : 'X\(//\)$' \| \ | 
 | 71 | 	 X"$0" : 'X\(/\)$' \| \ | 
 | 72 | 	 .     : '\(.\)' 2>/dev/null || | 
 | 73 | echo X/"$0" | | 
 | 74 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
 | 75 |   	  /^X\/\(\/\/\)$/{ s//\1/; q; } | 
 | 76 |   	  /^X\/\(\/\).*/{ s//\1/; q; } | 
 | 77 |   	  s/.*/./; q'` | 
 | 78 |  | 
 | 79 |  | 
 | 80 | # PATH needs CR, and LINENO needs CR and PATH. | 
 | 81 | # Avoid depending upon Character Ranges. | 
 | 82 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
 | 83 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
 | 84 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
 | 85 | as_cr_digits='0123456789' | 
 | 86 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
 | 87 |  | 
 | 88 | # The user is always right. | 
 | 89 | if test "${PATH_SEPARATOR+set}" != set; then | 
 | 90 |   echo "#! /bin/sh" >conf$$.sh | 
 | 91 |   echo  "exit 0"   >>conf$$.sh | 
 | 92 |   chmod +x conf$$.sh | 
 | 93 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
 | 94 |     PATH_SEPARATOR=';' | 
 | 95 |   else | 
 | 96 |     PATH_SEPARATOR=: | 
 | 97 |   fi | 
 | 98 |   rm -f conf$$.sh | 
 | 99 | fi | 
 | 100 |  | 
 | 101 |  | 
 | 102 |   as_lineno_1=$LINENO | 
 | 103 |   as_lineno_2=$LINENO | 
 | 104 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 105 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 106 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
 | 107 |   # Find who we are.  Look in the path if we contain no path at all | 
 | 108 |   # relative or not. | 
 | 109 |   case $0 in | 
 | 110 |     *[\\/]* ) as_myself=$0 ;; | 
 | 111 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 112 | for as_dir in $PATH | 
 | 113 | do | 
 | 114 |   IFS=$as_save_IFS | 
 | 115 |   test -z "$as_dir" && as_dir=. | 
 | 116 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
 | 117 | done | 
 | 118 |  | 
 | 119 |        ;; | 
 | 120 |   esac | 
 | 121 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
 | 122 |   # in which case we are not to be found in the path. | 
 | 123 |   if test "x$as_myself" = x; then | 
 | 124 |     as_myself=$0 | 
 | 125 |   fi | 
 | 126 |   if test ! -f "$as_myself"; then | 
 | 127 |     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 
 | 128 |    { (exit 1); exit 1; }; } | 
 | 129 |   fi | 
 | 130 |   case $CONFIG_SHELL in | 
 | 131 |   '') | 
 | 132 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 133 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
 | 134 | do | 
 | 135 |   IFS=$as_save_IFS | 
 | 136 |   test -z "$as_dir" && as_dir=. | 
 | 137 |   for as_base in sh bash ksh sh5; do | 
 | 138 | 	 case $as_dir in | 
 | 139 | 	 /*) | 
 | 140 | 	   if ("$as_dir/$as_base" -c ' | 
 | 141 |   as_lineno_1=$LINENO | 
 | 142 |   as_lineno_2=$LINENO | 
 | 143 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 144 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 145 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
 | 146 | 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
 | 147 | 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
 | 148 | 	     CONFIG_SHELL=$as_dir/$as_base | 
 | 149 | 	     export CONFIG_SHELL | 
 | 150 | 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
 | 151 | 	   fi;; | 
 | 152 | 	 esac | 
 | 153 |        done | 
 | 154 | done | 
 | 155 | ;; | 
 | 156 |   esac | 
 | 157 |  | 
 | 158 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
 | 159 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
 | 160 |   # line-number line before each line; the second 'sed' does the real | 
 | 161 |   # work.  The second script uses 'N' to pair each line-number line | 
 | 162 |   # with the numbered line, and appends trailing '-' during | 
 | 163 |   # substitution so that $LINENO is not a special case at line end. | 
 | 164 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
 | 165 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
 | 166 |   sed '=' <$as_myself | | 
 | 167 |     sed ' | 
 | 168 |       N | 
 | 169 |       s,$,-, | 
 | 170 |       : loop | 
 | 171 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
 | 172 |       t loop | 
 | 173 |       s,-$,, | 
 | 174 |       s,^['$as_cr_digits']*\n,, | 
 | 175 |     ' >$as_me.lineno && | 
 | 176 |   chmod +x $as_me.lineno || | 
 | 177 |     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 
 | 178 |    { (exit 1); exit 1; }; } | 
 | 179 |  | 
 | 180 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
 | 181 |   # (the dirname of $[0] is not the place where we might find the | 
 | 182 |   # original and so on.  Autoconf is especially sensible to this). | 
 | 183 |   . ./$as_me.lineno | 
 | 184 |   # Exit status is that of the last command. | 
 | 185 |   exit | 
 | 186 | } | 
 | 187 |  | 
 | 188 |  | 
 | 189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
 | 190 |   *c*,-n*) ECHO_N= ECHO_C=' | 
 | 191 | ' ECHO_T='	' ;; | 
 | 192 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
 | 193 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
 | 194 | esac | 
 | 195 |  | 
 | 196 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 197 |   as_expr=expr | 
 | 198 | else | 
 | 199 |   as_expr=false | 
 | 200 | fi | 
 | 201 |  | 
 | 202 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 203 | echo >conf$$.file | 
 | 204 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
 | 205 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
 | 206 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
 | 207 |   if test -f conf$$.exe; then | 
 | 208 |     # Don't use ln at all; we don't have any links | 
 | 209 |     as_ln_s='cp -p' | 
 | 210 |   else | 
 | 211 |     as_ln_s='ln -s' | 
 | 212 |   fi | 
 | 213 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
 | 214 |   as_ln_s=ln | 
 | 215 | else | 
 | 216 |   as_ln_s='cp -p' | 
 | 217 | fi | 
 | 218 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 219 |  | 
 | 220 | if mkdir -p . 2>/dev/null; then | 
 | 221 |   as_mkdir_p=: | 
 | 222 | else | 
 | 223 |   as_mkdir_p=false | 
 | 224 | fi | 
 | 225 |  | 
 | 226 | as_executable_p="test -f" | 
 | 227 |  | 
 | 228 | # Sed expression to map a string onto a valid CPP name. | 
 | 229 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 
 | 230 |  | 
 | 231 | # Sed expression to map a string onto a valid variable name. | 
 | 232 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 
 | 233 |  | 
 | 234 |  | 
 | 235 | # IFS | 
 | 236 | # We need space, tab and new line, in precisely that order. | 
 | 237 | as_nl=' | 
 | 238 | ' | 
 | 239 | IFS=" 	$as_nl" | 
 | 240 |  | 
 | 241 | # CDPATH. | 
 | 242 | $as_unset CDPATH | 
 | 243 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 244 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 245 |  | 
 | 246 | # Check that we are running under the correct shell. | 
 | 247 | SHELL=${CONFIG_SHELL-/bin/sh} | 
 | 248 |  | 
 | 249 | case X$ECHO in | 
 | 250 | X*--fallback-echo) | 
 | 251 |   # Remove one level of quotation (which was required for Make). | 
 | 252 |   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` | 
 | 253 |   ;; | 
 | 254 | esac | 
 | 255 |  | 
 | 256 | echo=${ECHO-echo} | 
 | 257 | if test "X$1" = X--no-reexec; then | 
 | 258 |   # Discard the --no-reexec flag, and continue. | 
 | 259 |   shift | 
 | 260 | elif test "X$1" = X--fallback-echo; then | 
 | 261 |   # Avoid inline document here, it may be left over | 
 | 262 |   : | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 263 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 264 |   # Yippee, $echo works! | 
 | 265 |   : | 
 | 266 | else | 
 | 267 |   # Restart under the correct shell. | 
 | 268 |   exec $SHELL "$0" --no-reexec ${1+"$@"} | 
 | 269 | fi | 
 | 270 |  | 
 | 271 | if test "X$1" = X--fallback-echo; then | 
 | 272 |   # used as fallback echo | 
 | 273 |   shift | 
 | 274 |   cat <<EOF | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 275 | $* | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 276 | EOF | 
 | 277 |   exit 0 | 
 | 278 | fi | 
 | 279 |  | 
 | 280 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 
 | 281 | # if CDPATH is set. | 
 | 282 | if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 
 | 283 |  | 
 | 284 | if test -z "$ECHO"; then | 
 | 285 | if test "X${echo_test_string+set}" != Xset; then | 
 | 286 | # find a string as large as possible, as long as the shell can cope with it | 
 | 287 |   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do | 
 | 288 |     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | 
 | 289 |     if (echo_test_string="`eval $cmd`") 2>/dev/null && | 
 | 290 |        echo_test_string="`eval $cmd`" && | 
 | 291 |        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | 
 | 292 |     then | 
 | 293 |       break | 
 | 294 |     fi | 
 | 295 |   done | 
 | 296 | fi | 
 | 297 |  | 
 | 298 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | 
 | 299 |    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | 
 | 300 |    test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 301 |   : | 
 | 302 | else | 
 | 303 |   # The Solaris, AIX, and Digital Unix default echo programs unquote | 
 | 304 |   # backslashes.  This makes it impossible to quote backslashes using | 
 | 305 |   #   echo "$something" | sed 's/\\/\\\\/g' | 
 | 306 |   # | 
 | 307 |   # So, first we look for a working echo in the user's PATH. | 
 | 308 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 309 |   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 310 |   for dir in $PATH /usr/ucb; do | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 311 |     IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 312 |     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | 
 | 313 |        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | 
 | 314 |        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | 
 | 315 |        test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 316 |       echo="$dir/echo" | 
 | 317 |       break | 
 | 318 |     fi | 
 | 319 |   done | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 320 |   IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 321 |  | 
 | 322 |   if test "X$echo" = Xecho; then | 
 | 323 |     # We didn't find a better echo, so look for alternatives. | 
 | 324 |     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && | 
 | 325 |        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && | 
 | 326 |        test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 327 |       # This shell has a builtin print -r that does the trick. | 
 | 328 |       echo='print -r' | 
 | 329 |     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && | 
 | 330 | 	 test "X$CONFIG_SHELL" != X/bin/ksh; then | 
 | 331 |       # If we have ksh, try running configure again with it. | 
 | 332 |       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | 
 | 333 |       export ORIGINAL_CONFIG_SHELL | 
 | 334 |       CONFIG_SHELL=/bin/ksh | 
 | 335 |       export CONFIG_SHELL | 
 | 336 |       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} | 
 | 337 |     else | 
 | 338 |       # Try using printf. | 
 | 339 |       echo='printf %s\n' | 
 | 340 |       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | 
 | 341 | 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | 
 | 342 | 	 test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 343 | 	# Cool, printf works | 
 | 344 | 	: | 
 | 345 |       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | 
 | 346 | 	   test "X$echo_testing_string" = 'X\t' && | 
 | 347 | 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | 
 | 348 | 	   test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 349 | 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | 
 | 350 | 	export CONFIG_SHELL | 
 | 351 | 	SHELL="$CONFIG_SHELL" | 
 | 352 | 	export SHELL | 
 | 353 | 	echo="$CONFIG_SHELL $0 --fallback-echo" | 
 | 354 |       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | 
 | 355 | 	   test "X$echo_testing_string" = 'X\t' && | 
 | 356 | 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | 
 | 357 | 	   test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 358 | 	echo="$CONFIG_SHELL $0 --fallback-echo" | 
 | 359 |       else | 
 | 360 | 	# maybe with a smaller string... | 
 | 361 | 	prev=: | 
 | 362 |  | 
 | 363 | 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do | 
 | 364 | 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null | 
 | 365 | 	  then | 
 | 366 | 	    break | 
 | 367 | 	  fi | 
 | 368 | 	  prev="$cmd" | 
 | 369 | 	done | 
 | 370 |  | 
 | 371 | 	if test "$prev" != 'sed 50q "$0"'; then | 
 | 372 | 	  echo_test_string=`eval $prev` | 
 | 373 | 	  export echo_test_string | 
 | 374 | 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} | 
 | 375 | 	else | 
 | 376 | 	  # Oops.  We lost completely, so just stick with echo. | 
 | 377 | 	  echo=echo | 
 | 378 | 	fi | 
 | 379 |       fi | 
 | 380 |     fi | 
 | 381 |   fi | 
 | 382 | fi | 
 | 383 | fi | 
 | 384 |  | 
 | 385 | # Copy echo and quote the copy suitably for passing to libtool from | 
 | 386 | # the Makefile, instead of quoting the original, which is used later. | 
 | 387 | ECHO=$echo | 
 | 388 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then | 
 | 389 |    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | 
 | 390 | fi | 
 | 391 |  | 
 | 392 |  | 
 | 393 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 394 |  | 
 | 395 | tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` | 
 | 396 |  | 
 | 397 | tagnames=`echo "$tagnames,F77" | sed 's/^,//'` | 
 | 398 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 399 | # Name of the host. | 
 | 400 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 
 | 401 | # so uname gets run too. | 
 | 402 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 
 | 403 |  | 
 | 404 | exec 6>&1 | 
 | 405 |  | 
 | 406 | # | 
 | 407 | # Initializations. | 
 | 408 | # | 
 | 409 | ac_default_prefix=/usr/local | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 410 | ac_config_libobj_dir=. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 411 | cross_compiling=no | 
 | 412 | subdirs= | 
 | 413 | MFLAGS= | 
 | 414 | MAKEFLAGS= | 
 | 415 | SHELL=${CONFIG_SHELL-/bin/sh} | 
 | 416 |  | 
 | 417 | # Maximum number of lines to put in a shell here document. | 
 | 418 | # This variable seems obsolete.  It should probably be removed, and | 
 | 419 | # only ac_max_sed_lines should be used. | 
 | 420 | : ${ac_max_here_lines=38} | 
 | 421 |  | 
 | 422 | # Identity of this package. | 
 | 423 | PACKAGE_NAME='[LLVM]' | 
 | 424 | PACKAGE_TARNAME='--llvm--' | 
| Chris Lattner | 95f45c5 | 2004-04-14 16:32:09 +0000 | [diff] [blame] | 425 | PACKAGE_VERSION='[1.3]' | 
 | 426 | PACKAGE_STRING='[LLVM] [1.3]' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 427 | PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu' | 
 | 428 |  | 
| John Criswell | 33a911a | 2003-11-25 20:36:46 +0000 | [diff] [blame] | 429 | ac_subdirs_all="$ac_subdirs_all projects/${i}" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 430 | # Factoring default headers for most tests. | 
 | 431 | ac_includes_default="\ | 
 | 432 | #include <stdio.h> | 
 | 433 | #if HAVE_SYS_TYPES_H | 
 | 434 | # include <sys/types.h> | 
 | 435 | #endif | 
 | 436 | #if HAVE_SYS_STAT_H | 
 | 437 | # include <sys/stat.h> | 
 | 438 | #endif | 
 | 439 | #if STDC_HEADERS | 
 | 440 | # include <stdlib.h> | 
 | 441 | # include <stddef.h> | 
 | 442 | #else | 
 | 443 | # if HAVE_STDLIB_H | 
 | 444 | #  include <stdlib.h> | 
 | 445 | # endif | 
 | 446 | #endif | 
 | 447 | #if HAVE_STRING_H | 
 | 448 | # if !STDC_HEADERS && HAVE_MEMORY_H | 
 | 449 | #  include <memory.h> | 
 | 450 | # endif | 
 | 451 | # include <string.h> | 
 | 452 | #endif | 
 | 453 | #if HAVE_STRINGS_H | 
 | 454 | # include <strings.h> | 
 | 455 | #endif | 
 | 456 | #if HAVE_INTTYPES_H | 
 | 457 | # include <inttypes.h> | 
 | 458 | #else | 
 | 459 | # if HAVE_STDINT_H | 
 | 460 | #  include <stdint.h> | 
 | 461 | # endif | 
 | 462 | #endif | 
 | 463 | #if HAVE_UNISTD_H | 
 | 464 | # include <unistd.h> | 
 | 465 | #endif" | 
 | 466 |  | 
 | 467 | ac_unique_file=""Makefile.config.in"" | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 468 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS subdirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC BISON EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL DOT ETAGS ETAGSFLAGS PYTHON QMTEST HAVE_PTHREAD_MUTEX_LOCK INCLUDE_SYS_TYPES_H INCLUDE_INTTYPES_H ENDIAN HAVE_STD_EXT_HASH_MAP HAVE_GNU_EXT_HASH_MAP HAVE_GLOBAL_HASH_MAP HAVE_STD_EXT_HASH_SET HAVE_GNU_EXT_HASH_SET HAVE_GLOBAL_HASH_SET HAVE_STD_ITERATOR HAVE_BI_ITERATOR HAVE_FWD_ITERATOR ALLOCA MMAP_FILE ENABLE_OPTIMIZED SPEC95_ROOT USE_SPEC95 SPEC2000_ROOT USE_SPEC2000 POVRAY_ROOT USE_POVRAY UPB DISABLE_LLC_DIFFS JIT LLVMCC1 LLVMCC1PLUS BCR PAPIDIR SHLIBEXT LIBOBJS LTLIBOBJS' | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 469 | ac_subst_files='' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 470 |  | 
 | 471 | # Initialize some variables set by options. | 
 | 472 | ac_init_help= | 
 | 473 | ac_init_version=false | 
 | 474 | # The variables have the same names as the options, with | 
 | 475 | # dashes changed to underlines. | 
 | 476 | cache_file=/dev/null | 
 | 477 | exec_prefix=NONE | 
 | 478 | no_create= | 
 | 479 | no_recursion= | 
 | 480 | prefix=NONE | 
 | 481 | program_prefix=NONE | 
 | 482 | program_suffix=NONE | 
 | 483 | program_transform_name=s,x,x, | 
 | 484 | silent= | 
 | 485 | site= | 
 | 486 | srcdir= | 
 | 487 | verbose= | 
 | 488 | x_includes=NONE | 
 | 489 | x_libraries=NONE | 
 | 490 |  | 
 | 491 | # Installation directory options. | 
 | 492 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
 | 493 | # and all the variables that are supposed to be based on exec_prefix | 
 | 494 | # by default will actually change. | 
 | 495 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
 | 496 | bindir='${exec_prefix}/bin' | 
 | 497 | sbindir='${exec_prefix}/sbin' | 
 | 498 | libexecdir='${exec_prefix}/libexec' | 
 | 499 | datadir='${prefix}/share' | 
 | 500 | sysconfdir='${prefix}/etc' | 
 | 501 | sharedstatedir='${prefix}/com' | 
 | 502 | localstatedir='${prefix}/var' | 
 | 503 | libdir='${exec_prefix}/lib' | 
 | 504 | includedir='${prefix}/include' | 
 | 505 | oldincludedir='/usr/include' | 
 | 506 | infodir='${prefix}/info' | 
 | 507 | mandir='${prefix}/man' | 
 | 508 |  | 
 | 509 | ac_prev= | 
 | 510 | for ac_option | 
 | 511 | do | 
 | 512 |   # If the previous option needs an argument, assign it. | 
 | 513 |   if test -n "$ac_prev"; then | 
 | 514 |     eval "$ac_prev=\$ac_option" | 
 | 515 |     ac_prev= | 
 | 516 |     continue | 
 | 517 |   fi | 
 | 518 |  | 
 | 519 |   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 
 | 520 |  | 
 | 521 |   # Accept the important Cygnus configure options, so we can diagnose typos. | 
 | 522 |  | 
 | 523 |   case $ac_option in | 
 | 524 |  | 
 | 525 |   -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
 | 526 |     ac_prev=bindir ;; | 
 | 527 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
 | 528 |     bindir=$ac_optarg ;; | 
 | 529 |  | 
 | 530 |   -build | --build | --buil | --bui | --bu) | 
 | 531 |     ac_prev=build_alias ;; | 
 | 532 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
 | 533 |     build_alias=$ac_optarg ;; | 
 | 534 |  | 
 | 535 |   -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
 | 536 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
 | 537 |     ac_prev=cache_file ;; | 
 | 538 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
 | 539 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
 | 540 |     cache_file=$ac_optarg ;; | 
 | 541 |  | 
 | 542 |   --config-cache | -C) | 
 | 543 |     cache_file=config.cache ;; | 
 | 544 |  | 
 | 545 |   -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 
 | 546 |     ac_prev=datadir ;; | 
 | 547 |   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 
 | 548 |   | --da=*) | 
 | 549 |     datadir=$ac_optarg ;; | 
 | 550 |  | 
 | 551 |   -disable-* | --disable-*) | 
 | 552 |     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
 | 553 |     # Reject names that are not valid shell variable names. | 
 | 554 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 555 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
 | 556 |    { (exit 1); exit 1; }; } | 
 | 557 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
 | 558 |     eval "enable_$ac_feature=no" ;; | 
 | 559 |  | 
 | 560 |   -enable-* | --enable-*) | 
 | 561 |     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
 | 562 |     # Reject names that are not valid shell variable names. | 
 | 563 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 564 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
 | 565 |    { (exit 1); exit 1; }; } | 
 | 566 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
 | 567 |     case $ac_option in | 
 | 568 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
 | 569 |       *) ac_optarg=yes ;; | 
 | 570 |     esac | 
 | 571 |     eval "enable_$ac_feature='$ac_optarg'" ;; | 
 | 572 |  | 
 | 573 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
 | 574 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
 | 575 |   | --exec | --exe | --ex) | 
 | 576 |     ac_prev=exec_prefix ;; | 
 | 577 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
 | 578 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
 | 579 |   | --exec=* | --exe=* | --ex=*) | 
 | 580 |     exec_prefix=$ac_optarg ;; | 
 | 581 |  | 
 | 582 |   -gas | --gas | --ga | --g) | 
 | 583 |     # Obsolete; use --with-gas. | 
 | 584 |     with_gas=yes ;; | 
 | 585 |  | 
 | 586 |   -help | --help | --hel | --he | -h) | 
 | 587 |     ac_init_help=long ;; | 
 | 588 |   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
 | 589 |     ac_init_help=recursive ;; | 
 | 590 |   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
 | 591 |     ac_init_help=short ;; | 
 | 592 |  | 
 | 593 |   -host | --host | --hos | --ho) | 
 | 594 |     ac_prev=host_alias ;; | 
 | 595 |   -host=* | --host=* | --hos=* | --ho=*) | 
 | 596 |     host_alias=$ac_optarg ;; | 
 | 597 |  | 
 | 598 |   -includedir | --includedir | --includedi | --included | --include \ | 
 | 599 |   | --includ | --inclu | --incl | --inc) | 
 | 600 |     ac_prev=includedir ;; | 
 | 601 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
 | 602 |   | --includ=* | --inclu=* | --incl=* | --inc=*) | 
 | 603 |     includedir=$ac_optarg ;; | 
 | 604 |  | 
 | 605 |   -infodir | --infodir | --infodi | --infod | --info | --inf) | 
 | 606 |     ac_prev=infodir ;; | 
 | 607 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
 | 608 |     infodir=$ac_optarg ;; | 
 | 609 |  | 
 | 610 |   -libdir | --libdir | --libdi | --libd) | 
 | 611 |     ac_prev=libdir ;; | 
 | 612 |   -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
 | 613 |     libdir=$ac_optarg ;; | 
 | 614 |  | 
 | 615 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
 | 616 |   | --libexe | --libex | --libe) | 
 | 617 |     ac_prev=libexecdir ;; | 
 | 618 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
 | 619 |   | --libexe=* | --libex=* | --libe=*) | 
 | 620 |     libexecdir=$ac_optarg ;; | 
 | 621 |  | 
 | 622 |   -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
 | 623 |   | --localstate | --localstat | --localsta | --localst \ | 
 | 624 |   | --locals | --local | --loca | --loc | --lo) | 
 | 625 |     ac_prev=localstatedir ;; | 
 | 626 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
 | 627 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 
 | 628 |   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 
 | 629 |     localstatedir=$ac_optarg ;; | 
 | 630 |  | 
 | 631 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
 | 632 |     ac_prev=mandir ;; | 
 | 633 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
 | 634 |     mandir=$ac_optarg ;; | 
 | 635 |  | 
 | 636 |   -nfp | --nfp | --nf) | 
 | 637 |     # Obsolete; use --without-fp. | 
 | 638 |     with_fp=no ;; | 
 | 639 |  | 
 | 640 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
 | 641 |   | --no-cr | --no-c | -n) | 
 | 642 |     no_create=yes ;; | 
 | 643 |  | 
 | 644 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
 | 645 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
 | 646 |     no_recursion=yes ;; | 
 | 647 |  | 
 | 648 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
 | 649 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
 | 650 |   | --oldin | --oldi | --old | --ol | --o) | 
 | 651 |     ac_prev=oldincludedir ;; | 
 | 652 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
 | 653 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
 | 654 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
 | 655 |     oldincludedir=$ac_optarg ;; | 
 | 656 |  | 
 | 657 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
 | 658 |     ac_prev=prefix ;; | 
 | 659 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
 | 660 |     prefix=$ac_optarg ;; | 
 | 661 |  | 
 | 662 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
 | 663 |   | --program-pre | --program-pr | --program-p) | 
 | 664 |     ac_prev=program_prefix ;; | 
 | 665 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
 | 666 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
 | 667 |     program_prefix=$ac_optarg ;; | 
 | 668 |  | 
 | 669 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
 | 670 |   | --program-suf | --program-su | --program-s) | 
 | 671 |     ac_prev=program_suffix ;; | 
 | 672 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
 | 673 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
 | 674 |     program_suffix=$ac_optarg ;; | 
 | 675 |  | 
 | 676 |   -program-transform-name | --program-transform-name \ | 
 | 677 |   | --program-transform-nam | --program-transform-na \ | 
 | 678 |   | --program-transform-n | --program-transform- \ | 
 | 679 |   | --program-transform | --program-transfor \ | 
 | 680 |   | --program-transfo | --program-transf \ | 
 | 681 |   | --program-trans | --program-tran \ | 
 | 682 |   | --progr-tra | --program-tr | --program-t) | 
 | 683 |     ac_prev=program_transform_name ;; | 
 | 684 |   -program-transform-name=* | --program-transform-name=* \ | 
 | 685 |   | --program-transform-nam=* | --program-transform-na=* \ | 
 | 686 |   | --program-transform-n=* | --program-transform-=* \ | 
 | 687 |   | --program-transform=* | --program-transfor=* \ | 
 | 688 |   | --program-transfo=* | --program-transf=* \ | 
 | 689 |   | --program-trans=* | --program-tran=* \ | 
 | 690 |   | --progr-tra=* | --program-tr=* | --program-t=*) | 
 | 691 |     program_transform_name=$ac_optarg ;; | 
 | 692 |  | 
 | 693 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
 | 694 |   | -silent | --silent | --silen | --sile | --sil) | 
 | 695 |     silent=yes ;; | 
 | 696 |  | 
 | 697 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
 | 698 |     ac_prev=sbindir ;; | 
 | 699 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
 | 700 |   | --sbi=* | --sb=*) | 
 | 701 |     sbindir=$ac_optarg ;; | 
 | 702 |  | 
 | 703 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
 | 704 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
 | 705 |   | --sharedst | --shareds | --shared | --share | --shar \ | 
 | 706 |   | --sha | --sh) | 
 | 707 |     ac_prev=sharedstatedir ;; | 
 | 708 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
 | 709 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
 | 710 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
 | 711 |   | --sha=* | --sh=*) | 
 | 712 |     sharedstatedir=$ac_optarg ;; | 
 | 713 |  | 
 | 714 |   -site | --site | --sit) | 
 | 715 |     ac_prev=site ;; | 
 | 716 |   -site=* | --site=* | --sit=*) | 
 | 717 |     site=$ac_optarg ;; | 
 | 718 |  | 
 | 719 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
 | 720 |     ac_prev=srcdir ;; | 
 | 721 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
 | 722 |     srcdir=$ac_optarg ;; | 
 | 723 |  | 
 | 724 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
 | 725 |   | --syscon | --sysco | --sysc | --sys | --sy) | 
 | 726 |     ac_prev=sysconfdir ;; | 
 | 727 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
 | 728 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
 | 729 |     sysconfdir=$ac_optarg ;; | 
 | 730 |  | 
 | 731 |   -target | --target | --targe | --targ | --tar | --ta | --t) | 
 | 732 |     ac_prev=target_alias ;; | 
 | 733 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
 | 734 |     target_alias=$ac_optarg ;; | 
 | 735 |  | 
 | 736 |   -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
 | 737 |     verbose=yes ;; | 
 | 738 |  | 
 | 739 |   -version | --version | --versio | --versi | --vers | -V) | 
 | 740 |     ac_init_version=: ;; | 
 | 741 |  | 
 | 742 |   -with-* | --with-*) | 
 | 743 |     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
 | 744 |     # Reject names that are not valid shell variable names. | 
 | 745 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 746 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
 | 747 |    { (exit 1); exit 1; }; } | 
 | 748 |     ac_package=`echo $ac_package| sed 's/-/_/g'` | 
 | 749 |     case $ac_option in | 
 | 750 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
 | 751 |       *) ac_optarg=yes ;; | 
 | 752 |     esac | 
 | 753 |     eval "with_$ac_package='$ac_optarg'" ;; | 
 | 754 |  | 
 | 755 |   -without-* | --without-*) | 
 | 756 |     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
 | 757 |     # Reject names that are not valid shell variable names. | 
 | 758 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 759 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
 | 760 |    { (exit 1); exit 1; }; } | 
 | 761 |     ac_package=`echo $ac_package | sed 's/-/_/g'` | 
 | 762 |     eval "with_$ac_package=no" ;; | 
 | 763 |  | 
 | 764 |   --x) | 
 | 765 |     # Obsolete; use --with-x. | 
 | 766 |     with_x=yes ;; | 
 | 767 |  | 
 | 768 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
 | 769 |   | --x-incl | --x-inc | --x-in | --x-i) | 
 | 770 |     ac_prev=x_includes ;; | 
 | 771 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
 | 772 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
 | 773 |     x_includes=$ac_optarg ;; | 
 | 774 |  | 
 | 775 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
 | 776 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
 | 777 |     ac_prev=x_libraries ;; | 
 | 778 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
 | 779 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
 | 780 |     x_libraries=$ac_optarg ;; | 
 | 781 |  | 
 | 782 |   -*) { echo "$as_me: error: unrecognized option: $ac_option | 
 | 783 | Try \`$0 --help' for more information." >&2 | 
 | 784 |    { (exit 1); exit 1; }; } | 
 | 785 |     ;; | 
 | 786 |  | 
 | 787 |   *=*) | 
 | 788 |     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
 | 789 |     # Reject names that are not valid shell variable names. | 
 | 790 |     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 
 | 791 |       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 
 | 792 |    { (exit 1); exit 1; }; } | 
 | 793 |     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 
 | 794 |     eval "$ac_envvar='$ac_optarg'" | 
 | 795 |     export $ac_envvar ;; | 
 | 796 |  | 
 | 797 |   *) | 
 | 798 |     # FIXME: should be removed in autoconf 3.0. | 
 | 799 |     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
 | 800 |     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
 | 801 |       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
 | 802 |     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 
 | 803 |     ;; | 
 | 804 |  | 
 | 805 |   esac | 
 | 806 | done | 
 | 807 |  | 
 | 808 | if test -n "$ac_prev"; then | 
 | 809 |   ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
 | 810 |   { echo "$as_me: error: missing argument to $ac_option" >&2 | 
 | 811 |    { (exit 1); exit 1; }; } | 
 | 812 | fi | 
 | 813 |  | 
 | 814 | # Be sure to have absolute paths. | 
 | 815 | for ac_var in exec_prefix prefix | 
 | 816 | do | 
 | 817 |   eval ac_val=$`echo $ac_var` | 
 | 818 |   case $ac_val in | 
 | 819 |     [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 
 | 820 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
 | 821 |    { (exit 1); exit 1; }; };; | 
 | 822 |   esac | 
 | 823 | done | 
 | 824 |  | 
 | 825 | # Be sure to have absolute paths. | 
 | 826 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 
 | 827 |               localstatedir libdir includedir oldincludedir infodir mandir | 
 | 828 | do | 
 | 829 |   eval ac_val=$`echo $ac_var` | 
 | 830 |   case $ac_val in | 
 | 831 |     [\\/$]* | ?:[\\/]* ) ;; | 
 | 832 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
 | 833 |    { (exit 1); exit 1; }; };; | 
 | 834 |   esac | 
 | 835 | done | 
 | 836 |  | 
 | 837 | # There might be people who depend on the old broken behavior: `$host' | 
 | 838 | # used to hold the argument of --host etc. | 
 | 839 | # FIXME: To remove some day. | 
 | 840 | build=$build_alias | 
 | 841 | host=$host_alias | 
 | 842 | target=$target_alias | 
 | 843 |  | 
 | 844 | # FIXME: To remove some day. | 
 | 845 | if test "x$host_alias" != x; then | 
 | 846 |   if test "x$build_alias" = x; then | 
 | 847 |     cross_compiling=maybe | 
 | 848 |     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 
 | 849 |     If a cross compiler is detected then cross compile mode will be used." >&2 | 
 | 850 |   elif test "x$build_alias" != "x$host_alias"; then | 
 | 851 |     cross_compiling=yes | 
 | 852 |   fi | 
 | 853 | fi | 
 | 854 |  | 
 | 855 | ac_tool_prefix= | 
 | 856 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
 | 857 |  | 
 | 858 | test "$silent" = yes && exec 6>/dev/null | 
 | 859 |  | 
 | 860 |  | 
 | 861 | # Find the source files, if location was not specified. | 
 | 862 | if test -z "$srcdir"; then | 
 | 863 |   ac_srcdir_defaulted=yes | 
 | 864 |   # Try the directory containing this script, then its parent. | 
 | 865 |   ac_confdir=`(dirname "$0") 2>/dev/null || | 
 | 866 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 867 |          X"$0" : 'X\(//\)[^/]' \| \ | 
 | 868 |          X"$0" : 'X\(//\)$' \| \ | 
 | 869 |          X"$0" : 'X\(/\)' \| \ | 
 | 870 |          .     : '\(.\)' 2>/dev/null || | 
 | 871 | echo X"$0" | | 
 | 872 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 873 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 874 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 875 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 876 |   	  s/.*/./; q'` | 
 | 877 |   srcdir=$ac_confdir | 
 | 878 |   if test ! -r $srcdir/$ac_unique_file; then | 
 | 879 |     srcdir=.. | 
 | 880 |   fi | 
 | 881 | else | 
 | 882 |   ac_srcdir_defaulted=no | 
 | 883 | fi | 
 | 884 | if test ! -r $srcdir/$ac_unique_file; then | 
 | 885 |   if test "$ac_srcdir_defaulted" = yes; then | 
 | 886 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 
 | 887 |    { (exit 1); exit 1; }; } | 
 | 888 |   else | 
 | 889 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 
 | 890 |    { (exit 1); exit 1; }; } | 
 | 891 |   fi | 
 | 892 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 893 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 
 | 894 |   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 
 | 895 |    { (exit 1); exit 1; }; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 896 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 
 | 897 | ac_env_build_alias_set=${build_alias+set} | 
 | 898 | ac_env_build_alias_value=$build_alias | 
 | 899 | ac_cv_env_build_alias_set=${build_alias+set} | 
 | 900 | ac_cv_env_build_alias_value=$build_alias | 
 | 901 | ac_env_host_alias_set=${host_alias+set} | 
 | 902 | ac_env_host_alias_value=$host_alias | 
 | 903 | ac_cv_env_host_alias_set=${host_alias+set} | 
 | 904 | ac_cv_env_host_alias_value=$host_alias | 
 | 905 | ac_env_target_alias_set=${target_alias+set} | 
 | 906 | ac_env_target_alias_value=$target_alias | 
 | 907 | ac_cv_env_target_alias_set=${target_alias+set} | 
 | 908 | ac_cv_env_target_alias_value=$target_alias | 
 | 909 | ac_env_CXX_set=${CXX+set} | 
 | 910 | ac_env_CXX_value=$CXX | 
 | 911 | ac_cv_env_CXX_set=${CXX+set} | 
 | 912 | ac_cv_env_CXX_value=$CXX | 
 | 913 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | 
 | 914 | ac_env_CXXFLAGS_value=$CXXFLAGS | 
 | 915 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | 
 | 916 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | 
 | 917 | ac_env_LDFLAGS_set=${LDFLAGS+set} | 
 | 918 | ac_env_LDFLAGS_value=$LDFLAGS | 
 | 919 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | 
 | 920 | ac_cv_env_LDFLAGS_value=$LDFLAGS | 
 | 921 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | 
 | 922 | ac_env_CPPFLAGS_value=$CPPFLAGS | 
 | 923 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | 
 | 924 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | 
 | 925 | ac_env_CC_set=${CC+set} | 
 | 926 | ac_env_CC_value=$CC | 
 | 927 | ac_cv_env_CC_set=${CC+set} | 
 | 928 | ac_cv_env_CC_value=$CC | 
 | 929 | ac_env_CFLAGS_set=${CFLAGS+set} | 
 | 930 | ac_env_CFLAGS_value=$CFLAGS | 
 | 931 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | 
 | 932 | ac_cv_env_CFLAGS_value=$CFLAGS | 
 | 933 | ac_env_CPP_set=${CPP+set} | 
 | 934 | ac_env_CPP_value=$CPP | 
 | 935 | ac_cv_env_CPP_set=${CPP+set} | 
 | 936 | ac_cv_env_CPP_value=$CPP | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 937 | ac_env_CXXCPP_set=${CXXCPP+set} | 
 | 938 | ac_env_CXXCPP_value=$CXXCPP | 
 | 939 | ac_cv_env_CXXCPP_set=${CXXCPP+set} | 
 | 940 | ac_cv_env_CXXCPP_value=$CXXCPP | 
 | 941 | ac_env_F77_set=${F77+set} | 
 | 942 | ac_env_F77_value=$F77 | 
 | 943 | ac_cv_env_F77_set=${F77+set} | 
 | 944 | ac_cv_env_F77_value=$F77 | 
 | 945 | ac_env_FFLAGS_set=${FFLAGS+set} | 
 | 946 | ac_env_FFLAGS_value=$FFLAGS | 
 | 947 | ac_cv_env_FFLAGS_set=${FFLAGS+set} | 
 | 948 | ac_cv_env_FFLAGS_value=$FFLAGS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 949 |  | 
 | 950 | # | 
 | 951 | # Report the --help message. | 
 | 952 | # | 
 | 953 | if test "$ac_init_help" = "long"; then | 
 | 954 |   # Omit some internal or obsolete options to make the list less imposing. | 
 | 955 |   # This message is too long to be a string in the A/UX 3.1 sh. | 
 | 956 |   cat <<_ACEOF | 
| Chris Lattner | 95f45c5 | 2004-04-14 16:32:09 +0000 | [diff] [blame] | 957 | \`configure' configures [LLVM] [1.3] to adapt to many kinds of systems. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 958 |  | 
 | 959 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
 | 960 |  | 
 | 961 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
 | 962 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
 | 963 |  | 
 | 964 | Defaults for the options are specified in brackets. | 
 | 965 |  | 
 | 966 | Configuration: | 
 | 967 |   -h, --help              display this help and exit | 
 | 968 |       --help=short        display options specific to this package | 
 | 969 |       --help=recursive    display the short help of all the included packages | 
 | 970 |   -V, --version           display version information and exit | 
 | 971 |   -q, --quiet, --silent   do not print \`checking...' messages | 
 | 972 |       --cache-file=FILE   cache test results in FILE [disabled] | 
 | 973 |   -C, --config-cache      alias for \`--cache-file=config.cache' | 
 | 974 |   -n, --no-create         do not create output files | 
 | 975 |       --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
 | 976 |  | 
 | 977 | _ACEOF | 
 | 978 |  | 
 | 979 |   cat <<_ACEOF | 
 | 980 | Installation directories: | 
 | 981 |   --prefix=PREFIX         install architecture-independent files in PREFIX | 
 | 982 |                           [$ac_default_prefix] | 
 | 983 |   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
 | 984 |                           [PREFIX] | 
 | 985 |  | 
 | 986 | By default, \`make install' will install all the files in | 
 | 987 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
 | 988 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
 | 989 | for instance \`--prefix=\$HOME'. | 
 | 990 |  | 
 | 991 | For better control, use the options below. | 
 | 992 |  | 
 | 993 | Fine tuning of the installation directories: | 
 | 994 |   --bindir=DIR           user executables [EPREFIX/bin] | 
 | 995 |   --sbindir=DIR          system admin executables [EPREFIX/sbin] | 
 | 996 |   --libexecdir=DIR       program executables [EPREFIX/libexec] | 
 | 997 |   --datadir=DIR          read-only architecture-independent data [PREFIX/share] | 
 | 998 |   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] | 
 | 999 |   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] | 
 | 1000 |   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] | 
 | 1001 |   --libdir=DIR           object code libraries [EPREFIX/lib] | 
 | 1002 |   --includedir=DIR       C header files [PREFIX/include] | 
 | 1003 |   --oldincludedir=DIR    C header files for non-gcc [/usr/include] | 
 | 1004 |   --infodir=DIR          info documentation [PREFIX/info] | 
 | 1005 |   --mandir=DIR           man documentation [PREFIX/man] | 
 | 1006 | _ACEOF | 
 | 1007 |  | 
 | 1008 |   cat <<\_ACEOF | 
 | 1009 |  | 
 | 1010 | System types: | 
 | 1011 |   --build=BUILD     configure for building on BUILD [guessed] | 
 | 1012 |   --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
 | 1013 |   --target=TARGET   configure for building compilers for TARGET [HOST] | 
 | 1014 | _ACEOF | 
 | 1015 | fi | 
 | 1016 |  | 
 | 1017 | if test -n "$ac_init_help"; then | 
 | 1018 |   case $ac_init_help in | 
| Chris Lattner | 95f45c5 | 2004-04-14 16:32:09 +0000 | [diff] [blame] | 1019 |      short | recursive ) echo "Configuration of [LLVM] [1.3]:";; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1020 |    esac | 
 | 1021 |   cat <<\_ACEOF | 
 | 1022 |  | 
 | 1023 | Optional Features: | 
 | 1024 |   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
 | 1025 |   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 1026 |   --enable-shared[=PKGS] | 
 | 1027 |                           build shared libraries [default=yes] | 
 | 1028 |   --enable-static[=PKGS] | 
 | 1029 |                           build static libraries [default=yes] | 
 | 1030 |   --enable-fast-install[=PKGS] | 
 | 1031 |                           optimize for fast installation [default=yes] | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1032 |   --disable-libtool-lock  avoid locking (might break parallel builds) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1033 |   --enable-optimized      Compile with optimizations enabled (default is NO) | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 1034 |   --enable-spec95=ARG     Use spec95 as a benchmark (srcs in DIR) | 
 | 1035 |   --enable-spec2000=ARG   Use spec2000 as a benchmark (srcs in DIR) | 
 | 1036 |   --enable-povray=ARG     Use povray as a benchmark (srcs in DIR) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1037 |   --enable-precompiled_bytecode | 
 | 1038 |                           Use pre-compiled bytecode (default is NO) | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 1039 |   --enable-llc_diffs      Enable LLC Diffs when testing (default is YES) | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 1040 |   --enable-jit            Enable Just In Time Compiling (default is YES) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1041 |  | 
 | 1042 | Optional Packages: | 
 | 1043 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
 | 1044 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 1045 |   --with-gnu-ld           assume the C compiler uses GNU ld [default=no] | 
 | 1046 |   --with-pic              try to use only PIC/non-PIC objects [default=use | 
 | 1047 |                           both] | 
 | 1048 |   --with-tags[=TAGS] | 
 | 1049 |                           include additional configurations [automatic] | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1050 |   --with-llvmgccdir       Location of LLVM GCC front-end | 
 | 1051 |   --with-bcrepos          Location of Bytecode Repository | 
 | 1052 |   --with-papi             Location of PAPI | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1053 |  | 
 | 1054 | Some influential environment variables: | 
 | 1055 |   CXX         C++ compiler command | 
 | 1056 |   CXXFLAGS    C++ compiler flags | 
 | 1057 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
 | 1058 |               nonstandard directory <lib dir> | 
 | 1059 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
 | 1060 |               headers in a nonstandard directory <include dir> | 
 | 1061 |   CC          C compiler command | 
 | 1062 |   CFLAGS      C compiler flags | 
 | 1063 |   CPP         C preprocessor | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 1064 |   CXXCPP      C++ preprocessor | 
 | 1065 |   F77         Fortran 77 compiler command | 
 | 1066 |   FFLAGS      Fortran 77 compiler flags | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1067 |  | 
 | 1068 | Use these variables to override the choices made by `configure' or to help | 
 | 1069 | it to find libraries and programs with nonstandard names/locations. | 
 | 1070 |  | 
 | 1071 | Report bugs to <llvmbugs@cs.uiuc.edu>. | 
 | 1072 | _ACEOF | 
 | 1073 | fi | 
 | 1074 |  | 
 | 1075 | if test "$ac_init_help" = "recursive"; then | 
 | 1076 |   # If there are subdirs, report their specific --help. | 
 | 1077 |   ac_popdir=`pwd` | 
 | 1078 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
 | 1079 |     test -d $ac_dir || continue | 
 | 1080 |     ac_builddir=. | 
 | 1081 |  | 
 | 1082 | if test "$ac_dir" != .; then | 
 | 1083 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 1084 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 1085 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 1086 | else | 
 | 1087 |   ac_dir_suffix= ac_top_builddir= | 
 | 1088 | fi | 
 | 1089 |  | 
 | 1090 | case $srcdir in | 
 | 1091 |   .)  # No --srcdir option.  We are building in place. | 
 | 1092 |     ac_srcdir=. | 
 | 1093 |     if test -z "$ac_top_builddir"; then | 
 | 1094 |        ac_top_srcdir=. | 
 | 1095 |     else | 
 | 1096 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 1097 |     fi ;; | 
 | 1098 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 1099 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 1100 |     ac_top_srcdir=$srcdir ;; | 
 | 1101 |   *) # Relative path. | 
 | 1102 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 1103 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 1104 | esac | 
 | 1105 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 1106 | # absolute. | 
 | 1107 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1108 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1109 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 1110 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 1111 |  | 
 | 1112 |     cd $ac_dir | 
 | 1113 |     # Check for guested configure; otherwise get Cygnus style configure. | 
 | 1114 |     if test -f $ac_srcdir/configure.gnu; then | 
 | 1115 |       echo | 
 | 1116 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
 | 1117 |     elif test -f $ac_srcdir/configure; then | 
 | 1118 |       echo | 
 | 1119 |       $SHELL $ac_srcdir/configure  --help=recursive | 
 | 1120 |     elif test -f $ac_srcdir/configure.ac || | 
 | 1121 |            test -f $ac_srcdir/configure.in; then | 
 | 1122 |       echo | 
 | 1123 |       $ac_configure --help | 
 | 1124 |     else | 
 | 1125 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
 | 1126 |     fi | 
 | 1127 |     cd $ac_popdir | 
 | 1128 |   done | 
 | 1129 | fi | 
 | 1130 |  | 
 | 1131 | test -n "$ac_init_help" && exit 0 | 
 | 1132 | if $ac_init_version; then | 
 | 1133 |   cat <<\_ACEOF | 
| Chris Lattner | 95f45c5 | 2004-04-14 16:32:09 +0000 | [diff] [blame] | 1134 | [LLVM] configure [1.3] | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1135 | generated by GNU Autoconf 2.57 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1136 |  | 
 | 1137 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 
 | 1138 | Free Software Foundation, Inc. | 
 | 1139 | This configure script is free software; the Free Software Foundation | 
 | 1140 | gives unlimited permission to copy, distribute and modify it. | 
 | 1141 | _ACEOF | 
 | 1142 |   exit 0 | 
 | 1143 | fi | 
 | 1144 | exec 5>config.log | 
 | 1145 | cat >&5 <<_ACEOF | 
 | 1146 | This file contains any messages produced by compilers while | 
 | 1147 | running configure, to aid debugging if configure makes a mistake. | 
 | 1148 |  | 
| Chris Lattner | 95f45c5 | 2004-04-14 16:32:09 +0000 | [diff] [blame] | 1149 | It was created by [LLVM] $as_me [1.3], which was | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1150 | generated by GNU Autoconf 2.57.  Invocation command line was | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1151 |  | 
 | 1152 |   $ $0 $@ | 
 | 1153 |  | 
 | 1154 | _ACEOF | 
 | 1155 | { | 
 | 1156 | cat <<_ASUNAME | 
 | 1157 | ## --------- ## | 
 | 1158 | ## Platform. ## | 
 | 1159 | ## --------- ## | 
 | 1160 |  | 
 | 1161 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
 | 1162 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
 | 1163 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
 | 1164 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
 | 1165 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
 | 1166 |  | 
 | 1167 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
 | 1168 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
 | 1169 |  | 
 | 1170 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
 | 1171 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
 | 1172 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
 | 1173 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
 | 1174 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
 | 1175 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
 | 1176 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
 | 1177 |  | 
 | 1178 | _ASUNAME | 
 | 1179 |  | 
 | 1180 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1181 | for as_dir in $PATH | 
 | 1182 | do | 
 | 1183 |   IFS=$as_save_IFS | 
 | 1184 |   test -z "$as_dir" && as_dir=. | 
 | 1185 |   echo "PATH: $as_dir" | 
 | 1186 | done | 
 | 1187 |  | 
 | 1188 | } >&5 | 
 | 1189 |  | 
 | 1190 | cat >&5 <<_ACEOF | 
 | 1191 |  | 
 | 1192 |  | 
 | 1193 | ## ----------- ## | 
 | 1194 | ## Core tests. ## | 
 | 1195 | ## ----------- ## | 
 | 1196 |  | 
 | 1197 | _ACEOF | 
 | 1198 |  | 
 | 1199 |  | 
 | 1200 | # Keep a trace of the command line. | 
 | 1201 | # Strip out --no-create and --no-recursion so they do not pile up. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1202 | # Strip out --silent because we don't want to record it for future runs. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1203 | # Also quote any args containing shell meta-characters. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1204 | # Make two passes to allow for proper duplicate-argument suppression. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1205 | ac_configure_args= | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1206 | ac_configure_args0= | 
 | 1207 | ac_configure_args1= | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1208 | ac_sep= | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1209 | ac_must_keep_next=false | 
 | 1210 | for ac_pass in 1 2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1211 | do | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1212 |   for ac_arg | 
 | 1213 |   do | 
 | 1214 |     case $ac_arg in | 
 | 1215 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
 | 1216 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
 | 1217 |     | -silent | --silent | --silen | --sile | --sil) | 
 | 1218 |       continue ;; | 
 | 1219 |     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
 | 1220 |       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
 | 1221 |     esac | 
 | 1222 |     case $ac_pass in | 
 | 1223 |     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
 | 1224 |     2) | 
 | 1225 |       ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
 | 1226 |       if test $ac_must_keep_next = true; then | 
 | 1227 |         ac_must_keep_next=false # Got value, back to normal. | 
 | 1228 |       else | 
 | 1229 |         case $ac_arg in | 
 | 1230 |           *=* | --config-cache | -C | -disable-* | --disable-* \ | 
 | 1231 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
 | 1232 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
 | 1233 |           | -with-* | --with-* | -without-* | --without-* | --x) | 
 | 1234 |             case "$ac_configure_args0 " in | 
 | 1235 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
 | 1236 |             esac | 
 | 1237 |             ;; | 
 | 1238 |           -* ) ac_must_keep_next=true ;; | 
 | 1239 |         esac | 
 | 1240 |       fi | 
 | 1241 |       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
 | 1242 |       # Get rid of the leading space. | 
 | 1243 |       ac_sep=" " | 
 | 1244 |       ;; | 
 | 1245 |     esac | 
 | 1246 |   done | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1247 | done | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1248 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
 | 1249 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1250 |  | 
 | 1251 | # When interrupted or exit'd, cleanup temporary files, and complete | 
 | 1252 | # config.log.  We remove comments because anyway the quotes in there | 
 | 1253 | # would cause problems or look ugly. | 
 | 1254 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
 | 1255 | # such as our DU 5.0 friend, will then `close' the trap. | 
 | 1256 | trap 'exit_status=$? | 
 | 1257 |   # Save into config.log some information that might help in debugging. | 
 | 1258 |   { | 
 | 1259 |     echo | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1260 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1261 |     cat <<\_ASBOX | 
 | 1262 | ## ---------------- ## | 
 | 1263 | ## Cache variables. ## | 
 | 1264 | ## ---------------- ## | 
 | 1265 | _ASBOX | 
 | 1266 |     echo | 
 | 1267 |     # The following way of writing the cache mishandles newlines in values, | 
 | 1268 | { | 
 | 1269 |   (set) 2>&1 | | 
 | 1270 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
 | 1271 |     *ac_space=\ *) | 
 | 1272 |       sed -n \ | 
 | 1273 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
 | 1274 |     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
 | 1275 |       ;; | 
 | 1276 |     *) | 
 | 1277 |       sed -n \ | 
 | 1278 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
 | 1279 |       ;; | 
 | 1280 |     esac; | 
 | 1281 | } | 
 | 1282 |     echo | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1283 |  | 
 | 1284 |     cat <<\_ASBOX | 
 | 1285 | ## ----------------- ## | 
 | 1286 | ## Output variables. ## | 
 | 1287 | ## ----------------- ## | 
 | 1288 | _ASBOX | 
 | 1289 |     echo | 
 | 1290 |     for ac_var in $ac_subst_vars | 
 | 1291 |     do | 
 | 1292 |       eval ac_val=$`echo $ac_var` | 
 | 1293 |       echo "$ac_var='"'"'$ac_val'"'"'" | 
 | 1294 |     done | sort | 
 | 1295 |     echo | 
 | 1296 |  | 
 | 1297 |     if test -n "$ac_subst_files"; then | 
 | 1298 |       cat <<\_ASBOX | 
 | 1299 | ## ------------- ## | 
 | 1300 | ## Output files. ## | 
 | 1301 | ## ------------- ## | 
 | 1302 | _ASBOX | 
 | 1303 |       echo | 
 | 1304 |       for ac_var in $ac_subst_files | 
 | 1305 |       do | 
 | 1306 | 	eval ac_val=$`echo $ac_var` | 
 | 1307 |         echo "$ac_var='"'"'$ac_val'"'"'" | 
 | 1308 |       done | sort | 
 | 1309 |       echo | 
 | 1310 |     fi | 
 | 1311 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1312 |     if test -s confdefs.h; then | 
 | 1313 |       cat <<\_ASBOX | 
 | 1314 | ## ----------- ## | 
 | 1315 | ## confdefs.h. ## | 
 | 1316 | ## ----------- ## | 
 | 1317 | _ASBOX | 
 | 1318 |       echo | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1319 |       sed "/^$/d" confdefs.h | sort | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1320 |       echo | 
 | 1321 |     fi | 
 | 1322 |     test "$ac_signal" != 0 && | 
 | 1323 |       echo "$as_me: caught signal $ac_signal" | 
 | 1324 |     echo "$as_me: exit $exit_status" | 
 | 1325 |   } >&5 | 
 | 1326 |   rm -f core core.* *.core && | 
 | 1327 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
 | 1328 |     exit $exit_status | 
 | 1329 |      ' 0 | 
 | 1330 | for ac_signal in 1 2 13 15; do | 
 | 1331 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
 | 1332 | done | 
 | 1333 | ac_signal=0 | 
 | 1334 |  | 
 | 1335 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
 | 1336 | rm -rf conftest* confdefs.h | 
 | 1337 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
 | 1338 | echo >confdefs.h | 
 | 1339 |  | 
 | 1340 | # Predefined preprocessor variables. | 
 | 1341 |  | 
 | 1342 | cat >>confdefs.h <<_ACEOF | 
 | 1343 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
 | 1344 | _ACEOF | 
 | 1345 |  | 
 | 1346 |  | 
 | 1347 | cat >>confdefs.h <<_ACEOF | 
 | 1348 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
 | 1349 | _ACEOF | 
 | 1350 |  | 
 | 1351 |  | 
 | 1352 | cat >>confdefs.h <<_ACEOF | 
 | 1353 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
 | 1354 | _ACEOF | 
 | 1355 |  | 
 | 1356 |  | 
 | 1357 | cat >>confdefs.h <<_ACEOF | 
 | 1358 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
 | 1359 | _ACEOF | 
 | 1360 |  | 
 | 1361 |  | 
 | 1362 | cat >>confdefs.h <<_ACEOF | 
 | 1363 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
 | 1364 | _ACEOF | 
 | 1365 |  | 
 | 1366 |  | 
 | 1367 | # Let the site file select an alternate cache file if it wants to. | 
 | 1368 | # Prefer explicitly selected file to automatically selected ones. | 
 | 1369 | if test -z "$CONFIG_SITE"; then | 
 | 1370 |   if test "x$prefix" != xNONE; then | 
 | 1371 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
 | 1372 |   else | 
 | 1373 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
 | 1374 |   fi | 
 | 1375 | fi | 
 | 1376 | for ac_site_file in $CONFIG_SITE; do | 
 | 1377 |   if test -r "$ac_site_file"; then | 
 | 1378 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
 | 1379 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
 | 1380 |     sed 's/^/| /' "$ac_site_file" >&5 | 
 | 1381 |     . "$ac_site_file" | 
 | 1382 |   fi | 
 | 1383 | done | 
 | 1384 |  | 
 | 1385 | if test -r "$cache_file"; then | 
 | 1386 |   # Some versions of bash will fail to source /dev/null (special | 
 | 1387 |   # files actually), so we avoid doing that. | 
 | 1388 |   if test -f "$cache_file"; then | 
 | 1389 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
 | 1390 | echo "$as_me: loading cache $cache_file" >&6;} | 
 | 1391 |     case $cache_file in | 
 | 1392 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
 | 1393 |       *)                      . ./$cache_file;; | 
 | 1394 |     esac | 
 | 1395 |   fi | 
 | 1396 | else | 
 | 1397 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
 | 1398 | echo "$as_me: creating cache $cache_file" >&6;} | 
 | 1399 |   >$cache_file | 
 | 1400 | fi | 
 | 1401 |  | 
 | 1402 | # Check that the precious variables saved in the cache have kept the same | 
 | 1403 | # value. | 
 | 1404 | ac_cache_corrupted=false | 
 | 1405 | for ac_var in `(set) 2>&1 | | 
 | 1406 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
 | 1407 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
 | 1408 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
 | 1409 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
 | 1410 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
 | 1411 |   case $ac_old_set,$ac_new_set in | 
 | 1412 |     set,) | 
 | 1413 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
 | 1414 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
 | 1415 |       ac_cache_corrupted=: ;; | 
 | 1416 |     ,set) | 
 | 1417 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
 | 1418 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
 | 1419 |       ac_cache_corrupted=: ;; | 
 | 1420 |     ,);; | 
 | 1421 |     *) | 
 | 1422 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
 | 1423 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
 | 1424 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
 | 1425 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
 | 1426 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
 | 1427 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
 | 1428 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
 | 1429 |         ac_cache_corrupted=: | 
 | 1430 |       fi;; | 
 | 1431 |   esac | 
 | 1432 |   # Pass precious variables to config.status. | 
 | 1433 |   if test "$ac_new_set" = set; then | 
 | 1434 |     case $ac_new_val in | 
 | 1435 |     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
 | 1436 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
 | 1437 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
 | 1438 |     esac | 
 | 1439 |     case " $ac_configure_args " in | 
 | 1440 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
 | 1441 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
 | 1442 |     esac | 
 | 1443 |   fi | 
 | 1444 | done | 
 | 1445 | if $ac_cache_corrupted; then | 
 | 1446 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
 | 1447 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
 | 1448 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
 | 1449 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
 | 1450 |    { (exit 1); exit 1; }; } | 
 | 1451 | fi | 
 | 1452 |  | 
 | 1453 | ac_ext=c | 
 | 1454 | ac_cpp='$CPP $CPPFLAGS' | 
 | 1455 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 1456 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 1457 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 1458 |  | 
 | 1459 |  | 
 | 1460 |  | 
 | 1461 |  | 
 | 1462 |  | 
 | 1463 |  | 
 | 1464 |  | 
 | 1465 |  | 
 | 1466 |  | 
 | 1467 |  | 
 | 1468 |  | 
 | 1469 |  | 
 | 1470 |  | 
 | 1471 |  | 
 | 1472 |  | 
 | 1473 |  | 
 | 1474 |  | 
 | 1475 |  | 
 | 1476 |  | 
 | 1477 |  | 
 | 1478 |  | 
 | 1479 |  | 
 | 1480 |  | 
 | 1481 |  | 
 | 1482 |  | 
 | 1483 |  | 
 | 1484 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1485 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1486 | ac_aux_dir= | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1487 | for ac_dir in autoconf $srcdir/autoconf; do | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1488 |   if test -f $ac_dir/install-sh; then | 
 | 1489 |     ac_aux_dir=$ac_dir | 
 | 1490 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
 | 1491 |     break | 
 | 1492 |   elif test -f $ac_dir/install.sh; then | 
 | 1493 |     ac_aux_dir=$ac_dir | 
 | 1494 |     ac_install_sh="$ac_aux_dir/install.sh -c" | 
 | 1495 |     break | 
 | 1496 |   elif test -f $ac_dir/shtool; then | 
 | 1497 |     ac_aux_dir=$ac_dir | 
 | 1498 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
 | 1499 |     break | 
 | 1500 |   fi | 
 | 1501 | done | 
 | 1502 | if test -z "$ac_aux_dir"; then | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1503 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5 | 
 | 1504 | echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1505 |    { (exit 1); exit 1; }; } | 
 | 1506 | fi | 
 | 1507 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
 | 1508 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
 | 1509 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
 | 1510 |  | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1511 |  | 
| John Criswell | 1b82432 | 2003-09-15 17:19:42 +0000 | [diff] [blame] | 1512 | if test ${srcdir} != "." | 
| John Criswell | 93e1c72 | 2003-09-15 17:04:06 +0000 | [diff] [blame] | 1513 | then | 
| John Criswell | 1b82432 | 2003-09-15 17:19:42 +0000 | [diff] [blame] | 1514 | 	if test -f ${srcdir}/include/Config/config.h | 
 | 1515 | 	then | 
 | 1516 | 		{ { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5 | 
| John Criswell | 93e1c72 | 2003-09-15 17:04:06 +0000 | [diff] [blame] | 1517 | echo "$as_me: error: Already configured in ${srcdir}" >&2;} | 
 | 1518 |    { (exit 1); exit 1; }; } | 
| John Criswell | 1b82432 | 2003-09-15 17:19:42 +0000 | [diff] [blame] | 1519 | 	fi | 
| John Criswell | 93e1c72 | 2003-09-15 17:04:06 +0000 | [diff] [blame] | 1520 | fi | 
 | 1521 |  | 
| John Criswell | 33a911a | 2003-11-25 20:36:46 +0000 | [diff] [blame] | 1522 | for i in `ls ${srcdir}/projects` | 
 | 1523 | do | 
 | 1524 |   if test ${i} != "CVS" | 
 | 1525 |   then | 
| John Criswell | 2f2741b | 2003-12-12 20:15:23 +0000 | [diff] [blame] | 1526 |     if test -f ${srcdir}/projects/${i}/configure | 
| John Criswell | 33a911a | 2003-11-25 20:36:46 +0000 | [diff] [blame] | 1527 |     then | 
| John Criswell | 7ec78aa | 2003-10-16 01:49:00 +0000 | [diff] [blame] | 1528 |  | 
 | 1529 |  | 
| John Criswell | 33a911a | 2003-11-25 20:36:46 +0000 | [diff] [blame] | 1530 | subdirs="$subdirs projects/${i}" | 
| John Criswell | 7ec78aa | 2003-10-16 01:49:00 +0000 | [diff] [blame] | 1531 |  | 
| John Criswell | 33a911a | 2003-11-25 20:36:46 +0000 | [diff] [blame] | 1532 |     fi | 
 | 1533 |   fi | 
 | 1534 | done | 
| John Criswell | 559a6c1 | 2003-09-30 16:31:48 +0000 | [diff] [blame] | 1535 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1536 |           ac_config_headers="$ac_config_headers include/Config/config.h" | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1537 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1538 |           ac_config_commands="$ac_config_commands Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1539 |  | 
 | 1540 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1541 |           ac_config_commands="$ac_config_commands Makefile.common" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1542 |  | 
 | 1543 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1544 |           ac_config_commands="$ac_config_commands lib/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1545 |  | 
 | 1546 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1547 |           ac_config_commands="$ac_config_commands runtime/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1548 |  | 
 | 1549 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1550 |           ac_config_commands="$ac_config_commands test/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1551 |  | 
 | 1552 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1553 |           ac_config_commands="$ac_config_commands test/Makefile.tests" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1554 |  | 
 | 1555 |  | 
| John Criswell | f424d74 | 2003-10-07 21:13:47 +0000 | [diff] [blame] | 1556 |           ac_config_commands="$ac_config_commands test/QMTest/llvm.py" | 
 | 1557 |  | 
 | 1558 |  | 
 | 1559 |           ac_config_commands="$ac_config_commands test/QMTest/llvmdb.py" | 
| John Criswell | 08acb9b | 2003-09-16 02:12:45 +0000 | [diff] [blame] | 1560 |  | 
 | 1561 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1562 |           ac_config_commands="$ac_config_commands test/Programs/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1563 |  | 
 | 1564 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1565 |           ac_config_commands="$ac_config_commands test/Programs/Makefile.programs" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1566 |  | 
 | 1567 |  | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 1568 |           ac_config_commands="$ac_config_commands test/Programs/Makefile.tests" | 
 | 1569 |  | 
 | 1570 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1571 |           ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1572 |  | 
 | 1573 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1574 |           ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1575 |  | 
 | 1576 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1577 |           ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1578 |  | 
 | 1579 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1580 |           ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1581 |  | 
 | 1582 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1583 |           ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1584 |  | 
 | 1585 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1586 |           ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1587 |  | 
 | 1588 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1589 |           ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1590 |  | 
 | 1591 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1592 |           ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1593 |  | 
 | 1594 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1595 |           ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1596 |  | 
 | 1597 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1598 |           ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1599 |  | 
 | 1600 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1601 |           ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1602 |  | 
 | 1603 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1604 |           ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1605 |  | 
 | 1606 |  | 
| John Criswell | 878be7d | 2004-02-24 21:43:38 +0000 | [diff] [blame] | 1607 |           ac_config_commands="$ac_config_commands test/Programs/TEST.vtl.Makefile" | 
 | 1608 |  | 
 | 1609 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1610 |           ac_config_commands="$ac_config_commands test/Programs/External/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1611 |  | 
 | 1612 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1613 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1614 |  | 
 | 1615 |  | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 1616 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec" | 
 | 1617 |  | 
 | 1618 |  | 
| Alkis Evlogimenos | 271143f | 2004-02-26 04:14:10 +0000 | [diff] [blame] | 1619 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec2000" | 
 | 1620 |  | 
 | 1621 |  | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 1622 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec95" | 
 | 1623 |  | 
 | 1624 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1625 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1626 |  | 
 | 1627 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1628 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1629 |  | 
 | 1630 |  | 
| Misha Brukman | 811ce9f | 2003-11-12 22:16:51 +0000 | [diff] [blame] | 1631 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" | 
 | 1632 |  | 
 | 1633 |  | 
 | 1634 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" | 
 | 1635 |  | 
 | 1636 |  | 
 | 1637 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" | 
 | 1638 |  | 
 | 1639 |  | 
 | 1640 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" | 
 | 1641 |  | 
 | 1642 |  | 
 | 1643 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" | 
 | 1644 |  | 
 | 1645 |  | 
 | 1646 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" | 
 | 1647 |  | 
 | 1648 |  | 
 | 1649 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" | 
 | 1650 |  | 
 | 1651 |  | 
 | 1652 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" | 
 | 1653 |  | 
 | 1654 |  | 
 | 1655 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" | 
 | 1656 |  | 
 | 1657 |  | 
 | 1658 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" | 
 | 1659 |  | 
 | 1660 |  | 
 | 1661 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" | 
 | 1662 |  | 
 | 1663 |  | 
 | 1664 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" | 
 | 1665 |  | 
 | 1666 |  | 
 | 1667 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" | 
 | 1668 |  | 
 | 1669 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1670 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1671 |  | 
 | 1672 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1673 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1674 |  | 
 | 1675 |  | 
| Alkis Evlogimenos | 271143f | 2004-02-26 04:14:10 +0000 | [diff] [blame] | 1676 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" | 
 | 1677 |  | 
 | 1678 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1679 |           ac_config_commands="$ac_config_commands tools/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1680 |  | 
 | 1681 |  | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 1682 |           ac_config_commands="$ac_config_commands utils/Makefile" | 
 | 1683 |  | 
 | 1684 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1685 |           ac_config_commands="$ac_config_commands projects/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1686 |  | 
 | 1687 |  | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1688 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1689 | # Find a good install program.  We prefer a C program (faster), | 
 | 1690 | # so one script is as good as another.  But avoid the broken or | 
 | 1691 | # incompatible versions: | 
 | 1692 | # SysV /etc/install, /usr/sbin/install | 
 | 1693 | # SunOS /usr/etc/install | 
 | 1694 | # IRIX /sbin/install | 
 | 1695 | # AIX /bin/install | 
 | 1696 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
 | 1697 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
 | 1698 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
 | 1699 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
 | 1700 | # ./install, which can be erroneously created by make from ./install.sh. | 
 | 1701 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
 | 1702 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
 | 1703 | if test -z "$INSTALL"; then | 
 | 1704 | if test "${ac_cv_path_install+set}" = set; then | 
 | 1705 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1706 | else | 
 | 1707 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1708 | for as_dir in $PATH | 
 | 1709 | do | 
 | 1710 |   IFS=$as_save_IFS | 
 | 1711 |   test -z "$as_dir" && as_dir=. | 
 | 1712 |   # Account for people who put trailing slashes in PATH elements. | 
 | 1713 | case $as_dir/ in | 
 | 1714 |   ./ | .// | /cC/* | \ | 
 | 1715 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
 | 1716 |   /usr/ucb/* ) ;; | 
 | 1717 |   *) | 
 | 1718 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
 | 1719 |     # Don't use installbsd from OSF since it installs stuff as root | 
 | 1720 |     # by default. | 
 | 1721 |     for ac_prog in ginstall scoinst install; do | 
 | 1722 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 1723 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
 | 1724 |           if test $ac_prog = install && | 
 | 1725 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
 | 1726 |             # AIX install.  It has an incompatible calling convention. | 
 | 1727 |             : | 
 | 1728 |           elif test $ac_prog = install && | 
 | 1729 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
 | 1730 |             # program-specific install script used by HP pwplus--don't use. | 
 | 1731 |             : | 
 | 1732 |           else | 
 | 1733 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
 | 1734 |             break 3 | 
 | 1735 |           fi | 
 | 1736 |         fi | 
 | 1737 |       done | 
 | 1738 |     done | 
 | 1739 |     ;; | 
 | 1740 | esac | 
 | 1741 | done | 
 | 1742 |  | 
 | 1743 |  | 
 | 1744 | fi | 
 | 1745 |   if test "${ac_cv_path_install+set}" = set; then | 
 | 1746 |     INSTALL=$ac_cv_path_install | 
 | 1747 |   else | 
 | 1748 |     # As a last resort, use the slow shell script.  We don't cache a | 
 | 1749 |     # path for INSTALL within a source directory, because that will | 
 | 1750 |     # break other packages using the cache if that directory is | 
 | 1751 |     # removed, or if the path is relative. | 
 | 1752 |     INSTALL=$ac_install_sh | 
 | 1753 |   fi | 
 | 1754 | fi | 
 | 1755 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
 | 1756 | echo "${ECHO_T}$INSTALL" >&6 | 
 | 1757 |  | 
 | 1758 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
 | 1759 | # It thinks the first close brace ends the variable substitution. | 
 | 1760 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
 | 1761 |  | 
 | 1762 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
 | 1763 |  | 
 | 1764 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
 | 1765 |  | 
 | 1766 |  | 
 | 1767 | # Make sure we can run config.sub. | 
 | 1768 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
 | 1769 |   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
 | 1770 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
 | 1771 |    { (exit 1); exit 1; }; } | 
 | 1772 |  | 
 | 1773 | echo "$as_me:$LINENO: checking build system type" >&5 | 
 | 1774 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
 | 1775 | if test "${ac_cv_build+set}" = set; then | 
 | 1776 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1777 | else | 
 | 1778 |   ac_cv_build_alias=$build_alias | 
 | 1779 | test -z "$ac_cv_build_alias" && | 
 | 1780 |   ac_cv_build_alias=`$ac_config_guess` | 
 | 1781 | test -z "$ac_cv_build_alias" && | 
 | 1782 |   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
 | 1783 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
 | 1784 |    { (exit 1); exit 1; }; } | 
 | 1785 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
 | 1786 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
 | 1787 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
 | 1788 |    { (exit 1); exit 1; }; } | 
 | 1789 |  | 
 | 1790 | fi | 
 | 1791 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
 | 1792 | echo "${ECHO_T}$ac_cv_build" >&6 | 
 | 1793 | build=$ac_cv_build | 
 | 1794 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 1795 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 1796 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 1797 |  | 
 | 1798 |  | 
 | 1799 | echo "$as_me:$LINENO: checking host system type" >&5 | 
 | 1800 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
 | 1801 | if test "${ac_cv_host+set}" = set; then | 
 | 1802 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1803 | else | 
 | 1804 |   ac_cv_host_alias=$host_alias | 
 | 1805 | test -z "$ac_cv_host_alias" && | 
 | 1806 |   ac_cv_host_alias=$ac_cv_build_alias | 
 | 1807 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
 | 1808 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
 | 1809 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
 | 1810 |    { (exit 1); exit 1; }; } | 
 | 1811 |  | 
 | 1812 | fi | 
 | 1813 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
 | 1814 | echo "${ECHO_T}$ac_cv_host" >&6 | 
 | 1815 | host=$ac_cv_host | 
 | 1816 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 1817 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 1818 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 1819 |  | 
 | 1820 |  | 
 | 1821 | echo "$as_me:$LINENO: checking target system type" >&5 | 
 | 1822 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
 | 1823 | if test "${ac_cv_target+set}" = set; then | 
 | 1824 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1825 | else | 
 | 1826 |   ac_cv_target_alias=$target_alias | 
 | 1827 | test "x$ac_cv_target_alias" = "x" && | 
 | 1828 |   ac_cv_target_alias=$ac_cv_host_alias | 
 | 1829 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
 | 1830 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
 | 1831 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
 | 1832 |    { (exit 1); exit 1; }; } | 
 | 1833 |  | 
 | 1834 | fi | 
 | 1835 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
 | 1836 | echo "${ECHO_T}$ac_cv_target" >&6 | 
 | 1837 | target=$ac_cv_target | 
 | 1838 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 1839 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 1840 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 1841 |  | 
 | 1842 |  | 
 | 1843 | # The aliases save the names the user supplied, while $host etc. | 
 | 1844 | # will get canonicalized. | 
 | 1845 | test -n "$target_alias" && | 
 | 1846 |   test "$program_prefix$program_suffix$program_transform_name" = \ | 
 | 1847 |     NONENONEs,x,x, && | 
 | 1848 |   program_prefix=${target_alias}- | 
 | 1849 |  | 
 | 1850 | case $build in | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 1851 | 	*-*-linux*) | 
 | 1852 |              OS=Linux | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1853 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 1854 | 			 if test -d /home/vadve/lattner/local/x86/llvm-gcc | 
 | 1855 | 			 then | 
 | 1856 | 			   LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1857 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 1858 | 			 fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1859 | 	         ;; | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 1860 | 	*-*-solaris*) | 
 | 1861 |              OS=SunOS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1862 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 1863 | 			 if test -d /home/vadve/lattner/local/sparc/llvm-gcc | 
 | 1864 | 			 then | 
 | 1865 | 	           LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1866 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 1867 | 			 fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1868 | 	         ;; | 
| John Criswell | d662156 | 2004-06-07 14:26:24 +0000 | [diff] [blame] | 1869 | 	*-*-cygwin*) | 
 | 1870 |              OS=Cygwin | 
 | 1871 |  | 
 | 1872 | 	         ;; | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 1873 | 	*-*-darwin*) | 
 | 1874 |              OS=Darwin | 
 | 1875 |  | 
 | 1876 | 	         ;; | 
| Misha Brukman | db84a09 | 2004-06-22 15:35:32 +0000 | [diff] [blame] | 1877 | 	*-*-aix*) | 
 | 1878 |              OS=AIX | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 1879 |  | 
| Misha Brukman | db84a09 | 2004-06-22 15:35:32 +0000 | [diff] [blame] | 1880 | 	         ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1881 | 	*)       OS=Unknown | 
 | 1882 |  | 
 | 1883 | 	         ;; | 
 | 1884 | esac | 
 | 1885 |  | 
 | 1886 | case $target in | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 1887 | 	sparc*-*-solaris*)  target=sparcv9-sun-solaris2.8 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1888 |  | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 1889 | 	                    ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1890 | esac | 
 | 1891 |  | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 1892 | case $target in | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 1893 | 	i*86-*)           ARCH=x86 | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 1894 |  | 
 | 1895 | 	                  ;; | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 1896 | 	sparc*-*)         ARCH=Sparc | 
 | 1897 |  | 
 | 1898 | 	                  ;; | 
 | 1899 | 	powerpc*-*)       ARCH=PowerPC | 
 | 1900 |  | 
 | 1901 | 	                  ;; | 
 | 1902 | 	*)                ARCH=Unknown | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 1903 |  | 
 | 1904 | 	                  ;; | 
 | 1905 | esac | 
 | 1906 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1907 | ac_ext=cc | 
 | 1908 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 1909 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 1910 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 1911 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 1912 | if test -n "$ac_tool_prefix"; then | 
 | 1913 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
 | 1914 |   do | 
 | 1915 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
 | 1916 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
 | 1917 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 1918 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 1919 | if test "${ac_cv_prog_CXX+set}" = set; then | 
 | 1920 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1921 | else | 
 | 1922 |   if test -n "$CXX"; then | 
 | 1923 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
 | 1924 | else | 
 | 1925 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1926 | for as_dir in $PATH | 
 | 1927 | do | 
 | 1928 |   IFS=$as_save_IFS | 
 | 1929 |   test -z "$as_dir" && as_dir=. | 
 | 1930 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 1931 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 1932 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
 | 1933 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 1934 |     break 2 | 
 | 1935 |   fi | 
 | 1936 | done | 
 | 1937 | done | 
 | 1938 |  | 
 | 1939 | fi | 
 | 1940 | fi | 
 | 1941 | CXX=$ac_cv_prog_CXX | 
 | 1942 | if test -n "$CXX"; then | 
 | 1943 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
 | 1944 | echo "${ECHO_T}$CXX" >&6 | 
 | 1945 | else | 
 | 1946 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 1947 | echo "${ECHO_T}no" >&6 | 
 | 1948 | fi | 
 | 1949 |  | 
 | 1950 |     test -n "$CXX" && break | 
 | 1951 |   done | 
 | 1952 | fi | 
 | 1953 | if test -z "$CXX"; then | 
 | 1954 |   ac_ct_CXX=$CXX | 
 | 1955 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
 | 1956 | do | 
 | 1957 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 1958 | set dummy $ac_prog; ac_word=$2 | 
 | 1959 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 1960 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 1961 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
 | 1962 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1963 | else | 
 | 1964 |   if test -n "$ac_ct_CXX"; then | 
 | 1965 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
 | 1966 | else | 
 | 1967 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1968 | for as_dir in $PATH | 
 | 1969 | do | 
 | 1970 |   IFS=$as_save_IFS | 
 | 1971 |   test -z "$as_dir" && as_dir=. | 
 | 1972 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 1973 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 1974 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
 | 1975 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 1976 |     break 2 | 
 | 1977 |   fi | 
 | 1978 | done | 
 | 1979 | done | 
 | 1980 |  | 
 | 1981 | fi | 
 | 1982 | fi | 
 | 1983 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
 | 1984 | if test -n "$ac_ct_CXX"; then | 
 | 1985 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
 | 1986 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
 | 1987 | else | 
 | 1988 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 1989 | echo "${ECHO_T}no" >&6 | 
 | 1990 | fi | 
 | 1991 |  | 
 | 1992 |   test -n "$ac_ct_CXX" && break | 
 | 1993 | done | 
 | 1994 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
 | 1995 |  | 
 | 1996 |   CXX=$ac_ct_CXX | 
 | 1997 | fi | 
 | 1998 |  | 
 | 1999 |  | 
 | 2000 | # Provide some information about the compiler. | 
 | 2001 | echo "$as_me:$LINENO:" \ | 
 | 2002 |      "checking for C++ compiler version" >&5 | 
 | 2003 | ac_compiler=`set X $ac_compile; echo $2` | 
 | 2004 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
 | 2005 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
 | 2006 |   ac_status=$? | 
 | 2007 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2008 |   (exit $ac_status); } | 
 | 2009 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
 | 2010 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
 | 2011 |   ac_status=$? | 
 | 2012 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2013 |   (exit $ac_status); } | 
 | 2014 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
 | 2015 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
 | 2016 |   ac_status=$? | 
 | 2017 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2018 |   (exit $ac_status); } | 
 | 2019 |  | 
 | 2020 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2021 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2022 | /* confdefs.h.  */ | 
 | 2023 | _ACEOF | 
 | 2024 | cat confdefs.h >>conftest.$ac_ext | 
 | 2025 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2026 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2027 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2028 | int | 
 | 2029 | main () | 
 | 2030 | { | 
 | 2031 |  | 
 | 2032 |   ; | 
 | 2033 |   return 0; | 
 | 2034 | } | 
 | 2035 | _ACEOF | 
 | 2036 | ac_clean_files_save=$ac_clean_files | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2037 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2038 | # Try to create an executable without -o first, disregard a.out. | 
 | 2039 | # It will help us diagnose broken compilers, and finding out an intuition | 
 | 2040 | # of exeext. | 
 | 2041 | echo "$as_me:$LINENO: checking for C++ compiler default output" >&5 | 
 | 2042 | echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 | 
 | 2043 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
 | 2044 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
 | 2045 |   (eval $ac_link_default) 2>&5 | 
 | 2046 |   ac_status=$? | 
 | 2047 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2048 |   (exit $ac_status); }; then | 
 | 2049 |   # Find the output, starting from the most likely.  This scheme is | 
 | 2050 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
 | 2051 | # resort. | 
 | 2052 |  | 
 | 2053 | # Be careful to initialize this variable, since it used to be cached. | 
 | 2054 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
 | 2055 | ac_cv_exeext= | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2056 | # b.out is created by i960 compilers. | 
 | 2057 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
 | 2058 | do | 
 | 2059 |   test -f "$ac_file" || continue | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2060 |   case $ac_file in | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2061 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
 | 2062 |         ;; | 
 | 2063 |     conftest.$ac_ext ) | 
 | 2064 |         # This is the source file. | 
 | 2065 |         ;; | 
 | 2066 |     [ab].out ) | 
 | 2067 |         # We found the default executable, but exeext='' is most | 
 | 2068 |         # certainly right. | 
 | 2069 |         break;; | 
 | 2070 |     *.* ) | 
 | 2071 |         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
 | 2072 |         # FIXME: I believe we export ac_cv_exeext for Libtool, | 
 | 2073 |         # but it would be cool to find out if it's true.  Does anybody | 
 | 2074 |         # maintain Libtool? --akim. | 
 | 2075 |         export ac_cv_exeext | 
 | 2076 |         break;; | 
 | 2077 |     * ) | 
 | 2078 |         break;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2079 |   esac | 
 | 2080 | done | 
 | 2081 | else | 
 | 2082 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2083 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2084 |  | 
 | 2085 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
 | 2086 | See \`config.log' for more details." >&5 | 
 | 2087 | echo "$as_me: error: C++ compiler cannot create executables | 
 | 2088 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2089 |    { (exit 77); exit 77; }; } | 
 | 2090 | fi | 
 | 2091 |  | 
 | 2092 | ac_exeext=$ac_cv_exeext | 
 | 2093 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
 | 2094 | echo "${ECHO_T}$ac_file" >&6 | 
 | 2095 |  | 
 | 2096 | # Check the compiler produces executables we can run.  If not, either | 
 | 2097 | # the compiler is broken, or we cross compile. | 
 | 2098 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
 | 2099 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
 | 2100 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
 | 2101 | # If not cross compiling, check that we can run a simple program. | 
 | 2102 | if test "$cross_compiling" != yes; then | 
 | 2103 |   if { ac_try='./$ac_file' | 
 | 2104 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2105 |   (eval $ac_try) 2>&5 | 
 | 2106 |   ac_status=$? | 
 | 2107 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2108 |   (exit $ac_status); }; }; then | 
 | 2109 |     cross_compiling=no | 
 | 2110 |   else | 
 | 2111 |     if test "$cross_compiling" = maybe; then | 
 | 2112 | 	cross_compiling=yes | 
 | 2113 |     else | 
 | 2114 | 	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2115 | If you meant to cross compile, use \`--host'. | 
 | 2116 | See \`config.log' for more details." >&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2117 | echo "$as_me: error: cannot run C++ compiled programs. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2118 | If you meant to cross compile, use \`--host'. | 
 | 2119 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2120 |    { (exit 1); exit 1; }; } | 
 | 2121 |     fi | 
 | 2122 |   fi | 
 | 2123 | fi | 
 | 2124 | echo "$as_me:$LINENO: result: yes" >&5 | 
 | 2125 | echo "${ECHO_T}yes" >&6 | 
 | 2126 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2127 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2128 | ac_clean_files=$ac_clean_files_save | 
 | 2129 | # Check the compiler produces executables we can run.  If not, either | 
 | 2130 | # the compiler is broken, or we cross compile. | 
 | 2131 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
 | 2132 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
 | 2133 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
 | 2134 | echo "${ECHO_T}$cross_compiling" >&6 | 
 | 2135 |  | 
 | 2136 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
 | 2137 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
 | 2138 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 2139 |   (eval $ac_link) 2>&5 | 
 | 2140 |   ac_status=$? | 
 | 2141 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2142 |   (exit $ac_status); }; then | 
 | 2143 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
 | 2144 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
 | 2145 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
 | 2146 | # `rm'. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2147 | for ac_file in conftest.exe conftest conftest.*; do | 
 | 2148 |   test -f "$ac_file" || continue | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2149 |   case $ac_file in | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2150 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2151 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
 | 2152 |           export ac_cv_exeext | 
 | 2153 |           break;; | 
 | 2154 |     * ) break;; | 
 | 2155 |   esac | 
 | 2156 | done | 
 | 2157 | else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2158 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
 | 2159 | See \`config.log' for more details." >&5 | 
 | 2160 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
 | 2161 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2162 |    { (exit 1); exit 1; }; } | 
 | 2163 | fi | 
 | 2164 |  | 
 | 2165 | rm -f conftest$ac_cv_exeext | 
 | 2166 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
 | 2167 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
 | 2168 |  | 
 | 2169 | rm -f conftest.$ac_ext | 
 | 2170 | EXEEXT=$ac_cv_exeext | 
 | 2171 | ac_exeext=$EXEEXT | 
 | 2172 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
 | 2173 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
 | 2174 | if test "${ac_cv_objext+set}" = set; then | 
 | 2175 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2176 | else | 
 | 2177 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2178 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2179 | /* confdefs.h.  */ | 
 | 2180 | _ACEOF | 
 | 2181 | cat confdefs.h >>conftest.$ac_ext | 
 | 2182 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2183 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2184 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2185 | int | 
 | 2186 | main () | 
 | 2187 | { | 
 | 2188 |  | 
 | 2189 |   ; | 
 | 2190 |   return 0; | 
 | 2191 | } | 
 | 2192 | _ACEOF | 
 | 2193 | rm -f conftest.o conftest.obj | 
 | 2194 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2195 |   (eval $ac_compile) 2>&5 | 
 | 2196 |   ac_status=$? | 
 | 2197 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2198 |   (exit $ac_status); }; then | 
 | 2199 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
 | 2200 |   case $ac_file in | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2201 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2202 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
 | 2203 |        break;; | 
 | 2204 |   esac | 
 | 2205 | done | 
 | 2206 | else | 
 | 2207 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2208 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2209 |  | 
 | 2210 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
 | 2211 | See \`config.log' for more details." >&5 | 
 | 2212 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
 | 2213 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2214 |    { (exit 1); exit 1; }; } | 
 | 2215 | fi | 
 | 2216 |  | 
 | 2217 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
 | 2218 | fi | 
 | 2219 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
 | 2220 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
 | 2221 | OBJEXT=$ac_cv_objext | 
 | 2222 | ac_objext=$OBJEXT | 
 | 2223 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
 | 2224 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
 | 2225 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
 | 2226 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2227 | else | 
 | 2228 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2229 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2230 | /* confdefs.h.  */ | 
 | 2231 | _ACEOF | 
 | 2232 | cat confdefs.h >>conftest.$ac_ext | 
 | 2233 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2234 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2235 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2236 | int | 
 | 2237 | main () | 
 | 2238 | { | 
 | 2239 | #ifndef __GNUC__ | 
 | 2240 |        choke me | 
 | 2241 | #endif | 
 | 2242 |  | 
 | 2243 |   ; | 
 | 2244 |   return 0; | 
 | 2245 | } | 
 | 2246 | _ACEOF | 
 | 2247 | rm -f conftest.$ac_objext | 
 | 2248 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2249 |   (eval $ac_compile) 2>&5 | 
 | 2250 |   ac_status=$? | 
 | 2251 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2252 |   (exit $ac_status); } && | 
 | 2253 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2254 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2255 |   (eval $ac_try) 2>&5 | 
 | 2256 |   ac_status=$? | 
 | 2257 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2258 |   (exit $ac_status); }; }; then | 
 | 2259 |   ac_compiler_gnu=yes | 
 | 2260 | else | 
 | 2261 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2262 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2263 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2264 | ac_compiler_gnu=no | 
 | 2265 | fi | 
 | 2266 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2267 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
 | 2268 |  | 
 | 2269 | fi | 
 | 2270 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
 | 2271 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
 | 2272 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
 | 2273 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
 | 2274 | ac_save_CXXFLAGS=$CXXFLAGS | 
 | 2275 | CXXFLAGS="-g" | 
 | 2276 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
 | 2277 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
 | 2278 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
 | 2279 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2280 | else | 
 | 2281 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2282 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2283 | /* confdefs.h.  */ | 
 | 2284 | _ACEOF | 
 | 2285 | cat confdefs.h >>conftest.$ac_ext | 
 | 2286 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2287 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2288 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2289 | int | 
 | 2290 | main () | 
 | 2291 | { | 
 | 2292 |  | 
 | 2293 |   ; | 
 | 2294 |   return 0; | 
 | 2295 | } | 
 | 2296 | _ACEOF | 
 | 2297 | rm -f conftest.$ac_objext | 
 | 2298 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2299 |   (eval $ac_compile) 2>&5 | 
 | 2300 |   ac_status=$? | 
 | 2301 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2302 |   (exit $ac_status); } && | 
 | 2303 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2304 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2305 |   (eval $ac_try) 2>&5 | 
 | 2306 |   ac_status=$? | 
 | 2307 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2308 |   (exit $ac_status); }; }; then | 
 | 2309 |   ac_cv_prog_cxx_g=yes | 
 | 2310 | else | 
 | 2311 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2312 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2313 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2314 | ac_cv_prog_cxx_g=no | 
 | 2315 | fi | 
 | 2316 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2317 | fi | 
 | 2318 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
 | 2319 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
 | 2320 | if test "$ac_test_CXXFLAGS" = set; then | 
 | 2321 |   CXXFLAGS=$ac_save_CXXFLAGS | 
 | 2322 | elif test $ac_cv_prog_cxx_g = yes; then | 
 | 2323 |   if test "$GXX" = yes; then | 
 | 2324 |     CXXFLAGS="-g -O2" | 
 | 2325 |   else | 
 | 2326 |     CXXFLAGS="-g" | 
 | 2327 |   fi | 
 | 2328 | else | 
 | 2329 |   if test "$GXX" = yes; then | 
 | 2330 |     CXXFLAGS="-O2" | 
 | 2331 |   else | 
 | 2332 |     CXXFLAGS= | 
 | 2333 |   fi | 
 | 2334 | fi | 
 | 2335 | for ac_declaration in \ | 
 | 2336 |    ''\ | 
 | 2337 |    '#include <stdlib.h>' \ | 
 | 2338 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
 | 2339 |    'extern "C" void std::exit (int); using std::exit;' \ | 
 | 2340 |    'extern "C" void exit (int) throw ();' \ | 
 | 2341 |    'extern "C" void exit (int);' \ | 
 | 2342 |    'void exit (int);' | 
 | 2343 | do | 
 | 2344 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2345 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2346 | /* confdefs.h.  */ | 
 | 2347 | _ACEOF | 
 | 2348 | cat confdefs.h >>conftest.$ac_ext | 
 | 2349 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2350 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2351 | #include <stdlib.h> | 
 | 2352 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2353 | int | 
 | 2354 | main () | 
 | 2355 | { | 
 | 2356 | exit (42); | 
 | 2357 |   ; | 
 | 2358 |   return 0; | 
 | 2359 | } | 
 | 2360 | _ACEOF | 
 | 2361 | rm -f conftest.$ac_objext | 
 | 2362 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2363 |   (eval $ac_compile) 2>&5 | 
 | 2364 |   ac_status=$? | 
 | 2365 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2366 |   (exit $ac_status); } && | 
 | 2367 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2368 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2369 |   (eval $ac_try) 2>&5 | 
 | 2370 |   ac_status=$? | 
 | 2371 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2372 |   (exit $ac_status); }; }; then | 
 | 2373 |   : | 
 | 2374 | else | 
 | 2375 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2376 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2377 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2378 | continue | 
 | 2379 | fi | 
 | 2380 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2381 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2382 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2383 | /* confdefs.h.  */ | 
 | 2384 | _ACEOF | 
 | 2385 | cat confdefs.h >>conftest.$ac_ext | 
 | 2386 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2387 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2388 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2389 | int | 
 | 2390 | main () | 
 | 2391 | { | 
 | 2392 | exit (42); | 
 | 2393 |   ; | 
 | 2394 |   return 0; | 
 | 2395 | } | 
 | 2396 | _ACEOF | 
 | 2397 | rm -f conftest.$ac_objext | 
 | 2398 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2399 |   (eval $ac_compile) 2>&5 | 
 | 2400 |   ac_status=$? | 
 | 2401 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2402 |   (exit $ac_status); } && | 
 | 2403 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2404 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2405 |   (eval $ac_try) 2>&5 | 
 | 2406 |   ac_status=$? | 
 | 2407 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2408 |   (exit $ac_status); }; }; then | 
 | 2409 |   break | 
 | 2410 | else | 
 | 2411 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2412 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2413 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2414 | fi | 
 | 2415 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2416 | done | 
 | 2417 | rm -f conftest* | 
 | 2418 | if test -n "$ac_declaration"; then | 
 | 2419 |   echo '#ifdef __cplusplus' >>confdefs.h | 
 | 2420 |   echo $ac_declaration      >>confdefs.h | 
 | 2421 |   echo '#endif'             >>confdefs.h | 
 | 2422 | fi | 
 | 2423 |  | 
 | 2424 | ac_ext=c | 
 | 2425 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2426 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2427 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2428 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2429 |  | 
 | 2430 | ac_ext=c | 
 | 2431 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2432 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2433 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2434 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2435 | if test -n "$ac_tool_prefix"; then | 
 | 2436 |   for ac_prog in gcc | 
 | 2437 |   do | 
 | 2438 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
 | 2439 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
 | 2440 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2441 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2442 | if test "${ac_cv_prog_CC+set}" = set; then | 
 | 2443 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2444 | else | 
 | 2445 |   if test -n "$CC"; then | 
 | 2446 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
 | 2447 | else | 
 | 2448 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2449 | for as_dir in $PATH | 
 | 2450 | do | 
 | 2451 |   IFS=$as_save_IFS | 
 | 2452 |   test -z "$as_dir" && as_dir=. | 
 | 2453 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2454 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2455 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
 | 2456 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2457 |     break 2 | 
 | 2458 |   fi | 
 | 2459 | done | 
 | 2460 | done | 
 | 2461 |  | 
 | 2462 | fi | 
 | 2463 | fi | 
 | 2464 | CC=$ac_cv_prog_CC | 
 | 2465 | if test -n "$CC"; then | 
 | 2466 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
 | 2467 | echo "${ECHO_T}$CC" >&6 | 
 | 2468 | else | 
 | 2469 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2470 | echo "${ECHO_T}no" >&6 | 
 | 2471 | fi | 
 | 2472 |  | 
 | 2473 |     test -n "$CC" && break | 
 | 2474 |   done | 
 | 2475 | fi | 
 | 2476 | if test -z "$CC"; then | 
 | 2477 |   ac_ct_CC=$CC | 
 | 2478 |   for ac_prog in gcc | 
 | 2479 | do | 
 | 2480 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 2481 | set dummy $ac_prog; ac_word=$2 | 
 | 2482 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2483 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2484 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
 | 2485 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2486 | else | 
 | 2487 |   if test -n "$ac_ct_CC"; then | 
 | 2488 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
 | 2489 | else | 
 | 2490 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2491 | for as_dir in $PATH | 
 | 2492 | do | 
 | 2493 |   IFS=$as_save_IFS | 
 | 2494 |   test -z "$as_dir" && as_dir=. | 
 | 2495 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2496 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2497 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
 | 2498 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2499 |     break 2 | 
 | 2500 |   fi | 
 | 2501 | done | 
 | 2502 | done | 
 | 2503 |  | 
 | 2504 | fi | 
 | 2505 | fi | 
 | 2506 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
 | 2507 | if test -n "$ac_ct_CC"; then | 
 | 2508 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
 | 2509 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
 | 2510 | else | 
 | 2511 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2512 | echo "${ECHO_T}no" >&6 | 
 | 2513 | fi | 
 | 2514 |  | 
 | 2515 |   test -n "$ac_ct_CC" && break | 
 | 2516 | done | 
 | 2517 |  | 
 | 2518 |   CC=$ac_ct_CC | 
 | 2519 | fi | 
 | 2520 |  | 
 | 2521 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2522 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
 | 2523 | See \`config.log' for more details." >&5 | 
 | 2524 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
 | 2525 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2526 |    { (exit 1); exit 1; }; } | 
 | 2527 |  | 
 | 2528 | # Provide some information about the compiler. | 
 | 2529 | echo "$as_me:$LINENO:" \ | 
 | 2530 |      "checking for C compiler version" >&5 | 
 | 2531 | ac_compiler=`set X $ac_compile; echo $2` | 
 | 2532 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
 | 2533 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
 | 2534 |   ac_status=$? | 
 | 2535 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2536 |   (exit $ac_status); } | 
 | 2537 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
 | 2538 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
 | 2539 |   ac_status=$? | 
 | 2540 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2541 |   (exit $ac_status); } | 
 | 2542 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
 | 2543 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
 | 2544 |   ac_status=$? | 
 | 2545 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2546 |   (exit $ac_status); } | 
 | 2547 |  | 
 | 2548 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
 | 2549 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
 | 2550 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
 | 2551 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2552 | else | 
 | 2553 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2554 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2555 | /* confdefs.h.  */ | 
 | 2556 | _ACEOF | 
 | 2557 | cat confdefs.h >>conftest.$ac_ext | 
 | 2558 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2559 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2560 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2561 | int | 
 | 2562 | main () | 
 | 2563 | { | 
 | 2564 | #ifndef __GNUC__ | 
 | 2565 |        choke me | 
 | 2566 | #endif | 
 | 2567 |  | 
 | 2568 |   ; | 
 | 2569 |   return 0; | 
 | 2570 | } | 
 | 2571 | _ACEOF | 
 | 2572 | rm -f conftest.$ac_objext | 
 | 2573 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2574 |   (eval $ac_compile) 2>&5 | 
 | 2575 |   ac_status=$? | 
 | 2576 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2577 |   (exit $ac_status); } && | 
 | 2578 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2579 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2580 |   (eval $ac_try) 2>&5 | 
 | 2581 |   ac_status=$? | 
 | 2582 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2583 |   (exit $ac_status); }; }; then | 
 | 2584 |   ac_compiler_gnu=yes | 
 | 2585 | else | 
 | 2586 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2587 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2588 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2589 | ac_compiler_gnu=no | 
 | 2590 | fi | 
 | 2591 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2592 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
 | 2593 |  | 
 | 2594 | fi | 
 | 2595 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
 | 2596 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
 | 2597 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
 | 2598 | ac_test_CFLAGS=${CFLAGS+set} | 
 | 2599 | ac_save_CFLAGS=$CFLAGS | 
 | 2600 | CFLAGS="-g" | 
 | 2601 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
 | 2602 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
 | 2603 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
 | 2604 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2605 | else | 
 | 2606 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2607 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2608 | /* confdefs.h.  */ | 
 | 2609 | _ACEOF | 
 | 2610 | cat confdefs.h >>conftest.$ac_ext | 
 | 2611 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2612 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2613 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2614 | int | 
 | 2615 | main () | 
 | 2616 | { | 
 | 2617 |  | 
 | 2618 |   ; | 
 | 2619 |   return 0; | 
 | 2620 | } | 
 | 2621 | _ACEOF | 
 | 2622 | rm -f conftest.$ac_objext | 
 | 2623 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2624 |   (eval $ac_compile) 2>&5 | 
 | 2625 |   ac_status=$? | 
 | 2626 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2627 |   (exit $ac_status); } && | 
 | 2628 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2629 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2630 |   (eval $ac_try) 2>&5 | 
 | 2631 |   ac_status=$? | 
 | 2632 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2633 |   (exit $ac_status); }; }; then | 
 | 2634 |   ac_cv_prog_cc_g=yes | 
 | 2635 | else | 
 | 2636 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2637 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2638 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2639 | ac_cv_prog_cc_g=no | 
 | 2640 | fi | 
 | 2641 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2642 | fi | 
 | 2643 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
 | 2644 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
 | 2645 | if test "$ac_test_CFLAGS" = set; then | 
 | 2646 |   CFLAGS=$ac_save_CFLAGS | 
 | 2647 | elif test $ac_cv_prog_cc_g = yes; then | 
 | 2648 |   if test "$GCC" = yes; then | 
 | 2649 |     CFLAGS="-g -O2" | 
 | 2650 |   else | 
 | 2651 |     CFLAGS="-g" | 
 | 2652 |   fi | 
 | 2653 | else | 
 | 2654 |   if test "$GCC" = yes; then | 
 | 2655 |     CFLAGS="-O2" | 
 | 2656 |   else | 
 | 2657 |     CFLAGS= | 
 | 2658 |   fi | 
 | 2659 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2660 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
 | 2661 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
 | 2662 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
 | 2663 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2664 | else | 
 | 2665 |   ac_cv_prog_cc_stdc=no | 
 | 2666 | ac_save_CC=$CC | 
 | 2667 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2668 | #line $LINENO "configure" | 
 | 2669 | /* confdefs.h.  */ | 
 | 2670 | _ACEOF | 
 | 2671 | cat confdefs.h >>conftest.$ac_ext | 
 | 2672 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2673 | /* end confdefs.h.  */ | 
 | 2674 | #include <stdarg.h> | 
 | 2675 | #include <stdio.h> | 
 | 2676 | #include <sys/types.h> | 
 | 2677 | #include <sys/stat.h> | 
 | 2678 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
 | 2679 | struct buf { int x; }; | 
 | 2680 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
 | 2681 | static char *e (p, i) | 
 | 2682 |      char **p; | 
 | 2683 |      int i; | 
 | 2684 | { | 
 | 2685 |   return p[i]; | 
 | 2686 | } | 
 | 2687 | static char *f (char * (*g) (char **, int), char **p, ...) | 
 | 2688 | { | 
 | 2689 |   char *s; | 
 | 2690 |   va_list v; | 
 | 2691 |   va_start (v,p); | 
 | 2692 |   s = g (p, va_arg (v,int)); | 
 | 2693 |   va_end (v); | 
 | 2694 |   return s; | 
 | 2695 | } | 
 | 2696 | int test (int i, double x); | 
 | 2697 | struct s1 {int (*f) (int a);}; | 
 | 2698 | struct s2 {int (*f) (double a);}; | 
 | 2699 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
 | 2700 | int argc; | 
 | 2701 | char **argv; | 
 | 2702 | int | 
 | 2703 | main () | 
 | 2704 | { | 
 | 2705 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
 | 2706 |   ; | 
 | 2707 |   return 0; | 
 | 2708 | } | 
 | 2709 | _ACEOF | 
 | 2710 | # Don't try gcc -ansi; that turns off useful extensions and | 
 | 2711 | # breaks some systems' header files. | 
 | 2712 | # AIX			-qlanglvl=ansi | 
 | 2713 | # Ultrix and OSF/1	-std1 | 
 | 2714 | # HP-UX 10.20 and later	-Ae | 
 | 2715 | # HP-UX older versions	-Aa -D_HPUX_SOURCE | 
 | 2716 | # SVR4			-Xc -D__EXTENSIONS__ | 
 | 2717 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
 | 2718 | do | 
 | 2719 |   CC="$ac_save_CC $ac_arg" | 
 | 2720 |   rm -f conftest.$ac_objext | 
 | 2721 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2722 |   (eval $ac_compile) 2>&5 | 
 | 2723 |   ac_status=$? | 
 | 2724 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2725 |   (exit $ac_status); } && | 
 | 2726 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2727 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2728 |   (eval $ac_try) 2>&5 | 
 | 2729 |   ac_status=$? | 
 | 2730 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2731 |   (exit $ac_status); }; }; then | 
 | 2732 |   ac_cv_prog_cc_stdc=$ac_arg | 
 | 2733 | break | 
 | 2734 | else | 
 | 2735 |   echo "$as_me: failed program was:" >&5 | 
 | 2736 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2737 |  | 
 | 2738 | fi | 
 | 2739 | rm -f conftest.$ac_objext | 
 | 2740 | done | 
 | 2741 | rm -f conftest.$ac_ext conftest.$ac_objext | 
 | 2742 | CC=$ac_save_CC | 
 | 2743 |  | 
 | 2744 | fi | 
 | 2745 |  | 
 | 2746 | case "x$ac_cv_prog_cc_stdc" in | 
 | 2747 |   x|xno) | 
 | 2748 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
 | 2749 | echo "${ECHO_T}none needed" >&6 ;; | 
 | 2750 |   *) | 
 | 2751 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
 | 2752 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
 | 2753 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
 | 2754 | esac | 
 | 2755 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2756 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
 | 2757 | # in C++ we need to declare it.  In case someone uses the same compiler | 
 | 2758 | # for both compiling C and C++ we need to have the C++ compiler decide | 
 | 2759 | # the declaration of exit, since it's the most demanding environment. | 
 | 2760 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2761 | #ifndef __cplusplus | 
 | 2762 |   choke me | 
 | 2763 | #endif | 
 | 2764 | _ACEOF | 
 | 2765 | rm -f conftest.$ac_objext | 
 | 2766 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2767 |   (eval $ac_compile) 2>&5 | 
 | 2768 |   ac_status=$? | 
 | 2769 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2770 |   (exit $ac_status); } && | 
 | 2771 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2772 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2773 |   (eval $ac_try) 2>&5 | 
 | 2774 |   ac_status=$? | 
 | 2775 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2776 |   (exit $ac_status); }; }; then | 
 | 2777 |   for ac_declaration in \ | 
 | 2778 |    ''\ | 
 | 2779 |    '#include <stdlib.h>' \ | 
 | 2780 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
 | 2781 |    'extern "C" void std::exit (int); using std::exit;' \ | 
 | 2782 |    'extern "C" void exit (int) throw ();' \ | 
 | 2783 |    'extern "C" void exit (int);' \ | 
 | 2784 |    'void exit (int);' | 
 | 2785 | do | 
 | 2786 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2787 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2788 | /* confdefs.h.  */ | 
 | 2789 | _ACEOF | 
 | 2790 | cat confdefs.h >>conftest.$ac_ext | 
 | 2791 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2792 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2793 | #include <stdlib.h> | 
 | 2794 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2795 | int | 
 | 2796 | main () | 
 | 2797 | { | 
 | 2798 | exit (42); | 
 | 2799 |   ; | 
 | 2800 |   return 0; | 
 | 2801 | } | 
 | 2802 | _ACEOF | 
 | 2803 | rm -f conftest.$ac_objext | 
 | 2804 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2805 |   (eval $ac_compile) 2>&5 | 
 | 2806 |   ac_status=$? | 
 | 2807 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2808 |   (exit $ac_status); } && | 
 | 2809 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2810 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2811 |   (eval $ac_try) 2>&5 | 
 | 2812 |   ac_status=$? | 
 | 2813 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2814 |   (exit $ac_status); }; }; then | 
 | 2815 |   : | 
 | 2816 | else | 
 | 2817 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2818 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2819 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2820 | continue | 
 | 2821 | fi | 
 | 2822 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2823 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2824 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2825 | /* confdefs.h.  */ | 
 | 2826 | _ACEOF | 
 | 2827 | cat confdefs.h >>conftest.$ac_ext | 
 | 2828 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2829 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2830 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2831 | int | 
 | 2832 | main () | 
 | 2833 | { | 
 | 2834 | exit (42); | 
 | 2835 |   ; | 
 | 2836 |   return 0; | 
 | 2837 | } | 
 | 2838 | _ACEOF | 
 | 2839 | rm -f conftest.$ac_objext | 
 | 2840 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2841 |   (eval $ac_compile) 2>&5 | 
 | 2842 |   ac_status=$? | 
 | 2843 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2844 |   (exit $ac_status); } && | 
 | 2845 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2846 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2847 |   (eval $ac_try) 2>&5 | 
 | 2848 |   ac_status=$? | 
 | 2849 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2850 |   (exit $ac_status); }; }; then | 
 | 2851 |   break | 
 | 2852 | else | 
 | 2853 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2854 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2855 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2856 | fi | 
 | 2857 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2858 | done | 
 | 2859 | rm -f conftest* | 
 | 2860 | if test -n "$ac_declaration"; then | 
 | 2861 |   echo '#ifdef __cplusplus' >>confdefs.h | 
 | 2862 |   echo $ac_declaration      >>confdefs.h | 
 | 2863 |   echo '#endif'             >>confdefs.h | 
 | 2864 | fi | 
 | 2865 |  | 
 | 2866 | else | 
 | 2867 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2868 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2869 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2870 | fi | 
 | 2871 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2872 | ac_ext=c | 
 | 2873 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2874 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2875 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2876 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2877 |  | 
 | 2878 | ac_ext=c | 
 | 2879 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2880 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2881 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2882 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2883 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
 | 2884 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
 | 2885 | # On Suns, sometimes $CPP names a directory. | 
 | 2886 | if test -n "$CPP" && test -d "$CPP"; then | 
 | 2887 |   CPP= | 
 | 2888 | fi | 
 | 2889 | if test -z "$CPP"; then | 
 | 2890 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
 | 2891 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2892 | else | 
 | 2893 |       # Double quotes because CPP needs to be expanded | 
 | 2894 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
 | 2895 |     do | 
 | 2896 |       ac_preproc_ok=false | 
 | 2897 | for ac_c_preproc_warn_flag in '' yes | 
 | 2898 | do | 
 | 2899 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 2900 |   # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2901 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 2902 |   # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2903 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 2904 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 2905 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2906 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2907 | /* confdefs.h.  */ | 
 | 2908 | _ACEOF | 
 | 2909 | cat confdefs.h >>conftest.$ac_ext | 
 | 2910 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2911 | /* end confdefs.h.  */ | 
 | 2912 | #ifdef __STDC__ | 
 | 2913 | # include <limits.h> | 
 | 2914 | #else | 
 | 2915 | # include <assert.h> | 
 | 2916 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2917 |                      Syntax error | 
 | 2918 | _ACEOF | 
 | 2919 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 2920 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 2921 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2922 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2923 |   rm -f conftest.er1 | 
 | 2924 |   cat conftest.err >&5 | 
 | 2925 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2926 |   (exit $ac_status); } >/dev/null; then | 
 | 2927 |   if test -s conftest.err; then | 
 | 2928 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 2929 |   else | 
 | 2930 |     ac_cpp_err= | 
 | 2931 |   fi | 
 | 2932 | else | 
 | 2933 |   ac_cpp_err=yes | 
 | 2934 | fi | 
 | 2935 | if test -z "$ac_cpp_err"; then | 
 | 2936 |   : | 
 | 2937 | else | 
 | 2938 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2939 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2940 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2941 |   # Broken: fails on valid input. | 
 | 2942 | continue | 
 | 2943 | fi | 
 | 2944 | rm -f conftest.err conftest.$ac_ext | 
 | 2945 |  | 
 | 2946 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 2947 |   # can be detected and how. | 
 | 2948 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2949 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2950 | /* confdefs.h.  */ | 
 | 2951 | _ACEOF | 
 | 2952 | cat confdefs.h >>conftest.$ac_ext | 
 | 2953 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2954 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2955 | #include <ac_nonexistent.h> | 
 | 2956 | _ACEOF | 
 | 2957 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 2958 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 2959 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2960 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2961 |   rm -f conftest.er1 | 
 | 2962 |   cat conftest.err >&5 | 
 | 2963 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2964 |   (exit $ac_status); } >/dev/null; then | 
 | 2965 |   if test -s conftest.err; then | 
 | 2966 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 2967 |   else | 
 | 2968 |     ac_cpp_err= | 
 | 2969 |   fi | 
 | 2970 | else | 
 | 2971 |   ac_cpp_err=yes | 
 | 2972 | fi | 
 | 2973 | if test -z "$ac_cpp_err"; then | 
 | 2974 |   # Broken: success on invalid input. | 
 | 2975 | continue | 
 | 2976 | else | 
 | 2977 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2978 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2979 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2980 |   # Passes both tests. | 
 | 2981 | ac_preproc_ok=: | 
 | 2982 | break | 
 | 2983 | fi | 
 | 2984 | rm -f conftest.err conftest.$ac_ext | 
 | 2985 |  | 
 | 2986 | done | 
 | 2987 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 2988 | rm -f conftest.err conftest.$ac_ext | 
 | 2989 | if $ac_preproc_ok; then | 
 | 2990 |   break | 
 | 2991 | fi | 
 | 2992 |  | 
 | 2993 |     done | 
 | 2994 |     ac_cv_prog_CPP=$CPP | 
 | 2995 |  | 
 | 2996 | fi | 
 | 2997 |   CPP=$ac_cv_prog_CPP | 
 | 2998 | else | 
 | 2999 |   ac_cv_prog_CPP=$CPP | 
 | 3000 | fi | 
 | 3001 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
 | 3002 | echo "${ECHO_T}$CPP" >&6 | 
 | 3003 | ac_preproc_ok=false | 
 | 3004 | for ac_c_preproc_warn_flag in '' yes | 
 | 3005 | do | 
 | 3006 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 3007 |   # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3008 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 3009 |   # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3010 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 3011 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 3012 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3013 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3014 | /* confdefs.h.  */ | 
 | 3015 | _ACEOF | 
 | 3016 | cat confdefs.h >>conftest.$ac_ext | 
 | 3017 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3018 | /* end confdefs.h.  */ | 
 | 3019 | #ifdef __STDC__ | 
 | 3020 | # include <limits.h> | 
 | 3021 | #else | 
 | 3022 | # include <assert.h> | 
 | 3023 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3024 |                      Syntax error | 
 | 3025 | _ACEOF | 
 | 3026 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 3027 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 3028 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3029 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3030 |   rm -f conftest.er1 | 
 | 3031 |   cat conftest.err >&5 | 
 | 3032 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3033 |   (exit $ac_status); } >/dev/null; then | 
 | 3034 |   if test -s conftest.err; then | 
 | 3035 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 3036 |   else | 
 | 3037 |     ac_cpp_err= | 
 | 3038 |   fi | 
 | 3039 | else | 
 | 3040 |   ac_cpp_err=yes | 
 | 3041 | fi | 
 | 3042 | if test -z "$ac_cpp_err"; then | 
 | 3043 |   : | 
 | 3044 | else | 
 | 3045 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3046 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3047 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3048 |   # Broken: fails on valid input. | 
 | 3049 | continue | 
 | 3050 | fi | 
 | 3051 | rm -f conftest.err conftest.$ac_ext | 
 | 3052 |  | 
 | 3053 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 3054 |   # can be detected and how. | 
 | 3055 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3056 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3057 | /* confdefs.h.  */ | 
 | 3058 | _ACEOF | 
 | 3059 | cat confdefs.h >>conftest.$ac_ext | 
 | 3060 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3061 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3062 | #include <ac_nonexistent.h> | 
 | 3063 | _ACEOF | 
 | 3064 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 3065 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 3066 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3067 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3068 |   rm -f conftest.er1 | 
 | 3069 |   cat conftest.err >&5 | 
 | 3070 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3071 |   (exit $ac_status); } >/dev/null; then | 
 | 3072 |   if test -s conftest.err; then | 
 | 3073 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 3074 |   else | 
 | 3075 |     ac_cpp_err= | 
 | 3076 |   fi | 
 | 3077 | else | 
 | 3078 |   ac_cpp_err=yes | 
 | 3079 | fi | 
 | 3080 | if test -z "$ac_cpp_err"; then | 
 | 3081 |   # Broken: success on invalid input. | 
 | 3082 | continue | 
 | 3083 | else | 
 | 3084 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3085 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3086 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3087 |   # Passes both tests. | 
 | 3088 | ac_preproc_ok=: | 
 | 3089 | break | 
 | 3090 | fi | 
 | 3091 | rm -f conftest.err conftest.$ac_ext | 
 | 3092 |  | 
 | 3093 | done | 
 | 3094 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 3095 | rm -f conftest.err conftest.$ac_ext | 
 | 3096 | if $ac_preproc_ok; then | 
 | 3097 |   : | 
 | 3098 | else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3099 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 
 | 3100 | See \`config.log' for more details." >&5 | 
 | 3101 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 
 | 3102 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3103 |    { (exit 1); exit 1; }; } | 
 | 3104 | fi | 
 | 3105 |  | 
 | 3106 | ac_ext=c | 
 | 3107 | ac_cpp='$CPP $CPPFLAGS' | 
 | 3108 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 3109 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 3110 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 3111 |  | 
 | 3112 |  | 
 | 3113 | if test "$GCC" != "yes" | 
 | 3114 | then | 
 | 3115 | 	{ { echo "$as_me:$LINENO: error: gcc required but not found" >&5 | 
 | 3116 | echo "$as_me: error: gcc required but not found" >&2;} | 
 | 3117 |    { (exit 1); exit 1; }; } | 
 | 3118 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3119 | if test "$GXX" != "yes" | 
 | 3120 | then | 
 | 3121 | 	{ { echo "$as_me:$LINENO: error: g++ required but not found" >&5 | 
 | 3122 | echo "$as_me: error: g++ required but not found" >&2;} | 
 | 3123 |    { (exit 1); exit 1; }; } | 
 | 3124 | fi | 
 | 3125 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 3126 | gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1` | 
 | 3127 | if test "$gccmajor" -lt "3" | 
 | 3128 | then | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 3129 | 	{ { echo "$as_me:$LINENO: error: gcc 3.x required, but you have a lower version" >&5 | 
 | 3130 | echo "$as_me: error: gcc 3.x required, but you have a lower version" >&2;} | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 3131 |    { (exit 1); exit 1; }; } | 
 | 3132 | fi | 
 | 3133 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3134 |  echo "$as_me:$LINENO: checking for GNU make" >&5 | 
 | 3135 | echo $ECHO_N "checking for GNU make... $ECHO_C" >&6 | 
 | 3136 | if test "${_cv_gnu_make_command+set}" = set; then | 
 | 3137 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3138 | else | 
 | 3139 |   _cv_gnu_make_command='' ; | 
 | 3140 |                 for a in "$MAKE" make gmake gnumake ; do | 
 | 3141 |                         if test -z "$a" ; then continue ; fi ; | 
 | 3142 |                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then | 
 | 3143 |                                 _cv_gnu_make_command=$a ; | 
 | 3144 |                                 break; | 
 | 3145 |                         fi | 
 | 3146 |                 done ; | 
 | 3147 |  | 
 | 3148 | fi | 
 | 3149 | echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5 | 
 | 3150 | echo "${ECHO_T}$_cv_gnu_make_command" >&6 ; | 
 | 3151 |         if test  "x$_cv_gnu_make_command" != "x"  ; then | 
 | 3152 |                 ifGNUmake='' ; | 
 | 3153 |         else | 
 | 3154 |                 ifGNUmake='#' ; | 
 | 3155 |                 echo "$as_me:$LINENO: result: \"Not found\"" >&5 | 
 | 3156 | echo "${ECHO_T}\"Not found\"" >&6; | 
 | 3157 |         fi | 
 | 3158 |  | 
 | 3159 |  | 
 | 3160 | if test -z "$_cv_gnu_make_command" | 
 | 3161 | then | 
 | 3162 | 	{ { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5 | 
 | 3163 | echo "$as_me: error: GNU Make required but not found" >&2;} | 
 | 3164 |    { (exit 1); exit 1; }; } | 
 | 3165 | fi | 
 | 3166 |  | 
 | 3167 |  | 
 | 3168 | echo "$as_me:$LINENO: checking " >&5 | 
 | 3169 | echo $ECHO_N "checking ... $ECHO_C" >&6 | 
 | 3170 | if test "${ac_cv_has_flex+set}" = set; then | 
 | 3171 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3172 | else | 
 | 3173 |   for ac_prog in flex lex | 
 | 3174 | do | 
 | 3175 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 3176 | set dummy $ac_prog; ac_word=$2 | 
 | 3177 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 3178 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 3179 | if test "${ac_cv_prog_LEX+set}" = set; then | 
 | 3180 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3181 | else | 
 | 3182 |   if test -n "$LEX"; then | 
 | 3183 |   ac_cv_prog_LEX="$LEX" # Let the user override the test. | 
 | 3184 | else | 
 | 3185 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 3186 | for as_dir in $PATH | 
 | 3187 | do | 
 | 3188 |   IFS=$as_save_IFS | 
 | 3189 |   test -z "$as_dir" && as_dir=. | 
 | 3190 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 3191 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 3192 |     ac_cv_prog_LEX="$ac_prog" | 
 | 3193 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 3194 |     break 2 | 
 | 3195 |   fi | 
 | 3196 | done | 
 | 3197 | done | 
 | 3198 |  | 
 | 3199 | fi | 
 | 3200 | fi | 
 | 3201 | LEX=$ac_cv_prog_LEX | 
 | 3202 | if test -n "$LEX"; then | 
 | 3203 |   echo "$as_me:$LINENO: result: $LEX" >&5 | 
 | 3204 | echo "${ECHO_T}$LEX" >&6 | 
 | 3205 | else | 
 | 3206 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 3207 | echo "${ECHO_T}no" >&6 | 
 | 3208 | fi | 
 | 3209 |  | 
 | 3210 |   test -n "$LEX" && break | 
 | 3211 | done | 
 | 3212 | test -n "$LEX" || LEX=":" | 
 | 3213 |  | 
 | 3214 | if test -z "$LEXLIB" | 
 | 3215 | then | 
 | 3216 |   echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 | 
 | 3217 | echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 | 
 | 3218 | if test "${ac_cv_lib_fl_yywrap+set}" = set; then | 
 | 3219 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3220 | else | 
 | 3221 |   ac_check_lib_save_LIBS=$LIBS | 
 | 3222 | LIBS="-lfl  $LIBS" | 
 | 3223 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3224 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3225 | /* confdefs.h.  */ | 
 | 3226 | _ACEOF | 
 | 3227 | cat confdefs.h >>conftest.$ac_ext | 
 | 3228 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3229 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3230 |  | 
 | 3231 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 3232 | #ifdef __cplusplus | 
 | 3233 | extern "C" | 
 | 3234 | #endif | 
 | 3235 | /* We use char because int might match the return type of a gcc2 | 
 | 3236 |    builtin and then its argument prototype would still apply.  */ | 
 | 3237 | char yywrap (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3238 | int | 
 | 3239 | main () | 
 | 3240 | { | 
 | 3241 | yywrap (); | 
 | 3242 |   ; | 
 | 3243 |   return 0; | 
 | 3244 | } | 
 | 3245 | _ACEOF | 
 | 3246 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 3247 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 3248 |   (eval $ac_link) 2>&5 | 
 | 3249 |   ac_status=$? | 
 | 3250 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3251 |   (exit $ac_status); } && | 
 | 3252 |          { ac_try='test -s conftest$ac_exeext' | 
 | 3253 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3254 |   (eval $ac_try) 2>&5 | 
 | 3255 |   ac_status=$? | 
 | 3256 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3257 |   (exit $ac_status); }; }; then | 
 | 3258 |   ac_cv_lib_fl_yywrap=yes | 
 | 3259 | else | 
 | 3260 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3261 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3262 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3263 | ac_cv_lib_fl_yywrap=no | 
 | 3264 | fi | 
 | 3265 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 3266 | LIBS=$ac_check_lib_save_LIBS | 
 | 3267 | fi | 
 | 3268 | echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 | 
 | 3269 | echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 | 
 | 3270 | if test $ac_cv_lib_fl_yywrap = yes; then | 
 | 3271 |   LEXLIB="-lfl" | 
 | 3272 | else | 
 | 3273 |   echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 | 
 | 3274 | echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 | 
 | 3275 | if test "${ac_cv_lib_l_yywrap+set}" = set; then | 
 | 3276 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3277 | else | 
 | 3278 |   ac_check_lib_save_LIBS=$LIBS | 
 | 3279 | LIBS="-ll  $LIBS" | 
 | 3280 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3281 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3282 | /* confdefs.h.  */ | 
 | 3283 | _ACEOF | 
 | 3284 | cat confdefs.h >>conftest.$ac_ext | 
 | 3285 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3286 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3287 |  | 
 | 3288 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 3289 | #ifdef __cplusplus | 
 | 3290 | extern "C" | 
 | 3291 | #endif | 
 | 3292 | /* We use char because int might match the return type of a gcc2 | 
 | 3293 |    builtin and then its argument prototype would still apply.  */ | 
 | 3294 | char yywrap (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3295 | int | 
 | 3296 | main () | 
 | 3297 | { | 
 | 3298 | yywrap (); | 
 | 3299 |   ; | 
 | 3300 |   return 0; | 
 | 3301 | } | 
 | 3302 | _ACEOF | 
 | 3303 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 3304 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 3305 |   (eval $ac_link) 2>&5 | 
 | 3306 |   ac_status=$? | 
 | 3307 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3308 |   (exit $ac_status); } && | 
 | 3309 |          { ac_try='test -s conftest$ac_exeext' | 
 | 3310 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3311 |   (eval $ac_try) 2>&5 | 
 | 3312 |   ac_status=$? | 
 | 3313 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3314 |   (exit $ac_status); }; }; then | 
 | 3315 |   ac_cv_lib_l_yywrap=yes | 
 | 3316 | else | 
 | 3317 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3318 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3319 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3320 | ac_cv_lib_l_yywrap=no | 
 | 3321 | fi | 
 | 3322 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 3323 | LIBS=$ac_check_lib_save_LIBS | 
 | 3324 | fi | 
 | 3325 | echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 | 
 | 3326 | echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 | 
 | 3327 | if test $ac_cv_lib_l_yywrap = yes; then | 
 | 3328 |   LEXLIB="-ll" | 
 | 3329 | fi | 
 | 3330 |  | 
 | 3331 | fi | 
 | 3332 |  | 
 | 3333 | fi | 
 | 3334 |  | 
 | 3335 | if test "x$LEX" != "x:"; then | 
 | 3336 |   echo "$as_me:$LINENO: checking lex output file root" >&5 | 
 | 3337 | echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 | 
 | 3338 | if test "${ac_cv_prog_lex_root+set}" = set; then | 
 | 3339 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3340 | else | 
 | 3341 |   # The minimal lex program is just a single line: %%.  But some broken lexes | 
 | 3342 | # (Solaris, I think it was) want two %% lines, so accommodate them. | 
 | 3343 | cat >conftest.l <<_ACEOF | 
 | 3344 | %% | 
 | 3345 | %% | 
 | 3346 | _ACEOF | 
 | 3347 | { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 | 
 | 3348 |   (eval $LEX conftest.l) 2>&5 | 
 | 3349 |   ac_status=$? | 
 | 3350 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3351 |   (exit $ac_status); } | 
 | 3352 | if test -f lex.yy.c; then | 
 | 3353 |   ac_cv_prog_lex_root=lex.yy | 
 | 3354 | elif test -f lexyy.c; then | 
 | 3355 |   ac_cv_prog_lex_root=lexyy | 
 | 3356 | else | 
 | 3357 |   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 | 
 | 3358 | echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} | 
 | 3359 |    { (exit 1); exit 1; }; } | 
 | 3360 | fi | 
 | 3361 | fi | 
 | 3362 | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 | 
 | 3363 | echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 | 
 | 3364 | rm -f conftest.l | 
 | 3365 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root | 
 | 3366 |  | 
 | 3367 | echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 | 
 | 3368 | echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 | 
 | 3369 | if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then | 
 | 3370 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3371 | else | 
 | 3372 |   # POSIX says lex can declare yytext either as a pointer or an array; the | 
 | 3373 | # default is implementation-dependent. Figure out which it is, since | 
 | 3374 | # not all implementations provide the %pointer and %array declarations. | 
 | 3375 | ac_cv_prog_lex_yytext_pointer=no | 
 | 3376 | echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c | 
 | 3377 | ac_save_LIBS=$LIBS | 
 | 3378 | LIBS="$LIBS $LEXLIB" | 
 | 3379 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3380 | `cat $LEX_OUTPUT_ROOT.c` | 
 | 3381 | _ACEOF | 
 | 3382 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 3383 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 3384 |   (eval $ac_link) 2>&5 | 
 | 3385 |   ac_status=$? | 
 | 3386 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3387 |   (exit $ac_status); } && | 
 | 3388 |          { ac_try='test -s conftest$ac_exeext' | 
 | 3389 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3390 |   (eval $ac_try) 2>&5 | 
 | 3391 |   ac_status=$? | 
 | 3392 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3393 |   (exit $ac_status); }; }; then | 
 | 3394 |   ac_cv_prog_lex_yytext_pointer=yes | 
 | 3395 | else | 
 | 3396 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3397 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3398 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3399 | fi | 
 | 3400 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 3401 | LIBS=$ac_save_LIBS | 
 | 3402 | rm -f "${LEX_OUTPUT_ROOT}.c" | 
 | 3403 |  | 
 | 3404 | fi | 
 | 3405 | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 | 
 | 3406 | echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 | 
 | 3407 | if test $ac_cv_prog_lex_yytext_pointer = yes; then | 
 | 3408 |  | 
 | 3409 | cat >>confdefs.h <<\_ACEOF | 
 | 3410 | #define YYTEXT_POINTER 1 | 
 | 3411 | _ACEOF | 
 | 3412 |  | 
 | 3413 | fi | 
 | 3414 |  | 
 | 3415 | fi | 
 | 3416 |  | 
 | 3417 | fi | 
 | 3418 | echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5 | 
 | 3419 | echo "${ECHO_T}$ac_cv_has_flex" >&6 | 
 | 3420 | if test "$LEX" != "flex"; then | 
 | 3421 |   { { echo "$as_me:$LINENO: error: flex not found but required" >&5 | 
 | 3422 | echo "$as_me: error: flex not found but required" >&2;} | 
 | 3423 |    { (exit 1); exit 1; }; } | 
 | 3424 | fi | 
 | 3425 |  | 
 | 3426 | echo "$as_me:$LINENO: checking " >&5 | 
 | 3427 | echo $ECHO_N "checking ... $ECHO_C" >&6 | 
 | 3428 | if test "${ac_cv_has_bison+set}" = set; then | 
 | 3429 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3430 | else | 
 | 3431 |   for ac_prog in 'bison -y' byacc | 
 | 3432 | do | 
 | 3433 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 3434 | set dummy $ac_prog; ac_word=$2 | 
 | 3435 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 3436 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 3437 | if test "${ac_cv_prog_YACC+set}" = set; then | 
 | 3438 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3439 | else | 
 | 3440 |   if test -n "$YACC"; then | 
 | 3441 |   ac_cv_prog_YACC="$YACC" # Let the user override the test. | 
 | 3442 | else | 
 | 3443 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 3444 | for as_dir in $PATH | 
 | 3445 | do | 
 | 3446 |   IFS=$as_save_IFS | 
 | 3447 |   test -z "$as_dir" && as_dir=. | 
 | 3448 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 3449 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 3450 |     ac_cv_prog_YACC="$ac_prog" | 
 | 3451 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 3452 |     break 2 | 
 | 3453 |   fi | 
 | 3454 | done | 
 | 3455 | done | 
 | 3456 |  | 
 | 3457 | fi | 
 | 3458 | fi | 
 | 3459 | YACC=$ac_cv_prog_YACC | 
 | 3460 | if test -n "$YACC"; then | 
 | 3461 |   echo "$as_me:$LINENO: result: $YACC" >&5 | 
 | 3462 | echo "${ECHO_T}$YACC" >&6 | 
 | 3463 | else | 
 | 3464 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 3465 | echo "${ECHO_T}no" >&6 | 
 | 3466 | fi | 
 | 3467 |  | 
 | 3468 |   test -n "$YACC" && break | 
 | 3469 | done | 
 | 3470 | test -n "$YACC" || YACC="yacc" | 
 | 3471 |  | 
 | 3472 |  | 
 | 3473 | fi | 
 | 3474 | echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5 | 
 | 3475 | echo "${ECHO_T}$ac_cv_has_bison" >&6 | 
 | 3476 | if test "$YACC" != "bison -y"; then | 
 | 3477 |   { { echo "$as_me:$LINENO: error: bison not found but required" >&5 | 
 | 3478 | echo "$as_me: error: bison not found but required" >&2;} | 
 | 3479 |    { (exit 1); exit 1; }; } | 
 | 3480 | else | 
| Brian Gaeke | 1281063 | 2004-01-13 06:52:10 +0000 | [diff] [blame] | 3481 |   BISON=bison | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3482 |  | 
 | 3483 | fi | 
 | 3484 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3485 | # Check whether --enable-shared or --disable-shared was given. | 
 | 3486 | if test "${enable_shared+set}" = set; then | 
 | 3487 |   enableval="$enable_shared" | 
 | 3488 |   p=${PACKAGE-default} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3489 |     case $enableval in | 
 | 3490 |     yes) enable_shared=yes ;; | 
 | 3491 |     no) enable_shared=no ;; | 
 | 3492 |     *) | 
 | 3493 |       enable_shared=no | 
 | 3494 |       # Look at the argument we got.  We use all the common list separators. | 
 | 3495 |       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
 | 3496 |       for pkg in $enableval; do | 
 | 3497 | 	IFS="$lt_save_ifs" | 
 | 3498 | 	if test "X$pkg" = "X$p"; then | 
 | 3499 | 	  enable_shared=yes | 
 | 3500 | 	fi | 
 | 3501 |       done | 
 | 3502 |       IFS="$lt_save_ifs" | 
 | 3503 |       ;; | 
 | 3504 |     esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3505 | else | 
 | 3506 |   enable_shared=yes | 
 | 3507 | fi; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3508 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3509 | # Check whether --enable-static or --disable-static was given. | 
 | 3510 | if test "${enable_static+set}" = set; then | 
 | 3511 |   enableval="$enable_static" | 
 | 3512 |   p=${PACKAGE-default} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3513 |     case $enableval in | 
 | 3514 |     yes) enable_static=yes ;; | 
 | 3515 |     no) enable_static=no ;; | 
 | 3516 |     *) | 
 | 3517 |      enable_static=no | 
 | 3518 |       # Look at the argument we got.  We use all the common list separators. | 
 | 3519 |       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
 | 3520 |       for pkg in $enableval; do | 
 | 3521 | 	IFS="$lt_save_ifs" | 
 | 3522 | 	if test "X$pkg" = "X$p"; then | 
 | 3523 | 	  enable_static=yes | 
 | 3524 | 	fi | 
 | 3525 |       done | 
 | 3526 |       IFS="$lt_save_ifs" | 
 | 3527 |       ;; | 
 | 3528 |     esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3529 | else | 
 | 3530 |   enable_static=yes | 
 | 3531 | fi; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3532 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3533 | # Check whether --enable-fast-install or --disable-fast-install was given. | 
 | 3534 | if test "${enable_fast_install+set}" = set; then | 
 | 3535 |   enableval="$enable_fast_install" | 
 | 3536 |   p=${PACKAGE-default} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3537 |     case $enableval in | 
 | 3538 |     yes) enable_fast_install=yes ;; | 
 | 3539 |     no) enable_fast_install=no ;; | 
 | 3540 |     *) | 
 | 3541 |       enable_fast_install=no | 
 | 3542 |       # Look at the argument we got.  We use all the common list separators. | 
 | 3543 |       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
 | 3544 |       for pkg in $enableval; do | 
 | 3545 | 	IFS="$lt_save_ifs" | 
 | 3546 | 	if test "X$pkg" = "X$p"; then | 
 | 3547 | 	  enable_fast_install=yes | 
 | 3548 | 	fi | 
 | 3549 |       done | 
 | 3550 |       IFS="$lt_save_ifs" | 
 | 3551 |       ;; | 
 | 3552 |     esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3553 | else | 
 | 3554 |   enable_fast_install=yes | 
 | 3555 | fi; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3556 |  | 
 | 3557 | echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 | 
 | 3558 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 | 
 | 3559 | if test "${lt_cv_path_SED+set}" = set; then | 
 | 3560 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3561 | else | 
 | 3562 |   # Loop through the user's path and test for sed and gsed. | 
 | 3563 | # Then use that list of sed's as ones to test for truncation. | 
 | 3564 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 3565 | for as_dir in $PATH | 
 | 3566 | do | 
 | 3567 |   IFS=$as_save_IFS | 
 | 3568 |   test -z "$as_dir" && as_dir=. | 
 | 3569 |   for lt_ac_prog in sed gsed; do | 
 | 3570 |     for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 3571 |       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then | 
 | 3572 |         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" | 
 | 3573 |       fi | 
 | 3574 |     done | 
 | 3575 |   done | 
 | 3576 | done | 
 | 3577 | lt_ac_max=0 | 
 | 3578 | lt_ac_count=0 | 
 | 3579 | # Add /usr/xpg4/bin/sed as it is typically found on Solaris | 
 | 3580 | # along with /bin/sed that truncates output. | 
 | 3581 | for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do | 
 | 3582 |   test ! -f $lt_ac_sed && break | 
 | 3583 |   cat /dev/null > conftest.in | 
 | 3584 |   lt_ac_count=0 | 
 | 3585 |   echo $ECHO_N "0123456789$ECHO_C" >conftest.in | 
 | 3586 |   # Check for GNU sed and select it if it is found. | 
 | 3587 |   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then | 
 | 3588 |     lt_cv_path_SED=$lt_ac_sed | 
 | 3589 |     break | 
 | 3590 |   fi | 
 | 3591 |   while true; do | 
 | 3592 |     cat conftest.in conftest.in >conftest.tmp | 
 | 3593 |     mv conftest.tmp conftest.in | 
 | 3594 |     cp conftest.in conftest.nl | 
 | 3595 |     echo >>conftest.nl | 
 | 3596 |     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break | 
 | 3597 |     cmp -s conftest.out conftest.nl || break | 
 | 3598 |     # 10000 chars as input seems more than enough | 
 | 3599 |     test $lt_ac_count -gt 10 && break | 
 | 3600 |     lt_ac_count=`expr $lt_ac_count + 1` | 
 | 3601 |     if test $lt_ac_count -gt $lt_ac_max; then | 
 | 3602 |       lt_ac_max=$lt_ac_count | 
 | 3603 |       lt_cv_path_SED=$lt_ac_sed | 
 | 3604 |     fi | 
 | 3605 |   done | 
 | 3606 | done | 
 | 3607 | SED=$lt_cv_path_SED | 
 | 3608 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3609 | fi | 
 | 3610 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3611 | echo "$as_me:$LINENO: result: $SED" >&5 | 
 | 3612 | echo "${ECHO_T}$SED" >&6 | 
 | 3613 |  | 
 | 3614 | echo "$as_me:$LINENO: checking for egrep" >&5 | 
 | 3615 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
 | 3616 | if test "${ac_cv_prog_egrep+set}" = set; then | 
 | 3617 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3618 | else | 
 | 3619 |   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 
 | 3620 |     then ac_cv_prog_egrep='grep -E' | 
 | 3621 |     else ac_cv_prog_egrep='egrep' | 
 | 3622 |     fi | 
 | 3623 | fi | 
 | 3624 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 
 | 3625 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 
 | 3626 |  EGREP=$ac_cv_prog_egrep | 
 | 3627 |  | 
 | 3628 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3629 |  | 
 | 3630 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | 
 | 3631 | if test "${with_gnu_ld+set}" = set; then | 
 | 3632 |   withval="$with_gnu_ld" | 
 | 3633 |   test "$withval" = no || with_gnu_ld=yes | 
 | 3634 | else | 
 | 3635 |   with_gnu_ld=no | 
 | 3636 | fi; | 
 | 3637 | ac_prog=ld | 
 | 3638 | if test "$GCC" = yes; then | 
 | 3639 |   # Check if gcc -print-prog-name=ld gives a path. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3640 |   echo "$as_me:$LINENO: checking for ld used by $CC" >&5 | 
 | 3641 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3642 |   case $host in | 
 | 3643 |   *-*-mingw*) | 
 | 3644 |     # gcc leaves a trailing carriage return which upsets mingw | 
 | 3645 |     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
 | 3646 |   *) | 
 | 3647 |     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
 | 3648 |   esac | 
 | 3649 |   case $ac_prog in | 
 | 3650 |     # Accept absolute paths. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3651 |     [\\/]* | ?:[\\/]*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3652 |       re_direlt='/[^/][^/]*/\.\./' | 
 | 3653 |       # Canonicalize the path of ld | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3654 |       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3655 |       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3656 | 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3657 |       done | 
 | 3658 |       test -z "$LD" && LD="$ac_prog" | 
 | 3659 |       ;; | 
 | 3660 |   "") | 
 | 3661 |     # If it fails, then pretend we aren't using GCC. | 
 | 3662 |     ac_prog=ld | 
 | 3663 |     ;; | 
 | 3664 |   *) | 
 | 3665 |     # If it is relative, then search for the first ld in PATH. | 
 | 3666 |     with_gnu_ld=unknown | 
 | 3667 |     ;; | 
 | 3668 |   esac | 
 | 3669 | elif test "$with_gnu_ld" = yes; then | 
 | 3670 |   echo "$as_me:$LINENO: checking for GNU ld" >&5 | 
 | 3671 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | 
 | 3672 | else | 
 | 3673 |   echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | 
 | 3674 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | 
 | 3675 | fi | 
 | 3676 | if test "${lt_cv_path_LD+set}" = set; then | 
 | 3677 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3678 | else | 
 | 3679 |   if test -z "$LD"; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3680 |   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3681 |   for ac_dir in $PATH; do | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3682 |     IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3683 |     test -z "$ac_dir" && ac_dir=. | 
 | 3684 |     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
 | 3685 |       lt_cv_path_LD="$ac_dir/$ac_prog" | 
 | 3686 |       # Check to see if the program is GNU ld.  I'd rather use --version, | 
 | 3687 |       # but apparently some GNU ld's only accept -v. | 
 | 3688 |       # Break only if it was the GNU/non-GNU ld that we prefer. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3689 |       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 
 | 3690 |       *GNU* | *'with BFD'*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3691 | 	test "$with_gnu_ld" != no && break | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3692 | 	;; | 
 | 3693 |       *) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3694 | 	test "$with_gnu_ld" != yes && break | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3695 | 	;; | 
 | 3696 |       esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3697 |     fi | 
 | 3698 |   done | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3699 |   IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3700 | else | 
 | 3701 |   lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
 | 3702 | fi | 
 | 3703 | fi | 
 | 3704 |  | 
 | 3705 | LD="$lt_cv_path_LD" | 
 | 3706 | if test -n "$LD"; then | 
 | 3707 |   echo "$as_me:$LINENO: result: $LD" >&5 | 
 | 3708 | echo "${ECHO_T}$LD" >&6 | 
 | 3709 | else | 
 | 3710 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 3711 | echo "${ECHO_T}no" >&6 | 
 | 3712 | fi | 
 | 3713 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | 
 | 3714 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 
 | 3715 |    { (exit 1); exit 1; }; } | 
 | 3716 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | 
 | 3717 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | 
 | 3718 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | 
 | 3719 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3720 | else | 
 | 3721 |   # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3722 | case `"$LD" -v 2>&1 </dev/null` in | 
 | 3723 | *GNU* | *'with BFD'*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3724 |   lt_cv_prog_gnu_ld=yes | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3725 |   ;; | 
 | 3726 | *) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3727 |   lt_cv_prog_gnu_ld=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3728 |   ;; | 
 | 3729 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3730 | fi | 
 | 3731 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | 
 | 3732 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | 
 | 3733 | with_gnu_ld=$lt_cv_prog_gnu_ld | 
 | 3734 |  | 
 | 3735 |  | 
 | 3736 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 | 
 | 3737 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 | 
 | 3738 | if test "${lt_cv_ld_reload_flag+set}" = set; then | 
 | 3739 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3740 | else | 
 | 3741 |   lt_cv_ld_reload_flag='-r' | 
 | 3742 | fi | 
 | 3743 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 | 
 | 3744 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | 
 | 3745 | reload_flag=$lt_cv_ld_reload_flag | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3746 | case $reload_flag in | 
 | 3747 | "" | " "*) ;; | 
 | 3748 | *) reload_flag=" $reload_flag" ;; | 
 | 3749 | esac | 
 | 3750 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3751 |  | 
 | 3752 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 | 
 | 3753 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | 
 | 3754 | if test "${lt_cv_path_NM+set}" = set; then | 
 | 3755 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3756 | else | 
 | 3757 |   if test -n "$NM"; then | 
 | 3758 |   # Let the user override the test. | 
 | 3759 |   lt_cv_path_NM="$NM" | 
 | 3760 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3761 |   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3762 |   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3763 |     IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3764 |     test -z "$ac_dir" && ac_dir=. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3765 |     tmp_nm="$ac_dir/${ac_tool_prefix}nm" | 
 | 3766 |     if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3767 |       # Check to see if the nm accepts a BSD-compat flag. | 
 | 3768 |       # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 
 | 3769 |       #   nm: unknown option "B" ignored | 
 | 3770 |       # Tru64's nm complains that /dev/null is an invalid object file | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3771 |       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | 
 | 3772 |       */dev/null* | *'Invalid file or object type'*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3773 | 	lt_cv_path_NM="$tmp_nm -B" | 
 | 3774 | 	break | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3775 |         ;; | 
 | 3776 |       *) | 
 | 3777 | 	case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | 
 | 3778 | 	*/dev/null*) | 
 | 3779 | 	  lt_cv_path_NM="$tmp_nm -p" | 
 | 3780 | 	  break | 
 | 3781 | 	  ;; | 
 | 3782 | 	*) | 
 | 3783 | 	  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 
 | 3784 | 	  continue # so that we can try to find one that supports BSD flags | 
 | 3785 | 	  ;; | 
 | 3786 | 	esac | 
 | 3787 |       esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3788 |     fi | 
 | 3789 |   done | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3790 |   IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3791 |   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | 
 | 3792 | fi | 
 | 3793 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3794 | echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 | 
 | 3795 | echo "${ECHO_T}$lt_cv_path_NM" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3796 | NM="$lt_cv_path_NM" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3797 |  | 
 | 3798 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 
 | 3799 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 
 | 3800 | LN_S=$as_ln_s | 
 | 3801 | if test "$LN_S" = "ln -s"; then | 
 | 3802 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 3803 | echo "${ECHO_T}yes" >&6 | 
 | 3804 | else | 
 | 3805 |   echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 
 | 3806 | echo "${ECHO_T}no, using $LN_S" >&6 | 
 | 3807 | fi | 
 | 3808 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3809 | echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 | 
 | 3810 | echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3811 | if test "${lt_cv_deplibs_check_method+set}" = set; then | 
 | 3812 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3813 | else | 
 | 3814 |   lt_cv_file_magic_cmd='$MAGIC_CMD' | 
 | 3815 | lt_cv_file_magic_test_file= | 
 | 3816 | lt_cv_deplibs_check_method='unknown' | 
 | 3817 | # Need to set the preceding variable on all platforms that support | 
 | 3818 | # interlibrary dependencies. | 
 | 3819 | # 'none' -- dependencies not supported. | 
 | 3820 | # `unknown' -- same as none, but documents that we really don't know. | 
 | 3821 | # 'pass_all' -- all dependencies passed with no checks. | 
 | 3822 | # 'test_compile' -- check by making test program. | 
 | 3823 | # 'file_magic [[regex]]' -- check by looking for files in library path | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3824 | # which responds to the $file_magic_cmd with a given extended regex. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3825 | # If you have `file' or equivalent on your system and you're not sure | 
 | 3826 | # whether `pass_all' will *always* work, you probably want this one. | 
 | 3827 |  | 
 | 3828 | case $host_os in | 
 | 3829 | aix4* | aix5*) | 
 | 3830 |   lt_cv_deplibs_check_method=pass_all | 
 | 3831 |   ;; | 
 | 3832 |  | 
 | 3833 | beos*) | 
 | 3834 |   lt_cv_deplibs_check_method=pass_all | 
 | 3835 |   ;; | 
 | 3836 |  | 
 | 3837 | bsdi4*) | 
 | 3838 |   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | 
 | 3839 |   lt_cv_file_magic_cmd='/usr/bin/file -L' | 
 | 3840 |   lt_cv_file_magic_test_file=/shlib/libc.so | 
 | 3841 |   ;; | 
 | 3842 |  | 
 | 3843 | cygwin* | mingw* | pw32*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3844 |   # win32_libid is a shell function defined in ltmain.sh | 
 | 3845 |   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 
 | 3846 |   lt_cv_file_magic_cmd='win32_libid' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3847 |   ;; | 
 | 3848 |  | 
 | 3849 | darwin* | rhapsody*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3850 |   # this will be overwritten by pass_all, but leave it in just in case | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3851 |   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | 
 | 3852 |   lt_cv_file_magic_cmd='/usr/bin/file -L' | 
 | 3853 |   case "$host_os" in | 
 | 3854 |   rhapsody* | darwin1.[012]) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3855 |     lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3856 |     ;; | 
 | 3857 |   *) # Darwin 1.3 on | 
 | 3858 |     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | 
 | 3859 |     ;; | 
 | 3860 |   esac | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3861 |   lt_cv_deplibs_check_method=pass_all | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3862 |   ;; | 
 | 3863 |  | 
 | 3864 | freebsd*) | 
 | 3865 |   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
 | 3866 |     case $host_cpu in | 
 | 3867 |     i*86 ) | 
 | 3868 |       # Not sure whether the presence of OpenBSD here was a mistake. | 
 | 3869 |       # Let's accept both of them until this is cleared up. | 
 | 3870 |       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | 
 | 3871 |       lt_cv_file_magic_cmd=/usr/bin/file | 
 | 3872 |       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
 | 3873 |       ;; | 
 | 3874 |     esac | 
 | 3875 |   else | 
 | 3876 |     lt_cv_deplibs_check_method=pass_all | 
 | 3877 |   fi | 
 | 3878 |   ;; | 
 | 3879 |  | 
 | 3880 | gnu*) | 
 | 3881 |   lt_cv_deplibs_check_method=pass_all | 
 | 3882 |   ;; | 
 | 3883 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3884 | hpux10.20* | hpux11*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3885 |   lt_cv_file_magic_cmd=/usr/bin/file | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3886 |   case "$host_cpu" in | 
 | 3887 |   ia64*) | 
 | 3888 |     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' | 
 | 3889 |     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | 
 | 3890 |     ;; | 
 | 3891 |   hppa*64*) | 
 | 3892 |     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' | 
 | 3893 |     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl | 
 | 3894 |     ;; | 
 | 3895 |   *) | 
 | 3896 |     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' | 
 | 3897 |     lt_cv_file_magic_test_file=/usr/lib/libc.sl | 
 | 3898 |     ;; | 
 | 3899 |   esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3900 |   ;; | 
 | 3901 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3902 | irix5* | irix6* | nonstopux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3903 |   case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3904 |   irix5* | nonstopux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3905 |     # this will be overridden with pass_all, but let us keep it just in case | 
 | 3906 |     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | 
 | 3907 |     ;; | 
 | 3908 |   *) | 
 | 3909 |     case $LD in | 
 | 3910 |     *-32|*"-32 ") libmagic=32-bit;; | 
 | 3911 |     *-n32|*"-n32 ") libmagic=N32;; | 
 | 3912 |     *-64|*"-64 ") libmagic=64-bit;; | 
 | 3913 |     *) libmagic=never-match;; | 
 | 3914 |     esac | 
 | 3915 |     # this will be overridden with pass_all, but let us keep it just in case | 
 | 3916 |     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | 
 | 3917 |     ;; | 
 | 3918 |   esac | 
 | 3919 |   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | 
 | 3920 |   lt_cv_deplibs_check_method=pass_all | 
 | 3921 |   ;; | 
 | 3922 |  | 
 | 3923 | # This must be Linux ELF. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3924 | linux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3925 |   case $host_cpu in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3926 |   alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3927 |     lt_cv_deplibs_check_method=pass_all ;; | 
 | 3928 |   *) | 
 | 3929 |     # glibc up to 2.1.1 does not perform some relocations on ARM | 
 | 3930 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | 
 | 3931 |   esac | 
 | 3932 |   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | 
 | 3933 |   ;; | 
 | 3934 |  | 
 | 3935 | netbsd*) | 
 | 3936 |   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3937 |     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3938 |   else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3939 |     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3940 |   fi | 
 | 3941 |   ;; | 
 | 3942 |  | 
 | 3943 | newos6*) | 
 | 3944 |   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | 
 | 3945 |   lt_cv_file_magic_cmd=/usr/bin/file | 
 | 3946 |   lt_cv_file_magic_test_file=/usr/lib/libnls.so | 
 | 3947 |   ;; | 
 | 3948 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3949 | nto-qnx) | 
 | 3950 |   lt_cv_deplibs_check_method=unknown | 
 | 3951 |   ;; | 
 | 3952 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3953 | openbsd*) | 
 | 3954 |   lt_cv_file_magic_cmd=/usr/bin/file | 
 | 3955 |   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
 | 3956 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 3957 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' | 
 | 3958 |   else | 
 | 3959 |     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' | 
 | 3960 |   fi | 
 | 3961 |   ;; | 
 | 3962 |  | 
 | 3963 | osf3* | osf4* | osf5*) | 
 | 3964 |   # this will be overridden with pass_all, but let us keep it just in case | 
 | 3965 |   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | 
 | 3966 |   lt_cv_file_magic_test_file=/shlib/libc.so | 
 | 3967 |   lt_cv_deplibs_check_method=pass_all | 
 | 3968 |   ;; | 
 | 3969 |  | 
 | 3970 | sco3.2v5*) | 
 | 3971 |   lt_cv_deplibs_check_method=pass_all | 
 | 3972 |   ;; | 
 | 3973 |  | 
 | 3974 | solaris*) | 
 | 3975 |   lt_cv_deplibs_check_method=pass_all | 
 | 3976 |   lt_cv_file_magic_test_file=/lib/libc.so | 
 | 3977 |   ;; | 
 | 3978 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3979 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 3980 |   case $host_vendor in | 
 | 3981 |   motorola) | 
 | 3982 |     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]' | 
 | 3983 |     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | 
 | 3984 |     ;; | 
 | 3985 |   ncr) | 
 | 3986 |     lt_cv_deplibs_check_method=pass_all | 
 | 3987 |     ;; | 
 | 3988 |   sequent) | 
 | 3989 |     lt_cv_file_magic_cmd='/bin/file' | 
 | 3990 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | 
 | 3991 |     ;; | 
 | 3992 |   sni) | 
 | 3993 |     lt_cv_file_magic_cmd='/bin/file' | 
 | 3994 |     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | 
 | 3995 |     lt_cv_file_magic_test_file=/lib/libc.so | 
 | 3996 |     ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3997 |   siemens) | 
 | 3998 |     lt_cv_deplibs_check_method=pass_all | 
 | 3999 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4000 |   esac | 
 | 4001 |   ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4002 |  | 
 | 4003 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) | 
 | 4004 |   lt_cv_deplibs_check_method=pass_all | 
 | 4005 |   ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4006 | esac | 
 | 4007 |  | 
 | 4008 | fi | 
 | 4009 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 | 
 | 4010 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 | 
 | 4011 | file_magic_cmd=$lt_cv_file_magic_cmd | 
 | 4012 | deplibs_check_method=$lt_cv_deplibs_check_method | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4013 | test -z "$deplibs_check_method" && deplibs_check_method=unknown | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4014 |  | 
 | 4015 |  | 
 | 4016 |  | 
 | 4017 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4018 | # If no C compiler was specified, use CC. | 
 | 4019 | LTCC=${LTCC-"$CC"} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4020 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4021 | # Allow CC to be a program name with arguments. | 
 | 4022 | compiler=$CC | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4023 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4024 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 
 | 4025 | if test "${enable_libtool_lock+set}" = set; then | 
 | 4026 |   enableval="$enable_libtool_lock" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4027 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4028 | fi; | 
 | 4029 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4030 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4031 | # Some flags need to be propagated to the compiler or linker for good | 
 | 4032 | # libtool support. | 
 | 4033 | case $host in | 
 | 4034 | ia64-*-hpux*) | 
 | 4035 |   # Find out which ABI we are using. | 
 | 4036 |   echo 'int i;' > conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4037 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4038 |   (eval $ac_compile) 2>&5 | 
 | 4039 |   ac_status=$? | 
 | 4040 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4041 |   (exit $ac_status); }; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4042 |     case `/usr/bin/file conftest.$ac_objext` in | 
 | 4043 |     *ELF-32*) | 
 | 4044 |       HPUX_IA64_MODE="32" | 
 | 4045 |       ;; | 
 | 4046 |     *ELF-64*) | 
 | 4047 |       HPUX_IA64_MODE="64" | 
 | 4048 |       ;; | 
 | 4049 |     esac | 
 | 4050 |   fi | 
 | 4051 |   rm -rf conftest* | 
 | 4052 |   ;; | 
 | 4053 | *-*-irix6*) | 
 | 4054 |   # Find out which ABI we are using. | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 4055 |   echo '#line 4055 "configure"' > conftest.$ac_ext | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4056 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4057 |   (eval $ac_compile) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4058 |   ac_status=$? | 
 | 4059 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4060 |   (exit $ac_status); }; then | 
 | 4061 |    if test "$lt_cv_prog_gnu_ld" = yes; then | 
 | 4062 |     case `/usr/bin/file conftest.$ac_objext` in | 
 | 4063 |     *32-bit*) | 
 | 4064 |       LD="${LD-ld} -melf32bsmip" | 
 | 4065 |       ;; | 
 | 4066 |     *N32*) | 
 | 4067 |       LD="${LD-ld} -melf32bmipn32" | 
 | 4068 |       ;; | 
 | 4069 |     *64-bit*) | 
 | 4070 |       LD="${LD-ld} -melf64bmip" | 
 | 4071 |       ;; | 
 | 4072 |     esac | 
 | 4073 |    else | 
 | 4074 |     case `/usr/bin/file conftest.$ac_objext` in | 
 | 4075 |     *32-bit*) | 
 | 4076 |       LD="${LD-ld} -32" | 
 | 4077 |       ;; | 
 | 4078 |     *N32*) | 
 | 4079 |       LD="${LD-ld} -n32" | 
 | 4080 |       ;; | 
 | 4081 |     *64-bit*) | 
 | 4082 |       LD="${LD-ld} -64" | 
 | 4083 |       ;; | 
 | 4084 |     esac | 
 | 4085 |    fi | 
 | 4086 |   fi | 
 | 4087 |   rm -rf conftest* | 
 | 4088 |   ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4089 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4090 | x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) | 
 | 4091 |   # Find out which ABI we are using. | 
 | 4092 |   echo 'int i;' > conftest.$ac_ext | 
 | 4093 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4094 |   (eval $ac_compile) 2>&5 | 
 | 4095 |   ac_status=$? | 
 | 4096 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4097 |   (exit $ac_status); }; then | 
 | 4098 |     case "`/usr/bin/file conftest.o`" in | 
 | 4099 |     *32-bit*) | 
 | 4100 |       case $host in | 
 | 4101 |         x86_64-*linux*) | 
 | 4102 |           LD="${LD-ld} -m elf_i386" | 
 | 4103 |           ;; | 
 | 4104 |         ppc64-*linux*) | 
 | 4105 |           LD="${LD-ld} -m elf32ppclinux" | 
 | 4106 |           ;; | 
 | 4107 |         s390x-*linux*) | 
 | 4108 |           LD="${LD-ld} -m elf_s390" | 
 | 4109 |           ;; | 
 | 4110 |         sparc64-*linux*) | 
 | 4111 |           LD="${LD-ld} -m elf32_sparc" | 
 | 4112 |           ;; | 
 | 4113 |       esac | 
 | 4114 |       ;; | 
 | 4115 |     *64-bit*) | 
 | 4116 |       case $host in | 
 | 4117 |         x86_64-*linux*) | 
 | 4118 |           LD="${LD-ld} -m elf_x86_64" | 
 | 4119 |           ;; | 
 | 4120 |         ppc*-*linux*|powerpc*-*linux*) | 
 | 4121 |           LD="${LD-ld} -m elf64ppc" | 
 | 4122 |           ;; | 
 | 4123 |         s390*-*linux*) | 
 | 4124 |           LD="${LD-ld} -m elf64_s390" | 
 | 4125 |           ;; | 
 | 4126 |         sparc*-*linux*) | 
 | 4127 |           LD="${LD-ld} -m elf64_sparc" | 
 | 4128 |           ;; | 
 | 4129 |       esac | 
 | 4130 |       ;; | 
 | 4131 |     esac | 
 | 4132 |   fi | 
 | 4133 |   rm -rf conftest* | 
 | 4134 |   ;; | 
 | 4135 |  | 
 | 4136 | *-*-sco3.2v5*) | 
 | 4137 |   # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 
 | 4138 |   SAVE_CFLAGS="$CFLAGS" | 
 | 4139 |   CFLAGS="$CFLAGS -belf" | 
 | 4140 |   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 | 
 | 4141 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 | 
 | 4142 | if test "${lt_cv_cc_needs_belf+set}" = set; then | 
 | 4143 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4144 | else | 
 | 4145 |   ac_ext=c | 
 | 4146 | ac_cpp='$CPP $CPPFLAGS' | 
 | 4147 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 4148 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4149 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 4150 |  | 
 | 4151 |      cat >conftest.$ac_ext <<_ACEOF | 
 | 4152 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4153 | /* confdefs.h.  */ | 
 | 4154 | _ACEOF | 
 | 4155 | cat confdefs.h >>conftest.$ac_ext | 
 | 4156 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4157 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4158 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4159 | int | 
 | 4160 | main () | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4161 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4162 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4163 |   ; | 
 | 4164 |   return 0; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4165 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4166 | _ACEOF | 
 | 4167 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 4168 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4169 |   (eval $ac_link) 2>&5 | 
 | 4170 |   ac_status=$? | 
 | 4171 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4172 |   (exit $ac_status); } && | 
 | 4173 |          { ac_try='test -s conftest$ac_exeext' | 
 | 4174 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4175 |   (eval $ac_try) 2>&5 | 
 | 4176 |   ac_status=$? | 
 | 4177 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4178 |   (exit $ac_status); }; }; then | 
 | 4179 |   lt_cv_cc_needs_belf=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4180 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4181 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4182 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4183 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4184 | lt_cv_cc_needs_belf=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4185 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4186 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 4187 |      ac_ext=c | 
 | 4188 | ac_cpp='$CPP $CPPFLAGS' | 
 | 4189 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 4190 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4191 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 4192 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4193 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4194 | echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 | 
 | 4195 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 | 
 | 4196 |   if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 
 | 4197 |     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 
 | 4198 |     CFLAGS="$SAVE_CFLAGS" | 
 | 4199 |   fi | 
 | 4200 |   ;; | 
 | 4201 |  | 
 | 4202 | esac | 
 | 4203 |  | 
 | 4204 | need_locks="$enable_libtool_lock" | 
 | 4205 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4206 |  | 
 | 4207 |  | 
 | 4208 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
 | 4209 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
 | 4210 | if test "${ac_cv_header_stdc+set}" = set; then | 
 | 4211 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4212 | else | 
 | 4213 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4214 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4215 | /* confdefs.h.  */ | 
 | 4216 | _ACEOF | 
 | 4217 | cat confdefs.h >>conftest.$ac_ext | 
 | 4218 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4219 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4220 | #include <stdlib.h> | 
 | 4221 | #include <stdarg.h> | 
 | 4222 | #include <string.h> | 
 | 4223 | #include <float.h> | 
 | 4224 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4225 | int | 
 | 4226 | main () | 
 | 4227 | { | 
 | 4228 |  | 
 | 4229 |   ; | 
 | 4230 |   return 0; | 
 | 4231 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4232 | _ACEOF | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4233 | rm -f conftest.$ac_objext | 
 | 4234 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4235 |   (eval $ac_compile) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4236 |   ac_status=$? | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4237 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4238 |   (exit $ac_status); } && | 
 | 4239 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4240 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4241 |   (eval $ac_try) 2>&5 | 
 | 4242 |   ac_status=$? | 
 | 4243 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4244 |   (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4245 |   ac_cv_header_stdc=yes | 
 | 4246 | else | 
 | 4247 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4248 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4249 |  | 
 | 4250 | ac_cv_header_stdc=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4251 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4252 | rm -f conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4253 |  | 
 | 4254 | if test $ac_cv_header_stdc = yes; then | 
 | 4255 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
 | 4256 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4257 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4258 | /* confdefs.h.  */ | 
 | 4259 | _ACEOF | 
 | 4260 | cat confdefs.h >>conftest.$ac_ext | 
 | 4261 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4262 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4263 | #include <string.h> | 
 | 4264 |  | 
 | 4265 | _ACEOF | 
 | 4266 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4267 |   $EGREP "memchr" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4268 |   : | 
 | 4269 | else | 
 | 4270 |   ac_cv_header_stdc=no | 
 | 4271 | fi | 
 | 4272 | rm -f conftest* | 
 | 4273 |  | 
 | 4274 | fi | 
 | 4275 |  | 
 | 4276 | if test $ac_cv_header_stdc = yes; then | 
 | 4277 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
 | 4278 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4279 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4280 | /* confdefs.h.  */ | 
 | 4281 | _ACEOF | 
 | 4282 | cat confdefs.h >>conftest.$ac_ext | 
 | 4283 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4284 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4285 | #include <stdlib.h> | 
 | 4286 |  | 
 | 4287 | _ACEOF | 
 | 4288 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4289 |   $EGREP "free" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4290 |   : | 
 | 4291 | else | 
 | 4292 |   ac_cv_header_stdc=no | 
 | 4293 | fi | 
 | 4294 | rm -f conftest* | 
 | 4295 |  | 
 | 4296 | fi | 
 | 4297 |  | 
 | 4298 | if test $ac_cv_header_stdc = yes; then | 
 | 4299 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
 | 4300 |   if test "$cross_compiling" = yes; then | 
 | 4301 |   : | 
 | 4302 | else | 
 | 4303 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4304 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4305 | /* confdefs.h.  */ | 
 | 4306 | _ACEOF | 
 | 4307 | cat confdefs.h >>conftest.$ac_ext | 
 | 4308 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4309 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4310 | #include <ctype.h> | 
 | 4311 | #if ((' ' & 0x0FF) == 0x020) | 
 | 4312 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
 | 4313 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
 | 4314 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4315 | # define ISLOWER(c) \ | 
 | 4316 |                    (('a' <= (c) && (c) <= 'i') \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4317 |                      || ('j' <= (c) && (c) <= 'r') \ | 
 | 4318 |                      || ('s' <= (c) && (c) <= 'z')) | 
 | 4319 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
 | 4320 | #endif | 
 | 4321 |  | 
 | 4322 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
 | 4323 | int | 
 | 4324 | main () | 
 | 4325 | { | 
 | 4326 |   int i; | 
 | 4327 |   for (i = 0; i < 256; i++) | 
 | 4328 |     if (XOR (islower (i), ISLOWER (i)) | 
 | 4329 |         || toupper (i) != TOUPPER (i)) | 
 | 4330 |       exit(2); | 
 | 4331 |   exit (0); | 
 | 4332 | } | 
 | 4333 | _ACEOF | 
 | 4334 | rm -f conftest$ac_exeext | 
 | 4335 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 4336 |   (eval $ac_link) 2>&5 | 
 | 4337 |   ac_status=$? | 
 | 4338 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4339 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 4340 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4341 |   (eval $ac_try) 2>&5 | 
 | 4342 |   ac_status=$? | 
 | 4343 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4344 |   (exit $ac_status); }; }; then | 
 | 4345 |   : | 
 | 4346 | else | 
 | 4347 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 4348 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4349 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4350 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4351 | ( exit $ac_status ) | 
 | 4352 | ac_cv_header_stdc=no | 
 | 4353 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4354 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4355 | fi | 
 | 4356 | fi | 
 | 4357 | fi | 
 | 4358 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
 | 4359 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
 | 4360 | if test $ac_cv_header_stdc = yes; then | 
 | 4361 |  | 
 | 4362 | cat >>confdefs.h <<\_ACEOF | 
 | 4363 | #define STDC_HEADERS 1 | 
 | 4364 | _ACEOF | 
 | 4365 |  | 
 | 4366 | fi | 
 | 4367 |  | 
 | 4368 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
 | 4369 |  | 
 | 4370 |  | 
 | 4371 |  | 
 | 4372 |  | 
 | 4373 |  | 
 | 4374 |  | 
 | 4375 |  | 
 | 4376 |  | 
 | 4377 |  | 
 | 4378 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
 | 4379 |                   inttypes.h stdint.h unistd.h | 
 | 4380 | do | 
 | 4381 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 4382 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 4383 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 4384 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 4385 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4386 | else | 
 | 4387 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4388 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4389 | /* confdefs.h.  */ | 
 | 4390 | _ACEOF | 
 | 4391 | cat confdefs.h >>conftest.$ac_ext | 
 | 4392 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4393 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4394 | $ac_includes_default | 
 | 4395 |  | 
 | 4396 | #include <$ac_header> | 
 | 4397 | _ACEOF | 
 | 4398 | rm -f conftest.$ac_objext | 
 | 4399 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4400 |   (eval $ac_compile) 2>&5 | 
 | 4401 |   ac_status=$? | 
 | 4402 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4403 |   (exit $ac_status); } && | 
 | 4404 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4405 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4406 |   (eval $ac_try) 2>&5 | 
 | 4407 |   ac_status=$? | 
 | 4408 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4409 |   (exit $ac_status); }; }; then | 
 | 4410 |   eval "$as_ac_Header=yes" | 
 | 4411 | else | 
 | 4412 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4413 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4414 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4415 | eval "$as_ac_Header=no" | 
 | 4416 | fi | 
 | 4417 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 4418 | fi | 
 | 4419 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 4420 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 4421 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 4422 |   cat >>confdefs.h <<_ACEOF | 
 | 4423 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 4424 | _ACEOF | 
 | 4425 |  | 
 | 4426 | fi | 
 | 4427 |  | 
 | 4428 | done | 
 | 4429 |  | 
 | 4430 |  | 
 | 4431 |  | 
 | 4432 | for ac_header in dlfcn.h | 
 | 4433 | do | 
 | 4434 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 4435 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 4436 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 4437 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 4438 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 4439 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4440 | fi | 
 | 4441 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 4442 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 4443 | else | 
 | 4444 |   # Is the header compilable? | 
 | 4445 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 4446 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 4447 | cat >conftest.$ac_ext <<_ACEOF | 
 | 4448 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4449 | /* confdefs.h.  */ | 
 | 4450 | _ACEOF | 
 | 4451 | cat confdefs.h >>conftest.$ac_ext | 
 | 4452 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4453 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4454 | $ac_includes_default | 
 | 4455 | #include <$ac_header> | 
 | 4456 | _ACEOF | 
 | 4457 | rm -f conftest.$ac_objext | 
 | 4458 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4459 |   (eval $ac_compile) 2>&5 | 
 | 4460 |   ac_status=$? | 
 | 4461 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4462 |   (exit $ac_status); } && | 
 | 4463 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4464 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4465 |   (eval $ac_try) 2>&5 | 
 | 4466 |   ac_status=$? | 
 | 4467 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4468 |   (exit $ac_status); }; }; then | 
 | 4469 |   ac_header_compiler=yes | 
 | 4470 | else | 
 | 4471 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4472 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4473 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4474 | ac_header_compiler=no | 
 | 4475 | fi | 
 | 4476 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 4477 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 4478 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 4479 |  | 
 | 4480 | # Is the header present? | 
 | 4481 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 4482 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 4483 | cat >conftest.$ac_ext <<_ACEOF | 
 | 4484 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4485 | /* confdefs.h.  */ | 
 | 4486 | _ACEOF | 
 | 4487 | cat confdefs.h >>conftest.$ac_ext | 
 | 4488 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4489 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4490 | #include <$ac_header> | 
 | 4491 | _ACEOF | 
 | 4492 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 4493 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 4494 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4495 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4496 |   rm -f conftest.er1 | 
 | 4497 |   cat conftest.err >&5 | 
 | 4498 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4499 |   (exit $ac_status); } >/dev/null; then | 
 | 4500 |   if test -s conftest.err; then | 
 | 4501 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 4502 |   else | 
 | 4503 |     ac_cpp_err= | 
 | 4504 |   fi | 
 | 4505 | else | 
 | 4506 |   ac_cpp_err=yes | 
 | 4507 | fi | 
 | 4508 | if test -z "$ac_cpp_err"; then | 
 | 4509 |   ac_header_preproc=yes | 
 | 4510 | else | 
 | 4511 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4512 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4513 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4514 |   ac_header_preproc=no | 
 | 4515 | fi | 
 | 4516 | rm -f conftest.err conftest.$ac_ext | 
 | 4517 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 4518 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 4519 |  | 
 | 4520 | # So?  What about this header? | 
 | 4521 | case $ac_header_compiler:$ac_header_preproc in | 
 | 4522 |   yes:no ) | 
 | 4523 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 4524 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 4525 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4526 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 4527 |     ( | 
 | 4528 |       cat <<\_ASBOX | 
 | 4529 | ## ------------------------------------ ## | 
 | 4530 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 4531 | ## ------------------------------------ ## | 
 | 4532 | _ASBOX | 
 | 4533 |     ) | | 
 | 4534 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 4535 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4536 |   no:yes ) | 
 | 4537 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 4538 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 4539 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 4540 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 4541 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4542 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 4543 |     ( | 
 | 4544 |       cat <<\_ASBOX | 
 | 4545 | ## ------------------------------------ ## | 
 | 4546 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 4547 | ## ------------------------------------ ## | 
 | 4548 | _ASBOX | 
 | 4549 |     ) | | 
 | 4550 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 4551 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4552 | esac | 
 | 4553 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 4554 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 4555 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 4556 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4557 | else | 
 | 4558 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 4559 | fi | 
 | 4560 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 4561 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 4562 |  | 
 | 4563 | fi | 
 | 4564 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 4565 |   cat >>confdefs.h <<_ACEOF | 
 | 4566 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 4567 | _ACEOF | 
 | 4568 |  | 
 | 4569 | fi | 
 | 4570 |  | 
 | 4571 | done | 
 | 4572 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4573 | ac_ext=cc | 
 | 4574 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 4575 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 4576 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4577 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 4578 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 | 
 | 4579 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 | 
 | 4580 | if test -z "$CXXCPP"; then | 
 | 4581 |   if test "${ac_cv_prog_CXXCPP+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4582 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4583 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4584 |       # Double quotes because CXXCPP needs to be expanded | 
 | 4585 |     for CXXCPP in "$CXX -E" "/lib/cpp" | 
 | 4586 |     do | 
 | 4587 |       ac_preproc_ok=false | 
 | 4588 | for ac_cxx_preproc_warn_flag in '' yes | 
 | 4589 | do | 
 | 4590 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 4591 |   # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4592 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 4593 |   # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4594 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 4595 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 4596 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4597 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4598 | /* confdefs.h.  */ | 
 | 4599 | _ACEOF | 
 | 4600 | cat confdefs.h >>conftest.$ac_ext | 
 | 4601 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4602 | /* end confdefs.h.  */ | 
 | 4603 | #ifdef __STDC__ | 
 | 4604 | # include <limits.h> | 
 | 4605 | #else | 
 | 4606 | # include <assert.h> | 
 | 4607 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4608 |                      Syntax error | 
 | 4609 | _ACEOF | 
 | 4610 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 4611 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 4612 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4613 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4614 |   rm -f conftest.er1 | 
 | 4615 |   cat conftest.err >&5 | 
 | 4616 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4617 |   (exit $ac_status); } >/dev/null; then | 
 | 4618 |   if test -s conftest.err; then | 
 | 4619 |     ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4620 |   else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4621 |     ac_cpp_err= | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4622 |   fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4623 | else | 
 | 4624 |   ac_cpp_err=yes | 
 | 4625 | fi | 
 | 4626 | if test -z "$ac_cpp_err"; then | 
 | 4627 |   : | 
 | 4628 | else | 
 | 4629 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4630 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4631 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4632 |   # Broken: fails on valid input. | 
 | 4633 | continue | 
 | 4634 | fi | 
 | 4635 | rm -f conftest.err conftest.$ac_ext | 
 | 4636 |  | 
 | 4637 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 4638 |   # can be detected and how. | 
 | 4639 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4640 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4641 | /* confdefs.h.  */ | 
 | 4642 | _ACEOF | 
 | 4643 | cat confdefs.h >>conftest.$ac_ext | 
 | 4644 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4645 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4646 | #include <ac_nonexistent.h> | 
 | 4647 | _ACEOF | 
 | 4648 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 4649 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 4650 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4651 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4652 |   rm -f conftest.er1 | 
 | 4653 |   cat conftest.err >&5 | 
 | 4654 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4655 |   (exit $ac_status); } >/dev/null; then | 
 | 4656 |   if test -s conftest.err; then | 
 | 4657 |     ac_cpp_err=$ac_cxx_preproc_warn_flag | 
 | 4658 |   else | 
 | 4659 |     ac_cpp_err= | 
 | 4660 |   fi | 
 | 4661 | else | 
 | 4662 |   ac_cpp_err=yes | 
 | 4663 | fi | 
 | 4664 | if test -z "$ac_cpp_err"; then | 
 | 4665 |   # Broken: success on invalid input. | 
 | 4666 | continue | 
 | 4667 | else | 
 | 4668 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4669 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4670 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4671 |   # Passes both tests. | 
 | 4672 | ac_preproc_ok=: | 
 | 4673 | break | 
 | 4674 | fi | 
 | 4675 | rm -f conftest.err conftest.$ac_ext | 
 | 4676 |  | 
 | 4677 | done | 
 | 4678 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 4679 | rm -f conftest.err conftest.$ac_ext | 
 | 4680 | if $ac_preproc_ok; then | 
 | 4681 |   break | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4682 | fi | 
 | 4683 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4684 |     done | 
 | 4685 |     ac_cv_prog_CXXCPP=$CXXCPP | 
 | 4686 |  | 
 | 4687 | fi | 
 | 4688 |   CXXCPP=$ac_cv_prog_CXXCPP | 
 | 4689 | else | 
 | 4690 |   ac_cv_prog_CXXCPP=$CXXCPP | 
 | 4691 | fi | 
 | 4692 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 | 
 | 4693 | echo "${ECHO_T}$CXXCPP" >&6 | 
 | 4694 | ac_preproc_ok=false | 
 | 4695 | for ac_cxx_preproc_warn_flag in '' yes | 
 | 4696 | do | 
 | 4697 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 4698 |   # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4699 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 4700 |   # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4701 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 4702 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 4703 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4704 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4705 | /* confdefs.h.  */ | 
 | 4706 | _ACEOF | 
 | 4707 | cat confdefs.h >>conftest.$ac_ext | 
 | 4708 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4709 | /* end confdefs.h.  */ | 
 | 4710 | #ifdef __STDC__ | 
 | 4711 | # include <limits.h> | 
 | 4712 | #else | 
 | 4713 | # include <assert.h> | 
 | 4714 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4715 |                      Syntax error | 
 | 4716 | _ACEOF | 
 | 4717 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 4718 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 4719 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4720 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4721 |   rm -f conftest.er1 | 
 | 4722 |   cat conftest.err >&5 | 
 | 4723 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4724 |   (exit $ac_status); } >/dev/null; then | 
 | 4725 |   if test -s conftest.err; then | 
 | 4726 |     ac_cpp_err=$ac_cxx_preproc_warn_flag | 
 | 4727 |   else | 
 | 4728 |     ac_cpp_err= | 
 | 4729 |   fi | 
 | 4730 | else | 
 | 4731 |   ac_cpp_err=yes | 
 | 4732 | fi | 
 | 4733 | if test -z "$ac_cpp_err"; then | 
 | 4734 |   : | 
 | 4735 | else | 
 | 4736 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4737 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4738 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4739 |   # Broken: fails on valid input. | 
 | 4740 | continue | 
 | 4741 | fi | 
 | 4742 | rm -f conftest.err conftest.$ac_ext | 
 | 4743 |  | 
 | 4744 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 4745 |   # can be detected and how. | 
 | 4746 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4747 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4748 | /* confdefs.h.  */ | 
 | 4749 | _ACEOF | 
 | 4750 | cat confdefs.h >>conftest.$ac_ext | 
 | 4751 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4752 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4753 | #include <ac_nonexistent.h> | 
 | 4754 | _ACEOF | 
 | 4755 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 4756 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 4757 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4758 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4759 |   rm -f conftest.er1 | 
 | 4760 |   cat conftest.err >&5 | 
 | 4761 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4762 |   (exit $ac_status); } >/dev/null; then | 
 | 4763 |   if test -s conftest.err; then | 
 | 4764 |     ac_cpp_err=$ac_cxx_preproc_warn_flag | 
 | 4765 |   else | 
 | 4766 |     ac_cpp_err= | 
 | 4767 |   fi | 
 | 4768 | else | 
 | 4769 |   ac_cpp_err=yes | 
 | 4770 | fi | 
 | 4771 | if test -z "$ac_cpp_err"; then | 
 | 4772 |   # Broken: success on invalid input. | 
 | 4773 | continue | 
 | 4774 | else | 
 | 4775 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4776 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4777 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4778 |   # Passes both tests. | 
 | 4779 | ac_preproc_ok=: | 
 | 4780 | break | 
 | 4781 | fi | 
 | 4782 | rm -f conftest.err conftest.$ac_ext | 
 | 4783 |  | 
 | 4784 | done | 
 | 4785 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 4786 | rm -f conftest.err conftest.$ac_ext | 
 | 4787 | if $ac_preproc_ok; then | 
 | 4788 |   : | 
 | 4789 | else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4790 |   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
 | 4791 | See \`config.log' for more details." >&5 | 
 | 4792 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
 | 4793 | See \`config.log' for more details." >&2;} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4794 |    { (exit 1); exit 1; }; } | 
 | 4795 | fi | 
 | 4796 |  | 
 | 4797 | ac_ext=cc | 
 | 4798 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 4799 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 4800 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4801 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 4802 |  | 
 | 4803 |  | 
 | 4804 | ac_ext=f | 
 | 4805 | ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' | 
 | 4806 | ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4807 | ac_compiler_gnu=$ac_cv_f77_compiler_gnu | 
 | 4808 | if test -n "$ac_tool_prefix"; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4809 |   for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4810 |   do | 
 | 4811 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
 | 4812 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
 | 4813 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 4814 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 4815 | if test "${ac_cv_prog_F77+set}" = set; then | 
 | 4816 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4817 | else | 
 | 4818 |   if test -n "$F77"; then | 
 | 4819 |   ac_cv_prog_F77="$F77" # Let the user override the test. | 
 | 4820 | else | 
 | 4821 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 4822 | for as_dir in $PATH | 
 | 4823 | do | 
 | 4824 |   IFS=$as_save_IFS | 
 | 4825 |   test -z "$as_dir" && as_dir=. | 
 | 4826 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 4827 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 4828 |     ac_cv_prog_F77="$ac_tool_prefix$ac_prog" | 
 | 4829 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 4830 |     break 2 | 
 | 4831 |   fi | 
 | 4832 | done | 
 | 4833 | done | 
 | 4834 |  | 
 | 4835 | fi | 
 | 4836 | fi | 
 | 4837 | F77=$ac_cv_prog_F77 | 
 | 4838 | if test -n "$F77"; then | 
 | 4839 |   echo "$as_me:$LINENO: result: $F77" >&5 | 
 | 4840 | echo "${ECHO_T}$F77" >&6 | 
 | 4841 | else | 
 | 4842 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4843 | echo "${ECHO_T}no" >&6 | 
 | 4844 | fi | 
 | 4845 |  | 
 | 4846 |     test -n "$F77" && break | 
 | 4847 |   done | 
 | 4848 | fi | 
 | 4849 | if test -z "$F77"; then | 
 | 4850 |   ac_ct_F77=$F77 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4851 |   for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4852 | do | 
 | 4853 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 4854 | set dummy $ac_prog; ac_word=$2 | 
 | 4855 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 4856 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 4857 | if test "${ac_cv_prog_ac_ct_F77+set}" = set; then | 
 | 4858 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4859 | else | 
 | 4860 |   if test -n "$ac_ct_F77"; then | 
 | 4861 |   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. | 
 | 4862 | else | 
 | 4863 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 4864 | for as_dir in $PATH | 
 | 4865 | do | 
 | 4866 |   IFS=$as_save_IFS | 
 | 4867 |   test -z "$as_dir" && as_dir=. | 
 | 4868 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 4869 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 4870 |     ac_cv_prog_ac_ct_F77="$ac_prog" | 
 | 4871 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 4872 |     break 2 | 
 | 4873 |   fi | 
 | 4874 | done | 
 | 4875 | done | 
 | 4876 |  | 
 | 4877 | fi | 
 | 4878 | fi | 
 | 4879 | ac_ct_F77=$ac_cv_prog_ac_ct_F77 | 
 | 4880 | if test -n "$ac_ct_F77"; then | 
 | 4881 |   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 | 
 | 4882 | echo "${ECHO_T}$ac_ct_F77" >&6 | 
 | 4883 | else | 
 | 4884 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4885 | echo "${ECHO_T}no" >&6 | 
 | 4886 | fi | 
 | 4887 |  | 
 | 4888 |   test -n "$ac_ct_F77" && break | 
 | 4889 | done | 
 | 4890 |  | 
 | 4891 |   F77=$ac_ct_F77 | 
 | 4892 | fi | 
 | 4893 |  | 
 | 4894 |  | 
 | 4895 | # Provide some information about the compiler. | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 4896 | echo "$as_me:4896:" \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4897 |      "checking for Fortran 77 compiler version" >&5 | 
 | 4898 | ac_compiler=`set X $ac_compile; echo $2` | 
 | 4899 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
 | 4900 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
 | 4901 |   ac_status=$? | 
 | 4902 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4903 |   (exit $ac_status); } | 
 | 4904 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
 | 4905 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
 | 4906 |   ac_status=$? | 
 | 4907 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4908 |   (exit $ac_status); } | 
 | 4909 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
 | 4910 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
 | 4911 |   ac_status=$? | 
 | 4912 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4913 |   (exit $ac_status); } | 
 | 4914 |  | 
 | 4915 | # If we don't use `.F' as extension, the preprocessor is not run on the | 
 | 4916 | # input file. | 
 | 4917 | ac_save_ext=$ac_ext | 
 | 4918 | ac_ext=F | 
 | 4919 | echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 | 
 | 4920 | echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 | 
 | 4921 | if test "${ac_cv_f77_compiler_gnu+set}" = set; then | 
 | 4922 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4923 | else | 
 | 4924 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4925 |       program main | 
 | 4926 | #ifndef __GNUC__ | 
 | 4927 |        choke me | 
 | 4928 | #endif | 
 | 4929 |  | 
 | 4930 |       end | 
 | 4931 | _ACEOF | 
 | 4932 | rm -f conftest.$ac_objext | 
 | 4933 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4934 |   (eval $ac_compile) 2>&5 | 
 | 4935 |   ac_status=$? | 
 | 4936 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4937 |   (exit $ac_status); } && | 
 | 4938 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4939 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4940 |   (eval $ac_try) 2>&5 | 
 | 4941 |   ac_status=$? | 
 | 4942 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4943 |   (exit $ac_status); }; }; then | 
 | 4944 |   ac_compiler_gnu=yes | 
 | 4945 | else | 
 | 4946 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4947 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4948 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4949 | ac_compiler_gnu=no | 
 | 4950 | fi | 
 | 4951 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 4952 | ac_cv_f77_compiler_gnu=$ac_compiler_gnu | 
 | 4953 |  | 
 | 4954 | fi | 
 | 4955 | echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 | 
 | 4956 | echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 | 
 | 4957 | ac_ext=$ac_save_ext | 
 | 4958 | G77=`test $ac_compiler_gnu = yes && echo yes` | 
 | 4959 | ac_test_FFLAGS=${FFLAGS+set} | 
 | 4960 | ac_save_FFLAGS=$FFLAGS | 
 | 4961 | FFLAGS= | 
 | 4962 | echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 | 
 | 4963 | echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 | 
 | 4964 | if test "${ac_cv_prog_f77_g+set}" = set; then | 
 | 4965 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4966 | else | 
 | 4967 |   FFLAGS=-g | 
 | 4968 | cat >conftest.$ac_ext <<_ACEOF | 
 | 4969 |       program main | 
 | 4970 |  | 
 | 4971 |       end | 
 | 4972 | _ACEOF | 
 | 4973 | rm -f conftest.$ac_objext | 
 | 4974 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4975 |   (eval $ac_compile) 2>&5 | 
 | 4976 |   ac_status=$? | 
 | 4977 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4978 |   (exit $ac_status); } && | 
 | 4979 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4980 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4981 |   (eval $ac_try) 2>&5 | 
 | 4982 |   ac_status=$? | 
 | 4983 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4984 |   (exit $ac_status); }; }; then | 
 | 4985 |   ac_cv_prog_f77_g=yes | 
 | 4986 | else | 
 | 4987 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4988 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4989 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4990 | ac_cv_prog_f77_g=no | 
 | 4991 | fi | 
 | 4992 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 4993 |  | 
 | 4994 | fi | 
 | 4995 | echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 | 
 | 4996 | echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 | 
 | 4997 | if test "$ac_test_FFLAGS" = set; then | 
 | 4998 |   FFLAGS=$ac_save_FFLAGS | 
 | 4999 | elif test $ac_cv_prog_f77_g = yes; then | 
 | 5000 |   if test "$G77" = yes; then | 
 | 5001 |     FFLAGS="-g -O2" | 
 | 5002 |   else | 
 | 5003 |     FFLAGS="-g" | 
 | 5004 |   fi | 
 | 5005 | else | 
 | 5006 |   if test "$G77" = yes; then | 
 | 5007 |     FFLAGS="-O2" | 
 | 5008 |   else | 
 | 5009 |     FFLAGS= | 
 | 5010 |   fi | 
 | 5011 | fi | 
 | 5012 | ac_ext=c | 
 | 5013 | ac_cpp='$CPP $CPPFLAGS' | 
 | 5014 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 5015 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 5016 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 5017 |  | 
 | 5018 |  | 
 | 5019 |  | 
 | 5020 | # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! | 
 | 5021 |  | 
 | 5022 | # find the maximum length of command line arguments | 
 | 5023 | echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 | 
 | 5024 | echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 | 
 | 5025 | if test "${lt_cv_sys_max_cmd_len+set}" = set; then | 
 | 5026 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5027 | else | 
 | 5028 |     i=0 | 
 | 5029 |   testring="ABCD" | 
 | 5030 |  | 
 | 5031 |   case $build_os in | 
 | 5032 |   msdosdjgpp*) | 
 | 5033 |     # On DJGPP, this test can blow up pretty badly due to problems in libc | 
 | 5034 |     # (any single argument exceeding 2000 bytes causes a buffer overrun | 
 | 5035 |     # during glob expansion).  Even if it were fixed, the result of this | 
 | 5036 |     # check would be larger than it should be. | 
 | 5037 |     lt_cv_sys_max_cmd_len=12288;    # 12K is about right | 
 | 5038 |     ;; | 
 | 5039 |  | 
 | 5040 |   gnu*) | 
 | 5041 |     # Under GNU Hurd, this test is not required because there is | 
 | 5042 |     # no limit to the length of command line arguments. | 
 | 5043 |     # Libtool will interpret -1 as no limit whatsoever | 
 | 5044 |     lt_cv_sys_max_cmd_len=-1; | 
 | 5045 |     ;; | 
 | 5046 |  | 
 | 5047 |   cygwin* | mingw*) | 
 | 5048 |     # On Win9x/ME, this test blows up -- it succeeds, but takes | 
 | 5049 |     # about 5 minutes as the teststring grows exponentially. | 
 | 5050 |     # Worse, since 9x/ME are not pre-emptively multitasking, | 
 | 5051 |     # you end up with a "frozen" computer, even though with patience | 
 | 5052 |     # the test eventually succeeds (with a max line length of 256k). | 
 | 5053 |     # Instead, let's just punt: use the minimum linelength reported by | 
 | 5054 |     # all of the supported platforms: 8192 (on NT/2K/XP). | 
 | 5055 |     lt_cv_sys_max_cmd_len=8192; | 
 | 5056 |     ;; | 
 | 5057 |  | 
 | 5058 |  *) | 
 | 5059 |     # If test is not a shell built-in, we'll probably end up computing a | 
 | 5060 |     # maximum length that is only half of the actual maximum length, but | 
 | 5061 |     # we can't tell. | 
 | 5062 |     while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ | 
 | 5063 | 	       = "XX$testring") >/dev/null 2>&1 && | 
 | 5064 | 	    new_result=`expr "X$testring" : ".*" 2>&1` && | 
 | 5065 | 	    lt_cv_sys_max_cmd_len=$new_result && | 
 | 5066 | 	    test $i != 17 # 1/2 MB should be enough | 
 | 5067 |     do | 
 | 5068 |       i=`expr $i + 1` | 
 | 5069 |       testring=$testring$testring | 
 | 5070 |     done | 
 | 5071 |     testring= | 
 | 5072 |     # Add a significant safety factor because C++ compilers can tack on massive | 
 | 5073 |     # amounts of additional arguments before passing them to the linker. | 
 | 5074 |     # It appears as though 1/2 is a usable value. | 
 | 5075 |     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | 
 | 5076 |     ;; | 
 | 5077 |   esac | 
 | 5078 |  | 
 | 5079 | fi | 
 | 5080 |  | 
 | 5081 | if test -n $lt_cv_sys_max_cmd_len ; then | 
 | 5082 |   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 | 
 | 5083 | echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 | 
 | 5084 | else | 
 | 5085 |   echo "$as_me:$LINENO: result: none" >&5 | 
 | 5086 | echo "${ECHO_T}none" >&6 | 
 | 5087 | fi | 
 | 5088 |  | 
 | 5089 |  | 
 | 5090 |  | 
 | 5091 |  | 
 | 5092 | # Check for command to grab the raw symbol name followed by C symbol from nm. | 
 | 5093 | echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 | 
 | 5094 | echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 | 
 | 5095 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then | 
 | 5096 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5097 | else | 
 | 5098 |  | 
 | 5099 | # These are sane defaults that work on at least a few old systems. | 
 | 5100 | # [They come from Ultrix.  What could be older than Ultrix?!! ;)] | 
 | 5101 |  | 
 | 5102 | # Character class describing NM global symbol codes. | 
 | 5103 | symcode='[BCDEGRST]' | 
 | 5104 |  | 
 | 5105 | # Regexp to match symbols that can be accessed directly from C. | 
 | 5106 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | 
 | 5107 |  | 
 | 5108 | # Transform the above into a raw symbol and a C symbol. | 
 | 5109 | symxfrm='\1 \2\3 \3' | 
 | 5110 |  | 
 | 5111 | # Transform an extracted symbol line into a proper C declaration | 
 | 5112 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" | 
 | 5113 |  | 
 | 5114 | # Transform an extracted symbol line into symbol name and symbol address | 
 | 5115 | lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'" | 
 | 5116 |  | 
 | 5117 | # Define system-specific variables. | 
 | 5118 | case $host_os in | 
 | 5119 | aix*) | 
 | 5120 |   symcode='[BCDT]' | 
 | 5121 |   ;; | 
 | 5122 | cygwin* | mingw* | pw32*) | 
 | 5123 |   symcode='[ABCDGISTW]' | 
 | 5124 |   ;; | 
 | 5125 | hpux*) # Its linker distinguishes data from code symbols | 
 | 5126 |   if test "$host_cpu" = ia64; then | 
 | 5127 |     symcode='[ABCDEGRST]' | 
 | 5128 |   fi | 
 | 5129 |   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | 
 | 5130 |   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'" | 
 | 5131 |   ;; | 
 | 5132 | irix* | nonstopux*) | 
 | 5133 |   symcode='[BCDEGRST]' | 
 | 5134 |   ;; | 
 | 5135 | osf*) | 
 | 5136 |   symcode='[BCDEGQRST]' | 
 | 5137 |   ;; | 
 | 5138 | solaris* | sysv5*) | 
 | 5139 |   symcode='[BDT]' | 
 | 5140 |   ;; | 
 | 5141 | sysv4) | 
 | 5142 |   symcode='[DFNSTU]' | 
 | 5143 |   ;; | 
 | 5144 | esac | 
 | 5145 |  | 
 | 5146 | # Handle CRLF in mingw tool chain | 
 | 5147 | opt_cr= | 
 | 5148 | case $build_os in | 
 | 5149 | mingw*) | 
 | 5150 |   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp | 
 | 5151 |   ;; | 
 | 5152 | esac | 
 | 5153 |  | 
 | 5154 | # If we're using GNU nm, then use its standard symbol codes. | 
 | 5155 | case `$NM -V 2>&1` in | 
 | 5156 | *GNU* | *'with BFD'*) | 
 | 5157 |   symcode='[ABCDGISTW]' ;; | 
 | 5158 | esac | 
 | 5159 |  | 
 | 5160 | # Try without a prefix undercore, then with it. | 
 | 5161 | for ac_symprfx in "" "_"; do | 
 | 5162 |  | 
 | 5163 |   # Write the raw and C identifiers. | 
 | 5164 |   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" | 
 | 5165 |  | 
 | 5166 |   # Check to see that the pipe works correctly. | 
 | 5167 |   pipe_works=no | 
 | 5168 |  | 
 | 5169 |   rm -f conftest* | 
 | 5170 |   cat > conftest.$ac_ext <<EOF | 
 | 5171 | #ifdef __cplusplus | 
 | 5172 | extern "C" { | 
 | 5173 | #endif | 
 | 5174 | char nm_test_var; | 
 | 5175 | void nm_test_func(){} | 
 | 5176 | #ifdef __cplusplus | 
 | 5177 | } | 
 | 5178 | #endif | 
 | 5179 | int main(){nm_test_var='a';nm_test_func();return(0);} | 
 | 5180 | EOF | 
 | 5181 |  | 
 | 5182 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 5183 |   (eval $ac_compile) 2>&5 | 
 | 5184 |   ac_status=$? | 
 | 5185 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5186 |   (exit $ac_status); }; then | 
 | 5187 |     # Now try to grab the symbols. | 
 | 5188 |     nlist=conftest.nm | 
 | 5189 |     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 | 
 | 5190 |   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 | 
 | 5191 |   ac_status=$? | 
 | 5192 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5193 |   (exit $ac_status); } && test -s "$nlist"; then | 
 | 5194 |       # Try sorting and uniquifying the output. | 
 | 5195 |       if sort "$nlist" | uniq > "$nlist"T; then | 
 | 5196 | 	mv -f "$nlist"T "$nlist" | 
 | 5197 |       else | 
 | 5198 | 	rm -f "$nlist"T | 
 | 5199 |       fi | 
 | 5200 |  | 
 | 5201 |       # Make sure that we snagged all the symbols we need. | 
 | 5202 |       if grep ' nm_test_var$' "$nlist" >/dev/null; then | 
 | 5203 | 	if grep ' nm_test_func$' "$nlist" >/dev/null; then | 
 | 5204 | 	  cat <<EOF > conftest.$ac_ext | 
 | 5205 | #ifdef __cplusplus | 
 | 5206 | extern "C" { | 
 | 5207 | #endif | 
 | 5208 |  | 
 | 5209 | EOF | 
 | 5210 | 	  # Now generate the symbol file. | 
 | 5211 | 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' | 
 | 5212 |  | 
 | 5213 | 	  cat <<EOF >> conftest.$ac_ext | 
 | 5214 | #if defined (__STDC__) && __STDC__ | 
 | 5215 | # define lt_ptr_t void * | 
 | 5216 | #else | 
 | 5217 | # define lt_ptr_t char * | 
 | 5218 | # define const | 
 | 5219 | #endif | 
 | 5220 |  | 
 | 5221 | /* The mapping between symbol names and symbols. */ | 
 | 5222 | const struct { | 
 | 5223 |   const char *name; | 
 | 5224 |   lt_ptr_t address; | 
 | 5225 | } | 
 | 5226 | lt_preloaded_symbols[] = | 
 | 5227 | { | 
 | 5228 | EOF | 
 | 5229 | 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext | 
 | 5230 | 	  cat <<\EOF >> conftest.$ac_ext | 
 | 5231 |   {0, (lt_ptr_t) 0} | 
 | 5232 | }; | 
 | 5233 |  | 
 | 5234 | #ifdef __cplusplus | 
 | 5235 | } | 
 | 5236 | #endif | 
 | 5237 | EOF | 
 | 5238 | 	  # Now try linking the two files. | 
 | 5239 | 	  mv conftest.$ac_objext conftstm.$ac_objext | 
 | 5240 | 	  lt_save_LIBS="$LIBS" | 
 | 5241 | 	  lt_save_CFLAGS="$CFLAGS" | 
 | 5242 | 	  LIBS="conftstm.$ac_objext" | 
 | 5243 | 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" | 
 | 5244 | 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 5245 |   (eval $ac_link) 2>&5 | 
 | 5246 |   ac_status=$? | 
 | 5247 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5248 |   (exit $ac_status); } && test -s conftest${ac_exeext}; then | 
 | 5249 | 	    pipe_works=yes | 
 | 5250 | 	  fi | 
 | 5251 | 	  LIBS="$lt_save_LIBS" | 
 | 5252 | 	  CFLAGS="$lt_save_CFLAGS" | 
 | 5253 | 	else | 
 | 5254 | 	  echo "cannot find nm_test_func in $nlist" >&5 | 
 | 5255 | 	fi | 
 | 5256 |       else | 
 | 5257 | 	echo "cannot find nm_test_var in $nlist" >&5 | 
 | 5258 |       fi | 
 | 5259 |     else | 
 | 5260 |       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | 
 | 5261 |     fi | 
 | 5262 |   else | 
 | 5263 |     echo "$progname: failed program was:" >&5 | 
 | 5264 |     cat conftest.$ac_ext >&5 | 
 | 5265 |   fi | 
 | 5266 |   rm -f conftest* conftst* | 
 | 5267 |  | 
 | 5268 |   # Do not use the global_symbol_pipe unless it works. | 
 | 5269 |   if test "$pipe_works" = yes; then | 
 | 5270 |     break | 
 | 5271 |   else | 
 | 5272 |     lt_cv_sys_global_symbol_pipe= | 
 | 5273 |   fi | 
 | 5274 | done | 
 | 5275 |  | 
 | 5276 | fi | 
 | 5277 |  | 
 | 5278 | if test -z "$lt_cv_sys_global_symbol_pipe"; then | 
 | 5279 |   lt_cv_sys_global_symbol_to_cdecl= | 
 | 5280 | fi | 
 | 5281 | if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then | 
 | 5282 |   echo "$as_me:$LINENO: result: failed" >&5 | 
 | 5283 | echo "${ECHO_T}failed" >&6 | 
 | 5284 | else | 
 | 5285 |   echo "$as_me:$LINENO: result: ok" >&5 | 
 | 5286 | echo "${ECHO_T}ok" >&6 | 
 | 5287 | fi | 
 | 5288 |  | 
 | 5289 | echo "$as_me:$LINENO: checking for objdir" >&5 | 
 | 5290 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6 | 
 | 5291 | if test "${lt_cv_objdir+set}" = set; then | 
 | 5292 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5293 | else | 
 | 5294 |   rm -f .libs 2>/dev/null | 
 | 5295 | mkdir .libs 2>/dev/null | 
 | 5296 | if test -d .libs; then | 
 | 5297 |   lt_cv_objdir=.libs | 
 | 5298 | else | 
 | 5299 |   # MS-DOS does not allow filenames that begin with a dot. | 
 | 5300 |   lt_cv_objdir=_libs | 
 | 5301 | fi | 
 | 5302 | rmdir .libs 2>/dev/null | 
 | 5303 | fi | 
 | 5304 | echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 | 
 | 5305 | echo "${ECHO_T}$lt_cv_objdir" >&6 | 
 | 5306 | objdir=$lt_cv_objdir | 
 | 5307 |  | 
 | 5308 |  | 
 | 5309 |  | 
 | 5310 |  | 
 | 5311 |  | 
 | 5312 | case $host_os in | 
 | 5313 | aix3*) | 
 | 5314 |   # AIX sometimes has problems with the GCC collect2 program.  For some | 
 | 5315 |   # reason, if we set the COLLECT_NAMES environment variable, the problems | 
 | 5316 |   # vanish in a puff of smoke. | 
 | 5317 |   if test "X${COLLECT_NAMES+set}" != Xset; then | 
 | 5318 |     COLLECT_NAMES= | 
 | 5319 |     export COLLECT_NAMES | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5320 |   fi | 
 | 5321 |   ;; | 
 | 5322 | esac | 
 | 5323 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5324 | # Sed substitution that helps us do robust quoting.  It backslashifies | 
 | 5325 | # metacharacters that are still active within double-quoted strings. | 
 | 5326 | Xsed='sed -e s/^X//' | 
 | 5327 | sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' | 
 | 5328 |  | 
 | 5329 | # Same as above, but do not quote variable references. | 
 | 5330 | double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' | 
 | 5331 |  | 
 | 5332 | # Sed substitution to delay expansion of an escaped shell variable in a | 
 | 5333 | # double_quote_subst'ed string. | 
 | 5334 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | 
 | 5335 |  | 
 | 5336 | # Sed substitution to avoid accidental globbing in evaled expressions | 
 | 5337 | no_glob_subst='s/\*/\\\*/g' | 
 | 5338 |  | 
 | 5339 | # Constants: | 
 | 5340 | rm="rm -f" | 
 | 5341 |  | 
 | 5342 | # Global variables: | 
| John Criswell | 8d4221e | 2003-07-23 16:52:50 +0000 | [diff] [blame] | 5343 | default_ofile=mklib | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5344 | can_build_shared=yes | 
 | 5345 |  | 
 | 5346 | # All known linkers require a `.a' archive for static linking (except M$VC, | 
 | 5347 | # which needs '.lib'). | 
 | 5348 | libext=a | 
 | 5349 | ltmain="$ac_aux_dir/ltmain.sh" | 
 | 5350 | ofile="$default_ofile" | 
 | 5351 | with_gnu_ld="$lt_cv_prog_gnu_ld" | 
 | 5352 |  | 
 | 5353 | if test -n "$ac_tool_prefix"; then | 
 | 5354 |   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | 
 | 5355 | set dummy ${ac_tool_prefix}ar; ac_word=$2 | 
 | 5356 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5357 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5358 | if test "${ac_cv_prog_AR+set}" = set; then | 
 | 5359 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5360 | else | 
 | 5361 |   if test -n "$AR"; then | 
 | 5362 |   ac_cv_prog_AR="$AR" # Let the user override the test. | 
 | 5363 | else | 
 | 5364 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5365 | for as_dir in $PATH | 
 | 5366 | do | 
 | 5367 |   IFS=$as_save_IFS | 
 | 5368 |   test -z "$as_dir" && as_dir=. | 
 | 5369 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5370 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5371 |     ac_cv_prog_AR="${ac_tool_prefix}ar" | 
 | 5372 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5373 |     break 2 | 
 | 5374 |   fi | 
 | 5375 | done | 
 | 5376 | done | 
 | 5377 |  | 
 | 5378 | fi | 
 | 5379 | fi | 
 | 5380 | AR=$ac_cv_prog_AR | 
 | 5381 | if test -n "$AR"; then | 
 | 5382 |   echo "$as_me:$LINENO: result: $AR" >&5 | 
 | 5383 | echo "${ECHO_T}$AR" >&6 | 
 | 5384 | else | 
 | 5385 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5386 | echo "${ECHO_T}no" >&6 | 
 | 5387 | fi | 
 | 5388 |  | 
 | 5389 | fi | 
 | 5390 | if test -z "$ac_cv_prog_AR"; then | 
 | 5391 |   ac_ct_AR=$AR | 
 | 5392 |   # Extract the first word of "ar", so it can be a program name with args. | 
 | 5393 | set dummy ar; ac_word=$2 | 
 | 5394 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5395 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5396 | if test "${ac_cv_prog_ac_ct_AR+set}" = set; then | 
 | 5397 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5398 | else | 
 | 5399 |   if test -n "$ac_ct_AR"; then | 
 | 5400 |   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | 
 | 5401 | else | 
 | 5402 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5403 | for as_dir in $PATH | 
 | 5404 | do | 
 | 5405 |   IFS=$as_save_IFS | 
 | 5406 |   test -z "$as_dir" && as_dir=. | 
 | 5407 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5408 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5409 |     ac_cv_prog_ac_ct_AR="ar" | 
 | 5410 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5411 |     break 2 | 
 | 5412 |   fi | 
 | 5413 | done | 
 | 5414 | done | 
 | 5415 |  | 
 | 5416 |   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" | 
 | 5417 | fi | 
 | 5418 | fi | 
 | 5419 | ac_ct_AR=$ac_cv_prog_ac_ct_AR | 
 | 5420 | if test -n "$ac_ct_AR"; then | 
 | 5421 |   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 | 
 | 5422 | echo "${ECHO_T}$ac_ct_AR" >&6 | 
 | 5423 | else | 
 | 5424 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5425 | echo "${ECHO_T}no" >&6 | 
 | 5426 | fi | 
 | 5427 |  | 
 | 5428 |   AR=$ac_ct_AR | 
 | 5429 | else | 
 | 5430 |   AR="$ac_cv_prog_AR" | 
 | 5431 | fi | 
 | 5432 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5433 | if test -n "$ac_tool_prefix"; then | 
 | 5434 |   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
 | 5435 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
 | 5436 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5437 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5438 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 
 | 5439 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5440 | else | 
 | 5441 |   if test -n "$RANLIB"; then | 
 | 5442 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
 | 5443 | else | 
 | 5444 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5445 | for as_dir in $PATH | 
 | 5446 | do | 
 | 5447 |   IFS=$as_save_IFS | 
 | 5448 |   test -z "$as_dir" && as_dir=. | 
 | 5449 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5450 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5451 |     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
 | 5452 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5453 |     break 2 | 
 | 5454 |   fi | 
 | 5455 | done | 
 | 5456 | done | 
 | 5457 |  | 
 | 5458 | fi | 
 | 5459 | fi | 
 | 5460 | RANLIB=$ac_cv_prog_RANLIB | 
 | 5461 | if test -n "$RANLIB"; then | 
 | 5462 |   echo "$as_me:$LINENO: result: $RANLIB" >&5 | 
 | 5463 | echo "${ECHO_T}$RANLIB" >&6 | 
 | 5464 | else | 
 | 5465 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5466 | echo "${ECHO_T}no" >&6 | 
 | 5467 | fi | 
 | 5468 |  | 
 | 5469 | fi | 
 | 5470 | if test -z "$ac_cv_prog_RANLIB"; then | 
 | 5471 |   ac_ct_RANLIB=$RANLIB | 
 | 5472 |   # Extract the first word of "ranlib", so it can be a program name with args. | 
 | 5473 | set dummy ranlib; ac_word=$2 | 
 | 5474 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5475 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5476 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 
 | 5477 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5478 | else | 
 | 5479 |   if test -n "$ac_ct_RANLIB"; then | 
 | 5480 |   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
 | 5481 | else | 
 | 5482 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5483 | for as_dir in $PATH | 
 | 5484 | do | 
 | 5485 |   IFS=$as_save_IFS | 
 | 5486 |   test -z "$as_dir" && as_dir=. | 
 | 5487 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5488 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5489 |     ac_cv_prog_ac_ct_RANLIB="ranlib" | 
 | 5490 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5491 |     break 2 | 
 | 5492 |   fi | 
 | 5493 | done | 
 | 5494 | done | 
 | 5495 |  | 
 | 5496 |   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 
 | 5497 | fi | 
 | 5498 | fi | 
 | 5499 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
 | 5500 | if test -n "$ac_ct_RANLIB"; then | 
 | 5501 |   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 
 | 5502 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 
 | 5503 | else | 
 | 5504 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5505 | echo "${ECHO_T}no" >&6 | 
 | 5506 | fi | 
 | 5507 |  | 
 | 5508 |   RANLIB=$ac_ct_RANLIB | 
 | 5509 | else | 
 | 5510 |   RANLIB="$ac_cv_prog_RANLIB" | 
 | 5511 | fi | 
 | 5512 |  | 
 | 5513 | if test -n "$ac_tool_prefix"; then | 
 | 5514 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
 | 5515 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
 | 5516 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5517 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5518 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
 | 5519 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5520 | else | 
 | 5521 |   if test -n "$STRIP"; then | 
 | 5522 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
 | 5523 | else | 
 | 5524 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5525 | for as_dir in $PATH | 
 | 5526 | do | 
 | 5527 |   IFS=$as_save_IFS | 
 | 5528 |   test -z "$as_dir" && as_dir=. | 
 | 5529 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5530 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5531 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
 | 5532 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5533 |     break 2 | 
 | 5534 |   fi | 
 | 5535 | done | 
 | 5536 | done | 
 | 5537 |  | 
 | 5538 | fi | 
 | 5539 | fi | 
 | 5540 | STRIP=$ac_cv_prog_STRIP | 
 | 5541 | if test -n "$STRIP"; then | 
 | 5542 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
 | 5543 | echo "${ECHO_T}$STRIP" >&6 | 
 | 5544 | else | 
 | 5545 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5546 | echo "${ECHO_T}no" >&6 | 
 | 5547 | fi | 
 | 5548 |  | 
 | 5549 | fi | 
 | 5550 | if test -z "$ac_cv_prog_STRIP"; then | 
 | 5551 |   ac_ct_STRIP=$STRIP | 
 | 5552 |   # Extract the first word of "strip", so it can be a program name with args. | 
 | 5553 | set dummy strip; ac_word=$2 | 
 | 5554 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5555 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5556 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
 | 5557 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5558 | else | 
 | 5559 |   if test -n "$ac_ct_STRIP"; then | 
 | 5560 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
 | 5561 | else | 
 | 5562 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5563 | for as_dir in $PATH | 
 | 5564 | do | 
 | 5565 |   IFS=$as_save_IFS | 
 | 5566 |   test -z "$as_dir" && as_dir=. | 
 | 5567 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5568 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5569 |     ac_cv_prog_ac_ct_STRIP="strip" | 
 | 5570 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5571 |     break 2 | 
 | 5572 |   fi | 
 | 5573 | done | 
 | 5574 | done | 
 | 5575 |  | 
 | 5576 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
 | 5577 | fi | 
 | 5578 | fi | 
 | 5579 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
 | 5580 | if test -n "$ac_ct_STRIP"; then | 
 | 5581 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
 | 5582 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
 | 5583 | else | 
 | 5584 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5585 | echo "${ECHO_T}no" >&6 | 
 | 5586 | fi | 
 | 5587 |  | 
 | 5588 |   STRIP=$ac_ct_STRIP | 
 | 5589 | else | 
 | 5590 |   STRIP="$ac_cv_prog_STRIP" | 
 | 5591 | fi | 
 | 5592 |  | 
 | 5593 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5594 | old_CC="$CC" | 
 | 5595 | old_CFLAGS="$CFLAGS" | 
 | 5596 |  | 
 | 5597 | # Set sane defaults for various variables | 
 | 5598 | test -z "$AR" && AR=ar | 
 | 5599 | test -z "$AR_FLAGS" && AR_FLAGS=cru | 
 | 5600 | test -z "$AS" && AS=as | 
 | 5601 | test -z "$CC" && CC=cc | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5602 | test -z "$LTCC" && LTCC=$CC | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5603 | test -z "$DLLTOOL" && DLLTOOL=dlltool | 
 | 5604 | test -z "$LD" && LD=ld | 
 | 5605 | test -z "$LN_S" && LN_S="ln -s" | 
 | 5606 | test -z "$MAGIC_CMD" && MAGIC_CMD=file | 
 | 5607 | test -z "$NM" && NM=nm | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5608 | test -z "$SED" && SED=sed | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5609 | test -z "$OBJDUMP" && OBJDUMP=objdump | 
 | 5610 | test -z "$RANLIB" && RANLIB=: | 
 | 5611 | test -z "$STRIP" && STRIP=: | 
 | 5612 | test -z "$ac_objext" && ac_objext=o | 
 | 5613 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5614 | # Determine commands to create old-style static archives. | 
 | 5615 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' | 
 | 5616 | old_postinstall_cmds='chmod 644 $oldlib' | 
 | 5617 | old_postuninstall_cmds= | 
 | 5618 |  | 
 | 5619 | if test -n "$RANLIB"; then | 
 | 5620 |   case $host_os in | 
 | 5621 |   openbsd*) | 
 | 5622 |     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" | 
 | 5623 |     ;; | 
 | 5624 |   *) | 
 | 5625 |     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" | 
 | 5626 |     ;; | 
 | 5627 |   esac | 
 | 5628 |   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | 
 | 5629 | fi | 
 | 5630 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5631 | # Only perform the check for file, if the check method requires it | 
 | 5632 | case $deplibs_check_method in | 
 | 5633 | file_magic*) | 
 | 5634 |   if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 
 | 5635 |     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 | 
 | 5636 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 | 
 | 5637 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
 | 5638 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5639 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5640 |   case $MAGIC_CMD in | 
 | 5641 | [\\/*] |  ?:[\\/]*) | 
 | 5642 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
 | 5643 |   ;; | 
 | 5644 | *) | 
 | 5645 |   lt_save_MAGIC_CMD="$MAGIC_CMD" | 
 | 5646 |   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 5647 |   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 
 | 5648 |   for ac_dir in $ac_dummy; do | 
 | 5649 |     IFS="$lt_save_ifs" | 
 | 5650 |     test -z "$ac_dir" && ac_dir=. | 
 | 5651 |     if test -f $ac_dir/${ac_tool_prefix}file; then | 
 | 5652 |       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | 
 | 5653 |       if test -n "$file_magic_test_file"; then | 
 | 5654 | 	case $deplibs_check_method in | 
 | 5655 | 	"file_magic "*) | 
 | 5656 | 	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
 | 5657 | 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 5658 | 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
 | 5659 | 	    $EGREP "$file_magic_regex" > /dev/null; then | 
 | 5660 | 	    : | 
 | 5661 | 	  else | 
 | 5662 | 	    cat <<EOF 1>&2 | 
 | 5663 |  | 
 | 5664 | *** Warning: the command libtool uses to detect shared libraries, | 
 | 5665 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
 | 5666 | *** The result is that libtool may fail to recognize shared libraries | 
 | 5667 | *** as such.  This will affect the creation of libtool libraries that | 
 | 5668 | *** depend on shared libraries, but programs linked with such libtool | 
 | 5669 | *** libraries will work regardless of this problem.  Nevertheless, you | 
 | 5670 | *** may want to report the problem to your system manager and/or to | 
 | 5671 | *** bug-libtool@gnu.org | 
 | 5672 |  | 
 | 5673 | EOF | 
 | 5674 | 	  fi ;; | 
 | 5675 | 	esac | 
 | 5676 |       fi | 
 | 5677 |       break | 
 | 5678 |     fi | 
 | 5679 |   done | 
 | 5680 |   IFS="$lt_save_ifs" | 
 | 5681 |   MAGIC_CMD="$lt_save_MAGIC_CMD" | 
 | 5682 |   ;; | 
 | 5683 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5684 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5685 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5686 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 5687 | if test -n "$MAGIC_CMD"; then | 
 | 5688 |   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 
 | 5689 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
 | 5690 | else | 
 | 5691 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5692 | echo "${ECHO_T}no" >&6 | 
 | 5693 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5694 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5695 | if test -z "$lt_cv_path_MAGIC_CMD"; then | 
 | 5696 |   if test -n "$ac_tool_prefix"; then | 
 | 5697 |     echo "$as_me:$LINENO: checking for file" >&5 | 
 | 5698 | echo $ECHO_N "checking for file... $ECHO_C" >&6 | 
 | 5699 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
 | 5700 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5701 | else | 
 | 5702 |   case $MAGIC_CMD in | 
 | 5703 | [\\/*] |  ?:[\\/]*) | 
 | 5704 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
 | 5705 |   ;; | 
 | 5706 | *) | 
 | 5707 |   lt_save_MAGIC_CMD="$MAGIC_CMD" | 
 | 5708 |   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 5709 |   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 
 | 5710 |   for ac_dir in $ac_dummy; do | 
 | 5711 |     IFS="$lt_save_ifs" | 
 | 5712 |     test -z "$ac_dir" && ac_dir=. | 
 | 5713 |     if test -f $ac_dir/file; then | 
 | 5714 |       lt_cv_path_MAGIC_CMD="$ac_dir/file" | 
 | 5715 |       if test -n "$file_magic_test_file"; then | 
 | 5716 | 	case $deplibs_check_method in | 
 | 5717 | 	"file_magic "*) | 
 | 5718 | 	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
 | 5719 | 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 5720 | 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
 | 5721 | 	    $EGREP "$file_magic_regex" > /dev/null; then | 
 | 5722 | 	    : | 
 | 5723 | 	  else | 
 | 5724 | 	    cat <<EOF 1>&2 | 
 | 5725 |  | 
 | 5726 | *** Warning: the command libtool uses to detect shared libraries, | 
 | 5727 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
 | 5728 | *** The result is that libtool may fail to recognize shared libraries | 
 | 5729 | *** as such.  This will affect the creation of libtool libraries that | 
 | 5730 | *** depend on shared libraries, but programs linked with such libtool | 
 | 5731 | *** libraries will work regardless of this problem.  Nevertheless, you | 
 | 5732 | *** may want to report the problem to your system manager and/or to | 
 | 5733 | *** bug-libtool@gnu.org | 
 | 5734 |  | 
 | 5735 | EOF | 
 | 5736 | 	  fi ;; | 
 | 5737 | 	esac | 
 | 5738 |       fi | 
 | 5739 |       break | 
 | 5740 |     fi | 
 | 5741 |   done | 
 | 5742 |   IFS="$lt_save_ifs" | 
 | 5743 |   MAGIC_CMD="$lt_save_MAGIC_CMD" | 
 | 5744 |   ;; | 
 | 5745 | esac | 
 | 5746 | fi | 
 | 5747 |  | 
 | 5748 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 5749 | if test -n "$MAGIC_CMD"; then | 
 | 5750 |   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 
 | 5751 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
 | 5752 | else | 
 | 5753 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5754 | echo "${ECHO_T}no" >&6 | 
 | 5755 | fi | 
 | 5756 |  | 
 | 5757 |   else | 
 | 5758 |     MAGIC_CMD=: | 
 | 5759 |   fi | 
 | 5760 | fi | 
 | 5761 |  | 
 | 5762 |   fi | 
 | 5763 |   ;; | 
 | 5764 | esac | 
 | 5765 |  | 
 | 5766 | enable_dlopen=no | 
 | 5767 | enable_win32_dll=no | 
 | 5768 |  | 
 | 5769 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 
 | 5770 | if test "${enable_libtool_lock+set}" = set; then | 
 | 5771 |   enableval="$enable_libtool_lock" | 
 | 5772 |  | 
 | 5773 | fi; | 
 | 5774 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 
 | 5775 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5776 |  | 
 | 5777 | # Check whether --with-pic or --without-pic was given. | 
 | 5778 | if test "${with_pic+set}" = set; then | 
 | 5779 |   withval="$with_pic" | 
 | 5780 |   pic_mode="$withval" | 
 | 5781 | else | 
 | 5782 |   pic_mode=default | 
 | 5783 | fi; | 
 | 5784 | test -z "$pic_mode" && pic_mode=default | 
 | 5785 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5786 | # Use C for the default configuration in the libtool script | 
 | 5787 | tagname= | 
 | 5788 | lt_save_CC="$CC" | 
 | 5789 | ac_ext=c | 
 | 5790 | ac_cpp='$CPP $CPPFLAGS' | 
 | 5791 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 5792 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 5793 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 5794 |  | 
 | 5795 |  | 
 | 5796 | # Source file extension for C test sources. | 
 | 5797 | ac_ext=c | 
 | 5798 |  | 
 | 5799 | # Object file extension for compiled C test sources. | 
 | 5800 | objext=o | 
 | 5801 | objext=$objext | 
 | 5802 |  | 
 | 5803 | # Code to be used in simple compile tests | 
 | 5804 | lt_simple_compile_test_code="int some_variable = 0;\n" | 
 | 5805 |  | 
 | 5806 | # Code to be used in simple link tests | 
 | 5807 | lt_simple_link_test_code='int main(){return(0);}\n' | 
 | 5808 |  | 
 | 5809 |  | 
 | 5810 | # If no C compiler was specified, use CC. | 
 | 5811 | LTCC=${LTCC-"$CC"} | 
 | 5812 |  | 
 | 5813 | # Allow CC to be a program name with arguments. | 
 | 5814 | compiler=$CC | 
 | 5815 |  | 
 | 5816 |  | 
 | 5817 | # | 
 | 5818 | # Check for any special shared library compilation flags. | 
 | 5819 | # | 
 | 5820 | lt_prog_cc_shlib= | 
 | 5821 | if test "$GCC" = no; then | 
 | 5822 |   case $host_os in | 
 | 5823 |   sco3.2v5*) | 
 | 5824 |     lt_prog_cc_shlib='-belf' | 
 | 5825 |     ;; | 
 | 5826 |   esac | 
 | 5827 | fi | 
 | 5828 | if test -n "$lt_prog_cc_shlib"; then | 
 | 5829 |   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 | 
 | 5830 | echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} | 
 | 5831 |   if echo "$old_CC $old_CFLAGS " | grep "[ 	]$lt_prog_cc_shlib[ 	]" >/dev/null; then : | 
 | 5832 |   else | 
 | 5833 |     { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 | 
 | 5834 | echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} | 
 | 5835 |     lt_cv_prog_cc_can_build_shared=no | 
 | 5836 |   fi | 
 | 5837 | fi | 
 | 5838 |  | 
 | 5839 |  | 
 | 5840 | # | 
 | 5841 | # Check to make sure the static flag actually works. | 
 | 5842 | # | 
 | 5843 | echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 | 
 | 5844 | echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 | 
 | 5845 | if test "${lt_prog_compiler_static_works+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5846 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5847 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5848 |   lt_prog_compiler_static_works=no | 
 | 5849 |    save_LDFLAGS="$LDFLAGS" | 
 | 5850 |    LDFLAGS="$LDFLAGS $lt_prog_compiler_static" | 
 | 5851 |    printf "$lt_simple_link_test_code" > conftest.$ac_ext | 
 | 5852 |    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 
 | 5853 |      # The compiler can only warn and ignore the option if not recognized | 
 | 5854 |      # So say no if there are warnings | 
 | 5855 |      if test -s conftest.err; then | 
 | 5856 |        # Append any errors to the config.log. | 
 | 5857 |        cat conftest.err 1>&5 | 
 | 5858 |      else | 
 | 5859 |        lt_prog_compiler_static_works=yes | 
 | 5860 |      fi | 
 | 5861 |    fi | 
 | 5862 |    $rm conftest* | 
 | 5863 |    LDFLAGS="$save_LDFLAGS" | 
 | 5864 |  | 
 | 5865 | fi | 
 | 5866 | echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 | 
 | 5867 | echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 | 
 | 5868 |  | 
 | 5869 | if test x"$lt_prog_compiler_static_works" = xyes; then | 
 | 5870 |     : | 
 | 5871 | else | 
 | 5872 |     lt_prog_compiler_static= | 
 | 5873 | fi | 
 | 5874 |  | 
 | 5875 |  | 
 | 5876 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5877 |  | 
 | 5878 | lt_prog_compiler_no_builtin_flag= | 
 | 5879 |  | 
 | 5880 | if test "$GCC" = yes; then | 
 | 5881 |   lt_prog_compiler_no_builtin_flag=' -fno-builtin' | 
 | 5882 |  | 
 | 5883 |   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 
 | 5884 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | 
 | 5885 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then | 
 | 5886 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5887 | else | 
 | 5888 |   lt_cv_prog_compiler_rtti_exceptions=no | 
 | 5889 |   ac_outfile=conftest.$ac_objext | 
 | 5890 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 5891 |    lt_compiler_flag="-fno-rtti -fno-exceptions" | 
 | 5892 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 5893 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 5894 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 5895 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 5896 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 5897 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 5898 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 5899 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 5900 |    -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 5901 |    (eval echo "\"\$as_me:5901: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5902 |    (eval "$lt_compile" 2>conftest.err) | 
 | 5903 |    ac_status=$? | 
 | 5904 |    cat conftest.err >&5 | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 5905 |    echo "$as_me:5905: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5906 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 5907 |      # The compiler can only warn and ignore the option if not recognized | 
 | 5908 |      # So say no if there are warnings | 
 | 5909 |      if test ! -s conftest.err; then | 
 | 5910 |        lt_cv_prog_compiler_rtti_exceptions=yes | 
 | 5911 |      fi | 
 | 5912 |    fi | 
 | 5913 |    $rm conftest* | 
 | 5914 |  | 
 | 5915 | fi | 
 | 5916 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 | 
 | 5917 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 | 
 | 5918 |  | 
 | 5919 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | 
 | 5920 |     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" | 
 | 5921 | else | 
 | 5922 |     : | 
 | 5923 | fi | 
 | 5924 |  | 
 | 5925 | fi | 
 | 5926 |  | 
 | 5927 | lt_prog_compiler_wl= | 
 | 5928 | lt_prog_compiler_pic= | 
 | 5929 | lt_prog_compiler_static= | 
 | 5930 |  | 
 | 5931 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
 | 5932 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5933 |  | 
 | 5934 |   if test "$GCC" = yes; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5935 |     lt_prog_compiler_wl='-Wl,' | 
 | 5936 |     lt_prog_compiler_static='-static' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5937 |  | 
 | 5938 |     case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5939 |       aix*) | 
 | 5940 |       # All AIX code is PIC. | 
 | 5941 |       if test "$host_cpu" = ia64; then | 
 | 5942 | 	# AIX 5 now supports IA64 processor | 
 | 5943 | 	lt_prog_compiler_static='-Bstatic' | 
 | 5944 |       fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5945 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5946 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5947 |     amigaos*) | 
 | 5948 |       # FIXME: we need at least 68020 code to build shared libraries, but | 
 | 5949 |       # adding the `-m68020' flag to GCC prevents building anything better, | 
 | 5950 |       # like `-m68040'. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5951 |       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5952 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5953 |  | 
 | 5954 |     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5955 |       # PIC is the default for these OSes. | 
 | 5956 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5957 |  | 
 | 5958 |     mingw* | pw32* | os2*) | 
 | 5959 |       # This hack is so that the source file can tell whether it is being | 
 | 5960 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 5961 |       lt_prog_compiler_pic='-DDLL_EXPORT' | 
 | 5962 |       ;; | 
 | 5963 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5964 |     darwin* | rhapsody*) | 
 | 5965 |       # PIC is the default on this platform | 
 | 5966 |       # Common symbols not allowed in MH_DYLIB files | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5967 |       lt_prog_compiler_pic='-fno-common' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5968 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5969 |  | 
 | 5970 |     msdosdjgpp*) | 
 | 5971 |       # Just because we use GCC doesn't mean we suddenly get shared libraries | 
 | 5972 |       # on systems that don't support them. | 
 | 5973 |       lt_prog_compiler_can_build_shared=no | 
 | 5974 |       enable_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5975 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5976 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5977 |     sysv4*MP*) | 
 | 5978 |       if test -d /usr/nec; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5979 | 	lt_prog_compiler_pic=-Kconform_pic | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5980 |       fi | 
 | 5981 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5982 |  | 
 | 5983 |     hpux*) | 
 | 5984 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 5985 |       # not for PA HP-UX. | 
 | 5986 |       case "$host_cpu" in | 
 | 5987 |       hppa*64*|ia64*) | 
 | 5988 | 	# +Z the default | 
 | 5989 | 	;; | 
 | 5990 |       *) | 
 | 5991 | 	lt_prog_compiler_pic='-fPIC' | 
 | 5992 | 	;; | 
 | 5993 |       esac | 
 | 5994 |       ;; | 
 | 5995 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5996 |     *) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5997 |       lt_prog_compiler_pic='-fPIC' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5998 |       ;; | 
 | 5999 |     esac | 
 | 6000 |   else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6001 |     # PORTME Check for flag to pass linker flags through the system compiler. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6002 |     case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6003 |     aix*) | 
 | 6004 |       lt_prog_compiler_wl='-Wl,' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6005 |       if test "$host_cpu" = ia64; then | 
 | 6006 | 	# AIX 5 now supports IA64 processor | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6007 | 	lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6008 |       else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6009 | 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6010 |       fi | 
 | 6011 |       ;; | 
 | 6012 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6013 |     mingw* | pw32* | os2*) | 
 | 6014 |       # This hack is so that the source file can tell whether it is being | 
 | 6015 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 6016 |       lt_prog_compiler_pic='-DDLL_EXPORT' | 
 | 6017 |       ;; | 
 | 6018 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6019 |     hpux9* | hpux10* | hpux11*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6020 |       lt_prog_compiler_wl='-Wl,' | 
 | 6021 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 6022 |       # not for PA HP-UX. | 
 | 6023 |       case "$host_cpu" in | 
 | 6024 |       hppa*64*|ia64*) | 
 | 6025 | 	# +Z the default | 
 | 6026 | 	;; | 
 | 6027 |       *) | 
 | 6028 | 	lt_prog_compiler_pic='+Z' | 
 | 6029 | 	;; | 
 | 6030 |       esac | 
 | 6031 |       # Is there a better lt_prog_compiler_static that works with the bundled CC? | 
 | 6032 |       lt_prog_compiler_static='${wl}-a ${wl}archive' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6033 |       ;; | 
 | 6034 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6035 |     irix5* | irix6* | nonstopux*) | 
 | 6036 |       lt_prog_compiler_wl='-Wl,' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6037 |       # PIC (with -KPIC) is the default. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6038 |       lt_prog_compiler_static='-non_shared' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6039 |       ;; | 
 | 6040 |  | 
 | 6041 |     newsos6) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6042 |       lt_prog_compiler_pic='-KPIC' | 
 | 6043 |       lt_prog_compiler_static='-Bstatic' | 
 | 6044 |       ;; | 
 | 6045 |  | 
 | 6046 |     linux*) | 
 | 6047 |       case $CC in | 
 | 6048 |       icc|ecc) | 
 | 6049 | 	lt_prog_compiler_wl='-Wl,' | 
 | 6050 | 	lt_prog_compiler_pic='-KPIC' | 
 | 6051 | 	lt_prog_compiler_static='-static' | 
 | 6052 |         ;; | 
 | 6053 |       ccc) | 
 | 6054 |         lt_prog_compiler_wl='-Wl,' | 
 | 6055 |         # All Alpha code is PIC. | 
 | 6056 |         lt_prog_compiler_static='-non_shared' | 
 | 6057 |         ;; | 
 | 6058 |       esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6059 |       ;; | 
 | 6060 |  | 
 | 6061 |     osf3* | osf4* | osf5*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6062 |       lt_prog_compiler_wl='-Wl,' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6063 |       # All OSF/1 code is PIC. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6064 |       lt_prog_compiler_static='-non_shared' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6065 |       ;; | 
 | 6066 |  | 
 | 6067 |     sco3.2v5*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6068 |       lt_prog_compiler_pic='-Kpic' | 
 | 6069 |       lt_prog_compiler_static='-dn' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6070 |       ;; | 
 | 6071 |  | 
 | 6072 |     solaris*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6073 |       lt_prog_compiler_wl='-Wl,' | 
 | 6074 |       lt_prog_compiler_pic='-KPIC' | 
 | 6075 |       lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6076 |       ;; | 
 | 6077 |  | 
 | 6078 |     sunos4*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6079 |       lt_prog_compiler_wl='-Qoption ld ' | 
 | 6080 |       lt_prog_compiler_pic='-PIC' | 
 | 6081 |       lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6082 |       ;; | 
 | 6083 |  | 
 | 6084 |     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6085 |       lt_prog_compiler_wl='-Wl,' | 
 | 6086 |       lt_prog_compiler_pic='-KPIC' | 
 | 6087 |       lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6088 |       ;; | 
 | 6089 |  | 
 | 6090 |     sysv4*MP*) | 
 | 6091 |       if test -d /usr/nec ;then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6092 | 	lt_prog_compiler_pic='-Kconform_pic' | 
 | 6093 | 	lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6094 |       fi | 
 | 6095 |       ;; | 
 | 6096 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6097 |     uts4*) | 
 | 6098 |       lt_prog_compiler_pic='-pic' | 
 | 6099 |       lt_prog_compiler_static='-Bstatic' | 
 | 6100 |       ;; | 
 | 6101 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6102 |     *) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6103 |       lt_prog_compiler_can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6104 |       ;; | 
 | 6105 |     esac | 
 | 6106 |   fi | 
 | 6107 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6108 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 | 
 | 6109 | echo "${ECHO_T}$lt_prog_compiler_pic" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6110 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6111 | # | 
 | 6112 | # Check to make sure the PIC flag actually works. | 
 | 6113 | # | 
 | 6114 | if test -n "$lt_prog_compiler_pic"; then | 
 | 6115 |   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 | 
 | 6116 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 | 
 | 6117 | if test "${lt_prog_compiler_pic_works+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6118 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6119 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6120 |   lt_prog_compiler_pic_works=no | 
 | 6121 |   ac_outfile=conftest.$ac_objext | 
 | 6122 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 6123 |    lt_compiler_flag="$lt_prog_compiler_pic -DPIC" | 
 | 6124 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 6125 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 6126 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 6127 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 6128 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 6129 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 6130 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 6131 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 6132 |    -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 6133 |    (eval echo "\"\$as_me:6133: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6134 |    (eval "$lt_compile" 2>conftest.err) | 
 | 6135 |    ac_status=$? | 
 | 6136 |    cat conftest.err >&5 | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 6137 |    echo "$as_me:6137: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6138 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 6139 |      # The compiler can only warn and ignore the option if not recognized | 
 | 6140 |      # So say no if there are warnings | 
 | 6141 |      if test ! -s conftest.err; then | 
 | 6142 |        lt_prog_compiler_pic_works=yes | 
 | 6143 |      fi | 
 | 6144 |    fi | 
 | 6145 |    $rm conftest* | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6146 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6147 | fi | 
 | 6148 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 | 
 | 6149 | echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6150 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6151 | if test x"$lt_prog_compiler_pic_works" = xyes; then | 
 | 6152 |     case $lt_prog_compiler_pic in | 
 | 6153 |      "" | " "*) ;; | 
 | 6154 |      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; | 
 | 6155 |      esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6156 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6157 |     lt_prog_compiler_pic= | 
 | 6158 |      lt_prog_compiler_can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6159 | fi | 
 | 6160 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6161 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6162 | case "$host_os" in | 
 | 6163 |   # For platforms which do not support PIC, -DPIC is meaningless: | 
 | 6164 |   *djgpp*) | 
 | 6165 |     lt_prog_compiler_pic= | 
 | 6166 |     ;; | 
 | 6167 |   *) | 
 | 6168 |     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" | 
 | 6169 |     ;; | 
 | 6170 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6171 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6172 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
 | 6173 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6174 | if test "${lt_cv_prog_compiler_c_o+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6175 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6176 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6177 |   lt_cv_prog_compiler_c_o=no | 
 | 6178 |    $rm -r conftest 2>/dev/null | 
 | 6179 |    mkdir conftest | 
 | 6180 |    cd conftest | 
 | 6181 |    mkdir out | 
 | 6182 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6183 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6184 |    # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
 | 6185 |    # that will create temporary files in the current directory regardless of | 
 | 6186 |    # the output directory.  Thus, making CWD read-only will cause this test | 
 | 6187 |    # to fail, enabling locking or at least warning the user not to do parallel | 
 | 6188 |    # builds. | 
 | 6189 |    chmod -w . | 
 | 6190 |  | 
 | 6191 |    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
 | 6192 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 6193 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 6194 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 6195 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 6196 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 6197 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 6198 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 6199 |    -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 6200 |    (eval echo "\"\$as_me:6200: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6201 |    (eval "$lt_compile" 2>out/conftest.err) | 
 | 6202 |    ac_status=$? | 
 | 6203 |    cat out/conftest.err >&5 | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 6204 |    echo "$as_me:6204: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6205 |    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
 | 6206 |    then | 
 | 6207 |      # The compiler can only warn and ignore the option if not recognized | 
 | 6208 |      # So say no if there are warnings | 
 | 6209 |      if test ! -s out/conftest.err; then | 
 | 6210 |        lt_cv_prog_compiler_c_o=yes | 
 | 6211 |      fi | 
 | 6212 |    fi | 
 | 6213 |    chmod u+w . | 
 | 6214 |    $rm conftest* out/* | 
 | 6215 |    rmdir out | 
 | 6216 |    cd .. | 
 | 6217 |    rmdir conftest | 
 | 6218 |    $rm conftest* | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6219 |  | 
 | 6220 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6221 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 | 
 | 6222 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6223 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6224 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6225 | hard_links="nottested" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6226 | if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6227 |   # do not overwrite the value of need_locks provided by the user | 
 | 6228 |   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
 | 6229 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
 | 6230 |   hard_links=yes | 
 | 6231 |   $rm conftest* | 
 | 6232 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 6233 |   touch conftest.a | 
 | 6234 |   ln conftest.a conftest.b 2>&5 || hard_links=no | 
 | 6235 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 6236 |   echo "$as_me:$LINENO: result: $hard_links" >&5 | 
 | 6237 | echo "${ECHO_T}$hard_links" >&6 | 
 | 6238 |   if test "$hard_links" = no; then | 
 | 6239 |     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
 | 6240 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
 | 6241 |     need_locks=warn | 
 | 6242 |   fi | 
 | 6243 | else | 
 | 6244 |   need_locks=no | 
 | 6245 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6246 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6247 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
 | 6248 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 6249 |  | 
 | 6250 |   runpath_var= | 
 | 6251 |   allow_undefined_flag= | 
 | 6252 |   enable_shared_with_static_runtimes=no | 
 | 6253 |   archive_cmds= | 
 | 6254 |   archive_expsym_cmds= | 
 | 6255 |   old_archive_From_new_cmds= | 
 | 6256 |   old_archive_from_expsyms_cmds= | 
 | 6257 |   export_dynamic_flag_spec= | 
 | 6258 |   whole_archive_flag_spec= | 
 | 6259 |   thread_safe_flag_spec= | 
 | 6260 |   hardcode_libdir_flag_spec= | 
 | 6261 |   hardcode_libdir_flag_spec_ld= | 
 | 6262 |   hardcode_libdir_separator= | 
 | 6263 |   hardcode_direct=no | 
 | 6264 |   hardcode_minus_L=no | 
 | 6265 |   hardcode_shlibpath_var=unsupported | 
 | 6266 |   link_all_deplibs=unknown | 
 | 6267 |   hardcode_automatic=no | 
 | 6268 |   module_cmds= | 
 | 6269 |   module_expsym_cmds= | 
 | 6270 |   always_export_symbols=no | 
 | 6271 |   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 6272 |   # include_expsyms should be a list of space-separated symbols to be *always* | 
 | 6273 |   # included in the symbol list | 
 | 6274 |   include_expsyms= | 
 | 6275 |   # exclude_expsyms can be an extended regexp of symbols to exclude | 
 | 6276 |   # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
 | 6277 |   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
 | 6278 |   # as well as any symbol that contains `d'. | 
 | 6279 |   exclude_expsyms="_GLOBAL_OFFSET_TABLE_" | 
 | 6280 |   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
 | 6281 |   # platforms (ab)use it in PIC code, but their linkers get confused if | 
 | 6282 |   # the symbol is explicitly referenced.  Since portable code cannot | 
 | 6283 |   # rely on this symbol name, it's probably fine to never include it in | 
 | 6284 |   # preloaded symbol tables. | 
 | 6285 |   extract_expsyms_cmds= | 
 | 6286 |  | 
 | 6287 |   case $host_os in | 
 | 6288 |   cygwin* | mingw* | pw32*) | 
 | 6289 |     # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
 | 6290 |     # When not using gcc, we currently assume that we are using | 
 | 6291 |     # Microsoft Visual C++. | 
 | 6292 |     if test "$GCC" != yes; then | 
 | 6293 |       with_gnu_ld=no | 
 | 6294 |     fi | 
 | 6295 |     ;; | 
 | 6296 |   openbsd*) | 
 | 6297 |     with_gnu_ld=no | 
 | 6298 |     ;; | 
 | 6299 |   esac | 
 | 6300 |  | 
 | 6301 |   ld_shlibs=yes | 
 | 6302 |   if test "$with_gnu_ld" = yes; then | 
 | 6303 |     # If archive_cmds runs LD, not CC, wlarc should be empty | 
 | 6304 |     wlarc='${wl}' | 
 | 6305 |  | 
 | 6306 |     # See if GNU ld supports shared libraries. | 
 | 6307 |     case $host_os in | 
 | 6308 |     aix3* | aix4* | aix5*) | 
 | 6309 |       # On AIX/PPC, the GNU linker is very broken | 
 | 6310 |       if test "$host_cpu" != ia64; then | 
 | 6311 | 	ld_shlibs=no | 
 | 6312 | 	cat <<EOF 1>&2 | 
 | 6313 |  | 
 | 6314 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
 | 6315 | *** to be unable to reliably create shared libraries on AIX. | 
 | 6316 | *** Therefore, libtool is disabling shared libraries support.  If you | 
 | 6317 | *** really care for shared libraries, you may want to modify your PATH | 
 | 6318 | *** so that a non-GNU linker is found, and then restart. | 
 | 6319 |  | 
 | 6320 | EOF | 
 | 6321 |       fi | 
 | 6322 |       ;; | 
 | 6323 |  | 
 | 6324 |     amigaos*) | 
 | 6325 |       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)' | 
 | 6326 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 6327 |       hardcode_minus_L=yes | 
 | 6328 |  | 
 | 6329 |       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
 | 6330 |       # that the semantics of dynamic libraries on AmigaOS, at least up | 
 | 6331 |       # to version 4, is to share data among multiple programs linked | 
 | 6332 |       # with the same dynamic library.  Since this doesn't match the | 
 | 6333 |       # behavior of shared libraries on other platforms, we can't use | 
 | 6334 |       # them. | 
 | 6335 |       ld_shlibs=no | 
 | 6336 |       ;; | 
 | 6337 |  | 
 | 6338 |     beos*) | 
 | 6339 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 6340 | 	allow_undefined_flag=unsupported | 
 | 6341 | 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
 | 6342 | 	# support --undefined.  This deserves some investigation.  FIXME | 
 | 6343 | 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 6344 |       else | 
 | 6345 | 	ld_shlibs=no | 
 | 6346 |       fi | 
 | 6347 |       ;; | 
 | 6348 |  | 
 | 6349 |     cygwin* | mingw* | pw32*) | 
 | 6350 |       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, | 
 | 6351 |       # as there is no search path for DLLs. | 
 | 6352 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 6353 |       allow_undefined_flag=unsupported | 
 | 6354 |       always_export_symbols=no | 
 | 6355 |       enable_shared_with_static_runtimes=yes | 
 | 6356 |       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 6357 |  | 
 | 6358 |       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
 | 6359 |         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
 | 6360 | 	# If the export-symbols file already is a .def file (1st line | 
 | 6361 | 	# is EXPORTS), use it as is; otherwise, prepend... | 
 | 6362 | 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
 | 6363 | 	  cp $export_symbols $output_objdir/$soname.def; | 
 | 6364 | 	else | 
 | 6365 | 	  echo EXPORTS > $output_objdir/$soname.def; | 
 | 6366 | 	  cat $export_symbols >> $output_objdir/$soname.def; | 
 | 6367 | 	fi~ | 
 | 6368 | 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib' | 
 | 6369 |       else | 
 | 6370 | 	ld_shlibs=no | 
 | 6371 |       fi | 
 | 6372 |       ;; | 
 | 6373 |  | 
 | 6374 |     netbsd*) | 
 | 6375 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 6376 | 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
 | 6377 | 	wlarc= | 
 | 6378 |       else | 
 | 6379 | 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 6380 | 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 6381 |       fi | 
 | 6382 |       ;; | 
 | 6383 |  | 
 | 6384 |     solaris* | sysv5*) | 
 | 6385 |       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 
 | 6386 | 	ld_shlibs=no | 
 | 6387 | 	cat <<EOF 1>&2 | 
 | 6388 |  | 
 | 6389 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
 | 6390 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
 | 6391 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
 | 6392 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
 | 6393 | *** your PATH or compiler configuration so that the native linker is | 
 | 6394 | *** used, and then restart. | 
 | 6395 |  | 
 | 6396 | EOF | 
 | 6397 |       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 6398 | 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 6399 | 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 6400 |       else | 
 | 6401 | 	ld_shlibs=no | 
 | 6402 |       fi | 
 | 6403 |       ;; | 
 | 6404 |  | 
 | 6405 |     sunos4*) | 
 | 6406 |       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 6407 |       wlarc= | 
 | 6408 |       hardcode_direct=yes | 
 | 6409 |       hardcode_shlibpath_var=no | 
 | 6410 |       ;; | 
 | 6411 |  | 
 | 6412 |     *) | 
 | 6413 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 6414 | 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 6415 | 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 6416 |       else | 
 | 6417 | 	ld_shlibs=no | 
 | 6418 |       fi | 
 | 6419 |       ;; | 
 | 6420 |     esac | 
 | 6421 |  | 
 | 6422 |     if test "$ld_shlibs" = yes; then | 
 | 6423 |       runpath_var=LD_RUN_PATH | 
 | 6424 |       hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' | 
 | 6425 |       export_dynamic_flag_spec='${wl}--export-dynamic' | 
 | 6426 |       # ancient GNU ld didn't support --whole-archive et. al. | 
 | 6427 |       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | 
 | 6428 |  	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
 | 6429 |       else | 
 | 6430 |   	whole_archive_flag_spec= | 
 | 6431 |       fi | 
 | 6432 |     fi | 
 | 6433 |   else | 
 | 6434 |     # PORTME fill in a description of your system's linker (not GNU ld) | 
 | 6435 |     case $host_os in | 
 | 6436 |     aix3*) | 
 | 6437 |       allow_undefined_flag=unsupported | 
 | 6438 |       always_export_symbols=yes | 
 | 6439 |       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' | 
 | 6440 |       # Note: this linker hardcodes the directories in LIBPATH if there | 
 | 6441 |       # are no directories specified by -L. | 
 | 6442 |       hardcode_minus_L=yes | 
 | 6443 |       if test "$GCC" = yes && test -z "$link_static_flag"; then | 
 | 6444 | 	# Neither direct hardcoding nor static linking is supported with a | 
 | 6445 | 	# broken collect2. | 
 | 6446 | 	hardcode_direct=unsupported | 
 | 6447 |       fi | 
 | 6448 |       ;; | 
 | 6449 |  | 
 | 6450 |     aix4* | aix5*) | 
 | 6451 |       if test "$host_cpu" = ia64; then | 
 | 6452 | 	# On IA64, the linker does run time linking by default, so we don't | 
 | 6453 | 	# have to do anything special. | 
 | 6454 | 	aix_use_runtimelinking=no | 
 | 6455 | 	exp_sym_flag='-Bexport' | 
 | 6456 | 	no_entry_flag="" | 
 | 6457 |       else | 
 | 6458 | 	# If we're using GNU nm, then we don't want the "-C" option. | 
 | 6459 | 	# -C means demangle to AIX nm, but means don't demangle with GNU nm | 
 | 6460 | 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
 | 6461 | 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
 | 6462 | 	else | 
 | 6463 | 	  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' | 
 | 6464 | 	fi | 
 | 6465 | 	aix_use_runtimelinking=no | 
 | 6466 |  | 
 | 6467 | 	# Test if we are trying to use run time linking or normal | 
 | 6468 | 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
 | 6469 | 	# need to do runtime linking. | 
 | 6470 | 	case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
 | 6471 | 	  for ld_flag in $LDFLAGS; do | 
 | 6472 |   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
 | 6473 |   	    aix_use_runtimelinking=yes | 
 | 6474 |   	    break | 
 | 6475 |   	  fi | 
 | 6476 | 	  done | 
 | 6477 | 	esac | 
 | 6478 |  | 
 | 6479 | 	exp_sym_flag='-bexport' | 
 | 6480 | 	no_entry_flag='-bnoentry' | 
 | 6481 |       fi | 
 | 6482 |  | 
 | 6483 |       # When large executables or shared objects are built, AIX ld can | 
 | 6484 |       # have problems creating the table of contents.  If linking a library | 
 | 6485 |       # or program results in "error TOC overflow" add -mminimal-toc to | 
 | 6486 |       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
 | 6487 |       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
 | 6488 |  | 
 | 6489 |       archive_cmds='' | 
 | 6490 |       hardcode_direct=yes | 
 | 6491 |       hardcode_libdir_separator=':' | 
 | 6492 |       link_all_deplibs=yes | 
 | 6493 |  | 
 | 6494 |       if test "$GCC" = yes; then | 
 | 6495 | 	case $host_os in aix4.012|aix4.012.*) | 
 | 6496 | 	# We only want to do this on AIX 4.2 and lower, the check | 
 | 6497 | 	# below for broken collect2 doesn't work under 4.3+ | 
 | 6498 | 	  collect2name=`${CC} -print-prog-name=collect2` | 
 | 6499 | 	  if test -f "$collect2name" && \ | 
 | 6500 |   	   strings "$collect2name" | grep resolve_lib_name >/dev/null | 
 | 6501 | 	  then | 
 | 6502 |   	  # We have reworked collect2 | 
 | 6503 |   	  hardcode_direct=yes | 
 | 6504 | 	  else | 
 | 6505 |   	  # We have old collect2 | 
 | 6506 |   	  hardcode_direct=unsupported | 
 | 6507 |   	  # It fails to find uninstalled libraries when the uninstalled | 
 | 6508 |   	  # path is not listed in the libpath.  Setting hardcode_minus_L | 
 | 6509 |   	  # to unsupported forces relinking | 
 | 6510 |   	  hardcode_minus_L=yes | 
 | 6511 |   	  hardcode_libdir_flag_spec='-L$libdir' | 
 | 6512 |   	  hardcode_libdir_separator= | 
 | 6513 | 	  fi | 
 | 6514 | 	esac | 
 | 6515 | 	shared_flag='-shared' | 
 | 6516 |       else | 
 | 6517 | 	# not using gcc | 
 | 6518 | 	if test "$host_cpu" = ia64; then | 
 | 6519 |   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
 | 6520 |   	# chokes on -Wl,-G. The following line is correct: | 
 | 6521 | 	  shared_flag='-G' | 
 | 6522 | 	else | 
 | 6523 |   	if test "$aix_use_runtimelinking" = yes; then | 
 | 6524 | 	    shared_flag='${wl}-G' | 
 | 6525 | 	  else | 
 | 6526 | 	    shared_flag='${wl}-bM:SRE' | 
 | 6527 |   	fi | 
 | 6528 | 	fi | 
 | 6529 |       fi | 
 | 6530 |  | 
 | 6531 |       # It seems that -bexpall does not export symbols beginning with | 
 | 6532 |       # underscore (_), so it is better to generate a list of symbols to export. | 
 | 6533 |       always_export_symbols=yes | 
 | 6534 |       if test "$aix_use_runtimelinking" = yes; then | 
 | 6535 | 	# Warning - without using the other runtime loading flags (-brtl), | 
 | 6536 | 	# -berok will link without error, but may produce a broken library. | 
 | 6537 | 	allow_undefined_flag='-berok' | 
 | 6538 |        # Determine the default libpath from the value encoded in an empty executable. | 
 | 6539 |        cat >conftest.$ac_ext <<_ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6540 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 6541 | /* confdefs.h.  */ | 
 | 6542 | _ACEOF | 
 | 6543 | cat confdefs.h >>conftest.$ac_ext | 
 | 6544 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 6545 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6546 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6547 | int | 
 | 6548 | main () | 
 | 6549 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6550 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6551 |   ; | 
 | 6552 |   return 0; | 
 | 6553 | } | 
 | 6554 | _ACEOF | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6555 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6556 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6557 |   (eval $ac_link) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6558 |   ac_status=$? | 
 | 6559 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6560 |   (exit $ac_status); } && | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6561 |          { ac_try='test -s conftest$ac_exeext' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6562 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6563 |   (eval $ac_try) 2>&5 | 
 | 6564 |   ac_status=$? | 
 | 6565 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6566 |   (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6567 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6568 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 6569 | }'` | 
 | 6570 | # Check for a 64-bit object if we didn't find anything. | 
 | 6571 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 6572 | }'`; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6573 | else | 
 | 6574 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 6575 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 6576 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6577 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6578 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6579 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6580 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6581 |        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 6582 | 	archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 
 | 6583 |        else | 
 | 6584 | 	if test "$host_cpu" = ia64; then | 
 | 6585 | 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | 
 | 6586 | 	  allow_undefined_flag="-z nodefs" | 
 | 6587 | 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 
 | 6588 | 	else | 
 | 6589 | 	 # Determine the default libpath from the value encoded in an empty executable. | 
 | 6590 | 	 cat >conftest.$ac_ext <<_ACEOF | 
 | 6591 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 6592 | /* confdefs.h.  */ | 
 | 6593 | _ACEOF | 
 | 6594 | cat confdefs.h >>conftest.$ac_ext | 
 | 6595 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 6596 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6597 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6598 | int | 
 | 6599 | main () | 
 | 6600 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6601 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6602 |   ; | 
 | 6603 |   return 0; | 
 | 6604 | } | 
 | 6605 | _ACEOF | 
 | 6606 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6607 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6608 |   (eval $ac_link) 2>&5 | 
 | 6609 |   ac_status=$? | 
 | 6610 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6611 |   (exit $ac_status); } && | 
 | 6612 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6613 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6614 |   (eval $ac_try) 2>&5 | 
 | 6615 |   ac_status=$? | 
 | 6616 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6617 |   (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6618 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6619 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 6620 | }'` | 
 | 6621 | # Check for a 64-bit object if we didn't find anything. | 
 | 6622 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 6623 | }'`; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6624 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6625 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 6626 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 6627 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6628 | fi | 
 | 6629 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6630 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6631 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6632 | 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 6633 | 	  # Warning - without using the other run time loading flags, | 
 | 6634 | 	  # -berok will link without error, but may produce a broken library. | 
 | 6635 | 	  no_undefined_flag=' ${wl}-bernotok' | 
 | 6636 | 	  allow_undefined_flag=' ${wl}-berok' | 
 | 6637 | 	  # -bexpall does not export symbols beginning with underscore (_) | 
 | 6638 | 	  always_export_symbols=yes | 
 | 6639 | 	  # Exported symbols can be pulled into shared objects from archives | 
 | 6640 | 	  whole_archive_flag_spec=' ' | 
 | 6641 | 	  archive_cmds_need_lc=yes | 
 | 6642 | 	  # This is similar to how AIX traditionally builds it's shared libraries. | 
 | 6643 | 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6644 | 	fi | 
 | 6645 |       fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6646 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6647 |  | 
 | 6648 |     amigaos*) | 
 | 6649 |       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)' | 
 | 6650 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 6651 |       hardcode_minus_L=yes | 
 | 6652 |       # see comment about different semantics on the GNU ld section | 
 | 6653 |       ld_shlibs=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6654 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6655 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6656 |     bsdi4*) | 
 | 6657 |       export_dynamic_flag_spec=-rdynamic | 
 | 6658 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6659 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6660 |     cygwin* | mingw* | pw32*) | 
 | 6661 |       # When not using gcc, we currently assume that we are using | 
 | 6662 |       # Microsoft Visual C++. | 
 | 6663 |       # hardcode_libdir_flag_spec is actually meaningless, as there is | 
 | 6664 |       # no search path for DLLs. | 
 | 6665 |       hardcode_libdir_flag_spec=' ' | 
 | 6666 |       allow_undefined_flag=unsupported | 
 | 6667 |       # Tell ltmain to make .lib files, not .a files. | 
 | 6668 |       libext=lib | 
 | 6669 |       # Tell ltmain to make .dll files, not .so files. | 
 | 6670 |       shrext=".dll" | 
 | 6671 |       # FIXME: Setting linknames here is a bad hack. | 
 | 6672 |       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
 | 6673 |       # The linker will automatically build a .lib file if we build a DLL. | 
 | 6674 |       old_archive_From_new_cmds='true' | 
 | 6675 |       # FIXME: Should let the user specify the lib program. | 
 | 6676 |       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
 | 6677 |       fix_srcfile_path='`cygpath -w "$srcfile"`' | 
 | 6678 |       enable_shared_with_static_runtimes=yes | 
 | 6679 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6680 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6681 |     darwin* | rhapsody*) | 
 | 6682 |     if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 6683 |       archive_cmds_need_lc=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6684 |       case "$host_os" in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6685 |       rhapsody* | darwin1.[012]) | 
 | 6686 | 	allow_undefined_flag='-undefined suppress' | 
 | 6687 | 	;; | 
 | 6688 |       *) # Darwin 1.3 on | 
 | 6689 | 	test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6690 | 	;; | 
 | 6691 |       esac | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6692 |       # FIXME: Relying on posixy $() will cause problems for | 
 | 6693 |       #        cross-compilation, but unfortunately the echo tests do not | 
 | 6694 |       #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
 | 6695 |       #	       `"' quotes if we put them in here... so don't! | 
 | 6696 |     	lt_int_apple_cc_single_mod=no | 
 | 6697 |     	output_verbose_link_cmd='echo' | 
 | 6698 |     	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
 | 6699 |     	  lt_int_apple_cc_single_mod=yes | 
 | 6700 |     	fi | 
 | 6701 |     	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 6702 |     	  archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 6703 |     	else | 
 | 6704 |         archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 6705 |       fi | 
 | 6706 |       module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
 | 6707 |       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
 | 6708 |         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 6709 |           archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 6710 |         else | 
 | 6711 |           archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 6712 |         fi | 
 | 6713 |           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 6714 |       hardcode_direct=no | 
 | 6715 |       hardcode_automatic=yes | 
 | 6716 |       hardcode_shlibpath_var=unsupported | 
 | 6717 |       whole_archive_flag_spec='-all_load $convenience' | 
 | 6718 |       link_all_deplibs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6719 |     fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6720 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6721 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6722 |     dgux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6723 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6724 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 6725 |       hardcode_shlibpath_var=no | 
 | 6726 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6727 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6728 |     freebsd1*) | 
 | 6729 |       ld_shlibs=no | 
 | 6730 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6731 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6732 |     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
 | 6733 |     # support.  Future versions do this automatically, but an explicit c++rt0.o | 
 | 6734 |     # does not break anything, and helps significantly (at the cost of a little | 
 | 6735 |     # extra space). | 
 | 6736 |     freebsd2.2*) | 
 | 6737 |       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
 | 6738 |       hardcode_libdir_flag_spec='-R$libdir' | 
 | 6739 |       hardcode_direct=yes | 
 | 6740 |       hardcode_shlibpath_var=no | 
 | 6741 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6742 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6743 |     # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
 | 6744 |     freebsd2*) | 
 | 6745 |       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 6746 |       hardcode_direct=yes | 
 | 6747 |       hardcode_minus_L=yes | 
 | 6748 |       hardcode_shlibpath_var=no | 
 | 6749 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6750 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6751 |     # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
 | 6752 |     freebsd*) | 
 | 6753 |       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
 | 6754 |       hardcode_libdir_flag_spec='-R$libdir' | 
 | 6755 |       hardcode_direct=yes | 
 | 6756 |       hardcode_shlibpath_var=no | 
 | 6757 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6758 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6759 |     hpux9*) | 
 | 6760 |       if test "$GCC" = yes; then | 
 | 6761 | 	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' | 
 | 6762 |       else | 
 | 6763 | 	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' | 
 | 6764 |       fi | 
 | 6765 |       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
 | 6766 |       hardcode_libdir_separator=: | 
 | 6767 |       hardcode_direct=yes | 
 | 6768 |  | 
 | 6769 |       # hardcode_minus_L: Not really in the search PATH, | 
 | 6770 |       # but as the default location of the library. | 
 | 6771 |       hardcode_minus_L=yes | 
 | 6772 |       export_dynamic_flag_spec='${wl}-E' | 
 | 6773 |       ;; | 
 | 6774 |  | 
 | 6775 |     hpux10* | hpux11*) | 
 | 6776 |       if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 
 | 6777 | 	case "$host_cpu" in | 
 | 6778 | 	hppa*64*|ia64*) | 
 | 6779 | 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 6780 | 	  ;; | 
 | 6781 | 	*) | 
 | 6782 | 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
 | 6783 | 	  ;; | 
 | 6784 | 	esac | 
 | 6785 |       else | 
 | 6786 | 	case "$host_cpu" in | 
 | 6787 | 	hppa*64*|ia64*) | 
 | 6788 | 	  archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 6789 | 	  ;; | 
 | 6790 | 	*) | 
 | 6791 | 	  archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 
 | 6792 | 	  ;; | 
 | 6793 | 	esac | 
 | 6794 |       fi | 
 | 6795 |       if test "$with_gnu_ld" = no; then | 
 | 6796 | 	case "$host_cpu" in | 
 | 6797 | 	hppa*64*) | 
 | 6798 | 	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
 | 6799 | 	  hardcode_libdir_flag_spec_ld='+b $libdir' | 
 | 6800 | 	  hardcode_libdir_separator=: | 
 | 6801 | 	  hardcode_direct=no | 
 | 6802 | 	  hardcode_shlibpath_var=no | 
 | 6803 | 	  ;; | 
 | 6804 | 	ia64*) | 
 | 6805 | 	  hardcode_libdir_flag_spec='-L$libdir' | 
 | 6806 | 	  hardcode_direct=no | 
 | 6807 | 	  hardcode_shlibpath_var=no | 
 | 6808 |  | 
 | 6809 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 6810 | 	  # but as the default location of the library. | 
 | 6811 | 	  hardcode_minus_L=yes | 
 | 6812 | 	  ;; | 
 | 6813 | 	*) | 
 | 6814 | 	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
 | 6815 | 	  hardcode_libdir_separator=: | 
 | 6816 | 	  hardcode_direct=yes | 
 | 6817 | 	  export_dynamic_flag_spec='${wl}-E' | 
 | 6818 |  | 
 | 6819 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 6820 | 	  # but as the default location of the library. | 
 | 6821 | 	  hardcode_minus_L=yes | 
 | 6822 | 	  ;; | 
 | 6823 | 	esac | 
 | 6824 |       fi | 
 | 6825 |       ;; | 
 | 6826 |  | 
 | 6827 |     irix5* | irix6* | nonstopux*) | 
 | 6828 |       if test "$GCC" = yes; then | 
 | 6829 | 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
 | 6830 |       else | 
 | 6831 | 	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
 | 6832 | 	hardcode_libdir_flag_spec_ld='-rpath $libdir' | 
 | 6833 |       fi | 
 | 6834 |       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 6835 |       hardcode_libdir_separator=: | 
 | 6836 |       link_all_deplibs=yes | 
 | 6837 |       ;; | 
 | 6838 |  | 
 | 6839 |     netbsd*) | 
 | 6840 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 6841 | 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
 | 6842 |       else | 
 | 6843 | 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
 | 6844 |       fi | 
 | 6845 |       hardcode_libdir_flag_spec='-R$libdir' | 
 | 6846 |       hardcode_direct=yes | 
 | 6847 |       hardcode_shlibpath_var=no | 
 | 6848 |       ;; | 
 | 6849 |  | 
 | 6850 |     newsos6) | 
 | 6851 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 6852 |       hardcode_direct=yes | 
 | 6853 |       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 6854 |       hardcode_libdir_separator=: | 
 | 6855 |       hardcode_shlibpath_var=no | 
 | 6856 |       ;; | 
 | 6857 |  | 
 | 6858 |     openbsd*) | 
 | 6859 |       hardcode_direct=yes | 
 | 6860 |       hardcode_shlibpath_var=no | 
 | 6861 |       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 6862 | 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 6863 | 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
 | 6864 | 	export_dynamic_flag_spec='${wl}-E' | 
 | 6865 |       else | 
 | 6866 |        case $host_os in | 
 | 6867 | 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
 | 6868 | 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 6869 | 	   hardcode_libdir_flag_spec='-R$libdir' | 
 | 6870 | 	   ;; | 
 | 6871 | 	 *) | 
 | 6872 | 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 6873 | 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
 | 6874 | 	   ;; | 
 | 6875 |        esac | 
 | 6876 |       fi | 
 | 6877 |       ;; | 
 | 6878 |  | 
 | 6879 |     os2*) | 
 | 6880 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 6881 |       hardcode_minus_L=yes | 
 | 6882 |       allow_undefined_flag=unsupported | 
 | 6883 |       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' | 
 | 6884 |       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
 | 6885 |       ;; | 
 | 6886 |  | 
 | 6887 |     osf3*) | 
 | 6888 |       if test "$GCC" = yes; then | 
 | 6889 | 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
 | 6890 | 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
 | 6891 |       else | 
 | 6892 | 	allow_undefined_flag=' -expect_unresolved \*' | 
 | 6893 | 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
 | 6894 |       fi | 
 | 6895 |       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 6896 |       hardcode_libdir_separator=: | 
 | 6897 |       ;; | 
 | 6898 |  | 
 | 6899 |     osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
 | 6900 |       if test "$GCC" = yes; then | 
 | 6901 | 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
 | 6902 | 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
 | 6903 | 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 6904 |       else | 
 | 6905 | 	allow_undefined_flag=' -expect_unresolved \*' | 
 | 6906 | 	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
 | 6907 | 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 
 | 6908 | 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' | 
 | 6909 |  | 
 | 6910 | 	# Both c and cxx compiler support -rpath directly | 
 | 6911 | 	hardcode_libdir_flag_spec='-rpath $libdir' | 
 | 6912 |       fi | 
 | 6913 |       hardcode_libdir_separator=: | 
 | 6914 |       ;; | 
 | 6915 |  | 
 | 6916 |     sco3.2v5*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6917 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 6918 |       hardcode_shlibpath_var=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6919 |       export_dynamic_flag_spec='${wl}-Bexport' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6920 |       runpath_var=LD_RUN_PATH | 
 | 6921 |       hardcode_runpath_var=yes | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6922 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6923 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6924 |     solaris*) | 
 | 6925 |       no_undefined_flag=' -z text' | 
 | 6926 |       if test "$GCC" = yes; then | 
 | 6927 | 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 6928 | 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 6929 | 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 
 | 6930 |       else | 
 | 6931 | 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 6932 | 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 6933 |   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 6934 |       fi | 
 | 6935 |       hardcode_libdir_flag_spec='-R$libdir' | 
 | 6936 |       hardcode_shlibpath_var=no | 
 | 6937 |       case $host_os in | 
 | 6938 |       solaris2.[0-5] | solaris2.[0-5].*) ;; | 
 | 6939 |       *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
 | 6940 | 	whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; | 
 | 6941 |       esac | 
 | 6942 |       link_all_deplibs=yes | 
 | 6943 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6944 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6945 |     sunos4*) | 
 | 6946 |       if test "x$host_vendor" = xsequent; then | 
 | 6947 | 	# Use $CC to link under sequent, because it throws in some extra .o | 
 | 6948 | 	# files that make .init and .fini sections work. | 
 | 6949 | 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 6950 |       else | 
 | 6951 | 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
 | 6952 |       fi | 
 | 6953 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 6954 |       hardcode_direct=yes | 
 | 6955 |       hardcode_minus_L=yes | 
 | 6956 |       hardcode_shlibpath_var=no | 
 | 6957 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6958 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6959 |     sysv4) | 
 | 6960 |       case $host_vendor in | 
 | 6961 | 	sni) | 
 | 6962 | 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 6963 | 	  hardcode_direct=yes # is this really true??? | 
 | 6964 | 	;; | 
 | 6965 | 	siemens) | 
 | 6966 | 	  ## LD is ld it makes a PLAMLIB | 
 | 6967 | 	  ## CC just makes a GrossModule. | 
 | 6968 | 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 6969 | 	  reload_cmds='$CC -r -o $output$reload_objs' | 
 | 6970 | 	  hardcode_direct=no | 
 | 6971 |         ;; | 
 | 6972 | 	motorola) | 
 | 6973 | 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 6974 | 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie | 
 | 6975 | 	;; | 
 | 6976 |       esac | 
 | 6977 |       runpath_var='LD_RUN_PATH' | 
 | 6978 |       hardcode_shlibpath_var=no | 
 | 6979 |       ;; | 
 | 6980 |  | 
 | 6981 |     sysv4.3*) | 
 | 6982 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 6983 |       hardcode_shlibpath_var=no | 
 | 6984 |       export_dynamic_flag_spec='-Bexport' | 
 | 6985 |       ;; | 
 | 6986 |  | 
 | 6987 |     sysv4*MP*) | 
 | 6988 |       if test -d /usr/nec; then | 
 | 6989 | 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 6990 | 	hardcode_shlibpath_var=no | 
 | 6991 | 	runpath_var=LD_RUN_PATH | 
 | 6992 | 	hardcode_runpath_var=yes | 
 | 6993 | 	ld_shlibs=yes | 
 | 6994 |       fi | 
 | 6995 |       ;; | 
 | 6996 |  | 
 | 6997 |     sysv4.2uw2*) | 
 | 6998 |       archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 6999 |       hardcode_direct=yes | 
 | 7000 |       hardcode_minus_L=no | 
 | 7001 |       hardcode_shlibpath_var=no | 
 | 7002 |       hardcode_runpath_var=yes | 
 | 7003 |       runpath_var=LD_RUN_PATH | 
 | 7004 |       ;; | 
 | 7005 |  | 
 | 7006 |    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*) | 
 | 7007 |       no_undefined_flag='${wl}-z ${wl}text' | 
 | 7008 |       if test "$GCC" = yes; then | 
 | 7009 | 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 7010 |       else | 
 | 7011 | 	archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 7012 |       fi | 
 | 7013 |       runpath_var='LD_RUN_PATH' | 
 | 7014 |       hardcode_shlibpath_var=no | 
 | 7015 |       ;; | 
 | 7016 |  | 
 | 7017 |     sysv5*) | 
 | 7018 |       no_undefined_flag=' -z text' | 
 | 7019 |       # $CC -shared without GNU ld will not create a library from C++ | 
 | 7020 |       # object files and a static libstdc++, better avoid it by now | 
 | 7021 |       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7022 |       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 7023 |   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 7024 |       hardcode_libdir_flag_spec= | 
 | 7025 |       hardcode_shlibpath_var=no | 
 | 7026 |       runpath_var='LD_RUN_PATH' | 
 | 7027 |       ;; | 
 | 7028 |  | 
 | 7029 |     uts4*) | 
 | 7030 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7031 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 7032 |       hardcode_shlibpath_var=no | 
 | 7033 |       ;; | 
 | 7034 |  | 
 | 7035 |     *) | 
 | 7036 |       ld_shlibs=no | 
 | 7037 |       ;; | 
 | 7038 |     esac | 
 | 7039 |   fi | 
 | 7040 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7041 | echo "$as_me:$LINENO: result: $ld_shlibs" >&5 | 
 | 7042 | echo "${ECHO_T}$ld_shlibs" >&6 | 
 | 7043 | test "$ld_shlibs" = no && can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7044 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7045 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
 | 7046 | if test "$GCC" = yes; then | 
 | 7047 |   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
 | 7048 | fi | 
 | 7049 |  | 
 | 7050 | # | 
 | 7051 | # Do we need to explicitly link libc? | 
 | 7052 | # | 
 | 7053 | case "x$archive_cmds_need_lc" in | 
 | 7054 | x|xyes) | 
 | 7055 |   # Assume -lc should be added | 
 | 7056 |   archive_cmds_need_lc=yes | 
 | 7057 |  | 
 | 7058 |   if test "$enable_shared" = yes && test "$GCC" = yes; then | 
 | 7059 |     case $archive_cmds in | 
 | 7060 |     *'~'*) | 
 | 7061 |       # FIXME: we may have to deal with multi-command sequences. | 
 | 7062 |       ;; | 
 | 7063 |     '$CC '*) | 
 | 7064 |       # Test whether the compiler implicitly links with -lc since on some | 
 | 7065 |       # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
 | 7066 |       # to ld, don't add -lc before -lgcc. | 
 | 7067 |       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
 | 7068 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
 | 7069 |       $rm conftest* | 
 | 7070 |       printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 7071 |  | 
 | 7072 |       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 7073 |   (eval $ac_compile) 2>&5 | 
 | 7074 |   ac_status=$? | 
 | 7075 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7076 |   (exit $ac_status); } 2>conftest.err; then | 
 | 7077 |         soname=conftest | 
 | 7078 |         lib=conftest | 
 | 7079 |         libobjs=conftest.$ac_objext | 
 | 7080 |         deplibs= | 
 | 7081 |         wl=$lt_prog_compiler_wl | 
 | 7082 |         compiler_flags=-v | 
 | 7083 |         linker_flags=-v | 
 | 7084 |         verstring= | 
 | 7085 |         output_objdir=. | 
 | 7086 |         libname=conftest | 
 | 7087 |         lt_save_allow_undefined_flag=$allow_undefined_flag | 
 | 7088 |         allow_undefined_flag= | 
 | 7089 |         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
 | 7090 |   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
 | 7091 |   ac_status=$? | 
 | 7092 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7093 |   (exit $ac_status); } | 
 | 7094 |         then | 
 | 7095 | 	  archive_cmds_need_lc=no | 
 | 7096 |         else | 
 | 7097 | 	  archive_cmds_need_lc=yes | 
 | 7098 |         fi | 
 | 7099 |         allow_undefined_flag=$lt_save_allow_undefined_flag | 
 | 7100 |       else | 
 | 7101 |         cat conftest.err 1>&5 | 
 | 7102 |       fi | 
 | 7103 |       $rm conftest* | 
 | 7104 |       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 | 
 | 7105 | echo "${ECHO_T}$archive_cmds_need_lc" >&6 | 
 | 7106 |       ;; | 
 | 7107 |     esac | 
 | 7108 |   fi | 
 | 7109 |   ;; | 
 | 7110 | esac | 
 | 7111 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7112 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
 | 7113 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
 | 7114 | hardcode_action= | 
 | 7115 | if test -n "$hardcode_libdir_flag_spec" || \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7116 |    test -n "$runpath_var " || \ | 
 | 7117 |    test "X$hardcode_automatic"="Xyes" ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7118 |  | 
 | 7119 |   # We can hardcode non-existant directories. | 
 | 7120 |   if test "$hardcode_direct" != no && | 
 | 7121 |      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
 | 7122 |      # have to relink, otherwise we might link with an installed library | 
 | 7123 |      # when we should be linking with a yet-to-be-installed one | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7124 |      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7125 |      test "$hardcode_minus_L" != no; then | 
 | 7126 |     # Linking always hardcodes the temporary library directory. | 
 | 7127 |     hardcode_action=relink | 
 | 7128 |   else | 
 | 7129 |     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
 | 7130 |     hardcode_action=immediate | 
 | 7131 |   fi | 
 | 7132 | else | 
 | 7133 |   # We cannot hardcode anything, or else we can only hardcode existing | 
 | 7134 |   # directories. | 
 | 7135 |   hardcode_action=unsupported | 
 | 7136 | fi | 
 | 7137 | echo "$as_me:$LINENO: result: $hardcode_action" >&5 | 
 | 7138 | echo "${ECHO_T}$hardcode_action" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7139 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7140 | if test "$hardcode_action" = relink; then | 
 | 7141 |   # Fast installation is not supported | 
 | 7142 |   enable_fast_install=no | 
 | 7143 | elif test "$shlibpath_overrides_runpath" = yes || | 
 | 7144 |      test "$enable_shared" = no; then | 
 | 7145 |   # Fast installation is not necessary | 
 | 7146 |   enable_fast_install=needless | 
 | 7147 | fi | 
 | 7148 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7149 | striplib= | 
 | 7150 | old_striplib= | 
 | 7151 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
 | 7152 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
 | 7153 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
 | 7154 |   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
 | 7155 |   test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
 | 7156 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 7157 | echo "${ECHO_T}yes" >&6 | 
 | 7158 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7159 | # FIXME - insert some real tests, host_os isn't really good enough | 
 | 7160 |   case $host_os in | 
 | 7161 |    darwin*) | 
 | 7162 |        if test -n "$STRIP" ; then | 
 | 7163 |          striplib="$STRIP -x" | 
 | 7164 |          echo "$as_me:$LINENO: result: yes" >&5 | 
 | 7165 | echo "${ECHO_T}yes" >&6 | 
 | 7166 |        else | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7167 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7168 | echo "${ECHO_T}no" >&6 | 
 | 7169 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7170 |        ;; | 
 | 7171 |    *) | 
 | 7172 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7173 | echo "${ECHO_T}no" >&6 | 
 | 7174 |     ;; | 
 | 7175 |   esac | 
 | 7176 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7177 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7178 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
 | 7179 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
 | 7180 | library_names_spec= | 
 | 7181 | libname_spec='lib$name' | 
 | 7182 | soname_spec= | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7183 | shrext=".so" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7184 | postinstall_cmds= | 
 | 7185 | postuninstall_cmds= | 
 | 7186 | finish_cmds= | 
 | 7187 | finish_eval= | 
 | 7188 | shlibpath_var= | 
 | 7189 | shlibpath_overrides_runpath=unknown | 
 | 7190 | version_type=none | 
 | 7191 | dynamic_linker="$host_os ld.so" | 
 | 7192 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7193 | if test "$GCC" = yes; then | 
 | 7194 |   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 7195 |   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
 | 7196 |     # if the path contains ";" then we assume it to be the separator | 
 | 7197 |     # otherwise default to the standard path separator (i.e. ":") - it is | 
 | 7198 |     # assumed that no part of a normal pathname contains ";" but that should | 
 | 7199 |     # okay in the real world where ";" in dirpaths is itself problematic. | 
 | 7200 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 7201 |   else | 
 | 7202 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 7203 |   fi | 
 | 7204 | else | 
 | 7205 |   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
 | 7206 | fi | 
 | 7207 | need_lib_prefix=unknown | 
 | 7208 | hardcode_into_libs=no | 
 | 7209 |  | 
 | 7210 | # when you set need_version to no, make sure it does not cause -set_version | 
 | 7211 | # flags to be left without arguments | 
 | 7212 | need_version=unknown | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7213 |  | 
 | 7214 | case $host_os in | 
 | 7215 | aix3*) | 
 | 7216 |   version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7217 |   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7218 |   shlibpath_var=LIBPATH | 
 | 7219 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7220 |   # AIX 3 has no versioning support, so we append a major version to the name. | 
 | 7221 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7222 |   ;; | 
 | 7223 |  | 
 | 7224 | aix4* | aix5*) | 
 | 7225 |   version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7226 |   need_lib_prefix=no | 
 | 7227 |   need_version=no | 
 | 7228 |   hardcode_into_libs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7229 |   if test "$host_cpu" = ia64; then | 
 | 7230 |     # AIX 5 supports IA64 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7231 |     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7232 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 7233 |   else | 
 | 7234 |     # With GCC up to 2.95.x, collect2 would create an import file | 
 | 7235 |     # for dependence libraries.  The import file would start with | 
 | 7236 |     # the line `#! .'.  This would cause the generated library to | 
 | 7237 |     # depend on `.', always an invalid library.  This was fixed in | 
 | 7238 |     # development snapshots of GCC prior to 3.0. | 
 | 7239 |     case $host_os in | 
 | 7240 |       aix4 | aix4.[01] | aix4.[01].*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7241 |       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
 | 7242 | 	   echo ' yes ' | 
 | 7243 | 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
 | 7244 | 	: | 
 | 7245 |       else | 
 | 7246 | 	can_build_shared=no | 
 | 7247 |       fi | 
 | 7248 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7249 |     esac | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7250 |     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
 | 7251 |     # soname into executable. Probably we can add versioning support to | 
 | 7252 |     # collect2, so additional links can be useful in future. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7253 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 7254 |       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
 | 7255 |       # instead of lib<name>.a to let people know that these are not | 
 | 7256 |       # typical AIX shared libraries. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7257 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7258 |     else | 
 | 7259 |       # We preserve .a as extension for shared libraries through AIX4.2 | 
 | 7260 |       # and later when we are not doing run time linking. | 
 | 7261 |       library_names_spec='${libname}${release}.a $libname.a' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7262 |       soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7263 |     fi | 
 | 7264 |     shlibpath_var=LIBPATH | 
 | 7265 |   fi | 
 | 7266 |   ;; | 
 | 7267 |  | 
 | 7268 | amigaos*) | 
 | 7269 |   library_names_spec='$libname.ixlibrary $libname.a' | 
 | 7270 |   # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
 | 7271 |   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | 
 | 7272 |   ;; | 
 | 7273 |  | 
 | 7274 | beos*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7275 |   library_names_spec='${libname}${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7276 |   dynamic_linker="$host_os ld.so" | 
 | 7277 |   shlibpath_var=LIBRARY_PATH | 
 | 7278 |   ;; | 
 | 7279 |  | 
 | 7280 | bsdi4*) | 
 | 7281 |   version_type=linux | 
 | 7282 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7283 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7284 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7285 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
 | 7286 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7287 |   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
 | 7288 |   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7289 |   # the default ld.so.conf also contains /usr/contrib/lib and | 
 | 7290 |   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
 | 7291 |   # libtool to hard-code these into programs | 
 | 7292 |   ;; | 
 | 7293 |  | 
 | 7294 | cygwin* | mingw* | pw32*) | 
 | 7295 |   version_type=windows | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7296 |   shrext=".dll" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7297 |   need_version=no | 
 | 7298 |   need_lib_prefix=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7299 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7300 |   case $GCC,$host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7301 |   yes,cygwin* | yes,mingw* | yes,pw32*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7302 |     library_names_spec='$libname.dll.a' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7303 |     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
 | 7304 |     postinstall_cmds='base_file=`basename \${file}`~ | 
 | 7305 |       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7306 |       dldir=$destdir/`dirname \$dlpath`~ | 
 | 7307 |       test -d \$dldir || mkdir -p \$dldir~ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7308 |       $install_prog $dir/$dlname \$dldir/$dlname' | 
 | 7309 |     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7310 |       dlpath=$dir/\$dldll~ | 
 | 7311 |        $rm \$dlpath' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7312 |     shlibpath_overrides_runpath=yes | 
 | 7313 |  | 
 | 7314 |     case $host_os in | 
 | 7315 |     cygwin*) | 
 | 7316 |       # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
 | 7317 |       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 7318 |       sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
 | 7319 |       ;; | 
 | 7320 |     mingw*) | 
 | 7321 |       # MinGW DLLs use traditional 'lib' prefix | 
 | 7322 |       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 7323 |       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 7324 |       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
 | 7325 |         # It is most probably a Windows format PATH printed by | 
 | 7326 |         # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
 | 7327 |         # path with ; separators, and with drive letters. We can handle the | 
 | 7328 |         # drive letters (cygwin fileutils understands them), so leave them, | 
 | 7329 |         # especially as we might pass files found there to a mingw objdump, | 
 | 7330 |         # which wouldn't understand a cygwinified path. Ahh. | 
 | 7331 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 7332 |       else | 
 | 7333 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 7334 |       fi | 
 | 7335 |       ;; | 
 | 7336 |     pw32*) | 
 | 7337 |       # pw32 DLLs use 'pw' prefix rather than 'lib' | 
 | 7338 |       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
 | 7339 |       ;; | 
 | 7340 |     esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7341 |     ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7342 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7343 |   *) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7344 |     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7345 |     ;; | 
 | 7346 |   esac | 
 | 7347 |   dynamic_linker='Win32 ld.exe' | 
 | 7348 |   # FIXME: first we should search . and the directory the executable is in | 
 | 7349 |   shlibpath_var=PATH | 
 | 7350 |   ;; | 
 | 7351 |  | 
 | 7352 | darwin* | rhapsody*) | 
 | 7353 |   dynamic_linker="$host_os dyld" | 
 | 7354 |   version_type=darwin | 
 | 7355 |   need_lib_prefix=no | 
 | 7356 |   need_version=no | 
 | 7357 |   # FIXME: Relying on posixy $() will cause problems for | 
 | 7358 |   #        cross-compilation, but unfortunately the echo tests do not | 
 | 7359 |   #        yet detect zsh echo's removal of \ escapes. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7360 |   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
 | 7361 |   soname_spec='${libname}${release}${major}$shared_ext' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7362 |   shlibpath_overrides_runpath=yes | 
 | 7363 |   shlibpath_var=DYLD_LIBRARY_PATH | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7364 |   shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
 | 7365 |   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
 | 7366 |   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 7367 |   sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 
 | 7368 |   fi | 
 | 7369 |   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
 | 7370 |   ;; | 
 | 7371 |  | 
 | 7372 | dgux*) | 
 | 7373 |   version_type=linux | 
 | 7374 |   need_lib_prefix=no | 
 | 7375 |   need_version=no | 
 | 7376 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
 | 7377 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7378 |   shlibpath_var=LD_LIBRARY_PATH | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7379 |   ;; | 
 | 7380 |  | 
 | 7381 | freebsd1*) | 
 | 7382 |   dynamic_linker=no | 
 | 7383 |   ;; | 
 | 7384 |  | 
 | 7385 | freebsd*) | 
 | 7386 |   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
 | 7387 |   version_type=freebsd-$objformat | 
 | 7388 |   case $version_type in | 
 | 7389 |     freebsd-elf*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7390 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7391 |       need_version=no | 
 | 7392 |       need_lib_prefix=no | 
 | 7393 |       ;; | 
 | 7394 |     freebsd-*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7395 |       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7396 |       need_version=yes | 
 | 7397 |       ;; | 
 | 7398 |   esac | 
 | 7399 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7400 |   case $host_os in | 
 | 7401 |   freebsd2*) | 
 | 7402 |     shlibpath_overrides_runpath=yes | 
 | 7403 |     ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7404 |   freebsd3.01* | freebsdelf3.01*) | 
 | 7405 |     shlibpath_overrides_runpath=yes | 
 | 7406 |     hardcode_into_libs=yes | 
 | 7407 |     ;; | 
 | 7408 |   *) # from 3.2 on | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7409 |     shlibpath_overrides_runpath=no | 
 | 7410 |     hardcode_into_libs=yes | 
 | 7411 |     ;; | 
 | 7412 |   esac | 
 | 7413 |   ;; | 
 | 7414 |  | 
 | 7415 | gnu*) | 
 | 7416 |   version_type=linux | 
 | 7417 |   need_lib_prefix=no | 
 | 7418 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7419 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
 | 7420 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7421 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7422 |   hardcode_into_libs=yes | 
 | 7423 |   ;; | 
 | 7424 |  | 
 | 7425 | hpux9* | hpux10* | hpux11*) | 
 | 7426 |   # Give a soname corresponding to the major version so that dld.sl refuses to | 
 | 7427 |   # link against other versions. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7428 |   version_type=sunos | 
 | 7429 |   need_lib_prefix=no | 
 | 7430 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7431 |   case "$host_cpu" in | 
 | 7432 |   ia64*) | 
 | 7433 |     shrext='.so' | 
 | 7434 |     hardcode_into_libs=yes | 
 | 7435 |     dynamic_linker="$host_os dld.so" | 
 | 7436 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 7437 |     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 7438 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7439 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7440 |     if test "X$HPUX_IA64_MODE" = X32; then | 
 | 7441 |       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
 | 7442 |     else | 
 | 7443 |       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
 | 7444 |     fi | 
 | 7445 |     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 7446 |     ;; | 
 | 7447 |    hppa*64*) | 
 | 7448 |      shrext='.sl' | 
 | 7449 |      hardcode_into_libs=yes | 
 | 7450 |      dynamic_linker="$host_os dld.sl" | 
 | 7451 |      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
 | 7452 |      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 7453 |      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7454 |      soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7455 |      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
 | 7456 |      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 7457 |      ;; | 
 | 7458 |    *) | 
 | 7459 |     shrext='.sl' | 
 | 7460 |     dynamic_linker="$host_os dld.sl" | 
 | 7461 |     shlibpath_var=SHLIB_PATH | 
 | 7462 |     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
 | 7463 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7464 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7465 |     ;; | 
 | 7466 |   esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7467 |   # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
 | 7468 |   postinstall_cmds='chmod 555 $lib' | 
 | 7469 |   ;; | 
 | 7470 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7471 | irix5* | irix6* | nonstopux*) | 
 | 7472 |   case $host_os in | 
 | 7473 |     nonstopux*) version_type=nonstopux ;; | 
 | 7474 |     *) | 
 | 7475 | 	if test "$lt_cv_prog_gnu_ld" = yes; then | 
 | 7476 | 		version_type=linux | 
 | 7477 | 	else | 
 | 7478 | 		version_type=irix | 
 | 7479 | 	fi ;; | 
 | 7480 |   esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7481 |   need_lib_prefix=no | 
 | 7482 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7483 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7484 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7485 |   case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7486 |   irix5* | nonstopux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7487 |     libsuff= shlibsuff= | 
 | 7488 |     ;; | 
 | 7489 |   *) | 
 | 7490 |     case $LD in # libtool.m4 will add one of these switches to LD | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7491 |     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
 | 7492 |       libsuff= shlibsuff= libmagic=32-bit;; | 
 | 7493 |     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
 | 7494 |       libsuff=32 shlibsuff=N32 libmagic=N32;; | 
 | 7495 |     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
 | 7496 |       libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7497 |     *) libsuff= shlibsuff= libmagic=never-match;; | 
 | 7498 |     esac | 
 | 7499 |     ;; | 
 | 7500 |   esac | 
 | 7501 |   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
 | 7502 |   shlibpath_overrides_runpath=no | 
 | 7503 |   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
 | 7504 |   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7505 |   hardcode_into_libs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7506 |   ;; | 
 | 7507 |  | 
 | 7508 | # No shared lib support for Linux oldld, aout, or coff. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7509 | linux*oldld* | linux*aout* | linux*coff*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7510 |   dynamic_linker=no | 
 | 7511 |   ;; | 
 | 7512 |  | 
 | 7513 | # This must be Linux ELF. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7514 | linux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7515 |   version_type=linux | 
 | 7516 |   need_lib_prefix=no | 
 | 7517 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7518 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7519 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7520 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
 | 7521 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7522 |   shlibpath_overrides_runpath=no | 
 | 7523 |   # This implies no fast_install, which is unacceptable. | 
 | 7524 |   # Some rework will be needed to allow for fast_install | 
 | 7525 |   # before this can be enabled. | 
 | 7526 |   hardcode_into_libs=yes | 
 | 7527 |  | 
 | 7528 |   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
 | 7529 |   # powerpc, because MkLinux only supported shared libraries with the | 
 | 7530 |   # GNU dynamic linker.  Since this was broken with cross compilers, | 
 | 7531 |   # most powerpc-linux boxes support dynamic linking these days and | 
 | 7532 |   # people can always --disable-shared, the test was removed, and we | 
 | 7533 |   # assume the GNU/Linux dynamic linker is in use. | 
 | 7534 |   dynamic_linker='GNU/Linux ld.so' | 
 | 7535 |   ;; | 
 | 7536 |  | 
 | 7537 | netbsd*) | 
 | 7538 |   version_type=sunos | 
 | 7539 |   need_lib_prefix=no | 
 | 7540 |   need_version=no | 
 | 7541 |   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7542 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7543 |     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 7544 |     dynamic_linker='NetBSD (a.out) ld.so' | 
 | 7545 |   else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7546 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
 | 7547 |     soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7548 |     dynamic_linker='NetBSD ld.elf_so' | 
 | 7549 |   fi | 
 | 7550 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7551 |   shlibpath_overrides_runpath=yes | 
 | 7552 |   hardcode_into_libs=yes | 
 | 7553 |   ;; | 
 | 7554 |  | 
 | 7555 | newsos6) | 
 | 7556 |   version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7557 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7558 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7559 |   shlibpath_overrides_runpath=yes | 
 | 7560 |   ;; | 
 | 7561 |  | 
 | 7562 | nto-qnx) | 
 | 7563 |   version_type=linux | 
 | 7564 |   need_lib_prefix=no | 
 | 7565 |   need_version=no | 
 | 7566 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7567 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7568 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7569 |   shlibpath_overrides_runpath=yes | 
 | 7570 |   ;; | 
 | 7571 |  | 
 | 7572 | openbsd*) | 
 | 7573 |   version_type=sunos | 
 | 7574 |   need_lib_prefix=no | 
 | 7575 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7576 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 7577 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 7578 |   shlibpath_var=LD_LIBRARY_PATH | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7579 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7580 |     case $host_os in | 
 | 7581 |       openbsd2.[89] | openbsd2.[89].*) | 
 | 7582 | 	shlibpath_overrides_runpath=no | 
 | 7583 | 	;; | 
 | 7584 |       *) | 
 | 7585 | 	shlibpath_overrides_runpath=yes | 
 | 7586 | 	;; | 
 | 7587 |       esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7588 |   else | 
 | 7589 |     shlibpath_overrides_runpath=yes | 
 | 7590 |   fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7591 |   ;; | 
 | 7592 |  | 
 | 7593 | os2*) | 
 | 7594 |   libname_spec='$name' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7595 |   shrext=".dll" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7596 |   need_lib_prefix=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7597 |   library_names_spec='$libname${shared_ext} $libname.a' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7598 |   dynamic_linker='OS/2 ld.exe' | 
 | 7599 |   shlibpath_var=LIBPATH | 
 | 7600 |   ;; | 
 | 7601 |  | 
 | 7602 | osf3* | osf4* | osf5*) | 
 | 7603 |   version_type=osf | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7604 |   need_lib_prefix=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7605 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7606 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7607 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7608 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7609 |   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
 | 7610 |   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
 | 7611 |   ;; | 
 | 7612 |  | 
 | 7613 | sco3.2v5*) | 
 | 7614 |   version_type=osf | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7615 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7616 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7617 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7618 |   ;; | 
 | 7619 |  | 
 | 7620 | solaris*) | 
 | 7621 |   version_type=linux | 
 | 7622 |   need_lib_prefix=no | 
 | 7623 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7624 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7625 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7626 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7627 |   shlibpath_overrides_runpath=yes | 
 | 7628 |   hardcode_into_libs=yes | 
 | 7629 |   # ldd complains unless libraries are executable | 
 | 7630 |   postinstall_cmds='chmod +x $lib' | 
 | 7631 |   ;; | 
 | 7632 |  | 
 | 7633 | sunos4*) | 
 | 7634 |   version_type=sunos | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7635 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7636 |   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
 | 7637 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7638 |   shlibpath_overrides_runpath=yes | 
 | 7639 |   if test "$with_gnu_ld" = yes; then | 
 | 7640 |     need_lib_prefix=no | 
 | 7641 |   fi | 
 | 7642 |   need_version=yes | 
 | 7643 |   ;; | 
 | 7644 |  | 
 | 7645 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 7646 |   version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7647 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7648 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7649 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7650 |   case $host_vendor in | 
 | 7651 |     sni) | 
 | 7652 |       shlibpath_overrides_runpath=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7653 |       need_lib_prefix=no | 
 | 7654 |       export_dynamic_flag_spec='${wl}-Blargedynsym' | 
 | 7655 |       runpath_var=LD_RUN_PATH | 
 | 7656 |       ;; | 
 | 7657 |     siemens) | 
 | 7658 |       need_lib_prefix=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7659 |       ;; | 
 | 7660 |     motorola) | 
 | 7661 |       need_lib_prefix=no | 
 | 7662 |       need_version=no | 
 | 7663 |       shlibpath_overrides_runpath=no | 
 | 7664 |       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
 | 7665 |       ;; | 
 | 7666 |   esac | 
 | 7667 |   ;; | 
 | 7668 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7669 | sysv4*MP*) | 
 | 7670 |   if test -d /usr/nec ;then | 
 | 7671 |     version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7672 |     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
 | 7673 |     soname_spec='$libname${shared_ext}.$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7674 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 7675 |   fi | 
 | 7676 |   ;; | 
 | 7677 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7678 | uts4*) | 
 | 7679 |   version_type=linux | 
 | 7680 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7681 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7682 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7683 |   ;; | 
 | 7684 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7685 | *) | 
 | 7686 |   dynamic_linker=no | 
 | 7687 |   ;; | 
 | 7688 | esac | 
 | 7689 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
 | 7690 | echo "${ECHO_T}$dynamic_linker" >&6 | 
 | 7691 | test "$dynamic_linker" = no && can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7692 |  | 
 | 7693 | if test "x$enable_dlopen" != xyes; then | 
 | 7694 |   enable_dlopen=unknown | 
 | 7695 |   enable_dlopen_self=unknown | 
 | 7696 |   enable_dlopen_self_static=unknown | 
 | 7697 | else | 
 | 7698 |   lt_cv_dlopen=no | 
 | 7699 |   lt_cv_dlopen_libs= | 
 | 7700 |  | 
 | 7701 |   case $host_os in | 
 | 7702 |   beos*) | 
 | 7703 |     lt_cv_dlopen="load_add_on" | 
 | 7704 |     lt_cv_dlopen_libs= | 
 | 7705 |     lt_cv_dlopen_self=yes | 
 | 7706 |     ;; | 
 | 7707 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7708 |   mingw* | pw32*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7709 |     lt_cv_dlopen="LoadLibrary" | 
 | 7710 |     lt_cv_dlopen_libs= | 
 | 7711 |    ;; | 
 | 7712 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7713 |   cygwin*) | 
 | 7714 |     lt_cv_dlopen="dlopen" | 
 | 7715 |     lt_cv_dlopen_libs= | 
 | 7716 |    ;; | 
 | 7717 |  | 
 | 7718 |   darwin*) | 
 | 7719 |   # if libdl is installed we need to link against it | 
 | 7720 |     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 7721 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 7722 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 7723 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7724 | else | 
 | 7725 |   ac_check_lib_save_LIBS=$LIBS | 
 | 7726 | LIBS="-ldl  $LIBS" | 
 | 7727 | cat >conftest.$ac_ext <<_ACEOF | 
 | 7728 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7729 | /* confdefs.h.  */ | 
 | 7730 | _ACEOF | 
 | 7731 | cat confdefs.h >>conftest.$ac_ext | 
 | 7732 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 7733 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7734 |  | 
 | 7735 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 7736 | #ifdef __cplusplus | 
 | 7737 | extern "C" | 
 | 7738 | #endif | 
 | 7739 | /* We use char because int might match the return type of a gcc2 | 
 | 7740 |    builtin and then its argument prototype would still apply.  */ | 
 | 7741 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7742 | int | 
 | 7743 | main () | 
 | 7744 | { | 
 | 7745 | dlopen (); | 
 | 7746 |   ; | 
 | 7747 |   return 0; | 
 | 7748 | } | 
 | 7749 | _ACEOF | 
 | 7750 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 7751 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 7752 |   (eval $ac_link) 2>&5 | 
 | 7753 |   ac_status=$? | 
 | 7754 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7755 |   (exit $ac_status); } && | 
 | 7756 |          { ac_try='test -s conftest$ac_exeext' | 
 | 7757 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 7758 |   (eval $ac_try) 2>&5 | 
 | 7759 |   ac_status=$? | 
 | 7760 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7761 |   (exit $ac_status); }; }; then | 
 | 7762 |   ac_cv_lib_dl_dlopen=yes | 
 | 7763 | else | 
 | 7764 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7765 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 7766 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7767 | ac_cv_lib_dl_dlopen=no | 
 | 7768 | fi | 
 | 7769 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 7770 | LIBS=$ac_check_lib_save_LIBS | 
 | 7771 | fi | 
 | 7772 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 7773 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 7774 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 7775 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 7776 | else | 
 | 7777 |  | 
 | 7778 |     lt_cv_dlopen="dyld" | 
 | 7779 |     lt_cv_dlopen_libs= | 
 | 7780 |     lt_cv_dlopen_self=yes | 
 | 7781 |  | 
 | 7782 | fi | 
 | 7783 |  | 
 | 7784 |    ;; | 
 | 7785 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7786 |   *) | 
 | 7787 |     echo "$as_me:$LINENO: checking for shl_load" >&5 | 
 | 7788 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
 | 7789 | if test "${ac_cv_func_shl_load+set}" = set; then | 
 | 7790 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7791 | else | 
 | 7792 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 7793 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7794 | /* confdefs.h.  */ | 
 | 7795 | _ACEOF | 
 | 7796 | cat confdefs.h >>conftest.$ac_ext | 
 | 7797 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 7798 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7799 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7800 |     which can conflict with char shl_load (); below. | 
 | 7801 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 7802 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 7803 | #ifdef __STDC__ | 
 | 7804 | # include <limits.h> | 
 | 7805 | #else | 
 | 7806 | # include <assert.h> | 
 | 7807 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7808 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 7809 | #ifdef __cplusplus | 
 | 7810 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7811 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7812 | #endif | 
 | 7813 | /* We use char because int might match the return type of a gcc2 | 
 | 7814 |    builtin and then its argument prototype would still apply.  */ | 
 | 7815 | char shl_load (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7816 | /* The GNU C library defines this for functions which it implements | 
 | 7817 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 7818 |     something starting with __ and the normal name is an alias.  */ | 
 | 7819 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
 | 7820 | choke me | 
 | 7821 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7822 | char (*f) () = shl_load; | 
 | 7823 | #endif | 
 | 7824 | #ifdef __cplusplus | 
 | 7825 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7826 | #endif | 
 | 7827 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7828 | int | 
 | 7829 | main () | 
 | 7830 | { | 
 | 7831 | return f != shl_load; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7832 |   ; | 
 | 7833 |   return 0; | 
 | 7834 | } | 
 | 7835 | _ACEOF | 
 | 7836 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 7837 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 7838 |   (eval $ac_link) 2>&5 | 
 | 7839 |   ac_status=$? | 
 | 7840 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7841 |   (exit $ac_status); } && | 
 | 7842 |          { ac_try='test -s conftest$ac_exeext' | 
 | 7843 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 7844 |   (eval $ac_try) 2>&5 | 
 | 7845 |   ac_status=$? | 
 | 7846 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7847 |   (exit $ac_status); }; }; then | 
 | 7848 |   ac_cv_func_shl_load=yes | 
 | 7849 | else | 
 | 7850 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7851 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 7852 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7853 | ac_cv_func_shl_load=no | 
 | 7854 | fi | 
 | 7855 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 7856 | fi | 
 | 7857 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 
 | 7858 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
 | 7859 | if test $ac_cv_func_shl_load = yes; then | 
 | 7860 |   lt_cv_dlopen="shl_load" | 
 | 7861 | else | 
 | 7862 |   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 
 | 7863 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
 | 7864 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
 | 7865 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7866 | else | 
 | 7867 |   ac_check_lib_save_LIBS=$LIBS | 
 | 7868 | LIBS="-ldld  $LIBS" | 
 | 7869 | cat >conftest.$ac_ext <<_ACEOF | 
 | 7870 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7871 | /* confdefs.h.  */ | 
 | 7872 | _ACEOF | 
 | 7873 | cat confdefs.h >>conftest.$ac_ext | 
 | 7874 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 7875 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7876 |  | 
 | 7877 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 7878 | #ifdef __cplusplus | 
 | 7879 | extern "C" | 
 | 7880 | #endif | 
 | 7881 | /* We use char because int might match the return type of a gcc2 | 
 | 7882 |    builtin and then its argument prototype would still apply.  */ | 
 | 7883 | char shl_load (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7884 | int | 
 | 7885 | main () | 
 | 7886 | { | 
 | 7887 | shl_load (); | 
 | 7888 |   ; | 
 | 7889 |   return 0; | 
 | 7890 | } | 
 | 7891 | _ACEOF | 
 | 7892 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 7893 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 7894 |   (eval $ac_link) 2>&5 | 
 | 7895 |   ac_status=$? | 
 | 7896 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7897 |   (exit $ac_status); } && | 
 | 7898 |          { ac_try='test -s conftest$ac_exeext' | 
 | 7899 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 7900 |   (eval $ac_try) 2>&5 | 
 | 7901 |   ac_status=$? | 
 | 7902 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7903 |   (exit $ac_status); }; }; then | 
 | 7904 |   ac_cv_lib_dld_shl_load=yes | 
 | 7905 | else | 
 | 7906 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7907 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 7908 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7909 | ac_cv_lib_dld_shl_load=no | 
 | 7910 | fi | 
 | 7911 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 7912 | LIBS=$ac_check_lib_save_LIBS | 
 | 7913 | fi | 
 | 7914 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 
 | 7915 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
 | 7916 | if test $ac_cv_lib_dld_shl_load = yes; then | 
 | 7917 |   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 
 | 7918 | else | 
 | 7919 |   echo "$as_me:$LINENO: checking for dlopen" >&5 | 
 | 7920 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
 | 7921 | if test "${ac_cv_func_dlopen+set}" = set; then | 
 | 7922 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7923 | else | 
 | 7924 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 7925 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7926 | /* confdefs.h.  */ | 
 | 7927 | _ACEOF | 
 | 7928 | cat confdefs.h >>conftest.$ac_ext | 
 | 7929 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 7930 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7931 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7932 |     which can conflict with char dlopen (); below. | 
 | 7933 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 7934 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 7935 | #ifdef __STDC__ | 
 | 7936 | # include <limits.h> | 
 | 7937 | #else | 
 | 7938 | # include <assert.h> | 
 | 7939 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7940 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 7941 | #ifdef __cplusplus | 
 | 7942 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7943 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7944 | #endif | 
 | 7945 | /* We use char because int might match the return type of a gcc2 | 
 | 7946 |    builtin and then its argument prototype would still apply.  */ | 
 | 7947 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7948 | /* The GNU C library defines this for functions which it implements | 
 | 7949 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 7950 |     something starting with __ and the normal name is an alias.  */ | 
 | 7951 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
 | 7952 | choke me | 
 | 7953 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7954 | char (*f) () = dlopen; | 
 | 7955 | #endif | 
 | 7956 | #ifdef __cplusplus | 
 | 7957 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7958 | #endif | 
 | 7959 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7960 | int | 
 | 7961 | main () | 
 | 7962 | { | 
 | 7963 | return f != dlopen; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7964 |   ; | 
 | 7965 |   return 0; | 
 | 7966 | } | 
 | 7967 | _ACEOF | 
 | 7968 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 7969 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 7970 |   (eval $ac_link) 2>&5 | 
 | 7971 |   ac_status=$? | 
 | 7972 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7973 |   (exit $ac_status); } && | 
 | 7974 |          { ac_try='test -s conftest$ac_exeext' | 
 | 7975 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 7976 |   (eval $ac_try) 2>&5 | 
 | 7977 |   ac_status=$? | 
 | 7978 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7979 |   (exit $ac_status); }; }; then | 
 | 7980 |   ac_cv_func_dlopen=yes | 
 | 7981 | else | 
 | 7982 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7983 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 7984 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7985 | ac_cv_func_dlopen=no | 
 | 7986 | fi | 
 | 7987 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 7988 | fi | 
 | 7989 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 
 | 7990 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
 | 7991 | if test $ac_cv_func_dlopen = yes; then | 
 | 7992 |   lt_cv_dlopen="dlopen" | 
 | 7993 | else | 
 | 7994 |   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 7995 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 7996 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 7997 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7998 | else | 
 | 7999 |   ac_check_lib_save_LIBS=$LIBS | 
 | 8000 | LIBS="-ldl  $LIBS" | 
 | 8001 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8002 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8003 | /* confdefs.h.  */ | 
 | 8004 | _ACEOF | 
 | 8005 | cat confdefs.h >>conftest.$ac_ext | 
 | 8006 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 8007 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8008 |  | 
 | 8009 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8010 | #ifdef __cplusplus | 
 | 8011 | extern "C" | 
 | 8012 | #endif | 
 | 8013 | /* We use char because int might match the return type of a gcc2 | 
 | 8014 |    builtin and then its argument prototype would still apply.  */ | 
 | 8015 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8016 | int | 
 | 8017 | main () | 
 | 8018 | { | 
 | 8019 | dlopen (); | 
 | 8020 |   ; | 
 | 8021 |   return 0; | 
 | 8022 | } | 
 | 8023 | _ACEOF | 
 | 8024 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8025 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8026 |   (eval $ac_link) 2>&5 | 
 | 8027 |   ac_status=$? | 
 | 8028 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8029 |   (exit $ac_status); } && | 
 | 8030 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8031 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8032 |   (eval $ac_try) 2>&5 | 
 | 8033 |   ac_status=$? | 
 | 8034 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8035 |   (exit $ac_status); }; }; then | 
 | 8036 |   ac_cv_lib_dl_dlopen=yes | 
 | 8037 | else | 
 | 8038 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8039 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 8040 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8041 | ac_cv_lib_dl_dlopen=no | 
 | 8042 | fi | 
 | 8043 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8044 | LIBS=$ac_check_lib_save_LIBS | 
 | 8045 | fi | 
 | 8046 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 8047 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 8048 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 8049 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 8050 | else | 
 | 8051 |   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 
 | 8052 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
 | 8053 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
 | 8054 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8055 | else | 
 | 8056 |   ac_check_lib_save_LIBS=$LIBS | 
 | 8057 | LIBS="-lsvld  $LIBS" | 
 | 8058 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8059 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8060 | /* confdefs.h.  */ | 
 | 8061 | _ACEOF | 
 | 8062 | cat confdefs.h >>conftest.$ac_ext | 
 | 8063 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 8064 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8065 |  | 
 | 8066 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8067 | #ifdef __cplusplus | 
 | 8068 | extern "C" | 
 | 8069 | #endif | 
 | 8070 | /* We use char because int might match the return type of a gcc2 | 
 | 8071 |    builtin and then its argument prototype would still apply.  */ | 
 | 8072 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8073 | int | 
 | 8074 | main () | 
 | 8075 | { | 
 | 8076 | dlopen (); | 
 | 8077 |   ; | 
 | 8078 |   return 0; | 
 | 8079 | } | 
 | 8080 | _ACEOF | 
 | 8081 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8082 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8083 |   (eval $ac_link) 2>&5 | 
 | 8084 |   ac_status=$? | 
 | 8085 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8086 |   (exit $ac_status); } && | 
 | 8087 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8088 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8089 |   (eval $ac_try) 2>&5 | 
 | 8090 |   ac_status=$? | 
 | 8091 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8092 |   (exit $ac_status); }; }; then | 
 | 8093 |   ac_cv_lib_svld_dlopen=yes | 
 | 8094 | else | 
 | 8095 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8096 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 8097 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8098 | ac_cv_lib_svld_dlopen=no | 
 | 8099 | fi | 
 | 8100 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8101 | LIBS=$ac_check_lib_save_LIBS | 
 | 8102 | fi | 
 | 8103 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 
 | 8104 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
 | 8105 | if test $ac_cv_lib_svld_dlopen = yes; then | 
 | 8106 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
 | 8107 | else | 
 | 8108 |   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 
 | 8109 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 
 | 8110 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 
 | 8111 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8112 | else | 
 | 8113 |   ac_check_lib_save_LIBS=$LIBS | 
 | 8114 | LIBS="-ldld  $LIBS" | 
 | 8115 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8116 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8117 | /* confdefs.h.  */ | 
 | 8118 | _ACEOF | 
 | 8119 | cat confdefs.h >>conftest.$ac_ext | 
 | 8120 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 8121 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8122 |  | 
 | 8123 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8124 | #ifdef __cplusplus | 
 | 8125 | extern "C" | 
 | 8126 | #endif | 
 | 8127 | /* We use char because int might match the return type of a gcc2 | 
 | 8128 |    builtin and then its argument prototype would still apply.  */ | 
 | 8129 | char dld_link (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8130 | int | 
 | 8131 | main () | 
 | 8132 | { | 
 | 8133 | dld_link (); | 
 | 8134 |   ; | 
 | 8135 |   return 0; | 
 | 8136 | } | 
 | 8137 | _ACEOF | 
 | 8138 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8139 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8140 |   (eval $ac_link) 2>&5 | 
 | 8141 |   ac_status=$? | 
 | 8142 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8143 |   (exit $ac_status); } && | 
 | 8144 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8145 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8146 |   (eval $ac_try) 2>&5 | 
 | 8147 |   ac_status=$? | 
 | 8148 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8149 |   (exit $ac_status); }; }; then | 
 | 8150 |   ac_cv_lib_dld_dld_link=yes | 
 | 8151 | else | 
 | 8152 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8153 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 8154 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8155 | ac_cv_lib_dld_dld_link=no | 
 | 8156 | fi | 
 | 8157 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8158 | LIBS=$ac_check_lib_save_LIBS | 
 | 8159 | fi | 
 | 8160 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 
 | 8161 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 
 | 8162 | if test $ac_cv_lib_dld_dld_link = yes; then | 
 | 8163 |   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
 | 8164 | fi | 
 | 8165 |  | 
 | 8166 |  | 
 | 8167 | fi | 
 | 8168 |  | 
 | 8169 |  | 
 | 8170 | fi | 
 | 8171 |  | 
 | 8172 |  | 
 | 8173 | fi | 
 | 8174 |  | 
 | 8175 |  | 
 | 8176 | fi | 
 | 8177 |  | 
 | 8178 |  | 
 | 8179 | fi | 
 | 8180 |  | 
 | 8181 |     ;; | 
 | 8182 |   esac | 
 | 8183 |  | 
 | 8184 |   if test "x$lt_cv_dlopen" != xno; then | 
 | 8185 |     enable_dlopen=yes | 
 | 8186 |   else | 
 | 8187 |     enable_dlopen=no | 
 | 8188 |   fi | 
 | 8189 |  | 
 | 8190 |   case $lt_cv_dlopen in | 
 | 8191 |   dlopen) | 
 | 8192 |     save_CPPFLAGS="$CPPFLAGS" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8193 |     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8194 |  | 
 | 8195 |     save_LDFLAGS="$LDFLAGS" | 
 | 8196 |     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
 | 8197 |  | 
 | 8198 |     save_LIBS="$LIBS" | 
 | 8199 |     LIBS="$lt_cv_dlopen_libs $LIBS" | 
 | 8200 |  | 
 | 8201 |     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 
 | 8202 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
 | 8203 | if test "${lt_cv_dlopen_self+set}" = set; then | 
 | 8204 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8205 | else | 
 | 8206 |   	  if test "$cross_compiling" = yes; then : | 
 | 8207 |   lt_cv_dlopen_self=cross | 
 | 8208 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8209 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8210 |   lt_status=$lt_dlunknown | 
 | 8211 |   cat > conftest.$ac_ext <<EOF | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 8212 | #line 8212 "configure" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8213 | #include "confdefs.h" | 
 | 8214 |  | 
 | 8215 | #if HAVE_DLFCN_H | 
 | 8216 | #include <dlfcn.h> | 
 | 8217 | #endif | 
 | 8218 |  | 
 | 8219 | #include <stdio.h> | 
 | 8220 |  | 
 | 8221 | #ifdef RTLD_GLOBAL | 
 | 8222 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 8223 | #else | 
 | 8224 | #  ifdef DL_GLOBAL | 
 | 8225 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 8226 | #  else | 
 | 8227 | #    define LT_DLGLOBAL		0 | 
 | 8228 | #  endif | 
 | 8229 | #endif | 
 | 8230 |  | 
 | 8231 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 8232 |    find out it does not work in some platform. */ | 
 | 8233 | #ifndef LT_DLLAZY_OR_NOW | 
 | 8234 | #  ifdef RTLD_LAZY | 
 | 8235 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 8236 | #  else | 
 | 8237 | #    ifdef DL_LAZY | 
 | 8238 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 8239 | #    else | 
 | 8240 | #      ifdef RTLD_NOW | 
 | 8241 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 8242 | #      else | 
 | 8243 | #        ifdef DL_NOW | 
 | 8244 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 8245 | #        else | 
 | 8246 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 8247 | #        endif | 
 | 8248 | #      endif | 
 | 8249 | #    endif | 
 | 8250 | #  endif | 
 | 8251 | #endif | 
 | 8252 |  | 
 | 8253 | #ifdef __cplusplus | 
 | 8254 | extern "C" void exit (int); | 
 | 8255 | #endif | 
 | 8256 |  | 
 | 8257 | void fnord() { int i=42;} | 
 | 8258 | int main () | 
 | 8259 | { | 
 | 8260 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 8261 |   int status = $lt_dlunknown; | 
 | 8262 |  | 
 | 8263 |   if (self) | 
 | 8264 |     { | 
 | 8265 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 8266 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 8267 |       /* dlclose (self); */ | 
 | 8268 |     } | 
 | 8269 |  | 
 | 8270 |     exit (status); | 
 | 8271 | } | 
 | 8272 | EOF | 
 | 8273 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8274 |   (eval $ac_link) 2>&5 | 
 | 8275 |   ac_status=$? | 
 | 8276 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8277 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 8278 |     (./conftest; exit; ) 2>/dev/null | 
 | 8279 |     lt_status=$? | 
 | 8280 |     case x$lt_status in | 
 | 8281 |       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
 | 8282 |       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
 | 8283 |       x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
 | 8284 |     esac | 
 | 8285 |   else : | 
 | 8286 |     # compilation failed | 
 | 8287 |     lt_cv_dlopen_self=no | 
 | 8288 |   fi | 
 | 8289 | fi | 
 | 8290 | rm -fr conftest* | 
 | 8291 |  | 
 | 8292 |  | 
 | 8293 | fi | 
 | 8294 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 
 | 8295 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
 | 8296 |  | 
 | 8297 |     if test "x$lt_cv_dlopen_self" = xyes; then | 
 | 8298 |       LDFLAGS="$LDFLAGS $link_static_flag" | 
 | 8299 |       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 
 | 8300 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
 | 8301 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
 | 8302 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8303 | else | 
 | 8304 |   	  if test "$cross_compiling" = yes; then : | 
 | 8305 |   lt_cv_dlopen_self_static=cross | 
 | 8306 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8307 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8308 |   lt_status=$lt_dlunknown | 
 | 8309 |   cat > conftest.$ac_ext <<EOF | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 8310 | #line 8310 "configure" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8311 | #include "confdefs.h" | 
 | 8312 |  | 
 | 8313 | #if HAVE_DLFCN_H | 
 | 8314 | #include <dlfcn.h> | 
 | 8315 | #endif | 
 | 8316 |  | 
 | 8317 | #include <stdio.h> | 
 | 8318 |  | 
 | 8319 | #ifdef RTLD_GLOBAL | 
 | 8320 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 8321 | #else | 
 | 8322 | #  ifdef DL_GLOBAL | 
 | 8323 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 8324 | #  else | 
 | 8325 | #    define LT_DLGLOBAL		0 | 
 | 8326 | #  endif | 
 | 8327 | #endif | 
 | 8328 |  | 
 | 8329 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 8330 |    find out it does not work in some platform. */ | 
 | 8331 | #ifndef LT_DLLAZY_OR_NOW | 
 | 8332 | #  ifdef RTLD_LAZY | 
 | 8333 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 8334 | #  else | 
 | 8335 | #    ifdef DL_LAZY | 
 | 8336 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 8337 | #    else | 
 | 8338 | #      ifdef RTLD_NOW | 
 | 8339 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 8340 | #      else | 
 | 8341 | #        ifdef DL_NOW | 
 | 8342 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 8343 | #        else | 
 | 8344 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 8345 | #        endif | 
 | 8346 | #      endif | 
 | 8347 | #    endif | 
 | 8348 | #  endif | 
 | 8349 | #endif | 
 | 8350 |  | 
 | 8351 | #ifdef __cplusplus | 
 | 8352 | extern "C" void exit (int); | 
 | 8353 | #endif | 
 | 8354 |  | 
 | 8355 | void fnord() { int i=42;} | 
 | 8356 | int main () | 
 | 8357 | { | 
 | 8358 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 8359 |   int status = $lt_dlunknown; | 
 | 8360 |  | 
 | 8361 |   if (self) | 
 | 8362 |     { | 
 | 8363 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 8364 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 8365 |       /* dlclose (self); */ | 
 | 8366 |     } | 
 | 8367 |  | 
 | 8368 |     exit (status); | 
 | 8369 | } | 
 | 8370 | EOF | 
 | 8371 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8372 |   (eval $ac_link) 2>&5 | 
 | 8373 |   ac_status=$? | 
 | 8374 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8375 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 8376 |     (./conftest; exit; ) 2>/dev/null | 
 | 8377 |     lt_status=$? | 
 | 8378 |     case x$lt_status in | 
 | 8379 |       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 8380 |       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 8381 |       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
 | 8382 |     esac | 
 | 8383 |   else : | 
 | 8384 |     # compilation failed | 
 | 8385 |     lt_cv_dlopen_self_static=no | 
 | 8386 |   fi | 
 | 8387 | fi | 
 | 8388 | rm -fr conftest* | 
 | 8389 |  | 
 | 8390 |  | 
 | 8391 | fi | 
 | 8392 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 
 | 8393 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
 | 8394 |     fi | 
 | 8395 |  | 
 | 8396 |     CPPFLAGS="$save_CPPFLAGS" | 
 | 8397 |     LDFLAGS="$save_LDFLAGS" | 
 | 8398 |     LIBS="$save_LIBS" | 
 | 8399 |     ;; | 
 | 8400 |   esac | 
 | 8401 |  | 
 | 8402 |   case $lt_cv_dlopen_self in | 
 | 8403 |   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
 | 8404 |   *) enable_dlopen_self=unknown ;; | 
 | 8405 |   esac | 
 | 8406 |  | 
 | 8407 |   case $lt_cv_dlopen_self_static in | 
 | 8408 |   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
 | 8409 |   *) enable_dlopen_self_static=unknown ;; | 
 | 8410 |   esac | 
 | 8411 | fi | 
 | 8412 |  | 
 | 8413 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8414 | # Report which librarie types wil actually be built | 
 | 8415 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 | 
 | 8416 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | 
 | 8417 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 | 
 | 8418 | echo "${ECHO_T}$can_build_shared" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8419 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8420 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 | 
 | 8421 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 | 
 | 8422 | test "$can_build_shared" = "no" && enable_shared=no | 
 | 8423 |  | 
 | 8424 | # On AIX, shared libraries and static libraries use the same namespace, and | 
 | 8425 | # are all built from PIC. | 
 | 8426 | case "$host_os" in | 
 | 8427 | aix3*) | 
 | 8428 |   test "$enable_shared" = yes && enable_static=no | 
 | 8429 |   if test -n "$RANLIB"; then | 
 | 8430 |     archive_cmds="$archive_cmds~\$RANLIB \$lib" | 
 | 8431 |     postinstall_cmds='$RANLIB $lib' | 
 | 8432 |   fi | 
 | 8433 |   ;; | 
 | 8434 |  | 
 | 8435 | aix4*) | 
 | 8436 |   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | 
 | 8437 |     test "$enable_shared" = yes && enable_static=no | 
 | 8438 |   fi | 
 | 8439 |   ;; | 
 | 8440 |   darwin* | rhapsody*) | 
 | 8441 |   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 8442 |     archive_cmds_need_lc=no | 
 | 8443 |     case "$host_os" in | 
 | 8444 |     rhapsody* | darwin1.[012]) | 
 | 8445 |       allow_undefined_flag='-undefined suppress' | 
 | 8446 |       ;; | 
 | 8447 |     *) # Darwin 1.3 on | 
 | 8448 |       test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' | 
 | 8449 |       ;; | 
 | 8450 |     esac | 
 | 8451 |     # FIXME: Relying on posixy $() will cause problems for | 
 | 8452 |     #        cross-compilation, but unfortunately the echo tests do not | 
 | 8453 |     #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
 | 8454 |     #	       `"' quotes if we put them in here... so don't! | 
 | 8455 | 		output_verbose_link_cmd='echo' | 
 | 8456 |     archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' | 
 | 8457 |     module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
 | 8458 |     # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
 | 8459 | 		  archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 8460 | 		  module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 8461 |     hardcode_direct=no | 
 | 8462 |     hardcode_automatic=yes | 
 | 8463 |     hardcode_shlibpath_var=unsupported | 
 | 8464 |     whole_archive_flag_spec='-all_load $convenience' | 
 | 8465 |     link_all_deplibs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8466 |     fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8467 |     ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8468 | esac | 
 | 8469 | echo "$as_me:$LINENO: result: $enable_shared" >&5 | 
 | 8470 | echo "${ECHO_T}$enable_shared" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8471 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8472 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 | 
 | 8473 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 | 
 | 8474 | # Make sure either enable_shared or enable_static is yes. | 
 | 8475 | test "$enable_shared" = yes || enable_static=yes | 
 | 8476 | echo "$as_me:$LINENO: result: $enable_static" >&5 | 
 | 8477 | echo "${ECHO_T}$enable_static" >&6 | 
 | 8478 |  | 
 | 8479 | # The else clause should only fire when bootstrapping the | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8480 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 8481 | # with your package, and you will get complaints that there are | 
 | 8482 | # no rules to generate ltmain.sh. | 
 | 8483 | if test -f "$ltmain"; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8484 |   # See if we are running on zsh, and set the options which allow our commands through | 
 | 8485 |   # without removal of \ escapes. | 
 | 8486 |   if test -n "${ZSH_VERSION+set}" ; then | 
 | 8487 |     setopt NO_GLOB_SUBST | 
 | 8488 |   fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8489 |   # Now quote all the things that may contain metacharacters while being | 
 | 8490 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 8491 |   # variables and quote the copies for generation of the libtool script. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8492 |   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
 | 8493 |     libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
 | 8494 |     old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
 | 8495 |     deplibs_check_method reload_flag reload_cmds need_locks \ | 
 | 8496 |     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
 | 8497 |     lt_cv_sys_global_symbol_to_c_name_address \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8498 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8499 |     old_postinstall_cmds old_postuninstall_cmds \ | 
 | 8500 |     compiler \ | 
 | 8501 |     CC \ | 
 | 8502 |     LD \ | 
 | 8503 |     lt_prog_compiler_wl \ | 
 | 8504 |     lt_prog_compiler_pic \ | 
 | 8505 |     lt_prog_compiler_static \ | 
 | 8506 |     lt_prog_compiler_no_builtin_flag \ | 
 | 8507 |     export_dynamic_flag_spec \ | 
 | 8508 |     thread_safe_flag_spec \ | 
 | 8509 |     whole_archive_flag_spec \ | 
 | 8510 |     enable_shared_with_static_runtimes \ | 
 | 8511 |     old_archive_cmds \ | 
 | 8512 |     old_archive_from_new_cmds \ | 
 | 8513 |     predep_objects \ | 
 | 8514 |     postdep_objects \ | 
 | 8515 |     predeps \ | 
 | 8516 |     postdeps \ | 
 | 8517 |     compiler_lib_search_path \ | 
 | 8518 |     archive_cmds \ | 
 | 8519 |     archive_expsym_cmds \ | 
 | 8520 |     postinstall_cmds \ | 
 | 8521 |     postuninstall_cmds \ | 
 | 8522 |     old_archive_from_expsyms_cmds \ | 
 | 8523 |     allow_undefined_flag \ | 
 | 8524 |     no_undefined_flag \ | 
 | 8525 |     export_symbols_cmds \ | 
 | 8526 |     hardcode_libdir_flag_spec \ | 
 | 8527 |     hardcode_libdir_flag_spec_ld \ | 
 | 8528 |     hardcode_libdir_separator \ | 
 | 8529 |     hardcode_automatic \ | 
 | 8530 |     module_cmds \ | 
 | 8531 |     module_expsym_cmds \ | 
 | 8532 |     lt_cv_prog_compiler_c_o \ | 
 | 8533 |     exclude_expsyms \ | 
 | 8534 |     include_expsyms; do | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8535 |  | 
 | 8536 |     case $var in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8537 |     old_archive_cmds | \ | 
 | 8538 |     old_archive_from_new_cmds | \ | 
 | 8539 |     archive_cmds | \ | 
 | 8540 |     archive_expsym_cmds | \ | 
 | 8541 |     module_cmds | \ | 
 | 8542 |     module_expsym_cmds | \ | 
 | 8543 |     old_archive_from_expsyms_cmds | \ | 
 | 8544 |     export_symbols_cmds | \ | 
 | 8545 |     extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8546 |     postinstall_cmds | postuninstall_cmds | \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8547 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 8548 |     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8549 |       # Double-quote double-evaled strings. | 
 | 8550 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 8551 |       ;; | 
 | 8552 |     *) | 
 | 8553 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 8554 |       ;; | 
 | 8555 |     esac | 
 | 8556 |   done | 
 | 8557 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8558 |   case $lt_echo in | 
 | 8559 |   *'\$0 --fallback-echo"') | 
 | 8560 |     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
 | 8561 |     ;; | 
 | 8562 |   esac | 
 | 8563 |  | 
 | 8564 | cfgfile="${ofile}T" | 
 | 8565 |   trap "$rm \"$cfgfile\"; exit 1" 1 2 15 | 
 | 8566 |   $rm -f "$cfgfile" | 
 | 8567 |   { echo "$as_me:$LINENO: creating $ofile" >&5 | 
 | 8568 | echo "$as_me: creating $ofile" >&6;} | 
 | 8569 |  | 
 | 8570 |   cat <<__EOF__ >> "$cfgfile" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8571 | #! $SHELL | 
 | 8572 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8573 | # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8574 | # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) | 
 | 8575 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. | 
 | 8576 | # | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8577 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 | 
 | 8578 | # Free Software Foundation, Inc. | 
 | 8579 | # | 
 | 8580 | # This file is part of GNU Libtool: | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8581 | # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 | 
 | 8582 | # | 
 | 8583 | # This program is free software; you can redistribute it and/or modify | 
 | 8584 | # it under the terms of the GNU General Public License as published by | 
 | 8585 | # the Free Software Foundation; either version 2 of the License, or | 
 | 8586 | # (at your option) any later version. | 
 | 8587 | # | 
 | 8588 | # This program is distributed in the hope that it will be useful, but | 
 | 8589 | # WITHOUT ANY WARRANTY; without even the implied warranty of | 
 | 8590 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
 | 8591 | # General Public License for more details. | 
 | 8592 | # | 
 | 8593 | # You should have received a copy of the GNU General Public License | 
 | 8594 | # along with this program; if not, write to the Free Software | 
 | 8595 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 
 | 8596 | # | 
 | 8597 | # As a special exception to the GNU General Public License, if you | 
 | 8598 | # distribute this file as part of a program that contains a | 
 | 8599 | # configuration script generated by Autoconf, you may include it under | 
 | 8600 | # the same distribution terms that you use for the rest of that program. | 
 | 8601 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8602 | # A sed program that does not truncate output. | 
 | 8603 | SED=$lt_SED | 
 | 8604 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8605 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8606 | Xsed="$SED -e s/^X//" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8607 |  | 
 | 8608 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 
 | 8609 | # if CDPATH is set. | 
 | 8610 | if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 
 | 8611 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8612 | # The names of the tagged configurations supported by this script. | 
 | 8613 | available_tags= | 
 | 8614 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8615 | # ### BEGIN LIBTOOL CONFIG | 
 | 8616 |  | 
 | 8617 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 8618 |  | 
 | 8619 | # Shell to use when invoking shell scripts. | 
 | 8620 | SHELL=$lt_SHELL | 
 | 8621 |  | 
 | 8622 | # Whether or not to build shared libraries. | 
 | 8623 | build_libtool_libs=$enable_shared | 
 | 8624 |  | 
 | 8625 | # Whether or not to build static libraries. | 
 | 8626 | build_old_libs=$enable_static | 
 | 8627 |  | 
 | 8628 | # Whether or not to add -lc for building shared libraries. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8629 | build_libtool_need_lc=$archive_cmds_need_lc | 
 | 8630 |  | 
 | 8631 | # Whether or not to disallow shared libs when runtime libs are static | 
 | 8632 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8633 |  | 
 | 8634 | # Whether or not to optimize for fast installation. | 
 | 8635 | fast_install=$enable_fast_install | 
 | 8636 |  | 
 | 8637 | # The host system. | 
 | 8638 | host_alias=$host_alias | 
 | 8639 | host=$host | 
 | 8640 |  | 
 | 8641 | # An echo program that does not interpret backslashes. | 
 | 8642 | echo=$lt_echo | 
 | 8643 |  | 
 | 8644 | # The archiver. | 
 | 8645 | AR=$lt_AR | 
 | 8646 | AR_FLAGS=$lt_AR_FLAGS | 
 | 8647 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8648 | # A C compiler. | 
 | 8649 | LTCC=$lt_LTCC | 
 | 8650 |  | 
 | 8651 | # A language-specific compiler. | 
 | 8652 | CC=$lt_compiler | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8653 |  | 
 | 8654 | # Is the compiler the GNU C compiler? | 
 | 8655 | with_gcc=$GCC | 
 | 8656 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8657 | # An ERE matcher. | 
 | 8658 | EGREP=$lt_EGREP | 
 | 8659 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8660 | # The linker used to build libraries. | 
 | 8661 | LD=$lt_LD | 
 | 8662 |  | 
 | 8663 | # Whether we need hard or soft links. | 
 | 8664 | LN_S=$lt_LN_S | 
 | 8665 |  | 
 | 8666 | # A BSD-compatible nm program. | 
 | 8667 | NM=$lt_NM | 
 | 8668 |  | 
 | 8669 | # A symbol stripping program | 
 | 8670 | STRIP=$STRIP | 
 | 8671 |  | 
 | 8672 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 8673 | MAGIC_CMD=$MAGIC_CMD | 
 | 8674 |  | 
 | 8675 | # Used on cygwin: DLL creation program. | 
 | 8676 | DLLTOOL="$DLLTOOL" | 
 | 8677 |  | 
 | 8678 | # Used on cygwin: object dumper. | 
 | 8679 | OBJDUMP="$OBJDUMP" | 
 | 8680 |  | 
 | 8681 | # Used on cygwin: assembler. | 
 | 8682 | AS="$AS" | 
 | 8683 |  | 
 | 8684 | # The name of the directory that contains temporary libtool files. | 
 | 8685 | objdir=$objdir | 
 | 8686 |  | 
 | 8687 | # How to create reloadable object files. | 
 | 8688 | reload_flag=$lt_reload_flag | 
 | 8689 | reload_cmds=$lt_reload_cmds | 
 | 8690 |  | 
 | 8691 | # How to pass a linker flag through the compiler. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8692 | wl=$lt_lt_prog_compiler_wl | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8693 |  | 
 | 8694 | # Object file suffix (normally "o"). | 
 | 8695 | objext="$ac_objext" | 
 | 8696 |  | 
 | 8697 | # Old archive suffix (normally "a"). | 
 | 8698 | libext="$libext" | 
 | 8699 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8700 | # Shared library suffix (normally ".so"). | 
 | 8701 | shrext='$shrext' | 
 | 8702 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8703 | # Executable file suffix (normally ""). | 
 | 8704 | exeext="$exeext" | 
 | 8705 |  | 
 | 8706 | # Additional compiler flags for building library objects. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8707 | pic_flag=$lt_lt_prog_compiler_pic | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8708 | pic_mode=$pic_mode | 
 | 8709 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8710 | # What is the maximum length of a command? | 
 | 8711 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8712 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8713 | # Does compiler simultaneously support -c and -o options? | 
 | 8714 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8715 |  | 
 | 8716 | # Must we lock files when doing compilation ? | 
 | 8717 | need_locks=$lt_need_locks | 
 | 8718 |  | 
 | 8719 | # Do we need the lib prefix for modules? | 
 | 8720 | need_lib_prefix=$need_lib_prefix | 
 | 8721 |  | 
 | 8722 | # Do we need a version for libraries? | 
 | 8723 | need_version=$need_version | 
 | 8724 |  | 
 | 8725 | # Whether dlopen is supported. | 
 | 8726 | dlopen_support=$enable_dlopen | 
 | 8727 |  | 
 | 8728 | # Whether dlopen of programs is supported. | 
 | 8729 | dlopen_self=$enable_dlopen_self | 
 | 8730 |  | 
 | 8731 | # Whether dlopen of statically linked programs is supported. | 
 | 8732 | dlopen_self_static=$enable_dlopen_self_static | 
 | 8733 |  | 
 | 8734 | # Compiler flag to prevent dynamic linking. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8735 | link_static_flag=$lt_lt_prog_compiler_static | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8736 |  | 
 | 8737 | # Compiler flag to turn off builtin functions. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8738 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8739 |  | 
 | 8740 | # Compiler flag to allow reflexive dlopens. | 
 | 8741 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec | 
 | 8742 |  | 
 | 8743 | # Compiler flag to generate shared objects directly from archives. | 
 | 8744 | whole_archive_flag_spec=$lt_whole_archive_flag_spec | 
 | 8745 |  | 
 | 8746 | # Compiler flag to generate thread-safe objects. | 
 | 8747 | thread_safe_flag_spec=$lt_thread_safe_flag_spec | 
 | 8748 |  | 
 | 8749 | # Library versioning type. | 
 | 8750 | version_type=$version_type | 
 | 8751 |  | 
 | 8752 | # Format of library name prefix. | 
 | 8753 | libname_spec=$lt_libname_spec | 
 | 8754 |  | 
 | 8755 | # List of archive names.  First name is the real one, the rest are links. | 
 | 8756 | # The last name is the one that the linker finds with -lNAME. | 
 | 8757 | library_names_spec=$lt_library_names_spec | 
 | 8758 |  | 
 | 8759 | # The coded name of the library, if different from the real name. | 
 | 8760 | soname_spec=$lt_soname_spec | 
 | 8761 |  | 
 | 8762 | # Commands used to build and install an old-style archive. | 
 | 8763 | RANLIB=$lt_RANLIB | 
 | 8764 | old_archive_cmds=$lt_old_archive_cmds | 
 | 8765 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 8766 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 8767 |  | 
 | 8768 | # Create an old-style archive from a shared archive. | 
 | 8769 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds | 
 | 8770 |  | 
 | 8771 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 8772 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds | 
 | 8773 |  | 
 | 8774 | # Commands used to build and install a shared archive. | 
 | 8775 | archive_cmds=$lt_archive_cmds | 
 | 8776 | archive_expsym_cmds=$lt_archive_expsym_cmds | 
 | 8777 | postinstall_cmds=$lt_postinstall_cmds | 
 | 8778 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 8779 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8780 | # Commands used to build a loadable module (assumed same as above if empty) | 
 | 8781 | module_cmds=$lt_module_cmds | 
 | 8782 | module_expsym_cmds=$lt_module_expsym_cmds | 
 | 8783 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8784 | # Commands to strip libraries. | 
 | 8785 | old_striplib=$lt_old_striplib | 
 | 8786 | striplib=$lt_striplib | 
 | 8787 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8788 | # Dependencies to place before the objects being linked to create a | 
 | 8789 | # shared library. | 
 | 8790 | predep_objects=$lt_predep_objects | 
 | 8791 |  | 
 | 8792 | # Dependencies to place after the objects being linked to create a | 
 | 8793 | # shared library. | 
 | 8794 | postdep_objects=$lt_postdep_objects | 
 | 8795 |  | 
 | 8796 | # Dependencies to place before the objects being linked to create a | 
 | 8797 | # shared library. | 
 | 8798 | predeps=$lt_predeps | 
 | 8799 |  | 
 | 8800 | # Dependencies to place after the objects being linked to create a | 
 | 8801 | # shared library. | 
 | 8802 | postdeps=$lt_postdeps | 
 | 8803 |  | 
 | 8804 | # The library search path used internally by the compiler when linking | 
 | 8805 | # a shared library. | 
 | 8806 | compiler_lib_search_path=$lt_compiler_lib_search_path | 
 | 8807 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8808 | # Method to check whether dependent libraries are shared objects. | 
 | 8809 | deplibs_check_method=$lt_deplibs_check_method | 
 | 8810 |  | 
 | 8811 | # Command to use when deplibs_check_method == file_magic. | 
 | 8812 | file_magic_cmd=$lt_file_magic_cmd | 
 | 8813 |  | 
 | 8814 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 8815 | allow_undefined_flag=$lt_allow_undefined_flag | 
 | 8816 |  | 
 | 8817 | # Flag that forces no undefined symbols. | 
 | 8818 | no_undefined_flag=$lt_no_undefined_flag | 
 | 8819 |  | 
 | 8820 | # Commands used to finish a libtool library installation in a directory. | 
 | 8821 | finish_cmds=$lt_finish_cmds | 
 | 8822 |  | 
 | 8823 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 8824 | finish_eval=$lt_finish_eval | 
 | 8825 |  | 
 | 8826 | # Take the output of nm and produce a listing of raw symbols and C names. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8827 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8828 |  | 
 | 8829 | # Transform the output of nm in a proper C declaration | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8830 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8831 |  | 
 | 8832 | # Transform the output of nm in a C name address pair | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8833 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8834 |  | 
 | 8835 | # This is the shared library runtime path variable. | 
 | 8836 | runpath_var=$runpath_var | 
 | 8837 |  | 
 | 8838 | # This is the shared library path variable. | 
 | 8839 | shlibpath_var=$shlibpath_var | 
 | 8840 |  | 
 | 8841 | # Is shlibpath searched before the hard-coded library search path? | 
 | 8842 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 8843 |  | 
 | 8844 | # How to hardcode a shared library path into an executable. | 
 | 8845 | hardcode_action=$hardcode_action | 
 | 8846 |  | 
 | 8847 | # Whether we should hardcode library paths into libraries. | 
 | 8848 | hardcode_into_libs=$hardcode_into_libs | 
 | 8849 |  | 
 | 8850 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 8851 | # This must work even if \$libdir does not exist. | 
 | 8852 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | 
 | 8853 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8854 | # If ld is used when linking, flag to hardcode \$libdir into | 
 | 8855 | # a binary during linking. This must work even if \$libdir does | 
 | 8856 | # not exist. | 
 | 8857 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld | 
 | 8858 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8859 | # Whether we need a single -rpath flag with a separated argument. | 
 | 8860 | hardcode_libdir_separator=$lt_hardcode_libdir_separator | 
 | 8861 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8862 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8863 | # resulting binary. | 
 | 8864 | hardcode_direct=$hardcode_direct | 
 | 8865 |  | 
 | 8866 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 8867 | # resulting binary. | 
 | 8868 | hardcode_minus_L=$hardcode_minus_L | 
 | 8869 |  | 
 | 8870 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 8871 | # the resulting binary. | 
 | 8872 | hardcode_shlibpath_var=$hardcode_shlibpath_var | 
 | 8873 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8874 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
 | 8875 | # and all subsequent libraries and executables linked against it. | 
 | 8876 | hardcode_automatic=$hardcode_automatic | 
 | 8877 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8878 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 8879 | # restored at relink time. | 
 | 8880 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 8881 |  | 
 | 8882 | # Whether libtool must link a program against all its dependency libraries. | 
 | 8883 | link_all_deplibs=$link_all_deplibs | 
 | 8884 |  | 
 | 8885 | # Compile-time system search path for libraries | 
 | 8886 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 8887 |  | 
 | 8888 | # Run-time system search path for libraries | 
 | 8889 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 8890 |  | 
 | 8891 | # Fix the shell variable \$srcfile for the compiler. | 
 | 8892 | fix_srcfile_path="$fix_srcfile_path" | 
 | 8893 |  | 
 | 8894 | # Set to yes if exported symbols are required. | 
 | 8895 | always_export_symbols=$always_export_symbols | 
 | 8896 |  | 
 | 8897 | # The commands to list exported symbols. | 
 | 8898 | export_symbols_cmds=$lt_export_symbols_cmds | 
 | 8899 |  | 
 | 8900 | # The commands to extract the exported symbol list from a shared archive. | 
 | 8901 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 8902 |  | 
 | 8903 | # Symbols that should not be listed in the preloaded symbols. | 
 | 8904 | exclude_expsyms=$lt_exclude_expsyms | 
 | 8905 |  | 
 | 8906 | # Symbols that must always be exported. | 
 | 8907 | include_expsyms=$lt_include_expsyms | 
 | 8908 |  | 
 | 8909 | # ### END LIBTOOL CONFIG | 
 | 8910 |  | 
 | 8911 | __EOF__ | 
 | 8912 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8913 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8914 |   case $host_os in | 
 | 8915 |   aix3*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8916 |     cat <<\EOF >> "$cfgfile" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8917 |  | 
 | 8918 | # AIX sometimes has problems with the GCC collect2 program.  For some | 
 | 8919 | # reason, if we set the COLLECT_NAMES environment variable, the problems | 
 | 8920 | # vanish in a puff of smoke. | 
 | 8921 | if test "X${COLLECT_NAMES+set}" != Xset; then | 
 | 8922 |   COLLECT_NAMES= | 
 | 8923 |   export COLLECT_NAMES | 
 | 8924 | fi | 
 | 8925 | EOF | 
 | 8926 |     ;; | 
 | 8927 |   esac | 
 | 8928 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8929 |   # We use sed instead of cat because bash on DJGPP gets confused if | 
 | 8930 |   # if finds mixed CR/LF and LF-only lines.  Since sed operates in | 
 | 8931 |   # text mode, it properly converts lines to CR/LF.  This bash problem | 
 | 8932 |   # is reportedly fixed, but why not run on old versions too? | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8933 |   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8934 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8935 |   mv -f "$cfgfile" "$ofile" || \ | 
 | 8936 |     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8937 |   chmod +x "$ofile" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8938 |  | 
 | 8939 | else | 
 | 8940 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 8941 |   # `config.status --recheck' to rerun these tests and create the | 
 | 8942 |   # libtool script then. | 
 | 8943 |   test -f Makefile && make "$ltmain" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8944 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8945 |  | 
 | 8946 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8947 | ac_ext=c | 
 | 8948 | ac_cpp='$CPP $CPPFLAGS' | 
 | 8949 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 8950 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 8951 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 8952 |  | 
 | 8953 | CC="$lt_save_CC" | 
 | 8954 |  | 
 | 8955 |  | 
 | 8956 | # Check whether --with-tags or --without-tags was given. | 
 | 8957 | if test "${with_tags+set}" = set; then | 
 | 8958 |   withval="$with_tags" | 
 | 8959 |   tagnames="$withval" | 
 | 8960 | fi; | 
 | 8961 |  | 
 | 8962 | if test -f "$ltmain" && test -n "$tagnames"; then | 
 | 8963 |   if test ! -f "${ofile}"; then | 
 | 8964 |     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 | 
 | 8965 | echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} | 
 | 8966 |   fi | 
 | 8967 |  | 
 | 8968 |   if test -z "$LTCC"; then | 
 | 8969 |     eval "`$SHELL ${ofile} --config | grep '^LTCC='`" | 
 | 8970 |     if test -z "$LTCC"; then | 
 | 8971 |       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 | 
 | 8972 | echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} | 
 | 8973 |     else | 
 | 8974 |       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 | 
 | 8975 | echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} | 
 | 8976 |     fi | 
 | 8977 |   fi | 
 | 8978 |  | 
 | 8979 |   # Extract list of available tagged configurations in $ofile. | 
 | 8980 |   # Note that this assumes the entire list is on one line. | 
 | 8981 |   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` | 
 | 8982 |  | 
 | 8983 |   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
 | 8984 |   for tagname in $tagnames; do | 
 | 8985 |     IFS="$lt_save_ifs" | 
 | 8986 |     # Check whether tagname contains only valid characters | 
 | 8987 |     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in | 
 | 8988 |     "") ;; | 
 | 8989 |     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 | 
 | 8990 | echo "$as_me: error: invalid tag name: $tagname" >&2;} | 
 | 8991 |    { (exit 1); exit 1; }; } | 
 | 8992 | 	;; | 
 | 8993 |     esac | 
 | 8994 |  | 
 | 8995 |     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null | 
 | 8996 |     then | 
 | 8997 |       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 | 
 | 8998 | echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} | 
 | 8999 |    { (exit 1); exit 1; }; } | 
 | 9000 |     fi | 
 | 9001 |  | 
 | 9002 |     # Update the list of available tags. | 
 | 9003 |     if test -n "$tagname"; then | 
 | 9004 |       echo appending configuration tag \"$tagname\" to $ofile | 
 | 9005 |  | 
 | 9006 |       case $tagname in | 
 | 9007 |       CXX) | 
 | 9008 | 	if test -n "$CXX" && test "X$CXX" != "Xno"; then | 
 | 9009 | 	  ac_ext=cc | 
 | 9010 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 9011 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9012 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9013 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 9014 |  | 
 | 9015 |  | 
 | 9016 |  | 
 | 9017 |  | 
 | 9018 | archive_cmds_need_lc_CXX=no | 
 | 9019 | allow_undefined_flag_CXX= | 
 | 9020 | always_export_symbols_CXX=no | 
 | 9021 | archive_expsym_cmds_CXX= | 
 | 9022 | export_dynamic_flag_spec_CXX= | 
 | 9023 | hardcode_direct_CXX=no | 
 | 9024 | hardcode_libdir_flag_spec_CXX= | 
 | 9025 | hardcode_libdir_flag_spec_ld_CXX= | 
 | 9026 | hardcode_libdir_separator_CXX= | 
 | 9027 | hardcode_minus_L_CXX=no | 
 | 9028 | hardcode_automatic_CXX=no | 
 | 9029 | module_cmds_CXX= | 
 | 9030 | module_expsym_cmds_CXX= | 
 | 9031 | link_all_deplibs_CXX=unknown | 
 | 9032 | old_archive_cmds_CXX=$old_archive_cmds | 
 | 9033 | no_undefined_flag_CXX= | 
 | 9034 | whole_archive_flag_spec_CXX= | 
 | 9035 | enable_shared_with_static_runtimes_CXX=no | 
 | 9036 |  | 
 | 9037 | # Dependencies to place before and after the object being linked: | 
 | 9038 | predep_objects_CXX= | 
 | 9039 | postdep_objects_CXX= | 
 | 9040 | predeps_CXX= | 
 | 9041 | postdeps_CXX= | 
 | 9042 | compiler_lib_search_path_CXX= | 
 | 9043 |  | 
 | 9044 | # Source file extension for C++ test sources. | 
 | 9045 | ac_ext=cc | 
 | 9046 |  | 
 | 9047 | # Object file extension for compiled C++ test sources. | 
 | 9048 | objext=o | 
 | 9049 | objext_CXX=$objext | 
 | 9050 |  | 
 | 9051 | # Code to be used in simple compile tests | 
 | 9052 | lt_simple_compile_test_code="int some_variable = 0;\n" | 
 | 9053 |  | 
 | 9054 | # Code to be used in simple link tests | 
 | 9055 | lt_simple_link_test_code='int main(int, char *) { return(0); }\n' | 
 | 9056 |  | 
 | 9057 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
 | 9058 |  | 
 | 9059 | # If no C compiler was specified, use CC. | 
 | 9060 | LTCC=${LTCC-"$CC"} | 
 | 9061 |  | 
 | 9062 | # Allow CC to be a program name with arguments. | 
 | 9063 | compiler=$CC | 
 | 9064 |  | 
 | 9065 |  | 
 | 9066 | # Allow CC to be a program name with arguments. | 
 | 9067 | lt_save_CC=$CC | 
 | 9068 | lt_save_LD=$LD | 
 | 9069 | lt_save_GCC=$GCC | 
 | 9070 | GCC=$GXX | 
 | 9071 | lt_save_with_gnu_ld=$with_gnu_ld | 
 | 9072 | lt_save_path_LD=$lt_cv_path_LD | 
 | 9073 | if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then | 
 | 9074 |   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx | 
 | 9075 | else | 
 | 9076 |   unset lt_cv_prog_gnu_ld | 
 | 9077 | fi | 
 | 9078 | if test -n "${lt_cv_path_LDCXX+set}"; then | 
 | 9079 |   lt_cv_path_LD=$lt_cv_path_LDCXX | 
 | 9080 | else | 
 | 9081 |   unset lt_cv_path_LD | 
 | 9082 | fi | 
 | 9083 | test -z "${LDCXX+set}" || LD=$LDCXX | 
 | 9084 | CC=${CXX-"c++"} | 
 | 9085 | compiler=$CC | 
 | 9086 | compiler_CXX=$CC | 
 | 9087 | cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` | 
 | 9088 |  | 
 | 9089 | # We don't want -fno-exception wen compiling C++ code, so set the | 
 | 9090 | # no_builtin_flag separately | 
 | 9091 | if test "$GXX" = yes; then | 
 | 9092 |   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' | 
 | 9093 | else | 
 | 9094 |   lt_prog_compiler_no_builtin_flag_CXX= | 
 | 9095 | fi | 
 | 9096 |  | 
 | 9097 | if test "$GXX" = yes; then | 
 | 9098 |   # Set up default GNU C++ configuration | 
 | 9099 |  | 
 | 9100 |  | 
 | 9101 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | 
 | 9102 | if test "${with_gnu_ld+set}" = set; then | 
 | 9103 |   withval="$with_gnu_ld" | 
 | 9104 |   test "$withval" = no || with_gnu_ld=yes | 
 | 9105 | else | 
 | 9106 |   with_gnu_ld=no | 
 | 9107 | fi; | 
 | 9108 | ac_prog=ld | 
 | 9109 | if test "$GCC" = yes; then | 
 | 9110 |   # Check if gcc -print-prog-name=ld gives a path. | 
 | 9111 |   echo "$as_me:$LINENO: checking for ld used by $CC" >&5 | 
 | 9112 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 | 
 | 9113 |   case $host in | 
 | 9114 |   *-*-mingw*) | 
 | 9115 |     # gcc leaves a trailing carriage return which upsets mingw | 
 | 9116 |     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
 | 9117 |   *) | 
 | 9118 |     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
 | 9119 |   esac | 
 | 9120 |   case $ac_prog in | 
 | 9121 |     # Accept absolute paths. | 
 | 9122 |     [\\/]* | ?:[\\/]*) | 
 | 9123 |       re_direlt='/[^/][^/]*/\.\./' | 
 | 9124 |       # Canonicalize the path of ld | 
 | 9125 |       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` | 
 | 9126 |       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 
 | 9127 | 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` | 
 | 9128 |       done | 
 | 9129 |       test -z "$LD" && LD="$ac_prog" | 
 | 9130 |       ;; | 
 | 9131 |   "") | 
 | 9132 |     # If it fails, then pretend we aren't using GCC. | 
 | 9133 |     ac_prog=ld | 
 | 9134 |     ;; | 
 | 9135 |   *) | 
 | 9136 |     # If it is relative, then search for the first ld in PATH. | 
 | 9137 |     with_gnu_ld=unknown | 
 | 9138 |     ;; | 
 | 9139 |   esac | 
 | 9140 | elif test "$with_gnu_ld" = yes; then | 
 | 9141 |   echo "$as_me:$LINENO: checking for GNU ld" >&5 | 
 | 9142 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | 
 | 9143 | else | 
 | 9144 |   echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | 
 | 9145 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | 
 | 9146 | fi | 
 | 9147 | if test "${lt_cv_path_LD+set}" = set; then | 
 | 9148 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9149 | else | 
 | 9150 |   if test -z "$LD"; then | 
 | 9151 |   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 9152 |   for ac_dir in $PATH; do | 
 | 9153 |     IFS="$lt_save_ifs" | 
 | 9154 |     test -z "$ac_dir" && ac_dir=. | 
 | 9155 |     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
 | 9156 |       lt_cv_path_LD="$ac_dir/$ac_prog" | 
 | 9157 |       # Check to see if the program is GNU ld.  I'd rather use --version, | 
 | 9158 |       # but apparently some GNU ld's only accept -v. | 
 | 9159 |       # Break only if it was the GNU/non-GNU ld that we prefer. | 
 | 9160 |       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 
 | 9161 |       *GNU* | *'with BFD'*) | 
 | 9162 | 	test "$with_gnu_ld" != no && break | 
 | 9163 | 	;; | 
 | 9164 |       *) | 
 | 9165 | 	test "$with_gnu_ld" != yes && break | 
 | 9166 | 	;; | 
 | 9167 |       esac | 
 | 9168 |     fi | 
 | 9169 |   done | 
 | 9170 |   IFS="$lt_save_ifs" | 
 | 9171 | else | 
 | 9172 |   lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
 | 9173 | fi | 
 | 9174 | fi | 
 | 9175 |  | 
 | 9176 | LD="$lt_cv_path_LD" | 
 | 9177 | if test -n "$LD"; then | 
 | 9178 |   echo "$as_me:$LINENO: result: $LD" >&5 | 
 | 9179 | echo "${ECHO_T}$LD" >&6 | 
 | 9180 | else | 
 | 9181 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 9182 | echo "${ECHO_T}no" >&6 | 
 | 9183 | fi | 
 | 9184 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | 
 | 9185 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 
 | 9186 |    { (exit 1); exit 1; }; } | 
 | 9187 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | 
 | 9188 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | 
 | 9189 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | 
 | 9190 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9191 | else | 
 | 9192 |   # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 
 | 9193 | case `"$LD" -v 2>&1 </dev/null` in | 
 | 9194 | *GNU* | *'with BFD'*) | 
 | 9195 |   lt_cv_prog_gnu_ld=yes | 
 | 9196 |   ;; | 
 | 9197 | *) | 
 | 9198 |   lt_cv_prog_gnu_ld=no | 
 | 9199 |   ;; | 
 | 9200 | esac | 
 | 9201 | fi | 
 | 9202 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | 
 | 9203 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | 
 | 9204 | with_gnu_ld=$lt_cv_prog_gnu_ld | 
 | 9205 |  | 
 | 9206 |  | 
 | 9207 |  | 
 | 9208 |   # Check if GNU C++ uses GNU ld as the underlying linker, since the | 
 | 9209 |   # archiving commands below assume that GNU ld is being used. | 
 | 9210 |   if test "$with_gnu_ld" = yes; then | 
 | 9211 |     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 9212 |     archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 9213 |  | 
 | 9214 |     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' | 
 | 9215 |     export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
 | 9216 |  | 
 | 9217 |     # If archive_cmds runs LD, not CC, wlarc should be empty | 
 | 9218 |     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to | 
 | 9219 |     #     investigate it a little bit more. (MM) | 
 | 9220 |     wlarc='${wl}' | 
 | 9221 |  | 
 | 9222 |     # ancient GNU ld didn't support --whole-archive et. al. | 
 | 9223 |     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ | 
 | 9224 | 	grep 'no-whole-archive' > /dev/null; then | 
 | 9225 |       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
 | 9226 |     else | 
 | 9227 |       whole_archive_flag_spec_CXX= | 
 | 9228 |     fi | 
 | 9229 |   else | 
 | 9230 |     with_gnu_ld=no | 
 | 9231 |     wlarc= | 
 | 9232 |  | 
 | 9233 |     # A generic and very simple default shared library creation | 
 | 9234 |     # command for GNU C++ for the case where it uses the native | 
 | 9235 |     # linker, instead of GNU ld.  If possible, this setting should | 
 | 9236 |     # overridden to take advantage of the native linker features on | 
 | 9237 |     # the platform it is being used on. | 
 | 9238 |     archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | 
 | 9239 |   fi | 
 | 9240 |  | 
 | 9241 |   # Commands to make compiler produce verbose output that lists | 
 | 9242 |   # what "hidden" libraries, object files and flags are used when | 
 | 9243 |   # linking a shared library. | 
 | 9244 |   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' | 
 | 9245 |  | 
 | 9246 | else | 
 | 9247 |   GXX=no | 
 | 9248 |   with_gnu_ld=no | 
 | 9249 |   wlarc= | 
 | 9250 | fi | 
 | 9251 |  | 
 | 9252 | # PORTME: fill in a description of your system's C++ link characteristics | 
 | 9253 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
 | 9254 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 9255 | ld_shlibs_CXX=yes | 
 | 9256 | case $host_os in | 
 | 9257 |   aix3*) | 
 | 9258 |     # FIXME: insert proper C++ library support | 
 | 9259 |     ld_shlibs_CXX=no | 
 | 9260 |     ;; | 
 | 9261 |   aix4* | aix5*) | 
 | 9262 |     if test "$host_cpu" = ia64; then | 
 | 9263 |       # On IA64, the linker does run time linking by default, so we don't | 
 | 9264 |       # have to do anything special. | 
 | 9265 |       aix_use_runtimelinking=no | 
 | 9266 |       exp_sym_flag='-Bexport' | 
 | 9267 |       no_entry_flag="" | 
 | 9268 |     else | 
 | 9269 |       aix_use_runtimelinking=no | 
 | 9270 |  | 
 | 9271 |       # Test if we are trying to use run time linking or normal | 
 | 9272 |       # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
 | 9273 |       # need to do runtime linking. | 
 | 9274 |       case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
 | 9275 | 	for ld_flag in $LDFLAGS; do | 
 | 9276 | 	  case $ld_flag in | 
 | 9277 | 	  *-brtl*) | 
 | 9278 | 	    aix_use_runtimelinking=yes | 
 | 9279 | 	    break | 
 | 9280 | 	    ;; | 
 | 9281 | 	  esac | 
 | 9282 | 	done | 
 | 9283 |       esac | 
 | 9284 |  | 
 | 9285 |       exp_sym_flag='-bexport' | 
 | 9286 |       no_entry_flag='-bnoentry' | 
 | 9287 |     fi | 
 | 9288 |  | 
 | 9289 |     # When large executables or shared objects are built, AIX ld can | 
 | 9290 |     # have problems creating the table of contents.  If linking a library | 
 | 9291 |     # or program results in "error TOC overflow" add -mminimal-toc to | 
 | 9292 |     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
 | 9293 |     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
 | 9294 |  | 
 | 9295 |     archive_cmds_CXX='' | 
 | 9296 |     hardcode_direct_CXX=yes | 
 | 9297 |     hardcode_libdir_separator_CXX=':' | 
 | 9298 |     link_all_deplibs_CXX=yes | 
 | 9299 |  | 
 | 9300 |     if test "$GXX" = yes; then | 
 | 9301 |       case $host_os in aix4.012|aix4.012.*) | 
 | 9302 |       # We only want to do this on AIX 4.2 and lower, the check | 
 | 9303 |       # below for broken collect2 doesn't work under 4.3+ | 
 | 9304 | 	collect2name=`${CC} -print-prog-name=collect2` | 
 | 9305 | 	if test -f "$collect2name" && \ | 
 | 9306 | 	   strings "$collect2name" | grep resolve_lib_name >/dev/null | 
 | 9307 | 	then | 
 | 9308 | 	  # We have reworked collect2 | 
 | 9309 | 	  hardcode_direct_CXX=yes | 
 | 9310 | 	else | 
 | 9311 | 	  # We have old collect2 | 
 | 9312 | 	  hardcode_direct_CXX=unsupported | 
 | 9313 | 	  # It fails to find uninstalled libraries when the uninstalled | 
 | 9314 | 	  # path is not listed in the libpath.  Setting hardcode_minus_L | 
 | 9315 | 	  # to unsupported forces relinking | 
 | 9316 | 	  hardcode_minus_L_CXX=yes | 
 | 9317 | 	  hardcode_libdir_flag_spec_CXX='-L$libdir' | 
 | 9318 | 	  hardcode_libdir_separator_CXX= | 
 | 9319 | 	fi | 
 | 9320 |       esac | 
 | 9321 |       shared_flag='-shared' | 
 | 9322 |     else | 
 | 9323 |       # not using gcc | 
 | 9324 |       if test "$host_cpu" = ia64; then | 
 | 9325 | 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
 | 9326 | 	# chokes on -Wl,-G. The following line is correct: | 
 | 9327 | 	shared_flag='-G' | 
 | 9328 |       else | 
 | 9329 | 	if test "$aix_use_runtimelinking" = yes; then | 
 | 9330 | 	  shared_flag='${wl}-G' | 
 | 9331 | 	else | 
 | 9332 | 	  shared_flag='${wl}-bM:SRE' | 
 | 9333 | 	fi | 
 | 9334 |       fi | 
 | 9335 |     fi | 
 | 9336 |  | 
 | 9337 |     # It seems that -bexpall does not export symbols beginning with | 
 | 9338 |     # underscore (_), so it is better to generate a list of symbols to export. | 
 | 9339 |     always_export_symbols_CXX=yes | 
 | 9340 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 9341 |       # Warning - without using the other runtime loading flags (-brtl), | 
 | 9342 |       # -berok will link without error, but may produce a broken library. | 
 | 9343 |       allow_undefined_flag_CXX='-berok' | 
 | 9344 |       # Determine the default libpath from the value encoded in an empty executable. | 
 | 9345 |       cat >conftest.$ac_ext <<_ACEOF | 
 | 9346 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9347 | /* confdefs.h.  */ | 
 | 9348 | _ACEOF | 
 | 9349 | cat confdefs.h >>conftest.$ac_ext | 
 | 9350 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 9351 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9352 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9353 | int | 
 | 9354 | main () | 
 | 9355 | { | 
 | 9356 |  | 
 | 9357 |   ; | 
 | 9358 |   return 0; | 
 | 9359 | } | 
 | 9360 | _ACEOF | 
 | 9361 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 9362 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 9363 |   (eval $ac_link) 2>&5 | 
 | 9364 |   ac_status=$? | 
 | 9365 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9366 |   (exit $ac_status); } && | 
 | 9367 |          { ac_try='test -s conftest$ac_exeext' | 
 | 9368 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9369 |   (eval $ac_try) 2>&5 | 
 | 9370 |   ac_status=$? | 
 | 9371 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9372 |   (exit $ac_status); }; }; then | 
 | 9373 |  | 
 | 9374 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 9375 | }'` | 
 | 9376 | # Check for a 64-bit object if we didn't find anything. | 
 | 9377 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 9378 | }'`; fi | 
 | 9379 | else | 
 | 9380 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9381 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 9382 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9383 | fi | 
 | 9384 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 9385 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 9386 |  | 
 | 9387 |       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 9388 |  | 
 | 9389 |       archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 
 | 9390 |      else | 
 | 9391 |       if test "$host_cpu" = ia64; then | 
 | 9392 | 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' | 
 | 9393 | 	allow_undefined_flag_CXX="-z nodefs" | 
 | 9394 | 	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 
 | 9395 |       else | 
 | 9396 | 	# Determine the default libpath from the value encoded in an empty executable. | 
 | 9397 | 	cat >conftest.$ac_ext <<_ACEOF | 
 | 9398 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9399 | /* confdefs.h.  */ | 
 | 9400 | _ACEOF | 
 | 9401 | cat confdefs.h >>conftest.$ac_ext | 
 | 9402 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 9403 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9404 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9405 | int | 
 | 9406 | main () | 
 | 9407 | { | 
 | 9408 |  | 
 | 9409 |   ; | 
 | 9410 |   return 0; | 
 | 9411 | } | 
 | 9412 | _ACEOF | 
 | 9413 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 9414 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 9415 |   (eval $ac_link) 2>&5 | 
 | 9416 |   ac_status=$? | 
 | 9417 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9418 |   (exit $ac_status); } && | 
 | 9419 |          { ac_try='test -s conftest$ac_exeext' | 
 | 9420 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9421 |   (eval $ac_try) 2>&5 | 
 | 9422 |   ac_status=$? | 
 | 9423 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9424 |   (exit $ac_status); }; }; then | 
 | 9425 |  | 
 | 9426 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 9427 | }'` | 
 | 9428 | # Check for a 64-bit object if we didn't find anything. | 
 | 9429 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 9430 | }'`; fi | 
 | 9431 | else | 
 | 9432 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9433 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 9434 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9435 | fi | 
 | 9436 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 9437 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 9438 |  | 
 | 9439 | 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 9440 | 	# Warning - without using the other run time loading flags, | 
 | 9441 | 	# -berok will link without error, but may produce a broken library. | 
 | 9442 | 	no_undefined_flag_CXX=' ${wl}-bernotok' | 
 | 9443 | 	allow_undefined_flag_CXX=' ${wl}-berok' | 
 | 9444 | 	# -bexpall does not export symbols beginning with underscore (_) | 
 | 9445 | 	always_export_symbols_CXX=yes | 
 | 9446 | 	# Exported symbols can be pulled into shared objects from archives | 
 | 9447 | 	whole_archive_flag_spec_CXX=' ' | 
 | 9448 | 	archive_cmds_need_lc_CXX=yes | 
 | 9449 | 	# This is similar to how AIX traditionally builds it's shared libraries. | 
 | 9450 | 	archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 
 | 9451 |       fi | 
 | 9452 |     fi | 
 | 9453 |     ;; | 
 | 9454 |   chorus*) | 
 | 9455 |     case $cc_basename in | 
 | 9456 |       *) | 
 | 9457 | 	# FIXME: insert proper C++ library support | 
 | 9458 | 	ld_shlibs_CXX=no | 
 | 9459 | 	;; | 
 | 9460 |     esac | 
 | 9461 |     ;; | 
 | 9462 |  | 
 | 9463 |   cygwin* | mingw* | pw32*) | 
 | 9464 |     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, | 
 | 9465 |     # as there is no search path for DLLs. | 
 | 9466 |     hardcode_libdir_flag_spec_CXX='-L$libdir' | 
 | 9467 |     allow_undefined_flag_CXX=unsupported | 
 | 9468 |     always_export_symbols_CXX=no | 
 | 9469 |     enable_shared_with_static_runtimes_CXX=yes | 
 | 9470 |  | 
 | 9471 |     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
 | 9472 |       archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
 | 9473 |       # If the export-symbols file already is a .def file (1st line | 
 | 9474 |       # is EXPORTS), use it as is; otherwise, prepend... | 
 | 9475 |       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
 | 9476 | 	cp $export_symbols $output_objdir/$soname.def; | 
 | 9477 |       else | 
 | 9478 | 	echo EXPORTS > $output_objdir/$soname.def; | 
 | 9479 | 	cat $export_symbols >> $output_objdir/$soname.def; | 
 | 9480 |       fi~ | 
 | 9481 |       $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
 | 9482 |     else | 
 | 9483 |       ld_shlibs_CXX=no | 
 | 9484 |     fi | 
 | 9485 |   ;; | 
 | 9486 |  | 
 | 9487 |   darwin* | rhapsody*) | 
 | 9488 |    if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 9489 |     archive_cmds_need_lc_CXX=no | 
 | 9490 |     case "$host_os" in | 
 | 9491 |     rhapsody* | darwin1.[012]) | 
 | 9492 |       allow_undefined_flag_CXX='-undefined suppress' | 
 | 9493 |       ;; | 
 | 9494 |     *) # Darwin 1.3 on | 
 | 9495 |       test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' | 
 | 9496 |       ;; | 
 | 9497 |     esac | 
 | 9498 |     	lt_int_apple_cc_single_mod=no | 
 | 9499 |     	output_verbose_link_cmd='echo' | 
 | 9500 |     	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
 | 9501 |     	  lt_int_apple_cc_single_mod=yes | 
 | 9502 |     	fi | 
 | 9503 |     	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 9504 |     	  archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 9505 |     	else | 
 | 9506 |         archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 9507 |       fi | 
 | 9508 |       module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
 | 9509 |  | 
 | 9510 |     # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
 | 9511 |       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 9512 |         archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 9513 |       else | 
 | 9514 |         archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 9515 |       fi | 
 | 9516 |         module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 9517 |     hardcode_direct_CXX=no | 
 | 9518 |     hardcode_automatic_CXX=yes | 
 | 9519 |     hardcode_shlibpath_var_CXX=unsupported | 
 | 9520 |     whole_archive_flag_spec_CXX='-all_load $convenience' | 
 | 9521 |     link_all_deplibs_CXX=yes | 
 | 9522 |    fi | 
 | 9523 |     ;; | 
 | 9524 |  | 
 | 9525 |   dgux*) | 
 | 9526 |     case $cc_basename in | 
 | 9527 |       ec++) | 
 | 9528 | 	# FIXME: insert proper C++ library support | 
 | 9529 | 	ld_shlibs_CXX=no | 
 | 9530 | 	;; | 
 | 9531 |       ghcx) | 
 | 9532 | 	# Green Hills C++ Compiler | 
 | 9533 | 	# FIXME: insert proper C++ library support | 
 | 9534 | 	ld_shlibs_CXX=no | 
 | 9535 | 	;; | 
 | 9536 |       *) | 
 | 9537 | 	# FIXME: insert proper C++ library support | 
 | 9538 | 	ld_shlibs_CXX=no | 
 | 9539 | 	;; | 
 | 9540 |     esac | 
 | 9541 |     ;; | 
 | 9542 |   freebsd12*) | 
 | 9543 |     # C++ shared libraries reported to be fairly broken before switch to ELF | 
 | 9544 |     ld_shlibs_CXX=no | 
 | 9545 |     ;; | 
 | 9546 |   freebsd-elf*) | 
 | 9547 |     archive_cmds_need_lc_CXX=no | 
 | 9548 |     ;; | 
 | 9549 |   freebsd*) | 
 | 9550 |     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF | 
 | 9551 |     # conventions | 
 | 9552 |     ld_shlibs_CXX=yes | 
 | 9553 |     ;; | 
 | 9554 |   gnu*) | 
 | 9555 |     ;; | 
 | 9556 |   hpux9*) | 
 | 9557 |     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 
 | 9558 |     hardcode_libdir_separator_CXX=: | 
 | 9559 |     export_dynamic_flag_spec_CXX='${wl}-E' | 
 | 9560 |     hardcode_direct_CXX=yes | 
 | 9561 |     hardcode_minus_L_CXX=yes # Not in the search PATH, | 
 | 9562 | 				# but as the default | 
 | 9563 | 				# location of the library. | 
 | 9564 |  | 
 | 9565 |     case $cc_basename in | 
 | 9566 |     CC) | 
 | 9567 |       # FIXME: insert proper C++ library support | 
 | 9568 |       ld_shlibs_CXX=no | 
 | 9569 |       ;; | 
 | 9570 |     aCC) | 
 | 9571 |       archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 
 | 9572 |       # Commands to make compiler produce verbose output that lists | 
 | 9573 |       # what "hidden" libraries, object files and flags are used when | 
 | 9574 |       # linking a shared library. | 
 | 9575 |       # | 
 | 9576 |       # There doesn't appear to be a way to prevent this compiler from | 
 | 9577 |       # explicitly linking system object files so we need to strip them | 
 | 9578 |       # from the output so that they don't get included in the library | 
 | 9579 |       # dependencies. | 
 | 9580 |       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
 | 9581 |       ;; | 
 | 9582 |     *) | 
 | 9583 |       if test "$GXX" = yes; then | 
 | 9584 |         archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 
 | 9585 |       else | 
 | 9586 |         # FIXME: insert proper C++ library support | 
 | 9587 |         ld_shlibs_CXX=no | 
 | 9588 |       fi | 
 | 9589 |       ;; | 
 | 9590 |     esac | 
 | 9591 |     ;; | 
 | 9592 |   hpux10*|hpux11*) | 
 | 9593 |     if test $with_gnu_ld = no; then | 
 | 9594 |       case "$host_cpu" in | 
 | 9595 |       hppa*64*) | 
 | 9596 | 	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 
 | 9597 | 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir' | 
 | 9598 | 	hardcode_libdir_separator_CXX=: | 
 | 9599 |         ;; | 
 | 9600 |       ia64*) | 
 | 9601 | 	hardcode_libdir_flag_spec_CXX='-L$libdir' | 
 | 9602 |         ;; | 
 | 9603 |       *) | 
 | 9604 | 	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 
 | 9605 | 	hardcode_libdir_separator_CXX=: | 
 | 9606 | 	export_dynamic_flag_spec_CXX='${wl}-E' | 
 | 9607 |         ;; | 
 | 9608 |       esac | 
 | 9609 |     fi | 
 | 9610 |     case "$host_cpu" in | 
 | 9611 |     hppa*64*) | 
 | 9612 |       hardcode_direct_CXX=no | 
 | 9613 |       hardcode_shlibpath_var_CXX=no | 
 | 9614 |       ;; | 
 | 9615 |     ia64*) | 
 | 9616 |       hardcode_direct_CXX=no | 
 | 9617 |       hardcode_shlibpath_var_CXX=no | 
 | 9618 |       hardcode_minus_L_CXX=yes # Not in the search PATH, | 
 | 9619 | 					      # but as the default | 
 | 9620 | 					      # location of the library. | 
 | 9621 |       ;; | 
 | 9622 |     *) | 
 | 9623 |       hardcode_direct_CXX=yes | 
 | 9624 |       hardcode_minus_L_CXX=yes # Not in the search PATH, | 
 | 9625 | 					      # but as the default | 
 | 9626 | 					      # location of the library. | 
 | 9627 |       ;; | 
 | 9628 |     esac | 
 | 9629 |  | 
 | 9630 |     case $cc_basename in | 
 | 9631 |       CC) | 
 | 9632 | 	# FIXME: insert proper C++ library support | 
 | 9633 | 	ld_shlibs_CXX=no | 
 | 9634 | 	;; | 
 | 9635 |       aCC) | 
 | 9636 | 	case "$host_cpu" in | 
 | 9637 | 	hppa*64*|ia64*) | 
 | 9638 | 	  archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' | 
 | 9639 | 	  ;; | 
 | 9640 | 	*) | 
 | 9641 | 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
 | 9642 | 	  ;; | 
 | 9643 | 	esac | 
 | 9644 | 	# Commands to make compiler produce verbose output that lists | 
 | 9645 | 	# what "hidden" libraries, object files and flags are used when | 
 | 9646 | 	# linking a shared library. | 
 | 9647 | 	# | 
 | 9648 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 9649 | 	# explicitly linking system object files so we need to strip them | 
 | 9650 | 	# from the output so that they don't get included in the library | 
 | 9651 | 	# dependencies. | 
 | 9652 | 	output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
 | 9653 | 	;; | 
 | 9654 |       *) | 
 | 9655 | 	if test "$GXX" = yes; then | 
 | 9656 | 	  if test $with_gnu_ld = no; then | 
 | 9657 | 	    case "$host_cpu" in | 
 | 9658 | 	    ia64*|hppa*64*) | 
 | 9659 | 	      archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' | 
 | 9660 | 	      ;; | 
 | 9661 | 	    *) | 
 | 9662 | 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
 | 9663 | 	      ;; | 
 | 9664 | 	    esac | 
 | 9665 | 	  fi | 
 | 9666 | 	else | 
 | 9667 | 	  # FIXME: insert proper C++ library support | 
 | 9668 | 	  ld_shlibs_CXX=no | 
 | 9669 | 	fi | 
 | 9670 | 	;; | 
 | 9671 |     esac | 
 | 9672 |     ;; | 
 | 9673 |   irix5* | irix6*) | 
 | 9674 |     case $cc_basename in | 
 | 9675 |       CC) | 
 | 9676 | 	# SGI C++ | 
 | 9677 | 	archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | 
 | 9678 |  | 
 | 9679 | 	# Archives containing C++ object files must be created using | 
 | 9680 | 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is | 
 | 9681 | 	# necessary to make sure instantiated templates are included | 
 | 9682 | 	# in the archive. | 
 | 9683 | 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' | 
 | 9684 | 	;; | 
 | 9685 |       *) | 
 | 9686 | 	if test "$GXX" = yes; then | 
 | 9687 | 	  if test "$with_gnu_ld" = no; then | 
 | 9688 | 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | 
 | 9689 | 	  else | 
 | 9690 | 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' | 
 | 9691 | 	  fi | 
 | 9692 | 	fi | 
 | 9693 | 	link_all_deplibs_CXX=yes | 
 | 9694 | 	;; | 
 | 9695 |     esac | 
 | 9696 |     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
 | 9697 |     hardcode_libdir_separator_CXX=: | 
 | 9698 |     ;; | 
 | 9699 |   linux*) | 
 | 9700 |     case $cc_basename in | 
 | 9701 |       KCC) | 
 | 9702 | 	# Kuck and Associates, Inc. (KAI) C++ Compiler | 
 | 9703 |  | 
 | 9704 | 	# KCC will only create a shared library if the output file | 
 | 9705 | 	# ends with ".so" (or ".sl" for HP-UX), so rename the library | 
 | 9706 | 	# to its proper name (with version) after linking. | 
 | 9707 | 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | 
 | 9708 | 	archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' | 
 | 9709 | 	# Commands to make compiler produce verbose output that lists | 
 | 9710 | 	# what "hidden" libraries, object files and flags are used when | 
 | 9711 | 	# linking a shared library. | 
 | 9712 | 	# | 
 | 9713 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 9714 | 	# explicitly linking system object files so we need to strip them | 
 | 9715 | 	# from the output so that they don't get included in the library | 
 | 9716 | 	# dependencies. | 
 | 9717 | 	output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
 | 9718 |  | 
 | 9719 | 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' | 
 | 9720 | 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
 | 9721 |  | 
 | 9722 | 	# Archives containing C++ object files must be created using | 
 | 9723 | 	# "CC -Bstatic", where "CC" is the KAI C++ compiler. | 
 | 9724 | 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' | 
 | 9725 | 	;; | 
 | 9726 |       icpc) | 
 | 9727 | 	# Intel C++ | 
 | 9728 | 	with_gnu_ld=yes | 
 | 9729 | 	archive_cmds_need_lc_CXX=no | 
 | 9730 | 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 9731 | 	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 9732 | 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
 | 9733 | 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
 | 9734 | 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | 
 | 9735 | 	;; | 
 | 9736 |       cxx) | 
 | 9737 | 	# Compaq C++ | 
 | 9738 | 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 9739 | 	archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols' | 
 | 9740 |  | 
 | 9741 | 	runpath_var=LD_RUN_PATH | 
 | 9742 | 	hardcode_libdir_flag_spec_CXX='-rpath $libdir' | 
 | 9743 | 	hardcode_libdir_separator_CXX=: | 
 | 9744 |  | 
 | 9745 | 	# Commands to make compiler produce verbose output that lists | 
 | 9746 | 	# what "hidden" libraries, object files and flags are used when | 
 | 9747 | 	# linking a shared library. | 
 | 9748 | 	# | 
 | 9749 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 9750 | 	# explicitly linking system object files so we need to strip them | 
 | 9751 | 	# from the output so that they don't get included in the library | 
 | 9752 | 	# dependencies. | 
 | 9753 | 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
 | 9754 | 	;; | 
 | 9755 |     esac | 
 | 9756 |     ;; | 
 | 9757 |   lynxos*) | 
 | 9758 |     # FIXME: insert proper C++ library support | 
 | 9759 |     ld_shlibs_CXX=no | 
 | 9760 |     ;; | 
 | 9761 |   m88k*) | 
 | 9762 |     # FIXME: insert proper C++ library support | 
 | 9763 |     ld_shlibs_CXX=no | 
 | 9764 |     ;; | 
 | 9765 |   mvs*) | 
 | 9766 |     case $cc_basename in | 
 | 9767 |       cxx) | 
 | 9768 | 	# FIXME: insert proper C++ library support | 
 | 9769 | 	ld_shlibs_CXX=no | 
 | 9770 | 	;; | 
 | 9771 |       *) | 
 | 9772 | 	# FIXME: insert proper C++ library support | 
 | 9773 | 	ld_shlibs_CXX=no | 
 | 9774 | 	;; | 
 | 9775 |     esac | 
 | 9776 |     ;; | 
 | 9777 |   netbsd*) | 
 | 9778 |     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 9779 |       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' | 
 | 9780 |       wlarc= | 
 | 9781 |       hardcode_libdir_flag_spec_CXX='-R$libdir' | 
 | 9782 |       hardcode_direct_CXX=yes | 
 | 9783 |       hardcode_shlibpath_var_CXX=no | 
 | 9784 |     fi | 
 | 9785 |     # Workaround some broken pre-1.5 toolchains | 
 | 9786 |     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' | 
 | 9787 |     ;; | 
 | 9788 |   osf3*) | 
 | 9789 |     case $cc_basename in | 
 | 9790 |       KCC) | 
 | 9791 | 	# Kuck and Associates, Inc. (KAI) C++ Compiler | 
 | 9792 |  | 
 | 9793 | 	# KCC will only create a shared library if the output file | 
 | 9794 | 	# ends with ".so" (or ".sl" for HP-UX), so rename the library | 
 | 9795 | 	# to its proper name (with version) after linking. | 
 | 9796 | 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | 
 | 9797 |  | 
 | 9798 | 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
 | 9799 | 	hardcode_libdir_separator_CXX=: | 
 | 9800 |  | 
 | 9801 | 	# Archives containing C++ object files must be created using | 
 | 9802 | 	# "CC -Bstatic", where "CC" is the KAI C++ compiler. | 
 | 9803 | 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' | 
 | 9804 |  | 
 | 9805 | 	;; | 
 | 9806 |       RCC) | 
 | 9807 | 	# Rational C++ 2.4.1 | 
 | 9808 | 	# FIXME: insert proper C++ library support | 
 | 9809 | 	ld_shlibs_CXX=no | 
 | 9810 | 	;; | 
 | 9811 |       cxx) | 
 | 9812 | 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 
 | 9813 | 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | 
 | 9814 |  | 
 | 9815 | 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
 | 9816 | 	hardcode_libdir_separator_CXX=: | 
 | 9817 |  | 
 | 9818 | 	# Commands to make compiler produce verbose output that lists | 
 | 9819 | 	# what "hidden" libraries, object files and flags are used when | 
 | 9820 | 	# linking a shared library. | 
 | 9821 | 	# | 
 | 9822 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 9823 | 	# explicitly linking system object files so we need to strip them | 
 | 9824 | 	# from the output so that they don't get included in the library | 
 | 9825 | 	# dependencies. | 
 | 9826 | 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
 | 9827 | 	;; | 
 | 9828 |       *) | 
 | 9829 | 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 
 | 9830 | 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 
 | 9831 | 	  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | 
 | 9832 |  | 
 | 9833 | 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
 | 9834 | 	  hardcode_libdir_separator_CXX=: | 
 | 9835 |  | 
 | 9836 | 	  # Commands to make compiler produce verbose output that lists | 
 | 9837 | 	  # what "hidden" libraries, object files and flags are used when | 
 | 9838 | 	  # linking a shared library. | 
 | 9839 | 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' | 
 | 9840 |  | 
 | 9841 | 	else | 
 | 9842 | 	  # FIXME: insert proper C++ library support | 
 | 9843 | 	  ld_shlibs_CXX=no | 
 | 9844 | 	fi | 
 | 9845 | 	;; | 
 | 9846 |     esac | 
 | 9847 |     ;; | 
 | 9848 |   osf4* | osf5*) | 
 | 9849 |     case $cc_basename in | 
 | 9850 |       KCC) | 
 | 9851 | 	# Kuck and Associates, Inc. (KAI) C++ Compiler | 
 | 9852 |  | 
 | 9853 | 	# KCC will only create a shared library if the output file | 
 | 9854 | 	# ends with ".so" (or ".sl" for HP-UX), so rename the library | 
 | 9855 | 	# to its proper name (with version) after linking. | 
 | 9856 | 	archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | 
 | 9857 |  | 
 | 9858 | 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
 | 9859 | 	hardcode_libdir_separator_CXX=: | 
 | 9860 |  | 
 | 9861 | 	# Archives containing C++ object files must be created using | 
 | 9862 | 	# the KAI C++ compiler. | 
 | 9863 | 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' | 
 | 9864 | 	;; | 
 | 9865 |       RCC) | 
 | 9866 | 	# Rational C++ 2.4.1 | 
 | 9867 | 	# FIXME: insert proper C++ library support | 
 | 9868 | 	ld_shlibs_CXX=no | 
 | 9869 | 	;; | 
 | 9870 |       cxx) | 
 | 9871 | 	allow_undefined_flag_CXX=' -expect_unresolved \*' | 
 | 9872 | 	archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | 
 | 9873 | 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ | 
 | 9874 | 	  echo "-hidden">> $lib.exp~ | 
 | 9875 | 	  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~ | 
 | 9876 | 	  $rm $lib.exp' | 
 | 9877 |  | 
 | 9878 | 	hardcode_libdir_flag_spec_CXX='-rpath $libdir' | 
 | 9879 | 	hardcode_libdir_separator_CXX=: | 
 | 9880 |  | 
 | 9881 | 	# Commands to make compiler produce verbose output that lists | 
 | 9882 | 	# what "hidden" libraries, object files and flags are used when | 
 | 9883 | 	# linking a shared library. | 
 | 9884 | 	# | 
 | 9885 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 9886 | 	# explicitly linking system object files so we need to strip them | 
 | 9887 | 	# from the output so that they don't get included in the library | 
 | 9888 | 	# dependencies. | 
 | 9889 | 	output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
 | 9890 | 	;; | 
 | 9891 |       *) | 
 | 9892 | 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 
 | 9893 | 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 
 | 9894 | 	 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | 
 | 9895 |  | 
 | 9896 | 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
 | 9897 | 	  hardcode_libdir_separator_CXX=: | 
 | 9898 |  | 
 | 9899 | 	  # Commands to make compiler produce verbose output that lists | 
 | 9900 | 	  # what "hidden" libraries, object files and flags are used when | 
 | 9901 | 	  # linking a shared library. | 
 | 9902 | 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' | 
 | 9903 |  | 
 | 9904 | 	else | 
 | 9905 | 	  # FIXME: insert proper C++ library support | 
 | 9906 | 	  ld_shlibs_CXX=no | 
 | 9907 | 	fi | 
 | 9908 | 	;; | 
 | 9909 |     esac | 
 | 9910 |     ;; | 
 | 9911 |   psos*) | 
 | 9912 |     # FIXME: insert proper C++ library support | 
 | 9913 |     ld_shlibs_CXX=no | 
 | 9914 |     ;; | 
 | 9915 |   sco*) | 
 | 9916 |     archive_cmds_need_lc_CXX=no | 
 | 9917 |     case $cc_basename in | 
 | 9918 |       CC) | 
 | 9919 | 	# FIXME: insert proper C++ library support | 
 | 9920 | 	ld_shlibs_CXX=no | 
 | 9921 | 	;; | 
 | 9922 |       *) | 
 | 9923 | 	# FIXME: insert proper C++ library support | 
 | 9924 | 	ld_shlibs_CXX=no | 
 | 9925 | 	;; | 
 | 9926 |     esac | 
 | 9927 |     ;; | 
 | 9928 |   sunos4*) | 
 | 9929 |     case $cc_basename in | 
 | 9930 |       CC) | 
 | 9931 | 	# Sun C++ 4.x | 
 | 9932 | 	# FIXME: insert proper C++ library support | 
 | 9933 | 	ld_shlibs_CXX=no | 
 | 9934 | 	;; | 
 | 9935 |       lcc) | 
 | 9936 | 	# Lucid | 
 | 9937 | 	# FIXME: insert proper C++ library support | 
 | 9938 | 	ld_shlibs_CXX=no | 
 | 9939 | 	;; | 
 | 9940 |       *) | 
 | 9941 | 	# FIXME: insert proper C++ library support | 
 | 9942 | 	ld_shlibs_CXX=no | 
 | 9943 | 	;; | 
 | 9944 |     esac | 
 | 9945 |     ;; | 
 | 9946 |   solaris*) | 
 | 9947 |     case $cc_basename in | 
 | 9948 |       CC) | 
 | 9949 | 	# Sun C++ 4.2, 5.x and Centerline C++ | 
 | 9950 | 	no_undefined_flag_CXX=' -zdefs' | 
 | 9951 | 	archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
 | 9952 | 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 9953 | 	$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | 
 | 9954 |  | 
 | 9955 | 	hardcode_libdir_flag_spec_CXX='-R$libdir' | 
 | 9956 | 	hardcode_shlibpath_var_CXX=no | 
 | 9957 | 	case $host_os in | 
 | 9958 | 	  solaris2.0-5 | solaris2.0-5.*) ;; | 
 | 9959 | 	  *) | 
 | 9960 | 	    # The C++ compiler is used as linker so we must use $wl | 
 | 9961 | 	    # flag to pass the commands to the underlying system | 
 | 9962 | 	    # linker. | 
 | 9963 | 	    # Supported since Solaris 2.6 (maybe 2.5.1?) | 
 | 9964 | 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' | 
 | 9965 | 	    ;; | 
 | 9966 | 	esac | 
 | 9967 | 	link_all_deplibs_CXX=yes | 
 | 9968 |  | 
 | 9969 | 	# Commands to make compiler produce verbose output that lists | 
 | 9970 | 	# what "hidden" libraries, object files and flags are used when | 
 | 9971 | 	# linking a shared library. | 
 | 9972 | 	# | 
 | 9973 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 9974 | 	# explicitly linking system object files so we need to strip them | 
 | 9975 | 	# from the output so that they don't get included in the library | 
 | 9976 | 	# dependencies. | 
 | 9977 | 	output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
 | 9978 |  | 
 | 9979 | 	# Archives containing C++ object files must be created using | 
 | 9980 | 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is | 
 | 9981 | 	# necessary to make sure instantiated templates are included | 
 | 9982 | 	# in the archive. | 
 | 9983 | 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' | 
 | 9984 | 	;; | 
 | 9985 |       gcx) | 
 | 9986 | 	# Green Hills C++ Compiler | 
 | 9987 | 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
 | 9988 |  | 
 | 9989 | 	# The C++ compiler must be used to create the archive. | 
 | 9990 | 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' | 
 | 9991 | 	;; | 
 | 9992 |       *) | 
 | 9993 | 	# GNU C++ compiler with Solaris linker | 
 | 9994 | 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 
 | 9995 | 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs' | 
 | 9996 | 	  if $CC --version | grep -v '^2\.7' > /dev/null; then | 
 | 9997 | 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
 | 9998 | 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 9999 | 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | 
 | 10000 |  | 
 | 10001 | 	    # Commands to make compiler produce verbose output that lists | 
 | 10002 | 	    # what "hidden" libraries, object files and flags are used when | 
 | 10003 | 	    # linking a shared library. | 
 | 10004 | 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" | 
 | 10005 | 	  else | 
 | 10006 | 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this | 
 | 10007 | 	    # platform. | 
 | 10008 | 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
 | 10009 | 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 10010 | 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | 
 | 10011 |  | 
 | 10012 | 	    # Commands to make compiler produce verbose output that lists | 
 | 10013 | 	    # what "hidden" libraries, object files and flags are used when | 
 | 10014 | 	    # linking a shared library. | 
 | 10015 | 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" | 
 | 10016 | 	  fi | 
 | 10017 |  | 
 | 10018 | 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' | 
 | 10019 | 	fi | 
 | 10020 | 	;; | 
 | 10021 |     esac | 
 | 10022 |     ;; | 
 | 10023 |   sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) | 
 | 10024 |     archive_cmds_need_lc_CXX=no | 
 | 10025 |     ;; | 
 | 10026 |   tandem*) | 
 | 10027 |     case $cc_basename in | 
 | 10028 |       NCC) | 
 | 10029 | 	# NonStop-UX NCC 3.20 | 
 | 10030 | 	# FIXME: insert proper C++ library support | 
 | 10031 | 	ld_shlibs_CXX=no | 
 | 10032 | 	;; | 
 | 10033 |       *) | 
 | 10034 | 	# FIXME: insert proper C++ library support | 
 | 10035 | 	ld_shlibs_CXX=no | 
 | 10036 | 	;; | 
 | 10037 |     esac | 
 | 10038 |     ;; | 
 | 10039 |   vxworks*) | 
 | 10040 |     # FIXME: insert proper C++ library support | 
 | 10041 |     ld_shlibs_CXX=no | 
 | 10042 |     ;; | 
 | 10043 |   *) | 
 | 10044 |     # FIXME: insert proper C++ library support | 
 | 10045 |     ld_shlibs_CXX=no | 
 | 10046 |     ;; | 
 | 10047 | esac | 
 | 10048 | echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 | 
 | 10049 | echo "${ECHO_T}$ld_shlibs_CXX" >&6 | 
 | 10050 | test "$ld_shlibs_CXX" = no && can_build_shared=no | 
 | 10051 |  | 
 | 10052 | GCC_CXX="$GXX" | 
 | 10053 | LD_CXX="$LD" | 
 | 10054 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10055 |  | 
 | 10056 | cat > conftest.$ac_ext <<EOF | 
 | 10057 | class Foo | 
 | 10058 | { | 
 | 10059 | public: | 
 | 10060 |   Foo (void) { a = 0; } | 
 | 10061 | private: | 
 | 10062 |   int a; | 
 | 10063 | }; | 
 | 10064 | EOF | 
 | 10065 |  | 
 | 10066 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 10067 |   (eval $ac_compile) 2>&5 | 
 | 10068 |   ac_status=$? | 
 | 10069 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10070 |   (exit $ac_status); }; then | 
 | 10071 |   # Parse the compiler output and extract the necessary | 
 | 10072 |   # objects, libraries and library flags. | 
 | 10073 |  | 
 | 10074 |   # Sentinel used to keep track of whether or not we are before | 
 | 10075 |   # the conftest object file. | 
 | 10076 |   pre_test_object_deps_done=no | 
 | 10077 |  | 
 | 10078 |   # The `*' in the case matches for architectures that use `case' in | 
 | 10079 |   # $output_verbose_cmd can trigger glob expansion during the loop | 
 | 10080 |   # eval without this substitution. | 
 | 10081 |   output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" | 
 | 10082 |  | 
 | 10083 |   for p in `eval $output_verbose_link_cmd`; do | 
 | 10084 |     case $p in | 
 | 10085 |  | 
 | 10086 |     -L* | -R* | -l*) | 
 | 10087 |        # Some compilers place space between "-{L,R}" and the path. | 
 | 10088 |        # Remove the space. | 
 | 10089 |        if test $p = "-L" \ | 
 | 10090 | 	  || test $p = "-R"; then | 
 | 10091 | 	 prev=$p | 
 | 10092 | 	 continue | 
 | 10093 |        else | 
 | 10094 | 	 prev= | 
 | 10095 |        fi | 
 | 10096 |  | 
 | 10097 |        if test "$pre_test_object_deps_done" = no; then | 
 | 10098 | 	 case $p in | 
 | 10099 | 	 -L* | -R*) | 
 | 10100 | 	   # Internal compiler library paths should come after those | 
 | 10101 | 	   # provided the user.  The postdeps already come after the | 
 | 10102 | 	   # user supplied libs so there is no need to process them. | 
 | 10103 | 	   if test -z "$compiler_lib_search_path_CXX"; then | 
 | 10104 | 	     compiler_lib_search_path_CXX="${prev}${p}" | 
 | 10105 | 	   else | 
 | 10106 | 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" | 
 | 10107 | 	   fi | 
 | 10108 | 	   ;; | 
 | 10109 | 	 # The "-l" case would never come before the object being | 
 | 10110 | 	 # linked, so don't bother handling this case. | 
 | 10111 | 	 esac | 
 | 10112 |        else | 
 | 10113 | 	 if test -z "$postdeps_CXX"; then | 
 | 10114 | 	   postdeps_CXX="${prev}${p}" | 
 | 10115 | 	 else | 
 | 10116 | 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}" | 
 | 10117 | 	 fi | 
 | 10118 |        fi | 
 | 10119 |        ;; | 
 | 10120 |  | 
 | 10121 |     *.$objext) | 
 | 10122 |        # This assumes that the test object file only shows up | 
 | 10123 |        # once in the compiler output. | 
 | 10124 |        if test "$p" = "conftest.$objext"; then | 
 | 10125 | 	 pre_test_object_deps_done=yes | 
 | 10126 | 	 continue | 
 | 10127 |        fi | 
 | 10128 |  | 
 | 10129 |        if test "$pre_test_object_deps_done" = no; then | 
 | 10130 | 	 if test -z "$predep_objects_CXX"; then | 
 | 10131 | 	   predep_objects_CXX="$p" | 
 | 10132 | 	 else | 
 | 10133 | 	   predep_objects_CXX="$predep_objects_CXX $p" | 
 | 10134 | 	 fi | 
 | 10135 |        else | 
 | 10136 | 	 if test -z "$postdep_objects_CXX"; then | 
 | 10137 | 	   postdep_objects_CXX="$p" | 
 | 10138 | 	 else | 
 | 10139 | 	   postdep_objects_CXX="$postdep_objects_CXX $p" | 
 | 10140 | 	 fi | 
 | 10141 |        fi | 
 | 10142 |        ;; | 
 | 10143 |  | 
 | 10144 |     *) ;; # Ignore the rest. | 
 | 10145 |  | 
 | 10146 |     esac | 
 | 10147 |   done | 
 | 10148 |  | 
 | 10149 |   # Clean up. | 
 | 10150 |   rm -f a.out a.exe | 
 | 10151 | else | 
 | 10152 |   echo "libtool.m4: error: problem compiling CXX test program" | 
 | 10153 | fi | 
 | 10154 |  | 
 | 10155 | $rm -f confest.$objext | 
 | 10156 |  | 
 | 10157 | case " $postdeps_CXX " in | 
 | 10158 | *" -lc "*) archive_cmds_need_lc_CXX=no ;; | 
 | 10159 | esac | 
 | 10160 |  | 
 | 10161 | lt_prog_compiler_wl_CXX= | 
 | 10162 | lt_prog_compiler_pic_CXX= | 
 | 10163 | lt_prog_compiler_static_CXX= | 
 | 10164 |  | 
 | 10165 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
 | 10166 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
 | 10167 |  | 
 | 10168 |   # C++ specific cases for pic, static, wl, etc. | 
 | 10169 |   if test "$GXX" = yes; then | 
 | 10170 |     lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10171 |     lt_prog_compiler_static_CXX='-static' | 
 | 10172 |  | 
 | 10173 |     case $host_os in | 
 | 10174 |     aix*) | 
 | 10175 |       # All AIX code is PIC. | 
 | 10176 |       if test "$host_cpu" = ia64; then | 
 | 10177 | 	# AIX 5 now supports IA64 processor | 
 | 10178 | 	lt_prog_compiler_static_CXX='-Bstatic' | 
 | 10179 |       fi | 
 | 10180 |       ;; | 
 | 10181 |     amigaos*) | 
 | 10182 |       # FIXME: we need at least 68020 code to build shared libraries, but | 
 | 10183 |       # adding the `-m68020' flag to GCC prevents building anything better, | 
 | 10184 |       # like `-m68040'. | 
 | 10185 |       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' | 
 | 10186 |       ;; | 
 | 10187 |     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
 | 10188 |       # PIC is the default for these OSes. | 
 | 10189 |       ;; | 
 | 10190 |     mingw* | os2* | pw32*) | 
 | 10191 |       # This hack is so that the source file can tell whether it is being | 
 | 10192 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 10193 |       lt_prog_compiler_pic_CXX='-DDLL_EXPORT' | 
 | 10194 |       ;; | 
 | 10195 |     darwin* | rhapsody*) | 
 | 10196 |       # PIC is the default on this platform | 
 | 10197 |       # Common symbols not allowed in MH_DYLIB files | 
 | 10198 |       lt_prog_compiler_pic_CXX='-fno-common' | 
 | 10199 |       ;; | 
 | 10200 |     *djgpp*) | 
 | 10201 |       # DJGPP does not support shared libraries at all | 
 | 10202 |       lt_prog_compiler_pic_CXX= | 
 | 10203 |       ;; | 
 | 10204 |     sysv4*MP*) | 
 | 10205 |       if test -d /usr/nec; then | 
 | 10206 | 	lt_prog_compiler_pic_CXX=-Kconform_pic | 
 | 10207 |       fi | 
 | 10208 |       ;; | 
 | 10209 |     hpux*) | 
 | 10210 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 10211 |       # not for PA HP-UX. | 
 | 10212 |       case "$host_cpu" in | 
 | 10213 |       hppa*64*|ia64*) | 
 | 10214 | 	;; | 
 | 10215 |       *) | 
 | 10216 | 	lt_prog_compiler_pic_CXX='-fPIC' | 
 | 10217 | 	;; | 
 | 10218 |       esac | 
 | 10219 |       ;; | 
 | 10220 |     *) | 
 | 10221 |       lt_prog_compiler_pic_CXX='-fPIC' | 
 | 10222 |       ;; | 
 | 10223 |     esac | 
 | 10224 |   else | 
 | 10225 |     case $host_os in | 
 | 10226 |       aix4* | aix5*) | 
 | 10227 | 	# All AIX code is PIC. | 
 | 10228 | 	if test "$host_cpu" = ia64; then | 
 | 10229 | 	  # AIX 5 now supports IA64 processor | 
 | 10230 | 	  lt_prog_compiler_static_CXX='-Bstatic' | 
 | 10231 | 	else | 
 | 10232 | 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' | 
 | 10233 | 	fi | 
 | 10234 | 	;; | 
 | 10235 |       chorus*) | 
 | 10236 | 	case $cc_basename in | 
 | 10237 | 	cxch68) | 
 | 10238 | 	  # Green Hills C++ Compiler | 
 | 10239 | 	  # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" | 
 | 10240 | 	  ;; | 
 | 10241 | 	esac | 
 | 10242 | 	;; | 
 | 10243 |       dgux*) | 
 | 10244 | 	case $cc_basename in | 
 | 10245 | 	  ec++) | 
 | 10246 | 	    lt_prog_compiler_pic_CXX='-KPIC' | 
 | 10247 | 	    ;; | 
 | 10248 | 	  ghcx) | 
 | 10249 | 	    # Green Hills C++ Compiler | 
 | 10250 | 	    lt_prog_compiler_pic_CXX='-pic' | 
 | 10251 | 	    ;; | 
 | 10252 | 	  *) | 
 | 10253 | 	    ;; | 
 | 10254 | 	esac | 
 | 10255 | 	;; | 
 | 10256 |       freebsd*) | 
 | 10257 | 	# FreeBSD uses GNU C++ | 
 | 10258 | 	;; | 
 | 10259 |       hpux9* | hpux10* | hpux11*) | 
 | 10260 | 	case $cc_basename in | 
 | 10261 | 	  CC) | 
 | 10262 | 	    lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10263 | 	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" | 
 | 10264 | 	    if test "$host_cpu" != ia64; then | 
 | 10265 | 	      lt_prog_compiler_pic_CXX='+Z' | 
 | 10266 | 	    fi | 
 | 10267 | 	    ;; | 
 | 10268 | 	  aCC) | 
 | 10269 | 	    lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10270 | 	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" | 
 | 10271 | 	    case "$host_cpu" in | 
 | 10272 | 	    hppa*64*|ia64*) | 
 | 10273 | 	      # +Z the default | 
 | 10274 | 	      ;; | 
 | 10275 | 	    *) | 
 | 10276 | 	      lt_prog_compiler_pic_CXX='+Z' | 
 | 10277 | 	      ;; | 
 | 10278 | 	    esac | 
 | 10279 | 	    ;; | 
 | 10280 | 	  *) | 
 | 10281 | 	    ;; | 
 | 10282 | 	esac | 
 | 10283 | 	;; | 
 | 10284 |       irix5* | irix6* | nonstopux*) | 
 | 10285 | 	case $cc_basename in | 
 | 10286 | 	  CC) | 
 | 10287 | 	    lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10288 | 	    lt_prog_compiler_static_CXX='-non_shared' | 
 | 10289 | 	    # CC pic flag -KPIC is the default. | 
 | 10290 | 	    ;; | 
 | 10291 | 	  *) | 
 | 10292 | 	    ;; | 
 | 10293 | 	esac | 
 | 10294 | 	;; | 
 | 10295 |       linux*) | 
 | 10296 | 	case $cc_basename in | 
 | 10297 | 	  KCC) | 
 | 10298 | 	    # KAI C++ Compiler | 
 | 10299 | 	    lt_prog_compiler_wl_CXX='--backend -Wl,' | 
 | 10300 | 	    lt_prog_compiler_pic_CXX='-fPIC' | 
 | 10301 | 	    ;; | 
 | 10302 | 	  icpc) | 
 | 10303 | 	    # Intel C++ | 
 | 10304 | 	    lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10305 | 	    lt_prog_compiler_pic_CXX='-KPIC' | 
 | 10306 | 	    lt_prog_compiler_static_CXX='-static' | 
 | 10307 | 	    ;; | 
 | 10308 | 	  cxx) | 
 | 10309 | 	    # Compaq C++ | 
 | 10310 | 	    # Make sure the PIC flag is empty.  It appears that all Alpha | 
 | 10311 | 	    # Linux and Compaq Tru64 Unix objects are PIC. | 
 | 10312 | 	    lt_prog_compiler_pic_CXX= | 
 | 10313 | 	    lt_prog_compiler_static_CXX='-non_shared' | 
 | 10314 | 	    ;; | 
 | 10315 | 	  *) | 
 | 10316 | 	    ;; | 
 | 10317 | 	esac | 
 | 10318 | 	;; | 
 | 10319 |       lynxos*) | 
 | 10320 | 	;; | 
 | 10321 |       m88k*) | 
 | 10322 | 	;; | 
 | 10323 |       mvs*) | 
 | 10324 | 	case $cc_basename in | 
 | 10325 | 	  cxx) | 
 | 10326 | 	    lt_prog_compiler_pic_CXX='-W c,exportall' | 
 | 10327 | 	    ;; | 
 | 10328 | 	  *) | 
 | 10329 | 	    ;; | 
 | 10330 | 	esac | 
 | 10331 | 	;; | 
 | 10332 |       netbsd*) | 
 | 10333 | 	;; | 
 | 10334 |       osf3* | osf4* | osf5*) | 
 | 10335 | 	case $cc_basename in | 
 | 10336 | 	  KCC) | 
 | 10337 | 	    lt_prog_compiler_wl_CXX='--backend -Wl,' | 
 | 10338 | 	    ;; | 
 | 10339 | 	  RCC) | 
 | 10340 | 	    # Rational C++ 2.4.1 | 
 | 10341 | 	    lt_prog_compiler_pic_CXX='-pic' | 
 | 10342 | 	    ;; | 
 | 10343 | 	  cxx) | 
 | 10344 | 	    # Digital/Compaq C++ | 
 | 10345 | 	    lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10346 | 	    # Make sure the PIC flag is empty.  It appears that all Alpha | 
 | 10347 | 	    # Linux and Compaq Tru64 Unix objects are PIC. | 
 | 10348 | 	    lt_prog_compiler_pic_CXX= | 
 | 10349 | 	    lt_prog_compiler_static_CXX='-non_shared' | 
 | 10350 | 	    ;; | 
 | 10351 | 	  *) | 
 | 10352 | 	    ;; | 
 | 10353 | 	esac | 
 | 10354 | 	;; | 
 | 10355 |       psos*) | 
 | 10356 | 	;; | 
 | 10357 |       sco*) | 
 | 10358 | 	case $cc_basename in | 
 | 10359 | 	  CC) | 
 | 10360 | 	    lt_prog_compiler_pic_CXX='-fPIC' | 
 | 10361 | 	    ;; | 
 | 10362 | 	  *) | 
 | 10363 | 	    ;; | 
 | 10364 | 	esac | 
 | 10365 | 	;; | 
 | 10366 |       solaris*) | 
 | 10367 | 	case $cc_basename in | 
 | 10368 | 	  CC) | 
 | 10369 | 	    # Sun C++ 4.2, 5.x and Centerline C++ | 
 | 10370 | 	    lt_prog_compiler_pic_CXX='-KPIC' | 
 | 10371 | 	    lt_prog_compiler_static_CXX='-Bstatic' | 
 | 10372 | 	    lt_prog_compiler_wl_CXX='-Qoption ld ' | 
 | 10373 | 	    ;; | 
 | 10374 | 	  gcx) | 
 | 10375 | 	    # Green Hills C++ Compiler | 
 | 10376 | 	    lt_prog_compiler_pic_CXX='-PIC' | 
 | 10377 | 	    ;; | 
 | 10378 | 	  *) | 
 | 10379 | 	    ;; | 
 | 10380 | 	esac | 
 | 10381 | 	;; | 
 | 10382 |       sunos4*) | 
 | 10383 | 	case $cc_basename in | 
 | 10384 | 	  CC) | 
 | 10385 | 	    # Sun C++ 4.x | 
 | 10386 | 	    lt_prog_compiler_pic_CXX='-pic' | 
 | 10387 | 	    lt_prog_compiler_static_CXX='-Bstatic' | 
 | 10388 | 	    ;; | 
 | 10389 | 	  lcc) | 
 | 10390 | 	    # Lucid | 
 | 10391 | 	    lt_prog_compiler_pic_CXX='-pic' | 
 | 10392 | 	    ;; | 
 | 10393 | 	  *) | 
 | 10394 | 	    ;; | 
 | 10395 | 	esac | 
 | 10396 | 	;; | 
 | 10397 |       tandem*) | 
 | 10398 | 	case $cc_basename in | 
 | 10399 | 	  NCC) | 
 | 10400 | 	    # NonStop-UX NCC 3.20 | 
 | 10401 | 	    lt_prog_compiler_pic_CXX='-KPIC' | 
 | 10402 | 	    ;; | 
 | 10403 | 	  *) | 
 | 10404 | 	    ;; | 
 | 10405 | 	esac | 
 | 10406 | 	;; | 
 | 10407 |       unixware*) | 
 | 10408 | 	;; | 
 | 10409 |       vxworks*) | 
 | 10410 | 	;; | 
 | 10411 |       *) | 
 | 10412 | 	lt_prog_compiler_can_build_shared_CXX=no | 
 | 10413 | 	;; | 
 | 10414 |     esac | 
 | 10415 |   fi | 
 | 10416 |  | 
 | 10417 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 | 
 | 10418 | echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 | 
 | 10419 |  | 
 | 10420 | # | 
 | 10421 | # Check to make sure the PIC flag actually works. | 
 | 10422 | # | 
 | 10423 | if test -n "$lt_prog_compiler_pic_CXX"; then | 
 | 10424 |   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 | 
 | 10425 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 | 
 | 10426 | if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then | 
 | 10427 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10428 | else | 
 | 10429 |   lt_prog_compiler_pic_works_CXX=no | 
 | 10430 |   ac_outfile=conftest.$ac_objext | 
 | 10431 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 10432 |    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" | 
 | 10433 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 10434 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 10435 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 10436 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 10437 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 10438 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 10439 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 10440 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 10441 |    -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 10442 |    (eval echo "\"\$as_me:10442: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10443 |    (eval "$lt_compile" 2>conftest.err) | 
 | 10444 |    ac_status=$? | 
 | 10445 |    cat conftest.err >&5 | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 10446 |    echo "$as_me:10446: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10447 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 10448 |      # The compiler can only warn and ignore the option if not recognized | 
 | 10449 |      # So say no if there are warnings | 
 | 10450 |      if test ! -s conftest.err; then | 
 | 10451 |        lt_prog_compiler_pic_works_CXX=yes | 
 | 10452 |      fi | 
 | 10453 |    fi | 
 | 10454 |    $rm conftest* | 
 | 10455 |  | 
 | 10456 | fi | 
 | 10457 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 | 
 | 10458 | echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 | 
 | 10459 |  | 
 | 10460 | if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then | 
 | 10461 |     case $lt_prog_compiler_pic_CXX in | 
 | 10462 |      "" | " "*) ;; | 
 | 10463 |      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; | 
 | 10464 |      esac | 
 | 10465 | else | 
 | 10466 |     lt_prog_compiler_pic_CXX= | 
 | 10467 |      lt_prog_compiler_can_build_shared_CXX=no | 
 | 10468 | fi | 
 | 10469 |  | 
 | 10470 | fi | 
 | 10471 | case "$host_os" in | 
 | 10472 |   # For platforms which do not support PIC, -DPIC is meaningless: | 
 | 10473 |   *djgpp*) | 
 | 10474 |     lt_prog_compiler_pic_CXX= | 
 | 10475 |     ;; | 
 | 10476 |   *) | 
 | 10477 |     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" | 
 | 10478 |     ;; | 
 | 10479 | esac | 
 | 10480 |  | 
 | 10481 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
 | 10482 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
 | 10483 | if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then | 
 | 10484 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10485 | else | 
 | 10486 |   lt_cv_prog_compiler_c_o_CXX=no | 
 | 10487 |    $rm -r conftest 2>/dev/null | 
 | 10488 |    mkdir conftest | 
 | 10489 |    cd conftest | 
 | 10490 |    mkdir out | 
 | 10491 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 10492 |  | 
 | 10493 |    # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
 | 10494 |    # that will create temporary files in the current directory regardless of | 
 | 10495 |    # the output directory.  Thus, making CWD read-only will cause this test | 
 | 10496 |    # to fail, enabling locking or at least warning the user not to do parallel | 
 | 10497 |    # builds. | 
 | 10498 |    chmod -w . | 
 | 10499 |  | 
 | 10500 |    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
 | 10501 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 10502 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 10503 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 10504 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 10505 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 10506 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 10507 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 10508 |    -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 10509 |    (eval echo "\"\$as_me:10509: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10510 |    (eval "$lt_compile" 2>out/conftest.err) | 
 | 10511 |    ac_status=$? | 
 | 10512 |    cat out/conftest.err >&5 | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 10513 |    echo "$as_me:10513: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10514 |    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
 | 10515 |    then | 
 | 10516 |      # The compiler can only warn and ignore the option if not recognized | 
 | 10517 |      # So say no if there are warnings | 
 | 10518 |      if test ! -s out/conftest.err; then | 
 | 10519 |        lt_cv_prog_compiler_c_o_CXX=yes | 
 | 10520 |      fi | 
 | 10521 |    fi | 
 | 10522 |    chmod u+w . | 
 | 10523 |    $rm conftest* out/* | 
 | 10524 |    rmdir out | 
 | 10525 |    cd .. | 
 | 10526 |    rmdir conftest | 
 | 10527 |    $rm conftest* | 
 | 10528 |  | 
 | 10529 | fi | 
 | 10530 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 | 
 | 10531 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 | 
 | 10532 |  | 
 | 10533 |  | 
 | 10534 | hard_links="nottested" | 
 | 10535 | if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then | 
 | 10536 |   # do not overwrite the value of need_locks provided by the user | 
 | 10537 |   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
 | 10538 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
 | 10539 |   hard_links=yes | 
 | 10540 |   $rm conftest* | 
 | 10541 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 10542 |   touch conftest.a | 
 | 10543 |   ln conftest.a conftest.b 2>&5 || hard_links=no | 
 | 10544 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 10545 |   echo "$as_me:$LINENO: result: $hard_links" >&5 | 
 | 10546 | echo "${ECHO_T}$hard_links" >&6 | 
 | 10547 |   if test "$hard_links" = no; then | 
 | 10548 |     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
 | 10549 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
 | 10550 |     need_locks=warn | 
 | 10551 |   fi | 
 | 10552 | else | 
 | 10553 |   need_locks=no | 
 | 10554 | fi | 
 | 10555 |  | 
 | 10556 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
 | 10557 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 10558 |  | 
 | 10559 |   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 10560 |   case $host_os in | 
 | 10561 |   aix4* | aix5*) | 
 | 10562 |     # If we're using GNU nm, then we don't want the "-C" option. | 
 | 10563 |     # -C means demangle to AIX nm, but means don't demangle with GNU nm | 
 | 10564 |     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
 | 10565 |       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
 | 10566 |     else | 
 | 10567 |       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
 | 10568 |     fi | 
 | 10569 |     ;; | 
 | 10570 |   pw32*) | 
 | 10571 |     export_symbols_cmds_CXX="$ltdll_cmds" | 
 | 10572 |   ;; | 
 | 10573 |   cygwin* | mingw*) | 
 | 10574 |     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 10575 |   ;; | 
 | 10576 |   *) | 
 | 10577 |     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 10578 |   ;; | 
 | 10579 |   esac | 
 | 10580 |  | 
 | 10581 | echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 | 
 | 10582 | echo "${ECHO_T}$ld_shlibs_CXX" >&6 | 
 | 10583 | test "$ld_shlibs_CXX" = no && can_build_shared=no | 
 | 10584 |  | 
 | 10585 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
 | 10586 | if test "$GCC" = yes; then | 
 | 10587 |   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
 | 10588 | fi | 
 | 10589 |  | 
 | 10590 | # | 
 | 10591 | # Do we need to explicitly link libc? | 
 | 10592 | # | 
 | 10593 | case "x$archive_cmds_need_lc_CXX" in | 
 | 10594 | x|xyes) | 
 | 10595 |   # Assume -lc should be added | 
 | 10596 |   archive_cmds_need_lc_CXX=yes | 
 | 10597 |  | 
 | 10598 |   if test "$enable_shared" = yes && test "$GCC" = yes; then | 
 | 10599 |     case $archive_cmds_CXX in | 
 | 10600 |     *'~'*) | 
 | 10601 |       # FIXME: we may have to deal with multi-command sequences. | 
 | 10602 |       ;; | 
 | 10603 |     '$CC '*) | 
 | 10604 |       # Test whether the compiler implicitly links with -lc since on some | 
 | 10605 |       # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
 | 10606 |       # to ld, don't add -lc before -lgcc. | 
 | 10607 |       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
 | 10608 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
 | 10609 |       $rm conftest* | 
 | 10610 |       printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 10611 |  | 
 | 10612 |       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 10613 |   (eval $ac_compile) 2>&5 | 
 | 10614 |   ac_status=$? | 
 | 10615 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10616 |   (exit $ac_status); } 2>conftest.err; then | 
 | 10617 |         soname=conftest | 
 | 10618 |         lib=conftest | 
 | 10619 |         libobjs=conftest.$ac_objext | 
 | 10620 |         deplibs= | 
 | 10621 |         wl=$lt_prog_compiler_wl_CXX | 
 | 10622 |         compiler_flags=-v | 
 | 10623 |         linker_flags=-v | 
 | 10624 |         verstring= | 
 | 10625 |         output_objdir=. | 
 | 10626 |         libname=conftest | 
 | 10627 |         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX | 
 | 10628 |         allow_undefined_flag_CXX= | 
 | 10629 |         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
 | 10630 |   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
 | 10631 |   ac_status=$? | 
 | 10632 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10633 |   (exit $ac_status); } | 
 | 10634 |         then | 
 | 10635 | 	  archive_cmds_need_lc_CXX=no | 
 | 10636 |         else | 
 | 10637 | 	  archive_cmds_need_lc_CXX=yes | 
 | 10638 |         fi | 
 | 10639 |         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag | 
 | 10640 |       else | 
 | 10641 |         cat conftest.err 1>&5 | 
 | 10642 |       fi | 
 | 10643 |       $rm conftest* | 
 | 10644 |       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 | 
 | 10645 | echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 | 
 | 10646 |       ;; | 
 | 10647 |     esac | 
 | 10648 |   fi | 
 | 10649 |   ;; | 
 | 10650 | esac | 
 | 10651 |  | 
 | 10652 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
 | 10653 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
 | 10654 | hardcode_action_CXX= | 
 | 10655 | if test -n "$hardcode_libdir_flag_spec_CXX" || \ | 
 | 10656 |    test -n "$runpath_var CXX" || \ | 
 | 10657 |    test "X$hardcode_automatic_CXX"="Xyes" ; then | 
 | 10658 |  | 
 | 10659 |   # We can hardcode non-existant directories. | 
 | 10660 |   if test "$hardcode_direct_CXX" != no && | 
 | 10661 |      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
 | 10662 |      # have to relink, otherwise we might link with an installed library | 
 | 10663 |      # when we should be linking with a yet-to-be-installed one | 
 | 10664 |      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && | 
 | 10665 |      test "$hardcode_minus_L_CXX" != no; then | 
 | 10666 |     # Linking always hardcodes the temporary library directory. | 
 | 10667 |     hardcode_action_CXX=relink | 
 | 10668 |   else | 
 | 10669 |     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
 | 10670 |     hardcode_action_CXX=immediate | 
 | 10671 |   fi | 
 | 10672 | else | 
 | 10673 |   # We cannot hardcode anything, or else we can only hardcode existing | 
 | 10674 |   # directories. | 
 | 10675 |   hardcode_action_CXX=unsupported | 
 | 10676 | fi | 
 | 10677 | echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 | 
 | 10678 | echo "${ECHO_T}$hardcode_action_CXX" >&6 | 
 | 10679 |  | 
 | 10680 | if test "$hardcode_action_CXX" = relink; then | 
 | 10681 |   # Fast installation is not supported | 
 | 10682 |   enable_fast_install=no | 
 | 10683 | elif test "$shlibpath_overrides_runpath" = yes || | 
 | 10684 |      test "$enable_shared" = no; then | 
 | 10685 |   # Fast installation is not necessary | 
 | 10686 |   enable_fast_install=needless | 
 | 10687 | fi | 
 | 10688 |  | 
 | 10689 | striplib= | 
 | 10690 | old_striplib= | 
 | 10691 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
 | 10692 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
 | 10693 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
 | 10694 |   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
 | 10695 |   test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
 | 10696 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 10697 | echo "${ECHO_T}yes" >&6 | 
 | 10698 | else | 
 | 10699 | # FIXME - insert some real tests, host_os isn't really good enough | 
 | 10700 |   case $host_os in | 
 | 10701 |    darwin*) | 
 | 10702 |        if test -n "$STRIP" ; then | 
 | 10703 |          striplib="$STRIP -x" | 
 | 10704 |          echo "$as_me:$LINENO: result: yes" >&5 | 
 | 10705 | echo "${ECHO_T}yes" >&6 | 
 | 10706 |        else | 
 | 10707 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 10708 | echo "${ECHO_T}no" >&6 | 
 | 10709 | fi | 
 | 10710 |        ;; | 
 | 10711 |    *) | 
 | 10712 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 10713 | echo "${ECHO_T}no" >&6 | 
 | 10714 |     ;; | 
 | 10715 |   esac | 
 | 10716 | fi | 
 | 10717 |  | 
 | 10718 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
 | 10719 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
 | 10720 | library_names_spec= | 
 | 10721 | libname_spec='lib$name' | 
 | 10722 | soname_spec= | 
 | 10723 | shrext=".so" | 
 | 10724 | postinstall_cmds= | 
 | 10725 | postuninstall_cmds= | 
 | 10726 | finish_cmds= | 
 | 10727 | finish_eval= | 
 | 10728 | shlibpath_var= | 
 | 10729 | shlibpath_overrides_runpath=unknown | 
 | 10730 | version_type=none | 
 | 10731 | dynamic_linker="$host_os ld.so" | 
 | 10732 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
 | 10733 | if test "$GCC" = yes; then | 
 | 10734 |   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 10735 |   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
 | 10736 |     # if the path contains ";" then we assume it to be the separator | 
 | 10737 |     # otherwise default to the standard path separator (i.e. ":") - it is | 
 | 10738 |     # assumed that no part of a normal pathname contains ";" but that should | 
 | 10739 |     # okay in the real world where ";" in dirpaths is itself problematic. | 
 | 10740 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 10741 |   else | 
 | 10742 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 10743 |   fi | 
 | 10744 | else | 
 | 10745 |   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
 | 10746 | fi | 
 | 10747 | need_lib_prefix=unknown | 
 | 10748 | hardcode_into_libs=no | 
 | 10749 |  | 
 | 10750 | # when you set need_version to no, make sure it does not cause -set_version | 
 | 10751 | # flags to be left without arguments | 
 | 10752 | need_version=unknown | 
 | 10753 |  | 
 | 10754 | case $host_os in | 
 | 10755 | aix3*) | 
 | 10756 |   version_type=linux | 
 | 10757 |   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
 | 10758 |   shlibpath_var=LIBPATH | 
 | 10759 |  | 
 | 10760 |   # AIX 3 has no versioning support, so we append a major version to the name. | 
 | 10761 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 10762 |   ;; | 
 | 10763 |  | 
 | 10764 | aix4* | aix5*) | 
 | 10765 |   version_type=linux | 
 | 10766 |   need_lib_prefix=no | 
 | 10767 |   need_version=no | 
 | 10768 |   hardcode_into_libs=yes | 
 | 10769 |   if test "$host_cpu" = ia64; then | 
 | 10770 |     # AIX 5 supports IA64 | 
 | 10771 |     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
 | 10772 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 10773 |   else | 
 | 10774 |     # With GCC up to 2.95.x, collect2 would create an import file | 
 | 10775 |     # for dependence libraries.  The import file would start with | 
 | 10776 |     # the line `#! .'.  This would cause the generated library to | 
 | 10777 |     # depend on `.', always an invalid library.  This was fixed in | 
 | 10778 |     # development snapshots of GCC prior to 3.0. | 
 | 10779 |     case $host_os in | 
 | 10780 |       aix4 | aix4.[01] | aix4.[01].*) | 
 | 10781 |       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
 | 10782 | 	   echo ' yes ' | 
 | 10783 | 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
 | 10784 | 	: | 
 | 10785 |       else | 
 | 10786 | 	can_build_shared=no | 
 | 10787 |       fi | 
 | 10788 |       ;; | 
 | 10789 |     esac | 
 | 10790 |     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
 | 10791 |     # soname into executable. Probably we can add versioning support to | 
 | 10792 |     # collect2, so additional links can be useful in future. | 
 | 10793 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 10794 |       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
 | 10795 |       # instead of lib<name>.a to let people know that these are not | 
 | 10796 |       # typical AIX shared libraries. | 
 | 10797 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 10798 |     else | 
 | 10799 |       # We preserve .a as extension for shared libraries through AIX4.2 | 
 | 10800 |       # and later when we are not doing run time linking. | 
 | 10801 |       library_names_spec='${libname}${release}.a $libname.a' | 
 | 10802 |       soname_spec='${libname}${release}${shared_ext}$major' | 
 | 10803 |     fi | 
 | 10804 |     shlibpath_var=LIBPATH | 
 | 10805 |   fi | 
 | 10806 |   ;; | 
 | 10807 |  | 
 | 10808 | amigaos*) | 
 | 10809 |   library_names_spec='$libname.ixlibrary $libname.a' | 
 | 10810 |   # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
 | 10811 |   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | 
 | 10812 |   ;; | 
 | 10813 |  | 
 | 10814 | beos*) | 
 | 10815 |   library_names_spec='${libname}${shared_ext}' | 
 | 10816 |   dynamic_linker="$host_os ld.so" | 
 | 10817 |   shlibpath_var=LIBRARY_PATH | 
 | 10818 |   ;; | 
 | 10819 |  | 
 | 10820 | bsdi4*) | 
 | 10821 |   version_type=linux | 
 | 10822 |   need_version=no | 
 | 10823 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 10824 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 10825 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
 | 10826 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 10827 |   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
 | 10828 |   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
 | 10829 |   # the default ld.so.conf also contains /usr/contrib/lib and | 
 | 10830 |   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
 | 10831 |   # libtool to hard-code these into programs | 
 | 10832 |   ;; | 
 | 10833 |  | 
 | 10834 | cygwin* | mingw* | pw32*) | 
 | 10835 |   version_type=windows | 
 | 10836 |   shrext=".dll" | 
 | 10837 |   need_version=no | 
 | 10838 |   need_lib_prefix=no | 
 | 10839 |  | 
 | 10840 |   case $GCC,$host_os in | 
 | 10841 |   yes,cygwin* | yes,mingw* | yes,pw32*) | 
 | 10842 |     library_names_spec='$libname.dll.a' | 
 | 10843 |     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
 | 10844 |     postinstall_cmds='base_file=`basename \${file}`~ | 
 | 10845 |       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
 | 10846 |       dldir=$destdir/`dirname \$dlpath`~ | 
 | 10847 |       test -d \$dldir || mkdir -p \$dldir~ | 
 | 10848 |       $install_prog $dir/$dlname \$dldir/$dlname' | 
 | 10849 |     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
 | 10850 |       dlpath=$dir/\$dldll~ | 
 | 10851 |        $rm \$dlpath' | 
 | 10852 |     shlibpath_overrides_runpath=yes | 
 | 10853 |  | 
 | 10854 |     case $host_os in | 
 | 10855 |     cygwin*) | 
 | 10856 |       # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
 | 10857 |       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 10858 |       sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
 | 10859 |       ;; | 
 | 10860 |     mingw*) | 
 | 10861 |       # MinGW DLLs use traditional 'lib' prefix | 
 | 10862 |       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 10863 |       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 10864 |       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
 | 10865 |         # It is most probably a Windows format PATH printed by | 
 | 10866 |         # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
 | 10867 |         # path with ; separators, and with drive letters. We can handle the | 
 | 10868 |         # drive letters (cygwin fileutils understands them), so leave them, | 
 | 10869 |         # especially as we might pass files found there to a mingw objdump, | 
 | 10870 |         # which wouldn't understand a cygwinified path. Ahh. | 
 | 10871 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 10872 |       else | 
 | 10873 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 10874 |       fi | 
 | 10875 |       ;; | 
 | 10876 |     pw32*) | 
 | 10877 |       # pw32 DLLs use 'pw' prefix rather than 'lib' | 
 | 10878 |       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
 | 10879 |       ;; | 
 | 10880 |     esac | 
 | 10881 |     ;; | 
 | 10882 |  | 
 | 10883 |   *) | 
 | 10884 |     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
 | 10885 |     ;; | 
 | 10886 |   esac | 
 | 10887 |   dynamic_linker='Win32 ld.exe' | 
 | 10888 |   # FIXME: first we should search . and the directory the executable is in | 
 | 10889 |   shlibpath_var=PATH | 
 | 10890 |   ;; | 
 | 10891 |  | 
 | 10892 | darwin* | rhapsody*) | 
 | 10893 |   dynamic_linker="$host_os dyld" | 
 | 10894 |   version_type=darwin | 
 | 10895 |   need_lib_prefix=no | 
 | 10896 |   need_version=no | 
 | 10897 |   # FIXME: Relying on posixy $() will cause problems for | 
 | 10898 |   #        cross-compilation, but unfortunately the echo tests do not | 
 | 10899 |   #        yet detect zsh echo's removal of \ escapes. | 
 | 10900 |   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
 | 10901 |   soname_spec='${libname}${release}${major}$shared_ext' | 
 | 10902 |   shlibpath_overrides_runpath=yes | 
 | 10903 |   shlibpath_var=DYLD_LIBRARY_PATH | 
 | 10904 |   shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
 | 10905 |   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
 | 10906 |   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 10907 |   sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 
 | 10908 |   fi | 
 | 10909 |   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
 | 10910 |   ;; | 
 | 10911 |  | 
 | 10912 | dgux*) | 
 | 10913 |   version_type=linux | 
 | 10914 |   need_lib_prefix=no | 
 | 10915 |   need_version=no | 
 | 10916 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
 | 10917 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 10918 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 10919 |   ;; | 
 | 10920 |  | 
 | 10921 | freebsd1*) | 
 | 10922 |   dynamic_linker=no | 
 | 10923 |   ;; | 
 | 10924 |  | 
 | 10925 | freebsd*) | 
 | 10926 |   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
 | 10927 |   version_type=freebsd-$objformat | 
 | 10928 |   case $version_type in | 
 | 10929 |     freebsd-elf*) | 
 | 10930 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 10931 |       need_version=no | 
 | 10932 |       need_lib_prefix=no | 
 | 10933 |       ;; | 
 | 10934 |     freebsd-*) | 
 | 10935 |       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
 | 10936 |       need_version=yes | 
 | 10937 |       ;; | 
 | 10938 |   esac | 
 | 10939 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 10940 |   case $host_os in | 
 | 10941 |   freebsd2*) | 
 | 10942 |     shlibpath_overrides_runpath=yes | 
 | 10943 |     ;; | 
 | 10944 |   freebsd3.01* | freebsdelf3.01*) | 
 | 10945 |     shlibpath_overrides_runpath=yes | 
 | 10946 |     hardcode_into_libs=yes | 
 | 10947 |     ;; | 
 | 10948 |   *) # from 3.2 on | 
 | 10949 |     shlibpath_overrides_runpath=no | 
 | 10950 |     hardcode_into_libs=yes | 
 | 10951 |     ;; | 
 | 10952 |   esac | 
 | 10953 |   ;; | 
 | 10954 |  | 
 | 10955 | gnu*) | 
 | 10956 |   version_type=linux | 
 | 10957 |   need_lib_prefix=no | 
 | 10958 |   need_version=no | 
 | 10959 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
 | 10960 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 10961 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 10962 |   hardcode_into_libs=yes | 
 | 10963 |   ;; | 
 | 10964 |  | 
 | 10965 | hpux9* | hpux10* | hpux11*) | 
 | 10966 |   # Give a soname corresponding to the major version so that dld.sl refuses to | 
 | 10967 |   # link against other versions. | 
 | 10968 |   version_type=sunos | 
 | 10969 |   need_lib_prefix=no | 
 | 10970 |   need_version=no | 
 | 10971 |   case "$host_cpu" in | 
 | 10972 |   ia64*) | 
 | 10973 |     shrext='.so' | 
 | 10974 |     hardcode_into_libs=yes | 
 | 10975 |     dynamic_linker="$host_os dld.so" | 
 | 10976 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 10977 |     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 10978 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 10979 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 10980 |     if test "X$HPUX_IA64_MODE" = X32; then | 
 | 10981 |       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
 | 10982 |     else | 
 | 10983 |       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
 | 10984 |     fi | 
 | 10985 |     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 10986 |     ;; | 
 | 10987 |    hppa*64*) | 
 | 10988 |      shrext='.sl' | 
 | 10989 |      hardcode_into_libs=yes | 
 | 10990 |      dynamic_linker="$host_os dld.sl" | 
 | 10991 |      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
 | 10992 |      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 10993 |      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 10994 |      soname_spec='${libname}${release}${shared_ext}$major' | 
 | 10995 |      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
 | 10996 |      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 10997 |      ;; | 
 | 10998 |    *) | 
 | 10999 |     shrext='.sl' | 
 | 11000 |     dynamic_linker="$host_os dld.sl" | 
 | 11001 |     shlibpath_var=SHLIB_PATH | 
 | 11002 |     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
 | 11003 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11004 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11005 |     ;; | 
 | 11006 |   esac | 
 | 11007 |   # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
 | 11008 |   postinstall_cmds='chmod 555 $lib' | 
 | 11009 |   ;; | 
 | 11010 |  | 
 | 11011 | irix5* | irix6* | nonstopux*) | 
 | 11012 |   case $host_os in | 
 | 11013 |     nonstopux*) version_type=nonstopux ;; | 
 | 11014 |     *) | 
 | 11015 | 	if test "$lt_cv_prog_gnu_ld" = yes; then | 
 | 11016 | 		version_type=linux | 
 | 11017 | 	else | 
 | 11018 | 		version_type=irix | 
 | 11019 | 	fi ;; | 
 | 11020 |   esac | 
 | 11021 |   need_lib_prefix=no | 
 | 11022 |   need_version=no | 
 | 11023 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11024 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 11025 |   case $host_os in | 
 | 11026 |   irix5* | nonstopux*) | 
 | 11027 |     libsuff= shlibsuff= | 
 | 11028 |     ;; | 
 | 11029 |   *) | 
 | 11030 |     case $LD in # libtool.m4 will add one of these switches to LD | 
 | 11031 |     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
 | 11032 |       libsuff= shlibsuff= libmagic=32-bit;; | 
 | 11033 |     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
 | 11034 |       libsuff=32 shlibsuff=N32 libmagic=N32;; | 
 | 11035 |     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
 | 11036 |       libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
 | 11037 |     *) libsuff= shlibsuff= libmagic=never-match;; | 
 | 11038 |     esac | 
 | 11039 |     ;; | 
 | 11040 |   esac | 
 | 11041 |   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
 | 11042 |   shlibpath_overrides_runpath=no | 
 | 11043 |   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
 | 11044 |   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
 | 11045 |   hardcode_into_libs=yes | 
 | 11046 |   ;; | 
 | 11047 |  | 
 | 11048 | # No shared lib support for Linux oldld, aout, or coff. | 
 | 11049 | linux*oldld* | linux*aout* | linux*coff*) | 
 | 11050 |   dynamic_linker=no | 
 | 11051 |   ;; | 
 | 11052 |  | 
 | 11053 | # This must be Linux ELF. | 
 | 11054 | linux*) | 
 | 11055 |   version_type=linux | 
 | 11056 |   need_lib_prefix=no | 
 | 11057 |   need_version=no | 
 | 11058 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11059 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11060 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
 | 11061 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11062 |   shlibpath_overrides_runpath=no | 
 | 11063 |   # This implies no fast_install, which is unacceptable. | 
 | 11064 |   # Some rework will be needed to allow for fast_install | 
 | 11065 |   # before this can be enabled. | 
 | 11066 |   hardcode_into_libs=yes | 
 | 11067 |  | 
 | 11068 |   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
 | 11069 |   # powerpc, because MkLinux only supported shared libraries with the | 
 | 11070 |   # GNU dynamic linker.  Since this was broken with cross compilers, | 
 | 11071 |   # most powerpc-linux boxes support dynamic linking these days and | 
 | 11072 |   # people can always --disable-shared, the test was removed, and we | 
 | 11073 |   # assume the GNU/Linux dynamic linker is in use. | 
 | 11074 |   dynamic_linker='GNU/Linux ld.so' | 
 | 11075 |   ;; | 
 | 11076 |  | 
 | 11077 | netbsd*) | 
 | 11078 |   version_type=sunos | 
 | 11079 |   need_lib_prefix=no | 
 | 11080 |   need_version=no | 
 | 11081 |   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 11082 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 11083 |     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 11084 |     dynamic_linker='NetBSD (a.out) ld.so' | 
 | 11085 |   else | 
 | 11086 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
 | 11087 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11088 |     dynamic_linker='NetBSD ld.elf_so' | 
 | 11089 |   fi | 
 | 11090 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11091 |   shlibpath_overrides_runpath=yes | 
 | 11092 |   hardcode_into_libs=yes | 
 | 11093 |   ;; | 
 | 11094 |  | 
 | 11095 | newsos6) | 
 | 11096 |   version_type=linux | 
 | 11097 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11098 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11099 |   shlibpath_overrides_runpath=yes | 
 | 11100 |   ;; | 
 | 11101 |  | 
 | 11102 | nto-qnx) | 
 | 11103 |   version_type=linux | 
 | 11104 |   need_lib_prefix=no | 
 | 11105 |   need_version=no | 
 | 11106 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11107 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11108 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11109 |   shlibpath_overrides_runpath=yes | 
 | 11110 |   ;; | 
 | 11111 |  | 
 | 11112 | openbsd*) | 
 | 11113 |   version_type=sunos | 
 | 11114 |   need_lib_prefix=no | 
 | 11115 |   need_version=no | 
 | 11116 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 11117 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 11118 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11119 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 11120 |     case $host_os in | 
 | 11121 |       openbsd2.[89] | openbsd2.[89].*) | 
 | 11122 | 	shlibpath_overrides_runpath=no | 
 | 11123 | 	;; | 
 | 11124 |       *) | 
 | 11125 | 	shlibpath_overrides_runpath=yes | 
 | 11126 | 	;; | 
 | 11127 |       esac | 
 | 11128 |   else | 
 | 11129 |     shlibpath_overrides_runpath=yes | 
 | 11130 |   fi | 
 | 11131 |   ;; | 
 | 11132 |  | 
 | 11133 | os2*) | 
 | 11134 |   libname_spec='$name' | 
 | 11135 |   shrext=".dll" | 
 | 11136 |   need_lib_prefix=no | 
 | 11137 |   library_names_spec='$libname${shared_ext} $libname.a' | 
 | 11138 |   dynamic_linker='OS/2 ld.exe' | 
 | 11139 |   shlibpath_var=LIBPATH | 
 | 11140 |   ;; | 
 | 11141 |  | 
 | 11142 | osf3* | osf4* | osf5*) | 
 | 11143 |   version_type=osf | 
 | 11144 |   need_lib_prefix=no | 
 | 11145 |   need_version=no | 
 | 11146 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11147 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11148 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11149 |   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
 | 11150 |   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
 | 11151 |   ;; | 
 | 11152 |  | 
 | 11153 | sco3.2v5*) | 
 | 11154 |   version_type=osf | 
 | 11155 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11156 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11157 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11158 |   ;; | 
 | 11159 |  | 
 | 11160 | solaris*) | 
 | 11161 |   version_type=linux | 
 | 11162 |   need_lib_prefix=no | 
 | 11163 |   need_version=no | 
 | 11164 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11165 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11166 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11167 |   shlibpath_overrides_runpath=yes | 
 | 11168 |   hardcode_into_libs=yes | 
 | 11169 |   # ldd complains unless libraries are executable | 
 | 11170 |   postinstall_cmds='chmod +x $lib' | 
 | 11171 |   ;; | 
 | 11172 |  | 
 | 11173 | sunos4*) | 
 | 11174 |   version_type=sunos | 
 | 11175 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 11176 |   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
 | 11177 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11178 |   shlibpath_overrides_runpath=yes | 
 | 11179 |   if test "$with_gnu_ld" = yes; then | 
 | 11180 |     need_lib_prefix=no | 
 | 11181 |   fi | 
 | 11182 |   need_version=yes | 
 | 11183 |   ;; | 
 | 11184 |  | 
 | 11185 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 11186 |   version_type=linux | 
 | 11187 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11188 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11189 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11190 |   case $host_vendor in | 
 | 11191 |     sni) | 
 | 11192 |       shlibpath_overrides_runpath=no | 
 | 11193 |       need_lib_prefix=no | 
 | 11194 |       export_dynamic_flag_spec='${wl}-Blargedynsym' | 
 | 11195 |       runpath_var=LD_RUN_PATH | 
 | 11196 |       ;; | 
 | 11197 |     siemens) | 
 | 11198 |       need_lib_prefix=no | 
 | 11199 |       ;; | 
 | 11200 |     motorola) | 
 | 11201 |       need_lib_prefix=no | 
 | 11202 |       need_version=no | 
 | 11203 |       shlibpath_overrides_runpath=no | 
 | 11204 |       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
 | 11205 |       ;; | 
 | 11206 |   esac | 
 | 11207 |   ;; | 
 | 11208 |  | 
 | 11209 | sysv4*MP*) | 
 | 11210 |   if test -d /usr/nec ;then | 
 | 11211 |     version_type=linux | 
 | 11212 |     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
 | 11213 |     soname_spec='$libname${shared_ext}.$major' | 
 | 11214 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 11215 |   fi | 
 | 11216 |   ;; | 
 | 11217 |  | 
 | 11218 | uts4*) | 
 | 11219 |   version_type=linux | 
 | 11220 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11221 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11222 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11223 |   ;; | 
 | 11224 |  | 
 | 11225 | *) | 
 | 11226 |   dynamic_linker=no | 
 | 11227 |   ;; | 
 | 11228 | esac | 
 | 11229 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
 | 11230 | echo "${ECHO_T}$dynamic_linker" >&6 | 
 | 11231 | test "$dynamic_linker" = no && can_build_shared=no | 
 | 11232 |  | 
 | 11233 | if test "x$enable_dlopen" != xyes; then | 
 | 11234 |   enable_dlopen=unknown | 
 | 11235 |   enable_dlopen_self=unknown | 
 | 11236 |   enable_dlopen_self_static=unknown | 
 | 11237 | else | 
 | 11238 |   lt_cv_dlopen=no | 
 | 11239 |   lt_cv_dlopen_libs= | 
 | 11240 |  | 
 | 11241 |   case $host_os in | 
 | 11242 |   beos*) | 
 | 11243 |     lt_cv_dlopen="load_add_on" | 
 | 11244 |     lt_cv_dlopen_libs= | 
 | 11245 |     lt_cv_dlopen_self=yes | 
 | 11246 |     ;; | 
 | 11247 |  | 
 | 11248 |   mingw* | pw32*) | 
 | 11249 |     lt_cv_dlopen="LoadLibrary" | 
 | 11250 |     lt_cv_dlopen_libs= | 
 | 11251 |    ;; | 
 | 11252 |  | 
 | 11253 |   cygwin*) | 
 | 11254 |     lt_cv_dlopen="dlopen" | 
 | 11255 |     lt_cv_dlopen_libs= | 
 | 11256 |    ;; | 
 | 11257 |  | 
 | 11258 |   darwin*) | 
 | 11259 |   # if libdl is installed we need to link against it | 
 | 11260 |     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 11261 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 11262 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 11263 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11264 | else | 
 | 11265 |   ac_check_lib_save_LIBS=$LIBS | 
 | 11266 | LIBS="-ldl  $LIBS" | 
 | 11267 | cat >conftest.$ac_ext <<_ACEOF | 
 | 11268 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11269 | /* confdefs.h.  */ | 
 | 11270 | _ACEOF | 
 | 11271 | cat confdefs.h >>conftest.$ac_ext | 
 | 11272 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11273 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11274 |  | 
 | 11275 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11276 | #ifdef __cplusplus | 
 | 11277 | extern "C" | 
 | 11278 | #endif | 
 | 11279 | /* We use char because int might match the return type of a gcc2 | 
 | 11280 |    builtin and then its argument prototype would still apply.  */ | 
 | 11281 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11282 | int | 
 | 11283 | main () | 
 | 11284 | { | 
 | 11285 | dlopen (); | 
 | 11286 |   ; | 
 | 11287 |   return 0; | 
 | 11288 | } | 
 | 11289 | _ACEOF | 
 | 11290 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11291 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11292 |   (eval $ac_link) 2>&5 | 
 | 11293 |   ac_status=$? | 
 | 11294 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11295 |   (exit $ac_status); } && | 
 | 11296 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11297 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11298 |   (eval $ac_try) 2>&5 | 
 | 11299 |   ac_status=$? | 
 | 11300 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11301 |   (exit $ac_status); }; }; then | 
 | 11302 |   ac_cv_lib_dl_dlopen=yes | 
 | 11303 | else | 
 | 11304 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11305 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 11306 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11307 | ac_cv_lib_dl_dlopen=no | 
 | 11308 | fi | 
 | 11309 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11310 | LIBS=$ac_check_lib_save_LIBS | 
 | 11311 | fi | 
 | 11312 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 11313 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 11314 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 11315 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 11316 | else | 
 | 11317 |  | 
 | 11318 |     lt_cv_dlopen="dyld" | 
 | 11319 |     lt_cv_dlopen_libs= | 
 | 11320 |     lt_cv_dlopen_self=yes | 
 | 11321 |  | 
 | 11322 | fi | 
 | 11323 |  | 
 | 11324 |    ;; | 
 | 11325 |  | 
 | 11326 |   *) | 
 | 11327 |     echo "$as_me:$LINENO: checking for shl_load" >&5 | 
 | 11328 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
 | 11329 | if test "${ac_cv_func_shl_load+set}" = set; then | 
 | 11330 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11331 | else | 
 | 11332 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11333 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11334 | /* confdefs.h.  */ | 
 | 11335 | _ACEOF | 
 | 11336 | cat confdefs.h >>conftest.$ac_ext | 
 | 11337 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11338 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11339 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11340 |     which can conflict with char shl_load (); below. | 
 | 11341 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 11342 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 11343 | #ifdef __STDC__ | 
 | 11344 | # include <limits.h> | 
 | 11345 | #else | 
 | 11346 | # include <assert.h> | 
 | 11347 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11348 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11349 | #ifdef __cplusplus | 
 | 11350 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11351 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11352 | #endif | 
 | 11353 | /* We use char because int might match the return type of a gcc2 | 
 | 11354 |    builtin and then its argument prototype would still apply.  */ | 
 | 11355 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11356 | /* The GNU C library defines this for functions which it implements | 
 | 11357 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 11358 |     something starting with __ and the normal name is an alias.  */ | 
 | 11359 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
 | 11360 | choke me | 
 | 11361 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11362 | char (*f) () = shl_load; | 
 | 11363 | #endif | 
 | 11364 | #ifdef __cplusplus | 
 | 11365 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11366 | #endif | 
 | 11367 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11368 | int | 
 | 11369 | main () | 
 | 11370 | { | 
 | 11371 | return f != shl_load; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11372 |   ; | 
 | 11373 |   return 0; | 
 | 11374 | } | 
 | 11375 | _ACEOF | 
 | 11376 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11377 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11378 |   (eval $ac_link) 2>&5 | 
 | 11379 |   ac_status=$? | 
 | 11380 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11381 |   (exit $ac_status); } && | 
 | 11382 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11383 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11384 |   (eval $ac_try) 2>&5 | 
 | 11385 |   ac_status=$? | 
 | 11386 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11387 |   (exit $ac_status); }; }; then | 
 | 11388 |   ac_cv_func_shl_load=yes | 
 | 11389 | else | 
 | 11390 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11391 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 11392 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11393 | ac_cv_func_shl_load=no | 
 | 11394 | fi | 
 | 11395 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11396 | fi | 
 | 11397 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 
 | 11398 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
 | 11399 | if test $ac_cv_func_shl_load = yes; then | 
 | 11400 |   lt_cv_dlopen="shl_load" | 
 | 11401 | else | 
 | 11402 |   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 
 | 11403 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
 | 11404 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
 | 11405 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11406 | else | 
 | 11407 |   ac_check_lib_save_LIBS=$LIBS | 
 | 11408 | LIBS="-ldld  $LIBS" | 
 | 11409 | cat >conftest.$ac_ext <<_ACEOF | 
 | 11410 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11411 | /* confdefs.h.  */ | 
 | 11412 | _ACEOF | 
 | 11413 | cat confdefs.h >>conftest.$ac_ext | 
 | 11414 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11415 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11416 |  | 
 | 11417 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11418 | #ifdef __cplusplus | 
 | 11419 | extern "C" | 
 | 11420 | #endif | 
 | 11421 | /* We use char because int might match the return type of a gcc2 | 
 | 11422 |    builtin and then its argument prototype would still apply.  */ | 
 | 11423 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11424 | int | 
 | 11425 | main () | 
 | 11426 | { | 
 | 11427 | shl_load (); | 
 | 11428 |   ; | 
 | 11429 |   return 0; | 
 | 11430 | } | 
 | 11431 | _ACEOF | 
 | 11432 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11433 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11434 |   (eval $ac_link) 2>&5 | 
 | 11435 |   ac_status=$? | 
 | 11436 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11437 |   (exit $ac_status); } && | 
 | 11438 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11439 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11440 |   (eval $ac_try) 2>&5 | 
 | 11441 |   ac_status=$? | 
 | 11442 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11443 |   (exit $ac_status); }; }; then | 
 | 11444 |   ac_cv_lib_dld_shl_load=yes | 
 | 11445 | else | 
 | 11446 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11447 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 11448 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11449 | ac_cv_lib_dld_shl_load=no | 
 | 11450 | fi | 
 | 11451 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11452 | LIBS=$ac_check_lib_save_LIBS | 
 | 11453 | fi | 
 | 11454 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 
 | 11455 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
 | 11456 | if test $ac_cv_lib_dld_shl_load = yes; then | 
 | 11457 |   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 
 | 11458 | else | 
 | 11459 |   echo "$as_me:$LINENO: checking for dlopen" >&5 | 
 | 11460 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
 | 11461 | if test "${ac_cv_func_dlopen+set}" = set; then | 
 | 11462 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11463 | else | 
 | 11464 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11465 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11466 | /* confdefs.h.  */ | 
 | 11467 | _ACEOF | 
 | 11468 | cat confdefs.h >>conftest.$ac_ext | 
 | 11469 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11470 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11471 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11472 |     which can conflict with char dlopen (); below. | 
 | 11473 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 11474 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 11475 | #ifdef __STDC__ | 
 | 11476 | # include <limits.h> | 
 | 11477 | #else | 
 | 11478 | # include <assert.h> | 
 | 11479 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11480 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11481 | #ifdef __cplusplus | 
 | 11482 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11483 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11484 | #endif | 
 | 11485 | /* We use char because int might match the return type of a gcc2 | 
 | 11486 |    builtin and then its argument prototype would still apply.  */ | 
 | 11487 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11488 | /* The GNU C library defines this for functions which it implements | 
 | 11489 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 11490 |     something starting with __ and the normal name is an alias.  */ | 
 | 11491 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
 | 11492 | choke me | 
 | 11493 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11494 | char (*f) () = dlopen; | 
 | 11495 | #endif | 
 | 11496 | #ifdef __cplusplus | 
 | 11497 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11498 | #endif | 
 | 11499 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11500 | int | 
 | 11501 | main () | 
 | 11502 | { | 
 | 11503 | return f != dlopen; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11504 |   ; | 
 | 11505 |   return 0; | 
 | 11506 | } | 
 | 11507 | _ACEOF | 
 | 11508 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11509 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11510 |   (eval $ac_link) 2>&5 | 
 | 11511 |   ac_status=$? | 
 | 11512 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11513 |   (exit $ac_status); } && | 
 | 11514 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11515 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11516 |   (eval $ac_try) 2>&5 | 
 | 11517 |   ac_status=$? | 
 | 11518 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11519 |   (exit $ac_status); }; }; then | 
 | 11520 |   ac_cv_func_dlopen=yes | 
 | 11521 | else | 
 | 11522 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11523 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 11524 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11525 | ac_cv_func_dlopen=no | 
 | 11526 | fi | 
 | 11527 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11528 | fi | 
 | 11529 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 
 | 11530 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
 | 11531 | if test $ac_cv_func_dlopen = yes; then | 
 | 11532 |   lt_cv_dlopen="dlopen" | 
 | 11533 | else | 
 | 11534 |   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 11535 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 11536 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 11537 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11538 | else | 
 | 11539 |   ac_check_lib_save_LIBS=$LIBS | 
 | 11540 | LIBS="-ldl  $LIBS" | 
 | 11541 | cat >conftest.$ac_ext <<_ACEOF | 
 | 11542 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11543 | /* confdefs.h.  */ | 
 | 11544 | _ACEOF | 
 | 11545 | cat confdefs.h >>conftest.$ac_ext | 
 | 11546 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11547 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11548 |  | 
 | 11549 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11550 | #ifdef __cplusplus | 
 | 11551 | extern "C" | 
 | 11552 | #endif | 
 | 11553 | /* We use char because int might match the return type of a gcc2 | 
 | 11554 |    builtin and then its argument prototype would still apply.  */ | 
 | 11555 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11556 | int | 
 | 11557 | main () | 
 | 11558 | { | 
 | 11559 | dlopen (); | 
 | 11560 |   ; | 
 | 11561 |   return 0; | 
 | 11562 | } | 
 | 11563 | _ACEOF | 
 | 11564 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11565 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11566 |   (eval $ac_link) 2>&5 | 
 | 11567 |   ac_status=$? | 
 | 11568 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11569 |   (exit $ac_status); } && | 
 | 11570 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11571 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11572 |   (eval $ac_try) 2>&5 | 
 | 11573 |   ac_status=$? | 
 | 11574 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11575 |   (exit $ac_status); }; }; then | 
 | 11576 |   ac_cv_lib_dl_dlopen=yes | 
 | 11577 | else | 
 | 11578 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11579 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 11580 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11581 | ac_cv_lib_dl_dlopen=no | 
 | 11582 | fi | 
 | 11583 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11584 | LIBS=$ac_check_lib_save_LIBS | 
 | 11585 | fi | 
 | 11586 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 11587 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 11588 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 11589 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 11590 | else | 
 | 11591 |   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 
 | 11592 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
 | 11593 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
 | 11594 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11595 | else | 
 | 11596 |   ac_check_lib_save_LIBS=$LIBS | 
 | 11597 | LIBS="-lsvld  $LIBS" | 
 | 11598 | cat >conftest.$ac_ext <<_ACEOF | 
 | 11599 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11600 | /* confdefs.h.  */ | 
 | 11601 | _ACEOF | 
 | 11602 | cat confdefs.h >>conftest.$ac_ext | 
 | 11603 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11604 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11605 |  | 
 | 11606 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11607 | #ifdef __cplusplus | 
 | 11608 | extern "C" | 
 | 11609 | #endif | 
 | 11610 | /* We use char because int might match the return type of a gcc2 | 
 | 11611 |    builtin and then its argument prototype would still apply.  */ | 
 | 11612 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11613 | int | 
 | 11614 | main () | 
 | 11615 | { | 
 | 11616 | dlopen (); | 
 | 11617 |   ; | 
 | 11618 |   return 0; | 
 | 11619 | } | 
 | 11620 | _ACEOF | 
 | 11621 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11622 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11623 |   (eval $ac_link) 2>&5 | 
 | 11624 |   ac_status=$? | 
 | 11625 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11626 |   (exit $ac_status); } && | 
 | 11627 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11628 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11629 |   (eval $ac_try) 2>&5 | 
 | 11630 |   ac_status=$? | 
 | 11631 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11632 |   (exit $ac_status); }; }; then | 
 | 11633 |   ac_cv_lib_svld_dlopen=yes | 
 | 11634 | else | 
 | 11635 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11636 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 11637 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11638 | ac_cv_lib_svld_dlopen=no | 
 | 11639 | fi | 
 | 11640 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11641 | LIBS=$ac_check_lib_save_LIBS | 
 | 11642 | fi | 
 | 11643 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 
 | 11644 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
 | 11645 | if test $ac_cv_lib_svld_dlopen = yes; then | 
 | 11646 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
 | 11647 | else | 
 | 11648 |   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 
 | 11649 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 
 | 11650 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 
 | 11651 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11652 | else | 
 | 11653 |   ac_check_lib_save_LIBS=$LIBS | 
 | 11654 | LIBS="-ldld  $LIBS" | 
 | 11655 | cat >conftest.$ac_ext <<_ACEOF | 
 | 11656 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11657 | /* confdefs.h.  */ | 
 | 11658 | _ACEOF | 
 | 11659 | cat confdefs.h >>conftest.$ac_ext | 
 | 11660 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11661 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11662 |  | 
 | 11663 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11664 | #ifdef __cplusplus | 
 | 11665 | extern "C" | 
 | 11666 | #endif | 
 | 11667 | /* We use char because int might match the return type of a gcc2 | 
 | 11668 |    builtin and then its argument prototype would still apply.  */ | 
 | 11669 | char dld_link (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11670 | int | 
 | 11671 | main () | 
 | 11672 | { | 
 | 11673 | dld_link (); | 
 | 11674 |   ; | 
 | 11675 |   return 0; | 
 | 11676 | } | 
 | 11677 | _ACEOF | 
 | 11678 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11679 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11680 |   (eval $ac_link) 2>&5 | 
 | 11681 |   ac_status=$? | 
 | 11682 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11683 |   (exit $ac_status); } && | 
 | 11684 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11685 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11686 |   (eval $ac_try) 2>&5 | 
 | 11687 |   ac_status=$? | 
 | 11688 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11689 |   (exit $ac_status); }; }; then | 
 | 11690 |   ac_cv_lib_dld_dld_link=yes | 
 | 11691 | else | 
 | 11692 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11693 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 11694 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11695 | ac_cv_lib_dld_dld_link=no | 
 | 11696 | fi | 
 | 11697 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11698 | LIBS=$ac_check_lib_save_LIBS | 
 | 11699 | fi | 
 | 11700 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 
 | 11701 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 
 | 11702 | if test $ac_cv_lib_dld_dld_link = yes; then | 
 | 11703 |   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
 | 11704 | fi | 
 | 11705 |  | 
 | 11706 |  | 
 | 11707 | fi | 
 | 11708 |  | 
 | 11709 |  | 
 | 11710 | fi | 
 | 11711 |  | 
 | 11712 |  | 
 | 11713 | fi | 
 | 11714 |  | 
 | 11715 |  | 
 | 11716 | fi | 
 | 11717 |  | 
 | 11718 |  | 
 | 11719 | fi | 
 | 11720 |  | 
 | 11721 |     ;; | 
 | 11722 |   esac | 
 | 11723 |  | 
 | 11724 |   if test "x$lt_cv_dlopen" != xno; then | 
 | 11725 |     enable_dlopen=yes | 
 | 11726 |   else | 
 | 11727 |     enable_dlopen=no | 
 | 11728 |   fi | 
 | 11729 |  | 
 | 11730 |   case $lt_cv_dlopen in | 
 | 11731 |   dlopen) | 
 | 11732 |     save_CPPFLAGS="$CPPFLAGS" | 
 | 11733 |     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
 | 11734 |  | 
 | 11735 |     save_LDFLAGS="$LDFLAGS" | 
 | 11736 |     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
 | 11737 |  | 
 | 11738 |     save_LIBS="$LIBS" | 
 | 11739 |     LIBS="$lt_cv_dlopen_libs $LIBS" | 
 | 11740 |  | 
 | 11741 |     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 
 | 11742 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
 | 11743 | if test "${lt_cv_dlopen_self+set}" = set; then | 
 | 11744 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11745 | else | 
 | 11746 |   	  if test "$cross_compiling" = yes; then : | 
 | 11747 |   lt_cv_dlopen_self=cross | 
 | 11748 | else | 
 | 11749 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 11750 |   lt_status=$lt_dlunknown | 
 | 11751 |   cat > conftest.$ac_ext <<EOF | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 11752 | #line 11752 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11753 | #include "confdefs.h" | 
 | 11754 |  | 
 | 11755 | #if HAVE_DLFCN_H | 
 | 11756 | #include <dlfcn.h> | 
 | 11757 | #endif | 
 | 11758 |  | 
 | 11759 | #include <stdio.h> | 
 | 11760 |  | 
 | 11761 | #ifdef RTLD_GLOBAL | 
 | 11762 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 11763 | #else | 
 | 11764 | #  ifdef DL_GLOBAL | 
 | 11765 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 11766 | #  else | 
 | 11767 | #    define LT_DLGLOBAL		0 | 
 | 11768 | #  endif | 
 | 11769 | #endif | 
 | 11770 |  | 
 | 11771 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 11772 |    find out it does not work in some platform. */ | 
 | 11773 | #ifndef LT_DLLAZY_OR_NOW | 
 | 11774 | #  ifdef RTLD_LAZY | 
 | 11775 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 11776 | #  else | 
 | 11777 | #    ifdef DL_LAZY | 
 | 11778 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 11779 | #    else | 
 | 11780 | #      ifdef RTLD_NOW | 
 | 11781 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 11782 | #      else | 
 | 11783 | #        ifdef DL_NOW | 
 | 11784 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 11785 | #        else | 
 | 11786 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 11787 | #        endif | 
 | 11788 | #      endif | 
 | 11789 | #    endif | 
 | 11790 | #  endif | 
 | 11791 | #endif | 
 | 11792 |  | 
 | 11793 | #ifdef __cplusplus | 
 | 11794 | extern "C" void exit (int); | 
 | 11795 | #endif | 
 | 11796 |  | 
 | 11797 | void fnord() { int i=42;} | 
 | 11798 | int main () | 
 | 11799 | { | 
 | 11800 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 11801 |   int status = $lt_dlunknown; | 
 | 11802 |  | 
 | 11803 |   if (self) | 
 | 11804 |     { | 
 | 11805 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 11806 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 11807 |       /* dlclose (self); */ | 
 | 11808 |     } | 
 | 11809 |  | 
 | 11810 |     exit (status); | 
 | 11811 | } | 
 | 11812 | EOF | 
 | 11813 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11814 |   (eval $ac_link) 2>&5 | 
 | 11815 |   ac_status=$? | 
 | 11816 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11817 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 11818 |     (./conftest; exit; ) 2>/dev/null | 
 | 11819 |     lt_status=$? | 
 | 11820 |     case x$lt_status in | 
 | 11821 |       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
 | 11822 |       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
 | 11823 |       x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
 | 11824 |     esac | 
 | 11825 |   else : | 
 | 11826 |     # compilation failed | 
 | 11827 |     lt_cv_dlopen_self=no | 
 | 11828 |   fi | 
 | 11829 | fi | 
 | 11830 | rm -fr conftest* | 
 | 11831 |  | 
 | 11832 |  | 
 | 11833 | fi | 
 | 11834 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 
 | 11835 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
 | 11836 |  | 
 | 11837 |     if test "x$lt_cv_dlopen_self" = xyes; then | 
 | 11838 |       LDFLAGS="$LDFLAGS $link_static_flag" | 
 | 11839 |       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 
 | 11840 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
 | 11841 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
 | 11842 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11843 | else | 
 | 11844 |   	  if test "$cross_compiling" = yes; then : | 
 | 11845 |   lt_cv_dlopen_self_static=cross | 
 | 11846 | else | 
 | 11847 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 11848 |   lt_status=$lt_dlunknown | 
 | 11849 |   cat > conftest.$ac_ext <<EOF | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 11850 | #line 11850 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11851 | #include "confdefs.h" | 
 | 11852 |  | 
 | 11853 | #if HAVE_DLFCN_H | 
 | 11854 | #include <dlfcn.h> | 
 | 11855 | #endif | 
 | 11856 |  | 
 | 11857 | #include <stdio.h> | 
 | 11858 |  | 
 | 11859 | #ifdef RTLD_GLOBAL | 
 | 11860 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 11861 | #else | 
 | 11862 | #  ifdef DL_GLOBAL | 
 | 11863 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 11864 | #  else | 
 | 11865 | #    define LT_DLGLOBAL		0 | 
 | 11866 | #  endif | 
 | 11867 | #endif | 
 | 11868 |  | 
 | 11869 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 11870 |    find out it does not work in some platform. */ | 
 | 11871 | #ifndef LT_DLLAZY_OR_NOW | 
 | 11872 | #  ifdef RTLD_LAZY | 
 | 11873 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 11874 | #  else | 
 | 11875 | #    ifdef DL_LAZY | 
 | 11876 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 11877 | #    else | 
 | 11878 | #      ifdef RTLD_NOW | 
 | 11879 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 11880 | #      else | 
 | 11881 | #        ifdef DL_NOW | 
 | 11882 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 11883 | #        else | 
 | 11884 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 11885 | #        endif | 
 | 11886 | #      endif | 
 | 11887 | #    endif | 
 | 11888 | #  endif | 
 | 11889 | #endif | 
 | 11890 |  | 
 | 11891 | #ifdef __cplusplus | 
 | 11892 | extern "C" void exit (int); | 
 | 11893 | #endif | 
 | 11894 |  | 
 | 11895 | void fnord() { int i=42;} | 
 | 11896 | int main () | 
 | 11897 | { | 
 | 11898 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 11899 |   int status = $lt_dlunknown; | 
 | 11900 |  | 
 | 11901 |   if (self) | 
 | 11902 |     { | 
 | 11903 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 11904 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 11905 |       /* dlclose (self); */ | 
 | 11906 |     } | 
 | 11907 |  | 
 | 11908 |     exit (status); | 
 | 11909 | } | 
 | 11910 | EOF | 
 | 11911 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11912 |   (eval $ac_link) 2>&5 | 
 | 11913 |   ac_status=$? | 
 | 11914 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11915 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 11916 |     (./conftest; exit; ) 2>/dev/null | 
 | 11917 |     lt_status=$? | 
 | 11918 |     case x$lt_status in | 
 | 11919 |       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 11920 |       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 11921 |       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
 | 11922 |     esac | 
 | 11923 |   else : | 
 | 11924 |     # compilation failed | 
 | 11925 |     lt_cv_dlopen_self_static=no | 
 | 11926 |   fi | 
 | 11927 | fi | 
 | 11928 | rm -fr conftest* | 
 | 11929 |  | 
 | 11930 |  | 
 | 11931 | fi | 
 | 11932 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 
 | 11933 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
 | 11934 |     fi | 
 | 11935 |  | 
 | 11936 |     CPPFLAGS="$save_CPPFLAGS" | 
 | 11937 |     LDFLAGS="$save_LDFLAGS" | 
 | 11938 |     LIBS="$save_LIBS" | 
 | 11939 |     ;; | 
 | 11940 |   esac | 
 | 11941 |  | 
 | 11942 |   case $lt_cv_dlopen_self in | 
 | 11943 |   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
 | 11944 |   *) enable_dlopen_self=unknown ;; | 
 | 11945 |   esac | 
 | 11946 |  | 
 | 11947 |   case $lt_cv_dlopen_self_static in | 
 | 11948 |   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
 | 11949 |   *) enable_dlopen_self_static=unknown ;; | 
 | 11950 |   esac | 
 | 11951 | fi | 
 | 11952 |  | 
 | 11953 |  | 
 | 11954 | # The else clause should only fire when bootstrapping the | 
 | 11955 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 11956 | # with your package, and you will get complaints that there are | 
 | 11957 | # no rules to generate ltmain.sh. | 
 | 11958 | if test -f "$ltmain"; then | 
 | 11959 |   # See if we are running on zsh, and set the options which allow our commands through | 
 | 11960 |   # without removal of \ escapes. | 
 | 11961 |   if test -n "${ZSH_VERSION+set}" ; then | 
 | 11962 |     setopt NO_GLOB_SUBST | 
 | 11963 |   fi | 
 | 11964 |   # Now quote all the things that may contain metacharacters while being | 
 | 11965 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 11966 |   # variables and quote the copies for generation of the libtool script. | 
 | 11967 |   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
 | 11968 |     libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
 | 11969 |     old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
 | 11970 |     deplibs_check_method reload_flag reload_cmds need_locks \ | 
 | 11971 |     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
 | 11972 |     lt_cv_sys_global_symbol_to_c_name_address \ | 
 | 11973 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
 | 11974 |     old_postinstall_cmds old_postuninstall_cmds \ | 
 | 11975 |     compiler_CXX \ | 
 | 11976 |     CC_CXX \ | 
 | 11977 |     LD_CXX \ | 
 | 11978 |     lt_prog_compiler_wl_CXX \ | 
 | 11979 |     lt_prog_compiler_pic_CXX \ | 
 | 11980 |     lt_prog_compiler_static_CXX \ | 
 | 11981 |     lt_prog_compiler_no_builtin_flag_CXX \ | 
 | 11982 |     export_dynamic_flag_spec_CXX \ | 
 | 11983 |     thread_safe_flag_spec_CXX \ | 
 | 11984 |     whole_archive_flag_spec_CXX \ | 
 | 11985 |     enable_shared_with_static_runtimes_CXX \ | 
 | 11986 |     old_archive_cmds_CXX \ | 
 | 11987 |     old_archive_from_new_cmds_CXX \ | 
 | 11988 |     predep_objects_CXX \ | 
 | 11989 |     postdep_objects_CXX \ | 
 | 11990 |     predeps_CXX \ | 
 | 11991 |     postdeps_CXX \ | 
 | 11992 |     compiler_lib_search_path_CXX \ | 
 | 11993 |     archive_cmds_CXX \ | 
 | 11994 |     archive_expsym_cmds_CXX \ | 
 | 11995 |     postinstall_cmds_CXX \ | 
 | 11996 |     postuninstall_cmds_CXX \ | 
 | 11997 |     old_archive_from_expsyms_cmds_CXX \ | 
 | 11998 |     allow_undefined_flag_CXX \ | 
 | 11999 |     no_undefined_flag_CXX \ | 
 | 12000 |     export_symbols_cmds_CXX \ | 
 | 12001 |     hardcode_libdir_flag_spec_CXX \ | 
 | 12002 |     hardcode_libdir_flag_spec_ld_CXX \ | 
 | 12003 |     hardcode_libdir_separator_CXX \ | 
 | 12004 |     hardcode_automatic_CXX \ | 
 | 12005 |     module_cmds_CXX \ | 
 | 12006 |     module_expsym_cmds_CXX \ | 
 | 12007 |     lt_cv_prog_compiler_c_o_CXX \ | 
 | 12008 |     exclude_expsyms_CXX \ | 
 | 12009 |     include_expsyms_CXX; do | 
 | 12010 |  | 
 | 12011 |     case $var in | 
 | 12012 |     old_archive_cmds_CXX | \ | 
 | 12013 |     old_archive_from_new_cmds_CXX | \ | 
 | 12014 |     archive_cmds_CXX | \ | 
 | 12015 |     archive_expsym_cmds_CXX | \ | 
 | 12016 |     module_cmds_CXX | \ | 
 | 12017 |     module_expsym_cmds_CXX | \ | 
 | 12018 |     old_archive_from_expsyms_cmds_CXX | \ | 
 | 12019 |     export_symbols_cmds_CXX | \ | 
 | 12020 |     extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
 | 12021 |     postinstall_cmds | postuninstall_cmds | \ | 
 | 12022 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 12023 |     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
 | 12024 |       # Double-quote double-evaled strings. | 
 | 12025 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 12026 |       ;; | 
 | 12027 |     *) | 
 | 12028 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 12029 |       ;; | 
 | 12030 |     esac | 
 | 12031 |   done | 
 | 12032 |  | 
 | 12033 |   case $lt_echo in | 
 | 12034 |   *'\$0 --fallback-echo"') | 
 | 12035 |     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
 | 12036 |     ;; | 
 | 12037 |   esac | 
 | 12038 |  | 
 | 12039 | cfgfile="$ofile" | 
 | 12040 |  | 
 | 12041 |   cat <<__EOF__ >> "$cfgfile" | 
 | 12042 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
 | 12043 |  | 
 | 12044 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 12045 |  | 
 | 12046 | # Shell to use when invoking shell scripts. | 
 | 12047 | SHELL=$lt_SHELL | 
 | 12048 |  | 
 | 12049 | # Whether or not to build shared libraries. | 
 | 12050 | build_libtool_libs=$enable_shared | 
 | 12051 |  | 
 | 12052 | # Whether or not to build static libraries. | 
 | 12053 | build_old_libs=$enable_static | 
 | 12054 |  | 
 | 12055 | # Whether or not to add -lc for building shared libraries. | 
 | 12056 | build_libtool_need_lc=$archive_cmds_need_lc_CXX | 
 | 12057 |  | 
 | 12058 | # Whether or not to disallow shared libs when runtime libs are static | 
 | 12059 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX | 
 | 12060 |  | 
 | 12061 | # Whether or not to optimize for fast installation. | 
 | 12062 | fast_install=$enable_fast_install | 
 | 12063 |  | 
 | 12064 | # The host system. | 
 | 12065 | host_alias=$host_alias | 
 | 12066 | host=$host | 
 | 12067 |  | 
 | 12068 | # An echo program that does not interpret backslashes. | 
 | 12069 | echo=$lt_echo | 
 | 12070 |  | 
 | 12071 | # The archiver. | 
 | 12072 | AR=$lt_AR | 
 | 12073 | AR_FLAGS=$lt_AR_FLAGS | 
 | 12074 |  | 
 | 12075 | # A C compiler. | 
 | 12076 | LTCC=$lt_LTCC | 
 | 12077 |  | 
 | 12078 | # A language-specific compiler. | 
 | 12079 | CC=$lt_compiler_CXX | 
 | 12080 |  | 
 | 12081 | # Is the compiler the GNU C compiler? | 
 | 12082 | with_gcc=$GCC_CXX | 
 | 12083 |  | 
 | 12084 | # An ERE matcher. | 
 | 12085 | EGREP=$lt_EGREP | 
 | 12086 |  | 
 | 12087 | # The linker used to build libraries. | 
 | 12088 | LD=$lt_LD_CXX | 
 | 12089 |  | 
 | 12090 | # Whether we need hard or soft links. | 
 | 12091 | LN_S=$lt_LN_S | 
 | 12092 |  | 
 | 12093 | # A BSD-compatible nm program. | 
 | 12094 | NM=$lt_NM | 
 | 12095 |  | 
 | 12096 | # A symbol stripping program | 
 | 12097 | STRIP=$STRIP | 
 | 12098 |  | 
 | 12099 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 12100 | MAGIC_CMD=$MAGIC_CMD | 
 | 12101 |  | 
 | 12102 | # Used on cygwin: DLL creation program. | 
 | 12103 | DLLTOOL="$DLLTOOL" | 
 | 12104 |  | 
 | 12105 | # Used on cygwin: object dumper. | 
 | 12106 | OBJDUMP="$OBJDUMP" | 
 | 12107 |  | 
 | 12108 | # Used on cygwin: assembler. | 
 | 12109 | AS="$AS" | 
 | 12110 |  | 
 | 12111 | # The name of the directory that contains temporary libtool files. | 
 | 12112 | objdir=$objdir | 
 | 12113 |  | 
 | 12114 | # How to create reloadable object files. | 
 | 12115 | reload_flag=$lt_reload_flag | 
 | 12116 | reload_cmds=$lt_reload_cmds | 
 | 12117 |  | 
 | 12118 | # How to pass a linker flag through the compiler. | 
 | 12119 | wl=$lt_lt_prog_compiler_wl_CXX | 
 | 12120 |  | 
 | 12121 | # Object file suffix (normally "o"). | 
 | 12122 | objext="$ac_objext" | 
 | 12123 |  | 
 | 12124 | # Old archive suffix (normally "a"). | 
 | 12125 | libext="$libext" | 
 | 12126 |  | 
 | 12127 | # Shared library suffix (normally ".so"). | 
 | 12128 | shrext='$shrext' | 
 | 12129 |  | 
 | 12130 | # Executable file suffix (normally ""). | 
 | 12131 | exeext="$exeext" | 
 | 12132 |  | 
 | 12133 | # Additional compiler flags for building library objects. | 
 | 12134 | pic_flag=$lt_lt_prog_compiler_pic_CXX | 
 | 12135 | pic_mode=$pic_mode | 
 | 12136 |  | 
 | 12137 | # What is the maximum length of a command? | 
 | 12138 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
 | 12139 |  | 
 | 12140 | # Does compiler simultaneously support -c and -o options? | 
 | 12141 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX | 
 | 12142 |  | 
 | 12143 | # Must we lock files when doing compilation ? | 
 | 12144 | need_locks=$lt_need_locks | 
 | 12145 |  | 
 | 12146 | # Do we need the lib prefix for modules? | 
 | 12147 | need_lib_prefix=$need_lib_prefix | 
 | 12148 |  | 
 | 12149 | # Do we need a version for libraries? | 
 | 12150 | need_version=$need_version | 
 | 12151 |  | 
 | 12152 | # Whether dlopen is supported. | 
 | 12153 | dlopen_support=$enable_dlopen | 
 | 12154 |  | 
 | 12155 | # Whether dlopen of programs is supported. | 
 | 12156 | dlopen_self=$enable_dlopen_self | 
 | 12157 |  | 
 | 12158 | # Whether dlopen of statically linked programs is supported. | 
 | 12159 | dlopen_self_static=$enable_dlopen_self_static | 
 | 12160 |  | 
 | 12161 | # Compiler flag to prevent dynamic linking. | 
 | 12162 | link_static_flag=$lt_lt_prog_compiler_static_CXX | 
 | 12163 |  | 
 | 12164 | # Compiler flag to turn off builtin functions. | 
 | 12165 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX | 
 | 12166 |  | 
 | 12167 | # Compiler flag to allow reflexive dlopens. | 
 | 12168 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX | 
 | 12169 |  | 
 | 12170 | # Compiler flag to generate shared objects directly from archives. | 
 | 12171 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX | 
 | 12172 |  | 
 | 12173 | # Compiler flag to generate thread-safe objects. | 
 | 12174 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX | 
 | 12175 |  | 
 | 12176 | # Library versioning type. | 
 | 12177 | version_type=$version_type | 
 | 12178 |  | 
 | 12179 | # Format of library name prefix. | 
 | 12180 | libname_spec=$lt_libname_spec | 
 | 12181 |  | 
 | 12182 | # List of archive names.  First name is the real one, the rest are links. | 
 | 12183 | # The last name is the one that the linker finds with -lNAME. | 
 | 12184 | library_names_spec=$lt_library_names_spec | 
 | 12185 |  | 
 | 12186 | # The coded name of the library, if different from the real name. | 
 | 12187 | soname_spec=$lt_soname_spec | 
 | 12188 |  | 
 | 12189 | # Commands used to build and install an old-style archive. | 
 | 12190 | RANLIB=$lt_RANLIB | 
 | 12191 | old_archive_cmds=$lt_old_archive_cmds_CXX | 
 | 12192 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 12193 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 12194 |  | 
 | 12195 | # Create an old-style archive from a shared archive. | 
 | 12196 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX | 
 | 12197 |  | 
 | 12198 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 12199 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX | 
 | 12200 |  | 
 | 12201 | # Commands used to build and install a shared archive. | 
 | 12202 | archive_cmds=$lt_archive_cmds_CXX | 
 | 12203 | archive_expsym_cmds=$lt_archive_expsym_cmds_CXX | 
 | 12204 | postinstall_cmds=$lt_postinstall_cmds | 
 | 12205 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 12206 |  | 
 | 12207 | # Commands used to build a loadable module (assumed same as above if empty) | 
 | 12208 | module_cmds=$lt_module_cmds_CXX | 
 | 12209 | module_expsym_cmds=$lt_module_expsym_cmds_CXX | 
 | 12210 |  | 
 | 12211 | # Commands to strip libraries. | 
 | 12212 | old_striplib=$lt_old_striplib | 
 | 12213 | striplib=$lt_striplib | 
 | 12214 |  | 
 | 12215 | # Dependencies to place before the objects being linked to create a | 
 | 12216 | # shared library. | 
 | 12217 | predep_objects=$lt_predep_objects_CXX | 
 | 12218 |  | 
 | 12219 | # Dependencies to place after the objects being linked to create a | 
 | 12220 | # shared library. | 
 | 12221 | postdep_objects=$lt_postdep_objects_CXX | 
 | 12222 |  | 
 | 12223 | # Dependencies to place before the objects being linked to create a | 
 | 12224 | # shared library. | 
 | 12225 | predeps=$lt_predeps_CXX | 
 | 12226 |  | 
 | 12227 | # Dependencies to place after the objects being linked to create a | 
 | 12228 | # shared library. | 
 | 12229 | postdeps=$lt_postdeps_CXX | 
 | 12230 |  | 
 | 12231 | # The library search path used internally by the compiler when linking | 
 | 12232 | # a shared library. | 
 | 12233 | compiler_lib_search_path=$lt_compiler_lib_search_path_CXX | 
 | 12234 |  | 
 | 12235 | # Method to check whether dependent libraries are shared objects. | 
 | 12236 | deplibs_check_method=$lt_deplibs_check_method | 
 | 12237 |  | 
 | 12238 | # Command to use when deplibs_check_method == file_magic. | 
 | 12239 | file_magic_cmd=$lt_file_magic_cmd | 
 | 12240 |  | 
 | 12241 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 12242 | allow_undefined_flag=$lt_allow_undefined_flag_CXX | 
 | 12243 |  | 
 | 12244 | # Flag that forces no undefined symbols. | 
 | 12245 | no_undefined_flag=$lt_no_undefined_flag_CXX | 
 | 12246 |  | 
 | 12247 | # Commands used to finish a libtool library installation in a directory. | 
 | 12248 | finish_cmds=$lt_finish_cmds | 
 | 12249 |  | 
 | 12250 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 12251 | finish_eval=$lt_finish_eval | 
 | 12252 |  | 
 | 12253 | # Take the output of nm and produce a listing of raw symbols and C names. | 
 | 12254 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
 | 12255 |  | 
 | 12256 | # Transform the output of nm in a proper C declaration | 
 | 12257 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
 | 12258 |  | 
 | 12259 | # Transform the output of nm in a C name address pair | 
 | 12260 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
 | 12261 |  | 
 | 12262 | # This is the shared library runtime path variable. | 
 | 12263 | runpath_var=$runpath_var | 
 | 12264 |  | 
 | 12265 | # This is the shared library path variable. | 
 | 12266 | shlibpath_var=$shlibpath_var | 
 | 12267 |  | 
 | 12268 | # Is shlibpath searched before the hard-coded library search path? | 
 | 12269 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 12270 |  | 
 | 12271 | # How to hardcode a shared library path into an executable. | 
 | 12272 | hardcode_action=$hardcode_action_CXX | 
 | 12273 |  | 
 | 12274 | # Whether we should hardcode library paths into libraries. | 
 | 12275 | hardcode_into_libs=$hardcode_into_libs | 
 | 12276 |  | 
 | 12277 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 12278 | # This must work even if \$libdir does not exist. | 
 | 12279 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX | 
 | 12280 |  | 
 | 12281 | # If ld is used when linking, flag to hardcode \$libdir into | 
 | 12282 | # a binary during linking. This must work even if \$libdir does | 
 | 12283 | # not exist. | 
 | 12284 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX | 
 | 12285 |  | 
 | 12286 | # Whether we need a single -rpath flag with a separated argument. | 
 | 12287 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX | 
 | 12288 |  | 
 | 12289 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
 | 12290 | # resulting binary. | 
 | 12291 | hardcode_direct=$hardcode_direct_CXX | 
 | 12292 |  | 
 | 12293 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 12294 | # resulting binary. | 
 | 12295 | hardcode_minus_L=$hardcode_minus_L_CXX | 
 | 12296 |  | 
 | 12297 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 12298 | # the resulting binary. | 
 | 12299 | hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX | 
 | 12300 |  | 
 | 12301 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
 | 12302 | # and all subsequent libraries and executables linked against it. | 
 | 12303 | hardcode_automatic=$hardcode_automatic_CXX | 
 | 12304 |  | 
 | 12305 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 12306 | # restored at relink time. | 
 | 12307 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 12308 |  | 
 | 12309 | # Whether libtool must link a program against all its dependency libraries. | 
 | 12310 | link_all_deplibs=$link_all_deplibs_CXX | 
 | 12311 |  | 
 | 12312 | # Compile-time system search path for libraries | 
 | 12313 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 12314 |  | 
 | 12315 | # Run-time system search path for libraries | 
 | 12316 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 12317 |  | 
 | 12318 | # Fix the shell variable \$srcfile for the compiler. | 
 | 12319 | fix_srcfile_path="$fix_srcfile_path_CXX" | 
 | 12320 |  | 
 | 12321 | # Set to yes if exported symbols are required. | 
 | 12322 | always_export_symbols=$always_export_symbols_CXX | 
 | 12323 |  | 
 | 12324 | # The commands to list exported symbols. | 
 | 12325 | export_symbols_cmds=$lt_export_symbols_cmds_CXX | 
 | 12326 |  | 
 | 12327 | # The commands to extract the exported symbol list from a shared archive. | 
 | 12328 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 12329 |  | 
 | 12330 | # Symbols that should not be listed in the preloaded symbols. | 
 | 12331 | exclude_expsyms=$lt_exclude_expsyms_CXX | 
 | 12332 |  | 
 | 12333 | # Symbols that must always be exported. | 
 | 12334 | include_expsyms=$lt_include_expsyms_CXX | 
 | 12335 |  | 
 | 12336 | # ### END LIBTOOL TAG CONFIG: $tagname | 
 | 12337 |  | 
 | 12338 | __EOF__ | 
 | 12339 |  | 
 | 12340 |  | 
 | 12341 | else | 
 | 12342 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 12343 |   # `config.status --recheck' to rerun these tests and create the | 
 | 12344 |   # libtool script then. | 
 | 12345 |   test -f Makefile && make "$ltmain" | 
 | 12346 | fi | 
 | 12347 |  | 
 | 12348 |  | 
 | 12349 | ac_ext=c | 
 | 12350 | ac_cpp='$CPP $CPPFLAGS' | 
 | 12351 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 12352 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 12353 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 12354 |  | 
 | 12355 | CC=$lt_save_CC | 
 | 12356 | LDCXX=$LD | 
 | 12357 | LD=$lt_save_LD | 
 | 12358 | GCC=$lt_save_GCC | 
 | 12359 | with_gnu_ldcxx=$with_gnu_ld | 
 | 12360 | with_gnu_ld=$lt_save_with_gnu_ld | 
 | 12361 | lt_cv_path_LDCXX=$lt_cv_path_LD | 
 | 12362 | lt_cv_path_LD=$lt_save_path_LD | 
 | 12363 | lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld | 
 | 12364 | lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld | 
 | 12365 |  | 
 | 12366 | 	else | 
 | 12367 | 	  tagname="" | 
 | 12368 | 	fi | 
 | 12369 | 	;; | 
 | 12370 |  | 
 | 12371 |       F77) | 
 | 12372 | 	if test -n "$F77" && test "X$F77" != "Xno"; then | 
 | 12373 |  | 
 | 12374 | ac_ext=f | 
 | 12375 | ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' | 
 | 12376 | ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 12377 | ac_compiler_gnu=$ac_cv_f77_compiler_gnu | 
 | 12378 |  | 
 | 12379 |  | 
 | 12380 | archive_cmds_need_lc_F77=no | 
 | 12381 | allow_undefined_flag_F77= | 
 | 12382 | always_export_symbols_F77=no | 
 | 12383 | archive_expsym_cmds_F77= | 
 | 12384 | export_dynamic_flag_spec_F77= | 
 | 12385 | hardcode_direct_F77=no | 
 | 12386 | hardcode_libdir_flag_spec_F77= | 
 | 12387 | hardcode_libdir_flag_spec_ld_F77= | 
 | 12388 | hardcode_libdir_separator_F77= | 
 | 12389 | hardcode_minus_L_F77=no | 
 | 12390 | hardcode_automatic_F77=no | 
 | 12391 | module_cmds_F77= | 
 | 12392 | module_expsym_cmds_F77= | 
 | 12393 | link_all_deplibs_F77=unknown | 
 | 12394 | old_archive_cmds_F77=$old_archive_cmds | 
 | 12395 | no_undefined_flag_F77= | 
 | 12396 | whole_archive_flag_spec_F77= | 
 | 12397 | enable_shared_with_static_runtimes_F77=no | 
 | 12398 |  | 
 | 12399 | # Source file extension for f77 test sources. | 
 | 12400 | ac_ext=f | 
 | 12401 |  | 
 | 12402 | # Object file extension for compiled f77 test sources. | 
 | 12403 | objext=o | 
 | 12404 | objext_F77=$objext | 
 | 12405 |  | 
 | 12406 | # Code to be used in simple compile tests | 
 | 12407 | lt_simple_compile_test_code="      subroutine t\n      return\n      end\n" | 
 | 12408 |  | 
 | 12409 | # Code to be used in simple link tests | 
 | 12410 | lt_simple_link_test_code="      program t\n      end\n" | 
 | 12411 |  | 
 | 12412 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
 | 12413 |  | 
 | 12414 | # If no C compiler was specified, use CC. | 
 | 12415 | LTCC=${LTCC-"$CC"} | 
 | 12416 |  | 
 | 12417 | # Allow CC to be a program name with arguments. | 
 | 12418 | compiler=$CC | 
 | 12419 |  | 
 | 12420 |  | 
 | 12421 | # Allow CC to be a program name with arguments. | 
 | 12422 | lt_save_CC="$CC" | 
 | 12423 | CC=${F77-"f77"} | 
 | 12424 | compiler=$CC | 
 | 12425 | compiler_F77=$CC | 
 | 12426 | cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` | 
 | 12427 |  | 
 | 12428 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 | 
 | 12429 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | 
 | 12430 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 | 
 | 12431 | echo "${ECHO_T}$can_build_shared" >&6 | 
 | 12432 |  | 
 | 12433 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 | 
 | 12434 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 | 
 | 12435 | test "$can_build_shared" = "no" && enable_shared=no | 
 | 12436 |  | 
 | 12437 | # On AIX, shared libraries and static libraries use the same namespace, and | 
 | 12438 | # are all built from PIC. | 
 | 12439 | case "$host_os" in | 
 | 12440 | aix3*) | 
 | 12441 |   test "$enable_shared" = yes && enable_static=no | 
 | 12442 |   if test -n "$RANLIB"; then | 
 | 12443 |     archive_cmds="$archive_cmds~\$RANLIB \$lib" | 
 | 12444 |     postinstall_cmds='$RANLIB $lib' | 
 | 12445 |   fi | 
 | 12446 |   ;; | 
 | 12447 | aix4*) | 
 | 12448 |   test "$enable_shared" = yes && enable_static=no | 
 | 12449 |   ;; | 
 | 12450 | esac | 
 | 12451 | echo "$as_me:$LINENO: result: $enable_shared" >&5 | 
 | 12452 | echo "${ECHO_T}$enable_shared" >&6 | 
 | 12453 |  | 
 | 12454 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 | 
 | 12455 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 | 
 | 12456 | # Make sure either enable_shared or enable_static is yes. | 
 | 12457 | test "$enable_shared" = yes || enable_static=yes | 
 | 12458 | echo "$as_me:$LINENO: result: $enable_static" >&5 | 
 | 12459 | echo "${ECHO_T}$enable_static" >&6 | 
 | 12460 |  | 
 | 12461 | test "$ld_shlibs_F77" = no && can_build_shared=no | 
 | 12462 |  | 
 | 12463 | GCC_F77="$G77" | 
 | 12464 | LD_F77="$LD" | 
 | 12465 |  | 
 | 12466 | lt_prog_compiler_wl_F77= | 
 | 12467 | lt_prog_compiler_pic_F77= | 
 | 12468 | lt_prog_compiler_static_F77= | 
 | 12469 |  | 
 | 12470 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
 | 12471 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
 | 12472 |  | 
 | 12473 |   if test "$GCC" = yes; then | 
 | 12474 |     lt_prog_compiler_wl_F77='-Wl,' | 
 | 12475 |     lt_prog_compiler_static_F77='-static' | 
 | 12476 |  | 
 | 12477 |     case $host_os in | 
 | 12478 |       aix*) | 
 | 12479 |       # All AIX code is PIC. | 
 | 12480 |       if test "$host_cpu" = ia64; then | 
 | 12481 | 	# AIX 5 now supports IA64 processor | 
 | 12482 | 	lt_prog_compiler_static_F77='-Bstatic' | 
 | 12483 |       fi | 
 | 12484 |       ;; | 
 | 12485 |  | 
 | 12486 |     amigaos*) | 
 | 12487 |       # FIXME: we need at least 68020 code to build shared libraries, but | 
 | 12488 |       # adding the `-m68020' flag to GCC prevents building anything better, | 
 | 12489 |       # like `-m68040'. | 
 | 12490 |       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' | 
 | 12491 |       ;; | 
 | 12492 |  | 
 | 12493 |     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
 | 12494 |       # PIC is the default for these OSes. | 
 | 12495 |       ;; | 
 | 12496 |  | 
 | 12497 |     mingw* | pw32* | os2*) | 
 | 12498 |       # This hack is so that the source file can tell whether it is being | 
 | 12499 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 12500 |       lt_prog_compiler_pic_F77='-DDLL_EXPORT' | 
 | 12501 |       ;; | 
 | 12502 |  | 
 | 12503 |     darwin* | rhapsody*) | 
 | 12504 |       # PIC is the default on this platform | 
 | 12505 |       # Common symbols not allowed in MH_DYLIB files | 
 | 12506 |       lt_prog_compiler_pic_F77='-fno-common' | 
 | 12507 |       ;; | 
 | 12508 |  | 
 | 12509 |     msdosdjgpp*) | 
 | 12510 |       # Just because we use GCC doesn't mean we suddenly get shared libraries | 
 | 12511 |       # on systems that don't support them. | 
 | 12512 |       lt_prog_compiler_can_build_shared_F77=no | 
 | 12513 |       enable_shared=no | 
 | 12514 |       ;; | 
 | 12515 |  | 
 | 12516 |     sysv4*MP*) | 
 | 12517 |       if test -d /usr/nec; then | 
 | 12518 | 	lt_prog_compiler_pic_F77=-Kconform_pic | 
 | 12519 |       fi | 
 | 12520 |       ;; | 
 | 12521 |  | 
 | 12522 |     hpux*) | 
 | 12523 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 12524 |       # not for PA HP-UX. | 
 | 12525 |       case "$host_cpu" in | 
 | 12526 |       hppa*64*|ia64*) | 
 | 12527 | 	# +Z the default | 
 | 12528 | 	;; | 
 | 12529 |       *) | 
 | 12530 | 	lt_prog_compiler_pic_F77='-fPIC' | 
 | 12531 | 	;; | 
 | 12532 |       esac | 
 | 12533 |       ;; | 
 | 12534 |  | 
 | 12535 |     *) | 
 | 12536 |       lt_prog_compiler_pic_F77='-fPIC' | 
 | 12537 |       ;; | 
 | 12538 |     esac | 
 | 12539 |   else | 
 | 12540 |     # PORTME Check for flag to pass linker flags through the system compiler. | 
 | 12541 |     case $host_os in | 
 | 12542 |     aix*) | 
 | 12543 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 12544 |       if test "$host_cpu" = ia64; then | 
 | 12545 | 	# AIX 5 now supports IA64 processor | 
 | 12546 | 	lt_prog_compiler_static_F77='-Bstatic' | 
 | 12547 |       else | 
 | 12548 | 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' | 
 | 12549 |       fi | 
 | 12550 |       ;; | 
 | 12551 |  | 
 | 12552 |     mingw* | pw32* | os2*) | 
 | 12553 |       # This hack is so that the source file can tell whether it is being | 
 | 12554 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 12555 |       lt_prog_compiler_pic_F77='-DDLL_EXPORT' | 
 | 12556 |       ;; | 
 | 12557 |  | 
 | 12558 |     hpux9* | hpux10* | hpux11*) | 
 | 12559 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 12560 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 12561 |       # not for PA HP-UX. | 
 | 12562 |       case "$host_cpu" in | 
 | 12563 |       hppa*64*|ia64*) | 
 | 12564 | 	# +Z the default | 
 | 12565 | 	;; | 
 | 12566 |       *) | 
 | 12567 | 	lt_prog_compiler_pic_F77='+Z' | 
 | 12568 | 	;; | 
 | 12569 |       esac | 
 | 12570 |       # Is there a better lt_prog_compiler_static that works with the bundled CC? | 
 | 12571 |       lt_prog_compiler_static_F77='${wl}-a ${wl}archive' | 
 | 12572 |       ;; | 
 | 12573 |  | 
 | 12574 |     irix5* | irix6* | nonstopux*) | 
 | 12575 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 12576 |       # PIC (with -KPIC) is the default. | 
 | 12577 |       lt_prog_compiler_static_F77='-non_shared' | 
 | 12578 |       ;; | 
 | 12579 |  | 
 | 12580 |     newsos6) | 
 | 12581 |       lt_prog_compiler_pic_F77='-KPIC' | 
 | 12582 |       lt_prog_compiler_static_F77='-Bstatic' | 
 | 12583 |       ;; | 
 | 12584 |  | 
 | 12585 |     linux*) | 
 | 12586 |       case $CC in | 
 | 12587 |       icc|ecc) | 
 | 12588 | 	lt_prog_compiler_wl_F77='-Wl,' | 
 | 12589 | 	lt_prog_compiler_pic_F77='-KPIC' | 
 | 12590 | 	lt_prog_compiler_static_F77='-static' | 
 | 12591 |         ;; | 
 | 12592 |       ccc) | 
 | 12593 |         lt_prog_compiler_wl_F77='-Wl,' | 
 | 12594 |         # All Alpha code is PIC. | 
 | 12595 |         lt_prog_compiler_static_F77='-non_shared' | 
 | 12596 |         ;; | 
 | 12597 |       esac | 
 | 12598 |       ;; | 
 | 12599 |  | 
 | 12600 |     osf3* | osf4* | osf5*) | 
 | 12601 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 12602 |       # All OSF/1 code is PIC. | 
 | 12603 |       lt_prog_compiler_static_F77='-non_shared' | 
 | 12604 |       ;; | 
 | 12605 |  | 
 | 12606 |     sco3.2v5*) | 
 | 12607 |       lt_prog_compiler_pic_F77='-Kpic' | 
 | 12608 |       lt_prog_compiler_static_F77='-dn' | 
 | 12609 |       ;; | 
 | 12610 |  | 
 | 12611 |     solaris*) | 
 | 12612 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 12613 |       lt_prog_compiler_pic_F77='-KPIC' | 
 | 12614 |       lt_prog_compiler_static_F77='-Bstatic' | 
 | 12615 |       ;; | 
 | 12616 |  | 
 | 12617 |     sunos4*) | 
 | 12618 |       lt_prog_compiler_wl_F77='-Qoption ld ' | 
 | 12619 |       lt_prog_compiler_pic_F77='-PIC' | 
 | 12620 |       lt_prog_compiler_static_F77='-Bstatic' | 
 | 12621 |       ;; | 
 | 12622 |  | 
 | 12623 |     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 12624 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 12625 |       lt_prog_compiler_pic_F77='-KPIC' | 
 | 12626 |       lt_prog_compiler_static_F77='-Bstatic' | 
 | 12627 |       ;; | 
 | 12628 |  | 
 | 12629 |     sysv4*MP*) | 
 | 12630 |       if test -d /usr/nec ;then | 
 | 12631 | 	lt_prog_compiler_pic_F77='-Kconform_pic' | 
 | 12632 | 	lt_prog_compiler_static_F77='-Bstatic' | 
 | 12633 |       fi | 
 | 12634 |       ;; | 
 | 12635 |  | 
 | 12636 |     uts4*) | 
 | 12637 |       lt_prog_compiler_pic_F77='-pic' | 
 | 12638 |       lt_prog_compiler_static_F77='-Bstatic' | 
 | 12639 |       ;; | 
 | 12640 |  | 
 | 12641 |     *) | 
 | 12642 |       lt_prog_compiler_can_build_shared_F77=no | 
 | 12643 |       ;; | 
 | 12644 |     esac | 
 | 12645 |   fi | 
 | 12646 |  | 
 | 12647 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 | 
 | 12648 | echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 | 
 | 12649 |  | 
 | 12650 | # | 
 | 12651 | # Check to make sure the PIC flag actually works. | 
 | 12652 | # | 
 | 12653 | if test -n "$lt_prog_compiler_pic_F77"; then | 
 | 12654 |   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 | 
 | 12655 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 | 
 | 12656 | if test "${lt_prog_compiler_pic_works_F77+set}" = set; then | 
 | 12657 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 12658 | else | 
 | 12659 |   lt_prog_compiler_pic_works_F77=no | 
 | 12660 |   ac_outfile=conftest.$ac_objext | 
 | 12661 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 12662 |    lt_compiler_flag="$lt_prog_compiler_pic_F77" | 
 | 12663 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 12664 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 12665 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 12666 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 12667 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 12668 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 12669 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 12670 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 12671 |    -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 12672 |    (eval echo "\"\$as_me:12672: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12673 |    (eval "$lt_compile" 2>conftest.err) | 
 | 12674 |    ac_status=$? | 
 | 12675 |    cat conftest.err >&5 | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 12676 |    echo "$as_me:12676: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12677 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 12678 |      # The compiler can only warn and ignore the option if not recognized | 
 | 12679 |      # So say no if there are warnings | 
 | 12680 |      if test ! -s conftest.err; then | 
 | 12681 |        lt_prog_compiler_pic_works_F77=yes | 
 | 12682 |      fi | 
 | 12683 |    fi | 
 | 12684 |    $rm conftest* | 
 | 12685 |  | 
 | 12686 | fi | 
 | 12687 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 | 
 | 12688 | echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 | 
 | 12689 |  | 
 | 12690 | if test x"$lt_prog_compiler_pic_works_F77" = xyes; then | 
 | 12691 |     case $lt_prog_compiler_pic_F77 in | 
 | 12692 |      "" | " "*) ;; | 
 | 12693 |      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; | 
 | 12694 |      esac | 
 | 12695 | else | 
 | 12696 |     lt_prog_compiler_pic_F77= | 
 | 12697 |      lt_prog_compiler_can_build_shared_F77=no | 
 | 12698 | fi | 
 | 12699 |  | 
 | 12700 | fi | 
 | 12701 | case "$host_os" in | 
 | 12702 |   # For platforms which do not support PIC, -DPIC is meaningless: | 
 | 12703 |   *djgpp*) | 
 | 12704 |     lt_prog_compiler_pic_F77= | 
 | 12705 |     ;; | 
 | 12706 |   *) | 
 | 12707 |     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" | 
 | 12708 |     ;; | 
 | 12709 | esac | 
 | 12710 |  | 
 | 12711 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
 | 12712 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
 | 12713 | if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then | 
 | 12714 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 12715 | else | 
 | 12716 |   lt_cv_prog_compiler_c_o_F77=no | 
 | 12717 |    $rm -r conftest 2>/dev/null | 
 | 12718 |    mkdir conftest | 
 | 12719 |    cd conftest | 
 | 12720 |    mkdir out | 
 | 12721 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 12722 |  | 
 | 12723 |    # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
 | 12724 |    # that will create temporary files in the current directory regardless of | 
 | 12725 |    # the output directory.  Thus, making CWD read-only will cause this test | 
 | 12726 |    # to fail, enabling locking or at least warning the user not to do parallel | 
 | 12727 |    # builds. | 
 | 12728 |    chmod -w . | 
 | 12729 |  | 
 | 12730 |    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
 | 12731 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 12732 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 12733 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 12734 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 12735 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 12736 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 12737 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 12738 |    -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 12739 |    (eval echo "\"\$as_me:12739: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12740 |    (eval "$lt_compile" 2>out/conftest.err) | 
 | 12741 |    ac_status=$? | 
 | 12742 |    cat out/conftest.err >&5 | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 12743 |    echo "$as_me:12743: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12744 |    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
 | 12745 |    then | 
 | 12746 |      # The compiler can only warn and ignore the option if not recognized | 
 | 12747 |      # So say no if there are warnings | 
 | 12748 |      if test ! -s out/conftest.err; then | 
 | 12749 |        lt_cv_prog_compiler_c_o_F77=yes | 
 | 12750 |      fi | 
 | 12751 |    fi | 
 | 12752 |    chmod u+w . | 
 | 12753 |    $rm conftest* out/* | 
 | 12754 |    rmdir out | 
 | 12755 |    cd .. | 
 | 12756 |    rmdir conftest | 
 | 12757 |    $rm conftest* | 
 | 12758 |  | 
 | 12759 | fi | 
 | 12760 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 | 
 | 12761 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 | 
 | 12762 |  | 
 | 12763 |  | 
 | 12764 | hard_links="nottested" | 
 | 12765 | if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then | 
 | 12766 |   # do not overwrite the value of need_locks provided by the user | 
 | 12767 |   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
 | 12768 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
 | 12769 |   hard_links=yes | 
 | 12770 |   $rm conftest* | 
 | 12771 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 12772 |   touch conftest.a | 
 | 12773 |   ln conftest.a conftest.b 2>&5 || hard_links=no | 
 | 12774 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 12775 |   echo "$as_me:$LINENO: result: $hard_links" >&5 | 
 | 12776 | echo "${ECHO_T}$hard_links" >&6 | 
 | 12777 |   if test "$hard_links" = no; then | 
 | 12778 |     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
 | 12779 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
 | 12780 |     need_locks=warn | 
 | 12781 |   fi | 
 | 12782 | else | 
 | 12783 |   need_locks=no | 
 | 12784 | fi | 
 | 12785 |  | 
 | 12786 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
 | 12787 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 12788 |  | 
 | 12789 |   runpath_var= | 
 | 12790 |   allow_undefined_flag_F77= | 
 | 12791 |   enable_shared_with_static_runtimes_F77=no | 
 | 12792 |   archive_cmds_F77= | 
 | 12793 |   archive_expsym_cmds_F77= | 
 | 12794 |   old_archive_From_new_cmds_F77= | 
 | 12795 |   old_archive_from_expsyms_cmds_F77= | 
 | 12796 |   export_dynamic_flag_spec_F77= | 
 | 12797 |   whole_archive_flag_spec_F77= | 
 | 12798 |   thread_safe_flag_spec_F77= | 
 | 12799 |   hardcode_libdir_flag_spec_F77= | 
 | 12800 |   hardcode_libdir_flag_spec_ld_F77= | 
 | 12801 |   hardcode_libdir_separator_F77= | 
 | 12802 |   hardcode_direct_F77=no | 
 | 12803 |   hardcode_minus_L_F77=no | 
 | 12804 |   hardcode_shlibpath_var_F77=unsupported | 
 | 12805 |   link_all_deplibs_F77=unknown | 
 | 12806 |   hardcode_automatic_F77=no | 
 | 12807 |   module_cmds_F77= | 
 | 12808 |   module_expsym_cmds_F77= | 
 | 12809 |   always_export_symbols_F77=no | 
 | 12810 |   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 12811 |   # include_expsyms should be a list of space-separated symbols to be *always* | 
 | 12812 |   # included in the symbol list | 
 | 12813 |   include_expsyms_F77= | 
 | 12814 |   # exclude_expsyms can be an extended regexp of symbols to exclude | 
 | 12815 |   # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
 | 12816 |   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
 | 12817 |   # as well as any symbol that contains `d'. | 
 | 12818 |   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" | 
 | 12819 |   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
 | 12820 |   # platforms (ab)use it in PIC code, but their linkers get confused if | 
 | 12821 |   # the symbol is explicitly referenced.  Since portable code cannot | 
 | 12822 |   # rely on this symbol name, it's probably fine to never include it in | 
 | 12823 |   # preloaded symbol tables. | 
 | 12824 |   extract_expsyms_cmds= | 
 | 12825 |  | 
 | 12826 |   case $host_os in | 
 | 12827 |   cygwin* | mingw* | pw32*) | 
 | 12828 |     # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
 | 12829 |     # When not using gcc, we currently assume that we are using | 
 | 12830 |     # Microsoft Visual C++. | 
 | 12831 |     if test "$GCC" != yes; then | 
 | 12832 |       with_gnu_ld=no | 
 | 12833 |     fi | 
 | 12834 |     ;; | 
 | 12835 |   openbsd*) | 
 | 12836 |     with_gnu_ld=no | 
 | 12837 |     ;; | 
 | 12838 |   esac | 
 | 12839 |  | 
 | 12840 |   ld_shlibs_F77=yes | 
 | 12841 |   if test "$with_gnu_ld" = yes; then | 
 | 12842 |     # If archive_cmds runs LD, not CC, wlarc should be empty | 
 | 12843 |     wlarc='${wl}' | 
 | 12844 |  | 
 | 12845 |     # See if GNU ld supports shared libraries. | 
 | 12846 |     case $host_os in | 
 | 12847 |     aix3* | aix4* | aix5*) | 
 | 12848 |       # On AIX/PPC, the GNU linker is very broken | 
 | 12849 |       if test "$host_cpu" != ia64; then | 
 | 12850 | 	ld_shlibs_F77=no | 
 | 12851 | 	cat <<EOF 1>&2 | 
 | 12852 |  | 
 | 12853 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
 | 12854 | *** to be unable to reliably create shared libraries on AIX. | 
 | 12855 | *** Therefore, libtool is disabling shared libraries support.  If you | 
 | 12856 | *** really care for shared libraries, you may want to modify your PATH | 
 | 12857 | *** so that a non-GNU linker is found, and then restart. | 
 | 12858 |  | 
 | 12859 | EOF | 
 | 12860 |       fi | 
 | 12861 |       ;; | 
 | 12862 |  | 
 | 12863 |     amigaos*) | 
 | 12864 |       archive_cmds_F77='$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)' | 
 | 12865 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 12866 |       hardcode_minus_L_F77=yes | 
 | 12867 |  | 
 | 12868 |       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
 | 12869 |       # that the semantics of dynamic libraries on AmigaOS, at least up | 
 | 12870 |       # to version 4, is to share data among multiple programs linked | 
 | 12871 |       # with the same dynamic library.  Since this doesn't match the | 
 | 12872 |       # behavior of shared libraries on other platforms, we can't use | 
 | 12873 |       # them. | 
 | 12874 |       ld_shlibs_F77=no | 
 | 12875 |       ;; | 
 | 12876 |  | 
 | 12877 |     beos*) | 
 | 12878 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 12879 | 	allow_undefined_flag_F77=unsupported | 
 | 12880 | 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
 | 12881 | 	# support --undefined.  This deserves some investigation.  FIXME | 
 | 12882 | 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 12883 |       else | 
 | 12884 | 	ld_shlibs_F77=no | 
 | 12885 |       fi | 
 | 12886 |       ;; | 
 | 12887 |  | 
 | 12888 |     cygwin* | mingw* | pw32*) | 
 | 12889 |       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, | 
 | 12890 |       # as there is no search path for DLLs. | 
 | 12891 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 12892 |       allow_undefined_flag_F77=unsupported | 
 | 12893 |       always_export_symbols_F77=no | 
 | 12894 |       enable_shared_with_static_runtimes_F77=yes | 
 | 12895 |       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 12896 |  | 
 | 12897 |       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
 | 12898 |         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
 | 12899 | 	# If the export-symbols file already is a .def file (1st line | 
 | 12900 | 	# is EXPORTS), use it as is; otherwise, prepend... | 
 | 12901 | 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
 | 12902 | 	  cp $export_symbols $output_objdir/$soname.def; | 
 | 12903 | 	else | 
 | 12904 | 	  echo EXPORTS > $output_objdir/$soname.def; | 
 | 12905 | 	  cat $export_symbols >> $output_objdir/$soname.def; | 
 | 12906 | 	fi~ | 
 | 12907 | 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib' | 
 | 12908 |       else | 
 | 12909 | 	ld_shlibs=no | 
 | 12910 |       fi | 
 | 12911 |       ;; | 
 | 12912 |  | 
 | 12913 |     netbsd*) | 
 | 12914 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 12915 | 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
 | 12916 | 	wlarc= | 
 | 12917 |       else | 
 | 12918 | 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 12919 | 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 12920 |       fi | 
 | 12921 |       ;; | 
 | 12922 |  | 
 | 12923 |     solaris* | sysv5*) | 
 | 12924 |       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 
 | 12925 | 	ld_shlibs_F77=no | 
 | 12926 | 	cat <<EOF 1>&2 | 
 | 12927 |  | 
 | 12928 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
 | 12929 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
 | 12930 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
 | 12931 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
 | 12932 | *** your PATH or compiler configuration so that the native linker is | 
 | 12933 | *** used, and then restart. | 
 | 12934 |  | 
 | 12935 | EOF | 
 | 12936 |       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 12937 | 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 12938 | 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 12939 |       else | 
 | 12940 | 	ld_shlibs_F77=no | 
 | 12941 |       fi | 
 | 12942 |       ;; | 
 | 12943 |  | 
 | 12944 |     sunos4*) | 
 | 12945 |       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 12946 |       wlarc= | 
 | 12947 |       hardcode_direct_F77=yes | 
 | 12948 |       hardcode_shlibpath_var_F77=no | 
 | 12949 |       ;; | 
 | 12950 |  | 
 | 12951 |     *) | 
 | 12952 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 12953 | 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 12954 | 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 12955 |       else | 
 | 12956 | 	ld_shlibs_F77=no | 
 | 12957 |       fi | 
 | 12958 |       ;; | 
 | 12959 |     esac | 
 | 12960 |  | 
 | 12961 |     if test "$ld_shlibs_F77" = yes; then | 
 | 12962 |       runpath_var=LD_RUN_PATH | 
 | 12963 |       hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' | 
 | 12964 |       export_dynamic_flag_spec_F77='${wl}--export-dynamic' | 
 | 12965 |       # ancient GNU ld didn't support --whole-archive et. al. | 
 | 12966 |       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | 
 | 12967 |  	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
 | 12968 |       else | 
 | 12969 |   	whole_archive_flag_spec_F77= | 
 | 12970 |       fi | 
 | 12971 |     fi | 
 | 12972 |   else | 
 | 12973 |     # PORTME fill in a description of your system's linker (not GNU ld) | 
 | 12974 |     case $host_os in | 
 | 12975 |     aix3*) | 
 | 12976 |       allow_undefined_flag_F77=unsupported | 
 | 12977 |       always_export_symbols_F77=yes | 
 | 12978 |       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' | 
 | 12979 |       # Note: this linker hardcodes the directories in LIBPATH if there | 
 | 12980 |       # are no directories specified by -L. | 
 | 12981 |       hardcode_minus_L_F77=yes | 
 | 12982 |       if test "$GCC" = yes && test -z "$link_static_flag"; then | 
 | 12983 | 	# Neither direct hardcoding nor static linking is supported with a | 
 | 12984 | 	# broken collect2. | 
 | 12985 | 	hardcode_direct_F77=unsupported | 
 | 12986 |       fi | 
 | 12987 |       ;; | 
 | 12988 |  | 
 | 12989 |     aix4* | aix5*) | 
 | 12990 |       if test "$host_cpu" = ia64; then | 
 | 12991 | 	# On IA64, the linker does run time linking by default, so we don't | 
 | 12992 | 	# have to do anything special. | 
 | 12993 | 	aix_use_runtimelinking=no | 
 | 12994 | 	exp_sym_flag='-Bexport' | 
 | 12995 | 	no_entry_flag="" | 
 | 12996 |       else | 
 | 12997 | 	# If we're using GNU nm, then we don't want the "-C" option. | 
 | 12998 | 	# -C means demangle to AIX nm, but means don't demangle with GNU nm | 
 | 12999 | 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
 | 13000 | 	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
 | 13001 | 	else | 
 | 13002 | 	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
 | 13003 | 	fi | 
 | 13004 | 	aix_use_runtimelinking=no | 
 | 13005 |  | 
 | 13006 | 	# Test if we are trying to use run time linking or normal | 
 | 13007 | 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
 | 13008 | 	# need to do runtime linking. | 
 | 13009 | 	case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
 | 13010 | 	  for ld_flag in $LDFLAGS; do | 
 | 13011 |   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
 | 13012 |   	    aix_use_runtimelinking=yes | 
 | 13013 |   	    break | 
 | 13014 |   	  fi | 
 | 13015 | 	  done | 
 | 13016 | 	esac | 
 | 13017 |  | 
 | 13018 | 	exp_sym_flag='-bexport' | 
 | 13019 | 	no_entry_flag='-bnoentry' | 
 | 13020 |       fi | 
 | 13021 |  | 
 | 13022 |       # When large executables or shared objects are built, AIX ld can | 
 | 13023 |       # have problems creating the table of contents.  If linking a library | 
 | 13024 |       # or program results in "error TOC overflow" add -mminimal-toc to | 
 | 13025 |       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
 | 13026 |       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
 | 13027 |  | 
 | 13028 |       archive_cmds_F77='' | 
 | 13029 |       hardcode_direct_F77=yes | 
 | 13030 |       hardcode_libdir_separator_F77=':' | 
 | 13031 |       link_all_deplibs_F77=yes | 
 | 13032 |  | 
 | 13033 |       if test "$GCC" = yes; then | 
 | 13034 | 	case $host_os in aix4.012|aix4.012.*) | 
 | 13035 | 	# We only want to do this on AIX 4.2 and lower, the check | 
 | 13036 | 	# below for broken collect2 doesn't work under 4.3+ | 
 | 13037 | 	  collect2name=`${CC} -print-prog-name=collect2` | 
 | 13038 | 	  if test -f "$collect2name" && \ | 
 | 13039 |   	   strings "$collect2name" | grep resolve_lib_name >/dev/null | 
 | 13040 | 	  then | 
 | 13041 |   	  # We have reworked collect2 | 
 | 13042 |   	  hardcode_direct_F77=yes | 
 | 13043 | 	  else | 
 | 13044 |   	  # We have old collect2 | 
 | 13045 |   	  hardcode_direct_F77=unsupported | 
 | 13046 |   	  # It fails to find uninstalled libraries when the uninstalled | 
 | 13047 |   	  # path is not listed in the libpath.  Setting hardcode_minus_L | 
 | 13048 |   	  # to unsupported forces relinking | 
 | 13049 |   	  hardcode_minus_L_F77=yes | 
 | 13050 |   	  hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13051 |   	  hardcode_libdir_separator_F77= | 
 | 13052 | 	  fi | 
 | 13053 | 	esac | 
 | 13054 | 	shared_flag='-shared' | 
 | 13055 |       else | 
 | 13056 | 	# not using gcc | 
 | 13057 | 	if test "$host_cpu" = ia64; then | 
 | 13058 |   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
 | 13059 |   	# chokes on -Wl,-G. The following line is correct: | 
 | 13060 | 	  shared_flag='-G' | 
 | 13061 | 	else | 
 | 13062 |   	if test "$aix_use_runtimelinking" = yes; then | 
 | 13063 | 	    shared_flag='${wl}-G' | 
 | 13064 | 	  else | 
 | 13065 | 	    shared_flag='${wl}-bM:SRE' | 
 | 13066 |   	fi | 
 | 13067 | 	fi | 
 | 13068 |       fi | 
 | 13069 |  | 
 | 13070 |       # It seems that -bexpall does not export symbols beginning with | 
 | 13071 |       # underscore (_), so it is better to generate a list of symbols to export. | 
 | 13072 |       always_export_symbols_F77=yes | 
 | 13073 |       if test "$aix_use_runtimelinking" = yes; then | 
 | 13074 | 	# Warning - without using the other runtime loading flags (-brtl), | 
 | 13075 | 	# -berok will link without error, but may produce a broken library. | 
 | 13076 | 	allow_undefined_flag_F77='-berok' | 
 | 13077 |        # Determine the default libpath from the value encoded in an empty executable. | 
 | 13078 |        cat >conftest.$ac_ext <<_ACEOF | 
 | 13079 |       program main | 
 | 13080 |  | 
 | 13081 |       end | 
 | 13082 | _ACEOF | 
 | 13083 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 13084 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 13085 |   (eval $ac_link) 2>&5 | 
 | 13086 |   ac_status=$? | 
 | 13087 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 13088 |   (exit $ac_status); } && | 
 | 13089 |          { ac_try='test -s conftest$ac_exeext' | 
 | 13090 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 13091 |   (eval $ac_try) 2>&5 | 
 | 13092 |   ac_status=$? | 
 | 13093 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 13094 |   (exit $ac_status); }; }; then | 
 | 13095 |  | 
 | 13096 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 13097 | }'` | 
 | 13098 | # Check for a 64-bit object if we didn't find anything. | 
 | 13099 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 13100 | }'`; fi | 
 | 13101 | else | 
 | 13102 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 13103 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 13104 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13105 | fi | 
 | 13106 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 13107 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 13108 |  | 
 | 13109 |        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 13110 | 	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 
 | 13111 |        else | 
 | 13112 | 	if test "$host_cpu" = ia64; then | 
 | 13113 | 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' | 
 | 13114 | 	  allow_undefined_flag_F77="-z nodefs" | 
 | 13115 | 	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 
 | 13116 | 	else | 
 | 13117 | 	 # Determine the default libpath from the value encoded in an empty executable. | 
 | 13118 | 	 cat >conftest.$ac_ext <<_ACEOF | 
 | 13119 |       program main | 
 | 13120 |  | 
 | 13121 |       end | 
 | 13122 | _ACEOF | 
 | 13123 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 13124 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 13125 |   (eval $ac_link) 2>&5 | 
 | 13126 |   ac_status=$? | 
 | 13127 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 13128 |   (exit $ac_status); } && | 
 | 13129 |          { ac_try='test -s conftest$ac_exeext' | 
 | 13130 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 13131 |   (eval $ac_try) 2>&5 | 
 | 13132 |   ac_status=$? | 
 | 13133 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 13134 |   (exit $ac_status); }; }; then | 
 | 13135 |  | 
 | 13136 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 13137 | }'` | 
 | 13138 | # Check for a 64-bit object if we didn't find anything. | 
 | 13139 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 13140 | }'`; fi | 
 | 13141 | else | 
 | 13142 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 13143 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 13144 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13145 | fi | 
 | 13146 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 13147 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 13148 |  | 
 | 13149 | 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 13150 | 	  # Warning - without using the other run time loading flags, | 
 | 13151 | 	  # -berok will link without error, but may produce a broken library. | 
 | 13152 | 	  no_undefined_flag_F77=' ${wl}-bernotok' | 
 | 13153 | 	  allow_undefined_flag_F77=' ${wl}-berok' | 
 | 13154 | 	  # -bexpall does not export symbols beginning with underscore (_) | 
 | 13155 | 	  always_export_symbols_F77=yes | 
 | 13156 | 	  # Exported symbols can be pulled into shared objects from archives | 
 | 13157 | 	  whole_archive_flag_spec_F77=' ' | 
 | 13158 | 	  archive_cmds_need_lc_F77=yes | 
 | 13159 | 	  # This is similar to how AIX traditionally builds it's shared libraries. | 
 | 13160 | 	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 
 | 13161 | 	fi | 
 | 13162 |       fi | 
 | 13163 |       ;; | 
 | 13164 |  | 
 | 13165 |     amigaos*) | 
 | 13166 |       archive_cmds_F77='$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)' | 
 | 13167 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13168 |       hardcode_minus_L_F77=yes | 
 | 13169 |       # see comment about different semantics on the GNU ld section | 
 | 13170 |       ld_shlibs_F77=no | 
 | 13171 |       ;; | 
 | 13172 |  | 
 | 13173 |     bsdi4*) | 
 | 13174 |       export_dynamic_flag_spec_F77=-rdynamic | 
 | 13175 |       ;; | 
 | 13176 |  | 
 | 13177 |     cygwin* | mingw* | pw32*) | 
 | 13178 |       # When not using gcc, we currently assume that we are using | 
 | 13179 |       # Microsoft Visual C++. | 
 | 13180 |       # hardcode_libdir_flag_spec is actually meaningless, as there is | 
 | 13181 |       # no search path for DLLs. | 
 | 13182 |       hardcode_libdir_flag_spec_F77=' ' | 
 | 13183 |       allow_undefined_flag_F77=unsupported | 
 | 13184 |       # Tell ltmain to make .lib files, not .a files. | 
 | 13185 |       libext=lib | 
 | 13186 |       # Tell ltmain to make .dll files, not .so files. | 
 | 13187 |       shrext=".dll" | 
 | 13188 |       # FIXME: Setting linknames here is a bad hack. | 
 | 13189 |       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
 | 13190 |       # The linker will automatically build a .lib file if we build a DLL. | 
 | 13191 |       old_archive_From_new_cmds_F77='true' | 
 | 13192 |       # FIXME: Should let the user specify the lib program. | 
 | 13193 |       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
 | 13194 |       fix_srcfile_path='`cygpath -w "$srcfile"`' | 
 | 13195 |       enable_shared_with_static_runtimes_F77=yes | 
 | 13196 |       ;; | 
 | 13197 |  | 
 | 13198 |     darwin* | rhapsody*) | 
 | 13199 |     if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 13200 |       archive_cmds_need_lc_F77=no | 
 | 13201 |       case "$host_os" in | 
 | 13202 |       rhapsody* | darwin1.[012]) | 
 | 13203 | 	allow_undefined_flag_F77='-undefined suppress' | 
 | 13204 | 	;; | 
 | 13205 |       *) # Darwin 1.3 on | 
 | 13206 | 	test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' | 
 | 13207 | 	;; | 
 | 13208 |       esac | 
 | 13209 |       # FIXME: Relying on posixy $() will cause problems for | 
 | 13210 |       #        cross-compilation, but unfortunately the echo tests do not | 
 | 13211 |       #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
 | 13212 |       #	       `"' quotes if we put them in here... so don't! | 
 | 13213 |     	lt_int_apple_cc_single_mod=no | 
 | 13214 |     	output_verbose_link_cmd='echo' | 
 | 13215 |     	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
 | 13216 |     	  lt_int_apple_cc_single_mod=yes | 
 | 13217 |     	fi | 
 | 13218 |     	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 13219 |     	  archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 13220 |     	else | 
 | 13221 |         archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 13222 |       fi | 
 | 13223 |       module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
 | 13224 |       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
 | 13225 |         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 13226 |           archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 13227 |         else | 
 | 13228 |           archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 13229 |         fi | 
 | 13230 |           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 13231 |       hardcode_direct_F77=no | 
 | 13232 |       hardcode_automatic_F77=yes | 
 | 13233 |       hardcode_shlibpath_var_F77=unsupported | 
 | 13234 |       whole_archive_flag_spec_F77='-all_load $convenience' | 
 | 13235 |       link_all_deplibs_F77=yes | 
 | 13236 |     fi | 
 | 13237 |       ;; | 
 | 13238 |  | 
 | 13239 |     dgux*) | 
 | 13240 |       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13241 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13242 |       hardcode_shlibpath_var_F77=no | 
 | 13243 |       ;; | 
 | 13244 |  | 
 | 13245 |     freebsd1*) | 
 | 13246 |       ld_shlibs_F77=no | 
 | 13247 |       ;; | 
 | 13248 |  | 
 | 13249 |     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
 | 13250 |     # support.  Future versions do this automatically, but an explicit c++rt0.o | 
 | 13251 |     # does not break anything, and helps significantly (at the cost of a little | 
 | 13252 |     # extra space). | 
 | 13253 |     freebsd2.2*) | 
 | 13254 |       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
 | 13255 |       hardcode_libdir_flag_spec_F77='-R$libdir' | 
 | 13256 |       hardcode_direct_F77=yes | 
 | 13257 |       hardcode_shlibpath_var_F77=no | 
 | 13258 |       ;; | 
 | 13259 |  | 
 | 13260 |     # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
 | 13261 |     freebsd2*) | 
 | 13262 |       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 13263 |       hardcode_direct_F77=yes | 
 | 13264 |       hardcode_minus_L_F77=yes | 
 | 13265 |       hardcode_shlibpath_var_F77=no | 
 | 13266 |       ;; | 
 | 13267 |  | 
 | 13268 |     # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
 | 13269 |     freebsd*) | 
 | 13270 |       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13271 |       hardcode_libdir_flag_spec_F77='-R$libdir' | 
 | 13272 |       hardcode_direct_F77=yes | 
 | 13273 |       hardcode_shlibpath_var_F77=no | 
 | 13274 |       ;; | 
 | 13275 |  | 
 | 13276 |     hpux9*) | 
 | 13277 |       if test "$GCC" = yes; then | 
 | 13278 | 	archive_cmds_F77='$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' | 
 | 13279 |       else | 
 | 13280 | 	archive_cmds_F77='$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' | 
 | 13281 |       fi | 
 | 13282 |       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | 
 | 13283 |       hardcode_libdir_separator_F77=: | 
 | 13284 |       hardcode_direct_F77=yes | 
 | 13285 |  | 
 | 13286 |       # hardcode_minus_L: Not really in the search PATH, | 
 | 13287 |       # but as the default location of the library. | 
 | 13288 |       hardcode_minus_L_F77=yes | 
 | 13289 |       export_dynamic_flag_spec_F77='${wl}-E' | 
 | 13290 |       ;; | 
 | 13291 |  | 
 | 13292 |     hpux10* | hpux11*) | 
 | 13293 |       if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 
 | 13294 | 	case "$host_cpu" in | 
 | 13295 | 	hppa*64*|ia64*) | 
 | 13296 | 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13297 | 	  ;; | 
 | 13298 | 	*) | 
 | 13299 | 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13300 | 	  ;; | 
 | 13301 | 	esac | 
 | 13302 |       else | 
 | 13303 | 	case "$host_cpu" in | 
 | 13304 | 	hppa*64*|ia64*) | 
 | 13305 | 	  archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13306 | 	  ;; | 
 | 13307 | 	*) | 
 | 13308 | 	  archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 
 | 13309 | 	  ;; | 
 | 13310 | 	esac | 
 | 13311 |       fi | 
 | 13312 |       if test "$with_gnu_ld" = no; then | 
 | 13313 | 	case "$host_cpu" in | 
 | 13314 | 	hppa*64*) | 
 | 13315 | 	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | 
 | 13316 | 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir' | 
 | 13317 | 	  hardcode_libdir_separator_F77=: | 
 | 13318 | 	  hardcode_direct_F77=no | 
 | 13319 | 	  hardcode_shlibpath_var_F77=no | 
 | 13320 | 	  ;; | 
 | 13321 | 	ia64*) | 
 | 13322 | 	  hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13323 | 	  hardcode_direct_F77=no | 
 | 13324 | 	  hardcode_shlibpath_var_F77=no | 
 | 13325 |  | 
 | 13326 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 13327 | 	  # but as the default location of the library. | 
 | 13328 | 	  hardcode_minus_L_F77=yes | 
 | 13329 | 	  ;; | 
 | 13330 | 	*) | 
 | 13331 | 	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | 
 | 13332 | 	  hardcode_libdir_separator_F77=: | 
 | 13333 | 	  hardcode_direct_F77=yes | 
 | 13334 | 	  export_dynamic_flag_spec_F77='${wl}-E' | 
 | 13335 |  | 
 | 13336 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 13337 | 	  # but as the default location of the library. | 
 | 13338 | 	  hardcode_minus_L_F77=yes | 
 | 13339 | 	  ;; | 
 | 13340 | 	esac | 
 | 13341 |       fi | 
 | 13342 |       ;; | 
 | 13343 |  | 
 | 13344 |     irix5* | irix6* | nonstopux*) | 
 | 13345 |       if test "$GCC" = yes; then | 
 | 13346 | 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
 | 13347 |       else | 
 | 13348 | 	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
 | 13349 | 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' | 
 | 13350 |       fi | 
 | 13351 |       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
 | 13352 |       hardcode_libdir_separator_F77=: | 
 | 13353 |       link_all_deplibs_F77=yes | 
 | 13354 |       ;; | 
 | 13355 |  | 
 | 13356 |     netbsd*) | 
 | 13357 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 13358 | 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
 | 13359 |       else | 
 | 13360 | 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
 | 13361 |       fi | 
 | 13362 |       hardcode_libdir_flag_spec_F77='-R$libdir' | 
 | 13363 |       hardcode_direct_F77=yes | 
 | 13364 |       hardcode_shlibpath_var_F77=no | 
 | 13365 |       ;; | 
 | 13366 |  | 
 | 13367 |     newsos6) | 
 | 13368 |       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13369 |       hardcode_direct_F77=yes | 
 | 13370 |       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
 | 13371 |       hardcode_libdir_separator_F77=: | 
 | 13372 |       hardcode_shlibpath_var_F77=no | 
 | 13373 |       ;; | 
 | 13374 |  | 
 | 13375 |     openbsd*) | 
 | 13376 |       hardcode_direct_F77=yes | 
 | 13377 |       hardcode_shlibpath_var_F77=no | 
 | 13378 |       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 13379 | 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13380 | 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | 
 | 13381 | 	export_dynamic_flag_spec_F77='${wl}-E' | 
 | 13382 |       else | 
 | 13383 |        case $host_os in | 
 | 13384 | 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
 | 13385 | 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 13386 | 	   hardcode_libdir_flag_spec_F77='-R$libdir' | 
 | 13387 | 	   ;; | 
 | 13388 | 	 *) | 
 | 13389 | 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13390 | 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | 
 | 13391 | 	   ;; | 
 | 13392 |        esac | 
 | 13393 |       fi | 
 | 13394 |       ;; | 
 | 13395 |  | 
 | 13396 |     os2*) | 
 | 13397 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13398 |       hardcode_minus_L_F77=yes | 
 | 13399 |       allow_undefined_flag_F77=unsupported | 
 | 13400 |       archive_cmds_F77='$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' | 
 | 13401 |       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
 | 13402 |       ;; | 
 | 13403 |  | 
 | 13404 |     osf3*) | 
 | 13405 |       if test "$GCC" = yes; then | 
 | 13406 | 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' | 
 | 13407 | 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
 | 13408 |       else | 
 | 13409 | 	allow_undefined_flag_F77=' -expect_unresolved \*' | 
 | 13410 | 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
 | 13411 |       fi | 
 | 13412 |       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
 | 13413 |       hardcode_libdir_separator_F77=: | 
 | 13414 |       ;; | 
 | 13415 |  | 
 | 13416 |     osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
 | 13417 |       if test "$GCC" = yes; then | 
 | 13418 | 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' | 
 | 13419 | 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
 | 13420 | 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
 | 13421 |       else | 
 | 13422 | 	allow_undefined_flag_F77=' -expect_unresolved \*' | 
 | 13423 | 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
 | 13424 | 	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 
 | 13425 | 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' | 
 | 13426 |  | 
 | 13427 | 	# Both c and cxx compiler support -rpath directly | 
 | 13428 | 	hardcode_libdir_flag_spec_F77='-rpath $libdir' | 
 | 13429 |       fi | 
 | 13430 |       hardcode_libdir_separator_F77=: | 
 | 13431 |       ;; | 
 | 13432 |  | 
 | 13433 |     sco3.2v5*) | 
 | 13434 |       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13435 |       hardcode_shlibpath_var_F77=no | 
 | 13436 |       export_dynamic_flag_spec_F77='${wl}-Bexport' | 
 | 13437 |       runpath_var=LD_RUN_PATH | 
 | 13438 |       hardcode_runpath_var=yes | 
 | 13439 |       ;; | 
 | 13440 |  | 
 | 13441 |     solaris*) | 
 | 13442 |       no_undefined_flag_F77=' -z text' | 
 | 13443 |       if test "$GCC" = yes; then | 
 | 13444 | 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13445 | 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 13446 | 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 
 | 13447 |       else | 
 | 13448 | 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13449 | 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 13450 |   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 13451 |       fi | 
 | 13452 |       hardcode_libdir_flag_spec_F77='-R$libdir' | 
 | 13453 |       hardcode_shlibpath_var_F77=no | 
 | 13454 |       case $host_os in | 
 | 13455 |       solaris2.[0-5] | solaris2.[0-5].*) ;; | 
 | 13456 |       *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
 | 13457 | 	whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; | 
 | 13458 |       esac | 
 | 13459 |       link_all_deplibs_F77=yes | 
 | 13460 |       ;; | 
 | 13461 |  | 
 | 13462 |     sunos4*) | 
 | 13463 |       if test "x$host_vendor" = xsequent; then | 
 | 13464 | 	# Use $CC to link under sequent, because it throws in some extra .o | 
 | 13465 | 	# files that make .init and .fini sections work. | 
 | 13466 | 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13467 |       else | 
 | 13468 | 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
 | 13469 |       fi | 
 | 13470 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13471 |       hardcode_direct_F77=yes | 
 | 13472 |       hardcode_minus_L_F77=yes | 
 | 13473 |       hardcode_shlibpath_var_F77=no | 
 | 13474 |       ;; | 
 | 13475 |  | 
 | 13476 |     sysv4) | 
 | 13477 |       case $host_vendor in | 
 | 13478 | 	sni) | 
 | 13479 | 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13480 | 	  hardcode_direct_F77=yes # is this really true??? | 
 | 13481 | 	;; | 
 | 13482 | 	siemens) | 
 | 13483 | 	  ## LD is ld it makes a PLAMLIB | 
 | 13484 | 	  ## CC just makes a GrossModule. | 
 | 13485 | 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 13486 | 	  reload_cmds_F77='$CC -r -o $output$reload_objs' | 
 | 13487 | 	  hardcode_direct_F77=no | 
 | 13488 |         ;; | 
 | 13489 | 	motorola) | 
 | 13490 | 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13491 | 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie | 
 | 13492 | 	;; | 
 | 13493 |       esac | 
 | 13494 |       runpath_var='LD_RUN_PATH' | 
 | 13495 |       hardcode_shlibpath_var_F77=no | 
 | 13496 |       ;; | 
 | 13497 |  | 
 | 13498 |     sysv4.3*) | 
 | 13499 |       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13500 |       hardcode_shlibpath_var_F77=no | 
 | 13501 |       export_dynamic_flag_spec_F77='-Bexport' | 
 | 13502 |       ;; | 
 | 13503 |  | 
 | 13504 |     sysv4*MP*) | 
 | 13505 |       if test -d /usr/nec; then | 
 | 13506 | 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13507 | 	hardcode_shlibpath_var_F77=no | 
 | 13508 | 	runpath_var=LD_RUN_PATH | 
 | 13509 | 	hardcode_runpath_var=yes | 
 | 13510 | 	ld_shlibs_F77=yes | 
 | 13511 |       fi | 
 | 13512 |       ;; | 
 | 13513 |  | 
 | 13514 |     sysv4.2uw2*) | 
 | 13515 |       archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 13516 |       hardcode_direct_F77=yes | 
 | 13517 |       hardcode_minus_L_F77=no | 
 | 13518 |       hardcode_shlibpath_var_F77=no | 
 | 13519 |       hardcode_runpath_var=yes | 
 | 13520 |       runpath_var=LD_RUN_PATH | 
 | 13521 |       ;; | 
 | 13522 |  | 
 | 13523 |    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*) | 
 | 13524 |       no_undefined_flag_F77='${wl}-z ${wl}text' | 
 | 13525 |       if test "$GCC" = yes; then | 
 | 13526 | 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13527 |       else | 
 | 13528 | 	archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13529 |       fi | 
 | 13530 |       runpath_var='LD_RUN_PATH' | 
 | 13531 |       hardcode_shlibpath_var_F77=no | 
 | 13532 |       ;; | 
 | 13533 |  | 
 | 13534 |     sysv5*) | 
 | 13535 |       no_undefined_flag_F77=' -z text' | 
 | 13536 |       # $CC -shared without GNU ld will not create a library from C++ | 
 | 13537 |       # object files and a static libstdc++, better avoid it by now | 
 | 13538 |       archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13539 |       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 13540 |   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 13541 |       hardcode_libdir_flag_spec_F77= | 
 | 13542 |       hardcode_shlibpath_var_F77=no | 
 | 13543 |       runpath_var='LD_RUN_PATH' | 
 | 13544 |       ;; | 
 | 13545 |  | 
 | 13546 |     uts4*) | 
 | 13547 |       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13548 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13549 |       hardcode_shlibpath_var_F77=no | 
 | 13550 |       ;; | 
 | 13551 |  | 
 | 13552 |     *) | 
 | 13553 |       ld_shlibs_F77=no | 
 | 13554 |       ;; | 
 | 13555 |     esac | 
 | 13556 |   fi | 
 | 13557 |  | 
 | 13558 | echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 | 
 | 13559 | echo "${ECHO_T}$ld_shlibs_F77" >&6 | 
 | 13560 | test "$ld_shlibs_F77" = no && can_build_shared=no | 
 | 13561 |  | 
 | 13562 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
 | 13563 | if test "$GCC" = yes; then | 
 | 13564 |   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
 | 13565 | fi | 
 | 13566 |  | 
 | 13567 | # | 
 | 13568 | # Do we need to explicitly link libc? | 
 | 13569 | # | 
 | 13570 | case "x$archive_cmds_need_lc_F77" in | 
 | 13571 | x|xyes) | 
 | 13572 |   # Assume -lc should be added | 
 | 13573 |   archive_cmds_need_lc_F77=yes | 
 | 13574 |  | 
 | 13575 |   if test "$enable_shared" = yes && test "$GCC" = yes; then | 
 | 13576 |     case $archive_cmds_F77 in | 
 | 13577 |     *'~'*) | 
 | 13578 |       # FIXME: we may have to deal with multi-command sequences. | 
 | 13579 |       ;; | 
 | 13580 |     '$CC '*) | 
 | 13581 |       # Test whether the compiler implicitly links with -lc since on some | 
 | 13582 |       # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
 | 13583 |       # to ld, don't add -lc before -lgcc. | 
 | 13584 |       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
 | 13585 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
 | 13586 |       $rm conftest* | 
 | 13587 |       printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 13588 |  | 
 | 13589 |       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 13590 |   (eval $ac_compile) 2>&5 | 
 | 13591 |   ac_status=$? | 
 | 13592 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 13593 |   (exit $ac_status); } 2>conftest.err; then | 
 | 13594 |         soname=conftest | 
 | 13595 |         lib=conftest | 
 | 13596 |         libobjs=conftest.$ac_objext | 
 | 13597 |         deplibs= | 
 | 13598 |         wl=$lt_prog_compiler_wl_F77 | 
 | 13599 |         compiler_flags=-v | 
 | 13600 |         linker_flags=-v | 
 | 13601 |         verstring= | 
 | 13602 |         output_objdir=. | 
 | 13603 |         libname=conftest | 
 | 13604 |         lt_save_allow_undefined_flag=$allow_undefined_flag_F77 | 
 | 13605 |         allow_undefined_flag_F77= | 
 | 13606 |         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
 | 13607 |   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
 | 13608 |   ac_status=$? | 
 | 13609 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 13610 |   (exit $ac_status); } | 
 | 13611 |         then | 
 | 13612 | 	  archive_cmds_need_lc_F77=no | 
 | 13613 |         else | 
 | 13614 | 	  archive_cmds_need_lc_F77=yes | 
 | 13615 |         fi | 
 | 13616 |         allow_undefined_flag_F77=$lt_save_allow_undefined_flag | 
 | 13617 |       else | 
 | 13618 |         cat conftest.err 1>&5 | 
 | 13619 |       fi | 
 | 13620 |       $rm conftest* | 
 | 13621 |       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 | 
 | 13622 | echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 | 
 | 13623 |       ;; | 
 | 13624 |     esac | 
 | 13625 |   fi | 
 | 13626 |   ;; | 
 | 13627 | esac | 
 | 13628 |  | 
 | 13629 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
 | 13630 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
 | 13631 | hardcode_action_F77= | 
 | 13632 | if test -n "$hardcode_libdir_flag_spec_F77" || \ | 
 | 13633 |    test -n "$runpath_var F77" || \ | 
 | 13634 |    test "X$hardcode_automatic_F77"="Xyes" ; then | 
 | 13635 |  | 
 | 13636 |   # We can hardcode non-existant directories. | 
 | 13637 |   if test "$hardcode_direct_F77" != no && | 
 | 13638 |      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
 | 13639 |      # have to relink, otherwise we might link with an installed library | 
 | 13640 |      # when we should be linking with a yet-to-be-installed one | 
 | 13641 |      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && | 
 | 13642 |      test "$hardcode_minus_L_F77" != no; then | 
 | 13643 |     # Linking always hardcodes the temporary library directory. | 
 | 13644 |     hardcode_action_F77=relink | 
 | 13645 |   else | 
 | 13646 |     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
 | 13647 |     hardcode_action_F77=immediate | 
 | 13648 |   fi | 
 | 13649 | else | 
 | 13650 |   # We cannot hardcode anything, or else we can only hardcode existing | 
 | 13651 |   # directories. | 
 | 13652 |   hardcode_action_F77=unsupported | 
 | 13653 | fi | 
 | 13654 | echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 | 
 | 13655 | echo "${ECHO_T}$hardcode_action_F77" >&6 | 
 | 13656 |  | 
 | 13657 | if test "$hardcode_action_F77" = relink; then | 
 | 13658 |   # Fast installation is not supported | 
 | 13659 |   enable_fast_install=no | 
 | 13660 | elif test "$shlibpath_overrides_runpath" = yes || | 
 | 13661 |      test "$enable_shared" = no; then | 
 | 13662 |   # Fast installation is not necessary | 
 | 13663 |   enable_fast_install=needless | 
 | 13664 | fi | 
 | 13665 |  | 
 | 13666 | striplib= | 
 | 13667 | old_striplib= | 
 | 13668 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
 | 13669 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
 | 13670 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
 | 13671 |   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
 | 13672 |   test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
 | 13673 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 13674 | echo "${ECHO_T}yes" >&6 | 
 | 13675 | else | 
 | 13676 | # FIXME - insert some real tests, host_os isn't really good enough | 
 | 13677 |   case $host_os in | 
 | 13678 |    darwin*) | 
 | 13679 |        if test -n "$STRIP" ; then | 
 | 13680 |          striplib="$STRIP -x" | 
 | 13681 |          echo "$as_me:$LINENO: result: yes" >&5 | 
 | 13682 | echo "${ECHO_T}yes" >&6 | 
 | 13683 |        else | 
 | 13684 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 13685 | echo "${ECHO_T}no" >&6 | 
 | 13686 | fi | 
 | 13687 |        ;; | 
 | 13688 |    *) | 
 | 13689 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 13690 | echo "${ECHO_T}no" >&6 | 
 | 13691 |     ;; | 
 | 13692 |   esac | 
 | 13693 | fi | 
 | 13694 |  | 
 | 13695 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
 | 13696 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
 | 13697 | library_names_spec= | 
 | 13698 | libname_spec='lib$name' | 
 | 13699 | soname_spec= | 
 | 13700 | shrext=".so" | 
 | 13701 | postinstall_cmds= | 
 | 13702 | postuninstall_cmds= | 
 | 13703 | finish_cmds= | 
 | 13704 | finish_eval= | 
 | 13705 | shlibpath_var= | 
 | 13706 | shlibpath_overrides_runpath=unknown | 
 | 13707 | version_type=none | 
 | 13708 | dynamic_linker="$host_os ld.so" | 
 | 13709 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
 | 13710 | if test "$GCC" = yes; then | 
 | 13711 |   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 13712 |   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
 | 13713 |     # if the path contains ";" then we assume it to be the separator | 
 | 13714 |     # otherwise default to the standard path separator (i.e. ":") - it is | 
 | 13715 |     # assumed that no part of a normal pathname contains ";" but that should | 
 | 13716 |     # okay in the real world where ";" in dirpaths is itself problematic. | 
 | 13717 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 13718 |   else | 
 | 13719 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 13720 |   fi | 
 | 13721 | else | 
 | 13722 |   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
 | 13723 | fi | 
 | 13724 | need_lib_prefix=unknown | 
 | 13725 | hardcode_into_libs=no | 
 | 13726 |  | 
 | 13727 | # when you set need_version to no, make sure it does not cause -set_version | 
 | 13728 | # flags to be left without arguments | 
 | 13729 | need_version=unknown | 
 | 13730 |  | 
 | 13731 | case $host_os in | 
 | 13732 | aix3*) | 
 | 13733 |   version_type=linux | 
 | 13734 |   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
 | 13735 |   shlibpath_var=LIBPATH | 
 | 13736 |  | 
 | 13737 |   # AIX 3 has no versioning support, so we append a major version to the name. | 
 | 13738 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 13739 |   ;; | 
 | 13740 |  | 
 | 13741 | aix4* | aix5*) | 
 | 13742 |   version_type=linux | 
 | 13743 |   need_lib_prefix=no | 
 | 13744 |   need_version=no | 
 | 13745 |   hardcode_into_libs=yes | 
 | 13746 |   if test "$host_cpu" = ia64; then | 
 | 13747 |     # AIX 5 supports IA64 | 
 | 13748 |     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
 | 13749 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 13750 |   else | 
 | 13751 |     # With GCC up to 2.95.x, collect2 would create an import file | 
 | 13752 |     # for dependence libraries.  The import file would start with | 
 | 13753 |     # the line `#! .'.  This would cause the generated library to | 
 | 13754 |     # depend on `.', always an invalid library.  This was fixed in | 
 | 13755 |     # development snapshots of GCC prior to 3.0. | 
 | 13756 |     case $host_os in | 
 | 13757 |       aix4 | aix4.[01] | aix4.[01].*) | 
 | 13758 |       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
 | 13759 | 	   echo ' yes ' | 
 | 13760 | 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
 | 13761 | 	: | 
 | 13762 |       else | 
 | 13763 | 	can_build_shared=no | 
 | 13764 |       fi | 
 | 13765 |       ;; | 
 | 13766 |     esac | 
 | 13767 |     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
 | 13768 |     # soname into executable. Probably we can add versioning support to | 
 | 13769 |     # collect2, so additional links can be useful in future. | 
 | 13770 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 13771 |       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
 | 13772 |       # instead of lib<name>.a to let people know that these are not | 
 | 13773 |       # typical AIX shared libraries. | 
 | 13774 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 13775 |     else | 
 | 13776 |       # We preserve .a as extension for shared libraries through AIX4.2 | 
 | 13777 |       # and later when we are not doing run time linking. | 
 | 13778 |       library_names_spec='${libname}${release}.a $libname.a' | 
 | 13779 |       soname_spec='${libname}${release}${shared_ext}$major' | 
 | 13780 |     fi | 
 | 13781 |     shlibpath_var=LIBPATH | 
 | 13782 |   fi | 
 | 13783 |   ;; | 
 | 13784 |  | 
 | 13785 | amigaos*) | 
 | 13786 |   library_names_spec='$libname.ixlibrary $libname.a' | 
 | 13787 |   # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
 | 13788 |   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | 
 | 13789 |   ;; | 
 | 13790 |  | 
 | 13791 | beos*) | 
 | 13792 |   library_names_spec='${libname}${shared_ext}' | 
 | 13793 |   dynamic_linker="$host_os ld.so" | 
 | 13794 |   shlibpath_var=LIBRARY_PATH | 
 | 13795 |   ;; | 
 | 13796 |  | 
 | 13797 | bsdi4*) | 
 | 13798 |   version_type=linux | 
 | 13799 |   need_version=no | 
 | 13800 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 13801 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 13802 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
 | 13803 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 13804 |   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
 | 13805 |   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
 | 13806 |   # the default ld.so.conf also contains /usr/contrib/lib and | 
 | 13807 |   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
 | 13808 |   # libtool to hard-code these into programs | 
 | 13809 |   ;; | 
 | 13810 |  | 
 | 13811 | cygwin* | mingw* | pw32*) | 
 | 13812 |   version_type=windows | 
 | 13813 |   shrext=".dll" | 
 | 13814 |   need_version=no | 
 | 13815 |   need_lib_prefix=no | 
 | 13816 |  | 
 | 13817 |   case $GCC,$host_os in | 
 | 13818 |   yes,cygwin* | yes,mingw* | yes,pw32*) | 
 | 13819 |     library_names_spec='$libname.dll.a' | 
 | 13820 |     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
 | 13821 |     postinstall_cmds='base_file=`basename \${file}`~ | 
 | 13822 |       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
 | 13823 |       dldir=$destdir/`dirname \$dlpath`~ | 
 | 13824 |       test -d \$dldir || mkdir -p \$dldir~ | 
 | 13825 |       $install_prog $dir/$dlname \$dldir/$dlname' | 
 | 13826 |     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
 | 13827 |       dlpath=$dir/\$dldll~ | 
 | 13828 |        $rm \$dlpath' | 
 | 13829 |     shlibpath_overrides_runpath=yes | 
 | 13830 |  | 
 | 13831 |     case $host_os in | 
 | 13832 |     cygwin*) | 
 | 13833 |       # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
 | 13834 |       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 13835 |       sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
 | 13836 |       ;; | 
 | 13837 |     mingw*) | 
 | 13838 |       # MinGW DLLs use traditional 'lib' prefix | 
 | 13839 |       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 13840 |       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 13841 |       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
 | 13842 |         # It is most probably a Windows format PATH printed by | 
 | 13843 |         # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
 | 13844 |         # path with ; separators, and with drive letters. We can handle the | 
 | 13845 |         # drive letters (cygwin fileutils understands them), so leave them, | 
 | 13846 |         # especially as we might pass files found there to a mingw objdump, | 
 | 13847 |         # which wouldn't understand a cygwinified path. Ahh. | 
 | 13848 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 13849 |       else | 
 | 13850 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 13851 |       fi | 
 | 13852 |       ;; | 
 | 13853 |     pw32*) | 
 | 13854 |       # pw32 DLLs use 'pw' prefix rather than 'lib' | 
 | 13855 |       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
 | 13856 |       ;; | 
 | 13857 |     esac | 
 | 13858 |     ;; | 
 | 13859 |  | 
 | 13860 |   *) | 
 | 13861 |     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
 | 13862 |     ;; | 
 | 13863 |   esac | 
 | 13864 |   dynamic_linker='Win32 ld.exe' | 
 | 13865 |   # FIXME: first we should search . and the directory the executable is in | 
 | 13866 |   shlibpath_var=PATH | 
 | 13867 |   ;; | 
 | 13868 |  | 
 | 13869 | darwin* | rhapsody*) | 
 | 13870 |   dynamic_linker="$host_os dyld" | 
 | 13871 |   version_type=darwin | 
 | 13872 |   need_lib_prefix=no | 
 | 13873 |   need_version=no | 
 | 13874 |   # FIXME: Relying on posixy $() will cause problems for | 
 | 13875 |   #        cross-compilation, but unfortunately the echo tests do not | 
 | 13876 |   #        yet detect zsh echo's removal of \ escapes. | 
 | 13877 |   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
 | 13878 |   soname_spec='${libname}${release}${major}$shared_ext' | 
 | 13879 |   shlibpath_overrides_runpath=yes | 
 | 13880 |   shlibpath_var=DYLD_LIBRARY_PATH | 
 | 13881 |   shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
 | 13882 |   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
 | 13883 |   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 13884 |   sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 
 | 13885 |   fi | 
 | 13886 |   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
 | 13887 |   ;; | 
 | 13888 |  | 
 | 13889 | dgux*) | 
 | 13890 |   version_type=linux | 
 | 13891 |   need_lib_prefix=no | 
 | 13892 |   need_version=no | 
 | 13893 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
 | 13894 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 13895 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 13896 |   ;; | 
 | 13897 |  | 
 | 13898 | freebsd1*) | 
 | 13899 |   dynamic_linker=no | 
 | 13900 |   ;; | 
 | 13901 |  | 
 | 13902 | freebsd*) | 
 | 13903 |   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
 | 13904 |   version_type=freebsd-$objformat | 
 | 13905 |   case $version_type in | 
 | 13906 |     freebsd-elf*) | 
 | 13907 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 13908 |       need_version=no | 
 | 13909 |       need_lib_prefix=no | 
 | 13910 |       ;; | 
 | 13911 |     freebsd-*) | 
 | 13912 |       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
 | 13913 |       need_version=yes | 
 | 13914 |       ;; | 
 | 13915 |   esac | 
 | 13916 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 13917 |   case $host_os in | 
 | 13918 |   freebsd2*) | 
 | 13919 |     shlibpath_overrides_runpath=yes | 
 | 13920 |     ;; | 
 | 13921 |   freebsd3.01* | freebsdelf3.01*) | 
 | 13922 |     shlibpath_overrides_runpath=yes | 
 | 13923 |     hardcode_into_libs=yes | 
 | 13924 |     ;; | 
 | 13925 |   *) # from 3.2 on | 
 | 13926 |     shlibpath_overrides_runpath=no | 
 | 13927 |     hardcode_into_libs=yes | 
 | 13928 |     ;; | 
 | 13929 |   esac | 
 | 13930 |   ;; | 
 | 13931 |  | 
 | 13932 | gnu*) | 
 | 13933 |   version_type=linux | 
 | 13934 |   need_lib_prefix=no | 
 | 13935 |   need_version=no | 
 | 13936 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
 | 13937 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 13938 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 13939 |   hardcode_into_libs=yes | 
 | 13940 |   ;; | 
 | 13941 |  | 
 | 13942 | hpux9* | hpux10* | hpux11*) | 
 | 13943 |   # Give a soname corresponding to the major version so that dld.sl refuses to | 
 | 13944 |   # link against other versions. | 
 | 13945 |   version_type=sunos | 
 | 13946 |   need_lib_prefix=no | 
 | 13947 |   need_version=no | 
 | 13948 |   case "$host_cpu" in | 
 | 13949 |   ia64*) | 
 | 13950 |     shrext='.so' | 
 | 13951 |     hardcode_into_libs=yes | 
 | 13952 |     dynamic_linker="$host_os dld.so" | 
 | 13953 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 13954 |     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 13955 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 13956 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 13957 |     if test "X$HPUX_IA64_MODE" = X32; then | 
 | 13958 |       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
 | 13959 |     else | 
 | 13960 |       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
 | 13961 |     fi | 
 | 13962 |     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 13963 |     ;; | 
 | 13964 |    hppa*64*) | 
 | 13965 |      shrext='.sl' | 
 | 13966 |      hardcode_into_libs=yes | 
 | 13967 |      dynamic_linker="$host_os dld.sl" | 
 | 13968 |      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
 | 13969 |      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 13970 |      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 13971 |      soname_spec='${libname}${release}${shared_ext}$major' | 
 | 13972 |      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
 | 13973 |      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 13974 |      ;; | 
 | 13975 |    *) | 
 | 13976 |     shrext='.sl' | 
 | 13977 |     dynamic_linker="$host_os dld.sl" | 
 | 13978 |     shlibpath_var=SHLIB_PATH | 
 | 13979 |     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
 | 13980 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 13981 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 13982 |     ;; | 
 | 13983 |   esac | 
 | 13984 |   # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
 | 13985 |   postinstall_cmds='chmod 555 $lib' | 
 | 13986 |   ;; | 
 | 13987 |  | 
 | 13988 | irix5* | irix6* | nonstopux*) | 
 | 13989 |   case $host_os in | 
 | 13990 |     nonstopux*) version_type=nonstopux ;; | 
 | 13991 |     *) | 
 | 13992 | 	if test "$lt_cv_prog_gnu_ld" = yes; then | 
 | 13993 | 		version_type=linux | 
 | 13994 | 	else | 
 | 13995 | 		version_type=irix | 
 | 13996 | 	fi ;; | 
 | 13997 |   esac | 
 | 13998 |   need_lib_prefix=no | 
 | 13999 |   need_version=no | 
 | 14000 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14001 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 14002 |   case $host_os in | 
 | 14003 |   irix5* | nonstopux*) | 
 | 14004 |     libsuff= shlibsuff= | 
 | 14005 |     ;; | 
 | 14006 |   *) | 
 | 14007 |     case $LD in # libtool.m4 will add one of these switches to LD | 
 | 14008 |     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
 | 14009 |       libsuff= shlibsuff= libmagic=32-bit;; | 
 | 14010 |     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
 | 14011 |       libsuff=32 shlibsuff=N32 libmagic=N32;; | 
 | 14012 |     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
 | 14013 |       libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
 | 14014 |     *) libsuff= shlibsuff= libmagic=never-match;; | 
 | 14015 |     esac | 
 | 14016 |     ;; | 
 | 14017 |   esac | 
 | 14018 |   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
 | 14019 |   shlibpath_overrides_runpath=no | 
 | 14020 |   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
 | 14021 |   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
 | 14022 |   hardcode_into_libs=yes | 
 | 14023 |   ;; | 
 | 14024 |  | 
 | 14025 | # No shared lib support for Linux oldld, aout, or coff. | 
 | 14026 | linux*oldld* | linux*aout* | linux*coff*) | 
 | 14027 |   dynamic_linker=no | 
 | 14028 |   ;; | 
 | 14029 |  | 
 | 14030 | # This must be Linux ELF. | 
 | 14031 | linux*) | 
 | 14032 |   version_type=linux | 
 | 14033 |   need_lib_prefix=no | 
 | 14034 |   need_version=no | 
 | 14035 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14036 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14037 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
 | 14038 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14039 |   shlibpath_overrides_runpath=no | 
 | 14040 |   # This implies no fast_install, which is unacceptable. | 
 | 14041 |   # Some rework will be needed to allow for fast_install | 
 | 14042 |   # before this can be enabled. | 
 | 14043 |   hardcode_into_libs=yes | 
 | 14044 |  | 
 | 14045 |   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
 | 14046 |   # powerpc, because MkLinux only supported shared libraries with the | 
 | 14047 |   # GNU dynamic linker.  Since this was broken with cross compilers, | 
 | 14048 |   # most powerpc-linux boxes support dynamic linking these days and | 
 | 14049 |   # people can always --disable-shared, the test was removed, and we | 
 | 14050 |   # assume the GNU/Linux dynamic linker is in use. | 
 | 14051 |   dynamic_linker='GNU/Linux ld.so' | 
 | 14052 |   ;; | 
 | 14053 |  | 
 | 14054 | netbsd*) | 
 | 14055 |   version_type=sunos | 
 | 14056 |   need_lib_prefix=no | 
 | 14057 |   need_version=no | 
 | 14058 |   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 14059 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 14060 |     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 14061 |     dynamic_linker='NetBSD (a.out) ld.so' | 
 | 14062 |   else | 
 | 14063 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
 | 14064 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14065 |     dynamic_linker='NetBSD ld.elf_so' | 
 | 14066 |   fi | 
 | 14067 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14068 |   shlibpath_overrides_runpath=yes | 
 | 14069 |   hardcode_into_libs=yes | 
 | 14070 |   ;; | 
 | 14071 |  | 
 | 14072 | newsos6) | 
 | 14073 |   version_type=linux | 
 | 14074 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14075 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14076 |   shlibpath_overrides_runpath=yes | 
 | 14077 |   ;; | 
 | 14078 |  | 
 | 14079 | nto-qnx) | 
 | 14080 |   version_type=linux | 
 | 14081 |   need_lib_prefix=no | 
 | 14082 |   need_version=no | 
 | 14083 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14084 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14085 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14086 |   shlibpath_overrides_runpath=yes | 
 | 14087 |   ;; | 
 | 14088 |  | 
 | 14089 | openbsd*) | 
 | 14090 |   version_type=sunos | 
 | 14091 |   need_lib_prefix=no | 
 | 14092 |   need_version=no | 
 | 14093 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 14094 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 14095 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14096 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 14097 |     case $host_os in | 
 | 14098 |       openbsd2.[89] | openbsd2.[89].*) | 
 | 14099 | 	shlibpath_overrides_runpath=no | 
 | 14100 | 	;; | 
 | 14101 |       *) | 
 | 14102 | 	shlibpath_overrides_runpath=yes | 
 | 14103 | 	;; | 
 | 14104 |       esac | 
 | 14105 |   else | 
 | 14106 |     shlibpath_overrides_runpath=yes | 
 | 14107 |   fi | 
 | 14108 |   ;; | 
 | 14109 |  | 
 | 14110 | os2*) | 
 | 14111 |   libname_spec='$name' | 
 | 14112 |   shrext=".dll" | 
 | 14113 |   need_lib_prefix=no | 
 | 14114 |   library_names_spec='$libname${shared_ext} $libname.a' | 
 | 14115 |   dynamic_linker='OS/2 ld.exe' | 
 | 14116 |   shlibpath_var=LIBPATH | 
 | 14117 |   ;; | 
 | 14118 |  | 
 | 14119 | osf3* | osf4* | osf5*) | 
 | 14120 |   version_type=osf | 
 | 14121 |   need_lib_prefix=no | 
 | 14122 |   need_version=no | 
 | 14123 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14124 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14125 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14126 |   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
 | 14127 |   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
 | 14128 |   ;; | 
 | 14129 |  | 
 | 14130 | sco3.2v5*) | 
 | 14131 |   version_type=osf | 
 | 14132 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14133 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14134 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14135 |   ;; | 
 | 14136 |  | 
 | 14137 | solaris*) | 
 | 14138 |   version_type=linux | 
 | 14139 |   need_lib_prefix=no | 
 | 14140 |   need_version=no | 
 | 14141 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14142 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14143 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14144 |   shlibpath_overrides_runpath=yes | 
 | 14145 |   hardcode_into_libs=yes | 
 | 14146 |   # ldd complains unless libraries are executable | 
 | 14147 |   postinstall_cmds='chmod +x $lib' | 
 | 14148 |   ;; | 
 | 14149 |  | 
 | 14150 | sunos4*) | 
 | 14151 |   version_type=sunos | 
 | 14152 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 14153 |   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
 | 14154 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14155 |   shlibpath_overrides_runpath=yes | 
 | 14156 |   if test "$with_gnu_ld" = yes; then | 
 | 14157 |     need_lib_prefix=no | 
 | 14158 |   fi | 
 | 14159 |   need_version=yes | 
 | 14160 |   ;; | 
 | 14161 |  | 
 | 14162 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 14163 |   version_type=linux | 
 | 14164 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14165 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14166 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14167 |   case $host_vendor in | 
 | 14168 |     sni) | 
 | 14169 |       shlibpath_overrides_runpath=no | 
 | 14170 |       need_lib_prefix=no | 
 | 14171 |       export_dynamic_flag_spec='${wl}-Blargedynsym' | 
 | 14172 |       runpath_var=LD_RUN_PATH | 
 | 14173 |       ;; | 
 | 14174 |     siemens) | 
 | 14175 |       need_lib_prefix=no | 
 | 14176 |       ;; | 
 | 14177 |     motorola) | 
 | 14178 |       need_lib_prefix=no | 
 | 14179 |       need_version=no | 
 | 14180 |       shlibpath_overrides_runpath=no | 
 | 14181 |       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
 | 14182 |       ;; | 
 | 14183 |   esac | 
 | 14184 |   ;; | 
 | 14185 |  | 
 | 14186 | sysv4*MP*) | 
 | 14187 |   if test -d /usr/nec ;then | 
 | 14188 |     version_type=linux | 
 | 14189 |     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
 | 14190 |     soname_spec='$libname${shared_ext}.$major' | 
 | 14191 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 14192 |   fi | 
 | 14193 |   ;; | 
 | 14194 |  | 
 | 14195 | uts4*) | 
 | 14196 |   version_type=linux | 
 | 14197 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14198 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14199 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14200 |   ;; | 
 | 14201 |  | 
 | 14202 | *) | 
 | 14203 |   dynamic_linker=no | 
 | 14204 |   ;; | 
 | 14205 | esac | 
 | 14206 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
 | 14207 | echo "${ECHO_T}$dynamic_linker" >&6 | 
 | 14208 | test "$dynamic_linker" = no && can_build_shared=no | 
 | 14209 |  | 
 | 14210 |  | 
 | 14211 | # The else clause should only fire when bootstrapping the | 
 | 14212 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 14213 | # with your package, and you will get complaints that there are | 
 | 14214 | # no rules to generate ltmain.sh. | 
 | 14215 | if test -f "$ltmain"; then | 
 | 14216 |   # See if we are running on zsh, and set the options which allow our commands through | 
 | 14217 |   # without removal of \ escapes. | 
 | 14218 |   if test -n "${ZSH_VERSION+set}" ; then | 
 | 14219 |     setopt NO_GLOB_SUBST | 
 | 14220 |   fi | 
 | 14221 |   # Now quote all the things that may contain metacharacters while being | 
 | 14222 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 14223 |   # variables and quote the copies for generation of the libtool script. | 
 | 14224 |   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
 | 14225 |     libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
 | 14226 |     old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
 | 14227 |     deplibs_check_method reload_flag reload_cmds need_locks \ | 
 | 14228 |     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
 | 14229 |     lt_cv_sys_global_symbol_to_c_name_address \ | 
 | 14230 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
 | 14231 |     old_postinstall_cmds old_postuninstall_cmds \ | 
 | 14232 |     compiler_F77 \ | 
 | 14233 |     CC_F77 \ | 
 | 14234 |     LD_F77 \ | 
 | 14235 |     lt_prog_compiler_wl_F77 \ | 
 | 14236 |     lt_prog_compiler_pic_F77 \ | 
 | 14237 |     lt_prog_compiler_static_F77 \ | 
 | 14238 |     lt_prog_compiler_no_builtin_flag_F77 \ | 
 | 14239 |     export_dynamic_flag_spec_F77 \ | 
 | 14240 |     thread_safe_flag_spec_F77 \ | 
 | 14241 |     whole_archive_flag_spec_F77 \ | 
 | 14242 |     enable_shared_with_static_runtimes_F77 \ | 
 | 14243 |     old_archive_cmds_F77 \ | 
 | 14244 |     old_archive_from_new_cmds_F77 \ | 
 | 14245 |     predep_objects_F77 \ | 
 | 14246 |     postdep_objects_F77 \ | 
 | 14247 |     predeps_F77 \ | 
 | 14248 |     postdeps_F77 \ | 
 | 14249 |     compiler_lib_search_path_F77 \ | 
 | 14250 |     archive_cmds_F77 \ | 
 | 14251 |     archive_expsym_cmds_F77 \ | 
 | 14252 |     postinstall_cmds_F77 \ | 
 | 14253 |     postuninstall_cmds_F77 \ | 
 | 14254 |     old_archive_from_expsyms_cmds_F77 \ | 
 | 14255 |     allow_undefined_flag_F77 \ | 
 | 14256 |     no_undefined_flag_F77 \ | 
 | 14257 |     export_symbols_cmds_F77 \ | 
 | 14258 |     hardcode_libdir_flag_spec_F77 \ | 
 | 14259 |     hardcode_libdir_flag_spec_ld_F77 \ | 
 | 14260 |     hardcode_libdir_separator_F77 \ | 
 | 14261 |     hardcode_automatic_F77 \ | 
 | 14262 |     module_cmds_F77 \ | 
 | 14263 |     module_expsym_cmds_F77 \ | 
 | 14264 |     lt_cv_prog_compiler_c_o_F77 \ | 
 | 14265 |     exclude_expsyms_F77 \ | 
 | 14266 |     include_expsyms_F77; do | 
 | 14267 |  | 
 | 14268 |     case $var in | 
 | 14269 |     old_archive_cmds_F77 | \ | 
 | 14270 |     old_archive_from_new_cmds_F77 | \ | 
 | 14271 |     archive_cmds_F77 | \ | 
 | 14272 |     archive_expsym_cmds_F77 | \ | 
 | 14273 |     module_cmds_F77 | \ | 
 | 14274 |     module_expsym_cmds_F77 | \ | 
 | 14275 |     old_archive_from_expsyms_cmds_F77 | \ | 
 | 14276 |     export_symbols_cmds_F77 | \ | 
 | 14277 |     extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
 | 14278 |     postinstall_cmds | postuninstall_cmds | \ | 
 | 14279 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 14280 |     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
 | 14281 |       # Double-quote double-evaled strings. | 
 | 14282 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 14283 |       ;; | 
 | 14284 |     *) | 
 | 14285 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 14286 |       ;; | 
 | 14287 |     esac | 
 | 14288 |   done | 
 | 14289 |  | 
 | 14290 |   case $lt_echo in | 
 | 14291 |   *'\$0 --fallback-echo"') | 
 | 14292 |     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
 | 14293 |     ;; | 
 | 14294 |   esac | 
 | 14295 |  | 
 | 14296 | cfgfile="$ofile" | 
 | 14297 |  | 
 | 14298 |   cat <<__EOF__ >> "$cfgfile" | 
 | 14299 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
 | 14300 |  | 
 | 14301 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 14302 |  | 
 | 14303 | # Shell to use when invoking shell scripts. | 
 | 14304 | SHELL=$lt_SHELL | 
 | 14305 |  | 
 | 14306 | # Whether or not to build shared libraries. | 
 | 14307 | build_libtool_libs=$enable_shared | 
 | 14308 |  | 
 | 14309 | # Whether or not to build static libraries. | 
 | 14310 | build_old_libs=$enable_static | 
 | 14311 |  | 
 | 14312 | # Whether or not to add -lc for building shared libraries. | 
 | 14313 | build_libtool_need_lc=$archive_cmds_need_lc_F77 | 
 | 14314 |  | 
 | 14315 | # Whether or not to disallow shared libs when runtime libs are static | 
 | 14316 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 | 
 | 14317 |  | 
 | 14318 | # Whether or not to optimize for fast installation. | 
 | 14319 | fast_install=$enable_fast_install | 
 | 14320 |  | 
 | 14321 | # The host system. | 
 | 14322 | host_alias=$host_alias | 
 | 14323 | host=$host | 
 | 14324 |  | 
 | 14325 | # An echo program that does not interpret backslashes. | 
 | 14326 | echo=$lt_echo | 
 | 14327 |  | 
 | 14328 | # The archiver. | 
 | 14329 | AR=$lt_AR | 
 | 14330 | AR_FLAGS=$lt_AR_FLAGS | 
 | 14331 |  | 
 | 14332 | # A C compiler. | 
 | 14333 | LTCC=$lt_LTCC | 
 | 14334 |  | 
 | 14335 | # A language-specific compiler. | 
 | 14336 | CC=$lt_compiler_F77 | 
 | 14337 |  | 
 | 14338 | # Is the compiler the GNU C compiler? | 
 | 14339 | with_gcc=$GCC_F77 | 
 | 14340 |  | 
 | 14341 | # An ERE matcher. | 
 | 14342 | EGREP=$lt_EGREP | 
 | 14343 |  | 
 | 14344 | # The linker used to build libraries. | 
 | 14345 | LD=$lt_LD_F77 | 
 | 14346 |  | 
 | 14347 | # Whether we need hard or soft links. | 
 | 14348 | LN_S=$lt_LN_S | 
 | 14349 |  | 
 | 14350 | # A BSD-compatible nm program. | 
 | 14351 | NM=$lt_NM | 
 | 14352 |  | 
 | 14353 | # A symbol stripping program | 
 | 14354 | STRIP=$STRIP | 
 | 14355 |  | 
 | 14356 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 14357 | MAGIC_CMD=$MAGIC_CMD | 
 | 14358 |  | 
 | 14359 | # Used on cygwin: DLL creation program. | 
 | 14360 | DLLTOOL="$DLLTOOL" | 
 | 14361 |  | 
 | 14362 | # Used on cygwin: object dumper. | 
 | 14363 | OBJDUMP="$OBJDUMP" | 
 | 14364 |  | 
 | 14365 | # Used on cygwin: assembler. | 
 | 14366 | AS="$AS" | 
 | 14367 |  | 
 | 14368 | # The name of the directory that contains temporary libtool files. | 
 | 14369 | objdir=$objdir | 
 | 14370 |  | 
 | 14371 | # How to create reloadable object files. | 
 | 14372 | reload_flag=$lt_reload_flag | 
 | 14373 | reload_cmds=$lt_reload_cmds | 
 | 14374 |  | 
 | 14375 | # How to pass a linker flag through the compiler. | 
 | 14376 | wl=$lt_lt_prog_compiler_wl_F77 | 
 | 14377 |  | 
 | 14378 | # Object file suffix (normally "o"). | 
 | 14379 | objext="$ac_objext" | 
 | 14380 |  | 
 | 14381 | # Old archive suffix (normally "a"). | 
 | 14382 | libext="$libext" | 
 | 14383 |  | 
 | 14384 | # Shared library suffix (normally ".so"). | 
 | 14385 | shrext='$shrext' | 
 | 14386 |  | 
 | 14387 | # Executable file suffix (normally ""). | 
 | 14388 | exeext="$exeext" | 
 | 14389 |  | 
 | 14390 | # Additional compiler flags for building library objects. | 
 | 14391 | pic_flag=$lt_lt_prog_compiler_pic_F77 | 
 | 14392 | pic_mode=$pic_mode | 
 | 14393 |  | 
 | 14394 | # What is the maximum length of a command? | 
 | 14395 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
 | 14396 |  | 
 | 14397 | # Does compiler simultaneously support -c and -o options? | 
 | 14398 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 | 
 | 14399 |  | 
 | 14400 | # Must we lock files when doing compilation ? | 
 | 14401 | need_locks=$lt_need_locks | 
 | 14402 |  | 
 | 14403 | # Do we need the lib prefix for modules? | 
 | 14404 | need_lib_prefix=$need_lib_prefix | 
 | 14405 |  | 
 | 14406 | # Do we need a version for libraries? | 
 | 14407 | need_version=$need_version | 
 | 14408 |  | 
 | 14409 | # Whether dlopen is supported. | 
 | 14410 | dlopen_support=$enable_dlopen | 
 | 14411 |  | 
 | 14412 | # Whether dlopen of programs is supported. | 
 | 14413 | dlopen_self=$enable_dlopen_self | 
 | 14414 |  | 
 | 14415 | # Whether dlopen of statically linked programs is supported. | 
 | 14416 | dlopen_self_static=$enable_dlopen_self_static | 
 | 14417 |  | 
 | 14418 | # Compiler flag to prevent dynamic linking. | 
 | 14419 | link_static_flag=$lt_lt_prog_compiler_static_F77 | 
 | 14420 |  | 
 | 14421 | # Compiler flag to turn off builtin functions. | 
 | 14422 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 | 
 | 14423 |  | 
 | 14424 | # Compiler flag to allow reflexive dlopens. | 
 | 14425 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 | 
 | 14426 |  | 
 | 14427 | # Compiler flag to generate shared objects directly from archives. | 
 | 14428 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 | 
 | 14429 |  | 
 | 14430 | # Compiler flag to generate thread-safe objects. | 
 | 14431 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 | 
 | 14432 |  | 
 | 14433 | # Library versioning type. | 
 | 14434 | version_type=$version_type | 
 | 14435 |  | 
 | 14436 | # Format of library name prefix. | 
 | 14437 | libname_spec=$lt_libname_spec | 
 | 14438 |  | 
 | 14439 | # List of archive names.  First name is the real one, the rest are links. | 
 | 14440 | # The last name is the one that the linker finds with -lNAME. | 
 | 14441 | library_names_spec=$lt_library_names_spec | 
 | 14442 |  | 
 | 14443 | # The coded name of the library, if different from the real name. | 
 | 14444 | soname_spec=$lt_soname_spec | 
 | 14445 |  | 
 | 14446 | # Commands used to build and install an old-style archive. | 
 | 14447 | RANLIB=$lt_RANLIB | 
 | 14448 | old_archive_cmds=$lt_old_archive_cmds_F77 | 
 | 14449 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 14450 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 14451 |  | 
 | 14452 | # Create an old-style archive from a shared archive. | 
 | 14453 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 | 
 | 14454 |  | 
 | 14455 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 14456 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 | 
 | 14457 |  | 
 | 14458 | # Commands used to build and install a shared archive. | 
 | 14459 | archive_cmds=$lt_archive_cmds_F77 | 
 | 14460 | archive_expsym_cmds=$lt_archive_expsym_cmds_F77 | 
 | 14461 | postinstall_cmds=$lt_postinstall_cmds | 
 | 14462 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 14463 |  | 
 | 14464 | # Commands used to build a loadable module (assumed same as above if empty) | 
 | 14465 | module_cmds=$lt_module_cmds_F77 | 
 | 14466 | module_expsym_cmds=$lt_module_expsym_cmds_F77 | 
 | 14467 |  | 
 | 14468 | # Commands to strip libraries. | 
 | 14469 | old_striplib=$lt_old_striplib | 
 | 14470 | striplib=$lt_striplib | 
 | 14471 |  | 
 | 14472 | # Dependencies to place before the objects being linked to create a | 
 | 14473 | # shared library. | 
 | 14474 | predep_objects=$lt_predep_objects_F77 | 
 | 14475 |  | 
 | 14476 | # Dependencies to place after the objects being linked to create a | 
 | 14477 | # shared library. | 
 | 14478 | postdep_objects=$lt_postdep_objects_F77 | 
 | 14479 |  | 
 | 14480 | # Dependencies to place before the objects being linked to create a | 
 | 14481 | # shared library. | 
 | 14482 | predeps=$lt_predeps_F77 | 
 | 14483 |  | 
 | 14484 | # Dependencies to place after the objects being linked to create a | 
 | 14485 | # shared library. | 
 | 14486 | postdeps=$lt_postdeps_F77 | 
 | 14487 |  | 
 | 14488 | # The library search path used internally by the compiler when linking | 
 | 14489 | # a shared library. | 
 | 14490 | compiler_lib_search_path=$lt_compiler_lib_search_path_F77 | 
 | 14491 |  | 
 | 14492 | # Method to check whether dependent libraries are shared objects. | 
 | 14493 | deplibs_check_method=$lt_deplibs_check_method | 
 | 14494 |  | 
 | 14495 | # Command to use when deplibs_check_method == file_magic. | 
 | 14496 | file_magic_cmd=$lt_file_magic_cmd | 
 | 14497 |  | 
 | 14498 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 14499 | allow_undefined_flag=$lt_allow_undefined_flag_F77 | 
 | 14500 |  | 
 | 14501 | # Flag that forces no undefined symbols. | 
 | 14502 | no_undefined_flag=$lt_no_undefined_flag_F77 | 
 | 14503 |  | 
 | 14504 | # Commands used to finish a libtool library installation in a directory. | 
 | 14505 | finish_cmds=$lt_finish_cmds | 
 | 14506 |  | 
 | 14507 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 14508 | finish_eval=$lt_finish_eval | 
 | 14509 |  | 
 | 14510 | # Take the output of nm and produce a listing of raw symbols and C names. | 
 | 14511 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
 | 14512 |  | 
 | 14513 | # Transform the output of nm in a proper C declaration | 
 | 14514 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
 | 14515 |  | 
 | 14516 | # Transform the output of nm in a C name address pair | 
 | 14517 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
 | 14518 |  | 
 | 14519 | # This is the shared library runtime path variable. | 
 | 14520 | runpath_var=$runpath_var | 
 | 14521 |  | 
 | 14522 | # This is the shared library path variable. | 
 | 14523 | shlibpath_var=$shlibpath_var | 
 | 14524 |  | 
 | 14525 | # Is shlibpath searched before the hard-coded library search path? | 
 | 14526 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 14527 |  | 
 | 14528 | # How to hardcode a shared library path into an executable. | 
 | 14529 | hardcode_action=$hardcode_action_F77 | 
 | 14530 |  | 
 | 14531 | # Whether we should hardcode library paths into libraries. | 
 | 14532 | hardcode_into_libs=$hardcode_into_libs | 
 | 14533 |  | 
 | 14534 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 14535 | # This must work even if \$libdir does not exist. | 
 | 14536 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 | 
 | 14537 |  | 
 | 14538 | # If ld is used when linking, flag to hardcode \$libdir into | 
 | 14539 | # a binary during linking. This must work even if \$libdir does | 
 | 14540 | # not exist. | 
 | 14541 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 | 
 | 14542 |  | 
 | 14543 | # Whether we need a single -rpath flag with a separated argument. | 
 | 14544 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 | 
 | 14545 |  | 
 | 14546 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
 | 14547 | # resulting binary. | 
 | 14548 | hardcode_direct=$hardcode_direct_F77 | 
 | 14549 |  | 
 | 14550 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 14551 | # resulting binary. | 
 | 14552 | hardcode_minus_L=$hardcode_minus_L_F77 | 
 | 14553 |  | 
 | 14554 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 14555 | # the resulting binary. | 
 | 14556 | hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 | 
 | 14557 |  | 
 | 14558 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
 | 14559 | # and all subsequent libraries and executables linked against it. | 
 | 14560 | hardcode_automatic=$hardcode_automatic_F77 | 
 | 14561 |  | 
 | 14562 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 14563 | # restored at relink time. | 
 | 14564 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 14565 |  | 
 | 14566 | # Whether libtool must link a program against all its dependency libraries. | 
 | 14567 | link_all_deplibs=$link_all_deplibs_F77 | 
 | 14568 |  | 
 | 14569 | # Compile-time system search path for libraries | 
 | 14570 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 14571 |  | 
 | 14572 | # Run-time system search path for libraries | 
 | 14573 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 14574 |  | 
 | 14575 | # Fix the shell variable \$srcfile for the compiler. | 
 | 14576 | fix_srcfile_path="$fix_srcfile_path_F77" | 
 | 14577 |  | 
 | 14578 | # Set to yes if exported symbols are required. | 
 | 14579 | always_export_symbols=$always_export_symbols_F77 | 
 | 14580 |  | 
 | 14581 | # The commands to list exported symbols. | 
 | 14582 | export_symbols_cmds=$lt_export_symbols_cmds_F77 | 
 | 14583 |  | 
 | 14584 | # The commands to extract the exported symbol list from a shared archive. | 
 | 14585 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 14586 |  | 
 | 14587 | # Symbols that should not be listed in the preloaded symbols. | 
 | 14588 | exclude_expsyms=$lt_exclude_expsyms_F77 | 
 | 14589 |  | 
 | 14590 | # Symbols that must always be exported. | 
 | 14591 | include_expsyms=$lt_include_expsyms_F77 | 
 | 14592 |  | 
 | 14593 | # ### END LIBTOOL TAG CONFIG: $tagname | 
 | 14594 |  | 
 | 14595 | __EOF__ | 
 | 14596 |  | 
 | 14597 |  | 
 | 14598 | else | 
 | 14599 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 14600 |   # `config.status --recheck' to rerun these tests and create the | 
 | 14601 |   # libtool script then. | 
 | 14602 |   test -f Makefile && make "$ltmain" | 
 | 14603 | fi | 
 | 14604 |  | 
 | 14605 |  | 
 | 14606 | ac_ext=c | 
 | 14607 | ac_cpp='$CPP $CPPFLAGS' | 
 | 14608 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 14609 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 14610 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 14611 |  | 
 | 14612 | CC="$lt_save_CC" | 
 | 14613 |  | 
 | 14614 | 	else | 
 | 14615 | 	  tagname="" | 
 | 14616 | 	fi | 
 | 14617 | 	;; | 
 | 14618 |  | 
 | 14619 |       GCJ) | 
 | 14620 | 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then | 
 | 14621 |  | 
 | 14622 |  | 
 | 14623 |  | 
 | 14624 | # Source file extension for Java test sources. | 
 | 14625 | ac_ext=java | 
 | 14626 |  | 
 | 14627 | # Object file extension for compiled Java test sources. | 
 | 14628 | objext=o | 
 | 14629 | objext_GCJ=$objext | 
 | 14630 |  | 
 | 14631 | # Code to be used in simple compile tests | 
 | 14632 | lt_simple_compile_test_code="class foo {}\n" | 
 | 14633 |  | 
 | 14634 | # Code to be used in simple link tests | 
 | 14635 | lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' | 
 | 14636 |  | 
 | 14637 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
 | 14638 |  | 
 | 14639 | # If no C compiler was specified, use CC. | 
 | 14640 | LTCC=${LTCC-"$CC"} | 
 | 14641 |  | 
 | 14642 | # Allow CC to be a program name with arguments. | 
 | 14643 | compiler=$CC | 
 | 14644 |  | 
 | 14645 |  | 
 | 14646 | # Allow CC to be a program name with arguments. | 
 | 14647 | lt_save_CC="$CC" | 
 | 14648 | CC=${GCJ-"gcj"} | 
 | 14649 | compiler=$CC | 
 | 14650 | compiler_GCJ=$CC | 
 | 14651 |  | 
 | 14652 | # GCJ did not exist at the time GCC didn't implicitly link libc in. | 
 | 14653 | archive_cmds_need_lc_GCJ=no | 
 | 14654 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 14655 |  | 
 | 14656 | lt_prog_compiler_no_builtin_flag_GCJ= | 
 | 14657 |  | 
 | 14658 | if test "$GCC" = yes; then | 
 | 14659 |   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' | 
 | 14660 |  | 
 | 14661 |   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 
 | 14662 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | 
 | 14663 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then | 
 | 14664 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 14665 | else | 
 | 14666 |   lt_cv_prog_compiler_rtti_exceptions=no | 
 | 14667 |   ac_outfile=conftest.$ac_objext | 
 | 14668 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 14669 |    lt_compiler_flag="-fno-rtti -fno-exceptions" | 
 | 14670 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 14671 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 14672 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 14673 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 14674 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 14675 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 14676 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 14677 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 14678 |    -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 14679 |    (eval echo "\"\$as_me:14679: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 14680 |    (eval "$lt_compile" 2>conftest.err) | 
 | 14681 |    ac_status=$? | 
 | 14682 |    cat conftest.err >&5 | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 14683 |    echo "$as_me:14683: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 14684 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 14685 |      # The compiler can only warn and ignore the option if not recognized | 
 | 14686 |      # So say no if there are warnings | 
 | 14687 |      if test ! -s conftest.err; then | 
 | 14688 |        lt_cv_prog_compiler_rtti_exceptions=yes | 
 | 14689 |      fi | 
 | 14690 |    fi | 
 | 14691 |    $rm conftest* | 
 | 14692 |  | 
 | 14693 | fi | 
 | 14694 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 | 
 | 14695 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 | 
 | 14696 |  | 
 | 14697 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | 
 | 14698 |     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" | 
 | 14699 | else | 
 | 14700 |     : | 
 | 14701 | fi | 
 | 14702 |  | 
 | 14703 | fi | 
 | 14704 |  | 
 | 14705 | lt_prog_compiler_wl_GCJ= | 
 | 14706 | lt_prog_compiler_pic_GCJ= | 
 | 14707 | lt_prog_compiler_static_GCJ= | 
 | 14708 |  | 
 | 14709 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
 | 14710 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
 | 14711 |  | 
 | 14712 |   if test "$GCC" = yes; then | 
 | 14713 |     lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 14714 |     lt_prog_compiler_static_GCJ='-static' | 
 | 14715 |  | 
 | 14716 |     case $host_os in | 
 | 14717 |       aix*) | 
 | 14718 |       # All AIX code is PIC. | 
 | 14719 |       if test "$host_cpu" = ia64; then | 
 | 14720 | 	# AIX 5 now supports IA64 processor | 
 | 14721 | 	lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 14722 |       fi | 
 | 14723 |       ;; | 
 | 14724 |  | 
 | 14725 |     amigaos*) | 
 | 14726 |       # FIXME: we need at least 68020 code to build shared libraries, but | 
 | 14727 |       # adding the `-m68020' flag to GCC prevents building anything better, | 
 | 14728 |       # like `-m68040'. | 
 | 14729 |       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' | 
 | 14730 |       ;; | 
 | 14731 |  | 
 | 14732 |     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
 | 14733 |       # PIC is the default for these OSes. | 
 | 14734 |       ;; | 
 | 14735 |  | 
 | 14736 |     mingw* | pw32* | os2*) | 
 | 14737 |       # This hack is so that the source file can tell whether it is being | 
 | 14738 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 14739 |       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' | 
 | 14740 |       ;; | 
 | 14741 |  | 
 | 14742 |     darwin* | rhapsody*) | 
 | 14743 |       # PIC is the default on this platform | 
 | 14744 |       # Common symbols not allowed in MH_DYLIB files | 
 | 14745 |       lt_prog_compiler_pic_GCJ='-fno-common' | 
 | 14746 |       ;; | 
 | 14747 |  | 
 | 14748 |     msdosdjgpp*) | 
 | 14749 |       # Just because we use GCC doesn't mean we suddenly get shared libraries | 
 | 14750 |       # on systems that don't support them. | 
 | 14751 |       lt_prog_compiler_can_build_shared_GCJ=no | 
 | 14752 |       enable_shared=no | 
 | 14753 |       ;; | 
 | 14754 |  | 
 | 14755 |     sysv4*MP*) | 
 | 14756 |       if test -d /usr/nec; then | 
 | 14757 | 	lt_prog_compiler_pic_GCJ=-Kconform_pic | 
 | 14758 |       fi | 
 | 14759 |       ;; | 
 | 14760 |  | 
 | 14761 |     hpux*) | 
 | 14762 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 14763 |       # not for PA HP-UX. | 
 | 14764 |       case "$host_cpu" in | 
 | 14765 |       hppa*64*|ia64*) | 
 | 14766 | 	# +Z the default | 
 | 14767 | 	;; | 
 | 14768 |       *) | 
 | 14769 | 	lt_prog_compiler_pic_GCJ='-fPIC' | 
 | 14770 | 	;; | 
 | 14771 |       esac | 
 | 14772 |       ;; | 
 | 14773 |  | 
 | 14774 |     *) | 
 | 14775 |       lt_prog_compiler_pic_GCJ='-fPIC' | 
 | 14776 |       ;; | 
 | 14777 |     esac | 
 | 14778 |   else | 
 | 14779 |     # PORTME Check for flag to pass linker flags through the system compiler. | 
 | 14780 |     case $host_os in | 
 | 14781 |     aix*) | 
 | 14782 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 14783 |       if test "$host_cpu" = ia64; then | 
 | 14784 | 	# AIX 5 now supports IA64 processor | 
 | 14785 | 	lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 14786 |       else | 
 | 14787 | 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' | 
 | 14788 |       fi | 
 | 14789 |       ;; | 
 | 14790 |  | 
 | 14791 |     mingw* | pw32* | os2*) | 
 | 14792 |       # This hack is so that the source file can tell whether it is being | 
 | 14793 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 14794 |       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' | 
 | 14795 |       ;; | 
 | 14796 |  | 
 | 14797 |     hpux9* | hpux10* | hpux11*) | 
 | 14798 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 14799 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 14800 |       # not for PA HP-UX. | 
 | 14801 |       case "$host_cpu" in | 
 | 14802 |       hppa*64*|ia64*) | 
 | 14803 | 	# +Z the default | 
 | 14804 | 	;; | 
 | 14805 |       *) | 
 | 14806 | 	lt_prog_compiler_pic_GCJ='+Z' | 
 | 14807 | 	;; | 
 | 14808 |       esac | 
 | 14809 |       # Is there a better lt_prog_compiler_static that works with the bundled CC? | 
 | 14810 |       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' | 
 | 14811 |       ;; | 
 | 14812 |  | 
 | 14813 |     irix5* | irix6* | nonstopux*) | 
 | 14814 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 14815 |       # PIC (with -KPIC) is the default. | 
 | 14816 |       lt_prog_compiler_static_GCJ='-non_shared' | 
 | 14817 |       ;; | 
 | 14818 |  | 
 | 14819 |     newsos6) | 
 | 14820 |       lt_prog_compiler_pic_GCJ='-KPIC' | 
 | 14821 |       lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 14822 |       ;; | 
 | 14823 |  | 
 | 14824 |     linux*) | 
 | 14825 |       case $CC in | 
 | 14826 |       icc|ecc) | 
 | 14827 | 	lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 14828 | 	lt_prog_compiler_pic_GCJ='-KPIC' | 
 | 14829 | 	lt_prog_compiler_static_GCJ='-static' | 
 | 14830 |         ;; | 
 | 14831 |       ccc) | 
 | 14832 |         lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 14833 |         # All Alpha code is PIC. | 
 | 14834 |         lt_prog_compiler_static_GCJ='-non_shared' | 
 | 14835 |         ;; | 
 | 14836 |       esac | 
 | 14837 |       ;; | 
 | 14838 |  | 
 | 14839 |     osf3* | osf4* | osf5*) | 
 | 14840 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 14841 |       # All OSF/1 code is PIC. | 
 | 14842 |       lt_prog_compiler_static_GCJ='-non_shared' | 
 | 14843 |       ;; | 
 | 14844 |  | 
 | 14845 |     sco3.2v5*) | 
 | 14846 |       lt_prog_compiler_pic_GCJ='-Kpic' | 
 | 14847 |       lt_prog_compiler_static_GCJ='-dn' | 
 | 14848 |       ;; | 
 | 14849 |  | 
 | 14850 |     solaris*) | 
 | 14851 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 14852 |       lt_prog_compiler_pic_GCJ='-KPIC' | 
 | 14853 |       lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 14854 |       ;; | 
 | 14855 |  | 
 | 14856 |     sunos4*) | 
 | 14857 |       lt_prog_compiler_wl_GCJ='-Qoption ld ' | 
 | 14858 |       lt_prog_compiler_pic_GCJ='-PIC' | 
 | 14859 |       lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 14860 |       ;; | 
 | 14861 |  | 
 | 14862 |     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 14863 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 14864 |       lt_prog_compiler_pic_GCJ='-KPIC' | 
 | 14865 |       lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 14866 |       ;; | 
 | 14867 |  | 
 | 14868 |     sysv4*MP*) | 
 | 14869 |       if test -d /usr/nec ;then | 
 | 14870 | 	lt_prog_compiler_pic_GCJ='-Kconform_pic' | 
 | 14871 | 	lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 14872 |       fi | 
 | 14873 |       ;; | 
 | 14874 |  | 
 | 14875 |     uts4*) | 
 | 14876 |       lt_prog_compiler_pic_GCJ='-pic' | 
 | 14877 |       lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 14878 |       ;; | 
 | 14879 |  | 
 | 14880 |     *) | 
 | 14881 |       lt_prog_compiler_can_build_shared_GCJ=no | 
 | 14882 |       ;; | 
 | 14883 |     esac | 
 | 14884 |   fi | 
 | 14885 |  | 
 | 14886 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 | 
 | 14887 | echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 | 
 | 14888 |  | 
 | 14889 | # | 
 | 14890 | # Check to make sure the PIC flag actually works. | 
 | 14891 | # | 
 | 14892 | if test -n "$lt_prog_compiler_pic_GCJ"; then | 
 | 14893 |   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 | 
 | 14894 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 | 
 | 14895 | if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then | 
 | 14896 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 14897 | else | 
 | 14898 |   lt_prog_compiler_pic_works_GCJ=no | 
 | 14899 |   ac_outfile=conftest.$ac_objext | 
 | 14900 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 14901 |    lt_compiler_flag="$lt_prog_compiler_pic_GCJ" | 
 | 14902 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 14903 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 14904 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 14905 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 14906 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 14907 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 14908 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 14909 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 14910 |    -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 14911 |    (eval echo "\"\$as_me:14911: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 14912 |    (eval "$lt_compile" 2>conftest.err) | 
 | 14913 |    ac_status=$? | 
 | 14914 |    cat conftest.err >&5 | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 14915 |    echo "$as_me:14915: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 14916 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 14917 |      # The compiler can only warn and ignore the option if not recognized | 
 | 14918 |      # So say no if there are warnings | 
 | 14919 |      if test ! -s conftest.err; then | 
 | 14920 |        lt_prog_compiler_pic_works_GCJ=yes | 
 | 14921 |      fi | 
 | 14922 |    fi | 
 | 14923 |    $rm conftest* | 
 | 14924 |  | 
 | 14925 | fi | 
 | 14926 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 | 
 | 14927 | echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 | 
 | 14928 |  | 
 | 14929 | if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then | 
 | 14930 |     case $lt_prog_compiler_pic_GCJ in | 
 | 14931 |      "" | " "*) ;; | 
 | 14932 |      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; | 
 | 14933 |      esac | 
 | 14934 | else | 
 | 14935 |     lt_prog_compiler_pic_GCJ= | 
 | 14936 |      lt_prog_compiler_can_build_shared_GCJ=no | 
 | 14937 | fi | 
 | 14938 |  | 
 | 14939 | fi | 
 | 14940 | case "$host_os" in | 
 | 14941 |   # For platforms which do not support PIC, -DPIC is meaningless: | 
 | 14942 |   *djgpp*) | 
 | 14943 |     lt_prog_compiler_pic_GCJ= | 
 | 14944 |     ;; | 
 | 14945 |   *) | 
 | 14946 |     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" | 
 | 14947 |     ;; | 
 | 14948 | esac | 
 | 14949 |  | 
 | 14950 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
 | 14951 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
 | 14952 | if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then | 
 | 14953 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 14954 | else | 
 | 14955 |   lt_cv_prog_compiler_c_o_GCJ=no | 
 | 14956 |    $rm -r conftest 2>/dev/null | 
 | 14957 |    mkdir conftest | 
 | 14958 |    cd conftest | 
 | 14959 |    mkdir out | 
 | 14960 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 14961 |  | 
 | 14962 |    # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
 | 14963 |    # that will create temporary files in the current directory regardless of | 
 | 14964 |    # the output directory.  Thus, making CWD read-only will cause this test | 
 | 14965 |    # to fail, enabling locking or at least warning the user not to do parallel | 
 | 14966 |    # builds. | 
 | 14967 |    chmod -w . | 
 | 14968 |  | 
 | 14969 |    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
 | 14970 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 14971 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 14972 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 14973 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 14974 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 14975 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 14976 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 14977 |    -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 14978 |    (eval echo "\"\$as_me:14978: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 14979 |    (eval "$lt_compile" 2>out/conftest.err) | 
 | 14980 |    ac_status=$? | 
 | 14981 |    cat out/conftest.err >&5 | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 14982 |    echo "$as_me:14982: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 14983 |    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
 | 14984 |    then | 
 | 14985 |      # The compiler can only warn and ignore the option if not recognized | 
 | 14986 |      # So say no if there are warnings | 
 | 14987 |      if test ! -s out/conftest.err; then | 
 | 14988 |        lt_cv_prog_compiler_c_o_GCJ=yes | 
 | 14989 |      fi | 
 | 14990 |    fi | 
 | 14991 |    chmod u+w . | 
 | 14992 |    $rm conftest* out/* | 
 | 14993 |    rmdir out | 
 | 14994 |    cd .. | 
 | 14995 |    rmdir conftest | 
 | 14996 |    $rm conftest* | 
 | 14997 |  | 
 | 14998 | fi | 
 | 14999 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 | 
 | 15000 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 | 
 | 15001 |  | 
 | 15002 |  | 
 | 15003 | hard_links="nottested" | 
 | 15004 | if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then | 
 | 15005 |   # do not overwrite the value of need_locks provided by the user | 
 | 15006 |   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
 | 15007 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
 | 15008 |   hard_links=yes | 
 | 15009 |   $rm conftest* | 
 | 15010 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 15011 |   touch conftest.a | 
 | 15012 |   ln conftest.a conftest.b 2>&5 || hard_links=no | 
 | 15013 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 15014 |   echo "$as_me:$LINENO: result: $hard_links" >&5 | 
 | 15015 | echo "${ECHO_T}$hard_links" >&6 | 
 | 15016 |   if test "$hard_links" = no; then | 
 | 15017 |     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
 | 15018 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
 | 15019 |     need_locks=warn | 
 | 15020 |   fi | 
 | 15021 | else | 
 | 15022 |   need_locks=no | 
 | 15023 | fi | 
 | 15024 |  | 
 | 15025 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
 | 15026 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 15027 |  | 
 | 15028 |   runpath_var= | 
 | 15029 |   allow_undefined_flag_GCJ= | 
 | 15030 |   enable_shared_with_static_runtimes_GCJ=no | 
 | 15031 |   archive_cmds_GCJ= | 
 | 15032 |   archive_expsym_cmds_GCJ= | 
 | 15033 |   old_archive_From_new_cmds_GCJ= | 
 | 15034 |   old_archive_from_expsyms_cmds_GCJ= | 
 | 15035 |   export_dynamic_flag_spec_GCJ= | 
 | 15036 |   whole_archive_flag_spec_GCJ= | 
 | 15037 |   thread_safe_flag_spec_GCJ= | 
 | 15038 |   hardcode_libdir_flag_spec_GCJ= | 
 | 15039 |   hardcode_libdir_flag_spec_ld_GCJ= | 
 | 15040 |   hardcode_libdir_separator_GCJ= | 
 | 15041 |   hardcode_direct_GCJ=no | 
 | 15042 |   hardcode_minus_L_GCJ=no | 
 | 15043 |   hardcode_shlibpath_var_GCJ=unsupported | 
 | 15044 |   link_all_deplibs_GCJ=unknown | 
 | 15045 |   hardcode_automatic_GCJ=no | 
 | 15046 |   module_cmds_GCJ= | 
 | 15047 |   module_expsym_cmds_GCJ= | 
 | 15048 |   always_export_symbols_GCJ=no | 
 | 15049 |   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 15050 |   # include_expsyms should be a list of space-separated symbols to be *always* | 
 | 15051 |   # included in the symbol list | 
 | 15052 |   include_expsyms_GCJ= | 
 | 15053 |   # exclude_expsyms can be an extended regexp of symbols to exclude | 
 | 15054 |   # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
 | 15055 |   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
 | 15056 |   # as well as any symbol that contains `d'. | 
 | 15057 |   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" | 
 | 15058 |   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
 | 15059 |   # platforms (ab)use it in PIC code, but their linkers get confused if | 
 | 15060 |   # the symbol is explicitly referenced.  Since portable code cannot | 
 | 15061 |   # rely on this symbol name, it's probably fine to never include it in | 
 | 15062 |   # preloaded symbol tables. | 
 | 15063 |   extract_expsyms_cmds= | 
 | 15064 |  | 
 | 15065 |   case $host_os in | 
 | 15066 |   cygwin* | mingw* | pw32*) | 
 | 15067 |     # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
 | 15068 |     # When not using gcc, we currently assume that we are using | 
 | 15069 |     # Microsoft Visual C++. | 
 | 15070 |     if test "$GCC" != yes; then | 
 | 15071 |       with_gnu_ld=no | 
 | 15072 |     fi | 
 | 15073 |     ;; | 
 | 15074 |   openbsd*) | 
 | 15075 |     with_gnu_ld=no | 
 | 15076 |     ;; | 
 | 15077 |   esac | 
 | 15078 |  | 
 | 15079 |   ld_shlibs_GCJ=yes | 
 | 15080 |   if test "$with_gnu_ld" = yes; then | 
 | 15081 |     # If archive_cmds runs LD, not CC, wlarc should be empty | 
 | 15082 |     wlarc='${wl}' | 
 | 15083 |  | 
 | 15084 |     # See if GNU ld supports shared libraries. | 
 | 15085 |     case $host_os in | 
 | 15086 |     aix3* | aix4* | aix5*) | 
 | 15087 |       # On AIX/PPC, the GNU linker is very broken | 
 | 15088 |       if test "$host_cpu" != ia64; then | 
 | 15089 | 	ld_shlibs_GCJ=no | 
 | 15090 | 	cat <<EOF 1>&2 | 
 | 15091 |  | 
 | 15092 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
 | 15093 | *** to be unable to reliably create shared libraries on AIX. | 
 | 15094 | *** Therefore, libtool is disabling shared libraries support.  If you | 
 | 15095 | *** really care for shared libraries, you may want to modify your PATH | 
 | 15096 | *** so that a non-GNU linker is found, and then restart. | 
 | 15097 |  | 
 | 15098 | EOF | 
 | 15099 |       fi | 
 | 15100 |       ;; | 
 | 15101 |  | 
 | 15102 |     amigaos*) | 
 | 15103 |       archive_cmds_GCJ='$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)' | 
 | 15104 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15105 |       hardcode_minus_L_GCJ=yes | 
 | 15106 |  | 
 | 15107 |       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
 | 15108 |       # that the semantics of dynamic libraries on AmigaOS, at least up | 
 | 15109 |       # to version 4, is to share data among multiple programs linked | 
 | 15110 |       # with the same dynamic library.  Since this doesn't match the | 
 | 15111 |       # behavior of shared libraries on other platforms, we can't use | 
 | 15112 |       # them. | 
 | 15113 |       ld_shlibs_GCJ=no | 
 | 15114 |       ;; | 
 | 15115 |  | 
 | 15116 |     beos*) | 
 | 15117 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 15118 | 	allow_undefined_flag_GCJ=unsupported | 
 | 15119 | 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
 | 15120 | 	# support --undefined.  This deserves some investigation.  FIXME | 
 | 15121 | 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 15122 |       else | 
 | 15123 | 	ld_shlibs_GCJ=no | 
 | 15124 |       fi | 
 | 15125 |       ;; | 
 | 15126 |  | 
 | 15127 |     cygwin* | mingw* | pw32*) | 
 | 15128 |       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, | 
 | 15129 |       # as there is no search path for DLLs. | 
 | 15130 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15131 |       allow_undefined_flag_GCJ=unsupported | 
 | 15132 |       always_export_symbols_GCJ=no | 
 | 15133 |       enable_shared_with_static_runtimes_GCJ=yes | 
 | 15134 |       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 15135 |  | 
 | 15136 |       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
 | 15137 |         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
 | 15138 | 	# If the export-symbols file already is a .def file (1st line | 
 | 15139 | 	# is EXPORTS), use it as is; otherwise, prepend... | 
 | 15140 | 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
 | 15141 | 	  cp $export_symbols $output_objdir/$soname.def; | 
 | 15142 | 	else | 
 | 15143 | 	  echo EXPORTS > $output_objdir/$soname.def; | 
 | 15144 | 	  cat $export_symbols >> $output_objdir/$soname.def; | 
 | 15145 | 	fi~ | 
 | 15146 | 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib' | 
 | 15147 |       else | 
 | 15148 | 	ld_shlibs=no | 
 | 15149 |       fi | 
 | 15150 |       ;; | 
 | 15151 |  | 
 | 15152 |     netbsd*) | 
 | 15153 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 15154 | 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
 | 15155 | 	wlarc= | 
 | 15156 |       else | 
 | 15157 | 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 15158 | 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 15159 |       fi | 
 | 15160 |       ;; | 
 | 15161 |  | 
 | 15162 |     solaris* | sysv5*) | 
 | 15163 |       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 
 | 15164 | 	ld_shlibs_GCJ=no | 
 | 15165 | 	cat <<EOF 1>&2 | 
 | 15166 |  | 
 | 15167 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
 | 15168 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
 | 15169 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
 | 15170 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
 | 15171 | *** your PATH or compiler configuration so that the native linker is | 
 | 15172 | *** used, and then restart. | 
 | 15173 |  | 
 | 15174 | EOF | 
 | 15175 |       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 15176 | 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 15177 | 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 15178 |       else | 
 | 15179 | 	ld_shlibs_GCJ=no | 
 | 15180 |       fi | 
 | 15181 |       ;; | 
 | 15182 |  | 
 | 15183 |     sunos4*) | 
 | 15184 |       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 15185 |       wlarc= | 
 | 15186 |       hardcode_direct_GCJ=yes | 
 | 15187 |       hardcode_shlibpath_var_GCJ=no | 
 | 15188 |       ;; | 
 | 15189 |  | 
 | 15190 |     *) | 
 | 15191 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 15192 | 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 15193 | 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 15194 |       else | 
 | 15195 | 	ld_shlibs_GCJ=no | 
 | 15196 |       fi | 
 | 15197 |       ;; | 
 | 15198 |     esac | 
 | 15199 |  | 
 | 15200 |     if test "$ld_shlibs_GCJ" = yes; then | 
 | 15201 |       runpath_var=LD_RUN_PATH | 
 | 15202 |       hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' | 
 | 15203 |       export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' | 
 | 15204 |       # ancient GNU ld didn't support --whole-archive et. al. | 
 | 15205 |       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | 
 | 15206 |  	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
 | 15207 |       else | 
 | 15208 |   	whole_archive_flag_spec_GCJ= | 
 | 15209 |       fi | 
 | 15210 |     fi | 
 | 15211 |   else | 
 | 15212 |     # PORTME fill in a description of your system's linker (not GNU ld) | 
 | 15213 |     case $host_os in | 
 | 15214 |     aix3*) | 
 | 15215 |       allow_undefined_flag_GCJ=unsupported | 
 | 15216 |       always_export_symbols_GCJ=yes | 
 | 15217 |       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' | 
 | 15218 |       # Note: this linker hardcodes the directories in LIBPATH if there | 
 | 15219 |       # are no directories specified by -L. | 
 | 15220 |       hardcode_minus_L_GCJ=yes | 
 | 15221 |       if test "$GCC" = yes && test -z "$link_static_flag"; then | 
 | 15222 | 	# Neither direct hardcoding nor static linking is supported with a | 
 | 15223 | 	# broken collect2. | 
 | 15224 | 	hardcode_direct_GCJ=unsupported | 
 | 15225 |       fi | 
 | 15226 |       ;; | 
 | 15227 |  | 
 | 15228 |     aix4* | aix5*) | 
 | 15229 |       if test "$host_cpu" = ia64; then | 
 | 15230 | 	# On IA64, the linker does run time linking by default, so we don't | 
 | 15231 | 	# have to do anything special. | 
 | 15232 | 	aix_use_runtimelinking=no | 
 | 15233 | 	exp_sym_flag='-Bexport' | 
 | 15234 | 	no_entry_flag="" | 
 | 15235 |       else | 
 | 15236 | 	# If we're using GNU nm, then we don't want the "-C" option. | 
 | 15237 | 	# -C means demangle to AIX nm, but means don't demangle with GNU nm | 
 | 15238 | 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
 | 15239 | 	  export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
 | 15240 | 	else | 
 | 15241 | 	  export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
 | 15242 | 	fi | 
 | 15243 | 	aix_use_runtimelinking=no | 
 | 15244 |  | 
 | 15245 | 	# Test if we are trying to use run time linking or normal | 
 | 15246 | 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
 | 15247 | 	# need to do runtime linking. | 
 | 15248 | 	case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
 | 15249 | 	  for ld_flag in $LDFLAGS; do | 
 | 15250 |   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
 | 15251 |   	    aix_use_runtimelinking=yes | 
 | 15252 |   	    break | 
 | 15253 |   	  fi | 
 | 15254 | 	  done | 
 | 15255 | 	esac | 
 | 15256 |  | 
 | 15257 | 	exp_sym_flag='-bexport' | 
 | 15258 | 	no_entry_flag='-bnoentry' | 
 | 15259 |       fi | 
 | 15260 |  | 
 | 15261 |       # When large executables or shared objects are built, AIX ld can | 
 | 15262 |       # have problems creating the table of contents.  If linking a library | 
 | 15263 |       # or program results in "error TOC overflow" add -mminimal-toc to | 
 | 15264 |       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
 | 15265 |       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
 | 15266 |  | 
 | 15267 |       archive_cmds_GCJ='' | 
 | 15268 |       hardcode_direct_GCJ=yes | 
 | 15269 |       hardcode_libdir_separator_GCJ=':' | 
 | 15270 |       link_all_deplibs_GCJ=yes | 
 | 15271 |  | 
 | 15272 |       if test "$GCC" = yes; then | 
 | 15273 | 	case $host_os in aix4.012|aix4.012.*) | 
 | 15274 | 	# We only want to do this on AIX 4.2 and lower, the check | 
 | 15275 | 	# below for broken collect2 doesn't work under 4.3+ | 
 | 15276 | 	  collect2name=`${CC} -print-prog-name=collect2` | 
 | 15277 | 	  if test -f "$collect2name" && \ | 
 | 15278 |   	   strings "$collect2name" | grep resolve_lib_name >/dev/null | 
 | 15279 | 	  then | 
 | 15280 |   	  # We have reworked collect2 | 
 | 15281 |   	  hardcode_direct_GCJ=yes | 
 | 15282 | 	  else | 
 | 15283 |   	  # We have old collect2 | 
 | 15284 |   	  hardcode_direct_GCJ=unsupported | 
 | 15285 |   	  # It fails to find uninstalled libraries when the uninstalled | 
 | 15286 |   	  # path is not listed in the libpath.  Setting hardcode_minus_L | 
 | 15287 |   	  # to unsupported forces relinking | 
 | 15288 |   	  hardcode_minus_L_GCJ=yes | 
 | 15289 |   	  hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15290 |   	  hardcode_libdir_separator_GCJ= | 
 | 15291 | 	  fi | 
 | 15292 | 	esac | 
 | 15293 | 	shared_flag='-shared' | 
 | 15294 |       else | 
 | 15295 | 	# not using gcc | 
 | 15296 | 	if test "$host_cpu" = ia64; then | 
 | 15297 |   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
 | 15298 |   	# chokes on -Wl,-G. The following line is correct: | 
 | 15299 | 	  shared_flag='-G' | 
 | 15300 | 	else | 
 | 15301 |   	if test "$aix_use_runtimelinking" = yes; then | 
 | 15302 | 	    shared_flag='${wl}-G' | 
 | 15303 | 	  else | 
 | 15304 | 	    shared_flag='${wl}-bM:SRE' | 
 | 15305 |   	fi | 
 | 15306 | 	fi | 
 | 15307 |       fi | 
 | 15308 |  | 
 | 15309 |       # It seems that -bexpall does not export symbols beginning with | 
 | 15310 |       # underscore (_), so it is better to generate a list of symbols to export. | 
 | 15311 |       always_export_symbols_GCJ=yes | 
 | 15312 |       if test "$aix_use_runtimelinking" = yes; then | 
 | 15313 | 	# Warning - without using the other runtime loading flags (-brtl), | 
 | 15314 | 	# -berok will link without error, but may produce a broken library. | 
 | 15315 | 	allow_undefined_flag_GCJ='-berok' | 
 | 15316 |        # Determine the default libpath from the value encoded in an empty executable. | 
 | 15317 |        cat >conftest.$ac_ext <<_ACEOF | 
 | 15318 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15319 | /* confdefs.h.  */ | 
 | 15320 | _ACEOF | 
 | 15321 | cat confdefs.h >>conftest.$ac_ext | 
 | 15322 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 15323 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15324 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15325 | int | 
 | 15326 | main () | 
 | 15327 | { | 
 | 15328 |  | 
 | 15329 |   ; | 
 | 15330 |   return 0; | 
 | 15331 | } | 
 | 15332 | _ACEOF | 
 | 15333 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 15334 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 15335 |   (eval $ac_link) 2>&5 | 
 | 15336 |   ac_status=$? | 
 | 15337 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 15338 |   (exit $ac_status); } && | 
 | 15339 |          { ac_try='test -s conftest$ac_exeext' | 
 | 15340 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 15341 |   (eval $ac_try) 2>&5 | 
 | 15342 |   ac_status=$? | 
 | 15343 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 15344 |   (exit $ac_status); }; }; then | 
 | 15345 |  | 
 | 15346 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 15347 | }'` | 
 | 15348 | # Check for a 64-bit object if we didn't find anything. | 
 | 15349 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 15350 | }'`; fi | 
 | 15351 | else | 
 | 15352 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15353 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 15354 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15355 | fi | 
 | 15356 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 15357 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 15358 |  | 
 | 15359 |        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 15360 | 	archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 
 | 15361 |        else | 
 | 15362 | 	if test "$host_cpu" = ia64; then | 
 | 15363 | 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' | 
 | 15364 | 	  allow_undefined_flag_GCJ="-z nodefs" | 
 | 15365 | 	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 
 | 15366 | 	else | 
 | 15367 | 	 # Determine the default libpath from the value encoded in an empty executable. | 
 | 15368 | 	 cat >conftest.$ac_ext <<_ACEOF | 
 | 15369 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15370 | /* confdefs.h.  */ | 
 | 15371 | _ACEOF | 
 | 15372 | cat confdefs.h >>conftest.$ac_ext | 
 | 15373 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 15374 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15375 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15376 | int | 
 | 15377 | main () | 
 | 15378 | { | 
 | 15379 |  | 
 | 15380 |   ; | 
 | 15381 |   return 0; | 
 | 15382 | } | 
 | 15383 | _ACEOF | 
 | 15384 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 15385 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 15386 |   (eval $ac_link) 2>&5 | 
 | 15387 |   ac_status=$? | 
 | 15388 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 15389 |   (exit $ac_status); } && | 
 | 15390 |          { ac_try='test -s conftest$ac_exeext' | 
 | 15391 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 15392 |   (eval $ac_try) 2>&5 | 
 | 15393 |   ac_status=$? | 
 | 15394 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 15395 |   (exit $ac_status); }; }; then | 
 | 15396 |  | 
 | 15397 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 15398 | }'` | 
 | 15399 | # Check for a 64-bit object if we didn't find anything. | 
 | 15400 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 15401 | }'`; fi | 
 | 15402 | else | 
 | 15403 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15404 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 15405 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15406 | fi | 
 | 15407 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 15408 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 15409 |  | 
 | 15410 | 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 15411 | 	  # Warning - without using the other run time loading flags, | 
 | 15412 | 	  # -berok will link without error, but may produce a broken library. | 
 | 15413 | 	  no_undefined_flag_GCJ=' ${wl}-bernotok' | 
 | 15414 | 	  allow_undefined_flag_GCJ=' ${wl}-berok' | 
 | 15415 | 	  # -bexpall does not export symbols beginning with underscore (_) | 
 | 15416 | 	  always_export_symbols_GCJ=yes | 
 | 15417 | 	  # Exported symbols can be pulled into shared objects from archives | 
 | 15418 | 	  whole_archive_flag_spec_GCJ=' ' | 
 | 15419 | 	  archive_cmds_need_lc_GCJ=yes | 
 | 15420 | 	  # This is similar to how AIX traditionally builds it's shared libraries. | 
 | 15421 | 	  archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 
 | 15422 | 	fi | 
 | 15423 |       fi | 
 | 15424 |       ;; | 
 | 15425 |  | 
 | 15426 |     amigaos*) | 
 | 15427 |       archive_cmds_GCJ='$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)' | 
 | 15428 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15429 |       hardcode_minus_L_GCJ=yes | 
 | 15430 |       # see comment about different semantics on the GNU ld section | 
 | 15431 |       ld_shlibs_GCJ=no | 
 | 15432 |       ;; | 
 | 15433 |  | 
 | 15434 |     bsdi4*) | 
 | 15435 |       export_dynamic_flag_spec_GCJ=-rdynamic | 
 | 15436 |       ;; | 
 | 15437 |  | 
 | 15438 |     cygwin* | mingw* | pw32*) | 
 | 15439 |       # When not using gcc, we currently assume that we are using | 
 | 15440 |       # Microsoft Visual C++. | 
 | 15441 |       # hardcode_libdir_flag_spec is actually meaningless, as there is | 
 | 15442 |       # no search path for DLLs. | 
 | 15443 |       hardcode_libdir_flag_spec_GCJ=' ' | 
 | 15444 |       allow_undefined_flag_GCJ=unsupported | 
 | 15445 |       # Tell ltmain to make .lib files, not .a files. | 
 | 15446 |       libext=lib | 
 | 15447 |       # Tell ltmain to make .dll files, not .so files. | 
 | 15448 |       shrext=".dll" | 
 | 15449 |       # FIXME: Setting linknames here is a bad hack. | 
 | 15450 |       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
 | 15451 |       # The linker will automatically build a .lib file if we build a DLL. | 
 | 15452 |       old_archive_From_new_cmds_GCJ='true' | 
 | 15453 |       # FIXME: Should let the user specify the lib program. | 
 | 15454 |       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
 | 15455 |       fix_srcfile_path='`cygpath -w "$srcfile"`' | 
 | 15456 |       enable_shared_with_static_runtimes_GCJ=yes | 
 | 15457 |       ;; | 
 | 15458 |  | 
 | 15459 |     darwin* | rhapsody*) | 
 | 15460 |     if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 15461 |       archive_cmds_need_lc_GCJ=no | 
 | 15462 |       case "$host_os" in | 
 | 15463 |       rhapsody* | darwin1.[012]) | 
 | 15464 | 	allow_undefined_flag_GCJ='-undefined suppress' | 
 | 15465 | 	;; | 
 | 15466 |       *) # Darwin 1.3 on | 
 | 15467 | 	test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' | 
 | 15468 | 	;; | 
 | 15469 |       esac | 
 | 15470 |       # FIXME: Relying on posixy $() will cause problems for | 
 | 15471 |       #        cross-compilation, but unfortunately the echo tests do not | 
 | 15472 |       #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
 | 15473 |       #	       `"' quotes if we put them in here... so don't! | 
 | 15474 |     	lt_int_apple_cc_single_mod=no | 
 | 15475 |     	output_verbose_link_cmd='echo' | 
 | 15476 |     	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
 | 15477 |     	  lt_int_apple_cc_single_mod=yes | 
 | 15478 |     	fi | 
 | 15479 |     	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 15480 |     	  archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 15481 |     	else | 
 | 15482 |         archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 15483 |       fi | 
 | 15484 |       module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
 | 15485 |       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
 | 15486 |         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 15487 |           archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 15488 |         else | 
 | 15489 |           archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 15490 |         fi | 
 | 15491 |           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
 | 15492 |       hardcode_direct_GCJ=no | 
 | 15493 |       hardcode_automatic_GCJ=yes | 
 | 15494 |       hardcode_shlibpath_var_GCJ=unsupported | 
 | 15495 |       whole_archive_flag_spec_GCJ='-all_load $convenience' | 
 | 15496 |       link_all_deplibs_GCJ=yes | 
 | 15497 |     fi | 
 | 15498 |       ;; | 
 | 15499 |  | 
 | 15500 |     dgux*) | 
 | 15501 |       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15502 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15503 |       hardcode_shlibpath_var_GCJ=no | 
 | 15504 |       ;; | 
 | 15505 |  | 
 | 15506 |     freebsd1*) | 
 | 15507 |       ld_shlibs_GCJ=no | 
 | 15508 |       ;; | 
 | 15509 |  | 
 | 15510 |     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
 | 15511 |     # support.  Future versions do this automatically, but an explicit c++rt0.o | 
 | 15512 |     # does not break anything, and helps significantly (at the cost of a little | 
 | 15513 |     # extra space). | 
 | 15514 |     freebsd2.2*) | 
 | 15515 |       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
 | 15516 |       hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
 | 15517 |       hardcode_direct_GCJ=yes | 
 | 15518 |       hardcode_shlibpath_var_GCJ=no | 
 | 15519 |       ;; | 
 | 15520 |  | 
 | 15521 |     # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
 | 15522 |     freebsd2*) | 
 | 15523 |       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 15524 |       hardcode_direct_GCJ=yes | 
 | 15525 |       hardcode_minus_L_GCJ=yes | 
 | 15526 |       hardcode_shlibpath_var_GCJ=no | 
 | 15527 |       ;; | 
 | 15528 |  | 
 | 15529 |     # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
 | 15530 |     freebsd*) | 
 | 15531 |       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15532 |       hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
 | 15533 |       hardcode_direct_GCJ=yes | 
 | 15534 |       hardcode_shlibpath_var_GCJ=no | 
 | 15535 |       ;; | 
 | 15536 |  | 
 | 15537 |     hpux9*) | 
 | 15538 |       if test "$GCC" = yes; then | 
 | 15539 | 	archive_cmds_GCJ='$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' | 
 | 15540 |       else | 
 | 15541 | 	archive_cmds_GCJ='$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' | 
 | 15542 |       fi | 
 | 15543 |       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | 
 | 15544 |       hardcode_libdir_separator_GCJ=: | 
 | 15545 |       hardcode_direct_GCJ=yes | 
 | 15546 |  | 
 | 15547 |       # hardcode_minus_L: Not really in the search PATH, | 
 | 15548 |       # but as the default location of the library. | 
 | 15549 |       hardcode_minus_L_GCJ=yes | 
 | 15550 |       export_dynamic_flag_spec_GCJ='${wl}-E' | 
 | 15551 |       ;; | 
 | 15552 |  | 
 | 15553 |     hpux10* | hpux11*) | 
 | 15554 |       if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 
 | 15555 | 	case "$host_cpu" in | 
 | 15556 | 	hppa*64*|ia64*) | 
 | 15557 | 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15558 | 	  ;; | 
 | 15559 | 	*) | 
 | 15560 | 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15561 | 	  ;; | 
 | 15562 | 	esac | 
 | 15563 |       else | 
 | 15564 | 	case "$host_cpu" in | 
 | 15565 | 	hppa*64*|ia64*) | 
 | 15566 | 	  archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15567 | 	  ;; | 
 | 15568 | 	*) | 
 | 15569 | 	  archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 
 | 15570 | 	  ;; | 
 | 15571 | 	esac | 
 | 15572 |       fi | 
 | 15573 |       if test "$with_gnu_ld" = no; then | 
 | 15574 | 	case "$host_cpu" in | 
 | 15575 | 	hppa*64*) | 
 | 15576 | 	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | 
 | 15577 | 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' | 
 | 15578 | 	  hardcode_libdir_separator_GCJ=: | 
 | 15579 | 	  hardcode_direct_GCJ=no | 
 | 15580 | 	  hardcode_shlibpath_var_GCJ=no | 
 | 15581 | 	  ;; | 
 | 15582 | 	ia64*) | 
 | 15583 | 	  hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15584 | 	  hardcode_direct_GCJ=no | 
 | 15585 | 	  hardcode_shlibpath_var_GCJ=no | 
 | 15586 |  | 
 | 15587 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 15588 | 	  # but as the default location of the library. | 
 | 15589 | 	  hardcode_minus_L_GCJ=yes | 
 | 15590 | 	  ;; | 
 | 15591 | 	*) | 
 | 15592 | 	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | 
 | 15593 | 	  hardcode_libdir_separator_GCJ=: | 
 | 15594 | 	  hardcode_direct_GCJ=yes | 
 | 15595 | 	  export_dynamic_flag_spec_GCJ='${wl}-E' | 
 | 15596 |  | 
 | 15597 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 15598 | 	  # but as the default location of the library. | 
 | 15599 | 	  hardcode_minus_L_GCJ=yes | 
 | 15600 | 	  ;; | 
 | 15601 | 	esac | 
 | 15602 |       fi | 
 | 15603 |       ;; | 
 | 15604 |  | 
 | 15605 |     irix5* | irix6* | nonstopux*) | 
 | 15606 |       if test "$GCC" = yes; then | 
 | 15607 | 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
 | 15608 |       else | 
 | 15609 | 	archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
 | 15610 | 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' | 
 | 15611 |       fi | 
 | 15612 |       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
 | 15613 |       hardcode_libdir_separator_GCJ=: | 
 | 15614 |       link_all_deplibs_GCJ=yes | 
 | 15615 |       ;; | 
 | 15616 |  | 
 | 15617 |     netbsd*) | 
 | 15618 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 15619 | 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
 | 15620 |       else | 
 | 15621 | 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
 | 15622 |       fi | 
 | 15623 |       hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
 | 15624 |       hardcode_direct_GCJ=yes | 
 | 15625 |       hardcode_shlibpath_var_GCJ=no | 
 | 15626 |       ;; | 
 | 15627 |  | 
 | 15628 |     newsos6) | 
 | 15629 |       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15630 |       hardcode_direct_GCJ=yes | 
 | 15631 |       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
 | 15632 |       hardcode_libdir_separator_GCJ=: | 
 | 15633 |       hardcode_shlibpath_var_GCJ=no | 
 | 15634 |       ;; | 
 | 15635 |  | 
 | 15636 |     openbsd*) | 
 | 15637 |       hardcode_direct_GCJ=yes | 
 | 15638 |       hardcode_shlibpath_var_GCJ=no | 
 | 15639 |       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 15640 | 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15641 | 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | 
 | 15642 | 	export_dynamic_flag_spec_GCJ='${wl}-E' | 
 | 15643 |       else | 
 | 15644 |        case $host_os in | 
 | 15645 | 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
 | 15646 | 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 15647 | 	   hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
 | 15648 | 	   ;; | 
 | 15649 | 	 *) | 
 | 15650 | 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15651 | 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | 
 | 15652 | 	   ;; | 
 | 15653 |        esac | 
 | 15654 |       fi | 
 | 15655 |       ;; | 
 | 15656 |  | 
 | 15657 |     os2*) | 
 | 15658 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15659 |       hardcode_minus_L_GCJ=yes | 
 | 15660 |       allow_undefined_flag_GCJ=unsupported | 
 | 15661 |       archive_cmds_GCJ='$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' | 
 | 15662 |       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
 | 15663 |       ;; | 
 | 15664 |  | 
 | 15665 |     osf3*) | 
 | 15666 |       if test "$GCC" = yes; then | 
 | 15667 | 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' | 
 | 15668 | 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
 | 15669 |       else | 
 | 15670 | 	allow_undefined_flag_GCJ=' -expect_unresolved \*' | 
 | 15671 | 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
 | 15672 |       fi | 
 | 15673 |       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
 | 15674 |       hardcode_libdir_separator_GCJ=: | 
 | 15675 |       ;; | 
 | 15676 |  | 
 | 15677 |     osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
 | 15678 |       if test "$GCC" = yes; then | 
 | 15679 | 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' | 
 | 15680 | 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
 | 15681 | 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
 | 15682 |       else | 
 | 15683 | 	allow_undefined_flag_GCJ=' -expect_unresolved \*' | 
 | 15684 | 	archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
 | 15685 | 	archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 
 | 15686 | 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' | 
 | 15687 |  | 
 | 15688 | 	# Both c and cxx compiler support -rpath directly | 
 | 15689 | 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir' | 
 | 15690 |       fi | 
 | 15691 |       hardcode_libdir_separator_GCJ=: | 
 | 15692 |       ;; | 
 | 15693 |  | 
 | 15694 |     sco3.2v5*) | 
 | 15695 |       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15696 |       hardcode_shlibpath_var_GCJ=no | 
 | 15697 |       export_dynamic_flag_spec_GCJ='${wl}-Bexport' | 
 | 15698 |       runpath_var=LD_RUN_PATH | 
 | 15699 |       hardcode_runpath_var=yes | 
 | 15700 |       ;; | 
 | 15701 |  | 
 | 15702 |     solaris*) | 
 | 15703 |       no_undefined_flag_GCJ=' -z text' | 
 | 15704 |       if test "$GCC" = yes; then | 
 | 15705 | 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15706 | 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 15707 | 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 
 | 15708 |       else | 
 | 15709 | 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15710 | 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 15711 |   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 15712 |       fi | 
 | 15713 |       hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
 | 15714 |       hardcode_shlibpath_var_GCJ=no | 
 | 15715 |       case $host_os in | 
 | 15716 |       solaris2.[0-5] | solaris2.[0-5].*) ;; | 
 | 15717 |       *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
 | 15718 | 	whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; | 
 | 15719 |       esac | 
 | 15720 |       link_all_deplibs_GCJ=yes | 
 | 15721 |       ;; | 
 | 15722 |  | 
 | 15723 |     sunos4*) | 
 | 15724 |       if test "x$host_vendor" = xsequent; then | 
 | 15725 | 	# Use $CC to link under sequent, because it throws in some extra .o | 
 | 15726 | 	# files that make .init and .fini sections work. | 
 | 15727 | 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15728 |       else | 
 | 15729 | 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
 | 15730 |       fi | 
 | 15731 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15732 |       hardcode_direct_GCJ=yes | 
 | 15733 |       hardcode_minus_L_GCJ=yes | 
 | 15734 |       hardcode_shlibpath_var_GCJ=no | 
 | 15735 |       ;; | 
 | 15736 |  | 
 | 15737 |     sysv4) | 
 | 15738 |       case $host_vendor in | 
 | 15739 | 	sni) | 
 | 15740 | 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15741 | 	  hardcode_direct_GCJ=yes # is this really true??? | 
 | 15742 | 	;; | 
 | 15743 | 	siemens) | 
 | 15744 | 	  ## LD is ld it makes a PLAMLIB | 
 | 15745 | 	  ## CC just makes a GrossModule. | 
 | 15746 | 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 15747 | 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs' | 
 | 15748 | 	  hardcode_direct_GCJ=no | 
 | 15749 |         ;; | 
 | 15750 | 	motorola) | 
 | 15751 | 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15752 | 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie | 
 | 15753 | 	;; | 
 | 15754 |       esac | 
 | 15755 |       runpath_var='LD_RUN_PATH' | 
 | 15756 |       hardcode_shlibpath_var_GCJ=no | 
 | 15757 |       ;; | 
 | 15758 |  | 
 | 15759 |     sysv4.3*) | 
 | 15760 |       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15761 |       hardcode_shlibpath_var_GCJ=no | 
 | 15762 |       export_dynamic_flag_spec_GCJ='-Bexport' | 
 | 15763 |       ;; | 
 | 15764 |  | 
 | 15765 |     sysv4*MP*) | 
 | 15766 |       if test -d /usr/nec; then | 
 | 15767 | 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15768 | 	hardcode_shlibpath_var_GCJ=no | 
 | 15769 | 	runpath_var=LD_RUN_PATH | 
 | 15770 | 	hardcode_runpath_var=yes | 
 | 15771 | 	ld_shlibs_GCJ=yes | 
 | 15772 |       fi | 
 | 15773 |       ;; | 
 | 15774 |  | 
 | 15775 |     sysv4.2uw2*) | 
 | 15776 |       archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 15777 |       hardcode_direct_GCJ=yes | 
 | 15778 |       hardcode_minus_L_GCJ=no | 
 | 15779 |       hardcode_shlibpath_var_GCJ=no | 
 | 15780 |       hardcode_runpath_var=yes | 
 | 15781 |       runpath_var=LD_RUN_PATH | 
 | 15782 |       ;; | 
 | 15783 |  | 
 | 15784 |    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*) | 
 | 15785 |       no_undefined_flag_GCJ='${wl}-z ${wl}text' | 
 | 15786 |       if test "$GCC" = yes; then | 
 | 15787 | 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15788 |       else | 
 | 15789 | 	archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15790 |       fi | 
 | 15791 |       runpath_var='LD_RUN_PATH' | 
 | 15792 |       hardcode_shlibpath_var_GCJ=no | 
 | 15793 |       ;; | 
 | 15794 |  | 
 | 15795 |     sysv5*) | 
 | 15796 |       no_undefined_flag_GCJ=' -z text' | 
 | 15797 |       # $CC -shared without GNU ld will not create a library from C++ | 
 | 15798 |       # object files and a static libstdc++, better avoid it by now | 
 | 15799 |       archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15800 |       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 15801 |   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 15802 |       hardcode_libdir_flag_spec_GCJ= | 
 | 15803 |       hardcode_shlibpath_var_GCJ=no | 
 | 15804 |       runpath_var='LD_RUN_PATH' | 
 | 15805 |       ;; | 
 | 15806 |  | 
 | 15807 |     uts4*) | 
 | 15808 |       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15809 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15810 |       hardcode_shlibpath_var_GCJ=no | 
 | 15811 |       ;; | 
 | 15812 |  | 
 | 15813 |     *) | 
 | 15814 |       ld_shlibs_GCJ=no | 
 | 15815 |       ;; | 
 | 15816 |     esac | 
 | 15817 |   fi | 
 | 15818 |  | 
 | 15819 | echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 | 
 | 15820 | echo "${ECHO_T}$ld_shlibs_GCJ" >&6 | 
 | 15821 | test "$ld_shlibs_GCJ" = no && can_build_shared=no | 
 | 15822 |  | 
 | 15823 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
 | 15824 | if test "$GCC" = yes; then | 
 | 15825 |   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
 | 15826 | fi | 
 | 15827 |  | 
 | 15828 | # | 
 | 15829 | # Do we need to explicitly link libc? | 
 | 15830 | # | 
 | 15831 | case "x$archive_cmds_need_lc_GCJ" in | 
 | 15832 | x|xyes) | 
 | 15833 |   # Assume -lc should be added | 
 | 15834 |   archive_cmds_need_lc_GCJ=yes | 
 | 15835 |  | 
 | 15836 |   if test "$enable_shared" = yes && test "$GCC" = yes; then | 
 | 15837 |     case $archive_cmds_GCJ in | 
 | 15838 |     *'~'*) | 
 | 15839 |       # FIXME: we may have to deal with multi-command sequences. | 
 | 15840 |       ;; | 
 | 15841 |     '$CC '*) | 
 | 15842 |       # Test whether the compiler implicitly links with -lc since on some | 
 | 15843 |       # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
 | 15844 |       # to ld, don't add -lc before -lgcc. | 
 | 15845 |       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
 | 15846 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
 | 15847 |       $rm conftest* | 
 | 15848 |       printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 15849 |  | 
 | 15850 |       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 15851 |   (eval $ac_compile) 2>&5 | 
 | 15852 |   ac_status=$? | 
 | 15853 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 15854 |   (exit $ac_status); } 2>conftest.err; then | 
 | 15855 |         soname=conftest | 
 | 15856 |         lib=conftest | 
 | 15857 |         libobjs=conftest.$ac_objext | 
 | 15858 |         deplibs= | 
 | 15859 |         wl=$lt_prog_compiler_wl_GCJ | 
 | 15860 |         compiler_flags=-v | 
 | 15861 |         linker_flags=-v | 
 | 15862 |         verstring= | 
 | 15863 |         output_objdir=. | 
 | 15864 |         libname=conftest | 
 | 15865 |         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ | 
 | 15866 |         allow_undefined_flag_GCJ= | 
 | 15867 |         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
 | 15868 |   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
 | 15869 |   ac_status=$? | 
 | 15870 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 15871 |   (exit $ac_status); } | 
 | 15872 |         then | 
 | 15873 | 	  archive_cmds_need_lc_GCJ=no | 
 | 15874 |         else | 
 | 15875 | 	  archive_cmds_need_lc_GCJ=yes | 
 | 15876 |         fi | 
 | 15877 |         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag | 
 | 15878 |       else | 
 | 15879 |         cat conftest.err 1>&5 | 
 | 15880 |       fi | 
 | 15881 |       $rm conftest* | 
 | 15882 |       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 | 
 | 15883 | echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 | 
 | 15884 |       ;; | 
 | 15885 |     esac | 
 | 15886 |   fi | 
 | 15887 |   ;; | 
 | 15888 | esac | 
 | 15889 |  | 
 | 15890 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
 | 15891 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
 | 15892 | hardcode_action_GCJ= | 
 | 15893 | if test -n "$hardcode_libdir_flag_spec_GCJ" || \ | 
 | 15894 |    test -n "$runpath_var GCJ" || \ | 
 | 15895 |    test "X$hardcode_automatic_GCJ"="Xyes" ; then | 
 | 15896 |  | 
 | 15897 |   # We can hardcode non-existant directories. | 
 | 15898 |   if test "$hardcode_direct_GCJ" != no && | 
 | 15899 |      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
 | 15900 |      # have to relink, otherwise we might link with an installed library | 
 | 15901 |      # when we should be linking with a yet-to-be-installed one | 
 | 15902 |      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && | 
 | 15903 |      test "$hardcode_minus_L_GCJ" != no; then | 
 | 15904 |     # Linking always hardcodes the temporary library directory. | 
 | 15905 |     hardcode_action_GCJ=relink | 
 | 15906 |   else | 
 | 15907 |     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
 | 15908 |     hardcode_action_GCJ=immediate | 
 | 15909 |   fi | 
 | 15910 | else | 
 | 15911 |   # We cannot hardcode anything, or else we can only hardcode existing | 
 | 15912 |   # directories. | 
 | 15913 |   hardcode_action_GCJ=unsupported | 
 | 15914 | fi | 
 | 15915 | echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 | 
 | 15916 | echo "${ECHO_T}$hardcode_action_GCJ" >&6 | 
 | 15917 |  | 
 | 15918 | if test "$hardcode_action_GCJ" = relink; then | 
 | 15919 |   # Fast installation is not supported | 
 | 15920 |   enable_fast_install=no | 
 | 15921 | elif test "$shlibpath_overrides_runpath" = yes || | 
 | 15922 |      test "$enable_shared" = no; then | 
 | 15923 |   # Fast installation is not necessary | 
 | 15924 |   enable_fast_install=needless | 
 | 15925 | fi | 
 | 15926 |  | 
 | 15927 | striplib= | 
 | 15928 | old_striplib= | 
 | 15929 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
 | 15930 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
 | 15931 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
 | 15932 |   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
 | 15933 |   test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
 | 15934 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 15935 | echo "${ECHO_T}yes" >&6 | 
 | 15936 | else | 
 | 15937 | # FIXME - insert some real tests, host_os isn't really good enough | 
 | 15938 |   case $host_os in | 
 | 15939 |    darwin*) | 
 | 15940 |        if test -n "$STRIP" ; then | 
 | 15941 |          striplib="$STRIP -x" | 
 | 15942 |          echo "$as_me:$LINENO: result: yes" >&5 | 
 | 15943 | echo "${ECHO_T}yes" >&6 | 
 | 15944 |        else | 
 | 15945 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 15946 | echo "${ECHO_T}no" >&6 | 
 | 15947 | fi | 
 | 15948 |        ;; | 
 | 15949 |    *) | 
 | 15950 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 15951 | echo "${ECHO_T}no" >&6 | 
 | 15952 |     ;; | 
 | 15953 |   esac | 
 | 15954 | fi | 
 | 15955 |  | 
 | 15956 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
 | 15957 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
 | 15958 | library_names_spec= | 
 | 15959 | libname_spec='lib$name' | 
 | 15960 | soname_spec= | 
 | 15961 | shrext=".so" | 
 | 15962 | postinstall_cmds= | 
 | 15963 | postuninstall_cmds= | 
 | 15964 | finish_cmds= | 
 | 15965 | finish_eval= | 
 | 15966 | shlibpath_var= | 
 | 15967 | shlibpath_overrides_runpath=unknown | 
 | 15968 | version_type=none | 
 | 15969 | dynamic_linker="$host_os ld.so" | 
 | 15970 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
 | 15971 | if test "$GCC" = yes; then | 
 | 15972 |   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 15973 |   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
 | 15974 |     # if the path contains ";" then we assume it to be the separator | 
 | 15975 |     # otherwise default to the standard path separator (i.e. ":") - it is | 
 | 15976 |     # assumed that no part of a normal pathname contains ";" but that should | 
 | 15977 |     # okay in the real world where ";" in dirpaths is itself problematic. | 
 | 15978 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 15979 |   else | 
 | 15980 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 15981 |   fi | 
 | 15982 | else | 
 | 15983 |   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
 | 15984 | fi | 
 | 15985 | need_lib_prefix=unknown | 
 | 15986 | hardcode_into_libs=no | 
 | 15987 |  | 
 | 15988 | # when you set need_version to no, make sure it does not cause -set_version | 
 | 15989 | # flags to be left without arguments | 
 | 15990 | need_version=unknown | 
 | 15991 |  | 
 | 15992 | case $host_os in | 
 | 15993 | aix3*) | 
 | 15994 |   version_type=linux | 
 | 15995 |   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
 | 15996 |   shlibpath_var=LIBPATH | 
 | 15997 |  | 
 | 15998 |   # AIX 3 has no versioning support, so we append a major version to the name. | 
 | 15999 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16000 |   ;; | 
 | 16001 |  | 
 | 16002 | aix4* | aix5*) | 
 | 16003 |   version_type=linux | 
 | 16004 |   need_lib_prefix=no | 
 | 16005 |   need_version=no | 
 | 16006 |   hardcode_into_libs=yes | 
 | 16007 |   if test "$host_cpu" = ia64; then | 
 | 16008 |     # AIX 5 supports IA64 | 
 | 16009 |     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
 | 16010 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 16011 |   else | 
 | 16012 |     # With GCC up to 2.95.x, collect2 would create an import file | 
 | 16013 |     # for dependence libraries.  The import file would start with | 
 | 16014 |     # the line `#! .'.  This would cause the generated library to | 
 | 16015 |     # depend on `.', always an invalid library.  This was fixed in | 
 | 16016 |     # development snapshots of GCC prior to 3.0. | 
 | 16017 |     case $host_os in | 
 | 16018 |       aix4 | aix4.[01] | aix4.[01].*) | 
 | 16019 |       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
 | 16020 | 	   echo ' yes ' | 
 | 16021 | 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
 | 16022 | 	: | 
 | 16023 |       else | 
 | 16024 | 	can_build_shared=no | 
 | 16025 |       fi | 
 | 16026 |       ;; | 
 | 16027 |     esac | 
 | 16028 |     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
 | 16029 |     # soname into executable. Probably we can add versioning support to | 
 | 16030 |     # collect2, so additional links can be useful in future. | 
 | 16031 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 16032 |       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
 | 16033 |       # instead of lib<name>.a to let people know that these are not | 
 | 16034 |       # typical AIX shared libraries. | 
 | 16035 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16036 |     else | 
 | 16037 |       # We preserve .a as extension for shared libraries through AIX4.2 | 
 | 16038 |       # and later when we are not doing run time linking. | 
 | 16039 |       library_names_spec='${libname}${release}.a $libname.a' | 
 | 16040 |       soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16041 |     fi | 
 | 16042 |     shlibpath_var=LIBPATH | 
 | 16043 |   fi | 
 | 16044 |   ;; | 
 | 16045 |  | 
 | 16046 | amigaos*) | 
 | 16047 |   library_names_spec='$libname.ixlibrary $libname.a' | 
 | 16048 |   # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
 | 16049 |   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | 
 | 16050 |   ;; | 
 | 16051 |  | 
 | 16052 | beos*) | 
 | 16053 |   library_names_spec='${libname}${shared_ext}' | 
 | 16054 |   dynamic_linker="$host_os ld.so" | 
 | 16055 |   shlibpath_var=LIBRARY_PATH | 
 | 16056 |   ;; | 
 | 16057 |  | 
 | 16058 | bsdi4*) | 
 | 16059 |   version_type=linux | 
 | 16060 |   need_version=no | 
 | 16061 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16062 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16063 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
 | 16064 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16065 |   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
 | 16066 |   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
 | 16067 |   # the default ld.so.conf also contains /usr/contrib/lib and | 
 | 16068 |   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
 | 16069 |   # libtool to hard-code these into programs | 
 | 16070 |   ;; | 
 | 16071 |  | 
 | 16072 | cygwin* | mingw* | pw32*) | 
 | 16073 |   version_type=windows | 
 | 16074 |   shrext=".dll" | 
 | 16075 |   need_version=no | 
 | 16076 |   need_lib_prefix=no | 
 | 16077 |  | 
 | 16078 |   case $GCC,$host_os in | 
 | 16079 |   yes,cygwin* | yes,mingw* | yes,pw32*) | 
 | 16080 |     library_names_spec='$libname.dll.a' | 
 | 16081 |     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
 | 16082 |     postinstall_cmds='base_file=`basename \${file}`~ | 
 | 16083 |       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
 | 16084 |       dldir=$destdir/`dirname \$dlpath`~ | 
 | 16085 |       test -d \$dldir || mkdir -p \$dldir~ | 
 | 16086 |       $install_prog $dir/$dlname \$dldir/$dlname' | 
 | 16087 |     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
 | 16088 |       dlpath=$dir/\$dldll~ | 
 | 16089 |        $rm \$dlpath' | 
 | 16090 |     shlibpath_overrides_runpath=yes | 
 | 16091 |  | 
 | 16092 |     case $host_os in | 
 | 16093 |     cygwin*) | 
 | 16094 |       # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
 | 16095 |       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 16096 |       sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
 | 16097 |       ;; | 
 | 16098 |     mingw*) | 
 | 16099 |       # MinGW DLLs use traditional 'lib' prefix | 
 | 16100 |       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 16101 |       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 16102 |       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
 | 16103 |         # It is most probably a Windows format PATH printed by | 
 | 16104 |         # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
 | 16105 |         # path with ; separators, and with drive letters. We can handle the | 
 | 16106 |         # drive letters (cygwin fileutils understands them), so leave them, | 
 | 16107 |         # especially as we might pass files found there to a mingw objdump, | 
 | 16108 |         # which wouldn't understand a cygwinified path. Ahh. | 
 | 16109 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 16110 |       else | 
 | 16111 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 16112 |       fi | 
 | 16113 |       ;; | 
 | 16114 |     pw32*) | 
 | 16115 |       # pw32 DLLs use 'pw' prefix rather than 'lib' | 
 | 16116 |       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
 | 16117 |       ;; | 
 | 16118 |     esac | 
 | 16119 |     ;; | 
 | 16120 |  | 
 | 16121 |   *) | 
 | 16122 |     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
 | 16123 |     ;; | 
 | 16124 |   esac | 
 | 16125 |   dynamic_linker='Win32 ld.exe' | 
 | 16126 |   # FIXME: first we should search . and the directory the executable is in | 
 | 16127 |   shlibpath_var=PATH | 
 | 16128 |   ;; | 
 | 16129 |  | 
 | 16130 | darwin* | rhapsody*) | 
 | 16131 |   dynamic_linker="$host_os dyld" | 
 | 16132 |   version_type=darwin | 
 | 16133 |   need_lib_prefix=no | 
 | 16134 |   need_version=no | 
 | 16135 |   # FIXME: Relying on posixy $() will cause problems for | 
 | 16136 |   #        cross-compilation, but unfortunately the echo tests do not | 
 | 16137 |   #        yet detect zsh echo's removal of \ escapes. | 
 | 16138 |   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
 | 16139 |   soname_spec='${libname}${release}${major}$shared_ext' | 
 | 16140 |   shlibpath_overrides_runpath=yes | 
 | 16141 |   shlibpath_var=DYLD_LIBRARY_PATH | 
 | 16142 |   shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
 | 16143 |   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
 | 16144 |   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 16145 |   sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 
 | 16146 |   fi | 
 | 16147 |   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
 | 16148 |   ;; | 
 | 16149 |  | 
 | 16150 | dgux*) | 
 | 16151 |   version_type=linux | 
 | 16152 |   need_lib_prefix=no | 
 | 16153 |   need_version=no | 
 | 16154 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
 | 16155 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16156 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16157 |   ;; | 
 | 16158 |  | 
 | 16159 | freebsd1*) | 
 | 16160 |   dynamic_linker=no | 
 | 16161 |   ;; | 
 | 16162 |  | 
 | 16163 | freebsd*) | 
 | 16164 |   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
 | 16165 |   version_type=freebsd-$objformat | 
 | 16166 |   case $version_type in | 
 | 16167 |     freebsd-elf*) | 
 | 16168 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 16169 |       need_version=no | 
 | 16170 |       need_lib_prefix=no | 
 | 16171 |       ;; | 
 | 16172 |     freebsd-*) | 
 | 16173 |       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
 | 16174 |       need_version=yes | 
 | 16175 |       ;; | 
 | 16176 |   esac | 
 | 16177 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16178 |   case $host_os in | 
 | 16179 |   freebsd2*) | 
 | 16180 |     shlibpath_overrides_runpath=yes | 
 | 16181 |     ;; | 
 | 16182 |   freebsd3.01* | freebsdelf3.01*) | 
 | 16183 |     shlibpath_overrides_runpath=yes | 
 | 16184 |     hardcode_into_libs=yes | 
 | 16185 |     ;; | 
 | 16186 |   *) # from 3.2 on | 
 | 16187 |     shlibpath_overrides_runpath=no | 
 | 16188 |     hardcode_into_libs=yes | 
 | 16189 |     ;; | 
 | 16190 |   esac | 
 | 16191 |   ;; | 
 | 16192 |  | 
 | 16193 | gnu*) | 
 | 16194 |   version_type=linux | 
 | 16195 |   need_lib_prefix=no | 
 | 16196 |   need_version=no | 
 | 16197 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
 | 16198 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16199 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16200 |   hardcode_into_libs=yes | 
 | 16201 |   ;; | 
 | 16202 |  | 
 | 16203 | hpux9* | hpux10* | hpux11*) | 
 | 16204 |   # Give a soname corresponding to the major version so that dld.sl refuses to | 
 | 16205 |   # link against other versions. | 
 | 16206 |   version_type=sunos | 
 | 16207 |   need_lib_prefix=no | 
 | 16208 |   need_version=no | 
 | 16209 |   case "$host_cpu" in | 
 | 16210 |   ia64*) | 
 | 16211 |     shrext='.so' | 
 | 16212 |     hardcode_into_libs=yes | 
 | 16213 |     dynamic_linker="$host_os dld.so" | 
 | 16214 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 16215 |     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 16216 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16217 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16218 |     if test "X$HPUX_IA64_MODE" = X32; then | 
 | 16219 |       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
 | 16220 |     else | 
 | 16221 |       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
 | 16222 |     fi | 
 | 16223 |     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 16224 |     ;; | 
 | 16225 |    hppa*64*) | 
 | 16226 |      shrext='.sl' | 
 | 16227 |      hardcode_into_libs=yes | 
 | 16228 |      dynamic_linker="$host_os dld.sl" | 
 | 16229 |      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
 | 16230 |      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 16231 |      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16232 |      soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16233 |      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
 | 16234 |      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 16235 |      ;; | 
 | 16236 |    *) | 
 | 16237 |     shrext='.sl' | 
 | 16238 |     dynamic_linker="$host_os dld.sl" | 
 | 16239 |     shlibpath_var=SHLIB_PATH | 
 | 16240 |     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
 | 16241 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16242 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16243 |     ;; | 
 | 16244 |   esac | 
 | 16245 |   # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
 | 16246 |   postinstall_cmds='chmod 555 $lib' | 
 | 16247 |   ;; | 
 | 16248 |  | 
 | 16249 | irix5* | irix6* | nonstopux*) | 
 | 16250 |   case $host_os in | 
 | 16251 |     nonstopux*) version_type=nonstopux ;; | 
 | 16252 |     *) | 
 | 16253 | 	if test "$lt_cv_prog_gnu_ld" = yes; then | 
 | 16254 | 		version_type=linux | 
 | 16255 | 	else | 
 | 16256 | 		version_type=irix | 
 | 16257 | 	fi ;; | 
 | 16258 |   esac | 
 | 16259 |   need_lib_prefix=no | 
 | 16260 |   need_version=no | 
 | 16261 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16262 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 16263 |   case $host_os in | 
 | 16264 |   irix5* | nonstopux*) | 
 | 16265 |     libsuff= shlibsuff= | 
 | 16266 |     ;; | 
 | 16267 |   *) | 
 | 16268 |     case $LD in # libtool.m4 will add one of these switches to LD | 
 | 16269 |     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
 | 16270 |       libsuff= shlibsuff= libmagic=32-bit;; | 
 | 16271 |     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
 | 16272 |       libsuff=32 shlibsuff=N32 libmagic=N32;; | 
 | 16273 |     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
 | 16274 |       libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
 | 16275 |     *) libsuff= shlibsuff= libmagic=never-match;; | 
 | 16276 |     esac | 
 | 16277 |     ;; | 
 | 16278 |   esac | 
 | 16279 |   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
 | 16280 |   shlibpath_overrides_runpath=no | 
 | 16281 |   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
 | 16282 |   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
 | 16283 |   hardcode_into_libs=yes | 
 | 16284 |   ;; | 
 | 16285 |  | 
 | 16286 | # No shared lib support for Linux oldld, aout, or coff. | 
 | 16287 | linux*oldld* | linux*aout* | linux*coff*) | 
 | 16288 |   dynamic_linker=no | 
 | 16289 |   ;; | 
 | 16290 |  | 
 | 16291 | # This must be Linux ELF. | 
 | 16292 | linux*) | 
 | 16293 |   version_type=linux | 
 | 16294 |   need_lib_prefix=no | 
 | 16295 |   need_version=no | 
 | 16296 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16297 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16298 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
 | 16299 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16300 |   shlibpath_overrides_runpath=no | 
 | 16301 |   # This implies no fast_install, which is unacceptable. | 
 | 16302 |   # Some rework will be needed to allow for fast_install | 
 | 16303 |   # before this can be enabled. | 
 | 16304 |   hardcode_into_libs=yes | 
 | 16305 |  | 
 | 16306 |   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
 | 16307 |   # powerpc, because MkLinux only supported shared libraries with the | 
 | 16308 |   # GNU dynamic linker.  Since this was broken with cross compilers, | 
 | 16309 |   # most powerpc-linux boxes support dynamic linking these days and | 
 | 16310 |   # people can always --disable-shared, the test was removed, and we | 
 | 16311 |   # assume the GNU/Linux dynamic linker is in use. | 
 | 16312 |   dynamic_linker='GNU/Linux ld.so' | 
 | 16313 |   ;; | 
 | 16314 |  | 
 | 16315 | netbsd*) | 
 | 16316 |   version_type=sunos | 
 | 16317 |   need_lib_prefix=no | 
 | 16318 |   need_version=no | 
 | 16319 |   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 16320 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 16321 |     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 16322 |     dynamic_linker='NetBSD (a.out) ld.so' | 
 | 16323 |   else | 
 | 16324 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
 | 16325 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16326 |     dynamic_linker='NetBSD ld.elf_so' | 
 | 16327 |   fi | 
 | 16328 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16329 |   shlibpath_overrides_runpath=yes | 
 | 16330 |   hardcode_into_libs=yes | 
 | 16331 |   ;; | 
 | 16332 |  | 
 | 16333 | newsos6) | 
 | 16334 |   version_type=linux | 
 | 16335 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16336 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16337 |   shlibpath_overrides_runpath=yes | 
 | 16338 |   ;; | 
 | 16339 |  | 
 | 16340 | nto-qnx) | 
 | 16341 |   version_type=linux | 
 | 16342 |   need_lib_prefix=no | 
 | 16343 |   need_version=no | 
 | 16344 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16345 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16346 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16347 |   shlibpath_overrides_runpath=yes | 
 | 16348 |   ;; | 
 | 16349 |  | 
 | 16350 | openbsd*) | 
 | 16351 |   version_type=sunos | 
 | 16352 |   need_lib_prefix=no | 
 | 16353 |   need_version=no | 
 | 16354 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 16355 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 16356 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16357 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 16358 |     case $host_os in | 
 | 16359 |       openbsd2.[89] | openbsd2.[89].*) | 
 | 16360 | 	shlibpath_overrides_runpath=no | 
 | 16361 | 	;; | 
 | 16362 |       *) | 
 | 16363 | 	shlibpath_overrides_runpath=yes | 
 | 16364 | 	;; | 
 | 16365 |       esac | 
 | 16366 |   else | 
 | 16367 |     shlibpath_overrides_runpath=yes | 
 | 16368 |   fi | 
 | 16369 |   ;; | 
 | 16370 |  | 
 | 16371 | os2*) | 
 | 16372 |   libname_spec='$name' | 
 | 16373 |   shrext=".dll" | 
 | 16374 |   need_lib_prefix=no | 
 | 16375 |   library_names_spec='$libname${shared_ext} $libname.a' | 
 | 16376 |   dynamic_linker='OS/2 ld.exe' | 
 | 16377 |   shlibpath_var=LIBPATH | 
 | 16378 |   ;; | 
 | 16379 |  | 
 | 16380 | osf3* | osf4* | osf5*) | 
 | 16381 |   version_type=osf | 
 | 16382 |   need_lib_prefix=no | 
 | 16383 |   need_version=no | 
 | 16384 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16385 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16386 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16387 |   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
 | 16388 |   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
 | 16389 |   ;; | 
 | 16390 |  | 
 | 16391 | sco3.2v5*) | 
 | 16392 |   version_type=osf | 
 | 16393 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16394 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16395 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16396 |   ;; | 
 | 16397 |  | 
 | 16398 | solaris*) | 
 | 16399 |   version_type=linux | 
 | 16400 |   need_lib_prefix=no | 
 | 16401 |   need_version=no | 
 | 16402 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16403 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16404 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16405 |   shlibpath_overrides_runpath=yes | 
 | 16406 |   hardcode_into_libs=yes | 
 | 16407 |   # ldd complains unless libraries are executable | 
 | 16408 |   postinstall_cmds='chmod +x $lib' | 
 | 16409 |   ;; | 
 | 16410 |  | 
 | 16411 | sunos4*) | 
 | 16412 |   version_type=sunos | 
 | 16413 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 16414 |   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
 | 16415 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16416 |   shlibpath_overrides_runpath=yes | 
 | 16417 |   if test "$with_gnu_ld" = yes; then | 
 | 16418 |     need_lib_prefix=no | 
 | 16419 |   fi | 
 | 16420 |   need_version=yes | 
 | 16421 |   ;; | 
 | 16422 |  | 
 | 16423 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 16424 |   version_type=linux | 
 | 16425 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16426 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16427 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16428 |   case $host_vendor in | 
 | 16429 |     sni) | 
 | 16430 |       shlibpath_overrides_runpath=no | 
 | 16431 |       need_lib_prefix=no | 
 | 16432 |       export_dynamic_flag_spec='${wl}-Blargedynsym' | 
 | 16433 |       runpath_var=LD_RUN_PATH | 
 | 16434 |       ;; | 
 | 16435 |     siemens) | 
 | 16436 |       need_lib_prefix=no | 
 | 16437 |       ;; | 
 | 16438 |     motorola) | 
 | 16439 |       need_lib_prefix=no | 
 | 16440 |       need_version=no | 
 | 16441 |       shlibpath_overrides_runpath=no | 
 | 16442 |       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
 | 16443 |       ;; | 
 | 16444 |   esac | 
 | 16445 |   ;; | 
 | 16446 |  | 
 | 16447 | sysv4*MP*) | 
 | 16448 |   if test -d /usr/nec ;then | 
 | 16449 |     version_type=linux | 
 | 16450 |     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
 | 16451 |     soname_spec='$libname${shared_ext}.$major' | 
 | 16452 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 16453 |   fi | 
 | 16454 |   ;; | 
 | 16455 |  | 
 | 16456 | uts4*) | 
 | 16457 |   version_type=linux | 
 | 16458 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16459 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16460 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16461 |   ;; | 
 | 16462 |  | 
 | 16463 | *) | 
 | 16464 |   dynamic_linker=no | 
 | 16465 |   ;; | 
 | 16466 | esac | 
 | 16467 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
 | 16468 | echo "${ECHO_T}$dynamic_linker" >&6 | 
 | 16469 | test "$dynamic_linker" = no && can_build_shared=no | 
 | 16470 |  | 
 | 16471 | if test "x$enable_dlopen" != xyes; then | 
 | 16472 |   enable_dlopen=unknown | 
 | 16473 |   enable_dlopen_self=unknown | 
 | 16474 |   enable_dlopen_self_static=unknown | 
 | 16475 | else | 
 | 16476 |   lt_cv_dlopen=no | 
 | 16477 |   lt_cv_dlopen_libs= | 
 | 16478 |  | 
 | 16479 |   case $host_os in | 
 | 16480 |   beos*) | 
 | 16481 |     lt_cv_dlopen="load_add_on" | 
 | 16482 |     lt_cv_dlopen_libs= | 
 | 16483 |     lt_cv_dlopen_self=yes | 
 | 16484 |     ;; | 
 | 16485 |  | 
 | 16486 |   mingw* | pw32*) | 
 | 16487 |     lt_cv_dlopen="LoadLibrary" | 
 | 16488 |     lt_cv_dlopen_libs= | 
 | 16489 |    ;; | 
 | 16490 |  | 
 | 16491 |   cygwin*) | 
 | 16492 |     lt_cv_dlopen="dlopen" | 
 | 16493 |     lt_cv_dlopen_libs= | 
 | 16494 |    ;; | 
 | 16495 |  | 
 | 16496 |   darwin*) | 
 | 16497 |   # if libdl is installed we need to link against it | 
 | 16498 |     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 16499 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 16500 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 16501 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 16502 | else | 
 | 16503 |   ac_check_lib_save_LIBS=$LIBS | 
 | 16504 | LIBS="-ldl  $LIBS" | 
 | 16505 | cat >conftest.$ac_ext <<_ACEOF | 
 | 16506 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16507 | /* confdefs.h.  */ | 
 | 16508 | _ACEOF | 
 | 16509 | cat confdefs.h >>conftest.$ac_ext | 
 | 16510 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 16511 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16512 |  | 
 | 16513 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 16514 | #ifdef __cplusplus | 
 | 16515 | extern "C" | 
 | 16516 | #endif | 
 | 16517 | /* We use char because int might match the return type of a gcc2 | 
 | 16518 |    builtin and then its argument prototype would still apply.  */ | 
 | 16519 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16520 | int | 
 | 16521 | main () | 
 | 16522 | { | 
 | 16523 | dlopen (); | 
 | 16524 |   ; | 
 | 16525 |   return 0; | 
 | 16526 | } | 
 | 16527 | _ACEOF | 
 | 16528 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 16529 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 16530 |   (eval $ac_link) 2>&5 | 
 | 16531 |   ac_status=$? | 
 | 16532 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16533 |   (exit $ac_status); } && | 
 | 16534 |          { ac_try='test -s conftest$ac_exeext' | 
 | 16535 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 16536 |   (eval $ac_try) 2>&5 | 
 | 16537 |   ac_status=$? | 
 | 16538 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16539 |   (exit $ac_status); }; }; then | 
 | 16540 |   ac_cv_lib_dl_dlopen=yes | 
 | 16541 | else | 
 | 16542 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16543 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 16544 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16545 | ac_cv_lib_dl_dlopen=no | 
 | 16546 | fi | 
 | 16547 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 16548 | LIBS=$ac_check_lib_save_LIBS | 
 | 16549 | fi | 
 | 16550 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 16551 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 16552 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 16553 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 16554 | else | 
 | 16555 |  | 
 | 16556 |     lt_cv_dlopen="dyld" | 
 | 16557 |     lt_cv_dlopen_libs= | 
 | 16558 |     lt_cv_dlopen_self=yes | 
 | 16559 |  | 
 | 16560 | fi | 
 | 16561 |  | 
 | 16562 |    ;; | 
 | 16563 |  | 
 | 16564 |   *) | 
 | 16565 |     echo "$as_me:$LINENO: checking for shl_load" >&5 | 
 | 16566 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
 | 16567 | if test "${ac_cv_func_shl_load+set}" = set; then | 
 | 16568 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 16569 | else | 
 | 16570 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 16571 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16572 | /* confdefs.h.  */ | 
 | 16573 | _ACEOF | 
 | 16574 | cat confdefs.h >>conftest.$ac_ext | 
 | 16575 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 16576 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16577 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16578 |     which can conflict with char shl_load (); below. | 
 | 16579 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 16580 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 16581 | #ifdef __STDC__ | 
 | 16582 | # include <limits.h> | 
 | 16583 | #else | 
 | 16584 | # include <assert.h> | 
 | 16585 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16586 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 16587 | #ifdef __cplusplus | 
 | 16588 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16589 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16590 | #endif | 
 | 16591 | /* We use char because int might match the return type of a gcc2 | 
 | 16592 |    builtin and then its argument prototype would still apply.  */ | 
 | 16593 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16594 | /* The GNU C library defines this for functions which it implements | 
 | 16595 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 16596 |     something starting with __ and the normal name is an alias.  */ | 
 | 16597 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
 | 16598 | choke me | 
 | 16599 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16600 | char (*f) () = shl_load; | 
 | 16601 | #endif | 
 | 16602 | #ifdef __cplusplus | 
 | 16603 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16604 | #endif | 
 | 16605 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16606 | int | 
 | 16607 | main () | 
 | 16608 | { | 
 | 16609 | return f != shl_load; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16610 |   ; | 
 | 16611 |   return 0; | 
 | 16612 | } | 
 | 16613 | _ACEOF | 
 | 16614 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 16615 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 16616 |   (eval $ac_link) 2>&5 | 
 | 16617 |   ac_status=$? | 
 | 16618 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16619 |   (exit $ac_status); } && | 
 | 16620 |          { ac_try='test -s conftest$ac_exeext' | 
 | 16621 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 16622 |   (eval $ac_try) 2>&5 | 
 | 16623 |   ac_status=$? | 
 | 16624 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16625 |   (exit $ac_status); }; }; then | 
 | 16626 |   ac_cv_func_shl_load=yes | 
 | 16627 | else | 
 | 16628 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16629 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 16630 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16631 | ac_cv_func_shl_load=no | 
 | 16632 | fi | 
 | 16633 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 16634 | fi | 
 | 16635 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 
 | 16636 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
 | 16637 | if test $ac_cv_func_shl_load = yes; then | 
 | 16638 |   lt_cv_dlopen="shl_load" | 
 | 16639 | else | 
 | 16640 |   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 
 | 16641 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
 | 16642 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
 | 16643 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 16644 | else | 
 | 16645 |   ac_check_lib_save_LIBS=$LIBS | 
 | 16646 | LIBS="-ldld  $LIBS" | 
 | 16647 | cat >conftest.$ac_ext <<_ACEOF | 
 | 16648 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16649 | /* confdefs.h.  */ | 
 | 16650 | _ACEOF | 
 | 16651 | cat confdefs.h >>conftest.$ac_ext | 
 | 16652 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 16653 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16654 |  | 
 | 16655 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 16656 | #ifdef __cplusplus | 
 | 16657 | extern "C" | 
 | 16658 | #endif | 
 | 16659 | /* We use char because int might match the return type of a gcc2 | 
 | 16660 |    builtin and then its argument prototype would still apply.  */ | 
 | 16661 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16662 | int | 
 | 16663 | main () | 
 | 16664 | { | 
 | 16665 | shl_load (); | 
 | 16666 |   ; | 
 | 16667 |   return 0; | 
 | 16668 | } | 
 | 16669 | _ACEOF | 
 | 16670 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 16671 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 16672 |   (eval $ac_link) 2>&5 | 
 | 16673 |   ac_status=$? | 
 | 16674 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16675 |   (exit $ac_status); } && | 
 | 16676 |          { ac_try='test -s conftest$ac_exeext' | 
 | 16677 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 16678 |   (eval $ac_try) 2>&5 | 
 | 16679 |   ac_status=$? | 
 | 16680 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16681 |   (exit $ac_status); }; }; then | 
 | 16682 |   ac_cv_lib_dld_shl_load=yes | 
 | 16683 | else | 
 | 16684 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16685 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 16686 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16687 | ac_cv_lib_dld_shl_load=no | 
 | 16688 | fi | 
 | 16689 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 16690 | LIBS=$ac_check_lib_save_LIBS | 
 | 16691 | fi | 
 | 16692 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 
 | 16693 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
 | 16694 | if test $ac_cv_lib_dld_shl_load = yes; then | 
 | 16695 |   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 
 | 16696 | else | 
 | 16697 |   echo "$as_me:$LINENO: checking for dlopen" >&5 | 
 | 16698 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
 | 16699 | if test "${ac_cv_func_dlopen+set}" = set; then | 
 | 16700 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 16701 | else | 
 | 16702 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 16703 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16704 | /* confdefs.h.  */ | 
 | 16705 | _ACEOF | 
 | 16706 | cat confdefs.h >>conftest.$ac_ext | 
 | 16707 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 16708 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16709 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16710 |     which can conflict with char dlopen (); below. | 
 | 16711 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 16712 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 16713 | #ifdef __STDC__ | 
 | 16714 | # include <limits.h> | 
 | 16715 | #else | 
 | 16716 | # include <assert.h> | 
 | 16717 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16718 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 16719 | #ifdef __cplusplus | 
 | 16720 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16721 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16722 | #endif | 
 | 16723 | /* We use char because int might match the return type of a gcc2 | 
 | 16724 |    builtin and then its argument prototype would still apply.  */ | 
 | 16725 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16726 | /* The GNU C library defines this for functions which it implements | 
 | 16727 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 16728 |     something starting with __ and the normal name is an alias.  */ | 
 | 16729 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
 | 16730 | choke me | 
 | 16731 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16732 | char (*f) () = dlopen; | 
 | 16733 | #endif | 
 | 16734 | #ifdef __cplusplus | 
 | 16735 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16736 | #endif | 
 | 16737 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16738 | int | 
 | 16739 | main () | 
 | 16740 | { | 
 | 16741 | return f != dlopen; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16742 |   ; | 
 | 16743 |   return 0; | 
 | 16744 | } | 
 | 16745 | _ACEOF | 
 | 16746 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 16747 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 16748 |   (eval $ac_link) 2>&5 | 
 | 16749 |   ac_status=$? | 
 | 16750 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16751 |   (exit $ac_status); } && | 
 | 16752 |          { ac_try='test -s conftest$ac_exeext' | 
 | 16753 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 16754 |   (eval $ac_try) 2>&5 | 
 | 16755 |   ac_status=$? | 
 | 16756 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16757 |   (exit $ac_status); }; }; then | 
 | 16758 |   ac_cv_func_dlopen=yes | 
 | 16759 | else | 
 | 16760 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16761 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 16762 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16763 | ac_cv_func_dlopen=no | 
 | 16764 | fi | 
 | 16765 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 16766 | fi | 
 | 16767 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 
 | 16768 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
 | 16769 | if test $ac_cv_func_dlopen = yes; then | 
 | 16770 |   lt_cv_dlopen="dlopen" | 
 | 16771 | else | 
 | 16772 |   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 16773 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 16774 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 16775 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 16776 | else | 
 | 16777 |   ac_check_lib_save_LIBS=$LIBS | 
 | 16778 | LIBS="-ldl  $LIBS" | 
 | 16779 | cat >conftest.$ac_ext <<_ACEOF | 
 | 16780 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16781 | /* confdefs.h.  */ | 
 | 16782 | _ACEOF | 
 | 16783 | cat confdefs.h >>conftest.$ac_ext | 
 | 16784 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 16785 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16786 |  | 
 | 16787 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 16788 | #ifdef __cplusplus | 
 | 16789 | extern "C" | 
 | 16790 | #endif | 
 | 16791 | /* We use char because int might match the return type of a gcc2 | 
 | 16792 |    builtin and then its argument prototype would still apply.  */ | 
 | 16793 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16794 | int | 
 | 16795 | main () | 
 | 16796 | { | 
 | 16797 | dlopen (); | 
 | 16798 |   ; | 
 | 16799 |   return 0; | 
 | 16800 | } | 
 | 16801 | _ACEOF | 
 | 16802 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 16803 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 16804 |   (eval $ac_link) 2>&5 | 
 | 16805 |   ac_status=$? | 
 | 16806 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16807 |   (exit $ac_status); } && | 
 | 16808 |          { ac_try='test -s conftest$ac_exeext' | 
 | 16809 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 16810 |   (eval $ac_try) 2>&5 | 
 | 16811 |   ac_status=$? | 
 | 16812 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16813 |   (exit $ac_status); }; }; then | 
 | 16814 |   ac_cv_lib_dl_dlopen=yes | 
 | 16815 | else | 
 | 16816 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16817 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 16818 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16819 | ac_cv_lib_dl_dlopen=no | 
 | 16820 | fi | 
 | 16821 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 16822 | LIBS=$ac_check_lib_save_LIBS | 
 | 16823 | fi | 
 | 16824 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 16825 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 16826 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 16827 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 16828 | else | 
 | 16829 |   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 
 | 16830 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
 | 16831 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
 | 16832 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 16833 | else | 
 | 16834 |   ac_check_lib_save_LIBS=$LIBS | 
 | 16835 | LIBS="-lsvld  $LIBS" | 
 | 16836 | cat >conftest.$ac_ext <<_ACEOF | 
 | 16837 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16838 | /* confdefs.h.  */ | 
 | 16839 | _ACEOF | 
 | 16840 | cat confdefs.h >>conftest.$ac_ext | 
 | 16841 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 16842 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16843 |  | 
 | 16844 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 16845 | #ifdef __cplusplus | 
 | 16846 | extern "C" | 
 | 16847 | #endif | 
 | 16848 | /* We use char because int might match the return type of a gcc2 | 
 | 16849 |    builtin and then its argument prototype would still apply.  */ | 
 | 16850 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16851 | int | 
 | 16852 | main () | 
 | 16853 | { | 
 | 16854 | dlopen (); | 
 | 16855 |   ; | 
 | 16856 |   return 0; | 
 | 16857 | } | 
 | 16858 | _ACEOF | 
 | 16859 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 16860 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 16861 |   (eval $ac_link) 2>&5 | 
 | 16862 |   ac_status=$? | 
 | 16863 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16864 |   (exit $ac_status); } && | 
 | 16865 |          { ac_try='test -s conftest$ac_exeext' | 
 | 16866 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 16867 |   (eval $ac_try) 2>&5 | 
 | 16868 |   ac_status=$? | 
 | 16869 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16870 |   (exit $ac_status); }; }; then | 
 | 16871 |   ac_cv_lib_svld_dlopen=yes | 
 | 16872 | else | 
 | 16873 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16874 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 16875 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16876 | ac_cv_lib_svld_dlopen=no | 
 | 16877 | fi | 
 | 16878 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 16879 | LIBS=$ac_check_lib_save_LIBS | 
 | 16880 | fi | 
 | 16881 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 
 | 16882 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
 | 16883 | if test $ac_cv_lib_svld_dlopen = yes; then | 
 | 16884 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
 | 16885 | else | 
 | 16886 |   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 
 | 16887 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 
 | 16888 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 
 | 16889 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 16890 | else | 
 | 16891 |   ac_check_lib_save_LIBS=$LIBS | 
 | 16892 | LIBS="-ldld  $LIBS" | 
 | 16893 | cat >conftest.$ac_ext <<_ACEOF | 
 | 16894 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16895 | /* confdefs.h.  */ | 
 | 16896 | _ACEOF | 
 | 16897 | cat confdefs.h >>conftest.$ac_ext | 
 | 16898 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 16899 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16900 |  | 
 | 16901 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 16902 | #ifdef __cplusplus | 
 | 16903 | extern "C" | 
 | 16904 | #endif | 
 | 16905 | /* We use char because int might match the return type of a gcc2 | 
 | 16906 |    builtin and then its argument prototype would still apply.  */ | 
 | 16907 | char dld_link (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16908 | int | 
 | 16909 | main () | 
 | 16910 | { | 
 | 16911 | dld_link (); | 
 | 16912 |   ; | 
 | 16913 |   return 0; | 
 | 16914 | } | 
 | 16915 | _ACEOF | 
 | 16916 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 16917 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 16918 |   (eval $ac_link) 2>&5 | 
 | 16919 |   ac_status=$? | 
 | 16920 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16921 |   (exit $ac_status); } && | 
 | 16922 |          { ac_try='test -s conftest$ac_exeext' | 
 | 16923 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 16924 |   (eval $ac_try) 2>&5 | 
 | 16925 |   ac_status=$? | 
 | 16926 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16927 |   (exit $ac_status); }; }; then | 
 | 16928 |   ac_cv_lib_dld_dld_link=yes | 
 | 16929 | else | 
 | 16930 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16931 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 16932 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16933 | ac_cv_lib_dld_dld_link=no | 
 | 16934 | fi | 
 | 16935 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 16936 | LIBS=$ac_check_lib_save_LIBS | 
 | 16937 | fi | 
 | 16938 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 
 | 16939 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 
 | 16940 | if test $ac_cv_lib_dld_dld_link = yes; then | 
 | 16941 |   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
 | 16942 | fi | 
 | 16943 |  | 
 | 16944 |  | 
 | 16945 | fi | 
 | 16946 |  | 
 | 16947 |  | 
 | 16948 | fi | 
 | 16949 |  | 
 | 16950 |  | 
 | 16951 | fi | 
 | 16952 |  | 
 | 16953 |  | 
 | 16954 | fi | 
 | 16955 |  | 
 | 16956 |  | 
 | 16957 | fi | 
 | 16958 |  | 
 | 16959 |     ;; | 
 | 16960 |   esac | 
 | 16961 |  | 
 | 16962 |   if test "x$lt_cv_dlopen" != xno; then | 
 | 16963 |     enable_dlopen=yes | 
 | 16964 |   else | 
 | 16965 |     enable_dlopen=no | 
 | 16966 |   fi | 
 | 16967 |  | 
 | 16968 |   case $lt_cv_dlopen in | 
 | 16969 |   dlopen) | 
 | 16970 |     save_CPPFLAGS="$CPPFLAGS" | 
 | 16971 |     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
 | 16972 |  | 
 | 16973 |     save_LDFLAGS="$LDFLAGS" | 
 | 16974 |     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
 | 16975 |  | 
 | 16976 |     save_LIBS="$LIBS" | 
 | 16977 |     LIBS="$lt_cv_dlopen_libs $LIBS" | 
 | 16978 |  | 
 | 16979 |     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 
 | 16980 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
 | 16981 | if test "${lt_cv_dlopen_self+set}" = set; then | 
 | 16982 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 16983 | else | 
 | 16984 |   	  if test "$cross_compiling" = yes; then : | 
 | 16985 |   lt_cv_dlopen_self=cross | 
 | 16986 | else | 
 | 16987 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 16988 |   lt_status=$lt_dlunknown | 
 | 16989 |   cat > conftest.$ac_ext <<EOF | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 16990 | #line 16990 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16991 | #include "confdefs.h" | 
 | 16992 |  | 
 | 16993 | #if HAVE_DLFCN_H | 
 | 16994 | #include <dlfcn.h> | 
 | 16995 | #endif | 
 | 16996 |  | 
 | 16997 | #include <stdio.h> | 
 | 16998 |  | 
 | 16999 | #ifdef RTLD_GLOBAL | 
 | 17000 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 17001 | #else | 
 | 17002 | #  ifdef DL_GLOBAL | 
 | 17003 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 17004 | #  else | 
 | 17005 | #    define LT_DLGLOBAL		0 | 
 | 17006 | #  endif | 
 | 17007 | #endif | 
 | 17008 |  | 
 | 17009 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 17010 |    find out it does not work in some platform. */ | 
 | 17011 | #ifndef LT_DLLAZY_OR_NOW | 
 | 17012 | #  ifdef RTLD_LAZY | 
 | 17013 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 17014 | #  else | 
 | 17015 | #    ifdef DL_LAZY | 
 | 17016 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 17017 | #    else | 
 | 17018 | #      ifdef RTLD_NOW | 
 | 17019 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 17020 | #      else | 
 | 17021 | #        ifdef DL_NOW | 
 | 17022 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 17023 | #        else | 
 | 17024 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 17025 | #        endif | 
 | 17026 | #      endif | 
 | 17027 | #    endif | 
 | 17028 | #  endif | 
 | 17029 | #endif | 
 | 17030 |  | 
 | 17031 | #ifdef __cplusplus | 
 | 17032 | extern "C" void exit (int); | 
 | 17033 | #endif | 
 | 17034 |  | 
 | 17035 | void fnord() { int i=42;} | 
 | 17036 | int main () | 
 | 17037 | { | 
 | 17038 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 17039 |   int status = $lt_dlunknown; | 
 | 17040 |  | 
 | 17041 |   if (self) | 
 | 17042 |     { | 
 | 17043 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 17044 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 17045 |       /* dlclose (self); */ | 
 | 17046 |     } | 
 | 17047 |  | 
 | 17048 |     exit (status); | 
 | 17049 | } | 
 | 17050 | EOF | 
 | 17051 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 17052 |   (eval $ac_link) 2>&5 | 
 | 17053 |   ac_status=$? | 
 | 17054 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17055 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 17056 |     (./conftest; exit; ) 2>/dev/null | 
 | 17057 |     lt_status=$? | 
 | 17058 |     case x$lt_status in | 
 | 17059 |       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
 | 17060 |       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
 | 17061 |       x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
 | 17062 |     esac | 
 | 17063 |   else : | 
 | 17064 |     # compilation failed | 
 | 17065 |     lt_cv_dlopen_self=no | 
 | 17066 |   fi | 
 | 17067 | fi | 
 | 17068 | rm -fr conftest* | 
 | 17069 |  | 
 | 17070 |  | 
 | 17071 | fi | 
 | 17072 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 
 | 17073 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
 | 17074 |  | 
 | 17075 |     if test "x$lt_cv_dlopen_self" = xyes; then | 
 | 17076 |       LDFLAGS="$LDFLAGS $link_static_flag" | 
 | 17077 |       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 
 | 17078 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
 | 17079 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
 | 17080 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 17081 | else | 
 | 17082 |   	  if test "$cross_compiling" = yes; then : | 
 | 17083 |   lt_cv_dlopen_self_static=cross | 
 | 17084 | else | 
 | 17085 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 17086 |   lt_status=$lt_dlunknown | 
 | 17087 |   cat > conftest.$ac_ext <<EOF | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 17088 | #line 17088 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17089 | #include "confdefs.h" | 
 | 17090 |  | 
 | 17091 | #if HAVE_DLFCN_H | 
 | 17092 | #include <dlfcn.h> | 
 | 17093 | #endif | 
 | 17094 |  | 
 | 17095 | #include <stdio.h> | 
 | 17096 |  | 
 | 17097 | #ifdef RTLD_GLOBAL | 
 | 17098 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 17099 | #else | 
 | 17100 | #  ifdef DL_GLOBAL | 
 | 17101 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 17102 | #  else | 
 | 17103 | #    define LT_DLGLOBAL		0 | 
 | 17104 | #  endif | 
 | 17105 | #endif | 
 | 17106 |  | 
 | 17107 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 17108 |    find out it does not work in some platform. */ | 
 | 17109 | #ifndef LT_DLLAZY_OR_NOW | 
 | 17110 | #  ifdef RTLD_LAZY | 
 | 17111 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 17112 | #  else | 
 | 17113 | #    ifdef DL_LAZY | 
 | 17114 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 17115 | #    else | 
 | 17116 | #      ifdef RTLD_NOW | 
 | 17117 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 17118 | #      else | 
 | 17119 | #        ifdef DL_NOW | 
 | 17120 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 17121 | #        else | 
 | 17122 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 17123 | #        endif | 
 | 17124 | #      endif | 
 | 17125 | #    endif | 
 | 17126 | #  endif | 
 | 17127 | #endif | 
 | 17128 |  | 
 | 17129 | #ifdef __cplusplus | 
 | 17130 | extern "C" void exit (int); | 
 | 17131 | #endif | 
 | 17132 |  | 
 | 17133 | void fnord() { int i=42;} | 
 | 17134 | int main () | 
 | 17135 | { | 
 | 17136 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 17137 |   int status = $lt_dlunknown; | 
 | 17138 |  | 
 | 17139 |   if (self) | 
 | 17140 |     { | 
 | 17141 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 17142 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 17143 |       /* dlclose (self); */ | 
 | 17144 |     } | 
 | 17145 |  | 
 | 17146 |     exit (status); | 
 | 17147 | } | 
 | 17148 | EOF | 
 | 17149 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 17150 |   (eval $ac_link) 2>&5 | 
 | 17151 |   ac_status=$? | 
 | 17152 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17153 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 17154 |     (./conftest; exit; ) 2>/dev/null | 
 | 17155 |     lt_status=$? | 
 | 17156 |     case x$lt_status in | 
 | 17157 |       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 17158 |       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 17159 |       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
 | 17160 |     esac | 
 | 17161 |   else : | 
 | 17162 |     # compilation failed | 
 | 17163 |     lt_cv_dlopen_self_static=no | 
 | 17164 |   fi | 
 | 17165 | fi | 
 | 17166 | rm -fr conftest* | 
 | 17167 |  | 
 | 17168 |  | 
 | 17169 | fi | 
 | 17170 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 
 | 17171 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
 | 17172 |     fi | 
 | 17173 |  | 
 | 17174 |     CPPFLAGS="$save_CPPFLAGS" | 
 | 17175 |     LDFLAGS="$save_LDFLAGS" | 
 | 17176 |     LIBS="$save_LIBS" | 
 | 17177 |     ;; | 
 | 17178 |   esac | 
 | 17179 |  | 
 | 17180 |   case $lt_cv_dlopen_self in | 
 | 17181 |   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
 | 17182 |   *) enable_dlopen_self=unknown ;; | 
 | 17183 |   esac | 
 | 17184 |  | 
 | 17185 |   case $lt_cv_dlopen_self_static in | 
 | 17186 |   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
 | 17187 |   *) enable_dlopen_self_static=unknown ;; | 
 | 17188 |   esac | 
 | 17189 | fi | 
 | 17190 |  | 
 | 17191 |  | 
 | 17192 | # The else clause should only fire when bootstrapping the | 
 | 17193 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 17194 | # with your package, and you will get complaints that there are | 
 | 17195 | # no rules to generate ltmain.sh. | 
 | 17196 | if test -f "$ltmain"; then | 
 | 17197 |   # See if we are running on zsh, and set the options which allow our commands through | 
 | 17198 |   # without removal of \ escapes. | 
 | 17199 |   if test -n "${ZSH_VERSION+set}" ; then | 
 | 17200 |     setopt NO_GLOB_SUBST | 
 | 17201 |   fi | 
 | 17202 |   # Now quote all the things that may contain metacharacters while being | 
 | 17203 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 17204 |   # variables and quote the copies for generation of the libtool script. | 
 | 17205 |   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
 | 17206 |     libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
 | 17207 |     old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
 | 17208 |     deplibs_check_method reload_flag reload_cmds need_locks \ | 
 | 17209 |     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
 | 17210 |     lt_cv_sys_global_symbol_to_c_name_address \ | 
 | 17211 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
 | 17212 |     old_postinstall_cmds old_postuninstall_cmds \ | 
 | 17213 |     compiler_GCJ \ | 
 | 17214 |     CC_GCJ \ | 
 | 17215 |     LD_GCJ \ | 
 | 17216 |     lt_prog_compiler_wl_GCJ \ | 
 | 17217 |     lt_prog_compiler_pic_GCJ \ | 
 | 17218 |     lt_prog_compiler_static_GCJ \ | 
 | 17219 |     lt_prog_compiler_no_builtin_flag_GCJ \ | 
 | 17220 |     export_dynamic_flag_spec_GCJ \ | 
 | 17221 |     thread_safe_flag_spec_GCJ \ | 
 | 17222 |     whole_archive_flag_spec_GCJ \ | 
 | 17223 |     enable_shared_with_static_runtimes_GCJ \ | 
 | 17224 |     old_archive_cmds_GCJ \ | 
 | 17225 |     old_archive_from_new_cmds_GCJ \ | 
 | 17226 |     predep_objects_GCJ \ | 
 | 17227 |     postdep_objects_GCJ \ | 
 | 17228 |     predeps_GCJ \ | 
 | 17229 |     postdeps_GCJ \ | 
 | 17230 |     compiler_lib_search_path_GCJ \ | 
 | 17231 |     archive_cmds_GCJ \ | 
 | 17232 |     archive_expsym_cmds_GCJ \ | 
 | 17233 |     postinstall_cmds_GCJ \ | 
 | 17234 |     postuninstall_cmds_GCJ \ | 
 | 17235 |     old_archive_from_expsyms_cmds_GCJ \ | 
 | 17236 |     allow_undefined_flag_GCJ \ | 
 | 17237 |     no_undefined_flag_GCJ \ | 
 | 17238 |     export_symbols_cmds_GCJ \ | 
 | 17239 |     hardcode_libdir_flag_spec_GCJ \ | 
 | 17240 |     hardcode_libdir_flag_spec_ld_GCJ \ | 
 | 17241 |     hardcode_libdir_separator_GCJ \ | 
 | 17242 |     hardcode_automatic_GCJ \ | 
 | 17243 |     module_cmds_GCJ \ | 
 | 17244 |     module_expsym_cmds_GCJ \ | 
 | 17245 |     lt_cv_prog_compiler_c_o_GCJ \ | 
 | 17246 |     exclude_expsyms_GCJ \ | 
 | 17247 |     include_expsyms_GCJ; do | 
 | 17248 |  | 
 | 17249 |     case $var in | 
 | 17250 |     old_archive_cmds_GCJ | \ | 
 | 17251 |     old_archive_from_new_cmds_GCJ | \ | 
 | 17252 |     archive_cmds_GCJ | \ | 
 | 17253 |     archive_expsym_cmds_GCJ | \ | 
 | 17254 |     module_cmds_GCJ | \ | 
 | 17255 |     module_expsym_cmds_GCJ | \ | 
 | 17256 |     old_archive_from_expsyms_cmds_GCJ | \ | 
 | 17257 |     export_symbols_cmds_GCJ | \ | 
 | 17258 |     extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
 | 17259 |     postinstall_cmds | postuninstall_cmds | \ | 
 | 17260 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 17261 |     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
 | 17262 |       # Double-quote double-evaled strings. | 
 | 17263 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 17264 |       ;; | 
 | 17265 |     *) | 
 | 17266 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 17267 |       ;; | 
 | 17268 |     esac | 
 | 17269 |   done | 
 | 17270 |  | 
 | 17271 |   case $lt_echo in | 
 | 17272 |   *'\$0 --fallback-echo"') | 
 | 17273 |     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
 | 17274 |     ;; | 
 | 17275 |   esac | 
 | 17276 |  | 
 | 17277 | cfgfile="$ofile" | 
 | 17278 |  | 
 | 17279 |   cat <<__EOF__ >> "$cfgfile" | 
 | 17280 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
 | 17281 |  | 
 | 17282 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 17283 |  | 
 | 17284 | # Shell to use when invoking shell scripts. | 
 | 17285 | SHELL=$lt_SHELL | 
 | 17286 |  | 
 | 17287 | # Whether or not to build shared libraries. | 
 | 17288 | build_libtool_libs=$enable_shared | 
 | 17289 |  | 
 | 17290 | # Whether or not to build static libraries. | 
 | 17291 | build_old_libs=$enable_static | 
 | 17292 |  | 
 | 17293 | # Whether or not to add -lc for building shared libraries. | 
 | 17294 | build_libtool_need_lc=$archive_cmds_need_lc_GCJ | 
 | 17295 |  | 
 | 17296 | # Whether or not to disallow shared libs when runtime libs are static | 
 | 17297 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ | 
 | 17298 |  | 
 | 17299 | # Whether or not to optimize for fast installation. | 
 | 17300 | fast_install=$enable_fast_install | 
 | 17301 |  | 
 | 17302 | # The host system. | 
 | 17303 | host_alias=$host_alias | 
 | 17304 | host=$host | 
 | 17305 |  | 
 | 17306 | # An echo program that does not interpret backslashes. | 
 | 17307 | echo=$lt_echo | 
 | 17308 |  | 
 | 17309 | # The archiver. | 
 | 17310 | AR=$lt_AR | 
 | 17311 | AR_FLAGS=$lt_AR_FLAGS | 
 | 17312 |  | 
 | 17313 | # A C compiler. | 
 | 17314 | LTCC=$lt_LTCC | 
 | 17315 |  | 
 | 17316 | # A language-specific compiler. | 
 | 17317 | CC=$lt_compiler_GCJ | 
 | 17318 |  | 
 | 17319 | # Is the compiler the GNU C compiler? | 
 | 17320 | with_gcc=$GCC_GCJ | 
 | 17321 |  | 
 | 17322 | # An ERE matcher. | 
 | 17323 | EGREP=$lt_EGREP | 
 | 17324 |  | 
 | 17325 | # The linker used to build libraries. | 
 | 17326 | LD=$lt_LD_GCJ | 
 | 17327 |  | 
 | 17328 | # Whether we need hard or soft links. | 
 | 17329 | LN_S=$lt_LN_S | 
 | 17330 |  | 
 | 17331 | # A BSD-compatible nm program. | 
 | 17332 | NM=$lt_NM | 
 | 17333 |  | 
 | 17334 | # A symbol stripping program | 
 | 17335 | STRIP=$STRIP | 
 | 17336 |  | 
 | 17337 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 17338 | MAGIC_CMD=$MAGIC_CMD | 
 | 17339 |  | 
 | 17340 | # Used on cygwin: DLL creation program. | 
 | 17341 | DLLTOOL="$DLLTOOL" | 
 | 17342 |  | 
 | 17343 | # Used on cygwin: object dumper. | 
 | 17344 | OBJDUMP="$OBJDUMP" | 
 | 17345 |  | 
 | 17346 | # Used on cygwin: assembler. | 
 | 17347 | AS="$AS" | 
 | 17348 |  | 
 | 17349 | # The name of the directory that contains temporary libtool files. | 
 | 17350 | objdir=$objdir | 
 | 17351 |  | 
 | 17352 | # How to create reloadable object files. | 
 | 17353 | reload_flag=$lt_reload_flag | 
 | 17354 | reload_cmds=$lt_reload_cmds | 
 | 17355 |  | 
 | 17356 | # How to pass a linker flag through the compiler. | 
 | 17357 | wl=$lt_lt_prog_compiler_wl_GCJ | 
 | 17358 |  | 
 | 17359 | # Object file suffix (normally "o"). | 
 | 17360 | objext="$ac_objext" | 
 | 17361 |  | 
 | 17362 | # Old archive suffix (normally "a"). | 
 | 17363 | libext="$libext" | 
 | 17364 |  | 
 | 17365 | # Shared library suffix (normally ".so"). | 
 | 17366 | shrext='$shrext' | 
 | 17367 |  | 
 | 17368 | # Executable file suffix (normally ""). | 
 | 17369 | exeext="$exeext" | 
 | 17370 |  | 
 | 17371 | # Additional compiler flags for building library objects. | 
 | 17372 | pic_flag=$lt_lt_prog_compiler_pic_GCJ | 
 | 17373 | pic_mode=$pic_mode | 
 | 17374 |  | 
 | 17375 | # What is the maximum length of a command? | 
 | 17376 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
 | 17377 |  | 
 | 17378 | # Does compiler simultaneously support -c and -o options? | 
 | 17379 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ | 
 | 17380 |  | 
 | 17381 | # Must we lock files when doing compilation ? | 
 | 17382 | need_locks=$lt_need_locks | 
 | 17383 |  | 
 | 17384 | # Do we need the lib prefix for modules? | 
 | 17385 | need_lib_prefix=$need_lib_prefix | 
 | 17386 |  | 
 | 17387 | # Do we need a version for libraries? | 
 | 17388 | need_version=$need_version | 
 | 17389 |  | 
 | 17390 | # Whether dlopen is supported. | 
 | 17391 | dlopen_support=$enable_dlopen | 
 | 17392 |  | 
 | 17393 | # Whether dlopen of programs is supported. | 
 | 17394 | dlopen_self=$enable_dlopen_self | 
 | 17395 |  | 
 | 17396 | # Whether dlopen of statically linked programs is supported. | 
 | 17397 | dlopen_self_static=$enable_dlopen_self_static | 
 | 17398 |  | 
 | 17399 | # Compiler flag to prevent dynamic linking. | 
 | 17400 | link_static_flag=$lt_lt_prog_compiler_static_GCJ | 
 | 17401 |  | 
 | 17402 | # Compiler flag to turn off builtin functions. | 
 | 17403 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ | 
 | 17404 |  | 
 | 17405 | # Compiler flag to allow reflexive dlopens. | 
 | 17406 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ | 
 | 17407 |  | 
 | 17408 | # Compiler flag to generate shared objects directly from archives. | 
 | 17409 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ | 
 | 17410 |  | 
 | 17411 | # Compiler flag to generate thread-safe objects. | 
 | 17412 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ | 
 | 17413 |  | 
 | 17414 | # Library versioning type. | 
 | 17415 | version_type=$version_type | 
 | 17416 |  | 
 | 17417 | # Format of library name prefix. | 
 | 17418 | libname_spec=$lt_libname_spec | 
 | 17419 |  | 
 | 17420 | # List of archive names.  First name is the real one, the rest are links. | 
 | 17421 | # The last name is the one that the linker finds with -lNAME. | 
 | 17422 | library_names_spec=$lt_library_names_spec | 
 | 17423 |  | 
 | 17424 | # The coded name of the library, if different from the real name. | 
 | 17425 | soname_spec=$lt_soname_spec | 
 | 17426 |  | 
 | 17427 | # Commands used to build and install an old-style archive. | 
 | 17428 | RANLIB=$lt_RANLIB | 
 | 17429 | old_archive_cmds=$lt_old_archive_cmds_GCJ | 
 | 17430 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 17431 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 17432 |  | 
 | 17433 | # Create an old-style archive from a shared archive. | 
 | 17434 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ | 
 | 17435 |  | 
 | 17436 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 17437 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ | 
 | 17438 |  | 
 | 17439 | # Commands used to build and install a shared archive. | 
 | 17440 | archive_cmds=$lt_archive_cmds_GCJ | 
 | 17441 | archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ | 
 | 17442 | postinstall_cmds=$lt_postinstall_cmds | 
 | 17443 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 17444 |  | 
 | 17445 | # Commands used to build a loadable module (assumed same as above if empty) | 
 | 17446 | module_cmds=$lt_module_cmds_GCJ | 
 | 17447 | module_expsym_cmds=$lt_module_expsym_cmds_GCJ | 
 | 17448 |  | 
 | 17449 | # Commands to strip libraries. | 
 | 17450 | old_striplib=$lt_old_striplib | 
 | 17451 | striplib=$lt_striplib | 
 | 17452 |  | 
 | 17453 | # Dependencies to place before the objects being linked to create a | 
 | 17454 | # shared library. | 
 | 17455 | predep_objects=$lt_predep_objects_GCJ | 
 | 17456 |  | 
 | 17457 | # Dependencies to place after the objects being linked to create a | 
 | 17458 | # shared library. | 
 | 17459 | postdep_objects=$lt_postdep_objects_GCJ | 
 | 17460 |  | 
 | 17461 | # Dependencies to place before the objects being linked to create a | 
 | 17462 | # shared library. | 
 | 17463 | predeps=$lt_predeps_GCJ | 
 | 17464 |  | 
 | 17465 | # Dependencies to place after the objects being linked to create a | 
 | 17466 | # shared library. | 
 | 17467 | postdeps=$lt_postdeps_GCJ | 
 | 17468 |  | 
 | 17469 | # The library search path used internally by the compiler when linking | 
 | 17470 | # a shared library. | 
 | 17471 | compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ | 
 | 17472 |  | 
 | 17473 | # Method to check whether dependent libraries are shared objects. | 
 | 17474 | deplibs_check_method=$lt_deplibs_check_method | 
 | 17475 |  | 
 | 17476 | # Command to use when deplibs_check_method == file_magic. | 
 | 17477 | file_magic_cmd=$lt_file_magic_cmd | 
 | 17478 |  | 
 | 17479 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 17480 | allow_undefined_flag=$lt_allow_undefined_flag_GCJ | 
 | 17481 |  | 
 | 17482 | # Flag that forces no undefined symbols. | 
 | 17483 | no_undefined_flag=$lt_no_undefined_flag_GCJ | 
 | 17484 |  | 
 | 17485 | # Commands used to finish a libtool library installation in a directory. | 
 | 17486 | finish_cmds=$lt_finish_cmds | 
 | 17487 |  | 
 | 17488 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 17489 | finish_eval=$lt_finish_eval | 
 | 17490 |  | 
 | 17491 | # Take the output of nm and produce a listing of raw symbols and C names. | 
 | 17492 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
 | 17493 |  | 
 | 17494 | # Transform the output of nm in a proper C declaration | 
 | 17495 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
 | 17496 |  | 
 | 17497 | # Transform the output of nm in a C name address pair | 
 | 17498 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
 | 17499 |  | 
 | 17500 | # This is the shared library runtime path variable. | 
 | 17501 | runpath_var=$runpath_var | 
 | 17502 |  | 
 | 17503 | # This is the shared library path variable. | 
 | 17504 | shlibpath_var=$shlibpath_var | 
 | 17505 |  | 
 | 17506 | # Is shlibpath searched before the hard-coded library search path? | 
 | 17507 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 17508 |  | 
 | 17509 | # How to hardcode a shared library path into an executable. | 
 | 17510 | hardcode_action=$hardcode_action_GCJ | 
 | 17511 |  | 
 | 17512 | # Whether we should hardcode library paths into libraries. | 
 | 17513 | hardcode_into_libs=$hardcode_into_libs | 
 | 17514 |  | 
 | 17515 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 17516 | # This must work even if \$libdir does not exist. | 
 | 17517 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ | 
 | 17518 |  | 
 | 17519 | # If ld is used when linking, flag to hardcode \$libdir into | 
 | 17520 | # a binary during linking. This must work even if \$libdir does | 
 | 17521 | # not exist. | 
 | 17522 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ | 
 | 17523 |  | 
 | 17524 | # Whether we need a single -rpath flag with a separated argument. | 
 | 17525 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ | 
 | 17526 |  | 
 | 17527 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
 | 17528 | # resulting binary. | 
 | 17529 | hardcode_direct=$hardcode_direct_GCJ | 
 | 17530 |  | 
 | 17531 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 17532 | # resulting binary. | 
 | 17533 | hardcode_minus_L=$hardcode_minus_L_GCJ | 
 | 17534 |  | 
 | 17535 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 17536 | # the resulting binary. | 
 | 17537 | hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ | 
 | 17538 |  | 
 | 17539 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
 | 17540 | # and all subsequent libraries and executables linked against it. | 
 | 17541 | hardcode_automatic=$hardcode_automatic_GCJ | 
 | 17542 |  | 
 | 17543 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 17544 | # restored at relink time. | 
 | 17545 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 17546 |  | 
 | 17547 | # Whether libtool must link a program against all its dependency libraries. | 
 | 17548 | link_all_deplibs=$link_all_deplibs_GCJ | 
 | 17549 |  | 
 | 17550 | # Compile-time system search path for libraries | 
 | 17551 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 17552 |  | 
 | 17553 | # Run-time system search path for libraries | 
 | 17554 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 17555 |  | 
 | 17556 | # Fix the shell variable \$srcfile for the compiler. | 
 | 17557 | fix_srcfile_path="$fix_srcfile_path_GCJ" | 
 | 17558 |  | 
 | 17559 | # Set to yes if exported symbols are required. | 
 | 17560 | always_export_symbols=$always_export_symbols_GCJ | 
 | 17561 |  | 
 | 17562 | # The commands to list exported symbols. | 
 | 17563 | export_symbols_cmds=$lt_export_symbols_cmds_GCJ | 
 | 17564 |  | 
 | 17565 | # The commands to extract the exported symbol list from a shared archive. | 
 | 17566 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 17567 |  | 
 | 17568 | # Symbols that should not be listed in the preloaded symbols. | 
 | 17569 | exclude_expsyms=$lt_exclude_expsyms_GCJ | 
 | 17570 |  | 
 | 17571 | # Symbols that must always be exported. | 
 | 17572 | include_expsyms=$lt_include_expsyms_GCJ | 
 | 17573 |  | 
 | 17574 | # ### END LIBTOOL TAG CONFIG: $tagname | 
 | 17575 |  | 
 | 17576 | __EOF__ | 
 | 17577 |  | 
 | 17578 |  | 
 | 17579 | else | 
 | 17580 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 17581 |   # `config.status --recheck' to rerun these tests and create the | 
 | 17582 |   # libtool script then. | 
 | 17583 |   test -f Makefile && make "$ltmain" | 
 | 17584 | fi | 
 | 17585 |  | 
 | 17586 |  | 
 | 17587 | ac_ext=c | 
 | 17588 | ac_cpp='$CPP $CPPFLAGS' | 
 | 17589 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 17590 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 17591 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 17592 |  | 
 | 17593 | CC="$lt_save_CC" | 
 | 17594 |  | 
 | 17595 | 	else | 
 | 17596 | 	  tagname="" | 
 | 17597 | 	fi | 
 | 17598 | 	;; | 
 | 17599 |  | 
 | 17600 |       RC) | 
 | 17601 |  | 
 | 17602 |  | 
 | 17603 |  | 
 | 17604 | # Source file extension for RC test sources. | 
 | 17605 | ac_ext=rc | 
 | 17606 |  | 
 | 17607 | # Object file extension for compiled RC test sources. | 
 | 17608 | objext=o | 
 | 17609 | objext_RC=$objext | 
 | 17610 |  | 
 | 17611 | # Code to be used in simple compile tests | 
 | 17612 | lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' | 
 | 17613 |  | 
 | 17614 | # Code to be used in simple link tests | 
 | 17615 | lt_simple_link_test_code="$lt_simple_compile_test_code" | 
 | 17616 |  | 
 | 17617 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
 | 17618 |  | 
 | 17619 | # If no C compiler was specified, use CC. | 
 | 17620 | LTCC=${LTCC-"$CC"} | 
 | 17621 |  | 
 | 17622 | # Allow CC to be a program name with arguments. | 
 | 17623 | compiler=$CC | 
 | 17624 |  | 
 | 17625 |  | 
 | 17626 | # Allow CC to be a program name with arguments. | 
 | 17627 | lt_save_CC="$CC" | 
 | 17628 | CC=${RC-"windres"} | 
 | 17629 | compiler=$CC | 
 | 17630 | compiler_RC=$CC | 
 | 17631 | lt_cv_prog_compiler_c_o_RC=yes | 
 | 17632 |  | 
 | 17633 | # The else clause should only fire when bootstrapping the | 
 | 17634 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 17635 | # with your package, and you will get complaints that there are | 
 | 17636 | # no rules to generate ltmain.sh. | 
 | 17637 | if test -f "$ltmain"; then | 
 | 17638 |   # See if we are running on zsh, and set the options which allow our commands through | 
 | 17639 |   # without removal of \ escapes. | 
 | 17640 |   if test -n "${ZSH_VERSION+set}" ; then | 
 | 17641 |     setopt NO_GLOB_SUBST | 
 | 17642 |   fi | 
 | 17643 |   # Now quote all the things that may contain metacharacters while being | 
 | 17644 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 17645 |   # variables and quote the copies for generation of the libtool script. | 
 | 17646 |   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
 | 17647 |     libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
 | 17648 |     old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
 | 17649 |     deplibs_check_method reload_flag reload_cmds need_locks \ | 
 | 17650 |     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
 | 17651 |     lt_cv_sys_global_symbol_to_c_name_address \ | 
 | 17652 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
 | 17653 |     old_postinstall_cmds old_postuninstall_cmds \ | 
 | 17654 |     compiler_RC \ | 
 | 17655 |     CC_RC \ | 
 | 17656 |     LD_RC \ | 
 | 17657 |     lt_prog_compiler_wl_RC \ | 
 | 17658 |     lt_prog_compiler_pic_RC \ | 
 | 17659 |     lt_prog_compiler_static_RC \ | 
 | 17660 |     lt_prog_compiler_no_builtin_flag_RC \ | 
 | 17661 |     export_dynamic_flag_spec_RC \ | 
 | 17662 |     thread_safe_flag_spec_RC \ | 
 | 17663 |     whole_archive_flag_spec_RC \ | 
 | 17664 |     enable_shared_with_static_runtimes_RC \ | 
 | 17665 |     old_archive_cmds_RC \ | 
 | 17666 |     old_archive_from_new_cmds_RC \ | 
 | 17667 |     predep_objects_RC \ | 
 | 17668 |     postdep_objects_RC \ | 
 | 17669 |     predeps_RC \ | 
 | 17670 |     postdeps_RC \ | 
 | 17671 |     compiler_lib_search_path_RC \ | 
 | 17672 |     archive_cmds_RC \ | 
 | 17673 |     archive_expsym_cmds_RC \ | 
 | 17674 |     postinstall_cmds_RC \ | 
 | 17675 |     postuninstall_cmds_RC \ | 
 | 17676 |     old_archive_from_expsyms_cmds_RC \ | 
 | 17677 |     allow_undefined_flag_RC \ | 
 | 17678 |     no_undefined_flag_RC \ | 
 | 17679 |     export_symbols_cmds_RC \ | 
 | 17680 |     hardcode_libdir_flag_spec_RC \ | 
 | 17681 |     hardcode_libdir_flag_spec_ld_RC \ | 
 | 17682 |     hardcode_libdir_separator_RC \ | 
 | 17683 |     hardcode_automatic_RC \ | 
 | 17684 |     module_cmds_RC \ | 
 | 17685 |     module_expsym_cmds_RC \ | 
 | 17686 |     lt_cv_prog_compiler_c_o_RC \ | 
 | 17687 |     exclude_expsyms_RC \ | 
 | 17688 |     include_expsyms_RC; do | 
 | 17689 |  | 
 | 17690 |     case $var in | 
 | 17691 |     old_archive_cmds_RC | \ | 
 | 17692 |     old_archive_from_new_cmds_RC | \ | 
 | 17693 |     archive_cmds_RC | \ | 
 | 17694 |     archive_expsym_cmds_RC | \ | 
 | 17695 |     module_cmds_RC | \ | 
 | 17696 |     module_expsym_cmds_RC | \ | 
 | 17697 |     old_archive_from_expsyms_cmds_RC | \ | 
 | 17698 |     export_symbols_cmds_RC | \ | 
 | 17699 |     extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
 | 17700 |     postinstall_cmds | postuninstall_cmds | \ | 
 | 17701 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 17702 |     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
 | 17703 |       # Double-quote double-evaled strings. | 
 | 17704 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 17705 |       ;; | 
 | 17706 |     *) | 
 | 17707 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 17708 |       ;; | 
 | 17709 |     esac | 
 | 17710 |   done | 
 | 17711 |  | 
 | 17712 |   case $lt_echo in | 
 | 17713 |   *'\$0 --fallback-echo"') | 
 | 17714 |     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
 | 17715 |     ;; | 
 | 17716 |   esac | 
 | 17717 |  | 
 | 17718 | cfgfile="$ofile" | 
 | 17719 |  | 
 | 17720 |   cat <<__EOF__ >> "$cfgfile" | 
 | 17721 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
 | 17722 |  | 
 | 17723 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 17724 |  | 
 | 17725 | # Shell to use when invoking shell scripts. | 
 | 17726 | SHELL=$lt_SHELL | 
 | 17727 |  | 
 | 17728 | # Whether or not to build shared libraries. | 
 | 17729 | build_libtool_libs=$enable_shared | 
 | 17730 |  | 
 | 17731 | # Whether or not to build static libraries. | 
 | 17732 | build_old_libs=$enable_static | 
 | 17733 |  | 
 | 17734 | # Whether or not to add -lc for building shared libraries. | 
 | 17735 | build_libtool_need_lc=$archive_cmds_need_lc_RC | 
 | 17736 |  | 
 | 17737 | # Whether or not to disallow shared libs when runtime libs are static | 
 | 17738 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC | 
 | 17739 |  | 
 | 17740 | # Whether or not to optimize for fast installation. | 
 | 17741 | fast_install=$enable_fast_install | 
 | 17742 |  | 
 | 17743 | # The host system. | 
 | 17744 | host_alias=$host_alias | 
 | 17745 | host=$host | 
 | 17746 |  | 
 | 17747 | # An echo program that does not interpret backslashes. | 
 | 17748 | echo=$lt_echo | 
 | 17749 |  | 
 | 17750 | # The archiver. | 
 | 17751 | AR=$lt_AR | 
 | 17752 | AR_FLAGS=$lt_AR_FLAGS | 
 | 17753 |  | 
 | 17754 | # A C compiler. | 
 | 17755 | LTCC=$lt_LTCC | 
 | 17756 |  | 
 | 17757 | # A language-specific compiler. | 
 | 17758 | CC=$lt_compiler_RC | 
 | 17759 |  | 
 | 17760 | # Is the compiler the GNU C compiler? | 
 | 17761 | with_gcc=$GCC_RC | 
 | 17762 |  | 
 | 17763 | # An ERE matcher. | 
 | 17764 | EGREP=$lt_EGREP | 
 | 17765 |  | 
 | 17766 | # The linker used to build libraries. | 
 | 17767 | LD=$lt_LD_RC | 
 | 17768 |  | 
 | 17769 | # Whether we need hard or soft links. | 
 | 17770 | LN_S=$lt_LN_S | 
 | 17771 |  | 
 | 17772 | # A BSD-compatible nm program. | 
 | 17773 | NM=$lt_NM | 
 | 17774 |  | 
 | 17775 | # A symbol stripping program | 
 | 17776 | STRIP=$STRIP | 
 | 17777 |  | 
 | 17778 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 17779 | MAGIC_CMD=$MAGIC_CMD | 
 | 17780 |  | 
 | 17781 | # Used on cygwin: DLL creation program. | 
 | 17782 | DLLTOOL="$DLLTOOL" | 
 | 17783 |  | 
 | 17784 | # Used on cygwin: object dumper. | 
 | 17785 | OBJDUMP="$OBJDUMP" | 
 | 17786 |  | 
 | 17787 | # Used on cygwin: assembler. | 
 | 17788 | AS="$AS" | 
 | 17789 |  | 
 | 17790 | # The name of the directory that contains temporary libtool files. | 
 | 17791 | objdir=$objdir | 
 | 17792 |  | 
 | 17793 | # How to create reloadable object files. | 
 | 17794 | reload_flag=$lt_reload_flag | 
 | 17795 | reload_cmds=$lt_reload_cmds | 
 | 17796 |  | 
 | 17797 | # How to pass a linker flag through the compiler. | 
 | 17798 | wl=$lt_lt_prog_compiler_wl_RC | 
 | 17799 |  | 
 | 17800 | # Object file suffix (normally "o"). | 
 | 17801 | objext="$ac_objext" | 
 | 17802 |  | 
 | 17803 | # Old archive suffix (normally "a"). | 
 | 17804 | libext="$libext" | 
 | 17805 |  | 
 | 17806 | # Shared library suffix (normally ".so"). | 
 | 17807 | shrext='$shrext' | 
 | 17808 |  | 
 | 17809 | # Executable file suffix (normally ""). | 
 | 17810 | exeext="$exeext" | 
 | 17811 |  | 
 | 17812 | # Additional compiler flags for building library objects. | 
 | 17813 | pic_flag=$lt_lt_prog_compiler_pic_RC | 
 | 17814 | pic_mode=$pic_mode | 
 | 17815 |  | 
 | 17816 | # What is the maximum length of a command? | 
 | 17817 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
 | 17818 |  | 
 | 17819 | # Does compiler simultaneously support -c and -o options? | 
 | 17820 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC | 
 | 17821 |  | 
 | 17822 | # Must we lock files when doing compilation ? | 
 | 17823 | need_locks=$lt_need_locks | 
 | 17824 |  | 
 | 17825 | # Do we need the lib prefix for modules? | 
 | 17826 | need_lib_prefix=$need_lib_prefix | 
 | 17827 |  | 
 | 17828 | # Do we need a version for libraries? | 
 | 17829 | need_version=$need_version | 
 | 17830 |  | 
 | 17831 | # Whether dlopen is supported. | 
 | 17832 | dlopen_support=$enable_dlopen | 
 | 17833 |  | 
 | 17834 | # Whether dlopen of programs is supported. | 
 | 17835 | dlopen_self=$enable_dlopen_self | 
 | 17836 |  | 
 | 17837 | # Whether dlopen of statically linked programs is supported. | 
 | 17838 | dlopen_self_static=$enable_dlopen_self_static | 
 | 17839 |  | 
 | 17840 | # Compiler flag to prevent dynamic linking. | 
 | 17841 | link_static_flag=$lt_lt_prog_compiler_static_RC | 
 | 17842 |  | 
 | 17843 | # Compiler flag to turn off builtin functions. | 
 | 17844 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC | 
 | 17845 |  | 
 | 17846 | # Compiler flag to allow reflexive dlopens. | 
 | 17847 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC | 
 | 17848 |  | 
 | 17849 | # Compiler flag to generate shared objects directly from archives. | 
 | 17850 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC | 
 | 17851 |  | 
 | 17852 | # Compiler flag to generate thread-safe objects. | 
 | 17853 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC | 
 | 17854 |  | 
 | 17855 | # Library versioning type. | 
 | 17856 | version_type=$version_type | 
 | 17857 |  | 
 | 17858 | # Format of library name prefix. | 
 | 17859 | libname_spec=$lt_libname_spec | 
 | 17860 |  | 
 | 17861 | # List of archive names.  First name is the real one, the rest are links. | 
 | 17862 | # The last name is the one that the linker finds with -lNAME. | 
 | 17863 | library_names_spec=$lt_library_names_spec | 
 | 17864 |  | 
 | 17865 | # The coded name of the library, if different from the real name. | 
 | 17866 | soname_spec=$lt_soname_spec | 
 | 17867 |  | 
 | 17868 | # Commands used to build and install an old-style archive. | 
 | 17869 | RANLIB=$lt_RANLIB | 
 | 17870 | old_archive_cmds=$lt_old_archive_cmds_RC | 
 | 17871 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 17872 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 17873 |  | 
 | 17874 | # Create an old-style archive from a shared archive. | 
 | 17875 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC | 
 | 17876 |  | 
 | 17877 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 17878 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC | 
 | 17879 |  | 
 | 17880 | # Commands used to build and install a shared archive. | 
 | 17881 | archive_cmds=$lt_archive_cmds_RC | 
 | 17882 | archive_expsym_cmds=$lt_archive_expsym_cmds_RC | 
 | 17883 | postinstall_cmds=$lt_postinstall_cmds | 
 | 17884 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 17885 |  | 
 | 17886 | # Commands used to build a loadable module (assumed same as above if empty) | 
 | 17887 | module_cmds=$lt_module_cmds_RC | 
 | 17888 | module_expsym_cmds=$lt_module_expsym_cmds_RC | 
 | 17889 |  | 
 | 17890 | # Commands to strip libraries. | 
 | 17891 | old_striplib=$lt_old_striplib | 
 | 17892 | striplib=$lt_striplib | 
 | 17893 |  | 
 | 17894 | # Dependencies to place before the objects being linked to create a | 
 | 17895 | # shared library. | 
 | 17896 | predep_objects=$lt_predep_objects_RC | 
 | 17897 |  | 
 | 17898 | # Dependencies to place after the objects being linked to create a | 
 | 17899 | # shared library. | 
 | 17900 | postdep_objects=$lt_postdep_objects_RC | 
 | 17901 |  | 
 | 17902 | # Dependencies to place before the objects being linked to create a | 
 | 17903 | # shared library. | 
 | 17904 | predeps=$lt_predeps_RC | 
 | 17905 |  | 
 | 17906 | # Dependencies to place after the objects being linked to create a | 
 | 17907 | # shared library. | 
 | 17908 | postdeps=$lt_postdeps_RC | 
 | 17909 |  | 
 | 17910 | # The library search path used internally by the compiler when linking | 
 | 17911 | # a shared library. | 
 | 17912 | compiler_lib_search_path=$lt_compiler_lib_search_path_RC | 
 | 17913 |  | 
 | 17914 | # Method to check whether dependent libraries are shared objects. | 
 | 17915 | deplibs_check_method=$lt_deplibs_check_method | 
 | 17916 |  | 
 | 17917 | # Command to use when deplibs_check_method == file_magic. | 
 | 17918 | file_magic_cmd=$lt_file_magic_cmd | 
 | 17919 |  | 
 | 17920 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 17921 | allow_undefined_flag=$lt_allow_undefined_flag_RC | 
 | 17922 |  | 
 | 17923 | # Flag that forces no undefined symbols. | 
 | 17924 | no_undefined_flag=$lt_no_undefined_flag_RC | 
 | 17925 |  | 
 | 17926 | # Commands used to finish a libtool library installation in a directory. | 
 | 17927 | finish_cmds=$lt_finish_cmds | 
 | 17928 |  | 
 | 17929 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 17930 | finish_eval=$lt_finish_eval | 
 | 17931 |  | 
 | 17932 | # Take the output of nm and produce a listing of raw symbols and C names. | 
 | 17933 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
 | 17934 |  | 
 | 17935 | # Transform the output of nm in a proper C declaration | 
 | 17936 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
 | 17937 |  | 
 | 17938 | # Transform the output of nm in a C name address pair | 
 | 17939 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
 | 17940 |  | 
 | 17941 | # This is the shared library runtime path variable. | 
 | 17942 | runpath_var=$runpath_var | 
 | 17943 |  | 
 | 17944 | # This is the shared library path variable. | 
 | 17945 | shlibpath_var=$shlibpath_var | 
 | 17946 |  | 
 | 17947 | # Is shlibpath searched before the hard-coded library search path? | 
 | 17948 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 17949 |  | 
 | 17950 | # How to hardcode a shared library path into an executable. | 
 | 17951 | hardcode_action=$hardcode_action_RC | 
 | 17952 |  | 
 | 17953 | # Whether we should hardcode library paths into libraries. | 
 | 17954 | hardcode_into_libs=$hardcode_into_libs | 
 | 17955 |  | 
 | 17956 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 17957 | # This must work even if \$libdir does not exist. | 
 | 17958 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC | 
 | 17959 |  | 
 | 17960 | # If ld is used when linking, flag to hardcode \$libdir into | 
 | 17961 | # a binary during linking. This must work even if \$libdir does | 
 | 17962 | # not exist. | 
 | 17963 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC | 
 | 17964 |  | 
 | 17965 | # Whether we need a single -rpath flag with a separated argument. | 
 | 17966 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC | 
 | 17967 |  | 
 | 17968 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
 | 17969 | # resulting binary. | 
 | 17970 | hardcode_direct=$hardcode_direct_RC | 
 | 17971 |  | 
 | 17972 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 17973 | # resulting binary. | 
 | 17974 | hardcode_minus_L=$hardcode_minus_L_RC | 
 | 17975 |  | 
 | 17976 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 17977 | # the resulting binary. | 
 | 17978 | hardcode_shlibpath_var=$hardcode_shlibpath_var_RC | 
 | 17979 |  | 
 | 17980 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
 | 17981 | # and all subsequent libraries and executables linked against it. | 
 | 17982 | hardcode_automatic=$hardcode_automatic_RC | 
 | 17983 |  | 
 | 17984 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 17985 | # restored at relink time. | 
 | 17986 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 17987 |  | 
 | 17988 | # Whether libtool must link a program against all its dependency libraries. | 
 | 17989 | link_all_deplibs=$link_all_deplibs_RC | 
 | 17990 |  | 
 | 17991 | # Compile-time system search path for libraries | 
 | 17992 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 17993 |  | 
 | 17994 | # Run-time system search path for libraries | 
 | 17995 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 17996 |  | 
 | 17997 | # Fix the shell variable \$srcfile for the compiler. | 
 | 17998 | fix_srcfile_path="$fix_srcfile_path_RC" | 
 | 17999 |  | 
 | 18000 | # Set to yes if exported symbols are required. | 
 | 18001 | always_export_symbols=$always_export_symbols_RC | 
 | 18002 |  | 
 | 18003 | # The commands to list exported symbols. | 
 | 18004 | export_symbols_cmds=$lt_export_symbols_cmds_RC | 
 | 18005 |  | 
 | 18006 | # The commands to extract the exported symbol list from a shared archive. | 
 | 18007 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 18008 |  | 
 | 18009 | # Symbols that should not be listed in the preloaded symbols. | 
 | 18010 | exclude_expsyms=$lt_exclude_expsyms_RC | 
 | 18011 |  | 
 | 18012 | # Symbols that must always be exported. | 
 | 18013 | include_expsyms=$lt_include_expsyms_RC | 
 | 18014 |  | 
 | 18015 | # ### END LIBTOOL TAG CONFIG: $tagname | 
 | 18016 |  | 
 | 18017 | __EOF__ | 
 | 18018 |  | 
 | 18019 |  | 
 | 18020 | else | 
 | 18021 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 18022 |   # `config.status --recheck' to rerun these tests and create the | 
 | 18023 |   # libtool script then. | 
 | 18024 |   test -f Makefile && make "$ltmain" | 
 | 18025 | fi | 
 | 18026 |  | 
 | 18027 |  | 
 | 18028 | ac_ext=c | 
 | 18029 | ac_cpp='$CPP $CPPFLAGS' | 
 | 18030 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 18031 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 18032 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 18033 |  | 
 | 18034 | CC="$lt_save_CC" | 
 | 18035 |  | 
 | 18036 | 	;; | 
 | 18037 |  | 
 | 18038 |       *) | 
 | 18039 | 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 | 
 | 18040 | echo "$as_me: error: Unsupported tag name: $tagname" >&2;} | 
 | 18041 |    { (exit 1); exit 1; }; } | 
 | 18042 | 	;; | 
 | 18043 |       esac | 
 | 18044 |  | 
 | 18045 |       # Append the new tag name to the list of available tags. | 
 | 18046 |       if test -n "$tagname" ; then | 
 | 18047 |       available_tags="$available_tags $tagname" | 
 | 18048 |     fi | 
 | 18049 |     fi | 
 | 18050 |   done | 
 | 18051 |   IFS="$lt_save_ifs" | 
 | 18052 |  | 
 | 18053 |   # Now substitute the updated list of available tags. | 
 | 18054 |   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then | 
 | 18055 |     mv "${ofile}T" "$ofile" | 
 | 18056 |     chmod +x "$ofile" | 
 | 18057 |   else | 
 | 18058 |     rm -f "${ofile}T" | 
 | 18059 |     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 | 
 | 18060 | echo "$as_me: error: unable to update list of available tagged configurations." >&2;} | 
 | 18061 |    { (exit 1); exit 1; }; } | 
 | 18062 |   fi | 
 | 18063 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18064 |  | 
 | 18065 |  | 
 | 18066 |  | 
 | 18067 | # This can be used to rebuild libtool when needed | 
 | 18068 | LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" | 
 | 18069 |  | 
 | 18070 | # Always use our own libtool. | 
| John Criswell | 8d4221e | 2003-07-23 16:52:50 +0000 | [diff] [blame] | 18071 | LIBTOOL='$(SHELL) $(top_builddir)/mklib' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18072 |  | 
 | 18073 | # Prevent multiple expansion | 
 | 18074 |  | 
 | 18075 |  | 
 | 18076 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 18077 |  | 
 | 18078 |  | 
 | 18079 |  | 
 | 18080 |  | 
 | 18081 |  | 
 | 18082 |  | 
 | 18083 |  | 
 | 18084 |  | 
 | 18085 |  | 
 | 18086 |  | 
 | 18087 |  | 
 | 18088 |  | 
 | 18089 |  | 
 | 18090 |  | 
 | 18091 |  | 
 | 18092 |  | 
 | 18093 |  | 
 | 18094 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18095 | # Extract the first word of "dot", so it can be a program name with args. | 
 | 18096 | set dummy dot; ac_word=$2 | 
 | 18097 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18098 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18099 | if test "${ac_cv_path_DOT+set}" = set; then | 
 | 18100 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18101 | else | 
 | 18102 |   case $DOT in | 
 | 18103 |   [\\/]* | ?:[\\/]*) | 
 | 18104 |   ac_cv_path_DOT="$DOT" # Let the user override the test with a path. | 
 | 18105 |   ;; | 
 | 18106 |   *) | 
 | 18107 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18108 | for as_dir in $PATH | 
 | 18109 | do | 
 | 18110 |   IFS=$as_save_IFS | 
 | 18111 |   test -z "$as_dir" && as_dir=. | 
 | 18112 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18113 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18114 |     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" | 
 | 18115 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18116 |     break 2 | 
 | 18117 |   fi | 
 | 18118 | done | 
 | 18119 | done | 
 | 18120 |  | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 18121 |   test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="true dot" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18122 |   ;; | 
 | 18123 | esac | 
 | 18124 | fi | 
 | 18125 | DOT=$ac_cv_path_DOT | 
 | 18126 |  | 
 | 18127 | if test -n "$DOT"; then | 
 | 18128 |   echo "$as_me:$LINENO: result: $DOT" >&5 | 
 | 18129 | echo "${ECHO_T}$DOT" >&6 | 
 | 18130 | else | 
 | 18131 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18132 | echo "${ECHO_T}no" >&6 | 
 | 18133 | fi | 
 | 18134 |  | 
 | 18135 | # Extract the first word of "etags", so it can be a program name with args. | 
 | 18136 | set dummy etags; ac_word=$2 | 
 | 18137 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18138 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18139 | if test "${ac_cv_path_ETAGS+set}" = set; then | 
 | 18140 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18141 | else | 
 | 18142 |   case $ETAGS in | 
 | 18143 |   [\\/]* | ?:[\\/]*) | 
 | 18144 |   ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path. | 
 | 18145 |   ;; | 
 | 18146 |   *) | 
 | 18147 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18148 | for as_dir in $PATH | 
 | 18149 | do | 
 | 18150 |   IFS=$as_save_IFS | 
 | 18151 |   test -z "$as_dir" && as_dir=. | 
 | 18152 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18153 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18154 |     ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext" | 
 | 18155 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18156 |     break 2 | 
 | 18157 |   fi | 
 | 18158 | done | 
 | 18159 | done | 
 | 18160 |  | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 18161 |   test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="true etags" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18162 |   ;; | 
 | 18163 | esac | 
 | 18164 | fi | 
 | 18165 | ETAGS=$ac_cv_path_ETAGS | 
 | 18166 |  | 
 | 18167 | if test -n "$ETAGS"; then | 
 | 18168 |   echo "$as_me:$LINENO: result: $ETAGS" >&5 | 
 | 18169 | echo "${ECHO_T}$ETAGS" >&6 | 
 | 18170 | else | 
 | 18171 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18172 | echo "${ECHO_T}no" >&6 | 
 | 18173 | fi | 
 | 18174 |  | 
| Brian Gaeke | afa3fbf | 2004-01-22 21:55:02 +0000 | [diff] [blame] | 18175 | etags_version=`$ETAGS --version 2>&1` | 
 | 18176 | case "$etags_version" in | 
 | 18177 | 	*Eexuberant*) ETAGSFLAGS="--language-force=c++" ;; | 
 | 18178 | 	*GNU\ Emacs*) ETAGSFLAGS="-l c++" ;; | 
 | 18179 | 	*) ETAGSFLAGS="" ;; | 
 | 18180 | esac | 
 | 18181 | ETAGSFLAGS=$ETAGSFLAGS | 
 | 18182 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18183 | # Extract the first word of "python", so it can be a program name with args. | 
 | 18184 | set dummy python; ac_word=$2 | 
 | 18185 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18186 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18187 | if test "${ac_cv_path_PYTHON+set}" = set; then | 
 | 18188 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18189 | else | 
 | 18190 |   case $PYTHON in | 
 | 18191 |   [\\/]* | ?:[\\/]*) | 
 | 18192 |   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. | 
 | 18193 |   ;; | 
 | 18194 |   *) | 
 | 18195 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18196 | for as_dir in $PATH | 
 | 18197 | do | 
 | 18198 |   IFS=$as_save_IFS | 
 | 18199 |   test -z "$as_dir" && as_dir=. | 
 | 18200 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18201 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18202 |     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" | 
 | 18203 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18204 |     break 2 | 
 | 18205 |   fi | 
 | 18206 | done | 
 | 18207 | done | 
 | 18208 |  | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 18209 |   test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="true python" | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18210 |   ;; | 
 | 18211 | esac | 
 | 18212 | fi | 
 | 18213 | PYTHON=$ac_cv_path_PYTHON | 
 | 18214 |  | 
 | 18215 | if test -n "$PYTHON"; then | 
 | 18216 |   echo "$as_me:$LINENO: result: $PYTHON" >&5 | 
 | 18217 | echo "${ECHO_T}$PYTHON" >&6 | 
 | 18218 | else | 
 | 18219 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18220 | echo "${ECHO_T}no" >&6 | 
 | 18221 | fi | 
 | 18222 |  | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 18223 | if test "$PYTHON" = "false" | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18224 | then | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 18225 | 	{ echo "$as_me:$LINENO: WARNING: Python is required for the test suite, but it was not found" >&5 | 
 | 18226 | echo "$as_me: WARNING: Python is required for the test suite, but it was not found" >&2;} | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18227 | fi | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18228 | # Extract the first word of "qmtest", so it can be a program name with args. | 
 | 18229 | set dummy qmtest; ac_word=$2 | 
 | 18230 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18231 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18232 | if test "${ac_cv_path_QMTEST+set}" = set; then | 
 | 18233 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18234 | else | 
 | 18235 |   case $QMTEST in | 
 | 18236 |   [\\/]* | ?:[\\/]*) | 
 | 18237 |   ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path. | 
 | 18238 |   ;; | 
 | 18239 |   *) | 
 | 18240 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18241 | for as_dir in $PATH | 
 | 18242 | do | 
 | 18243 |   IFS=$as_save_IFS | 
 | 18244 |   test -z "$as_dir" && as_dir=. | 
 | 18245 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18246 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18247 |     ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext" | 
 | 18248 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18249 |     break 2 | 
 | 18250 |   fi | 
 | 18251 | done | 
 | 18252 | done | 
 | 18253 |  | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 18254 |   test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="true qmtest" | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18255 |   ;; | 
 | 18256 | esac | 
 | 18257 | fi | 
 | 18258 | QMTEST=$ac_cv_path_QMTEST | 
 | 18259 |  | 
 | 18260 | if test -n "$QMTEST"; then | 
 | 18261 |   echo "$as_me:$LINENO: result: $QMTEST" >&5 | 
 | 18262 | echo "${ECHO_T}$QMTEST" >&6 | 
 | 18263 | else | 
 | 18264 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18265 | echo "${ECHO_T}no" >&6 | 
 | 18266 | fi | 
 | 18267 |  | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 18268 | if test "$QMTEST" = "false" | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18269 | then | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 18270 | 	{ echo "$as_me:$LINENO: WARNING: QMTest is required for the test suite, but it was not found" >&5 | 
 | 18271 | echo "$as_me: WARNING: QMTest is required for the test suite, but it was not found" >&2;} | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18272 | fi | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18273 |  | 
 | 18274 | pyversion=`$PYTHON -V 2>&1 | cut -d\  -f2` | 
 | 18275 | pymajor=`echo $pyversion | cut -d. -f1` | 
 | 18276 | pyminor=`echo $pyversion | cut -d. -f2` | 
 | 18277 |  | 
 | 18278 | if test "$pymajor" -ge "2" | 
 | 18279 | then | 
 | 18280 | 	if test "$pymajor" -eq "2" | 
 | 18281 | 	then | 
 | 18282 | 		if test "$pyminor" -lt "2" | 
 | 18283 | 		then | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 18284 | 			{ echo "$as_me:$LINENO: WARNING: QMTest requires Python 2.2 or later" >&5 | 
 | 18285 | echo "$as_me: WARNING: QMTest requires Python 2.2 or later" >&2;} | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18286 | 		fi | 
 | 18287 | 	fi | 
 | 18288 | else | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 18289 | 	{ echo "$as_me:$LINENO: WARNING: QMTest requires Python 2.2 or later" >&5 | 
 | 18290 | echo "$as_me: WARNING: QMTest requires Python 2.2 or later" >&2;} | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18291 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18292 |  | 
 | 18293 |  | 
 | 18294 |  | 
 | 18295 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18296 | echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | 
 | 18297 | echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 | 
 | 18298 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 
 | 18299 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18300 | else | 
 | 18301 |   ac_check_lib_save_LIBS=$LIBS | 
 | 18302 | LIBS="-lelf  $LIBS" | 
 | 18303 | cat >conftest.$ac_ext <<_ACEOF | 
 | 18304 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18305 | /* confdefs.h.  */ | 
 | 18306 | _ACEOF | 
 | 18307 | cat confdefs.h >>conftest.$ac_ext | 
 | 18308 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18309 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18310 |  | 
 | 18311 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 18312 | #ifdef __cplusplus | 
 | 18313 | extern "C" | 
 | 18314 | #endif | 
 | 18315 | /* We use char because int might match the return type of a gcc2 | 
 | 18316 |    builtin and then its argument prototype would still apply.  */ | 
 | 18317 | char elf_begin (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18318 | int | 
 | 18319 | main () | 
 | 18320 | { | 
 | 18321 | elf_begin (); | 
 | 18322 |   ; | 
 | 18323 |   return 0; | 
 | 18324 | } | 
 | 18325 | _ACEOF | 
 | 18326 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 18327 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 18328 |   (eval $ac_link) 2>&5 | 
 | 18329 |   ac_status=$? | 
 | 18330 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18331 |   (exit $ac_status); } && | 
 | 18332 |          { ac_try='test -s conftest$ac_exeext' | 
 | 18333 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 18334 |   (eval $ac_try) 2>&5 | 
 | 18335 |   ac_status=$? | 
 | 18336 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18337 |   (exit $ac_status); }; }; then | 
 | 18338 |   ac_cv_lib_elf_elf_begin=yes | 
 | 18339 | else | 
 | 18340 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18341 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 18342 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18343 | ac_cv_lib_elf_elf_begin=no | 
 | 18344 | fi | 
 | 18345 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 18346 | LIBS=$ac_check_lib_save_LIBS | 
 | 18347 | fi | 
 | 18348 | echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | 
 | 18349 | echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 | 
 | 18350 | if test $ac_cv_lib_elf_elf_begin = yes; then | 
 | 18351 |   cat >>confdefs.h <<_ACEOF | 
 | 18352 | #define HAVE_LIBELF 1 | 
 | 18353 | _ACEOF | 
 | 18354 |  | 
 | 18355 |   LIBS="-lelf $LIBS" | 
 | 18356 |  | 
 | 18357 | fi | 
 | 18358 |  | 
 | 18359 |  | 
 | 18360 | echo "$as_me:$LINENO: checking for library containing dlopen" >&5 | 
 | 18361 | echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6 | 
 | 18362 | if test "${ac_cv_search_dlopen+set}" = set; then | 
 | 18363 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18364 | else | 
 | 18365 |   ac_func_search_save_LIBS=$LIBS | 
 | 18366 | ac_cv_search_dlopen=no | 
 | 18367 | cat >conftest.$ac_ext <<_ACEOF | 
 | 18368 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18369 | /* confdefs.h.  */ | 
 | 18370 | _ACEOF | 
 | 18371 | cat confdefs.h >>conftest.$ac_ext | 
 | 18372 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18373 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18374 |  | 
 | 18375 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 18376 | #ifdef __cplusplus | 
 | 18377 | extern "C" | 
 | 18378 | #endif | 
 | 18379 | /* We use char because int might match the return type of a gcc2 | 
 | 18380 |    builtin and then its argument prototype would still apply.  */ | 
 | 18381 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18382 | int | 
 | 18383 | main () | 
 | 18384 | { | 
 | 18385 | dlopen (); | 
 | 18386 |   ; | 
 | 18387 |   return 0; | 
 | 18388 | } | 
 | 18389 | _ACEOF | 
 | 18390 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 18391 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 18392 |   (eval $ac_link) 2>&5 | 
 | 18393 |   ac_status=$? | 
 | 18394 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18395 |   (exit $ac_status); } && | 
 | 18396 |          { ac_try='test -s conftest$ac_exeext' | 
 | 18397 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 18398 |   (eval $ac_try) 2>&5 | 
 | 18399 |   ac_status=$? | 
 | 18400 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18401 |   (exit $ac_status); }; }; then | 
 | 18402 |   ac_cv_search_dlopen="none required" | 
 | 18403 | else | 
 | 18404 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18405 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 18406 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18407 | fi | 
 | 18408 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 18409 | if test "$ac_cv_search_dlopen" = no; then | 
 | 18410 |   for ac_lib in dl; do | 
 | 18411 |     LIBS="-l$ac_lib  $ac_func_search_save_LIBS" | 
 | 18412 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 18413 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18414 | /* confdefs.h.  */ | 
 | 18415 | _ACEOF | 
 | 18416 | cat confdefs.h >>conftest.$ac_ext | 
 | 18417 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18418 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18419 |  | 
 | 18420 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 18421 | #ifdef __cplusplus | 
 | 18422 | extern "C" | 
 | 18423 | #endif | 
 | 18424 | /* We use char because int might match the return type of a gcc2 | 
 | 18425 |    builtin and then its argument prototype would still apply.  */ | 
 | 18426 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18427 | int | 
 | 18428 | main () | 
 | 18429 | { | 
 | 18430 | dlopen (); | 
 | 18431 |   ; | 
 | 18432 |   return 0; | 
 | 18433 | } | 
 | 18434 | _ACEOF | 
 | 18435 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 18436 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 18437 |   (eval $ac_link) 2>&5 | 
 | 18438 |   ac_status=$? | 
 | 18439 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18440 |   (exit $ac_status); } && | 
 | 18441 |          { ac_try='test -s conftest$ac_exeext' | 
 | 18442 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 18443 |   (eval $ac_try) 2>&5 | 
 | 18444 |   ac_status=$? | 
 | 18445 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18446 |   (exit $ac_status); }; }; then | 
 | 18447 |   ac_cv_search_dlopen="-l$ac_lib" | 
 | 18448 | break | 
 | 18449 | else | 
 | 18450 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18451 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 18452 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18453 | fi | 
 | 18454 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 18455 |   done | 
 | 18456 | fi | 
 | 18457 | LIBS=$ac_func_search_save_LIBS | 
 | 18458 | fi | 
 | 18459 | echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 | 
 | 18460 | echo "${ECHO_T}$ac_cv_search_dlopen" >&6 | 
 | 18461 | if test "$ac_cv_search_dlopen" != no; then | 
 | 18462 |   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS" | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 18463 |  | 
 | 18464 | cat >>confdefs.h <<\_ACEOF | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 18465 | #define HAVE_DLOPEN 1 | 
 | 18466 | _ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18467 |  | 
 | 18468 | else | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 18469 |   { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5 | 
 | 18470 | echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18471 | fi | 
 | 18472 |  | 
 | 18473 |  | 
 | 18474 | echo "$as_me:$LINENO: checking for library containing mallinfo" >&5 | 
 | 18475 | echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6 | 
 | 18476 | if test "${ac_cv_search_mallinfo+set}" = set; then | 
 | 18477 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18478 | else | 
 | 18479 |   ac_func_search_save_LIBS=$LIBS | 
 | 18480 | ac_cv_search_mallinfo=no | 
 | 18481 | cat >conftest.$ac_ext <<_ACEOF | 
 | 18482 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18483 | /* confdefs.h.  */ | 
 | 18484 | _ACEOF | 
 | 18485 | cat confdefs.h >>conftest.$ac_ext | 
 | 18486 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18487 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18488 |  | 
 | 18489 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 18490 | #ifdef __cplusplus | 
 | 18491 | extern "C" | 
 | 18492 | #endif | 
 | 18493 | /* We use char because int might match the return type of a gcc2 | 
 | 18494 |    builtin and then its argument prototype would still apply.  */ | 
 | 18495 | char mallinfo (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18496 | int | 
 | 18497 | main () | 
 | 18498 | { | 
 | 18499 | mallinfo (); | 
 | 18500 |   ; | 
 | 18501 |   return 0; | 
 | 18502 | } | 
 | 18503 | _ACEOF | 
 | 18504 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 18505 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 18506 |   (eval $ac_link) 2>&5 | 
 | 18507 |   ac_status=$? | 
 | 18508 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18509 |   (exit $ac_status); } && | 
 | 18510 |          { ac_try='test -s conftest$ac_exeext' | 
 | 18511 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 18512 |   (eval $ac_try) 2>&5 | 
 | 18513 |   ac_status=$? | 
 | 18514 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18515 |   (exit $ac_status); }; }; then | 
 | 18516 |   ac_cv_search_mallinfo="none required" | 
 | 18517 | else | 
 | 18518 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18519 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 18520 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18521 | fi | 
 | 18522 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 18523 | if test "$ac_cv_search_mallinfo" = no; then | 
 | 18524 |   for ac_lib in malloc; do | 
 | 18525 |     LIBS="-l$ac_lib  $ac_func_search_save_LIBS" | 
 | 18526 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 18527 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18528 | /* confdefs.h.  */ | 
 | 18529 | _ACEOF | 
 | 18530 | cat confdefs.h >>conftest.$ac_ext | 
 | 18531 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18532 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18533 |  | 
 | 18534 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 18535 | #ifdef __cplusplus | 
 | 18536 | extern "C" | 
 | 18537 | #endif | 
 | 18538 | /* We use char because int might match the return type of a gcc2 | 
 | 18539 |    builtin and then its argument prototype would still apply.  */ | 
 | 18540 | char mallinfo (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18541 | int | 
 | 18542 | main () | 
 | 18543 | { | 
 | 18544 | mallinfo (); | 
 | 18545 |   ; | 
 | 18546 |   return 0; | 
 | 18547 | } | 
 | 18548 | _ACEOF | 
 | 18549 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 18550 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 18551 |   (eval $ac_link) 2>&5 | 
 | 18552 |   ac_status=$? | 
 | 18553 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18554 |   (exit $ac_status); } && | 
 | 18555 |          { ac_try='test -s conftest$ac_exeext' | 
 | 18556 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 18557 |   (eval $ac_try) 2>&5 | 
 | 18558 |   ac_status=$? | 
 | 18559 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18560 |   (exit $ac_status); }; }; then | 
 | 18561 |   ac_cv_search_mallinfo="-l$ac_lib" | 
 | 18562 | break | 
 | 18563 | else | 
 | 18564 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18565 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 18566 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18567 | fi | 
 | 18568 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 18569 |   done | 
 | 18570 | fi | 
 | 18571 | LIBS=$ac_func_search_save_LIBS | 
 | 18572 | fi | 
 | 18573 | echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5 | 
 | 18574 | echo "${ECHO_T}$ac_cv_search_mallinfo" >&6 | 
 | 18575 | if test "$ac_cv_search_mallinfo" != no; then | 
 | 18576 |   test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS" | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 18577 |  | 
 | 18578 | cat >>confdefs.h <<\_ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18579 | #define HAVE_MALLINFO 1 | 
 | 18580 | _ACEOF | 
 | 18581 |  | 
 | 18582 | fi | 
 | 18583 |  | 
 | 18584 |  | 
| Brian Gaeke | 5f268f7 | 2003-12-05 19:29:01 +0000 | [diff] [blame] | 18585 | echo "$as_me:$LINENO: checking for library containing pthread_mutex_lock" >&5 | 
 | 18586 | echo $ECHO_N "checking for library containing pthread_mutex_lock... $ECHO_C" >&6 | 
 | 18587 | if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then | 
 | 18588 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18589 | else | 
 | 18590 |   ac_func_search_save_LIBS=$LIBS | 
 | 18591 | ac_cv_search_pthread_mutex_lock=no | 
 | 18592 | cat >conftest.$ac_ext <<_ACEOF | 
 | 18593 | #line $LINENO "configure" | 
 | 18594 | /* confdefs.h.  */ | 
 | 18595 | _ACEOF | 
 | 18596 | cat confdefs.h >>conftest.$ac_ext | 
 | 18597 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18598 | /* end confdefs.h.  */ | 
 | 18599 |  | 
 | 18600 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 18601 | #ifdef __cplusplus | 
 | 18602 | extern "C" | 
 | 18603 | #endif | 
 | 18604 | /* We use char because int might match the return type of a gcc2 | 
 | 18605 |    builtin and then its argument prototype would still apply.  */ | 
 | 18606 | char pthread_mutex_lock (); | 
 | 18607 | int | 
 | 18608 | main () | 
 | 18609 | { | 
 | 18610 | pthread_mutex_lock (); | 
 | 18611 |   ; | 
 | 18612 |   return 0; | 
 | 18613 | } | 
 | 18614 | _ACEOF | 
 | 18615 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 18616 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 18617 |   (eval $ac_link) 2>&5 | 
 | 18618 |   ac_status=$? | 
 | 18619 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18620 |   (exit $ac_status); } && | 
 | 18621 |          { ac_try='test -s conftest$ac_exeext' | 
 | 18622 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 18623 |   (eval $ac_try) 2>&5 | 
 | 18624 |   ac_status=$? | 
 | 18625 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18626 |   (exit $ac_status); }; }; then | 
 | 18627 |   ac_cv_search_pthread_mutex_lock="none required" | 
 | 18628 | else | 
 | 18629 |   echo "$as_me: failed program was:" >&5 | 
 | 18630 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 18631 |  | 
 | 18632 | fi | 
 | 18633 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 18634 | if test "$ac_cv_search_pthread_mutex_lock" = no; then | 
 | 18635 |   for ac_lib in pthread; do | 
 | 18636 |     LIBS="-l$ac_lib  $ac_func_search_save_LIBS" | 
 | 18637 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 18638 | #line $LINENO "configure" | 
 | 18639 | /* confdefs.h.  */ | 
 | 18640 | _ACEOF | 
 | 18641 | cat confdefs.h >>conftest.$ac_ext | 
 | 18642 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18643 | /* end confdefs.h.  */ | 
 | 18644 |  | 
 | 18645 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 18646 | #ifdef __cplusplus | 
 | 18647 | extern "C" | 
 | 18648 | #endif | 
 | 18649 | /* We use char because int might match the return type of a gcc2 | 
 | 18650 |    builtin and then its argument prototype would still apply.  */ | 
 | 18651 | char pthread_mutex_lock (); | 
 | 18652 | int | 
 | 18653 | main () | 
 | 18654 | { | 
 | 18655 | pthread_mutex_lock (); | 
 | 18656 |   ; | 
 | 18657 |   return 0; | 
 | 18658 | } | 
 | 18659 | _ACEOF | 
 | 18660 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 18661 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 18662 |   (eval $ac_link) 2>&5 | 
 | 18663 |   ac_status=$? | 
 | 18664 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18665 |   (exit $ac_status); } && | 
 | 18666 |          { ac_try='test -s conftest$ac_exeext' | 
 | 18667 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 18668 |   (eval $ac_try) 2>&5 | 
 | 18669 |   ac_status=$? | 
 | 18670 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18671 |   (exit $ac_status); }; }; then | 
 | 18672 |   ac_cv_search_pthread_mutex_lock="-l$ac_lib" | 
 | 18673 | break | 
 | 18674 | else | 
 | 18675 |   echo "$as_me: failed program was:" >&5 | 
 | 18676 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 18677 |  | 
 | 18678 | fi | 
 | 18679 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 18680 |   done | 
 | 18681 | fi | 
 | 18682 | LIBS=$ac_func_search_save_LIBS | 
 | 18683 | fi | 
 | 18684 | echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_lock" >&5 | 
 | 18685 | echo "${ECHO_T}$ac_cv_search_pthread_mutex_lock" >&6 | 
 | 18686 | if test "$ac_cv_search_pthread_mutex_lock" != no; then | 
 | 18687 |   test "$ac_cv_search_pthread_mutex_lock" = "none required" || LIBS="$ac_cv_search_pthread_mutex_lock $LIBS" | 
| Brian Gaeke | c9a410c | 2004-02-23 21:30:37 +0000 | [diff] [blame] | 18688 |   HAVE_PTHREAD_MUTEX_LOCK=1 | 
 | 18689 | else | 
 | 18690 |   HAVE_PTHREAD_MUTEX_LOCK=0 | 
| Brian Gaeke | 5f268f7 | 2003-12-05 19:29:01 +0000 | [diff] [blame] | 18691 | fi | 
 | 18692 |  | 
 | 18693 |  | 
| Brian Gaeke | c9a410c | 2004-02-23 21:30:37 +0000 | [diff] [blame] | 18694 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18695 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
 | 18696 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
 | 18697 | if test "${ac_cv_header_stdc+set}" = set; then | 
 | 18698 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18699 | else | 
 | 18700 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 18701 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18702 | /* confdefs.h.  */ | 
 | 18703 | _ACEOF | 
 | 18704 | cat confdefs.h >>conftest.$ac_ext | 
 | 18705 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18706 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18707 | #include <stdlib.h> | 
 | 18708 | #include <stdarg.h> | 
 | 18709 | #include <string.h> | 
 | 18710 | #include <float.h> | 
 | 18711 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18712 | int | 
 | 18713 | main () | 
 | 18714 | { | 
 | 18715 |  | 
 | 18716 |   ; | 
 | 18717 |   return 0; | 
 | 18718 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18719 | _ACEOF | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18720 | rm -f conftest.$ac_objext | 
 | 18721 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 18722 |   (eval $ac_compile) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18723 |   ac_status=$? | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18724 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18725 |   (exit $ac_status); } && | 
 | 18726 |          { ac_try='test -s conftest.$ac_objext' | 
 | 18727 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 18728 |   (eval $ac_try) 2>&5 | 
 | 18729 |   ac_status=$? | 
 | 18730 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18731 |   (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18732 |   ac_cv_header_stdc=yes | 
 | 18733 | else | 
 | 18734 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18735 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 18736 |  | 
 | 18737 | ac_cv_header_stdc=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18738 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18739 | rm -f conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18740 |  | 
 | 18741 | if test $ac_cv_header_stdc = yes; then | 
 | 18742 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
 | 18743 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 18744 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18745 | /* confdefs.h.  */ | 
 | 18746 | _ACEOF | 
 | 18747 | cat confdefs.h >>conftest.$ac_ext | 
 | 18748 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18749 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18750 | #include <string.h> | 
 | 18751 |  | 
 | 18752 | _ACEOF | 
 | 18753 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18754 |   $EGREP "memchr" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18755 |   : | 
 | 18756 | else | 
 | 18757 |   ac_cv_header_stdc=no | 
 | 18758 | fi | 
 | 18759 | rm -f conftest* | 
 | 18760 |  | 
 | 18761 | fi | 
 | 18762 |  | 
 | 18763 | if test $ac_cv_header_stdc = yes; then | 
 | 18764 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
 | 18765 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 18766 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18767 | /* confdefs.h.  */ | 
 | 18768 | _ACEOF | 
 | 18769 | cat confdefs.h >>conftest.$ac_ext | 
 | 18770 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18771 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18772 | #include <stdlib.h> | 
 | 18773 |  | 
 | 18774 | _ACEOF | 
 | 18775 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18776 |   $EGREP "free" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18777 |   : | 
 | 18778 | else | 
 | 18779 |   ac_cv_header_stdc=no | 
 | 18780 | fi | 
 | 18781 | rm -f conftest* | 
 | 18782 |  | 
 | 18783 | fi | 
 | 18784 |  | 
 | 18785 | if test $ac_cv_header_stdc = yes; then | 
 | 18786 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
 | 18787 |   if test "$cross_compiling" = yes; then | 
 | 18788 |   : | 
 | 18789 | else | 
 | 18790 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 18791 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18792 | /* confdefs.h.  */ | 
 | 18793 | _ACEOF | 
 | 18794 | cat confdefs.h >>conftest.$ac_ext | 
 | 18795 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18796 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18797 | #include <ctype.h> | 
 | 18798 | #if ((' ' & 0x0FF) == 0x020) | 
 | 18799 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
 | 18800 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
 | 18801 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18802 | # define ISLOWER(c) \ | 
 | 18803 |                    (('a' <= (c) && (c) <= 'i') \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18804 |                      || ('j' <= (c) && (c) <= 'r') \ | 
 | 18805 |                      || ('s' <= (c) && (c) <= 'z')) | 
 | 18806 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
 | 18807 | #endif | 
 | 18808 |  | 
 | 18809 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
 | 18810 | int | 
 | 18811 | main () | 
 | 18812 | { | 
 | 18813 |   int i; | 
 | 18814 |   for (i = 0; i < 256; i++) | 
 | 18815 |     if (XOR (islower (i), ISLOWER (i)) | 
 | 18816 |         || toupper (i) != TOUPPER (i)) | 
 | 18817 |       exit(2); | 
 | 18818 |   exit (0); | 
 | 18819 | } | 
 | 18820 | _ACEOF | 
 | 18821 | rm -f conftest$ac_exeext | 
 | 18822 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 18823 |   (eval $ac_link) 2>&5 | 
 | 18824 |   ac_status=$? | 
 | 18825 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18826 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 18827 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 18828 |   (eval $ac_try) 2>&5 | 
 | 18829 |   ac_status=$? | 
 | 18830 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18831 |   (exit $ac_status); }; }; then | 
 | 18832 |   : | 
 | 18833 | else | 
 | 18834 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 18835 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18836 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 18837 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18838 | ( exit $ac_status ) | 
 | 18839 | ac_cv_header_stdc=no | 
 | 18840 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18841 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18842 | fi | 
 | 18843 | fi | 
 | 18844 | fi | 
 | 18845 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
 | 18846 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
 | 18847 | if test $ac_cv_header_stdc = yes; then | 
 | 18848 |  | 
 | 18849 | cat >>confdefs.h <<\_ACEOF | 
 | 18850 | #define STDC_HEADERS 1 | 
 | 18851 | _ACEOF | 
 | 18852 |  | 
 | 18853 | fi | 
 | 18854 |  | 
 | 18855 | echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 
 | 18856 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 | 
 | 18857 | if test "${ac_cv_header_sys_wait_h+set}" = set; then | 
 | 18858 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18859 | else | 
 | 18860 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 18861 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18862 | /* confdefs.h.  */ | 
 | 18863 | _ACEOF | 
 | 18864 | cat confdefs.h >>conftest.$ac_ext | 
 | 18865 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18866 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18867 | #include <sys/types.h> | 
 | 18868 | #include <sys/wait.h> | 
 | 18869 | #ifndef WEXITSTATUS | 
 | 18870 | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 
 | 18871 | #endif | 
 | 18872 | #ifndef WIFEXITED | 
 | 18873 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | 
 | 18874 | #endif | 
 | 18875 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18876 | int | 
 | 18877 | main () | 
 | 18878 | { | 
 | 18879 |   int s; | 
 | 18880 |   wait (&s); | 
 | 18881 |   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 
 | 18882 |   ; | 
 | 18883 |   return 0; | 
 | 18884 | } | 
 | 18885 | _ACEOF | 
 | 18886 | rm -f conftest.$ac_objext | 
 | 18887 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 18888 |   (eval $ac_compile) 2>&5 | 
 | 18889 |   ac_status=$? | 
 | 18890 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18891 |   (exit $ac_status); } && | 
 | 18892 |          { ac_try='test -s conftest.$ac_objext' | 
 | 18893 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 18894 |   (eval $ac_try) 2>&5 | 
 | 18895 |   ac_status=$? | 
 | 18896 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18897 |   (exit $ac_status); }; }; then | 
 | 18898 |   ac_cv_header_sys_wait_h=yes | 
 | 18899 | else | 
 | 18900 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18901 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 18902 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18903 | ac_cv_header_sys_wait_h=no | 
 | 18904 | fi | 
 | 18905 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 18906 | fi | 
 | 18907 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 
 | 18908 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 | 
 | 18909 | if test $ac_cv_header_sys_wait_h = yes; then | 
 | 18910 |  | 
 | 18911 | cat >>confdefs.h <<\_ACEOF | 
 | 18912 | #define HAVE_SYS_WAIT_H 1 | 
 | 18913 | _ACEOF | 
 | 18914 |  | 
 | 18915 | fi | 
 | 18916 |  | 
 | 18917 |  | 
 | 18918 |  | 
 | 18919 |  | 
 | 18920 |  | 
 | 18921 |  | 
 | 18922 |  | 
 | 18923 |  | 
 | 18924 |  | 
 | 18925 |  | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 18926 |  | 
| Brian Gaeke | f526147 | 2004-02-20 06:40:57 +0000 | [diff] [blame] | 18927 |  | 
| John Criswell | b2815e0 | 2004-05-27 20:40:39 +0000 | [diff] [blame] | 18928 |  | 
 | 18929 | for ac_header in fcntl.h limits.h sys/time.h unistd.h malloc.h sys/mman.h sys/resource.h dlfcn.h link.h execinfo.h windows.h | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18930 | do | 
 | 18931 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 18932 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 18933 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 18934 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 18935 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 18936 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18937 | fi | 
 | 18938 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 18939 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 18940 | else | 
 | 18941 |   # Is the header compilable? | 
 | 18942 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 18943 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 18944 | cat >conftest.$ac_ext <<_ACEOF | 
 | 18945 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18946 | /* confdefs.h.  */ | 
 | 18947 | _ACEOF | 
 | 18948 | cat confdefs.h >>conftest.$ac_ext | 
 | 18949 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18950 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18951 | $ac_includes_default | 
 | 18952 | #include <$ac_header> | 
 | 18953 | _ACEOF | 
 | 18954 | rm -f conftest.$ac_objext | 
 | 18955 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 18956 |   (eval $ac_compile) 2>&5 | 
 | 18957 |   ac_status=$? | 
 | 18958 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18959 |   (exit $ac_status); } && | 
 | 18960 |          { ac_try='test -s conftest.$ac_objext' | 
 | 18961 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 18962 |   (eval $ac_try) 2>&5 | 
 | 18963 |   ac_status=$? | 
 | 18964 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18965 |   (exit $ac_status); }; }; then | 
 | 18966 |   ac_header_compiler=yes | 
 | 18967 | else | 
 | 18968 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18969 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 18970 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18971 | ac_header_compiler=no | 
 | 18972 | fi | 
 | 18973 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 18974 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 18975 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 18976 |  | 
 | 18977 | # Is the header present? | 
 | 18978 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 18979 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 18980 | cat >conftest.$ac_ext <<_ACEOF | 
 | 18981 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18982 | /* confdefs.h.  */ | 
 | 18983 | _ACEOF | 
 | 18984 | cat confdefs.h >>conftest.$ac_ext | 
 | 18985 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 18986 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18987 | #include <$ac_header> | 
 | 18988 | _ACEOF | 
 | 18989 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 18990 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 18991 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 18992 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18993 |   rm -f conftest.er1 | 
 | 18994 |   cat conftest.err >&5 | 
 | 18995 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 18996 |   (exit $ac_status); } >/dev/null; then | 
 | 18997 |   if test -s conftest.err; then | 
 | 18998 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 18999 |   else | 
 | 19000 |     ac_cpp_err= | 
 | 19001 |   fi | 
 | 19002 | else | 
 | 19003 |   ac_cpp_err=yes | 
 | 19004 | fi | 
 | 19005 | if test -z "$ac_cpp_err"; then | 
 | 19006 |   ac_header_preproc=yes | 
 | 19007 | else | 
 | 19008 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19009 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19010 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19011 |   ac_header_preproc=no | 
 | 19012 | fi | 
 | 19013 | rm -f conftest.err conftest.$ac_ext | 
 | 19014 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 19015 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 19016 |  | 
 | 19017 | # So?  What about this header? | 
 | 19018 | case $ac_header_compiler:$ac_header_preproc in | 
 | 19019 |   yes:no ) | 
 | 19020 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 19021 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 19022 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19023 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 19024 |     ( | 
 | 19025 |       cat <<\_ASBOX | 
 | 19026 | ## ------------------------------------ ## | 
 | 19027 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 19028 | ## ------------------------------------ ## | 
 | 19029 | _ASBOX | 
 | 19030 |     ) | | 
 | 19031 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 19032 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19033 |   no:yes ) | 
 | 19034 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 19035 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 19036 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 19037 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 19038 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19039 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 19040 |     ( | 
 | 19041 |       cat <<\_ASBOX | 
 | 19042 | ## ------------------------------------ ## | 
 | 19043 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 19044 | ## ------------------------------------ ## | 
 | 19045 | _ASBOX | 
 | 19046 |     ) | | 
 | 19047 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 19048 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19049 | esac | 
 | 19050 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 19051 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 19052 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 19053 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19054 | else | 
 | 19055 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 19056 | fi | 
 | 19057 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 19058 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 19059 |  | 
 | 19060 | fi | 
 | 19061 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 19062 |   cat >>confdefs.h <<_ACEOF | 
 | 19063 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 19064 | _ACEOF | 
 | 19065 |  | 
 | 19066 | fi | 
 | 19067 |  | 
 | 19068 | done | 
 | 19069 |  | 
 | 19070 |  | 
| Brian Gaeke | 6c3fd81 | 2004-02-23 22:07:00 +0000 | [diff] [blame] | 19071 | if test "${ac_cv_header_sys_types_h+set}" = set; then | 
 | 19072 |   echo "$as_me:$LINENO: checking for sys/types.h" >&5 | 
 | 19073 | echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 | 
 | 19074 | if test "${ac_cv_header_sys_types_h+set}" = set; then | 
 | 19075 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19076 | fi | 
 | 19077 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 | 
 | 19078 | echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 | 
 | 19079 | else | 
 | 19080 |   # Is the header compilable? | 
 | 19081 | echo "$as_me:$LINENO: checking sys/types.h usability" >&5 | 
 | 19082 | echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6 | 
 | 19083 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19084 | #line $LINENO "configure" | 
 | 19085 | /* confdefs.h.  */ | 
 | 19086 | _ACEOF | 
 | 19087 | cat confdefs.h >>conftest.$ac_ext | 
 | 19088 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19089 | /* end confdefs.h.  */ | 
 | 19090 | $ac_includes_default | 
 | 19091 | #include <sys/types.h> | 
 | 19092 | _ACEOF | 
 | 19093 | rm -f conftest.$ac_objext | 
 | 19094 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19095 |   (eval $ac_compile) 2>&5 | 
 | 19096 |   ac_status=$? | 
 | 19097 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19098 |   (exit $ac_status); } && | 
 | 19099 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19100 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19101 |   (eval $ac_try) 2>&5 | 
 | 19102 |   ac_status=$? | 
 | 19103 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19104 |   (exit $ac_status); }; }; then | 
 | 19105 |   ac_header_compiler=yes | 
 | 19106 | else | 
 | 19107 |   echo "$as_me: failed program was:" >&5 | 
 | 19108 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19109 |  | 
 | 19110 | ac_header_compiler=no | 
 | 19111 | fi | 
 | 19112 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19113 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 19114 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 19115 |  | 
 | 19116 | # Is the header present? | 
 | 19117 | echo "$as_me:$LINENO: checking sys/types.h presence" >&5 | 
 | 19118 | echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6 | 
 | 19119 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19120 | #line $LINENO "configure" | 
 | 19121 | /* confdefs.h.  */ | 
 | 19122 | _ACEOF | 
 | 19123 | cat confdefs.h >>conftest.$ac_ext | 
 | 19124 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19125 | /* end confdefs.h.  */ | 
 | 19126 | #include <sys/types.h> | 
 | 19127 | _ACEOF | 
 | 19128 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 19129 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 19130 |   ac_status=$? | 
 | 19131 |   grep -v '^ *+' conftest.er1 >conftest.err | 
 | 19132 |   rm -f conftest.er1 | 
 | 19133 |   cat conftest.err >&5 | 
 | 19134 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19135 |   (exit $ac_status); } >/dev/null; then | 
 | 19136 |   if test -s conftest.err; then | 
 | 19137 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 19138 |   else | 
 | 19139 |     ac_cpp_err= | 
 | 19140 |   fi | 
 | 19141 | else | 
 | 19142 |   ac_cpp_err=yes | 
 | 19143 | fi | 
 | 19144 | if test -z "$ac_cpp_err"; then | 
 | 19145 |   ac_header_preproc=yes | 
 | 19146 | else | 
 | 19147 |   echo "$as_me: failed program was:" >&5 | 
 | 19148 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19149 |  | 
 | 19150 |   ac_header_preproc=no | 
 | 19151 | fi | 
 | 19152 | rm -f conftest.err conftest.$ac_ext | 
 | 19153 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 19154 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 19155 |  | 
 | 19156 | # So?  What about this header? | 
 | 19157 | case $ac_header_compiler:$ac_header_preproc in | 
 | 19158 |   yes:no ) | 
 | 19159 |     { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 19160 | echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 19161 |     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 | 
 | 19162 | echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} | 
 | 19163 |     ( | 
 | 19164 |       cat <<\_ASBOX | 
 | 19165 | ## ------------------------------------ ## | 
 | 19166 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 19167 | ## ------------------------------------ ## | 
 | 19168 | _ASBOX | 
 | 19169 |     ) | | 
 | 19170 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 19171 |     ;; | 
 | 19172 |   no:yes ) | 
 | 19173 |     { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 | 
 | 19174 | echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} | 
 | 19175 |     { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5 | 
 | 19176 | echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;} | 
 | 19177 |     { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 | 
 | 19178 | echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} | 
 | 19179 |     ( | 
 | 19180 |       cat <<\_ASBOX | 
 | 19181 | ## ------------------------------------ ## | 
 | 19182 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 19183 | ## ------------------------------------ ## | 
 | 19184 | _ASBOX | 
 | 19185 |     ) | | 
 | 19186 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 19187 |     ;; | 
 | 19188 | esac | 
 | 19189 | echo "$as_me:$LINENO: checking for sys/types.h" >&5 | 
 | 19190 | echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 | 
 | 19191 | if test "${ac_cv_header_sys_types_h+set}" = set; then | 
 | 19192 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19193 | else | 
 | 19194 |   ac_cv_header_sys_types_h=$ac_header_preproc | 
 | 19195 | fi | 
 | 19196 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 | 
 | 19197 | echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 | 
 | 19198 |  | 
 | 19199 | fi | 
 | 19200 | if test $ac_cv_header_sys_types_h = yes; then | 
 | 19201 |   INCLUDE_SYS_TYPES_H='#include <sys/types.h>' | 
 | 19202 | else | 
 | 19203 |   INCLUDE_SYS_TYPES_H='' | 
 | 19204 | fi | 
 | 19205 |  | 
 | 19206 |  | 
 | 19207 |  | 
 | 19208 | if test "${ac_cv_header_inttypes_h+set}" = set; then | 
 | 19209 |   echo "$as_me:$LINENO: checking for inttypes.h" >&5 | 
 | 19210 | echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 | 
 | 19211 | if test "${ac_cv_header_inttypes_h+set}" = set; then | 
 | 19212 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19213 | fi | 
 | 19214 | echo "$as_me:$LINENO: result: $ac_cv_header_inttypes_h" >&5 | 
 | 19215 | echo "${ECHO_T}$ac_cv_header_inttypes_h" >&6 | 
 | 19216 | else | 
 | 19217 |   # Is the header compilable? | 
 | 19218 | echo "$as_me:$LINENO: checking inttypes.h usability" >&5 | 
 | 19219 | echo $ECHO_N "checking inttypes.h usability... $ECHO_C" >&6 | 
 | 19220 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19221 | #line $LINENO "configure" | 
 | 19222 | /* confdefs.h.  */ | 
 | 19223 | _ACEOF | 
 | 19224 | cat confdefs.h >>conftest.$ac_ext | 
 | 19225 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19226 | /* end confdefs.h.  */ | 
 | 19227 | $ac_includes_default | 
 | 19228 | #include <inttypes.h> | 
 | 19229 | _ACEOF | 
 | 19230 | rm -f conftest.$ac_objext | 
 | 19231 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19232 |   (eval $ac_compile) 2>&5 | 
 | 19233 |   ac_status=$? | 
 | 19234 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19235 |   (exit $ac_status); } && | 
 | 19236 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19237 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19238 |   (eval $ac_try) 2>&5 | 
 | 19239 |   ac_status=$? | 
 | 19240 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19241 |   (exit $ac_status); }; }; then | 
 | 19242 |   ac_header_compiler=yes | 
 | 19243 | else | 
 | 19244 |   echo "$as_me: failed program was:" >&5 | 
 | 19245 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19246 |  | 
 | 19247 | ac_header_compiler=no | 
 | 19248 | fi | 
 | 19249 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19250 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 19251 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 19252 |  | 
 | 19253 | # Is the header present? | 
 | 19254 | echo "$as_me:$LINENO: checking inttypes.h presence" >&5 | 
 | 19255 | echo $ECHO_N "checking inttypes.h presence... $ECHO_C" >&6 | 
 | 19256 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19257 | #line $LINENO "configure" | 
 | 19258 | /* confdefs.h.  */ | 
 | 19259 | _ACEOF | 
 | 19260 | cat confdefs.h >>conftest.$ac_ext | 
 | 19261 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19262 | /* end confdefs.h.  */ | 
 | 19263 | #include <inttypes.h> | 
 | 19264 | _ACEOF | 
 | 19265 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 19266 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 19267 |   ac_status=$? | 
 | 19268 |   grep -v '^ *+' conftest.er1 >conftest.err | 
 | 19269 |   rm -f conftest.er1 | 
 | 19270 |   cat conftest.err >&5 | 
 | 19271 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19272 |   (exit $ac_status); } >/dev/null; then | 
 | 19273 |   if test -s conftest.err; then | 
 | 19274 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 19275 |   else | 
 | 19276 |     ac_cpp_err= | 
 | 19277 |   fi | 
 | 19278 | else | 
 | 19279 |   ac_cpp_err=yes | 
 | 19280 | fi | 
 | 19281 | if test -z "$ac_cpp_err"; then | 
 | 19282 |   ac_header_preproc=yes | 
 | 19283 | else | 
 | 19284 |   echo "$as_me: failed program was:" >&5 | 
 | 19285 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19286 |  | 
 | 19287 |   ac_header_preproc=no | 
 | 19288 | fi | 
 | 19289 | rm -f conftest.err conftest.$ac_ext | 
 | 19290 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 19291 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 19292 |  | 
 | 19293 | # So?  What about this header? | 
 | 19294 | case $ac_header_compiler:$ac_header_preproc in | 
 | 19295 |   yes:no ) | 
 | 19296 |     { echo "$as_me:$LINENO: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 19297 | echo "$as_me: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 19298 |     { echo "$as_me:$LINENO: WARNING: inttypes.h: proceeding with the preprocessor's result" >&5 | 
 | 19299 | echo "$as_me: WARNING: inttypes.h: proceeding with the preprocessor's result" >&2;} | 
 | 19300 |     ( | 
 | 19301 |       cat <<\_ASBOX | 
 | 19302 | ## ------------------------------------ ## | 
 | 19303 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 19304 | ## ------------------------------------ ## | 
 | 19305 | _ASBOX | 
 | 19306 |     ) | | 
 | 19307 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 19308 |     ;; | 
 | 19309 |   no:yes ) | 
 | 19310 |     { echo "$as_me:$LINENO: WARNING: inttypes.h: present but cannot be compiled" >&5 | 
 | 19311 | echo "$as_me: WARNING: inttypes.h: present but cannot be compiled" >&2;} | 
 | 19312 |     { echo "$as_me:$LINENO: WARNING: inttypes.h: check for missing prerequisite headers?" >&5 | 
 | 19313 | echo "$as_me: WARNING: inttypes.h: check for missing prerequisite headers?" >&2;} | 
 | 19314 |     { echo "$as_me:$LINENO: WARNING: inttypes.h: proceeding with the preprocessor's result" >&5 | 
 | 19315 | echo "$as_me: WARNING: inttypes.h: proceeding with the preprocessor's result" >&2;} | 
 | 19316 |     ( | 
 | 19317 |       cat <<\_ASBOX | 
 | 19318 | ## ------------------------------------ ## | 
 | 19319 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 19320 | ## ------------------------------------ ## | 
 | 19321 | _ASBOX | 
 | 19322 |     ) | | 
 | 19323 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 19324 |     ;; | 
 | 19325 | esac | 
 | 19326 | echo "$as_me:$LINENO: checking for inttypes.h" >&5 | 
 | 19327 | echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6 | 
 | 19328 | if test "${ac_cv_header_inttypes_h+set}" = set; then | 
 | 19329 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19330 | else | 
 | 19331 |   ac_cv_header_inttypes_h=$ac_header_preproc | 
 | 19332 | fi | 
 | 19333 | echo "$as_me:$LINENO: result: $ac_cv_header_inttypes_h" >&5 | 
 | 19334 | echo "${ECHO_T}$ac_cv_header_inttypes_h" >&6 | 
 | 19335 |  | 
 | 19336 | fi | 
 | 19337 | if test $ac_cv_header_inttypes_h = yes; then | 
 | 19338 |   INCLUDE_INTTYPES_H='#include <inttypes.h>' | 
 | 19339 | else | 
 | 19340 |   INCLUDE_INTTYPES_H='' | 
 | 19341 | fi | 
 | 19342 |  | 
 | 19343 |  | 
 | 19344 |  | 
 | 19345 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19346 | echo "$as_me:$LINENO: checking for pid_t" >&5 | 
 | 19347 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 
 | 19348 | if test "${ac_cv_type_pid_t+set}" = set; then | 
 | 19349 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19350 | else | 
 | 19351 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19352 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19353 | /* confdefs.h.  */ | 
 | 19354 | _ACEOF | 
 | 19355 | cat confdefs.h >>conftest.$ac_ext | 
 | 19356 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19357 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19358 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19359 | int | 
 | 19360 | main () | 
 | 19361 | { | 
 | 19362 | if ((pid_t *) 0) | 
 | 19363 |   return 0; | 
 | 19364 | if (sizeof (pid_t)) | 
 | 19365 |   return 0; | 
 | 19366 |   ; | 
 | 19367 |   return 0; | 
 | 19368 | } | 
 | 19369 | _ACEOF | 
 | 19370 | rm -f conftest.$ac_objext | 
 | 19371 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19372 |   (eval $ac_compile) 2>&5 | 
 | 19373 |   ac_status=$? | 
 | 19374 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19375 |   (exit $ac_status); } && | 
 | 19376 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19377 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19378 |   (eval $ac_try) 2>&5 | 
 | 19379 |   ac_status=$? | 
 | 19380 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19381 |   (exit $ac_status); }; }; then | 
 | 19382 |   ac_cv_type_pid_t=yes | 
 | 19383 | else | 
 | 19384 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19385 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19386 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19387 | ac_cv_type_pid_t=no | 
 | 19388 | fi | 
 | 19389 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19390 | fi | 
 | 19391 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | 
 | 19392 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | 
 | 19393 | if test $ac_cv_type_pid_t = yes; then | 
 | 19394 |   : | 
 | 19395 | else | 
 | 19396 |  | 
 | 19397 | cat >>confdefs.h <<_ACEOF | 
 | 19398 | #define pid_t int | 
 | 19399 | _ACEOF | 
 | 19400 |  | 
 | 19401 | fi | 
 | 19402 |  | 
 | 19403 | echo "$as_me:$LINENO: checking for size_t" >&5 | 
 | 19404 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 
 | 19405 | if test "${ac_cv_type_size_t+set}" = set; then | 
 | 19406 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19407 | else | 
 | 19408 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19409 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19410 | /* confdefs.h.  */ | 
 | 19411 | _ACEOF | 
 | 19412 | cat confdefs.h >>conftest.$ac_ext | 
 | 19413 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19414 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19415 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19416 | int | 
 | 19417 | main () | 
 | 19418 | { | 
 | 19419 | if ((size_t *) 0) | 
 | 19420 |   return 0; | 
 | 19421 | if (sizeof (size_t)) | 
 | 19422 |   return 0; | 
 | 19423 |   ; | 
 | 19424 |   return 0; | 
 | 19425 | } | 
 | 19426 | _ACEOF | 
 | 19427 | rm -f conftest.$ac_objext | 
 | 19428 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19429 |   (eval $ac_compile) 2>&5 | 
 | 19430 |   ac_status=$? | 
 | 19431 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19432 |   (exit $ac_status); } && | 
 | 19433 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19434 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19435 |   (eval $ac_try) 2>&5 | 
 | 19436 |   ac_status=$? | 
 | 19437 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19438 |   (exit $ac_status); }; }; then | 
 | 19439 |   ac_cv_type_size_t=yes | 
 | 19440 | else | 
 | 19441 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19442 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19443 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19444 | ac_cv_type_size_t=no | 
 | 19445 | fi | 
 | 19446 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19447 | fi | 
 | 19448 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 
 | 19449 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 
 | 19450 | if test $ac_cv_type_size_t = yes; then | 
 | 19451 |   : | 
 | 19452 | else | 
 | 19453 |  | 
 | 19454 | cat >>confdefs.h <<_ACEOF | 
 | 19455 | #define size_t unsigned | 
 | 19456 | _ACEOF | 
 | 19457 |  | 
 | 19458 | fi | 
 | 19459 |  | 
 | 19460 | echo "$as_me:$LINENO: checking for int64_t" >&5 | 
 | 19461 | echo $ECHO_N "checking for int64_t... $ECHO_C" >&6 | 
 | 19462 | if test "${ac_cv_type_int64_t+set}" = set; then | 
 | 19463 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19464 | else | 
 | 19465 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19466 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19467 | /* confdefs.h.  */ | 
 | 19468 | _ACEOF | 
 | 19469 | cat confdefs.h >>conftest.$ac_ext | 
 | 19470 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19471 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19472 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19473 | int | 
 | 19474 | main () | 
 | 19475 | { | 
 | 19476 | if ((int64_t *) 0) | 
 | 19477 |   return 0; | 
 | 19478 | if (sizeof (int64_t)) | 
 | 19479 |   return 0; | 
 | 19480 |   ; | 
 | 19481 |   return 0; | 
 | 19482 | } | 
 | 19483 | _ACEOF | 
 | 19484 | rm -f conftest.$ac_objext | 
 | 19485 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19486 |   (eval $ac_compile) 2>&5 | 
 | 19487 |   ac_status=$? | 
 | 19488 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19489 |   (exit $ac_status); } && | 
 | 19490 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19491 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19492 |   (eval $ac_try) 2>&5 | 
 | 19493 |   ac_status=$? | 
 | 19494 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19495 |   (exit $ac_status); }; }; then | 
 | 19496 |   ac_cv_type_int64_t=yes | 
 | 19497 | else | 
 | 19498 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19499 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19500 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19501 | ac_cv_type_int64_t=no | 
 | 19502 | fi | 
 | 19503 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19504 | fi | 
 | 19505 | echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 | 
 | 19506 | echo "${ECHO_T}$ac_cv_type_int64_t" >&6 | 
 | 19507 | if test $ac_cv_type_int64_t = yes; then | 
 | 19508 |  | 
 | 19509 | cat >>confdefs.h <<_ACEOF | 
 | 19510 | #define HAVE_INT64_T 1 | 
 | 19511 | _ACEOF | 
 | 19512 |  | 
 | 19513 |  | 
 | 19514 | else | 
 | 19515 |   { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5 | 
 | 19516 | echo "$as_me: error: Type int64_t required but not found" >&2;} | 
 | 19517 |    { (exit 1); exit 1; }; } | 
 | 19518 | fi | 
 | 19519 |  | 
 | 19520 | echo "$as_me:$LINENO: checking for uint64_t" >&5 | 
 | 19521 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 | 
 | 19522 | if test "${ac_cv_type_uint64_t+set}" = set; then | 
 | 19523 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19524 | else | 
 | 19525 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19526 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19527 | /* confdefs.h.  */ | 
 | 19528 | _ACEOF | 
 | 19529 | cat confdefs.h >>conftest.$ac_ext | 
 | 19530 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19531 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19532 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19533 | int | 
 | 19534 | main () | 
 | 19535 | { | 
 | 19536 | if ((uint64_t *) 0) | 
 | 19537 |   return 0; | 
 | 19538 | if (sizeof (uint64_t)) | 
 | 19539 |   return 0; | 
 | 19540 |   ; | 
 | 19541 |   return 0; | 
 | 19542 | } | 
 | 19543 | _ACEOF | 
 | 19544 | rm -f conftest.$ac_objext | 
 | 19545 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19546 |   (eval $ac_compile) 2>&5 | 
 | 19547 |   ac_status=$? | 
 | 19548 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19549 |   (exit $ac_status); } && | 
 | 19550 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19551 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19552 |   (eval $ac_try) 2>&5 | 
 | 19553 |   ac_status=$? | 
 | 19554 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19555 |   (exit $ac_status); }; }; then | 
 | 19556 |   ac_cv_type_uint64_t=yes | 
 | 19557 | else | 
 | 19558 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19559 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19560 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19561 | ac_cv_type_uint64_t=no | 
 | 19562 | fi | 
 | 19563 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19564 | fi | 
 | 19565 | echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 | 
 | 19566 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 | 
 | 19567 | if test $ac_cv_type_uint64_t = yes; then | 
 | 19568 |  | 
 | 19569 | cat >>confdefs.h <<_ACEOF | 
 | 19570 | #define HAVE_UINT64_T 1 | 
 | 19571 | _ACEOF | 
 | 19572 |  | 
 | 19573 |  | 
 | 19574 | else | 
 | 19575 |   { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5 | 
 | 19576 | echo "$as_me: error: Type uint64_t required but not found" >&2;} | 
 | 19577 |    { (exit 1); exit 1; }; } | 
 | 19578 | fi | 
 | 19579 |  | 
 | 19580 | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 
 | 19581 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 
 | 19582 | if test "${ac_cv_header_time+set}" = set; then | 
 | 19583 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19584 | else | 
 | 19585 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19586 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19587 | /* confdefs.h.  */ | 
 | 19588 | _ACEOF | 
 | 19589 | cat confdefs.h >>conftest.$ac_ext | 
 | 19590 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19591 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19592 | #include <sys/types.h> | 
 | 19593 | #include <sys/time.h> | 
 | 19594 | #include <time.h> | 
 | 19595 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19596 | int | 
 | 19597 | main () | 
 | 19598 | { | 
 | 19599 | if ((struct tm *) 0) | 
 | 19600 | return 0; | 
 | 19601 |   ; | 
 | 19602 |   return 0; | 
 | 19603 | } | 
 | 19604 | _ACEOF | 
 | 19605 | rm -f conftest.$ac_objext | 
 | 19606 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19607 |   (eval $ac_compile) 2>&5 | 
 | 19608 |   ac_status=$? | 
 | 19609 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19610 |   (exit $ac_status); } && | 
 | 19611 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19612 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19613 |   (eval $ac_try) 2>&5 | 
 | 19614 |   ac_status=$? | 
 | 19615 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19616 |   (exit $ac_status); }; }; then | 
 | 19617 |   ac_cv_header_time=yes | 
 | 19618 | else | 
 | 19619 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19620 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19621 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19622 | ac_cv_header_time=no | 
 | 19623 | fi | 
 | 19624 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19625 | fi | 
 | 19626 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 
 | 19627 | echo "${ECHO_T}$ac_cv_header_time" >&6 | 
 | 19628 | if test $ac_cv_header_time = yes; then | 
 | 19629 |  | 
 | 19630 | cat >>confdefs.h <<\_ACEOF | 
 | 19631 | #define TIME_WITH_SYS_TIME 1 | 
 | 19632 | _ACEOF | 
 | 19633 |  | 
 | 19634 | fi | 
 | 19635 |  | 
 | 19636 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 | 
 | 19637 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 | 
 | 19638 | if test "${ac_cv_struct_tm+set}" = set; then | 
 | 19639 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19640 | else | 
 | 19641 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19642 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19643 | /* confdefs.h.  */ | 
 | 19644 | _ACEOF | 
 | 19645 | cat confdefs.h >>conftest.$ac_ext | 
 | 19646 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19647 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19648 | #include <sys/types.h> | 
 | 19649 | #include <time.h> | 
 | 19650 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19651 | int | 
 | 19652 | main () | 
 | 19653 | { | 
 | 19654 | struct tm *tp; tp->tm_sec; | 
 | 19655 |   ; | 
 | 19656 |   return 0; | 
 | 19657 | } | 
 | 19658 | _ACEOF | 
 | 19659 | rm -f conftest.$ac_objext | 
 | 19660 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19661 |   (eval $ac_compile) 2>&5 | 
 | 19662 |   ac_status=$? | 
 | 19663 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19664 |   (exit $ac_status); } && | 
 | 19665 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19666 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19667 |   (eval $ac_try) 2>&5 | 
 | 19668 |   ac_status=$? | 
 | 19669 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19670 |   (exit $ac_status); }; }; then | 
 | 19671 |   ac_cv_struct_tm=time.h | 
 | 19672 | else | 
 | 19673 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19674 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19675 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19676 | ac_cv_struct_tm=sys/time.h | 
 | 19677 | fi | 
 | 19678 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19679 | fi | 
 | 19680 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 | 
 | 19681 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 | 
 | 19682 | if test $ac_cv_struct_tm = sys/time.h; then | 
 | 19683 |  | 
 | 19684 | cat >>confdefs.h <<\_ACEOF | 
 | 19685 | #define TM_IN_SYS_TIME 1 | 
 | 19686 | _ACEOF | 
 | 19687 |  | 
 | 19688 | fi | 
 | 19689 |  | 
 | 19690 |  | 
| John Criswell | a0137d3 | 2003-10-13 16:22:01 +0000 | [diff] [blame] | 19691 |  | 
 | 19692 |  | 
 | 19693 |  | 
 | 19694 | 	ac_ext=c | 
 | 19695 | ac_cpp='$CPP $CPPFLAGS' | 
 | 19696 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 19697 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 19698 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 19699 |  | 
 | 19700 | 	if test "$cross_compiling" = yes; then | 
 | 19701 |   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 
 | 19702 | See \`config.log' for more details." >&5 | 
 | 19703 | echo "$as_me: error: cannot run test program while cross compiling | 
 | 19704 | See \`config.log' for more details." >&2;} | 
 | 19705 |    { (exit 1); exit 1; }; } | 
 | 19706 | else | 
 | 19707 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19708 | #line $LINENO "configure" | 
 | 19709 | /* confdefs.h.  */ | 
 | 19710 | _ACEOF | 
 | 19711 | cat confdefs.h >>conftest.$ac_ext | 
 | 19712 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19713 | /* end confdefs.h.  */ | 
 | 19714 | #include <stdio.h> | 
 | 19715 | 		                 #include <stdlib.h> | 
 | 19716 | int | 
 | 19717 | main () | 
 | 19718 | { | 
 | 19719 |  | 
 | 19720 | 		                 volatile double A, B; | 
 | 19721 | 		                 char Buffer[100]; | 
 | 19722 | 		                 A = 1; | 
 | 19723 | 		                 A /= 10.0; | 
 | 19724 | 		                 sprintf(Buffer, "%a", A); | 
 | 19725 | 		                 B = atof(Buffer); | 
 | 19726 | 		                 if (A != B) | 
 | 19727 | 							 return (1); | 
 | 19728 | 		                 if (A != 0x1.999999999999ap-4) | 
 | 19729 | 							 return (1); | 
 | 19730 | 		                 return (0); | 
 | 19731 |   ; | 
 | 19732 |   return 0; | 
 | 19733 | } | 
 | 19734 | _ACEOF | 
 | 19735 | rm -f conftest$ac_exeext | 
 | 19736 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 19737 |   (eval $ac_link) 2>&5 | 
 | 19738 |   ac_status=$? | 
 | 19739 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19740 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 19741 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19742 |   (eval $ac_try) 2>&5 | 
 | 19743 |   ac_status=$? | 
 | 19744 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19745 |   (exit $ac_status); }; }; then | 
 | 19746 |   ac_c_printf_a=yes | 
 | 19747 | else | 
 | 19748 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 19749 | echo "$as_me: failed program was:" >&5 | 
 | 19750 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19751 |  | 
 | 19752 | ( exit $ac_status ) | 
 | 19753 | ac_c_printf_a=no | 
 | 19754 | fi | 
 | 19755 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 19756 | fi | 
 | 19757 | 	ac_ext=c | 
 | 19758 | ac_cpp='$CPP $CPPFLAGS' | 
 | 19759 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 19760 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 19761 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 19762 |  | 
 | 19763 | 	if test "$ac_c_printf_a" = "yes"; then | 
 | 19764 |  | 
 | 19765 | cat >>confdefs.h <<\_ACEOF | 
 | 19766 | #define HAVE_PRINTF_A 1 | 
 | 19767 | _ACEOF | 
 | 19768 |  | 
 | 19769 | 	fi | 
 | 19770 |  | 
 | 19771 |  | 
| John Criswell | 0021c31 | 2004-02-13 21:57:29 +0000 | [diff] [blame] | 19772 | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | 
 | 19773 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 | 
 | 19774 | if test "${ac_cv_c_bigendian+set}" = set; then | 
 | 19775 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19776 | else | 
 | 19777 |   # See if sys/param.h defines the BYTE_ORDER macro. | 
 | 19778 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19779 | #line $LINENO "configure" | 
 | 19780 | /* confdefs.h.  */ | 
 | 19781 | _ACEOF | 
 | 19782 | cat confdefs.h >>conftest.$ac_ext | 
 | 19783 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19784 | /* end confdefs.h.  */ | 
 | 19785 | #include <sys/types.h> | 
 | 19786 | #include <sys/param.h> | 
 | 19787 |  | 
 | 19788 | int | 
 | 19789 | main () | 
 | 19790 | { | 
 | 19791 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 
 | 19792 |  bogus endian macros | 
 | 19793 | #endif | 
 | 19794 |  | 
 | 19795 |   ; | 
 | 19796 |   return 0; | 
 | 19797 | } | 
 | 19798 | _ACEOF | 
 | 19799 | rm -f conftest.$ac_objext | 
 | 19800 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19801 |   (eval $ac_compile) 2>&5 | 
 | 19802 |   ac_status=$? | 
 | 19803 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19804 |   (exit $ac_status); } && | 
 | 19805 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19806 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19807 |   (eval $ac_try) 2>&5 | 
 | 19808 |   ac_status=$? | 
 | 19809 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19810 |   (exit $ac_status); }; }; then | 
 | 19811 |   # It does; now see whether it defined to BIG_ENDIAN or not. | 
 | 19812 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19813 | #line $LINENO "configure" | 
 | 19814 | /* confdefs.h.  */ | 
 | 19815 | _ACEOF | 
 | 19816 | cat confdefs.h >>conftest.$ac_ext | 
 | 19817 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19818 | /* end confdefs.h.  */ | 
 | 19819 | #include <sys/types.h> | 
 | 19820 | #include <sys/param.h> | 
 | 19821 |  | 
 | 19822 | int | 
 | 19823 | main () | 
 | 19824 | { | 
 | 19825 | #if BYTE_ORDER != BIG_ENDIAN | 
 | 19826 |  not big endian | 
 | 19827 | #endif | 
 | 19828 |  | 
 | 19829 |   ; | 
 | 19830 |   return 0; | 
 | 19831 | } | 
 | 19832 | _ACEOF | 
 | 19833 | rm -f conftest.$ac_objext | 
 | 19834 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19835 |   (eval $ac_compile) 2>&5 | 
 | 19836 |   ac_status=$? | 
 | 19837 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19838 |   (exit $ac_status); } && | 
 | 19839 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19840 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19841 |   (eval $ac_try) 2>&5 | 
 | 19842 |   ac_status=$? | 
 | 19843 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19844 |   (exit $ac_status); }; }; then | 
 | 19845 |   ac_cv_c_bigendian=yes | 
 | 19846 | else | 
 | 19847 |   echo "$as_me: failed program was:" >&5 | 
 | 19848 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19849 |  | 
 | 19850 | ac_cv_c_bigendian=no | 
 | 19851 | fi | 
 | 19852 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19853 | else | 
 | 19854 |   echo "$as_me: failed program was:" >&5 | 
 | 19855 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19856 |  | 
 | 19857 | # It does not; compile a test program. | 
 | 19858 | if test "$cross_compiling" = yes; then | 
 | 19859 |   # try to guess the endianness by grepping values into an object file | 
 | 19860 |   ac_cv_c_bigendian=unknown | 
 | 19861 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19862 | #line $LINENO "configure" | 
 | 19863 | /* confdefs.h.  */ | 
 | 19864 | _ACEOF | 
 | 19865 | cat confdefs.h >>conftest.$ac_ext | 
 | 19866 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19867 | /* end confdefs.h.  */ | 
 | 19868 | short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | 
 | 19869 | short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | 
 | 19870 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | 
 | 19871 | short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | 
 | 19872 | short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | 
 | 19873 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | 
 | 19874 | int | 
 | 19875 | main () | 
 | 19876 | { | 
 | 19877 |  _ascii (); _ebcdic (); | 
 | 19878 |   ; | 
 | 19879 |   return 0; | 
 | 19880 | } | 
 | 19881 | _ACEOF | 
 | 19882 | rm -f conftest.$ac_objext | 
 | 19883 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19884 |   (eval $ac_compile) 2>&5 | 
 | 19885 |   ac_status=$? | 
 | 19886 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19887 |   (exit $ac_status); } && | 
 | 19888 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19889 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19890 |   (eval $ac_try) 2>&5 | 
 | 19891 |   ac_status=$? | 
 | 19892 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19893 |   (exit $ac_status); }; }; then | 
 | 19894 |   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | 
 | 19895 |   ac_cv_c_bigendian=yes | 
 | 19896 | fi | 
 | 19897 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | 
 | 19898 |   if test "$ac_cv_c_bigendian" = unknown; then | 
 | 19899 |     ac_cv_c_bigendian=no | 
 | 19900 |   else | 
 | 19901 |     # finding both strings is unlikely to happen, but who knows? | 
 | 19902 |     ac_cv_c_bigendian=unknown | 
 | 19903 |   fi | 
 | 19904 | fi | 
 | 19905 | else | 
 | 19906 |   echo "$as_me: failed program was:" >&5 | 
 | 19907 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19908 |  | 
 | 19909 | fi | 
 | 19910 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19911 | else | 
 | 19912 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19913 | #line $LINENO "configure" | 
 | 19914 | /* confdefs.h.  */ | 
 | 19915 | _ACEOF | 
 | 19916 | cat confdefs.h >>conftest.$ac_ext | 
 | 19917 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19918 | /* end confdefs.h.  */ | 
 | 19919 | int | 
 | 19920 | main () | 
 | 19921 | { | 
 | 19922 |   /* Are we little or big endian?  From Harbison&Steele.  */ | 
 | 19923 |   union | 
 | 19924 |   { | 
 | 19925 |     long l; | 
 | 19926 |     char c[sizeof (long)]; | 
 | 19927 |   } u; | 
 | 19928 |   u.l = 1; | 
 | 19929 |   exit (u.c[sizeof (long) - 1] == 1); | 
 | 19930 | } | 
 | 19931 | _ACEOF | 
 | 19932 | rm -f conftest$ac_exeext | 
 | 19933 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 19934 |   (eval $ac_link) 2>&5 | 
 | 19935 |   ac_status=$? | 
 | 19936 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19937 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 19938 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19939 |   (eval $ac_try) 2>&5 | 
 | 19940 |   ac_status=$? | 
 | 19941 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19942 |   (exit $ac_status); }; }; then | 
 | 19943 |   ac_cv_c_bigendian=no | 
 | 19944 | else | 
 | 19945 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 19946 | echo "$as_me: failed program was:" >&5 | 
 | 19947 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19948 |  | 
 | 19949 | ( exit $ac_status ) | 
 | 19950 | ac_cv_c_bigendian=yes | 
 | 19951 | fi | 
 | 19952 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 19953 | fi | 
 | 19954 | fi | 
 | 19955 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19956 | fi | 
 | 19957 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | 
 | 19958 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | 
 | 19959 | case $ac_cv_c_bigendian in | 
 | 19960 |   yes) | 
 | 19961 |     ENDIAN=big | 
 | 19962 |  ;; | 
 | 19963 |   no) | 
 | 19964 |     ENDIAN=little | 
 | 19965 |  ;; | 
 | 19966 |   *) | 
 | 19967 |     { { echo "$as_me:$LINENO: error: unknown endianness | 
 | 19968 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | 
 | 19969 | echo "$as_me: error: unknown endianness | 
 | 19970 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | 
 | 19971 |    { (exit 1); exit 1; }; } ;; | 
 | 19972 | esac | 
 | 19973 |  | 
 | 19974 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19975 | echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 | 
 | 19976 | echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6 | 
 | 19977 | if test "${ac_cv_cxx_namespaces+set}" = set; then | 
 | 19978 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19979 | else | 
 | 19980 |  | 
 | 19981 |  | 
 | 19982 |  ac_ext=cc | 
 | 19983 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 19984 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 19985 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 19986 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 19987 |  | 
 | 19988 |  cat >conftest.$ac_ext <<_ACEOF | 
 | 19989 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19990 | /* confdefs.h.  */ | 
 | 19991 | _ACEOF | 
 | 19992 | cat confdefs.h >>conftest.$ac_ext | 
 | 19993 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19994 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19995 | namespace Outer { namespace Inner { int i = 0; }} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19996 | int | 
 | 19997 | main () | 
 | 19998 | { | 
 | 19999 | using namespace Outer::Inner; return i; | 
 | 20000 |   ; | 
 | 20001 |   return 0; | 
 | 20002 | } | 
 | 20003 | _ACEOF | 
 | 20004 | rm -f conftest.$ac_objext | 
 | 20005 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20006 |   (eval $ac_compile) 2>&5 | 
 | 20007 |   ac_status=$? | 
 | 20008 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20009 |   (exit $ac_status); } && | 
 | 20010 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20011 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20012 |   (eval $ac_try) 2>&5 | 
 | 20013 |   ac_status=$? | 
 | 20014 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20015 |   (exit $ac_status); }; }; then | 
 | 20016 |   ac_cv_cxx_namespaces=yes | 
 | 20017 | else | 
 | 20018 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20019 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20020 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20021 | ac_cv_cxx_namespaces=no | 
 | 20022 | fi | 
 | 20023 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20024 |  ac_ext=c | 
 | 20025 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20026 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20027 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20028 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20029 |  | 
 | 20030 |  | 
 | 20031 | fi | 
 | 20032 | echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 | 
 | 20033 | echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6 | 
 | 20034 | if test "$ac_cv_cxx_namespaces" = yes; then | 
 | 20035 |  | 
 | 20036 | cat >>confdefs.h <<\_ACEOF | 
 | 20037 | #define HAVE_NAMESPACES | 
 | 20038 | _ACEOF | 
 | 20039 |  | 
 | 20040 | fi | 
 | 20041 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20042 | echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class std::hash_map" >&5 | 
 | 20043 | echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class std::hash_map... $ECHO_C" >&6 | 
 | 20044 | if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20045 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20046 | else | 
 | 20047 |  | 
 | 20048 |  | 
 | 20049 |  | 
 | 20050 |   ac_ext=cc | 
 | 20051 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20052 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20053 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20054 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20055 |  | 
 | 20056 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20057 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20058 | /* confdefs.h.  */ | 
 | 20059 | _ACEOF | 
 | 20060 | cat confdefs.h >>conftest.$ac_ext | 
 | 20061 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20062 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20063 | #include <ext/hash_map> | 
 | 20064 | #ifdef HAVE_NAMESPACES | 
 | 20065 | using namespace std; | 
 | 20066 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20067 | int | 
 | 20068 | main () | 
 | 20069 | { | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20070 | hash_map<int, int> t; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20071 |   ; | 
 | 20072 |   return 0; | 
 | 20073 | } | 
 | 20074 | _ACEOF | 
 | 20075 | rm -f conftest.$ac_objext | 
 | 20076 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20077 |   (eval $ac_compile) 2>&5 | 
 | 20078 |   ac_status=$? | 
 | 20079 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20080 |   (exit $ac_status); } && | 
 | 20081 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20082 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20083 |   (eval $ac_try) 2>&5 | 
 | 20084 |   ac_status=$? | 
 | 20085 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20086 |   (exit $ac_status); }; }; then | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20087 |   ac_cv_cxx_have_std_ext_hash_map=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20088 | else | 
 | 20089 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20090 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20091 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20092 | ac_cv_cxx_have_std_ext_hash_map=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20093 | fi | 
 | 20094 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20095 |   ac_ext=c | 
 | 20096 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20097 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20098 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20099 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20100 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20101 | fi | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20102 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_map" >&5 | 
 | 20103 | echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6 | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20104 |  HAVE_STD_EXT_HASH_MAP=0 | 
 | 20105 |  if test "$ac_cv_cxx_have_std_ext_hash_map" = yes | 
 | 20106 |  then | 
 | 20107 |    HAVE_STD_EXT_HASH_MAP=1 | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20108 |  fi | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20109 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20110 |  echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map" >&5 | 
 | 20111 | echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map... $ECHO_C" >&6 | 
 | 20112 | if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then | 
 | 20113 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20114 | else | 
 | 20115 |  | 
 | 20116 |  | 
 | 20117 |  | 
 | 20118 |   ac_ext=cc | 
 | 20119 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20120 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20121 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20122 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20123 |  | 
 | 20124 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20125 | #line $LINENO "configure" | 
 | 20126 | /* confdefs.h.  */ | 
 | 20127 | _ACEOF | 
 | 20128 | cat confdefs.h >>conftest.$ac_ext | 
 | 20129 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20130 | /* end confdefs.h.  */ | 
 | 20131 | #include <ext/hash_map> | 
 | 20132 | #ifdef HAVE_NAMESPACES | 
 | 20133 | using namespace __gnu_cxx; | 
 | 20134 | #endif | 
 | 20135 | int | 
 | 20136 | main () | 
 | 20137 | { | 
 | 20138 | hash_map<int,int> t; | 
 | 20139 |   ; | 
 | 20140 |   return 0; | 
 | 20141 | } | 
 | 20142 | _ACEOF | 
 | 20143 | rm -f conftest.$ac_objext | 
 | 20144 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20145 |   (eval $ac_compile) 2>&5 | 
 | 20146 |   ac_status=$? | 
 | 20147 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20148 |   (exit $ac_status); } && | 
 | 20149 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20150 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20151 |   (eval $ac_try) 2>&5 | 
 | 20152 |   ac_status=$? | 
 | 20153 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20154 |   (exit $ac_status); }; }; then | 
 | 20155 |   ac_cv_cxx_have_gnu_ext_hash_map=yes | 
 | 20156 | else | 
 | 20157 |   echo "$as_me: failed program was:" >&5 | 
 | 20158 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20159 |  | 
 | 20160 | ac_cv_cxx_have_gnu_ext_hash_map=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20161 | fi | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20162 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20163 |   ac_ext=c | 
 | 20164 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20165 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20166 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20167 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20168 |  | 
 | 20169 | fi | 
 | 20170 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_map" >&5 | 
 | 20171 | echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6 | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20172 |  HAVE_GNU_EXT_HASH_MAP=0 | 
 | 20173 |  if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes | 
 | 20174 |  then | 
 | 20175 |    HAVE_GNU_EXT_HASH_MAP=1 | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20176 |  fi | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20177 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20178 |  echo "$as_me:$LINENO: checking whether the compiler has <hash_map> defining template class ::hash_map" >&5 | 
 | 20179 | echo $ECHO_N "checking whether the compiler has <hash_map> defining template class ::hash_map... $ECHO_C" >&6 | 
 | 20180 | if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then | 
 | 20181 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20182 | else | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20183 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20184 |  | 
 | 20185 |  | 
 | 20186 |   ac_ext=cc | 
 | 20187 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20188 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20189 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20190 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20191 |  | 
 | 20192 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20193 | #line $LINENO "configure" | 
 | 20194 | /* confdefs.h.  */ | 
 | 20195 | _ACEOF | 
 | 20196 | cat confdefs.h >>conftest.$ac_ext | 
 | 20197 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20198 | /* end confdefs.h.  */ | 
 | 20199 | #include <hash_map> | 
 | 20200 | int | 
 | 20201 | main () | 
 | 20202 | { | 
 | 20203 | hash_map<int,int> t; | 
 | 20204 |   ; | 
 | 20205 |   return 0; | 
 | 20206 | } | 
 | 20207 | _ACEOF | 
 | 20208 | rm -f conftest.$ac_objext | 
 | 20209 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20210 |   (eval $ac_compile) 2>&5 | 
 | 20211 |   ac_status=$? | 
 | 20212 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20213 |   (exit $ac_status); } && | 
 | 20214 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20215 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20216 |   (eval $ac_try) 2>&5 | 
 | 20217 |   ac_status=$? | 
 | 20218 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20219 |   (exit $ac_status); }; }; then | 
 | 20220 |   ac_cv_cxx_have_global_hash_map=yes | 
 | 20221 | else | 
 | 20222 |   echo "$as_me: failed program was:" >&5 | 
 | 20223 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20224 |  | 
 | 20225 | ac_cv_cxx_have_global_hash_map=no | 
 | 20226 | fi | 
 | 20227 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20228 |   ac_ext=c | 
 | 20229 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20230 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20231 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20232 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20233 |  | 
 | 20234 | fi | 
 | 20235 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_map" >&5 | 
 | 20236 | echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6 | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20237 |  HAVE_GLOBAL_HASH_MAP=0 | 
 | 20238 |  if test "$ac_cv_cxx_have_global_hash_map" = yes | 
 | 20239 |  then | 
 | 20240 |    HAVE_GLOBAL_HASH_MAP=1 | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20241 |  fi | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20242 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20243 | echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class std::hash_set" >&5 | 
 | 20244 | echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class std::hash_set... $ECHO_C" >&6 | 
 | 20245 | if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20246 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20247 | else | 
 | 20248 |  | 
 | 20249 |  | 
 | 20250 |  | 
 | 20251 |   ac_ext=cc | 
 | 20252 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20253 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20254 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20255 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20256 |  | 
 | 20257 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20258 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20259 | /* confdefs.h.  */ | 
 | 20260 | _ACEOF | 
 | 20261 | cat confdefs.h >>conftest.$ac_ext | 
 | 20262 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20263 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20264 | #include <ext/hash_set> | 
 | 20265 | #ifdef HAVE_NAMESPACES | 
 | 20266 | using namespace std; | 
 | 20267 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20268 | int | 
 | 20269 | main () | 
 | 20270 | { | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20271 | hash_set<int> t; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20272 |   ; | 
 | 20273 |   return 0; | 
 | 20274 | } | 
 | 20275 | _ACEOF | 
 | 20276 | rm -f conftest.$ac_objext | 
 | 20277 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20278 |   (eval $ac_compile) 2>&5 | 
 | 20279 |   ac_status=$? | 
 | 20280 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20281 |   (exit $ac_status); } && | 
 | 20282 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20283 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20284 |   (eval $ac_try) 2>&5 | 
 | 20285 |   ac_status=$? | 
 | 20286 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20287 |   (exit $ac_status); }; }; then | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20288 |   ac_cv_cxx_have_std_ext_hash_set=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20289 | else | 
 | 20290 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20291 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20292 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20293 | ac_cv_cxx_have_std_ext_hash_set=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20294 | fi | 
 | 20295 | rm -f conftest.$ac_objext conftest.$ac_ext | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20296 |   ac_ext=c | 
 | 20297 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20298 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20299 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20300 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20301 |  | 
 | 20302 | fi | 
 | 20303 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_set" >&5 | 
 | 20304 | echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6 | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20305 |  HAVE_STD_EXT_HASH_SET=0 | 
 | 20306 |  if test "$ac_cv_cxx_have_std_ext_hash_set" = yes | 
 | 20307 |  then | 
 | 20308 |    HAVE_STD_EXT_HASH_SET=1 | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20309 |  fi | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20310 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20311 |  echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set" >&5 | 
 | 20312 | echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set... $ECHO_C" >&6 | 
 | 20313 | if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then | 
 | 20314 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20315 | else | 
 | 20316 |  | 
 | 20317 |  | 
 | 20318 |  | 
 | 20319 |   ac_ext=cc | 
 | 20320 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20321 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20322 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20323 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20324 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20325 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20326 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20327 | /* confdefs.h.  */ | 
 | 20328 | _ACEOF | 
 | 20329 | cat confdefs.h >>conftest.$ac_ext | 
 | 20330 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20331 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20332 | #include <ext/hash_set> | 
 | 20333 | #ifdef HAVE_NAMESPACES | 
 | 20334 | using namespace __gnu_cxx; | 
 | 20335 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20336 | int | 
 | 20337 | main () | 
 | 20338 | { | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20339 | hash_set<int> t; | 
 | 20340 |   ; | 
 | 20341 |   return 0; | 
 | 20342 | } | 
 | 20343 | _ACEOF | 
 | 20344 | rm -f conftest.$ac_objext | 
 | 20345 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20346 |   (eval $ac_compile) 2>&5 | 
 | 20347 |   ac_status=$? | 
 | 20348 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20349 |   (exit $ac_status); } && | 
 | 20350 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20351 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20352 |   (eval $ac_try) 2>&5 | 
 | 20353 |   ac_status=$? | 
 | 20354 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20355 |   (exit $ac_status); }; }; then | 
 | 20356 |   ac_cv_cxx_have_gnu_ext_hash_set=yes | 
 | 20357 | else | 
 | 20358 |   echo "$as_me: failed program was:" >&5 | 
 | 20359 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20360 |  | 
 | 20361 | ac_cv_cxx_have_gnu_ext_hash_set=no | 
 | 20362 | fi | 
 | 20363 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20364 |   ac_ext=c | 
 | 20365 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20366 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20367 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20368 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20369 |  | 
 | 20370 | fi | 
 | 20371 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_set" >&5 | 
 | 20372 | echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6 | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20373 |  HAVE_GNU_EXT_HASH_SET=0 | 
 | 20374 |  if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes | 
 | 20375 |  then | 
 | 20376 |    HAVE_GNU_EXT_HASH_SET=1 | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20377 |  fi | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20378 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20379 |  echo "$as_me:$LINENO: checking whether the compiler has <hash_set> defining template class ::hash_set" >&5 | 
 | 20380 | echo $ECHO_N "checking whether the compiler has <hash_set> defining template class ::hash_set... $ECHO_C" >&6 | 
 | 20381 | if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then | 
 | 20382 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20383 | else | 
 | 20384 |  | 
 | 20385 |  | 
 | 20386 |  | 
 | 20387 |   ac_ext=cc | 
 | 20388 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20389 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20390 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20391 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20392 |  | 
 | 20393 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20394 | #line $LINENO "configure" | 
 | 20395 | /* confdefs.h.  */ | 
 | 20396 | _ACEOF | 
 | 20397 | cat confdefs.h >>conftest.$ac_ext | 
 | 20398 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20399 | /* end confdefs.h.  */ | 
 | 20400 | #include <hash_set> | 
 | 20401 | int | 
 | 20402 | main () | 
 | 20403 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20404 | hash_set<int> t; return 0; | 
 | 20405 |   ; | 
 | 20406 |   return 0; | 
 | 20407 | } | 
 | 20408 | _ACEOF | 
 | 20409 | rm -f conftest.$ac_objext | 
 | 20410 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20411 |   (eval $ac_compile) 2>&5 | 
 | 20412 |   ac_status=$? | 
 | 20413 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20414 |   (exit $ac_status); } && | 
 | 20415 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20416 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20417 |   (eval $ac_try) 2>&5 | 
 | 20418 |   ac_status=$? | 
 | 20419 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20420 |   (exit $ac_status); }; }; then | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20421 |   ac_cv_cxx_have_global_hash_set=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20422 | else | 
 | 20423 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20424 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20425 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20426 | ac_cv_cxx_have_global_hash_set=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20427 | fi | 
 | 20428 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20429 |   ac_ext=c | 
 | 20430 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20431 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20432 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20433 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20434 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20435 | fi | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20436 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_set" >&5 | 
 | 20437 | echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6 | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20438 |  HAVE_GLOBAL_HASH_SET=0 | 
 | 20439 |  if test "$ac_cv_cxx_have_global_hash_set" = yes | 
 | 20440 |  then | 
 | 20441 |    HAVE_GLOBAL_HASH_SET=1 | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20442 |  fi | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 20443 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20444 | echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5 | 
 | 20445 | echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6 | 
 | 20446 | if test "${ac_cv_cxx_have_std_iterator+set}" = set; then | 
 | 20447 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20448 | else | 
 | 20449 |  | 
 | 20450 |  | 
 | 20451 |  | 
 | 20452 |   ac_ext=cc | 
 | 20453 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20454 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20455 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20456 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20457 |  | 
 | 20458 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20459 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20460 | /* confdefs.h.  */ | 
 | 20461 | _ACEOF | 
 | 20462 | cat confdefs.h >>conftest.$ac_ext | 
 | 20463 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20464 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20465 | #include <iterator> | 
 | 20466 | #ifdef HAVE_NAMESPACES | 
 | 20467 | using namespace std; | 
 | 20468 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20469 | int | 
 | 20470 | main () | 
 | 20471 | { | 
 | 20472 | iterator<int,int,int> t; return 0; | 
 | 20473 |   ; | 
 | 20474 |   return 0; | 
 | 20475 | } | 
 | 20476 | _ACEOF | 
 | 20477 | rm -f conftest.$ac_objext | 
 | 20478 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20479 |   (eval $ac_compile) 2>&5 | 
 | 20480 |   ac_status=$? | 
 | 20481 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20482 |   (exit $ac_status); } && | 
 | 20483 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20484 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20485 |   (eval $ac_try) 2>&5 | 
 | 20486 |   ac_status=$? | 
 | 20487 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20488 |   (exit $ac_status); }; }; then | 
 | 20489 |   ac_cv_cxx_have_std_iterator=yes | 
 | 20490 | else | 
 | 20491 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20492 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20493 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20494 | ac_cv_cxx_have_std_iterator=no | 
 | 20495 | fi | 
 | 20496 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20497 |   ac_ext=c | 
 | 20498 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20499 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20500 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20501 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20502 |  | 
 | 20503 |  | 
 | 20504 | fi | 
 | 20505 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5 | 
 | 20506 | echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6 | 
| Brian Gaeke | 295d4b8 | 2004-02-23 18:16:06 +0000 | [diff] [blame] | 20507 | HAVE_STD_ITERATOR=0 | 
 | 20508 | if test "$ac_cv_cxx_have_std_iterator" = yes | 
 | 20509 | then | 
 | 20510 |    HAVE_STD_ITERATOR=1 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20511 | fi | 
 | 20512 |  | 
 | 20513 | echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5 | 
 | 20514 | echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6 | 
 | 20515 | if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then | 
 | 20516 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20517 | else | 
 | 20518 |  | 
 | 20519 |  | 
 | 20520 |  | 
 | 20521 |   ac_ext=cc | 
 | 20522 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20523 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20524 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20525 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20526 |  | 
 | 20527 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20528 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20529 | /* confdefs.h.  */ | 
 | 20530 | _ACEOF | 
 | 20531 | cat confdefs.h >>conftest.$ac_ext | 
 | 20532 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20533 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20534 | #include <iterator> | 
 | 20535 | #ifdef HAVE_NAMESPACES | 
 | 20536 | using namespace std; | 
 | 20537 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20538 | int | 
 | 20539 | main () | 
 | 20540 | { | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 20541 | bidirectional_iterator<int,int> t; return 0; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20542 |   ; | 
 | 20543 |   return 0; | 
 | 20544 | } | 
 | 20545 | _ACEOF | 
 | 20546 | rm -f conftest.$ac_objext | 
 | 20547 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20548 |   (eval $ac_compile) 2>&5 | 
 | 20549 |   ac_status=$? | 
 | 20550 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20551 |   (exit $ac_status); } && | 
 | 20552 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20553 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20554 |   (eval $ac_try) 2>&5 | 
 | 20555 |   ac_status=$? | 
 | 20556 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20557 |   (exit $ac_status); }; }; then | 
 | 20558 |   ac_cv_cxx_have_bi_iterator=yes | 
 | 20559 | else | 
 | 20560 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20561 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20562 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20563 | ac_cv_cxx_have_bi_iterator=no | 
 | 20564 | fi | 
 | 20565 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20566 |   ac_ext=c | 
 | 20567 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20568 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20569 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20570 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20571 |  | 
 | 20572 |  | 
 | 20573 | fi | 
 | 20574 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5 | 
 | 20575 | echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6 | 
| Brian Gaeke | 295d4b8 | 2004-02-23 18:16:06 +0000 | [diff] [blame] | 20576 | HAVE_BI_ITERATOR=0 | 
 | 20577 | if test "$ac_cv_cxx_have_bi_iterator" = yes | 
 | 20578 | then | 
 | 20579 |    HAVE_BI_ITERATOR=1 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20580 | fi | 
 | 20581 |  | 
 | 20582 | echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5 | 
 | 20583 | echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6 | 
 | 20584 | if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then | 
 | 20585 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20586 | else | 
 | 20587 |  | 
 | 20588 |  | 
 | 20589 |  | 
 | 20590 |   ac_ext=cc | 
 | 20591 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20592 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20593 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20594 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20595 |  | 
 | 20596 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20597 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20598 | /* confdefs.h.  */ | 
 | 20599 | _ACEOF | 
 | 20600 | cat confdefs.h >>conftest.$ac_ext | 
 | 20601 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20602 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20603 | #include <iterator> | 
 | 20604 | #ifdef HAVE_NAMESPACES | 
 | 20605 | using namespace std; | 
 | 20606 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20607 | int | 
 | 20608 | main () | 
 | 20609 | { | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 20610 | forward_iterator<int,int> t; return 0; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20611 |   ; | 
 | 20612 |   return 0; | 
 | 20613 | } | 
 | 20614 | _ACEOF | 
 | 20615 | rm -f conftest.$ac_objext | 
 | 20616 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20617 |   (eval $ac_compile) 2>&5 | 
 | 20618 |   ac_status=$? | 
 | 20619 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20620 |   (exit $ac_status); } && | 
 | 20621 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20622 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20623 |   (eval $ac_try) 2>&5 | 
 | 20624 |   ac_status=$? | 
 | 20625 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20626 |   (exit $ac_status); }; }; then | 
 | 20627 |   ac_cv_cxx_have_fwd_iterator=yes | 
 | 20628 | else | 
 | 20629 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20630 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20631 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20632 | ac_cv_cxx_have_fwd_iterator=no | 
 | 20633 | fi | 
 | 20634 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20635 |   ac_ext=c | 
 | 20636 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20637 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20638 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20639 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20640 |  | 
 | 20641 |  | 
 | 20642 | fi | 
 | 20643 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5 | 
 | 20644 | echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6 | 
| Brian Gaeke | 295d4b8 | 2004-02-23 18:16:06 +0000 | [diff] [blame] | 20645 | HAVE_FWD_ITERATOR=0 | 
 | 20646 | if test "$ac_cv_cxx_have_fwd_iterator" = yes | 
 | 20647 | then | 
 | 20648 |    HAVE_FWD_ITERATOR=1 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20649 | fi | 
 | 20650 |  | 
 | 20651 |  | 
| Brian Gaeke | 6f5b621 | 2004-06-22 23:47:13 +0000 | [diff] [blame] | 20652 |  | 
 | 20653 | echo "$as_me:$LINENO: checking for isnan in <math.h>" >&5 | 
 | 20654 | echo $ECHO_N "checking for isnan in <math.h>... $ECHO_C" >&6 | 
 | 20655 | if test "${ac_cv_func_isnan_in_math_h+set}" = set; then | 
 | 20656 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20657 | else | 
 | 20658 |   ac_ext=cc | 
 | 20659 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20660 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20661 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20662 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20663 |  | 
 | 20664 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20665 | #line $LINENO "configure" | 
 | 20666 | /* confdefs.h.  */ | 
 | 20667 | _ACEOF | 
 | 20668 | cat confdefs.h >>conftest.$ac_ext | 
 | 20669 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20670 | /* end confdefs.h.  */ | 
 | 20671 | #include <math.h> | 
 | 20672 |                      int foo(float f) {return isnan(f);} | 
 | 20673 | _ACEOF | 
 | 20674 | rm -f conftest.$ac_objext | 
 | 20675 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20676 |   (eval $ac_compile) 2>&5 | 
 | 20677 |   ac_status=$? | 
 | 20678 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20679 |   (exit $ac_status); } && | 
 | 20680 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20681 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20682 |   (eval $ac_try) 2>&5 | 
 | 20683 |   ac_status=$? | 
 | 20684 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20685 |   (exit $ac_status); }; }; then | 
 | 20686 |   ac_cv_func_isnan_in_math_h=yes | 
 | 20687 | else | 
 | 20688 |   echo "$as_me: failed program was:" >&5 | 
 | 20689 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20690 |  | 
 | 20691 | ac_cv_func_isnan_in_math_h=no | 
 | 20692 | fi | 
 | 20693 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20694 |  ac_ext=c | 
 | 20695 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20696 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20697 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20698 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20699 |  | 
 | 20700 | fi | 
 | 20701 | echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_math_h" >&5 | 
 | 20702 | echo "${ECHO_T}$ac_cv_func_isnan_in_math_h" >&6 | 
 | 20703 |  if test "$ac_cv_func_isnan_in_math_h" = "yes" | 
 | 20704 |  then | 
 | 20705 |  | 
 | 20706 | cat >>confdefs.h <<\_ACEOF | 
 | 20707 | #define HAVE_ISNAN_IN_MATH_H 1 | 
 | 20708 | _ACEOF | 
 | 20709 |  | 
 | 20710 |  fi | 
 | 20711 | echo "$as_me:$LINENO: checking for isnan in <cmath>" >&5 | 
 | 20712 | echo $ECHO_N "checking for isnan in <cmath>... $ECHO_C" >&6 | 
 | 20713 | if test "${ac_cv_func_isnan_in_cmath+set}" = set; then | 
 | 20714 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20715 | else | 
 | 20716 |   ac_ext=cc | 
 | 20717 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20718 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20719 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20720 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20721 |  | 
 | 20722 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20723 | #line $LINENO "configure" | 
 | 20724 | /* confdefs.h.  */ | 
 | 20725 | _ACEOF | 
 | 20726 | cat confdefs.h >>conftest.$ac_ext | 
 | 20727 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20728 | /* end confdefs.h.  */ | 
 | 20729 | #include <cmath> | 
 | 20730 |                      int foo(float f) {return isnan(f);} | 
 | 20731 | _ACEOF | 
 | 20732 | rm -f conftest.$ac_objext | 
 | 20733 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20734 |   (eval $ac_compile) 2>&5 | 
 | 20735 |   ac_status=$? | 
 | 20736 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20737 |   (exit $ac_status); } && | 
 | 20738 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20739 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20740 |   (eval $ac_try) 2>&5 | 
 | 20741 |   ac_status=$? | 
 | 20742 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20743 |   (exit $ac_status); }; }; then | 
 | 20744 |   ac_cv_func_isnan_in_cmath=yes | 
 | 20745 | else | 
 | 20746 |   echo "$as_me: failed program was:" >&5 | 
 | 20747 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20748 |  | 
 | 20749 | ac_cv_func_isnan_in_cmath=no | 
 | 20750 | fi | 
 | 20751 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20752 |  ac_ext=c | 
 | 20753 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20754 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20755 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20756 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20757 |  | 
 | 20758 | fi | 
 | 20759 | echo "$as_me:$LINENO: result: $ac_cv_func_isnan_in_cmath" >&5 | 
 | 20760 | echo "${ECHO_T}$ac_cv_func_isnan_in_cmath" >&6 | 
 | 20761 |  if test "$ac_cv_func_isnan_in_cmath" = "yes" | 
 | 20762 |  then | 
 | 20763 |  | 
 | 20764 | cat >>confdefs.h <<\_ACEOF | 
 | 20765 | #define HAVE_ISNAN_IN_CMATH 1 | 
 | 20766 | _ACEOF | 
 | 20767 |  | 
 | 20768 |  fi | 
 | 20769 | echo "$as_me:$LINENO: checking for std::isnan in <cmath>" >&5 | 
 | 20770 | echo $ECHO_N "checking for std::isnan in <cmath>... $ECHO_C" >&6 | 
 | 20771 | if test "${ac_cv_func_std_isnan_in_cmath+set}" = set; then | 
 | 20772 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20773 | else | 
 | 20774 |   ac_ext=cc | 
 | 20775 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20776 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20777 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20778 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20779 |  | 
 | 20780 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20781 | #line $LINENO "configure" | 
 | 20782 | /* confdefs.h.  */ | 
 | 20783 | _ACEOF | 
 | 20784 | cat confdefs.h >>conftest.$ac_ext | 
 | 20785 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20786 | /* end confdefs.h.  */ | 
 | 20787 | #include <cmath> | 
 | 20788 |                      using std::isnan; int foo(float f) {return isnan(f);} | 
 | 20789 | _ACEOF | 
 | 20790 | rm -f conftest.$ac_objext | 
 | 20791 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20792 |   (eval $ac_compile) 2>&5 | 
 | 20793 |   ac_status=$? | 
 | 20794 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20795 |   (exit $ac_status); } && | 
 | 20796 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20797 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20798 |   (eval $ac_try) 2>&5 | 
 | 20799 |   ac_status=$? | 
 | 20800 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20801 |   (exit $ac_status); }; }; then | 
 | 20802 |   ac_cv_func_std_isnan_in_cmath=yes | 
 | 20803 | else | 
 | 20804 |   echo "$as_me: failed program was:" >&5 | 
 | 20805 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20806 |  | 
 | 20807 | ac_cv_func_std_isnan_in_cmath=no | 
 | 20808 | fi | 
 | 20809 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20810 |  ac_ext=c | 
 | 20811 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20812 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20813 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20814 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20815 |  | 
 | 20816 | fi | 
 | 20817 | echo "$as_me:$LINENO: result: $ac_cv_func_std_isnan_in_cmath" >&5 | 
 | 20818 | echo "${ECHO_T}$ac_cv_func_std_isnan_in_cmath" >&6 | 
 | 20819 |  if test "$ac_cv_func_std_isnan_in_cmath" = "yes" | 
 | 20820 |  then | 
 | 20821 |  | 
 | 20822 | cat >>confdefs.h <<\_ACEOF | 
 | 20823 | #define HAVE_STD_ISNAN_IN_CMATH 1 | 
 | 20824 | _ACEOF | 
 | 20825 |  | 
 | 20826 |  fi | 
 | 20827 |  | 
 | 20828 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20829 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 
 | 20830 | # for constant arguments.  Useless! | 
 | 20831 | echo "$as_me:$LINENO: checking for working alloca.h" >&5 | 
 | 20832 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 | 
 | 20833 | if test "${ac_cv_working_alloca_h+set}" = set; then | 
 | 20834 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20835 | else | 
 | 20836 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20837 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20838 | /* confdefs.h.  */ | 
 | 20839 | _ACEOF | 
 | 20840 | cat confdefs.h >>conftest.$ac_ext | 
 | 20841 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20842 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20843 | #include <alloca.h> | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20844 | int | 
 | 20845 | main () | 
 | 20846 | { | 
 | 20847 | char *p = (char *) alloca (2 * sizeof (int)); | 
 | 20848 |   ; | 
 | 20849 |   return 0; | 
 | 20850 | } | 
 | 20851 | _ACEOF | 
 | 20852 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 20853 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 20854 |   (eval $ac_link) 2>&5 | 
 | 20855 |   ac_status=$? | 
 | 20856 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20857 |   (exit $ac_status); } && | 
 | 20858 |          { ac_try='test -s conftest$ac_exeext' | 
 | 20859 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20860 |   (eval $ac_try) 2>&5 | 
 | 20861 |   ac_status=$? | 
 | 20862 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20863 |   (exit $ac_status); }; }; then | 
 | 20864 |   ac_cv_working_alloca_h=yes | 
 | 20865 | else | 
 | 20866 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20867 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20868 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20869 | ac_cv_working_alloca_h=no | 
 | 20870 | fi | 
 | 20871 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 20872 | fi | 
 | 20873 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | 
 | 20874 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 | 
 | 20875 | if test $ac_cv_working_alloca_h = yes; then | 
 | 20876 |  | 
 | 20877 | cat >>confdefs.h <<\_ACEOF | 
 | 20878 | #define HAVE_ALLOCA_H 1 | 
 | 20879 | _ACEOF | 
 | 20880 |  | 
 | 20881 | fi | 
 | 20882 |  | 
 | 20883 | echo "$as_me:$LINENO: checking for alloca" >&5 | 
 | 20884 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 | 
 | 20885 | if test "${ac_cv_func_alloca_works+set}" = set; then | 
 | 20886 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20887 | else | 
 | 20888 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20889 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20890 | /* confdefs.h.  */ | 
 | 20891 | _ACEOF | 
 | 20892 | cat confdefs.h >>conftest.$ac_ext | 
 | 20893 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20894 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20895 | #ifdef __GNUC__ | 
 | 20896 | # define alloca __builtin_alloca | 
 | 20897 | #else | 
 | 20898 | # ifdef _MSC_VER | 
 | 20899 | #  include <malloc.h> | 
 | 20900 | #  define alloca _alloca | 
 | 20901 | # else | 
 | 20902 | #  if HAVE_ALLOCA_H | 
 | 20903 | #   include <alloca.h> | 
 | 20904 | #  else | 
 | 20905 | #   ifdef _AIX | 
 | 20906 |  #pragma alloca | 
 | 20907 | #   else | 
 | 20908 | #    ifndef alloca /* predefined by HP cc +Olibcalls */ | 
 | 20909 | char *alloca (); | 
 | 20910 | #    endif | 
 | 20911 | #   endif | 
 | 20912 | #  endif | 
 | 20913 | # endif | 
 | 20914 | #endif | 
 | 20915 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20916 | int | 
 | 20917 | main () | 
 | 20918 | { | 
 | 20919 | char *p = (char *) alloca (1); | 
 | 20920 |   ; | 
 | 20921 |   return 0; | 
 | 20922 | } | 
 | 20923 | _ACEOF | 
 | 20924 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 20925 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 20926 |   (eval $ac_link) 2>&5 | 
 | 20927 |   ac_status=$? | 
 | 20928 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20929 |   (exit $ac_status); } && | 
 | 20930 |          { ac_try='test -s conftest$ac_exeext' | 
 | 20931 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20932 |   (eval $ac_try) 2>&5 | 
 | 20933 |   ac_status=$? | 
 | 20934 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20935 |   (exit $ac_status); }; }; then | 
 | 20936 |   ac_cv_func_alloca_works=yes | 
 | 20937 | else | 
 | 20938 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20939 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20940 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20941 | ac_cv_func_alloca_works=no | 
 | 20942 | fi | 
 | 20943 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 20944 | fi | 
 | 20945 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | 
 | 20946 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 | 
 | 20947 |  | 
 | 20948 | if test $ac_cv_func_alloca_works = yes; then | 
 | 20949 |  | 
 | 20950 | cat >>confdefs.h <<\_ACEOF | 
 | 20951 | #define HAVE_ALLOCA 1 | 
 | 20952 | _ACEOF | 
 | 20953 |  | 
 | 20954 | else | 
 | 20955 |   # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 
 | 20956 | # that cause trouble.  Some versions do not even contain alloca or | 
 | 20957 | # contain a buggy version.  If you still want to use their alloca, | 
 | 20958 | # use ar to extract alloca.o from them instead of compiling alloca.c. | 
 | 20959 |  | 
 | 20960 | ALLOCA=alloca.$ac_objext | 
 | 20961 |  | 
 | 20962 | cat >>confdefs.h <<\_ACEOF | 
 | 20963 | #define C_ALLOCA 1 | 
 | 20964 | _ACEOF | 
 | 20965 |  | 
 | 20966 |  | 
 | 20967 | echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | 
 | 20968 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 | 
 | 20969 | if test "${ac_cv_os_cray+set}" = set; then | 
 | 20970 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20971 | else | 
 | 20972 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20973 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20974 | /* confdefs.h.  */ | 
 | 20975 | _ACEOF | 
 | 20976 | cat confdefs.h >>conftest.$ac_ext | 
 | 20977 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20978 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20979 | #if defined(CRAY) && ! defined(CRAY2) | 
 | 20980 | webecray | 
 | 20981 | #else | 
 | 20982 | wenotbecray | 
 | 20983 | #endif | 
 | 20984 |  | 
 | 20985 | _ACEOF | 
 | 20986 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20987 |   $EGREP "webecray" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20988 |   ac_cv_os_cray=yes | 
 | 20989 | else | 
 | 20990 |   ac_cv_os_cray=no | 
 | 20991 | fi | 
 | 20992 | rm -f conftest* | 
 | 20993 |  | 
 | 20994 | fi | 
 | 20995 | echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 | 
 | 20996 | echo "${ECHO_T}$ac_cv_os_cray" >&6 | 
 | 20997 | if test $ac_cv_os_cray = yes; then | 
 | 20998 |   for ac_func in _getb67 GETB67 getb67; do | 
 | 20999 |     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 21000 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 21001 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 21002 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 21003 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21004 | else | 
 | 21005 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21006 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21007 | /* confdefs.h.  */ | 
 | 21008 | _ACEOF | 
 | 21009 | cat confdefs.h >>conftest.$ac_ext | 
 | 21010 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21011 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21012 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21013 |     which can conflict with char $ac_func (); below. | 
 | 21014 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 21015 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 21016 | #ifdef __STDC__ | 
 | 21017 | # include <limits.h> | 
 | 21018 | #else | 
 | 21019 | # include <assert.h> | 
 | 21020 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21021 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 21022 | #ifdef __cplusplus | 
 | 21023 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21024 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21025 | #endif | 
 | 21026 | /* We use char because int might match the return type of a gcc2 | 
 | 21027 |    builtin and then its argument prototype would still apply.  */ | 
 | 21028 | char $ac_func (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21029 | /* The GNU C library defines this for functions which it implements | 
 | 21030 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 21031 |     something starting with __ and the normal name is an alias.  */ | 
 | 21032 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 21033 | choke me | 
 | 21034 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21035 | char (*f) () = $ac_func; | 
 | 21036 | #endif | 
 | 21037 | #ifdef __cplusplus | 
 | 21038 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21039 | #endif | 
 | 21040 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21041 | int | 
 | 21042 | main () | 
 | 21043 | { | 
 | 21044 | return f != $ac_func; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21045 |   ; | 
 | 21046 |   return 0; | 
 | 21047 | } | 
 | 21048 | _ACEOF | 
 | 21049 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 21050 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21051 |   (eval $ac_link) 2>&5 | 
 | 21052 |   ac_status=$? | 
 | 21053 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21054 |   (exit $ac_status); } && | 
 | 21055 |          { ac_try='test -s conftest$ac_exeext' | 
 | 21056 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21057 |   (eval $ac_try) 2>&5 | 
 | 21058 |   ac_status=$? | 
 | 21059 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21060 |   (exit $ac_status); }; }; then | 
 | 21061 |   eval "$as_ac_var=yes" | 
 | 21062 | else | 
 | 21063 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21064 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21065 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21066 | eval "$as_ac_var=no" | 
 | 21067 | fi | 
 | 21068 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 21069 | fi | 
 | 21070 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 21071 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 21072 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 21073 |  | 
 | 21074 | cat >>confdefs.h <<_ACEOF | 
 | 21075 | #define CRAY_STACKSEG_END $ac_func | 
 | 21076 | _ACEOF | 
 | 21077 |  | 
 | 21078 |     break | 
 | 21079 | fi | 
 | 21080 |  | 
 | 21081 |   done | 
 | 21082 | fi | 
 | 21083 |  | 
 | 21084 | echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 | 
 | 21085 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 | 
 | 21086 | if test "${ac_cv_c_stack_direction+set}" = set; then | 
 | 21087 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21088 | else | 
 | 21089 |   if test "$cross_compiling" = yes; then | 
 | 21090 |   ac_cv_c_stack_direction=0 | 
 | 21091 | else | 
 | 21092 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21093 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21094 | /* confdefs.h.  */ | 
 | 21095 | _ACEOF | 
 | 21096 | cat confdefs.h >>conftest.$ac_ext | 
 | 21097 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21098 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21099 | int | 
 | 21100 | find_stack_direction () | 
 | 21101 | { | 
 | 21102 |   static char *addr = 0; | 
 | 21103 |   auto char dummy; | 
 | 21104 |   if (addr == 0) | 
 | 21105 |     { | 
 | 21106 |       addr = &dummy; | 
 | 21107 |       return find_stack_direction (); | 
 | 21108 |     } | 
 | 21109 |   else | 
 | 21110 |     return (&dummy > addr) ? 1 : -1; | 
 | 21111 | } | 
 | 21112 |  | 
 | 21113 | int | 
 | 21114 | main () | 
 | 21115 | { | 
 | 21116 |   exit (find_stack_direction () < 0); | 
 | 21117 | } | 
 | 21118 | _ACEOF | 
 | 21119 | rm -f conftest$ac_exeext | 
 | 21120 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21121 |   (eval $ac_link) 2>&5 | 
 | 21122 |   ac_status=$? | 
 | 21123 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21124 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 21125 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21126 |   (eval $ac_try) 2>&5 | 
 | 21127 |   ac_status=$? | 
 | 21128 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21129 |   (exit $ac_status); }; }; then | 
 | 21130 |   ac_cv_c_stack_direction=1 | 
 | 21131 | else | 
 | 21132 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 21133 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21134 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21135 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21136 | ( exit $ac_status ) | 
 | 21137 | ac_cv_c_stack_direction=-1 | 
 | 21138 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21139 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21140 | fi | 
 | 21141 | fi | 
 | 21142 | echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | 
 | 21143 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 | 
 | 21144 |  | 
 | 21145 | cat >>confdefs.h <<_ACEOF | 
 | 21146 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 
 | 21147 | _ACEOF | 
 | 21148 |  | 
 | 21149 |  | 
 | 21150 | fi | 
 | 21151 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21152 |  | 
 | 21153 |  | 
 | 21154 | for ac_header in stdlib.h unistd.h | 
 | 21155 | do | 
 | 21156 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 21157 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 21158 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 21159 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 21160 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 21161 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21162 | fi | 
 | 21163 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 21164 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 21165 | else | 
 | 21166 |   # Is the header compilable? | 
 | 21167 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 21168 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 21169 | cat >conftest.$ac_ext <<_ACEOF | 
 | 21170 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21171 | /* confdefs.h.  */ | 
 | 21172 | _ACEOF | 
 | 21173 | cat confdefs.h >>conftest.$ac_ext | 
 | 21174 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21175 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21176 | $ac_includes_default | 
 | 21177 | #include <$ac_header> | 
 | 21178 | _ACEOF | 
 | 21179 | rm -f conftest.$ac_objext | 
 | 21180 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21181 |   (eval $ac_compile) 2>&5 | 
 | 21182 |   ac_status=$? | 
 | 21183 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21184 |   (exit $ac_status); } && | 
 | 21185 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21186 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21187 |   (eval $ac_try) 2>&5 | 
 | 21188 |   ac_status=$? | 
 | 21189 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21190 |   (exit $ac_status); }; }; then | 
 | 21191 |   ac_header_compiler=yes | 
 | 21192 | else | 
 | 21193 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21194 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21195 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21196 | ac_header_compiler=no | 
 | 21197 | fi | 
 | 21198 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21199 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 21200 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 21201 |  | 
 | 21202 | # Is the header present? | 
 | 21203 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 21204 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 21205 | cat >conftest.$ac_ext <<_ACEOF | 
 | 21206 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21207 | /* confdefs.h.  */ | 
 | 21208 | _ACEOF | 
 | 21209 | cat confdefs.h >>conftest.$ac_ext | 
 | 21210 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21211 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21212 | #include <$ac_header> | 
 | 21213 | _ACEOF | 
 | 21214 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 21215 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 21216 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21217 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21218 |   rm -f conftest.er1 | 
 | 21219 |   cat conftest.err >&5 | 
 | 21220 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21221 |   (exit $ac_status); } >/dev/null; then | 
 | 21222 |   if test -s conftest.err; then | 
 | 21223 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 21224 |   else | 
 | 21225 |     ac_cpp_err= | 
 | 21226 |   fi | 
 | 21227 | else | 
 | 21228 |   ac_cpp_err=yes | 
 | 21229 | fi | 
 | 21230 | if test -z "$ac_cpp_err"; then | 
 | 21231 |   ac_header_preproc=yes | 
 | 21232 | else | 
 | 21233 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21234 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21235 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21236 |   ac_header_preproc=no | 
 | 21237 | fi | 
 | 21238 | rm -f conftest.err conftest.$ac_ext | 
 | 21239 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 21240 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 21241 |  | 
 | 21242 | # So?  What about this header? | 
 | 21243 | case $ac_header_compiler:$ac_header_preproc in | 
 | 21244 |   yes:no ) | 
 | 21245 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 21246 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 21247 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21248 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 21249 |     ( | 
 | 21250 |       cat <<\_ASBOX | 
 | 21251 | ## ------------------------------------ ## | 
 | 21252 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 21253 | ## ------------------------------------ ## | 
 | 21254 | _ASBOX | 
 | 21255 |     ) | | 
 | 21256 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 21257 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21258 |   no:yes ) | 
 | 21259 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 21260 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 21261 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 21262 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 21263 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21264 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 21265 |     ( | 
 | 21266 |       cat <<\_ASBOX | 
 | 21267 | ## ------------------------------------ ## | 
 | 21268 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 21269 | ## ------------------------------------ ## | 
 | 21270 | _ASBOX | 
 | 21271 |     ) | | 
 | 21272 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 21273 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21274 | esac | 
 | 21275 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 21276 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 21277 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 21278 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21279 | else | 
 | 21280 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 21281 | fi | 
 | 21282 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 21283 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 21284 |  | 
 | 21285 | fi | 
 | 21286 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 21287 |   cat >>confdefs.h <<_ACEOF | 
 | 21288 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 21289 | _ACEOF | 
 | 21290 |  | 
 | 21291 | fi | 
 | 21292 |  | 
 | 21293 | done | 
 | 21294 |  | 
 | 21295 |  | 
 | 21296 | for ac_func in getpagesize | 
 | 21297 | do | 
 | 21298 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 21299 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 21300 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 21301 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 21302 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21303 | else | 
 | 21304 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21305 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21306 | /* confdefs.h.  */ | 
 | 21307 | _ACEOF | 
 | 21308 | cat confdefs.h >>conftest.$ac_ext | 
 | 21309 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21310 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21311 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21312 |     which can conflict with char $ac_func (); below. | 
 | 21313 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 21314 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 21315 | #ifdef __STDC__ | 
 | 21316 | # include <limits.h> | 
 | 21317 | #else | 
 | 21318 | # include <assert.h> | 
 | 21319 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21320 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 21321 | #ifdef __cplusplus | 
 | 21322 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21323 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21324 | #endif | 
 | 21325 | /* We use char because int might match the return type of a gcc2 | 
 | 21326 |    builtin and then its argument prototype would still apply.  */ | 
 | 21327 | char $ac_func (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21328 | /* The GNU C library defines this for functions which it implements | 
 | 21329 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 21330 |     something starting with __ and the normal name is an alias.  */ | 
 | 21331 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 21332 | choke me | 
 | 21333 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21334 | char (*f) () = $ac_func; | 
 | 21335 | #endif | 
 | 21336 | #ifdef __cplusplus | 
 | 21337 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21338 | #endif | 
 | 21339 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21340 | int | 
 | 21341 | main () | 
 | 21342 | { | 
 | 21343 | return f != $ac_func; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21344 |   ; | 
 | 21345 |   return 0; | 
 | 21346 | } | 
 | 21347 | _ACEOF | 
 | 21348 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 21349 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21350 |   (eval $ac_link) 2>&5 | 
 | 21351 |   ac_status=$? | 
 | 21352 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21353 |   (exit $ac_status); } && | 
 | 21354 |          { ac_try='test -s conftest$ac_exeext' | 
 | 21355 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21356 |   (eval $ac_try) 2>&5 | 
 | 21357 |   ac_status=$? | 
 | 21358 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21359 |   (exit $ac_status); }; }; then | 
 | 21360 |   eval "$as_ac_var=yes" | 
 | 21361 | else | 
 | 21362 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21363 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21364 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21365 | eval "$as_ac_var=no" | 
 | 21366 | fi | 
 | 21367 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 21368 | fi | 
 | 21369 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 21370 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 21371 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 21372 |   cat >>confdefs.h <<_ACEOF | 
 | 21373 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
 | 21374 | _ACEOF | 
 | 21375 |  | 
 | 21376 | fi | 
 | 21377 | done | 
 | 21378 |  | 
 | 21379 | echo "$as_me:$LINENO: checking for working mmap" >&5 | 
 | 21380 | echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 | 
 | 21381 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | 
 | 21382 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21383 | else | 
 | 21384 |   if test "$cross_compiling" = yes; then | 
 | 21385 |   ac_cv_func_mmap_fixed_mapped=no | 
 | 21386 | else | 
 | 21387 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21388 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21389 | /* confdefs.h.  */ | 
 | 21390 | _ACEOF | 
 | 21391 | cat confdefs.h >>conftest.$ac_ext | 
 | 21392 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21393 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21394 | $ac_includes_default | 
 | 21395 | /* malloc might have been renamed as rpl_malloc. */ | 
 | 21396 | #undef malloc | 
 | 21397 |  | 
 | 21398 | /* Thanks to Mike Haertel and Jim Avera for this test. | 
 | 21399 |    Here is a matrix of mmap possibilities: | 
 | 21400 | 	mmap private not fixed | 
 | 21401 | 	mmap private fixed at somewhere currently unmapped | 
 | 21402 | 	mmap private fixed at somewhere already mapped | 
 | 21403 | 	mmap shared not fixed | 
 | 21404 | 	mmap shared fixed at somewhere currently unmapped | 
 | 21405 | 	mmap shared fixed at somewhere already mapped | 
 | 21406 |    For private mappings, we should verify that changes cannot be read() | 
 | 21407 |    back from the file, nor mmap's back from the file at a different | 
 | 21408 |    address.  (There have been systems where private was not correctly | 
 | 21409 |    implemented like the infamous i386 svr4.0, and systems where the | 
 | 21410 |    VM page cache was not coherent with the file system buffer cache | 
 | 21411 |    like early versions of FreeBSD and possibly contemporary NetBSD.) | 
 | 21412 |    For shared mappings, we should conversely verify that changes get | 
 | 21413 |    propagated back to all the places they're supposed to be. | 
 | 21414 |  | 
 | 21415 |    Grep wants private fixed already mapped. | 
 | 21416 |    The main things grep needs to know about mmap are: | 
 | 21417 |    * does it exist and is it safe to write into the mmap'd area | 
 | 21418 |    * how to use it (BSD variants)  */ | 
 | 21419 |  | 
 | 21420 | #include <fcntl.h> | 
 | 21421 | #include <sys/mman.h> | 
 | 21422 |  | 
 | 21423 | #if !STDC_HEADERS && !HAVE_STDLIB_H | 
 | 21424 | char *malloc (); | 
 | 21425 | #endif | 
 | 21426 |  | 
 | 21427 | /* This mess was copied from the GNU getpagesize.h.  */ | 
 | 21428 | #if !HAVE_GETPAGESIZE | 
 | 21429 | /* Assume that all systems that can run configure have sys/param.h.  */ | 
 | 21430 | # if !HAVE_SYS_PARAM_H | 
 | 21431 | #  define HAVE_SYS_PARAM_H 1 | 
 | 21432 | # endif | 
 | 21433 |  | 
 | 21434 | # ifdef _SC_PAGESIZE | 
 | 21435 | #  define getpagesize() sysconf(_SC_PAGESIZE) | 
 | 21436 | # else /* no _SC_PAGESIZE */ | 
 | 21437 | #  if HAVE_SYS_PARAM_H | 
 | 21438 | #   include <sys/param.h> | 
 | 21439 | #   ifdef EXEC_PAGESIZE | 
 | 21440 | #    define getpagesize() EXEC_PAGESIZE | 
 | 21441 | #   else /* no EXEC_PAGESIZE */ | 
 | 21442 | #    ifdef NBPG | 
 | 21443 | #     define getpagesize() NBPG * CLSIZE | 
 | 21444 | #     ifndef CLSIZE | 
 | 21445 | #      define CLSIZE 1 | 
 | 21446 | #     endif /* no CLSIZE */ | 
 | 21447 | #    else /* no NBPG */ | 
 | 21448 | #     ifdef NBPC | 
 | 21449 | #      define getpagesize() NBPC | 
 | 21450 | #     else /* no NBPC */ | 
 | 21451 | #      ifdef PAGESIZE | 
 | 21452 | #       define getpagesize() PAGESIZE | 
 | 21453 | #      endif /* PAGESIZE */ | 
 | 21454 | #     endif /* no NBPC */ | 
 | 21455 | #    endif /* no NBPG */ | 
 | 21456 | #   endif /* no EXEC_PAGESIZE */ | 
 | 21457 | #  else /* no HAVE_SYS_PARAM_H */ | 
 | 21458 | #   define getpagesize() 8192	/* punt totally */ | 
 | 21459 | #  endif /* no HAVE_SYS_PARAM_H */ | 
 | 21460 | # endif /* no _SC_PAGESIZE */ | 
 | 21461 |  | 
 | 21462 | #endif /* no HAVE_GETPAGESIZE */ | 
 | 21463 |  | 
 | 21464 | int | 
 | 21465 | main () | 
 | 21466 | { | 
 | 21467 |   char *data, *data2, *data3; | 
 | 21468 |   int i, pagesize; | 
 | 21469 |   int fd; | 
 | 21470 |  | 
 | 21471 |   pagesize = getpagesize (); | 
 | 21472 |  | 
 | 21473 |   /* First, make a file with some known garbage in it. */ | 
 | 21474 |   data = (char *) malloc (pagesize); | 
 | 21475 |   if (!data) | 
 | 21476 |     exit (1); | 
 | 21477 |   for (i = 0; i < pagesize; ++i) | 
 | 21478 |     *(data + i) = rand (); | 
 | 21479 |   umask (0); | 
 | 21480 |   fd = creat ("conftest.mmap", 0600); | 
 | 21481 |   if (fd < 0) | 
 | 21482 |     exit (1); | 
 | 21483 |   if (write (fd, data, pagesize) != pagesize) | 
 | 21484 |     exit (1); | 
 | 21485 |   close (fd); | 
 | 21486 |  | 
 | 21487 |   /* Next, try to mmap the file at a fixed address which already has | 
 | 21488 |      something else allocated at it.  If we can, also make sure that | 
 | 21489 |      we see the same garbage.  */ | 
 | 21490 |   fd = open ("conftest.mmap", O_RDWR); | 
 | 21491 |   if (fd < 0) | 
 | 21492 |     exit (1); | 
 | 21493 |   data2 = (char *) malloc (2 * pagesize); | 
 | 21494 |   if (!data2) | 
 | 21495 |     exit (1); | 
 | 21496 |   data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); | 
 | 21497 |   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 
 | 21498 |                      MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 
 | 21499 |     exit (1); | 
 | 21500 |   for (i = 0; i < pagesize; ++i) | 
 | 21501 |     if (*(data + i) != *(data2 + i)) | 
 | 21502 |       exit (1); | 
 | 21503 |  | 
 | 21504 |   /* Finally, make sure that changes to the mapped area do not | 
 | 21505 |      percolate back to the file as seen by read().  (This is a bug on | 
 | 21506 |      some variants of i386 svr4.0.)  */ | 
 | 21507 |   for (i = 0; i < pagesize; ++i) | 
 | 21508 |     *(data2 + i) = *(data2 + i) + 1; | 
 | 21509 |   data3 = (char *) malloc (pagesize); | 
 | 21510 |   if (!data3) | 
 | 21511 |     exit (1); | 
 | 21512 |   if (read (fd, data3, pagesize) != pagesize) | 
 | 21513 |     exit (1); | 
 | 21514 |   for (i = 0; i < pagesize; ++i) | 
 | 21515 |     if (*(data + i) != *(data3 + i)) | 
 | 21516 |       exit (1); | 
 | 21517 |   close (fd); | 
 | 21518 |   exit (0); | 
 | 21519 | } | 
 | 21520 | _ACEOF | 
 | 21521 | rm -f conftest$ac_exeext | 
 | 21522 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21523 |   (eval $ac_link) 2>&5 | 
 | 21524 |   ac_status=$? | 
 | 21525 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21526 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 21527 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21528 |   (eval $ac_try) 2>&5 | 
 | 21529 |   ac_status=$? | 
 | 21530 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21531 |   (exit $ac_status); }; }; then | 
 | 21532 |   ac_cv_func_mmap_fixed_mapped=yes | 
 | 21533 | else | 
 | 21534 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 21535 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21536 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21537 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21538 | ( exit $ac_status ) | 
 | 21539 | ac_cv_func_mmap_fixed_mapped=no | 
 | 21540 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21541 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21542 | fi | 
 | 21543 | fi | 
 | 21544 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 
 | 21545 | echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 | 
 | 21546 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | 
 | 21547 |  | 
 | 21548 | cat >>confdefs.h <<\_ACEOF | 
 | 21549 | #define HAVE_MMAP 1 | 
 | 21550 | _ACEOF | 
 | 21551 |  | 
 | 21552 | fi | 
 | 21553 | rm -f conftest.mmap | 
 | 21554 |  | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 21555 | if test "$ac_cv_func_mmap_fixed_mapped" = "no" | 
 | 21556 | then | 
| John Criswell | f3ecf3a | 2004-05-27 00:57:50 +0000 | [diff] [blame] | 21557 | 	{ echo "$as_me:$LINENO: WARNING: mmap() required but not found" >&5 | 
 | 21558 | echo "$as_me: WARNING: mmap() required but not found" >&2;} | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 21559 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21560 | echo "$as_me:$LINENO: checking for mmap of files" >&5 | 
 | 21561 | echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6 | 
 | 21562 | if test "${ac_cv_func_mmap_file+set}" = set; then | 
 | 21563 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21564 | else | 
 | 21565 |  | 
 | 21566 |  | 
 | 21567 |   ac_ext=c | 
 | 21568 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21569 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21570 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21571 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21572 |  | 
 | 21573 |   if test "$cross_compiling" = yes; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21574 |   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 
 | 21575 | See \`config.log' for more details." >&5 | 
 | 21576 | echo "$as_me: error: cannot run test program while cross compiling | 
 | 21577 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21578 |    { (exit 1); exit 1; }; } | 
 | 21579 | else | 
 | 21580 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21581 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21582 | /* confdefs.h.  */ | 
 | 21583 | _ACEOF | 
 | 21584 | cat confdefs.h >>conftest.$ac_ext | 
 | 21585 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21586 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21587 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21588 | #ifdef HAVE_SYS_TYPES_H | 
 | 21589 | #include <sys/types.h> | 
 | 21590 | #endif | 
 | 21591 |  | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 21592 | #ifdef HAVE_SYS_MMAN_H | 
 | 21593 | #include <sys/mman.h> | 
 | 21594 | #endif | 
 | 21595 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21596 | #ifdef HAVE_FCNTL_H | 
 | 21597 | #include <fcntl.h> | 
 | 21598 | #endif | 
 | 21599 |  | 
 | 21600 |   int fd; | 
 | 21601 |   int main () { | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 21602 |   fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != (int) MAP_FAILED);} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21603 | _ACEOF | 
 | 21604 | rm -f conftest$ac_exeext | 
 | 21605 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21606 |   (eval $ac_link) 2>&5 | 
 | 21607 |   ac_status=$? | 
 | 21608 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21609 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 21610 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21611 |   (eval $ac_try) 2>&5 | 
 | 21612 |   ac_status=$? | 
 | 21613 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21614 |   (exit $ac_status); }; }; then | 
 | 21615 |   ac_cv_func_mmap_file=yes | 
 | 21616 | else | 
 | 21617 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 21618 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21619 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21620 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21621 | ( exit $ac_status ) | 
 | 21622 | ac_cv_func_mmap_file=no | 
 | 21623 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21624 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21625 | fi | 
 | 21626 |   ac_ext=c | 
 | 21627 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21628 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21629 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21630 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21631 |  | 
 | 21632 |  | 
 | 21633 | fi | 
 | 21634 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5 | 
 | 21635 | echo "${ECHO_T}$ac_cv_func_mmap_file" >&6 | 
 | 21636 | if test "$ac_cv_func_mmap_file" = yes; then | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 21637 |  | 
 | 21638 | cat >>confdefs.h <<\_ACEOF | 
 | 21639 | #define HAVE_MMAP_FILE | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21640 | _ACEOF | 
 | 21641 |  | 
 | 21642 |    MMAP_FILE=yes | 
 | 21643 |  | 
 | 21644 | fi | 
 | 21645 |  | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 21646 | if test "$ac_cv_func_mmap_file" = "no" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21647 | then | 
| John Criswell | f3ecf3a | 2004-05-27 00:57:50 +0000 | [diff] [blame] | 21648 | 	{ echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5 | 
 | 21649 | echo "$as_me: WARNING: mmap() of files required but not found" >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21650 | fi | 
 | 21651 | echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5 | 
 | 21652 | echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6 | 
 | 21653 | if test "${ac_cv_header_mmap_anon+set}" = set; then | 
 | 21654 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21655 | else | 
 | 21656 |  | 
 | 21657 |  | 
 | 21658 |   ac_ext=c | 
 | 21659 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21660 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21661 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21662 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21663 |  | 
 | 21664 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21665 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21666 | /* confdefs.h.  */ | 
 | 21667 | _ACEOF | 
 | 21668 | cat confdefs.h >>conftest.$ac_ext | 
 | 21669 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21670 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21671 | #include <sys/mman.h> | 
 | 21672 |   #include <unistd.h> | 
 | 21673 |   #include <fcntl.h> | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21674 | int | 
 | 21675 | main () | 
 | 21676 | { | 
 | 21677 | mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0); | 
 | 21678 |   ; | 
 | 21679 |   return 0; | 
 | 21680 | } | 
 | 21681 | _ACEOF | 
 | 21682 | rm -f conftest.$ac_objext | 
 | 21683 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21684 |   (eval $ac_compile) 2>&5 | 
 | 21685 |   ac_status=$? | 
 | 21686 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21687 |   (exit $ac_status); } && | 
 | 21688 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21689 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21690 |   (eval $ac_try) 2>&5 | 
 | 21691 |   ac_status=$? | 
 | 21692 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21693 |   (exit $ac_status); }; }; then | 
 | 21694 |   ac_cv_header_mmap_anon=yes | 
 | 21695 | else | 
 | 21696 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21697 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21698 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21699 | ac_cv_header_mmap_anon=no | 
 | 21700 | fi | 
 | 21701 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21702 |   ac_ext=c | 
 | 21703 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21704 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21705 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21706 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21707 |  | 
 | 21708 |  | 
 | 21709 | fi | 
 | 21710 | echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5 | 
 | 21711 | echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6 | 
 | 21712 | if test "$ac_cv_header_mmap_anon" = yes; then | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 21713 |  | 
 | 21714 | cat >>confdefs.h <<\_ACEOF | 
 | 21715 | #define HAVE_MMAP_ANONYMOUS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21716 | _ACEOF | 
 | 21717 |  | 
 | 21718 | fi | 
 | 21719 |  | 
 | 21720 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | 
 | 21721 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 | 
 | 21722 | if test "${ac_cv_type_signal+set}" = set; then | 
 | 21723 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21724 | else | 
 | 21725 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21726 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21727 | /* confdefs.h.  */ | 
 | 21728 | _ACEOF | 
 | 21729 | cat confdefs.h >>conftest.$ac_ext | 
 | 21730 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21731 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21732 | #include <sys/types.h> | 
 | 21733 | #include <signal.h> | 
 | 21734 | #ifdef signal | 
 | 21735 | # undef signal | 
 | 21736 | #endif | 
 | 21737 | #ifdef __cplusplus | 
 | 21738 | extern "C" void (*signal (int, void (*)(int)))(int); | 
 | 21739 | #else | 
 | 21740 | void (*signal ()) (); | 
 | 21741 | #endif | 
 | 21742 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21743 | int | 
 | 21744 | main () | 
 | 21745 | { | 
 | 21746 | int i; | 
 | 21747 |   ; | 
 | 21748 |   return 0; | 
 | 21749 | } | 
 | 21750 | _ACEOF | 
 | 21751 | rm -f conftest.$ac_objext | 
 | 21752 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21753 |   (eval $ac_compile) 2>&5 | 
 | 21754 |   ac_status=$? | 
 | 21755 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21756 |   (exit $ac_status); } && | 
 | 21757 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21758 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21759 |   (eval $ac_try) 2>&5 | 
 | 21760 |   ac_status=$? | 
 | 21761 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21762 |   (exit $ac_status); }; }; then | 
 | 21763 |   ac_cv_type_signal=void | 
 | 21764 | else | 
 | 21765 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21766 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21767 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21768 | ac_cv_type_signal=int | 
 | 21769 | fi | 
 | 21770 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21771 | fi | 
 | 21772 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 
 | 21773 | echo "${ECHO_T}$ac_cv_type_signal" >&6 | 
 | 21774 |  | 
 | 21775 | cat >>confdefs.h <<_ACEOF | 
 | 21776 | #define RETSIGTYPE $ac_cv_type_signal | 
 | 21777 | _ACEOF | 
 | 21778 |  | 
 | 21779 |  | 
 | 21780 |  | 
 | 21781 |  | 
 | 21782 |  | 
 | 21783 |  | 
 | 21784 |  | 
| Brian Gaeke | f526147 | 2004-02-20 06:40:57 +0000 | [diff] [blame] | 21785 |  | 
| Brian Gaeke | 9a08b5e | 2004-04-02 21:26:02 +0000 | [diff] [blame] | 21786 |  | 
| John Criswell | d662156 | 2004-06-07 14:26:24 +0000 | [diff] [blame] | 21787 |  | 
 | 21788 |  | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 21789 |  | 
 | 21790 | for ac_func in getcwd gettimeofday strdup strtoq strtoll backtrace isatty mkstemp getrusage isnan | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21791 | do | 
 | 21792 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 21793 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 21794 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 21795 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 21796 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21797 | else | 
 | 21798 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21799 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21800 | /* confdefs.h.  */ | 
 | 21801 | _ACEOF | 
 | 21802 | cat confdefs.h >>conftest.$ac_ext | 
 | 21803 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21804 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21805 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21806 |     which can conflict with char $ac_func (); below. | 
 | 21807 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 21808 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 21809 | #ifdef __STDC__ | 
 | 21810 | # include <limits.h> | 
 | 21811 | #else | 
 | 21812 | # include <assert.h> | 
 | 21813 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21814 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 21815 | #ifdef __cplusplus | 
 | 21816 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21817 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21818 | #endif | 
 | 21819 | /* We use char because int might match the return type of a gcc2 | 
 | 21820 |    builtin and then its argument prototype would still apply.  */ | 
 | 21821 | char $ac_func (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21822 | /* The GNU C library defines this for functions which it implements | 
 | 21823 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 21824 |     something starting with __ and the normal name is an alias.  */ | 
 | 21825 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 21826 | choke me | 
 | 21827 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21828 | char (*f) () = $ac_func; | 
 | 21829 | #endif | 
 | 21830 | #ifdef __cplusplus | 
 | 21831 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21832 | #endif | 
 | 21833 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21834 | int | 
 | 21835 | main () | 
 | 21836 | { | 
 | 21837 | return f != $ac_func; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21838 |   ; | 
 | 21839 |   return 0; | 
 | 21840 | } | 
 | 21841 | _ACEOF | 
 | 21842 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 21843 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21844 |   (eval $ac_link) 2>&5 | 
 | 21845 |   ac_status=$? | 
 | 21846 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21847 |   (exit $ac_status); } && | 
 | 21848 |          { ac_try='test -s conftest$ac_exeext' | 
 | 21849 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21850 |   (eval $ac_try) 2>&5 | 
 | 21851 |   ac_status=$? | 
 | 21852 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21853 |   (exit $ac_status); }; }; then | 
 | 21854 |   eval "$as_ac_var=yes" | 
 | 21855 | else | 
 | 21856 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21857 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21858 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21859 | eval "$as_ac_var=no" | 
 | 21860 | fi | 
 | 21861 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 21862 | fi | 
 | 21863 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 21864 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 21865 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 21866 |   cat >>confdefs.h <<_ACEOF | 
 | 21867 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
 | 21868 | _ACEOF | 
 | 21869 |  | 
 | 21870 | fi | 
 | 21871 | done | 
 | 21872 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21873 | echo "$as_me:$LINENO: checking for mprotect" >&5 | 
 | 21874 | echo $ECHO_N "checking for mprotect... $ECHO_C" >&6 | 
 | 21875 | if test "${ac_cv_func_mprotect+set}" = set; then | 
 | 21876 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21877 | else | 
 | 21878 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21879 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21880 | /* confdefs.h.  */ | 
 | 21881 | _ACEOF | 
 | 21882 | cat confdefs.h >>conftest.$ac_ext | 
 | 21883 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21884 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21885 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21886 |     which can conflict with char mprotect (); below. | 
 | 21887 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 21888 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 21889 | #ifdef __STDC__ | 
 | 21890 | # include <limits.h> | 
 | 21891 | #else | 
 | 21892 | # include <assert.h> | 
 | 21893 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21894 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 21895 | #ifdef __cplusplus | 
 | 21896 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21897 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21898 | #endif | 
 | 21899 | /* We use char because int might match the return type of a gcc2 | 
 | 21900 |    builtin and then its argument prototype would still apply.  */ | 
 | 21901 | char mprotect (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21902 | /* The GNU C library defines this for functions which it implements | 
 | 21903 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 21904 |     something starting with __ and the normal name is an alias.  */ | 
 | 21905 | #if defined (__stub_mprotect) || defined (__stub___mprotect) | 
 | 21906 | choke me | 
 | 21907 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21908 | char (*f) () = mprotect; | 
 | 21909 | #endif | 
 | 21910 | #ifdef __cplusplus | 
 | 21911 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21912 | #endif | 
 | 21913 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21914 | int | 
 | 21915 | main () | 
 | 21916 | { | 
 | 21917 | return f != mprotect; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21918 |   ; | 
 | 21919 |   return 0; | 
 | 21920 | } | 
 | 21921 | _ACEOF | 
 | 21922 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 21923 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21924 |   (eval $ac_link) 2>&5 | 
 | 21925 |   ac_status=$? | 
 | 21926 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21927 |   (exit $ac_status); } && | 
 | 21928 |          { ac_try='test -s conftest$ac_exeext' | 
 | 21929 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21930 |   (eval $ac_try) 2>&5 | 
 | 21931 |   ac_status=$? | 
 | 21932 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21933 |   (exit $ac_status); }; }; then | 
 | 21934 |   ac_cv_func_mprotect=yes | 
 | 21935 | else | 
 | 21936 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21937 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21938 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21939 | ac_cv_func_mprotect=no | 
 | 21940 | fi | 
 | 21941 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 21942 | fi | 
 | 21943 | echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5 | 
 | 21944 | echo "${ECHO_T}$ac_cv_func_mprotect" >&6 | 
 | 21945 | if test $ac_cv_func_mprotect = yes; then | 
 | 21946 |   : | 
 | 21947 | else | 
 | 21948 |   { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5 | 
 | 21949 | echo "$as_me: error: Function mprotect() required but not found" >&2;} | 
 | 21950 |    { (exit 1); exit 1; }; } | 
 | 21951 | fi | 
 | 21952 |  | 
 | 21953 |  | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 21954 |  | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 21955 |  | 
 | 21956 |  | 
 | 21957 |   ac_ext=c | 
 | 21958 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21959 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21960 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21961 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21962 |  | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame] | 21963 |   oldcflags="$CFLAGS" | 
 | 21964 |   CFLAGS="$CFLAGS -Wl,-R." | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 21965 |   cat >conftest.$ac_ext <<_ACEOF | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame] | 21966 | int main() { return 0; } | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 21967 | _ACEOF | 
 | 21968 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 21969 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21970 |   (eval $ac_link) 2>&5 | 
 | 21971 |   ac_status=$? | 
 | 21972 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21973 |   (exit $ac_status); } && | 
 | 21974 |          { ac_try='test -s conftest$ac_exeext' | 
 | 21975 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21976 |   (eval $ac_try) 2>&5 | 
 | 21977 |   ac_status=$? | 
 | 21978 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21979 |   (exit $ac_status); }; }; then | 
 | 21980 |   ac_cv_link_use_r=yes | 
 | 21981 | else | 
 | 21982 |   echo "$as_me: failed program was:" >&5 | 
 | 21983 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21984 |  | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame] | 21985 | ac_cv_link_use_r=no | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 21986 | fi | 
 | 21987 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame] | 21988 |   CFLAGS="$oldcflags" | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 21989 |   ac_ext=c | 
 | 21990 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21991 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21992 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21993 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21994 |  | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame] | 21995 |   if test "$ac_cv_link_use_r" = yes | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 21996 |   then | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame] | 21997 |  | 
 | 21998 | cat >>confdefs.h <<\_ACEOF | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 21999 | #define HAVE_LINK_R 1 | 
 | 22000 | _ACEOF | 
 | 22001 |  | 
 | 22002 |   fi | 
 | 22003 |  | 
 | 22004 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22005 | # Check whether --enable-optimized or --disable-optimized was given. | 
 | 22006 | if test "${enable_optimized+set}" = set; then | 
 | 22007 |   enableval="$enable_optimized" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22008 |  | 
 | 22009 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22010 |   enableval=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22011 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22012 | if test ${enableval} = "no" | 
 | 22013 | then | 
 | 22014 | 	ENABLE_OPTIMIZED= | 
 | 22015 |  | 
 | 22016 | else | 
 | 22017 | 	ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1 | 
 | 22018 |  | 
 | 22019 | fi | 
 | 22020 |  | 
| John Criswell | 5512659 | 2003-10-07 21:57:39 +0000 | [diff] [blame] | 22021 |  | 
 | 22022 |  | 
| John Criswell | 5512659 | 2003-10-07 21:57:39 +0000 | [diff] [blame] | 22023 |  | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22024 |  # Check whether --enable-spec95 or --disable-spec95 was given. | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22025 | if test "${enable_spec95+set}" = set; then | 
 | 22026 |   enableval="$enable_spec95" | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22027 |   checkresult=$enableval | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22028 | else | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22029 |   checkresult=auto | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22030 | fi; | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22031 | echo "$as_me:$LINENO: checking for spec95 benchmark sources" >&5 | 
 | 22032 | echo $ECHO_N "checking for spec95 benchmark sources... $ECHO_C" >&6 | 
 | 22033 | case "$checkresult" in | 
 | 22034 | auto|yes) | 
 | 22035 |     defaultdir=/home/vadve/shared/benchmarks/spec95/benchspec | 
 | 22036 | 	if test -d "$defaultdir" | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22037 | 	then | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22038 | 		SPEC95_ROOT=$defaultdir | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22039 |  | 
 | 22040 | 		USE_SPEC95=USE_SPEC95=1 | 
 | 22041 |  | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22042 |         checkresult="yes, found in $defaultdir" | 
 | 22043 |     else | 
 | 22044 |         checkresult=no | 
 | 22045 |     fi | 
 | 22046 |     ;; | 
 | 22047 | no) | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22048 |  | 
 | 22049 |  | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22050 |     checkresult=no | 
 | 22051 |     ;; | 
 | 22052 | *)  if test -d "$checkresult" | 
 | 22053 |     then | 
 | 22054 |         SPEC95_ROOT="$checkresult" | 
 | 22055 |  | 
 | 22056 |         USE_SPEC95=USE_SPEC95=1 | 
 | 22057 |  | 
 | 22058 |         checkresult="yes, in $checkresult" | 
 | 22059 |     else | 
 | 22060 |  | 
 | 22061 |  | 
 | 22062 |         checkresult="no, not found in $checkresult" | 
 | 22063 |     fi | 
 | 22064 |     ;; | 
 | 22065 | esac | 
 | 22066 | echo "$as_me:$LINENO: result: $checkresult" >&5 | 
 | 22067 | echo "${ECHO_T}$checkresult" >&6 | 
 | 22068 |  | 
 | 22069 |  | 
 | 22070 |  | 
 | 22071 |  # Check whether --enable-spec2000 or --disable-spec2000 was given. | 
 | 22072 | if test "${enable_spec2000+set}" = set; then | 
 | 22073 |   enableval="$enable_spec2000" | 
 | 22074 |   checkresult=$enableval | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22075 | else | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22076 |   checkresult=auto | 
 | 22077 | fi; | 
 | 22078 | echo "$as_me:$LINENO: checking for spec2000 benchmark sources" >&5 | 
 | 22079 | echo $ECHO_N "checking for spec2000 benchmark sources... $ECHO_C" >&6 | 
 | 22080 | case "$checkresult" in | 
 | 22081 | auto|yes) | 
 | 22082 |     defaultdir=/home/vadve/shared/benchmarks/speccpu2000/benchspec | 
 | 22083 | 	if test -d "$defaultdir" | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22084 | 	then | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22085 | 		SPEC2000_ROOT=$defaultdir | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22086 |  | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22087 | 		USE_SPEC2000=USE_SPEC2000=1 | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22088 |  | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22089 |         checkresult="yes, found in $defaultdir" | 
 | 22090 |     else | 
 | 22091 |         checkresult=no | 
 | 22092 |     fi | 
 | 22093 |     ;; | 
 | 22094 | no) | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22095 |  | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22096 |  | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22097 |     checkresult=no | 
 | 22098 |     ;; | 
 | 22099 | *)  if test -d "$checkresult" | 
 | 22100 |     then | 
 | 22101 |         SPEC2000_ROOT="$checkresult" | 
 | 22102 |  | 
 | 22103 |         USE_SPEC2000=USE_SPEC2000=1 | 
 | 22104 |  | 
 | 22105 |         checkresult="yes, in $checkresult" | 
 | 22106 |     else | 
 | 22107 |  | 
 | 22108 |  | 
 | 22109 |         checkresult="no, not found in $checkresult" | 
 | 22110 |     fi | 
 | 22111 |     ;; | 
 | 22112 | esac | 
 | 22113 | echo "$as_me:$LINENO: result: $checkresult" >&5 | 
 | 22114 | echo "${ECHO_T}$checkresult" >&6 | 
 | 22115 |  | 
 | 22116 |  | 
 | 22117 |  | 
 | 22118 |  # Check whether --enable-povray or --disable-povray was given. | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 22119 | if test "${enable_povray+set}" = set; then | 
 | 22120 |   enableval="$enable_povray" | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22121 |   checkresult=$enableval | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 22122 | else | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22123 |   checkresult=auto | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 22124 | fi; | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22125 | echo "$as_me:$LINENO: checking for povray benchmark sources" >&5 | 
 | 22126 | echo $ECHO_N "checking for povray benchmark sources... $ECHO_C" >&6 | 
 | 22127 | case "$checkresult" in | 
| Chris Lattner | 95f45c5 | 2004-04-14 16:32:09 +0000 | [diff] [blame] | 22128 | auto|yes) | 
| Brian Gaeke | f66cdf8 | 2004-04-13 19:03:49 +0000 | [diff] [blame] | 22129 |     defaultdir=/home/vadve/shared/benchmarks/povray31 | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22130 | 	if test -d "$defaultdir" | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 22131 | 	then | 
| Brian Gaeke | f66cdf8 | 2004-04-13 19:03:49 +0000 | [diff] [blame] | 22132 | 		POVRAY_ROOT=$defaultdir | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 22133 |  | 
 | 22134 | 		USE_POVRAY=USE_POVRAY=1 | 
 | 22135 |  | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22136 |         checkresult="yes, found in $defaultdir" | 
| Brian Gaeke | f66cdf8 | 2004-04-13 19:03:49 +0000 | [diff] [blame] | 22137 |     else | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22138 |         checkresult=no | 
| Brian Gaeke | f66cdf8 | 2004-04-13 19:03:49 +0000 | [diff] [blame] | 22139 |     fi | 
 | 22140 |     ;; | 
| Chris Lattner | 95f45c5 | 2004-04-14 16:32:09 +0000 | [diff] [blame] | 22141 | no) | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 22142 |  | 
 | 22143 |  | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22144 |     checkresult=no | 
| Brian Gaeke | f66cdf8 | 2004-04-13 19:03:49 +0000 | [diff] [blame] | 22145 |     ;; | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22146 | *)  if test -d "$checkresult" | 
| Brian Gaeke | f66cdf8 | 2004-04-13 19:03:49 +0000 | [diff] [blame] | 22147 |     then | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22148 |         POVRAY_ROOT="$checkresult" | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 22149 |  | 
| Brian Gaeke | f66cdf8 | 2004-04-13 19:03:49 +0000 | [diff] [blame] | 22150 |         USE_POVRAY=USE_POVRAY=1 | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 22151 |  | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22152 |         checkresult="yes, in $checkresult" | 
| Brian Gaeke | f66cdf8 | 2004-04-13 19:03:49 +0000 | [diff] [blame] | 22153 |     else | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 22154 |  | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 22155 |  | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22156 |         checkresult="no, not found in $checkresult" | 
| Brian Gaeke | f66cdf8 | 2004-04-13 19:03:49 +0000 | [diff] [blame] | 22157 |     fi | 
 | 22158 |     ;; | 
 | 22159 | esac | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 22160 | echo "$as_me:$LINENO: result: $checkresult" >&5 | 
 | 22161 | echo "${ECHO_T}$checkresult" >&6 | 
 | 22162 |  | 
 | 22163 |  | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 22164 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22165 | # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given. | 
 | 22166 | if test "${enable_precompiled_bytecode+set}" = set; then | 
 | 22167 |   enableval="$enable_precompiled_bytecode" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22168 |  | 
 | 22169 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22170 |   enableval=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22171 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22172 | if test ${enableval} = "no" | 
 | 22173 | then | 
 | 22174 | 	UPB= | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 22175 |  | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22176 | else | 
 | 22177 | 	UPB=USE_PRECOMPILED_BYTECODE=1 | 
 | 22178 |  | 
 | 22179 | fi | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 22180 |  | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 22181 | # Check whether --enable-llc_diffs or --disable-llc_diffs was given. | 
 | 22182 | if test "${enable_llc_diffs+set}" = set; then | 
 | 22183 |   enableval="$enable_llc_diffs" | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 22184 |  | 
 | 22185 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22186 |   enableval=yes | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 22187 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22188 | if test ${enableval} = "no" | 
 | 22189 | then | 
 | 22190 | 	DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1 | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 22191 |  | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22192 | else | 
 | 22193 | 	DISABLE_LLC_DIFFS= | 
 | 22194 |  | 
 | 22195 | fi | 
 | 22196 |  | 
 | 22197 | # Check whether --enable-jit or --disable-jit was given. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22198 | if test "${enable_jit+set}" = set; then | 
 | 22199 |   enableval="$enable_jit" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22200 |  | 
 | 22201 | else | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22202 |   enableval=default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22203 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22204 | if test ${enableval} = "no" | 
 | 22205 | then | 
 | 22206 | 	JIT= | 
 | 22207 |  | 
 | 22208 | else | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22209 | 	case $target in | 
 | 22210 | 		*i*86*) | 
 | 22211 | 			JIT=TARGET_HAS_JIT=1 | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22212 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22213 | 			;; | 
 | 22214 | 		*sparc*) | 
 | 22215 | 			JIT=TARGET_HAS_JIT=1 | 
 | 22216 |  | 
 | 22217 | 			;; | 
 | 22218 | 		*) | 
 | 22219 | 			JIT= | 
 | 22220 |  | 
 | 22221 | 			;; | 
 | 22222 | 	esac | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22223 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22224 |  | 
 | 22225 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22226 | # Check whether --with-llvmgccdir or --without-llvmgccdir was given. | 
 | 22227 | if test "${with_llvmgccdir+set}" = set; then | 
 | 22228 |   withval="$with_llvmgccdir" | 
 | 22229 |   LLVMGCCDIR=$withval | 
 | 22230 |  | 
 | 22231 | fi; | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 22232 | echo "$as_me:$LINENO: checking for llvm-gcc" >&5 | 
 | 22233 | echo $ECHO_N "checking for llvm-gcc... $ECHO_C" >&6 | 
 | 22234 | LLVM_GCC_CHECK=no | 
 | 22235 | if test -d "$LLVMGCCDIR" | 
 | 22236 | then | 
 | 22237 | 	if test -x "$LLVMGCCDIR/bin/gcc" | 
 | 22238 | 	then | 
 | 22239 | 		LLVM_GCC_CHECK="$LLVMGCCDIR/bin/gcc" | 
 | 22240 | 	fi | 
 | 22241 | fi | 
 | 22242 | llvmgccwarn=no | 
 | 22243 | echo "$as_me:$LINENO: result: $LLVM_GCC_CHECK" >&5 | 
 | 22244 | echo "${ECHO_T}$LLVM_GCC_CHECK" >&6 | 
 | 22245 | if test "$LLVM_GCC_CHECK" = "no" | 
 | 22246 | then | 
 | 22247 |     llvmgccwarn=yes | 
 | 22248 | fi | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 22249 | echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5 | 
 | 22250 | echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6 | 
 | 22251 | LLVM_GCC_SANE=no | 
 | 22252 | if test -x "$LLVM_GCC_CHECK" | 
 | 22253 | then | 
 | 22254 | 	cp /dev/null conftest.c | 
 | 22255 |     "$LLVM_GCC_CHECK" -S -o - conftest.c | grep implementation > /dev/null 2>&1 | 
 | 22256 | 	if test $? -eq 0 | 
 | 22257 | 	then | 
 | 22258 | 		LLVM_GCC_SANE=yes | 
 | 22259 | 	fi | 
 | 22260 | 	rm conftest.c | 
| Brian Gaeke | 2f50a04 | 2004-01-16 21:31:21 +0000 | [diff] [blame] | 22261 | 	llvmcc1path=`"$LLVM_GCC_CHECK" --print-prog-name=cc1` | 
| Brian Gaeke | 554831c | 2004-01-21 19:39:29 +0000 | [diff] [blame] | 22262 | 	LLVMCC1=$llvmcc1path | 
| Brian Gaeke | 2f50a04 | 2004-01-16 21:31:21 +0000 | [diff] [blame] | 22263 |  | 
 | 22264 | 	llvmcc1pluspath=`"$LLVM_GCC_CHECK" --print-prog-name=cc1plus` | 
| Brian Gaeke | 554831c | 2004-01-21 19:39:29 +0000 | [diff] [blame] | 22265 | 	LLVMCC1PLUS=$llvmcc1pluspath | 
| Brian Gaeke | 2f50a04 | 2004-01-16 21:31:21 +0000 | [diff] [blame] | 22266 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 22267 | fi | 
 | 22268 | echo "$as_me:$LINENO: result: $LLVM_GCC_SANE" >&5 | 
 | 22269 | echo "${ECHO_T}$LLVM_GCC_SANE" >&6 | 
 | 22270 | if test "$LLVM_GCC_SANE" = "no" | 
 | 22271 | then | 
 | 22272 | 	llvmgccwarn=yes | 
 | 22273 | fi | 
 | 22274 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22275 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22276 | # Check whether --with-bcrepos or --without-bcrepos was given. | 
 | 22277 | if test "${with_bcrepos+set}" = set; then | 
 | 22278 |   withval="$with_bcrepos" | 
 | 22279 |   BCR=$withval | 
 | 22280 |  | 
 | 22281 | else | 
 | 22282 |   BCR=/home/vadve/lattner/LLVMPrograms | 
 | 22283 |  | 
 | 22284 | fi; | 
 | 22285 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22286 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22287 | # Check whether --with-papi or --without-papi was given. | 
 | 22288 | if test "${with_papi+set}" = set; then | 
 | 22289 |   withval="$with_papi" | 
 | 22290 |   PAPIDIR=$withval | 
 | 22291 |  | 
 | 22292 | else | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 22293 |   PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22294 |  | 
 | 22295 | fi; | 
 | 22296 |  | 
| Brian Gaeke | 554831c | 2004-01-21 19:39:29 +0000 | [diff] [blame] | 22297 | echo "$as_me:$LINENO: checking for shared library suffix" >&5 | 
 | 22298 | echo $ECHO_N "checking for shared library suffix... $ECHO_C" >&6 | 
 | 22299 | eval "SHLIBEXT=$shrext" | 
 | 22300 | echo "$as_me:$LINENO: result: $SHLIBEXT" >&5 | 
 | 22301 | echo "${ECHO_T}$SHLIBEXT" >&6 | 
 | 22302 | SHLIBEXT=$SHLIBEXT | 
 | 22303 |  | 
 | 22304 |  | 
 | 22305 | cat >>confdefs.h <<_ACEOF | 
 | 22306 | #define SHLIBEXT "$SHLIBEXT" | 
 | 22307 | _ACEOF | 
 | 22308 |  | 
 | 22309 |  | 
| Brian Gaeke | 6c3fd81 | 2004-02-23 22:07:00 +0000 | [diff] [blame] | 22310 |                                                             ac_config_files="$ac_config_files Makefile.config include/Support/DataTypes.h include/Support/ThreadSupport.h include/Support/hash_map include/Support/hash_set include/Support/iterator" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22311 | cat >confcache <<\_ACEOF | 
 | 22312 | # This file is a shell script that caches the results of configure | 
 | 22313 | # tests run on this system so they can be shared between configure | 
 | 22314 | # scripts and configure runs, see configure's option --config-cache. | 
 | 22315 | # It is not useful on other systems.  If it contains results you don't | 
 | 22316 | # want to keep, you may remove or edit it. | 
 | 22317 | # | 
 | 22318 | # config.status only pays attention to the cache file if you give it | 
 | 22319 | # the --recheck option to rerun configure. | 
 | 22320 | # | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22321 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22322 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
 | 22323 | # following values. | 
 | 22324 |  | 
 | 22325 | _ACEOF | 
 | 22326 |  | 
 | 22327 | # The following way of writing the cache mishandles newlines in values, | 
 | 22328 | # but we know of no workaround that is simple, portable, and efficient. | 
 | 22329 | # So, don't put newlines in cache variables' values. | 
 | 22330 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
 | 22331 | # and sets the high bit in the cache file unless we assign to the vars. | 
 | 22332 | { | 
 | 22333 |   (set) 2>&1 | | 
 | 22334 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
 | 22335 |     *ac_space=\ *) | 
 | 22336 |       # `set' does not quote correctly, so add quotes (double-quote | 
 | 22337 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
 | 22338 |       sed -n \ | 
 | 22339 |         "s/'/'\\\\''/g; | 
 | 22340 |     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
 | 22341 |       ;; | 
 | 22342 |     *) | 
 | 22343 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
 | 22344 |       sed -n \ | 
 | 22345 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
 | 22346 |       ;; | 
 | 22347 |     esac; | 
 | 22348 | } | | 
 | 22349 |   sed ' | 
 | 22350 |      t clear | 
 | 22351 |      : clear | 
 | 22352 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
 | 22353 |      t end | 
 | 22354 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
 | 22355 |      : end' >>confcache | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22356 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22357 |   if test -w $cache_file; then | 
 | 22358 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
 | 22359 |     cat confcache >$cache_file | 
 | 22360 |   else | 
 | 22361 |     echo "not updating unwritable cache $cache_file" | 
 | 22362 |   fi | 
 | 22363 | fi | 
 | 22364 | rm -f confcache | 
 | 22365 |  | 
 | 22366 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
 | 22367 | # Let make expand exec_prefix. | 
 | 22368 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
 | 22369 |  | 
 | 22370 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
 | 22371 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
 | 22372 | # trailing colons and then remove the whole line if VPATH becomes empty | 
 | 22373 | # (actually we leave an empty line to preserve line numbers). | 
 | 22374 | if test "x$srcdir" = x.; then | 
 | 22375 |   ac_vpsub='/^[ 	]*VPATH[ 	]*=/{ | 
 | 22376 | s/:*\$(srcdir):*/:/; | 
 | 22377 | s/:*\${srcdir}:*/:/; | 
 | 22378 | s/:*@srcdir@:*/:/; | 
 | 22379 | s/^\([^=]*=[ 	]*\):*/\1/; | 
 | 22380 | s/:*$//; | 
 | 22381 | s/^[^=]*=[ 	]*$//; | 
 | 22382 | }' | 
 | 22383 | fi | 
 | 22384 |  | 
 | 22385 | DEFS=-DHAVE_CONFIG_H | 
 | 22386 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22387 | ac_libobjs= | 
 | 22388 | ac_ltlibobjs= | 
 | 22389 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
 | 22390 |   # 1. Remove the extension, and $U if already installed. | 
 | 22391 |   ac_i=`echo "$ac_i" | | 
 | 22392 |          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 
 | 22393 |   # 2. Add them. | 
 | 22394 |   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 
 | 22395 |   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 
 | 22396 | done | 
 | 22397 | LIBOBJS=$ac_libobjs | 
 | 22398 |  | 
 | 22399 | LTLIBOBJS=$ac_ltlibobjs | 
 | 22400 |  | 
 | 22401 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22402 |  | 
 | 22403 | : ${CONFIG_STATUS=./config.status} | 
 | 22404 | ac_clean_files_save=$ac_clean_files | 
 | 22405 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
 | 22406 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
 | 22407 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
 | 22408 | cat >$CONFIG_STATUS <<_ACEOF | 
 | 22409 | #! $SHELL | 
 | 22410 | # Generated by $as_me. | 
 | 22411 | # Run this file to recreate the current configuration. | 
 | 22412 | # Compiler output produced by configure, useful for debugging | 
 | 22413 | # configure, is in config.log if it exists. | 
 | 22414 |  | 
 | 22415 | debug=false | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22416 | ac_cs_recheck=false | 
 | 22417 | ac_cs_silent=false | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22418 | SHELL=\${CONFIG_SHELL-$SHELL} | 
 | 22419 | _ACEOF | 
 | 22420 |  | 
 | 22421 | cat >>$CONFIG_STATUS <<\_ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22422 | ## --------------------- ## | 
 | 22423 | ## M4sh Initialization.  ## | 
 | 22424 | ## --------------------- ## | 
 | 22425 |  | 
 | 22426 | # Be Bourne compatible | 
 | 22427 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
 | 22428 |   emulate sh | 
 | 22429 |   NULLCMD=: | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22430 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
 | 22431 |   # is contrary to our usage.  Disable this feature. | 
 | 22432 |   alias -g '${1+"$@"}'='"$@"' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22433 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
 | 22434 |   set -o posix | 
 | 22435 | fi | 
 | 22436 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22437 | # Support unset when possible. | 
 | 22438 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
 | 22439 |   as_unset=unset | 
 | 22440 | else | 
 | 22441 |   as_unset=false | 
 | 22442 | fi | 
 | 22443 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22444 |  | 
 | 22445 | # Work around bugs in pre-3.0 UWIN ksh. | 
 | 22446 | $as_unset ENV MAIL MAILPATH | 
 | 22447 | PS1='$ ' | 
 | 22448 | PS2='> ' | 
 | 22449 | PS4='+ ' | 
 | 22450 |  | 
 | 22451 | # NLS nuisances. | 
 | 22452 | for as_var in \ | 
 | 22453 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
 | 22454 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
 | 22455 |   LC_TELEPHONE LC_TIME | 
 | 22456 | do | 
 | 22457 |   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
 | 22458 |     eval $as_var=C; export $as_var | 
 | 22459 |   else | 
 | 22460 |     $as_unset $as_var | 
 | 22461 |   fi | 
 | 22462 | done | 
 | 22463 |  | 
 | 22464 | # Required to use basename. | 
 | 22465 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 22466 |   as_expr=expr | 
 | 22467 | else | 
 | 22468 |   as_expr=false | 
 | 22469 | fi | 
 | 22470 |  | 
 | 22471 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
 | 22472 |   as_basename=basename | 
 | 22473 | else | 
 | 22474 |   as_basename=false | 
 | 22475 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22476 |  | 
 | 22477 |  | 
 | 22478 | # Name of the executable. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22479 | as_me=`$as_basename "$0" || | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22480 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
 | 22481 | 	 X"$0" : 'X\(//\)$' \| \ | 
 | 22482 | 	 X"$0" : 'X\(/\)$' \| \ | 
 | 22483 | 	 .     : '\(.\)' 2>/dev/null || | 
 | 22484 | echo X/"$0" | | 
 | 22485 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
 | 22486 |   	  /^X\/\(\/\/\)$/{ s//\1/; q; } | 
 | 22487 |   	  /^X\/\(\/\).*/{ s//\1/; q; } | 
 | 22488 |   	  s/.*/./; q'` | 
 | 22489 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22490 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22491 | # PATH needs CR, and LINENO needs CR and PATH. | 
 | 22492 | # Avoid depending upon Character Ranges. | 
 | 22493 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
 | 22494 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
 | 22495 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
 | 22496 | as_cr_digits='0123456789' | 
 | 22497 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
 | 22498 |  | 
 | 22499 | # The user is always right. | 
 | 22500 | if test "${PATH_SEPARATOR+set}" != set; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22501 |   echo "#! /bin/sh" >conf$$.sh | 
 | 22502 |   echo  "exit 0"   >>conf$$.sh | 
 | 22503 |   chmod +x conf$$.sh | 
 | 22504 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22505 |     PATH_SEPARATOR=';' | 
 | 22506 |   else | 
 | 22507 |     PATH_SEPARATOR=: | 
 | 22508 |   fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22509 |   rm -f conf$$.sh | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22510 | fi | 
 | 22511 |  | 
 | 22512 |  | 
 | 22513 |   as_lineno_1=$LINENO | 
 | 22514 |   as_lineno_2=$LINENO | 
 | 22515 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 22516 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 22517 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
 | 22518 |   # Find who we are.  Look in the path if we contain no path at all | 
 | 22519 |   # relative or not. | 
 | 22520 |   case $0 in | 
 | 22521 |     *[\\/]* ) as_myself=$0 ;; | 
 | 22522 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 22523 | for as_dir in $PATH | 
 | 22524 | do | 
 | 22525 |   IFS=$as_save_IFS | 
 | 22526 |   test -z "$as_dir" && as_dir=. | 
 | 22527 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
 | 22528 | done | 
 | 22529 |  | 
 | 22530 |        ;; | 
 | 22531 |   esac | 
 | 22532 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
 | 22533 |   # in which case we are not to be found in the path. | 
 | 22534 |   if test "x$as_myself" = x; then | 
 | 22535 |     as_myself=$0 | 
 | 22536 |   fi | 
 | 22537 |   if test ! -f "$as_myself"; then | 
 | 22538 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
 | 22539 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
 | 22540 |    { (exit 1); exit 1; }; } | 
 | 22541 |   fi | 
 | 22542 |   case $CONFIG_SHELL in | 
 | 22543 |   '') | 
 | 22544 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 22545 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
 | 22546 | do | 
 | 22547 |   IFS=$as_save_IFS | 
 | 22548 |   test -z "$as_dir" && as_dir=. | 
 | 22549 |   for as_base in sh bash ksh sh5; do | 
 | 22550 | 	 case $as_dir in | 
 | 22551 | 	 /*) | 
 | 22552 | 	   if ("$as_dir/$as_base" -c ' | 
 | 22553 |   as_lineno_1=$LINENO | 
 | 22554 |   as_lineno_2=$LINENO | 
 | 22555 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 22556 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 22557 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22558 | 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
 | 22559 | 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22560 | 	     CONFIG_SHELL=$as_dir/$as_base | 
 | 22561 | 	     export CONFIG_SHELL | 
 | 22562 | 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
 | 22563 | 	   fi;; | 
 | 22564 | 	 esac | 
 | 22565 |        done | 
 | 22566 | done | 
 | 22567 | ;; | 
 | 22568 |   esac | 
 | 22569 |  | 
 | 22570 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
 | 22571 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
 | 22572 |   # line-number line before each line; the second 'sed' does the real | 
 | 22573 |   # work.  The second script uses 'N' to pair each line-number line | 
 | 22574 |   # with the numbered line, and appends trailing '-' during | 
 | 22575 |   # substitution so that $LINENO is not a special case at line end. | 
 | 22576 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
 | 22577 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
 | 22578 |   sed '=' <$as_myself | | 
 | 22579 |     sed ' | 
 | 22580 |       N | 
 | 22581 |       s,$,-, | 
 | 22582 |       : loop | 
 | 22583 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
 | 22584 |       t loop | 
 | 22585 |       s,-$,, | 
 | 22586 |       s,^['$as_cr_digits']*\n,, | 
 | 22587 |     ' >$as_me.lineno && | 
 | 22588 |   chmod +x $as_me.lineno || | 
 | 22589 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
 | 22590 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
 | 22591 |    { (exit 1); exit 1; }; } | 
 | 22592 |  | 
 | 22593 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
 | 22594 |   # (the dirname of $[0] is not the place where we might find the | 
 | 22595 |   # original and so on.  Autoconf is especially sensible to this). | 
 | 22596 |   . ./$as_me.lineno | 
 | 22597 |   # Exit status is that of the last command. | 
 | 22598 |   exit | 
 | 22599 | } | 
 | 22600 |  | 
 | 22601 |  | 
 | 22602 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
 | 22603 |   *c*,-n*) ECHO_N= ECHO_C=' | 
 | 22604 | ' ECHO_T='	' ;; | 
 | 22605 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
 | 22606 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
 | 22607 | esac | 
 | 22608 |  | 
 | 22609 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 22610 |   as_expr=expr | 
 | 22611 | else | 
 | 22612 |   as_expr=false | 
 | 22613 | fi | 
 | 22614 |  | 
 | 22615 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 22616 | echo >conf$$.file | 
 | 22617 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
 | 22618 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
 | 22619 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
 | 22620 |   if test -f conf$$.exe; then | 
 | 22621 |     # Don't use ln at all; we don't have any links | 
 | 22622 |     as_ln_s='cp -p' | 
 | 22623 |   else | 
 | 22624 |     as_ln_s='ln -s' | 
 | 22625 |   fi | 
 | 22626 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
 | 22627 |   as_ln_s=ln | 
 | 22628 | else | 
 | 22629 |   as_ln_s='cp -p' | 
 | 22630 | fi | 
 | 22631 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 22632 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22633 | if mkdir -p . 2>/dev/null; then | 
 | 22634 |   as_mkdir_p=: | 
 | 22635 | else | 
 | 22636 |   as_mkdir_p=false | 
 | 22637 | fi | 
 | 22638 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22639 | as_executable_p="test -f" | 
 | 22640 |  | 
 | 22641 | # Sed expression to map a string onto a valid CPP name. | 
 | 22642 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 
 | 22643 |  | 
 | 22644 | # Sed expression to map a string onto a valid variable name. | 
 | 22645 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 
 | 22646 |  | 
 | 22647 |  | 
 | 22648 | # IFS | 
 | 22649 | # We need space, tab and new line, in precisely that order. | 
 | 22650 | as_nl=' | 
 | 22651 | ' | 
 | 22652 | IFS=" 	$as_nl" | 
 | 22653 |  | 
 | 22654 | # CDPATH. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22655 | $as_unset CDPATH | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22656 |  | 
 | 22657 | exec 6>&1 | 
 | 22658 |  | 
 | 22659 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
 | 22660 | # report actual input values of CONFIG_FILES etc. instead of their | 
 | 22661 | # values after options handling.  Logging --version etc. is OK. | 
 | 22662 | exec 5>>config.log | 
 | 22663 | { | 
 | 22664 |   echo | 
 | 22665 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
 | 22666 | ## Running $as_me. ## | 
 | 22667 | _ASBOX | 
 | 22668 | } >&5 | 
 | 22669 | cat >&5 <<_CSEOF | 
 | 22670 |  | 
| Chris Lattner | 95f45c5 | 2004-04-14 16:32:09 +0000 | [diff] [blame] | 22671 | This file was extended by [LLVM] $as_me [1.3], which was | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22672 | generated by GNU Autoconf 2.57.  Invocation command line was | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22673 |  | 
 | 22674 |   CONFIG_FILES    = $CONFIG_FILES | 
 | 22675 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
 | 22676 |   CONFIG_LINKS    = $CONFIG_LINKS | 
 | 22677 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
 | 22678 |   $ $0 $@ | 
 | 22679 |  | 
 | 22680 | _CSEOF | 
 | 22681 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
 | 22682 | echo >&5 | 
 | 22683 | _ACEOF | 
 | 22684 |  | 
 | 22685 | # Files that config.status was made for. | 
 | 22686 | if test -n "$ac_config_files"; then | 
 | 22687 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
 | 22688 | fi | 
 | 22689 |  | 
 | 22690 | if test -n "$ac_config_headers"; then | 
 | 22691 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
 | 22692 | fi | 
 | 22693 |  | 
 | 22694 | if test -n "$ac_config_links"; then | 
 | 22695 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
 | 22696 | fi | 
 | 22697 |  | 
 | 22698 | if test -n "$ac_config_commands"; then | 
 | 22699 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
 | 22700 | fi | 
 | 22701 |  | 
 | 22702 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 22703 |  | 
 | 22704 | ac_cs_usage="\ | 
 | 22705 | \`$as_me' instantiates files from templates according to the | 
 | 22706 | current configuration. | 
 | 22707 |  | 
 | 22708 | Usage: $0 [OPTIONS] [FILE]... | 
 | 22709 |  | 
 | 22710 |   -h, --help       print this help, then exit | 
 | 22711 |   -V, --version    print version number, then exit | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22712 |   -q, --quiet      do not print progress messages | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22713 |   -d, --debug      don't remove temporary files | 
 | 22714 |       --recheck    update $as_me by reconfiguring in the same conditions | 
 | 22715 |   --file=FILE[:TEMPLATE] | 
 | 22716 |                    instantiate the configuration file FILE | 
 | 22717 |   --header=FILE[:TEMPLATE] | 
 | 22718 |                    instantiate the configuration header FILE | 
 | 22719 |  | 
 | 22720 | Configuration files: | 
 | 22721 | $config_files | 
 | 22722 |  | 
 | 22723 | Configuration headers: | 
 | 22724 | $config_headers | 
 | 22725 |  | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22726 | Configuration commands: | 
 | 22727 | $config_commands | 
 | 22728 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22729 | Report bugs to <bug-autoconf@gnu.org>." | 
 | 22730 | _ACEOF | 
 | 22731 |  | 
 | 22732 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 22733 | ac_cs_version="\\ | 
| Chris Lattner | 95f45c5 | 2004-04-14 16:32:09 +0000 | [diff] [blame] | 22734 | [LLVM] config.status [1.3] | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22735 | configured by $0, generated by GNU Autoconf 2.57, | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22736 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
 | 22737 |  | 
 | 22738 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 
 | 22739 | Free Software Foundation, Inc. | 
 | 22740 | This config.status script is free software; the Free Software Foundation | 
 | 22741 | gives unlimited permission to copy, distribute and modify it." | 
 | 22742 | srcdir=$srcdir | 
 | 22743 | INSTALL="$INSTALL" | 
 | 22744 | _ACEOF | 
 | 22745 |  | 
 | 22746 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 22747 | # If no file are specified by the user, then we need to provide default | 
 | 22748 | # value.  By we need to know if files were specified by the user. | 
 | 22749 | ac_need_defaults=: | 
 | 22750 | while test $# != 0 | 
 | 22751 | do | 
 | 22752 |   case $1 in | 
 | 22753 |   --*=*) | 
 | 22754 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
 | 22755 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22756 |     ac_shift=: | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22757 |     ;; | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22758 |   -*) | 
 | 22759 |     ac_option=$1 | 
 | 22760 |     ac_optarg=$2 | 
 | 22761 |     ac_shift=shift | 
 | 22762 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22763 |   *) # This is not an option, so the user has probably given explicit | 
 | 22764 |      # arguments. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22765 |      ac_option=$1 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22766 |      ac_need_defaults=false;; | 
 | 22767 |   esac | 
 | 22768 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22769 |   case $ac_option in | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22770 |   # Handling of the options. | 
 | 22771 | _ACEOF | 
| John Criswell | d9cd144 | 2003-09-09 20:52:17 +0000 | [diff] [blame] | 22772 | cat >>$CONFIG_STATUS <<\_ACEOF | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22773 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
 | 22774 |     ac_cs_recheck=: ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22775 |   --version | --vers* | -V ) | 
 | 22776 |     echo "$ac_cs_version"; exit 0 ;; | 
 | 22777 |   --he | --h) | 
 | 22778 |     # Conflict between --help and --header | 
 | 22779 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
 | 22780 | Try \`$0 --help' for more information." >&5 | 
 | 22781 | echo "$as_me: error: ambiguous option: $1 | 
 | 22782 | Try \`$0 --help' for more information." >&2;} | 
 | 22783 |    { (exit 1); exit 1; }; };; | 
 | 22784 |   --help | --hel | -h ) | 
 | 22785 |     echo "$ac_cs_usage"; exit 0 ;; | 
 | 22786 |   --debug | --d* | -d ) | 
 | 22787 |     debug=: ;; | 
 | 22788 |   --file | --fil | --fi | --f ) | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22789 |     $ac_shift | 
 | 22790 |     CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22791 |     ac_need_defaults=false;; | 
 | 22792 |   --header | --heade | --head | --hea ) | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22793 |     $ac_shift | 
 | 22794 |     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22795 |     ac_need_defaults=false;; | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22796 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
 | 22797 |   | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
 | 22798 |     ac_cs_silent=: ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22799 |  | 
 | 22800 |   # This is an error. | 
 | 22801 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
 | 22802 | Try \`$0 --help' for more information." >&5 | 
 | 22803 | echo "$as_me: error: unrecognized option: $1 | 
 | 22804 | Try \`$0 --help' for more information." >&2;} | 
 | 22805 |    { (exit 1); exit 1; }; } ;; | 
 | 22806 |  | 
 | 22807 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
 | 22808 |  | 
 | 22809 |   esac | 
 | 22810 |   shift | 
 | 22811 | done | 
 | 22812 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22813 | ac_configure_extra_args= | 
 | 22814 |  | 
 | 22815 | if $ac_cs_silent; then | 
 | 22816 |   exec 6>/dev/null | 
 | 22817 |   ac_configure_extra_args="$ac_configure_extra_args --silent" | 
 | 22818 | fi | 
 | 22819 |  | 
 | 22820 | _ACEOF | 
 | 22821 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 22822 | if \$ac_cs_recheck; then | 
 | 22823 |   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 
 | 22824 |   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
 | 22825 | fi | 
 | 22826 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22827 | _ACEOF | 
 | 22828 |  | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22829 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 22830 | # | 
 | 22831 | # INIT-COMMANDS section. | 
 | 22832 | # | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22833 |  | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22834 | ${srcdir}/autoconf/mkinstalldirs `dirname Makefile` | 
 | 22835 | ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22836 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22837 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22838 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile` | 
 | 22839 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests` | 
| John Criswell | f424d74 | 2003-10-07 21:13:47 +0000 | [diff] [blame] | 22840 | ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py` | 
 | 22841 | ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22842 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile` | 
 | 22843 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs` | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 22844 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.tests` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22845 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile` | 
 | 22846 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22847 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report` | 
 | 22848 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile` | 
 | 22849 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile` | 
 | 22850 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile` | 
 | 22851 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile` | 
 | 22852 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report` | 
 | 22853 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile` | 
 | 22854 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report` | 
 | 22855 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile` | 
 | 22856 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot` | 
| John Criswell | 878be7d | 2004-02-24 21:43:38 +0000 | [diff] [blame] | 22857 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.vtl.Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22858 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile` | 
 | 22859 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile` | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 22860 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec` | 
| Alkis Evlogimenos | 271143f | 2004-02-26 04:14:10 +0000 | [diff] [blame] | 22861 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec2000` | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22862 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec95` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22863 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile` | 
 | 22864 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc` | 
| Misha Brukman | 811ce9f | 2003-11-12 22:16:51 +0000 | [diff] [blame] | 22865 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in` | 
 | 22866 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile` | 
 | 22867 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in` | 
 | 22868 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile` | 
 | 22869 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in` | 
 | 22870 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile` | 
 | 22871 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in` | 
 | 22872 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile` | 
 | 22873 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in` | 
 | 22874 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile` | 
 | 22875 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in` | 
 | 22876 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile` | 
 | 22877 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22878 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile` | 
 | 22879 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc` | 
| Alkis Evlogimenos | 271143f | 2004-02-26 04:14:10 +0000 | [diff] [blame] | 22880 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22881 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile` | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 22882 | ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22883 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22884 |  | 
 | 22885 | _ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22886 |  | 
 | 22887 |  | 
 | 22888 |  | 
 | 22889 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 22890 | for ac_config_target in $ac_config_targets | 
 | 22891 | do | 
 | 22892 |   case "$ac_config_target" in | 
 | 22893 |   # Handling of arguments. | 
 | 22894 |   "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;; | 
| Brian Gaeke | 6c3fd81 | 2004-02-23 22:07:00 +0000 | [diff] [blame] | 22895 |   "include/Support/DataTypes.h" ) CONFIG_FILES="$CONFIG_FILES include/Support/DataTypes.h" ;; | 
 | 22896 |   "include/Support/ThreadSupport.h" ) CONFIG_FILES="$CONFIG_FILES include/Support/ThreadSupport.h" ;; | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 22897 |   "include/Support/hash_map" ) CONFIG_FILES="$CONFIG_FILES include/Support/hash_map" ;; | 
 | 22898 |   "include/Support/hash_set" ) CONFIG_FILES="$CONFIG_FILES include/Support/hash_set" ;; | 
| Brian Gaeke | 6c3fd81 | 2004-02-23 22:07:00 +0000 | [diff] [blame] | 22899 |   "include/Support/iterator" ) CONFIG_FILES="$CONFIG_FILES include/Support/iterator" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22900 |   "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;; | 
 | 22901 |   "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22902 |   "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22903 |   "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22904 |   "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;; | 
 | 22905 |   "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;; | 
| John Criswell | f424d74 | 2003-10-07 21:13:47 +0000 | [diff] [blame] | 22906 |   "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;; | 
 | 22907 |   "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22908 |   "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;; | 
 | 22909 |   "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;; | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 22910 |   "test/Programs/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.tests" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22911 |   "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;; | 
 | 22912 |   "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22913 |   "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;; | 
 | 22914 |   "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;; | 
 | 22915 |   "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;; | 
 | 22916 |   "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;; | 
 | 22917 |   "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;; | 
 | 22918 |   "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;; | 
 | 22919 |   "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;; | 
 | 22920 |   "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;; | 
 | 22921 |   "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;; | 
 | 22922 |   "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;; | 
| John Criswell | 878be7d | 2004-02-24 21:43:38 +0000 | [diff] [blame] | 22923 |   "test/Programs/TEST.vtl.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.vtl.Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22924 |   "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;; | 
 | 22925 |   "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 22926 |   "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;; | 
| Alkis Evlogimenos | 271143f | 2004-02-26 04:14:10 +0000 | [diff] [blame] | 22927 |   "test/Programs/External/SPEC/Makefile.spec2000" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec2000" ;; | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 22928 |   "test/Programs/External/SPEC/Makefile.spec95" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec95" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22929 |   "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;; | 
 | 22930 |   "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;; | 
| Misha Brukman | 811ce9f | 2003-11-12 22:16:51 +0000 | [diff] [blame] | 22931 |   "test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ;; | 
 | 22932 |   "test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ;; | 
 | 22933 |   "test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ;; | 
 | 22934 |   "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ;; | 
 | 22935 |   "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ;; | 
 | 22936 |   "test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ;; | 
 | 22937 |   "test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ;; | 
 | 22938 |   "test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ;; | 
 | 22939 |   "test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ;; | 
 | 22940 |   "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ;; | 
 | 22941 |   "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ;; | 
 | 22942 |   "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ;; | 
 | 22943 |   "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22944 |   "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;; | 
 | 22945 |   "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;; | 
| Alkis Evlogimenos | 271143f | 2004-02-26 04:14:10 +0000 | [diff] [blame] | 22946 |   "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22947 |   "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;; | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 22948 |   "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22949 |   "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22950 |   "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;; | 
 | 22951 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
 | 22952 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
 | 22953 |    { (exit 1); exit 1; }; };; | 
 | 22954 |   esac | 
 | 22955 | done | 
 | 22956 |  | 
 | 22957 | # If the user did not use the arguments to specify the items to instantiate, | 
 | 22958 | # then the envvar interface is used.  Set only those that are not. | 
 | 22959 | # We use the long form for the default assignment because of an extremely | 
 | 22960 | # bizarre bug on SunOS 4.1.3. | 
 | 22961 | if $ac_need_defaults; then | 
 | 22962 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
 | 22963 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 22964 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22965 | fi | 
 | 22966 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22967 | # Have a temporary directory for convenience.  Make it in the build tree | 
 | 22968 | # simply because there is no reason to put it here, and in addition, | 
 | 22969 | # creating and moving files from /tmp can sometimes cause problems. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22970 | # Create a temporary directory, and hook for its removal unless debugging. | 
 | 22971 | $debug || | 
 | 22972 | { | 
 | 22973 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
 | 22974 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
 | 22975 | } | 
 | 22976 |  | 
 | 22977 | # Create a (secure) tmp directory for tmp files. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22978 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22979 | { | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22980 |   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22981 |   test -n "$tmp" && test -d "$tmp" | 
 | 22982 | }  || | 
 | 22983 | { | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22984 |   tmp=./confstat$$-$RANDOM | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22985 |   (umask 077 && mkdir $tmp) | 
 | 22986 | } || | 
 | 22987 | { | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22988 |    echo "$me: cannot create a temporary directory in ." >&2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22989 |    { (exit 1); exit 1; } | 
 | 22990 | } | 
 | 22991 |  | 
 | 22992 | _ACEOF | 
 | 22993 |  | 
 | 22994 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 22995 |  | 
 | 22996 | # | 
 | 22997 | # CONFIG_FILES section. | 
 | 22998 | # | 
 | 22999 |  | 
 | 23000 | # No need to generate the scripts if there are no CONFIG_FILES. | 
 | 23001 | # This happens for instance when ./config.status config.h | 
 | 23002 | if test -n "\$CONFIG_FILES"; then | 
 | 23003 |   # Protect against being on the right side of a sed subst in config.status. | 
 | 23004 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
 | 23005 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
 | 23006 | s,@SHELL@,$SHELL,;t t | 
 | 23007 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
 | 23008 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
 | 23009 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
 | 23010 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
 | 23011 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
 | 23012 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
 | 23013 | s,@exec_prefix@,$exec_prefix,;t t | 
 | 23014 | s,@prefix@,$prefix,;t t | 
 | 23015 | s,@program_transform_name@,$program_transform_name,;t t | 
 | 23016 | s,@bindir@,$bindir,;t t | 
 | 23017 | s,@sbindir@,$sbindir,;t t | 
 | 23018 | s,@libexecdir@,$libexecdir,;t t | 
 | 23019 | s,@datadir@,$datadir,;t t | 
 | 23020 | s,@sysconfdir@,$sysconfdir,;t t | 
 | 23021 | s,@sharedstatedir@,$sharedstatedir,;t t | 
 | 23022 | s,@localstatedir@,$localstatedir,;t t | 
 | 23023 | s,@libdir@,$libdir,;t t | 
 | 23024 | s,@includedir@,$includedir,;t t | 
 | 23025 | s,@oldincludedir@,$oldincludedir,;t t | 
 | 23026 | s,@infodir@,$infodir,;t t | 
 | 23027 | s,@mandir@,$mandir,;t t | 
 | 23028 | s,@build_alias@,$build_alias,;t t | 
 | 23029 | s,@host_alias@,$host_alias,;t t | 
 | 23030 | s,@target_alias@,$target_alias,;t t | 
 | 23031 | s,@DEFS@,$DEFS,;t t | 
 | 23032 | s,@ECHO_C@,$ECHO_C,;t t | 
 | 23033 | s,@ECHO_N@,$ECHO_N,;t t | 
 | 23034 | s,@ECHO_T@,$ECHO_T,;t t | 
 | 23035 | s,@LIBS@,$LIBS,;t t | 
| John Criswell | 12399a1 | 2003-09-30 15:55:44 +0000 | [diff] [blame] | 23036 | s,@subdirs@,$subdirs,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23037 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
 | 23038 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
 | 23039 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
 | 23040 | s,@build@,$build,;t t | 
 | 23041 | s,@build_cpu@,$build_cpu,;t t | 
 | 23042 | s,@build_vendor@,$build_vendor,;t t | 
 | 23043 | s,@build_os@,$build_os,;t t | 
 | 23044 | s,@host@,$host,;t t | 
 | 23045 | s,@host_cpu@,$host_cpu,;t t | 
 | 23046 | s,@host_vendor@,$host_vendor,;t t | 
 | 23047 | s,@host_os@,$host_os,;t t | 
 | 23048 | s,@target@,$target,;t t | 
 | 23049 | s,@target_cpu@,$target_cpu,;t t | 
 | 23050 | s,@target_vendor@,$target_vendor,;t t | 
 | 23051 | s,@target_os@,$target_os,;t t | 
 | 23052 | s,@OS@,$OS,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23053 | s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 23054 | s,@ARCH@,$ARCH,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23055 | s,@CXX@,$CXX,;t t | 
 | 23056 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
 | 23057 | s,@LDFLAGS@,$LDFLAGS,;t t | 
 | 23058 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
 | 23059 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
 | 23060 | s,@EXEEXT@,$EXEEXT,;t t | 
 | 23061 | s,@OBJEXT@,$OBJEXT,;t t | 
 | 23062 | s,@CC@,$CC,;t t | 
 | 23063 | s,@CFLAGS@,$CFLAGS,;t t | 
 | 23064 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
 | 23065 | s,@CPP@,$CPP,;t t | 
 | 23066 | s,@ifGNUmake@,$ifGNUmake,;t t | 
 | 23067 | s,@LEX@,$LEX,;t t | 
 | 23068 | s,@LEXLIB@,$LEXLIB,;t t | 
 | 23069 | s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t | 
 | 23070 | s,@YACC@,$YACC,;t t | 
| Brian Gaeke | 1281063 | 2004-01-13 06:52:10 +0000 | [diff] [blame] | 23071 | s,@BISON@,$BISON,;t t | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 23072 | s,@EGREP@,$EGREP,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23073 | s,@LN_S@,$LN_S,;t t | 
 | 23074 | s,@ECHO@,$ECHO,;t t | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 23075 | s,@AR@,$AR,;t t | 
 | 23076 | s,@ac_ct_AR@,$ac_ct_AR,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23077 | s,@RANLIB@,$RANLIB,;t t | 
 | 23078 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 
 | 23079 | s,@STRIP@,$STRIP,;t t | 
 | 23080 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 23081 | s,@CXXCPP@,$CXXCPP,;t t | 
 | 23082 | s,@F77@,$F77,;t t | 
 | 23083 | s,@FFLAGS@,$FFLAGS,;t t | 
 | 23084 | s,@ac_ct_F77@,$ac_ct_F77,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23085 | s,@LIBTOOL@,$LIBTOOL,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23086 | s,@DOT@,$DOT,;t t | 
 | 23087 | s,@ETAGS@,$ETAGS,;t t | 
| Brian Gaeke | afa3fbf | 2004-01-22 21:55:02 +0000 | [diff] [blame] | 23088 | s,@ETAGSFLAGS@,$ETAGSFLAGS,;t t | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 23089 | s,@PYTHON@,$PYTHON,;t t | 
 | 23090 | s,@QMTEST@,$QMTEST,;t t | 
| Brian Gaeke | c9a410c | 2004-02-23 21:30:37 +0000 | [diff] [blame] | 23091 | s,@HAVE_PTHREAD_MUTEX_LOCK@,$HAVE_PTHREAD_MUTEX_LOCK,;t t | 
| Brian Gaeke | 6c3fd81 | 2004-02-23 22:07:00 +0000 | [diff] [blame] | 23092 | s,@INCLUDE_SYS_TYPES_H@,$INCLUDE_SYS_TYPES_H,;t t | 
 | 23093 | s,@INCLUDE_INTTYPES_H@,$INCLUDE_INTTYPES_H,;t t | 
| John Criswell | 0021c31 | 2004-02-13 21:57:29 +0000 | [diff] [blame] | 23094 | s,@ENDIAN@,$ENDIAN,;t t | 
| Brian Gaeke | 793c5f2 | 2004-02-23 18:56:02 +0000 | [diff] [blame] | 23095 | s,@HAVE_STD_EXT_HASH_MAP@,$HAVE_STD_EXT_HASH_MAP,;t t | 
 | 23096 | s,@HAVE_GNU_EXT_HASH_MAP@,$HAVE_GNU_EXT_HASH_MAP,;t t | 
 | 23097 | s,@HAVE_GLOBAL_HASH_MAP@,$HAVE_GLOBAL_HASH_MAP,;t t | 
 | 23098 | s,@HAVE_STD_EXT_HASH_SET@,$HAVE_STD_EXT_HASH_SET,;t t | 
 | 23099 | s,@HAVE_GNU_EXT_HASH_SET@,$HAVE_GNU_EXT_HASH_SET,;t t | 
 | 23100 | s,@HAVE_GLOBAL_HASH_SET@,$HAVE_GLOBAL_HASH_SET,;t t | 
| Brian Gaeke | 295d4b8 | 2004-02-23 18:16:06 +0000 | [diff] [blame] | 23101 | s,@HAVE_STD_ITERATOR@,$HAVE_STD_ITERATOR,;t t | 
 | 23102 | s,@HAVE_BI_ITERATOR@,$HAVE_BI_ITERATOR,;t t | 
 | 23103 | s,@HAVE_FWD_ITERATOR@,$HAVE_FWD_ITERATOR,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23104 | s,@ALLOCA@,$ALLOCA,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23105 | s,@MMAP_FILE@,$MMAP_FILE,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23106 | s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 23107 | s,@SPEC95_ROOT@,$SPEC95_ROOT,;t t | 
 | 23108 | s,@USE_SPEC95@,$USE_SPEC95,;t t | 
| Brian Gaeke | e773b86 | 2004-04-16 17:13:44 +0000 | [diff] [blame] | 23109 | s,@SPEC2000_ROOT@,$SPEC2000_ROOT,;t t | 
 | 23110 | s,@USE_SPEC2000@,$USE_SPEC2000,;t t | 
| John Criswell | 0538d42 | 2004-02-20 22:30:22 +0000 | [diff] [blame] | 23111 | s,@POVRAY_ROOT@,$POVRAY_ROOT,;t t | 
 | 23112 | s,@USE_POVRAY@,$USE_POVRAY,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23113 | s,@UPB@,$UPB,;t t | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 23114 | s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23115 | s,@JIT@,$JIT,;t t | 
| Brian Gaeke | 2f50a04 | 2004-01-16 21:31:21 +0000 | [diff] [blame] | 23116 | s,@LLVMCC1@,$LLVMCC1,;t t | 
 | 23117 | s,@LLVMCC1PLUS@,$LLVMCC1PLUS,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23118 | s,@BCR@,$BCR,;t t | 
 | 23119 | s,@PAPIDIR@,$PAPIDIR,;t t | 
| Brian Gaeke | 554831c | 2004-01-21 19:39:29 +0000 | [diff] [blame] | 23120 | s,@SHLIBEXT@,$SHLIBEXT,;t t | 
| Brian Gaeke | 26be9c5 | 2004-01-13 06:43:16 +0000 | [diff] [blame] | 23121 | s,@LIBOBJS@,$LIBOBJS,;t t | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23122 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23123 | CEOF | 
 | 23124 |  | 
 | 23125 | _ACEOF | 
 | 23126 |  | 
 | 23127 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 23128 |   # Split the substitutions into bite-sized pieces for seds with | 
 | 23129 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
 | 23130 |   ac_max_sed_lines=48 | 
 | 23131 |   ac_sed_frag=1 # Number of current file. | 
 | 23132 |   ac_beg=1 # First line for current file. | 
 | 23133 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
 | 23134 |   ac_more_lines=: | 
 | 23135 |   ac_sed_cmds= | 
 | 23136 |   while $ac_more_lines; do | 
 | 23137 |     if test $ac_beg -gt 1; then | 
 | 23138 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
 | 23139 |     else | 
 | 23140 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
 | 23141 |     fi | 
 | 23142 |     if test ! -s $tmp/subs.frag; then | 
 | 23143 |       ac_more_lines=false | 
 | 23144 |     else | 
 | 23145 |       # The purpose of the label and of the branching condition is to | 
 | 23146 |       # speed up the sed processing (if there are no `@' at all, there | 
 | 23147 |       # is no need to browse any of the substitutions). | 
 | 23148 |       # These are the two extra sed commands mentioned above. | 
 | 23149 |       (echo ':t | 
 | 23150 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
 | 23151 |       if test -z "$ac_sed_cmds"; then | 
 | 23152 |   	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
 | 23153 |       else | 
 | 23154 |   	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
 | 23155 |       fi | 
 | 23156 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
 | 23157 |       ac_beg=$ac_end | 
 | 23158 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
 | 23159 |     fi | 
 | 23160 |   done | 
 | 23161 |   if test -z "$ac_sed_cmds"; then | 
 | 23162 |     ac_sed_cmds=cat | 
 | 23163 |   fi | 
 | 23164 | fi # test -n "$CONFIG_FILES" | 
 | 23165 |  | 
 | 23166 | _ACEOF | 
 | 23167 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 23168 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
 | 23169 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
 | 23170 |   case $ac_file in | 
 | 23171 |   - | *:- | *:-:* ) # input from stdin | 
 | 23172 |         cat >$tmp/stdin | 
 | 23173 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 23174 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 23175 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 23176 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 23177 |   * )   ac_file_in=$ac_file.in ;; | 
 | 23178 |   esac | 
 | 23179 |  | 
 | 23180 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
 | 23181 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
 | 23182 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 23183 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
 | 23184 |          X"$ac_file" : 'X\(//\)$' \| \ | 
 | 23185 |          X"$ac_file" : 'X\(/\)' \| \ | 
 | 23186 |          .     : '\(.\)' 2>/dev/null || | 
 | 23187 | echo X"$ac_file" | | 
 | 23188 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 23189 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 23190 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 23191 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 23192 |   	  s/.*/./; q'` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23193 |   { if $as_mkdir_p; then | 
 | 23194 |     mkdir -p "$ac_dir" | 
 | 23195 |   else | 
 | 23196 |     as_dir="$ac_dir" | 
 | 23197 |     as_dirs= | 
 | 23198 |     while test ! -d "$as_dir"; do | 
 | 23199 |       as_dirs="$as_dir $as_dirs" | 
 | 23200 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
 | 23201 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 23202 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
 | 23203 |          X"$as_dir" : 'X\(//\)$' \| \ | 
 | 23204 |          X"$as_dir" : 'X\(/\)' \| \ | 
 | 23205 |          .     : '\(.\)' 2>/dev/null || | 
 | 23206 | echo X"$as_dir" | | 
 | 23207 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 23208 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 23209 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 23210 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 23211 |   	  s/.*/./; q'` | 
 | 23212 |     done | 
 | 23213 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
 | 23214 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
 | 23215 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
 | 23216 |    { (exit 1); exit 1; }; }; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23217 |  | 
 | 23218 |   ac_builddir=. | 
 | 23219 |  | 
 | 23220 | if test "$ac_dir" != .; then | 
 | 23221 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 23222 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 23223 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 23224 | else | 
 | 23225 |   ac_dir_suffix= ac_top_builddir= | 
 | 23226 | fi | 
 | 23227 |  | 
 | 23228 | case $srcdir in | 
 | 23229 |   .)  # No --srcdir option.  We are building in place. | 
 | 23230 |     ac_srcdir=. | 
 | 23231 |     if test -z "$ac_top_builddir"; then | 
 | 23232 |        ac_top_srcdir=. | 
 | 23233 |     else | 
 | 23234 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 23235 |     fi ;; | 
 | 23236 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 23237 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 23238 |     ac_top_srcdir=$srcdir ;; | 
 | 23239 |   *) # Relative path. | 
 | 23240 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 23241 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 23242 | esac | 
 | 23243 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 23244 | # absolute. | 
 | 23245 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23246 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23247 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 23248 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 23249 |  | 
 | 23250 |  | 
 | 23251 |   case $INSTALL in | 
 | 23252 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
 | 23253 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
 | 23254 |   esac | 
 | 23255 |  | 
 | 23256 |   if test x"$ac_file" != x-; then | 
 | 23257 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
 | 23258 | echo "$as_me: creating $ac_file" >&6;} | 
 | 23259 |     rm -f "$ac_file" | 
 | 23260 |   fi | 
 | 23261 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
 | 23262 |   # use $as_me), people would be surprised to read: | 
 | 23263 |   #    /* config.h.  Generated by config.status.  */ | 
 | 23264 |   if test x"$ac_file" = x-; then | 
 | 23265 |     configure_input= | 
 | 23266 |   else | 
 | 23267 |     configure_input="$ac_file.  " | 
 | 23268 |   fi | 
 | 23269 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
 | 23270 |                                      sed 's,.*/,,'` by configure." | 
 | 23271 |  | 
 | 23272 |   # First look for the input files in the build tree, otherwise in the | 
 | 23273 |   # src tree. | 
 | 23274 |   ac_file_inputs=`IFS=: | 
 | 23275 |     for f in $ac_file_in; do | 
 | 23276 |       case $f in | 
 | 23277 |       -) echo $tmp/stdin ;; | 
 | 23278 |       [\\/$]*) | 
 | 23279 |          # Absolute (can't be DOS-style, as IFS=:) | 
 | 23280 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 23281 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 23282 |    { (exit 1); exit 1; }; } | 
 | 23283 |          echo $f;; | 
 | 23284 |       *) # Relative | 
 | 23285 |          if test -f "$f"; then | 
 | 23286 |            # Build tree | 
 | 23287 |            echo $f | 
 | 23288 |          elif test -f "$srcdir/$f"; then | 
 | 23289 |            # Source tree | 
 | 23290 |            echo $srcdir/$f | 
 | 23291 |          else | 
 | 23292 |            # /dev/null tree | 
 | 23293 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 23294 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 23295 |    { (exit 1); exit 1; }; } | 
 | 23296 |          fi;; | 
 | 23297 |       esac | 
 | 23298 |     done` || { (exit 1); exit 1; } | 
 | 23299 | _ACEOF | 
 | 23300 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 23301 |   sed "$ac_vpsub | 
 | 23302 | $extrasub | 
 | 23303 | _ACEOF | 
 | 23304 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 23305 | :t | 
 | 23306 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
 | 23307 | s,@configure_input@,$configure_input,;t t | 
 | 23308 | s,@srcdir@,$ac_srcdir,;t t | 
 | 23309 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
 | 23310 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
 | 23311 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
 | 23312 | s,@builddir@,$ac_builddir,;t t | 
 | 23313 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
 | 23314 | s,@top_builddir@,$ac_top_builddir,;t t | 
 | 23315 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
 | 23316 | s,@INSTALL@,$ac_INSTALL,;t t | 
 | 23317 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
 | 23318 |   rm -f $tmp/stdin | 
 | 23319 |   if test x"$ac_file" != x-; then | 
 | 23320 |     mv $tmp/out $ac_file | 
 | 23321 |   else | 
 | 23322 |     cat $tmp/out | 
 | 23323 |     rm -f $tmp/out | 
 | 23324 |   fi | 
 | 23325 |  | 
 | 23326 | done | 
 | 23327 | _ACEOF | 
 | 23328 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 23329 |  | 
 | 23330 | # | 
 | 23331 | # CONFIG_HEADER section. | 
 | 23332 | # | 
 | 23333 |  | 
 | 23334 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
 | 23335 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
 | 23336 | # | 
 | 23337 | # ac_d sets the value in "#define NAME VALUE" lines. | 
 | 23338 | ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)' | 
 | 23339 | ac_dB='[ 	].*$,\1#\2' | 
 | 23340 | ac_dC=' ' | 
 | 23341 | ac_dD=',;t' | 
 | 23342 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
 | 23343 | ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)' | 
 | 23344 | ac_uB='$,\1#\2define\3' | 
 | 23345 | ac_uC=' ' | 
 | 23346 | ac_uD=',;t' | 
 | 23347 |  | 
 | 23348 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
 | 23349 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
 | 23350 |   case $ac_file in | 
 | 23351 |   - | *:- | *:-:* ) # input from stdin | 
 | 23352 |         cat >$tmp/stdin | 
 | 23353 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 23354 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 23355 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 23356 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 23357 |   * )   ac_file_in=$ac_file.in ;; | 
 | 23358 |   esac | 
 | 23359 |  | 
 | 23360 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
 | 23361 | echo "$as_me: creating $ac_file" >&6;} | 
 | 23362 |  | 
 | 23363 |   # First look for the input files in the build tree, otherwise in the | 
 | 23364 |   # src tree. | 
 | 23365 |   ac_file_inputs=`IFS=: | 
 | 23366 |     for f in $ac_file_in; do | 
 | 23367 |       case $f in | 
 | 23368 |       -) echo $tmp/stdin ;; | 
 | 23369 |       [\\/$]*) | 
 | 23370 |          # Absolute (can't be DOS-style, as IFS=:) | 
 | 23371 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 23372 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 23373 |    { (exit 1); exit 1; }; } | 
 | 23374 |          echo $f;; | 
 | 23375 |       *) # Relative | 
 | 23376 |          if test -f "$f"; then | 
 | 23377 |            # Build tree | 
 | 23378 |            echo $f | 
 | 23379 |          elif test -f "$srcdir/$f"; then | 
 | 23380 |            # Source tree | 
 | 23381 |            echo $srcdir/$f | 
 | 23382 |          else | 
 | 23383 |            # /dev/null tree | 
 | 23384 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 23385 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 23386 |    { (exit 1); exit 1; }; } | 
 | 23387 |          fi;; | 
 | 23388 |       esac | 
 | 23389 |     done` || { (exit 1); exit 1; } | 
 | 23390 |   # Remove the trailing spaces. | 
 | 23391 |   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in | 
 | 23392 |  | 
 | 23393 | _ACEOF | 
 | 23394 |  | 
 | 23395 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
 | 23396 | # `conftest.undefs', that substitutes the proper values into | 
 | 23397 | # config.h.in to produce config.h.  The first handles `#define' | 
 | 23398 | # templates, and the second `#undef' templates. | 
 | 23399 | # And first: Protect against being on the right side of a sed subst in | 
 | 23400 | # config.status.  Protect against being in an unquoted here document | 
 | 23401 | # in config.status. | 
 | 23402 | rm -f conftest.defines conftest.undefs | 
 | 23403 | # Using a here document instead of a string reduces the quoting nightmare. | 
 | 23404 | # Putting comments in sed scripts is not portable. | 
 | 23405 | # | 
 | 23406 | # `end' is used to avoid that the second main sed command (meant for | 
 | 23407 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
 | 23408 | # See the Autoconf documentation for `clear'. | 
 | 23409 | cat >confdef2sed.sed <<\_ACEOF | 
 | 23410 | s/[\\&,]/\\&/g | 
 | 23411 | s,[\\$`],\\&,g | 
 | 23412 | t clear | 
 | 23413 | : clear | 
 | 23414 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
 | 23415 | t end | 
 | 23416 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
 | 23417 | : end | 
 | 23418 | _ACEOF | 
 | 23419 | # If some macros were called several times there might be several times | 
 | 23420 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
 | 23421 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
 | 23422 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
 | 23423 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
 | 23424 | rm -f confdef2sed.sed | 
 | 23425 |  | 
 | 23426 | # This sed command replaces #undef with comments.  This is necessary, for | 
 | 23427 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
 | 23428 | # on some systems where configure will not decide to define it. | 
 | 23429 | cat >>conftest.undefs <<\_ACEOF | 
 | 23430 | s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
 | 23431 | _ACEOF | 
 | 23432 |  | 
 | 23433 | # Break up conftest.defines because some shells have a limit on the size | 
 | 23434 | # of here documents, and old seds have small limits too (100 cmds). | 
 | 23435 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23436 | echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23437 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
 | 23438 | echo '  :' >>$CONFIG_STATUS | 
 | 23439 | rm -f conftest.tail | 
 | 23440 | while grep . conftest.defines >/dev/null | 
 | 23441 | do | 
 | 23442 |   # Write a limited-size here document to $tmp/defines.sed. | 
 | 23443 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
 | 23444 |   # Speed up: don't consider the non `#define' lines. | 
 | 23445 |   echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS | 
 | 23446 |   # Work around the forget-to-reset-the-flag bug. | 
 | 23447 |   echo 't clr' >>$CONFIG_STATUS | 
 | 23448 |   echo ': clr' >>$CONFIG_STATUS | 
 | 23449 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
 | 23450 |   echo 'CEOF | 
 | 23451 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
 | 23452 |   rm -f $tmp/in | 
 | 23453 |   mv $tmp/out $tmp/in | 
 | 23454 | ' >>$CONFIG_STATUS | 
 | 23455 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
 | 23456 |   rm -f conftest.defines | 
 | 23457 |   mv conftest.tail conftest.defines | 
 | 23458 | done | 
 | 23459 | rm -f conftest.defines | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23460 | echo '  fi # grep' >>$CONFIG_STATUS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23461 | echo >>$CONFIG_STATUS | 
 | 23462 |  | 
 | 23463 | # Break up conftest.undefs because some shells have a limit on the size | 
 | 23464 | # of here documents, and old seds have small limits too (100 cmds). | 
 | 23465 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
 | 23466 | rm -f conftest.tail | 
 | 23467 | while grep . conftest.undefs >/dev/null | 
 | 23468 | do | 
 | 23469 |   # Write a limited-size here document to $tmp/undefs.sed. | 
 | 23470 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
 | 23471 |   # Speed up: don't consider the non `#undef' | 
 | 23472 |   echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS | 
 | 23473 |   # Work around the forget-to-reset-the-flag bug. | 
 | 23474 |   echo 't clr' >>$CONFIG_STATUS | 
 | 23475 |   echo ': clr' >>$CONFIG_STATUS | 
 | 23476 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
 | 23477 |   echo 'CEOF | 
 | 23478 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
 | 23479 |   rm -f $tmp/in | 
 | 23480 |   mv $tmp/out $tmp/in | 
 | 23481 | ' >>$CONFIG_STATUS | 
 | 23482 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
 | 23483 |   rm -f conftest.undefs | 
 | 23484 |   mv conftest.tail conftest.undefs | 
 | 23485 | done | 
 | 23486 | rm -f conftest.undefs | 
 | 23487 |  | 
 | 23488 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 23489 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
 | 23490 |   # use $as_me), people would be surprised to read: | 
 | 23491 |   #    /* config.h.  Generated by config.status.  */ | 
 | 23492 |   if test x"$ac_file" = x-; then | 
 | 23493 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
 | 23494 |   else | 
 | 23495 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
 | 23496 |   fi | 
 | 23497 |   cat $tmp/in >>$tmp/config.h | 
 | 23498 |   rm -f $tmp/in | 
 | 23499 |   if test x"$ac_file" != x-; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23500 |     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23501 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
 | 23502 | echo "$as_me: $ac_file is unchanged" >&6;} | 
 | 23503 |     else | 
 | 23504 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
 | 23505 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 23506 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
 | 23507 |          X"$ac_file" : 'X\(//\)$' \| \ | 
 | 23508 |          X"$ac_file" : 'X\(/\)' \| \ | 
 | 23509 |          .     : '\(.\)' 2>/dev/null || | 
 | 23510 | echo X"$ac_file" | | 
 | 23511 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 23512 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 23513 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 23514 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 23515 |   	  s/.*/./; q'` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23516 |       { if $as_mkdir_p; then | 
 | 23517 |     mkdir -p "$ac_dir" | 
 | 23518 |   else | 
 | 23519 |     as_dir="$ac_dir" | 
 | 23520 |     as_dirs= | 
 | 23521 |     while test ! -d "$as_dir"; do | 
 | 23522 |       as_dirs="$as_dir $as_dirs" | 
 | 23523 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
 | 23524 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 23525 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
 | 23526 |          X"$as_dir" : 'X\(//\)$' \| \ | 
 | 23527 |          X"$as_dir" : 'X\(/\)' \| \ | 
 | 23528 |          .     : '\(.\)' 2>/dev/null || | 
 | 23529 | echo X"$as_dir" | | 
 | 23530 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 23531 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 23532 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 23533 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 23534 |   	  s/.*/./; q'` | 
 | 23535 |     done | 
 | 23536 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
 | 23537 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
 | 23538 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
 | 23539 |    { (exit 1); exit 1; }; }; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23540 |  | 
 | 23541 |       rm -f $ac_file | 
 | 23542 |       mv $tmp/config.h $ac_file | 
 | 23543 |     fi | 
 | 23544 |   else | 
 | 23545 |     cat $tmp/config.h | 
 | 23546 |     rm -f $tmp/config.h | 
 | 23547 |   fi | 
 | 23548 | done | 
 | 23549 | _ACEOF | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23550 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 23551 |  | 
 | 23552 | # | 
 | 23553 | # CONFIG_COMMANDS section. | 
 | 23554 | # | 
 | 23555 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
 | 23556 |   ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
 | 23557 |   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 23558 |   ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 
 | 23559 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 23560 |          X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
 | 23561 |          X"$ac_dest" : 'X\(//\)$' \| \ | 
 | 23562 |          X"$ac_dest" : 'X\(/\)' \| \ | 
 | 23563 |          .     : '\(.\)' 2>/dev/null || | 
 | 23564 | echo X"$ac_dest" | | 
 | 23565 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 23566 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 23567 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 23568 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 23569 |   	  s/.*/./; q'` | 
 | 23570 |   ac_builddir=. | 
 | 23571 |  | 
 | 23572 | if test "$ac_dir" != .; then | 
 | 23573 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 23574 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 23575 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 23576 | else | 
 | 23577 |   ac_dir_suffix= ac_top_builddir= | 
 | 23578 | fi | 
 | 23579 |  | 
 | 23580 | case $srcdir in | 
 | 23581 |   .)  # No --srcdir option.  We are building in place. | 
 | 23582 |     ac_srcdir=. | 
 | 23583 |     if test -z "$ac_top_builddir"; then | 
 | 23584 |        ac_top_srcdir=. | 
 | 23585 |     else | 
 | 23586 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 23587 |     fi ;; | 
 | 23588 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 23589 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 23590 |     ac_top_srcdir=$srcdir ;; | 
 | 23591 |   *) # Relative path. | 
 | 23592 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 23593 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 23594 | esac | 
 | 23595 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 23596 | # absolute. | 
 | 23597 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23598 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23599 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 23600 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 23601 |  | 
 | 23602 |  | 
 | 23603 |   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 
 | 23604 | echo "$as_me: executing $ac_dest commands" >&6;} | 
 | 23605 |   case $ac_dest in | 
 | 23606 |     Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;; | 
 | 23607 |     Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23608 |     lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23609 |     runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23610 |     test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;; | 
 | 23611 |     test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;; | 
| John Criswell | f424d74 | 2003-10-07 21:13:47 +0000 | [diff] [blame] | 23612 |     test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;; | 
 | 23613 |     test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23614 |     test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;; | 
 | 23615 |     test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;; | 
| John Criswell | 8a54a1e | 2004-06-22 21:35:10 +0000 | [diff] [blame] | 23616 |     test/Programs/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.tests test/Programs/Makefile.tests ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23617 |     test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;; | 
 | 23618 |     test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23619 |     test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;; | 
 | 23620 |     test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;; | 
 | 23621 |     test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;; | 
 | 23622 |     test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;; | 
 | 23623 |     test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;; | 
 | 23624 |     test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;; | 
 | 23625 |     test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;; | 
 | 23626 |     test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;; | 
 | 23627 |     test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;; | 
 | 23628 |     test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;; | 
| John Criswell | 878be7d | 2004-02-24 21:43:38 +0000 | [diff] [blame] | 23629 |     test/Programs/TEST.vtl.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.vtl.Makefile test/Programs/TEST.vtl.Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23630 |     test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;; | 
 | 23631 |     test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23632 |     test/Programs/External/SPEC/Makefile.spec ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile.spec test/Programs/External/SPEC/Makefile.spec ;; | 
| Alkis Evlogimenos | 271143f | 2004-02-26 04:14:10 +0000 | [diff] [blame] | 23633 |     test/Programs/External/SPEC/Makefile.spec2000 ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile.spec2000 test/Programs/External/SPEC/Makefile.spec2000 ;; | 
| John Criswell | cf2e9f7 | 2004-02-10 22:36:35 +0000 | [diff] [blame] | 23634 |     test/Programs/External/SPEC/Makefile.spec95 ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile.spec95 test/Programs/External/SPEC/Makefile.spec95 ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23635 |     test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;; | 
 | 23636 |     test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;; | 
| Misha Brukman | 811ce9f | 2003-11-12 22:16:51 +0000 | [diff] [blame] | 23637 |     test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in ;; | 
 | 23638 |     test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile ;; | 
 | 23639 |     test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in ;; | 
 | 23640 |     test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile ;; | 
 | 23641 |     test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in ;; | 
 | 23642 |     test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile ;; | 
 | 23643 |     test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in ;; | 
 | 23644 |     test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile ;; | 
 | 23645 |     test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in ;; | 
 | 23646 |     test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile ;; | 
 | 23647 |     test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in ;; | 
 | 23648 |     test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile ;; | 
 | 23649 |     test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23650 |     test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;; | 
 | 23651 |     test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;; | 
| Alkis Evlogimenos | 271143f | 2004-02-26 04:14:10 +0000 | [diff] [blame] | 23652 |     test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23653 |     tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;; | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 23654 |     utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23655 |     projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23656 |   esac | 
 | 23657 | done | 
 | 23658 | _ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23659 |  | 
 | 23660 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 23661 |  | 
 | 23662 | { (exit 0); exit 0; } | 
 | 23663 | _ACEOF | 
 | 23664 | chmod +x $CONFIG_STATUS | 
 | 23665 | ac_clean_files=$ac_clean_files_save | 
 | 23666 |  | 
 | 23667 |  | 
 | 23668 | # configure is writing to config.log, and then calls config.status. | 
 | 23669 | # config.status does its own redirection, appending to config.log. | 
 | 23670 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
 | 23671 | # by configure, so config.status won't be able to write to it; its | 
 | 23672 | # output is simply discarded.  So we exec the FD to /dev/null, | 
 | 23673 | # effectively closing config.log, so it can be properly (re)opened and | 
 | 23674 | # appended to by config.status.  When coming back to configure, we | 
 | 23675 | # need to make the FD available again. | 
 | 23676 | if test "$no_create" != yes; then | 
 | 23677 |   ac_cs_success=: | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23678 |   ac_config_status_args= | 
 | 23679 |   test "$silent" = yes && | 
 | 23680 |     ac_config_status_args="$ac_config_status_args --quiet" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23681 |   exec 5>/dev/null | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23682 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23683 |   exec 5>>config.log | 
 | 23684 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
 | 23685 |   # would make configure fail if this is the last instruction. | 
 | 23686 |   $ac_cs_success || { (exit 1); exit 1; } | 
 | 23687 | fi | 
 | 23688 |  | 
| John Criswell | 12399a1 | 2003-09-30 15:55:44 +0000 | [diff] [blame] | 23689 | # | 
 | 23690 | # CONFIG_SUBDIRS section. | 
 | 23691 | # | 
 | 23692 | if test "$no_recursion" != yes; then | 
 | 23693 |  | 
 | 23694 |   # Remove --cache-file and --srcdir arguments so they do not pile up. | 
 | 23695 |   ac_sub_configure_args= | 
 | 23696 |   ac_prev= | 
 | 23697 |   for ac_arg in $ac_configure_args; do | 
 | 23698 |     if test -n "$ac_prev"; then | 
 | 23699 |       ac_prev= | 
 | 23700 |       continue | 
 | 23701 |     fi | 
 | 23702 |     case $ac_arg in | 
 | 23703 |     -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
 | 23704 |     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
 | 23705 |       ac_prev=cache_file ;; | 
 | 23706 |     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
 | 23707 |     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ | 
 | 23708 |     | --c=*) | 
 | 23709 |       ;; | 
 | 23710 |     --config-cache | -C) | 
 | 23711 |       ;; | 
 | 23712 |     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
 | 23713 |       ac_prev=srcdir ;; | 
 | 23714 |     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
 | 23715 |       ;; | 
 | 23716 |     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
 | 23717 |       ac_prev=prefix ;; | 
 | 23718 |     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
 | 23719 |       ;; | 
 | 23720 |     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; | 
 | 23721 |     esac | 
 | 23722 |   done | 
 | 23723 |  | 
 | 23724 |   # Always prepend --prefix to ensure using the same prefix | 
 | 23725 |   # in subdir configurations. | 
 | 23726 |   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" | 
 | 23727 |  | 
 | 23728 |   ac_popdir=`pwd` | 
 | 23729 |   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue | 
 | 23730 |  | 
 | 23731 |     # Do not complain, so a configure script can configure whichever | 
 | 23732 |     # parts of a large source tree are present. | 
 | 23733 |     test -d $srcdir/$ac_dir || continue | 
 | 23734 |  | 
 | 23735 |     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 | 
 | 23736 | echo "$as_me: configuring in $ac_dir" >&6;} | 
 | 23737 |     { if $as_mkdir_p; then | 
 | 23738 |     mkdir -p "$ac_dir" | 
 | 23739 |   else | 
 | 23740 |     as_dir="$ac_dir" | 
 | 23741 |     as_dirs= | 
 | 23742 |     while test ! -d "$as_dir"; do | 
 | 23743 |       as_dirs="$as_dir $as_dirs" | 
 | 23744 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
 | 23745 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 23746 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
 | 23747 |          X"$as_dir" : 'X\(//\)$' \| \ | 
 | 23748 |          X"$as_dir" : 'X\(/\)' \| \ | 
 | 23749 |          .     : '\(.\)' 2>/dev/null || | 
 | 23750 | echo X"$as_dir" | | 
 | 23751 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 23752 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 23753 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 23754 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 23755 |   	  s/.*/./; q'` | 
 | 23756 |     done | 
 | 23757 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
 | 23758 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
 | 23759 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
 | 23760 |    { (exit 1); exit 1; }; }; } | 
 | 23761 |  | 
 | 23762 |     ac_builddir=. | 
 | 23763 |  | 
 | 23764 | if test "$ac_dir" != .; then | 
 | 23765 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 23766 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 23767 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 23768 | else | 
 | 23769 |   ac_dir_suffix= ac_top_builddir= | 
 | 23770 | fi | 
 | 23771 |  | 
 | 23772 | case $srcdir in | 
 | 23773 |   .)  # No --srcdir option.  We are building in place. | 
 | 23774 |     ac_srcdir=. | 
 | 23775 |     if test -z "$ac_top_builddir"; then | 
 | 23776 |        ac_top_srcdir=. | 
 | 23777 |     else | 
 | 23778 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 23779 |     fi ;; | 
 | 23780 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 23781 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 23782 |     ac_top_srcdir=$srcdir ;; | 
 | 23783 |   *) # Relative path. | 
 | 23784 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 23785 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 23786 | esac | 
 | 23787 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 23788 | # absolute. | 
 | 23789 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
 | 23790 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
 | 23791 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 23792 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 23793 |  | 
 | 23794 |  | 
 | 23795 |     cd $ac_dir | 
 | 23796 |  | 
 | 23797 |     # Check for guested configure; otherwise get Cygnus style configure. | 
 | 23798 |     if test -f $ac_srcdir/configure.gnu; then | 
 | 23799 |       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" | 
 | 23800 |     elif test -f $ac_srcdir/configure; then | 
 | 23801 |       ac_sub_configure="$SHELL '$ac_srcdir/configure'" | 
 | 23802 |     elif test -f $ac_srcdir/configure.in; then | 
 | 23803 |       ac_sub_configure=$ac_configure | 
 | 23804 |     else | 
 | 23805 |       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 | 
 | 23806 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} | 
 | 23807 |       ac_sub_configure= | 
 | 23808 |     fi | 
 | 23809 |  | 
 | 23810 |     # The recursion is here. | 
 | 23811 |     if test -n "$ac_sub_configure"; then | 
 | 23812 |       # Make the cache file name correct relative to the subdirectory. | 
 | 23813 |       case $cache_file in | 
 | 23814 |       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; | 
 | 23815 |       *) # Relative path. | 
 | 23816 |         ac_sub_cache_file=$ac_top_builddir$cache_file ;; | 
 | 23817 |       esac | 
 | 23818 |  | 
 | 23819 |       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 | 
 | 23820 | echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} | 
 | 23821 |       # The eval makes quoting arguments work. | 
 | 23822 |       eval $ac_sub_configure $ac_sub_configure_args \ | 
 | 23823 |            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || | 
 | 23824 |         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 | 
 | 23825 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} | 
 | 23826 |    { (exit 1); exit 1; }; } | 
 | 23827 |     fi | 
 | 23828 |  | 
 | 23829 |     cd $ac_popdir | 
 | 23830 |   done | 
 | 23831 | fi | 
 | 23832 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 23833 |  | 
 | 23834 | if test $llvmgccwarn = yes | 
 | 23835 | then | 
 | 23836 | 	{ echo "$as_me:$LINENO: WARNING: ***** llvm C/C++ front end was not found, or does not" >&5 | 
 | 23837 | echo "$as_me: WARNING: ***** llvm C/C++ front end was not found, or does not" >&2;} | 
 | 23838 | 	{ echo "$as_me:$LINENO: WARNING: ***** appear to be working." >&5 | 
 | 23839 | echo "$as_me: WARNING: ***** appear to be working." >&2;} | 
 | 23840 | 	{ echo "$as_me:$LINENO: WARNING: ***** " >&5 | 
 | 23841 | echo "$as_me: WARNING: ***** " >&2;} | 
 | 23842 | 	{ echo "$as_me:$LINENO: WARNING: ***** Please check configure's --with-llvmgccdir option." >&5 | 
 | 23843 | echo "$as_me: WARNING: ***** Please check configure's --with-llvmgccdir option." >&2;} | 
 | 23844 | 	{ echo "$as_me:$LINENO: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&5 | 
 | 23845 | echo "$as_me: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&2;} | 
 | 23846 | 	{ echo "$as_me:$LINENO: WARNING: ***** but you should be able to build the llvm tools." >&5 | 
 | 23847 | echo "$as_me: WARNING: ***** but you should be able to build the llvm tools." >&2;} | 
 | 23848 | fi | 
| Brian Gaeke | 554831c | 2004-01-21 19:39:29 +0000 | [diff] [blame] | 23849 |  |