| 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. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3 | # Generated by GNU Autoconf 2.57 for [LLVM] [1.0]. | 
| 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--' | 
 | 425 | PACKAGE_VERSION='[1.0]' | 
 | 426 | PACKAGE_STRING='[LLVM] [1.0]' | 
 | 427 | PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu' | 
 | 428 |  | 
| John Criswell | 7ec78aa | 2003-10-16 01:49:00 +0000 | [diff] [blame] | 429 | ac_subdirs_all="$ac_subdirs_all projects/sample" | 
| John Criswell | 12399a1 | 2003-09-30 15:55:44 +0000 | [diff] [blame] | 430 | ac_subdirs_all="$ac_subdirs_all projects/reopt" | 
| John Criswell | 559a6c1 | 2003-09-30 16:31:48 +0000 | [diff] [blame] | 431 | ac_subdirs_all="$ac_subdirs_all projects/poolalloc" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 432 | # Factoring default headers for most tests. | 
 | 433 | ac_includes_default="\ | 
 | 434 | #include <stdio.h> | 
 | 435 | #if HAVE_SYS_TYPES_H | 
 | 436 | # include <sys/types.h> | 
 | 437 | #endif | 
 | 438 | #if HAVE_SYS_STAT_H | 
 | 439 | # include <sys/stat.h> | 
 | 440 | #endif | 
 | 441 | #if STDC_HEADERS | 
 | 442 | # include <stdlib.h> | 
 | 443 | # include <stddef.h> | 
 | 444 | #else | 
 | 445 | # if HAVE_STDLIB_H | 
 | 446 | #  include <stdlib.h> | 
 | 447 | # endif | 
 | 448 | #endif | 
 | 449 | #if HAVE_STRING_H | 
 | 450 | # if !STDC_HEADERS && HAVE_MEMORY_H | 
 | 451 | #  include <memory.h> | 
 | 452 | # endif | 
 | 453 | # include <string.h> | 
 | 454 | #endif | 
 | 455 | #if HAVE_STRINGS_H | 
 | 456 | # include <strings.h> | 
 | 457 | #endif | 
 | 458 | #if HAVE_INTTYPES_H | 
 | 459 | # include <inttypes.h> | 
 | 460 | #else | 
 | 461 | # if HAVE_STDINT_H | 
 | 462 | #  include <stdint.h> | 
 | 463 | # endif | 
 | 464 | #endif | 
 | 465 | #if HAVE_UNISTD_H | 
 | 466 | # include <unistd.h> | 
 | 467 | #endif" | 
 | 468 |  | 
 | 469 | ac_unique_file=""Makefile.config.in"" | 
| John Criswell | 5512659 | 2003-10-07 21:57:39 +0000 | [diff] [blame] | 470 | 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 EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED SPEC_ROOT USE_SPEC UPB DISABLE_LLC_DIFFS JIT BCR PAPIDIR PURIFY LTLIBOBJS' | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 471 | ac_subst_files='' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 472 |  | 
 | 473 | # Initialize some variables set by options. | 
 | 474 | ac_init_help= | 
 | 475 | ac_init_version=false | 
 | 476 | # The variables have the same names as the options, with | 
 | 477 | # dashes changed to underlines. | 
 | 478 | cache_file=/dev/null | 
 | 479 | exec_prefix=NONE | 
 | 480 | no_create= | 
 | 481 | no_recursion= | 
 | 482 | prefix=NONE | 
 | 483 | program_prefix=NONE | 
 | 484 | program_suffix=NONE | 
 | 485 | program_transform_name=s,x,x, | 
 | 486 | silent= | 
 | 487 | site= | 
 | 488 | srcdir= | 
 | 489 | verbose= | 
 | 490 | x_includes=NONE | 
 | 491 | x_libraries=NONE | 
 | 492 |  | 
 | 493 | # Installation directory options. | 
 | 494 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
 | 495 | # and all the variables that are supposed to be based on exec_prefix | 
 | 496 | # by default will actually change. | 
 | 497 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
 | 498 | bindir='${exec_prefix}/bin' | 
 | 499 | sbindir='${exec_prefix}/sbin' | 
 | 500 | libexecdir='${exec_prefix}/libexec' | 
 | 501 | datadir='${prefix}/share' | 
 | 502 | sysconfdir='${prefix}/etc' | 
 | 503 | sharedstatedir='${prefix}/com' | 
 | 504 | localstatedir='${prefix}/var' | 
 | 505 | libdir='${exec_prefix}/lib' | 
 | 506 | includedir='${prefix}/include' | 
 | 507 | oldincludedir='/usr/include' | 
 | 508 | infodir='${prefix}/info' | 
 | 509 | mandir='${prefix}/man' | 
 | 510 |  | 
 | 511 | ac_prev= | 
 | 512 | for ac_option | 
 | 513 | do | 
 | 514 |   # If the previous option needs an argument, assign it. | 
 | 515 |   if test -n "$ac_prev"; then | 
 | 516 |     eval "$ac_prev=\$ac_option" | 
 | 517 |     ac_prev= | 
 | 518 |     continue | 
 | 519 |   fi | 
 | 520 |  | 
 | 521 |   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 
 | 522 |  | 
 | 523 |   # Accept the important Cygnus configure options, so we can diagnose typos. | 
 | 524 |  | 
 | 525 |   case $ac_option in | 
 | 526 |  | 
 | 527 |   -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
 | 528 |     ac_prev=bindir ;; | 
 | 529 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
 | 530 |     bindir=$ac_optarg ;; | 
 | 531 |  | 
 | 532 |   -build | --build | --buil | --bui | --bu) | 
 | 533 |     ac_prev=build_alias ;; | 
 | 534 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
 | 535 |     build_alias=$ac_optarg ;; | 
 | 536 |  | 
 | 537 |   -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
 | 538 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
 | 539 |     ac_prev=cache_file ;; | 
 | 540 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
 | 541 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
 | 542 |     cache_file=$ac_optarg ;; | 
 | 543 |  | 
 | 544 |   --config-cache | -C) | 
 | 545 |     cache_file=config.cache ;; | 
 | 546 |  | 
 | 547 |   -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 
 | 548 |     ac_prev=datadir ;; | 
 | 549 |   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 
 | 550 |   | --da=*) | 
 | 551 |     datadir=$ac_optarg ;; | 
 | 552 |  | 
 | 553 |   -disable-* | --disable-*) | 
 | 554 |     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
 | 555 |     # Reject names that are not valid shell variable names. | 
 | 556 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 557 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
 | 558 |    { (exit 1); exit 1; }; } | 
 | 559 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
 | 560 |     eval "enable_$ac_feature=no" ;; | 
 | 561 |  | 
 | 562 |   -enable-* | --enable-*) | 
 | 563 |     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
 | 564 |     # Reject names that are not valid shell variable names. | 
 | 565 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 566 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
 | 567 |    { (exit 1); exit 1; }; } | 
 | 568 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
 | 569 |     case $ac_option in | 
 | 570 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
 | 571 |       *) ac_optarg=yes ;; | 
 | 572 |     esac | 
 | 573 |     eval "enable_$ac_feature='$ac_optarg'" ;; | 
 | 574 |  | 
 | 575 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
 | 576 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
 | 577 |   | --exec | --exe | --ex) | 
 | 578 |     ac_prev=exec_prefix ;; | 
 | 579 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
 | 580 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
 | 581 |   | --exec=* | --exe=* | --ex=*) | 
 | 582 |     exec_prefix=$ac_optarg ;; | 
 | 583 |  | 
 | 584 |   -gas | --gas | --ga | --g) | 
 | 585 |     # Obsolete; use --with-gas. | 
 | 586 |     with_gas=yes ;; | 
 | 587 |  | 
 | 588 |   -help | --help | --hel | --he | -h) | 
 | 589 |     ac_init_help=long ;; | 
 | 590 |   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
 | 591 |     ac_init_help=recursive ;; | 
 | 592 |   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
 | 593 |     ac_init_help=short ;; | 
 | 594 |  | 
 | 595 |   -host | --host | --hos | --ho) | 
 | 596 |     ac_prev=host_alias ;; | 
 | 597 |   -host=* | --host=* | --hos=* | --ho=*) | 
 | 598 |     host_alias=$ac_optarg ;; | 
 | 599 |  | 
 | 600 |   -includedir | --includedir | --includedi | --included | --include \ | 
 | 601 |   | --includ | --inclu | --incl | --inc) | 
 | 602 |     ac_prev=includedir ;; | 
 | 603 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
 | 604 |   | --includ=* | --inclu=* | --incl=* | --inc=*) | 
 | 605 |     includedir=$ac_optarg ;; | 
 | 606 |  | 
 | 607 |   -infodir | --infodir | --infodi | --infod | --info | --inf) | 
 | 608 |     ac_prev=infodir ;; | 
 | 609 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
 | 610 |     infodir=$ac_optarg ;; | 
 | 611 |  | 
 | 612 |   -libdir | --libdir | --libdi | --libd) | 
 | 613 |     ac_prev=libdir ;; | 
 | 614 |   -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
 | 615 |     libdir=$ac_optarg ;; | 
 | 616 |  | 
 | 617 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
 | 618 |   | --libexe | --libex | --libe) | 
 | 619 |     ac_prev=libexecdir ;; | 
 | 620 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
 | 621 |   | --libexe=* | --libex=* | --libe=*) | 
 | 622 |     libexecdir=$ac_optarg ;; | 
 | 623 |  | 
 | 624 |   -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
 | 625 |   | --localstate | --localstat | --localsta | --localst \ | 
 | 626 |   | --locals | --local | --loca | --loc | --lo) | 
 | 627 |     ac_prev=localstatedir ;; | 
 | 628 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
 | 629 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 
 | 630 |   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 
 | 631 |     localstatedir=$ac_optarg ;; | 
 | 632 |  | 
 | 633 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
 | 634 |     ac_prev=mandir ;; | 
 | 635 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
 | 636 |     mandir=$ac_optarg ;; | 
 | 637 |  | 
 | 638 |   -nfp | --nfp | --nf) | 
 | 639 |     # Obsolete; use --without-fp. | 
 | 640 |     with_fp=no ;; | 
 | 641 |  | 
 | 642 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
 | 643 |   | --no-cr | --no-c | -n) | 
 | 644 |     no_create=yes ;; | 
 | 645 |  | 
 | 646 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
 | 647 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
 | 648 |     no_recursion=yes ;; | 
 | 649 |  | 
 | 650 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
 | 651 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
 | 652 |   | --oldin | --oldi | --old | --ol | --o) | 
 | 653 |     ac_prev=oldincludedir ;; | 
 | 654 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
 | 655 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
 | 656 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
 | 657 |     oldincludedir=$ac_optarg ;; | 
 | 658 |  | 
 | 659 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
 | 660 |     ac_prev=prefix ;; | 
 | 661 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
 | 662 |     prefix=$ac_optarg ;; | 
 | 663 |  | 
 | 664 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
 | 665 |   | --program-pre | --program-pr | --program-p) | 
 | 666 |     ac_prev=program_prefix ;; | 
 | 667 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
 | 668 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
 | 669 |     program_prefix=$ac_optarg ;; | 
 | 670 |  | 
 | 671 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
 | 672 |   | --program-suf | --program-su | --program-s) | 
 | 673 |     ac_prev=program_suffix ;; | 
 | 674 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
 | 675 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
 | 676 |     program_suffix=$ac_optarg ;; | 
 | 677 |  | 
 | 678 |   -program-transform-name | --program-transform-name \ | 
 | 679 |   | --program-transform-nam | --program-transform-na \ | 
 | 680 |   | --program-transform-n | --program-transform- \ | 
 | 681 |   | --program-transform | --program-transfor \ | 
 | 682 |   | --program-transfo | --program-transf \ | 
 | 683 |   | --program-trans | --program-tran \ | 
 | 684 |   | --progr-tra | --program-tr | --program-t) | 
 | 685 |     ac_prev=program_transform_name ;; | 
 | 686 |   -program-transform-name=* | --program-transform-name=* \ | 
 | 687 |   | --program-transform-nam=* | --program-transform-na=* \ | 
 | 688 |   | --program-transform-n=* | --program-transform-=* \ | 
 | 689 |   | --program-transform=* | --program-transfor=* \ | 
 | 690 |   | --program-transfo=* | --program-transf=* \ | 
 | 691 |   | --program-trans=* | --program-tran=* \ | 
 | 692 |   | --progr-tra=* | --program-tr=* | --program-t=*) | 
 | 693 |     program_transform_name=$ac_optarg ;; | 
 | 694 |  | 
 | 695 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
 | 696 |   | -silent | --silent | --silen | --sile | --sil) | 
 | 697 |     silent=yes ;; | 
 | 698 |  | 
 | 699 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
 | 700 |     ac_prev=sbindir ;; | 
 | 701 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
 | 702 |   | --sbi=* | --sb=*) | 
 | 703 |     sbindir=$ac_optarg ;; | 
 | 704 |  | 
 | 705 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
 | 706 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
 | 707 |   | --sharedst | --shareds | --shared | --share | --shar \ | 
 | 708 |   | --sha | --sh) | 
 | 709 |     ac_prev=sharedstatedir ;; | 
 | 710 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
 | 711 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
 | 712 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
 | 713 |   | --sha=* | --sh=*) | 
 | 714 |     sharedstatedir=$ac_optarg ;; | 
 | 715 |  | 
 | 716 |   -site | --site | --sit) | 
 | 717 |     ac_prev=site ;; | 
 | 718 |   -site=* | --site=* | --sit=*) | 
 | 719 |     site=$ac_optarg ;; | 
 | 720 |  | 
 | 721 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
 | 722 |     ac_prev=srcdir ;; | 
 | 723 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
 | 724 |     srcdir=$ac_optarg ;; | 
 | 725 |  | 
 | 726 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
 | 727 |   | --syscon | --sysco | --sysc | --sys | --sy) | 
 | 728 |     ac_prev=sysconfdir ;; | 
 | 729 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
 | 730 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
 | 731 |     sysconfdir=$ac_optarg ;; | 
 | 732 |  | 
 | 733 |   -target | --target | --targe | --targ | --tar | --ta | --t) | 
 | 734 |     ac_prev=target_alias ;; | 
 | 735 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
 | 736 |     target_alias=$ac_optarg ;; | 
 | 737 |  | 
 | 738 |   -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
 | 739 |     verbose=yes ;; | 
 | 740 |  | 
 | 741 |   -version | --version | --versio | --versi | --vers | -V) | 
 | 742 |     ac_init_version=: ;; | 
 | 743 |  | 
 | 744 |   -with-* | --with-*) | 
 | 745 |     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
 | 746 |     # Reject names that are not valid shell variable names. | 
 | 747 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 748 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
 | 749 |    { (exit 1); exit 1; }; } | 
 | 750 |     ac_package=`echo $ac_package| sed 's/-/_/g'` | 
 | 751 |     case $ac_option in | 
 | 752 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
 | 753 |       *) ac_optarg=yes ;; | 
 | 754 |     esac | 
 | 755 |     eval "with_$ac_package='$ac_optarg'" ;; | 
 | 756 |  | 
 | 757 |   -without-* | --without-*) | 
 | 758 |     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
 | 759 |     # Reject names that are not valid shell variable names. | 
 | 760 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 761 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
 | 762 |    { (exit 1); exit 1; }; } | 
 | 763 |     ac_package=`echo $ac_package | sed 's/-/_/g'` | 
 | 764 |     eval "with_$ac_package=no" ;; | 
 | 765 |  | 
 | 766 |   --x) | 
 | 767 |     # Obsolete; use --with-x. | 
 | 768 |     with_x=yes ;; | 
 | 769 |  | 
 | 770 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
 | 771 |   | --x-incl | --x-inc | --x-in | --x-i) | 
 | 772 |     ac_prev=x_includes ;; | 
 | 773 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
 | 774 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
 | 775 |     x_includes=$ac_optarg ;; | 
 | 776 |  | 
 | 777 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
 | 778 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
 | 779 |     ac_prev=x_libraries ;; | 
 | 780 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
 | 781 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
 | 782 |     x_libraries=$ac_optarg ;; | 
 | 783 |  | 
 | 784 |   -*) { echo "$as_me: error: unrecognized option: $ac_option | 
 | 785 | Try \`$0 --help' for more information." >&2 | 
 | 786 |    { (exit 1); exit 1; }; } | 
 | 787 |     ;; | 
 | 788 |  | 
 | 789 |   *=*) | 
 | 790 |     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
 | 791 |     # Reject names that are not valid shell variable names. | 
 | 792 |     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 
 | 793 |       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 
 | 794 |    { (exit 1); exit 1; }; } | 
 | 795 |     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 
 | 796 |     eval "$ac_envvar='$ac_optarg'" | 
 | 797 |     export $ac_envvar ;; | 
 | 798 |  | 
 | 799 |   *) | 
 | 800 |     # FIXME: should be removed in autoconf 3.0. | 
 | 801 |     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
 | 802 |     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
 | 803 |       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
 | 804 |     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 
 | 805 |     ;; | 
 | 806 |  | 
 | 807 |   esac | 
 | 808 | done | 
 | 809 |  | 
 | 810 | if test -n "$ac_prev"; then | 
 | 811 |   ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
 | 812 |   { echo "$as_me: error: missing argument to $ac_option" >&2 | 
 | 813 |    { (exit 1); exit 1; }; } | 
 | 814 | fi | 
 | 815 |  | 
 | 816 | # Be sure to have absolute paths. | 
 | 817 | for ac_var in exec_prefix prefix | 
 | 818 | do | 
 | 819 |   eval ac_val=$`echo $ac_var` | 
 | 820 |   case $ac_val in | 
 | 821 |     [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 
 | 822 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
 | 823 |    { (exit 1); exit 1; }; };; | 
 | 824 |   esac | 
 | 825 | done | 
 | 826 |  | 
 | 827 | # Be sure to have absolute paths. | 
 | 828 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 
 | 829 |               localstatedir libdir includedir oldincludedir infodir mandir | 
 | 830 | do | 
 | 831 |   eval ac_val=$`echo $ac_var` | 
 | 832 |   case $ac_val in | 
 | 833 |     [\\/$]* | ?:[\\/]* ) ;; | 
 | 834 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
 | 835 |    { (exit 1); exit 1; }; };; | 
 | 836 |   esac | 
 | 837 | done | 
 | 838 |  | 
 | 839 | # There might be people who depend on the old broken behavior: `$host' | 
 | 840 | # used to hold the argument of --host etc. | 
 | 841 | # FIXME: To remove some day. | 
 | 842 | build=$build_alias | 
 | 843 | host=$host_alias | 
 | 844 | target=$target_alias | 
 | 845 |  | 
 | 846 | # FIXME: To remove some day. | 
 | 847 | if test "x$host_alias" != x; then | 
 | 848 |   if test "x$build_alias" = x; then | 
 | 849 |     cross_compiling=maybe | 
 | 850 |     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 
 | 851 |     If a cross compiler is detected then cross compile mode will be used." >&2 | 
 | 852 |   elif test "x$build_alias" != "x$host_alias"; then | 
 | 853 |     cross_compiling=yes | 
 | 854 |   fi | 
 | 855 | fi | 
 | 856 |  | 
 | 857 | ac_tool_prefix= | 
 | 858 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
 | 859 |  | 
 | 860 | test "$silent" = yes && exec 6>/dev/null | 
 | 861 |  | 
 | 862 |  | 
 | 863 | # Find the source files, if location was not specified. | 
 | 864 | if test -z "$srcdir"; then | 
 | 865 |   ac_srcdir_defaulted=yes | 
 | 866 |   # Try the directory containing this script, then its parent. | 
 | 867 |   ac_confdir=`(dirname "$0") 2>/dev/null || | 
 | 868 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 869 |          X"$0" : 'X\(//\)[^/]' \| \ | 
 | 870 |          X"$0" : 'X\(//\)$' \| \ | 
 | 871 |          X"$0" : 'X\(/\)' \| \ | 
 | 872 |          .     : '\(.\)' 2>/dev/null || | 
 | 873 | echo X"$0" | | 
 | 874 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 875 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 876 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 877 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 878 |   	  s/.*/./; q'` | 
 | 879 |   srcdir=$ac_confdir | 
 | 880 |   if test ! -r $srcdir/$ac_unique_file; then | 
 | 881 |     srcdir=.. | 
 | 882 |   fi | 
 | 883 | else | 
 | 884 |   ac_srcdir_defaulted=no | 
 | 885 | fi | 
 | 886 | if test ! -r $srcdir/$ac_unique_file; then | 
 | 887 |   if test "$ac_srcdir_defaulted" = yes; then | 
 | 888 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 
 | 889 |    { (exit 1); exit 1; }; } | 
 | 890 |   else | 
 | 891 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 
 | 892 |    { (exit 1); exit 1; }; } | 
 | 893 |   fi | 
 | 894 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 895 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 
 | 896 |   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 
 | 897 |    { (exit 1); exit 1; }; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 898 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 
 | 899 | ac_env_build_alias_set=${build_alias+set} | 
 | 900 | ac_env_build_alias_value=$build_alias | 
 | 901 | ac_cv_env_build_alias_set=${build_alias+set} | 
 | 902 | ac_cv_env_build_alias_value=$build_alias | 
 | 903 | ac_env_host_alias_set=${host_alias+set} | 
 | 904 | ac_env_host_alias_value=$host_alias | 
 | 905 | ac_cv_env_host_alias_set=${host_alias+set} | 
 | 906 | ac_cv_env_host_alias_value=$host_alias | 
 | 907 | ac_env_target_alias_set=${target_alias+set} | 
 | 908 | ac_env_target_alias_value=$target_alias | 
 | 909 | ac_cv_env_target_alias_set=${target_alias+set} | 
 | 910 | ac_cv_env_target_alias_value=$target_alias | 
 | 911 | ac_env_CXX_set=${CXX+set} | 
 | 912 | ac_env_CXX_value=$CXX | 
 | 913 | ac_cv_env_CXX_set=${CXX+set} | 
 | 914 | ac_cv_env_CXX_value=$CXX | 
 | 915 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | 
 | 916 | ac_env_CXXFLAGS_value=$CXXFLAGS | 
 | 917 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | 
 | 918 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | 
 | 919 | ac_env_LDFLAGS_set=${LDFLAGS+set} | 
 | 920 | ac_env_LDFLAGS_value=$LDFLAGS | 
 | 921 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | 
 | 922 | ac_cv_env_LDFLAGS_value=$LDFLAGS | 
 | 923 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | 
 | 924 | ac_env_CPPFLAGS_value=$CPPFLAGS | 
 | 925 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | 
 | 926 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | 
 | 927 | ac_env_CC_set=${CC+set} | 
 | 928 | ac_env_CC_value=$CC | 
 | 929 | ac_cv_env_CC_set=${CC+set} | 
 | 930 | ac_cv_env_CC_value=$CC | 
 | 931 | ac_env_CFLAGS_set=${CFLAGS+set} | 
 | 932 | ac_env_CFLAGS_value=$CFLAGS | 
 | 933 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | 
 | 934 | ac_cv_env_CFLAGS_value=$CFLAGS | 
 | 935 | ac_env_CPP_set=${CPP+set} | 
 | 936 | ac_env_CPP_value=$CPP | 
 | 937 | ac_cv_env_CPP_set=${CPP+set} | 
 | 938 | ac_cv_env_CPP_value=$CPP | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 939 | ac_env_CXXCPP_set=${CXXCPP+set} | 
 | 940 | ac_env_CXXCPP_value=$CXXCPP | 
 | 941 | ac_cv_env_CXXCPP_set=${CXXCPP+set} | 
 | 942 | ac_cv_env_CXXCPP_value=$CXXCPP | 
 | 943 | ac_env_F77_set=${F77+set} | 
 | 944 | ac_env_F77_value=$F77 | 
 | 945 | ac_cv_env_F77_set=${F77+set} | 
 | 946 | ac_cv_env_F77_value=$F77 | 
 | 947 | ac_env_FFLAGS_set=${FFLAGS+set} | 
 | 948 | ac_env_FFLAGS_value=$FFLAGS | 
 | 949 | ac_cv_env_FFLAGS_set=${FFLAGS+set} | 
 | 950 | ac_cv_env_FFLAGS_value=$FFLAGS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 951 |  | 
 | 952 | # | 
 | 953 | # Report the --help message. | 
 | 954 | # | 
 | 955 | if test "$ac_init_help" = "long"; then | 
 | 956 |   # Omit some internal or obsolete options to make the list less imposing. | 
 | 957 |   # This message is too long to be a string in the A/UX 3.1 sh. | 
 | 958 |   cat <<_ACEOF | 
 | 959 | \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems. | 
 | 960 |  | 
 | 961 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
 | 962 |  | 
 | 963 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
 | 964 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
 | 965 |  | 
 | 966 | Defaults for the options are specified in brackets. | 
 | 967 |  | 
 | 968 | Configuration: | 
 | 969 |   -h, --help              display this help and exit | 
 | 970 |       --help=short        display options specific to this package | 
 | 971 |       --help=recursive    display the short help of all the included packages | 
 | 972 |   -V, --version           display version information and exit | 
 | 973 |   -q, --quiet, --silent   do not print \`checking...' messages | 
 | 974 |       --cache-file=FILE   cache test results in FILE [disabled] | 
 | 975 |   -C, --config-cache      alias for \`--cache-file=config.cache' | 
 | 976 |   -n, --no-create         do not create output files | 
 | 977 |       --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
 | 978 |  | 
 | 979 | _ACEOF | 
 | 980 |  | 
 | 981 |   cat <<_ACEOF | 
 | 982 | Installation directories: | 
 | 983 |   --prefix=PREFIX         install architecture-independent files in PREFIX | 
 | 984 |                           [$ac_default_prefix] | 
 | 985 |   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
 | 986 |                           [PREFIX] | 
 | 987 |  | 
 | 988 | By default, \`make install' will install all the files in | 
 | 989 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
 | 990 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
 | 991 | for instance \`--prefix=\$HOME'. | 
 | 992 |  | 
 | 993 | For better control, use the options below. | 
 | 994 |  | 
 | 995 | Fine tuning of the installation directories: | 
 | 996 |   --bindir=DIR           user executables [EPREFIX/bin] | 
 | 997 |   --sbindir=DIR          system admin executables [EPREFIX/sbin] | 
 | 998 |   --libexecdir=DIR       program executables [EPREFIX/libexec] | 
 | 999 |   --datadir=DIR          read-only architecture-independent data [PREFIX/share] | 
 | 1000 |   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] | 
 | 1001 |   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] | 
 | 1002 |   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] | 
 | 1003 |   --libdir=DIR           object code libraries [EPREFIX/lib] | 
 | 1004 |   --includedir=DIR       C header files [PREFIX/include] | 
 | 1005 |   --oldincludedir=DIR    C header files for non-gcc [/usr/include] | 
 | 1006 |   --infodir=DIR          info documentation [PREFIX/info] | 
 | 1007 |   --mandir=DIR           man documentation [PREFIX/man] | 
 | 1008 | _ACEOF | 
 | 1009 |  | 
 | 1010 |   cat <<\_ACEOF | 
 | 1011 |  | 
 | 1012 | System types: | 
 | 1013 |   --build=BUILD     configure for building on BUILD [guessed] | 
 | 1014 |   --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
 | 1015 |   --target=TARGET   configure for building compilers for TARGET [HOST] | 
 | 1016 | _ACEOF | 
 | 1017 | fi | 
 | 1018 |  | 
 | 1019 | if test -n "$ac_init_help"; then | 
 | 1020 |   case $ac_init_help in | 
 | 1021 |      short | recursive ) echo "Configuration of [LLVM] [1.0]:";; | 
 | 1022 |    esac | 
 | 1023 |   cat <<\_ACEOF | 
 | 1024 |  | 
 | 1025 | Optional Features: | 
 | 1026 |   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
 | 1027 |   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 1028 |   --enable-shared[=PKGS] | 
 | 1029 |                           build shared libraries [default=yes] | 
 | 1030 |   --enable-static[=PKGS] | 
 | 1031 |                           build static libraries [default=yes] | 
 | 1032 |   --enable-fast-install[=PKGS] | 
 | 1033 |                           optimize for fast installation [default=yes] | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1034 |   --disable-libtool-lock  avoid locking (might break parallel builds) | 
 | 1035 |   --enable-purify         Compile with purify (default is NO) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1036 |   --enable-optimized      Compile with optimizations enabled (default is NO) | 
| John Criswell | 5512659 | 2003-10-07 21:57:39 +0000 | [diff] [blame] | 1037 |   --enable-spec           Compile SPEC 2000 benchmarks (default is NO) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1038 |   --enable-precompiled_bytecode | 
 | 1039 |                           Use pre-compiled bytecode (default is NO) | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 1040 |   --enable-llc_diffs      Enable LLC Diffs when testing (default is YES) | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 1041 |   --enable-jit            Enable Just In Time Compiling (default is YES) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1042 |  | 
 | 1043 | Optional Packages: | 
 | 1044 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
 | 1045 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 1046 |   --with-gnu-ld           assume the C compiler uses GNU ld [default=no] | 
 | 1047 |   --with-pic              try to use only PIC/non-PIC objects [default=use | 
 | 1048 |                           both] | 
 | 1049 |   --with-tags[=TAGS] | 
 | 1050 |                           include additional configurations [automatic] | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1051 |   --with-llvmgccdir       Location of LLVM GCC front-end | 
 | 1052 |   --with-bcrepos          Location of Bytecode Repository | 
 | 1053 |   --with-papi             Location of PAPI | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 1054 |   --with-purify           Location of purify program | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1055 |  | 
 | 1056 | Some influential environment variables: | 
 | 1057 |   CXX         C++ compiler command | 
 | 1058 |   CXXFLAGS    C++ compiler flags | 
 | 1059 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
 | 1060 |               nonstandard directory <lib dir> | 
 | 1061 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
 | 1062 |               headers in a nonstandard directory <include dir> | 
 | 1063 |   CC          C compiler command | 
 | 1064 |   CFLAGS      C compiler flags | 
 | 1065 |   CPP         C preprocessor | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 1066 |   CXXCPP      C++ preprocessor | 
 | 1067 |   F77         Fortran 77 compiler command | 
 | 1068 |   FFLAGS      Fortran 77 compiler flags | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1069 |  | 
 | 1070 | Use these variables to override the choices made by `configure' or to help | 
 | 1071 | it to find libraries and programs with nonstandard names/locations. | 
 | 1072 |  | 
 | 1073 | Report bugs to <llvmbugs@cs.uiuc.edu>. | 
 | 1074 | _ACEOF | 
 | 1075 | fi | 
 | 1076 |  | 
 | 1077 | if test "$ac_init_help" = "recursive"; then | 
 | 1078 |   # If there are subdirs, report their specific --help. | 
 | 1079 |   ac_popdir=`pwd` | 
 | 1080 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
 | 1081 |     test -d $ac_dir || continue | 
 | 1082 |     ac_builddir=. | 
 | 1083 |  | 
 | 1084 | if test "$ac_dir" != .; then | 
 | 1085 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 1086 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 1087 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 1088 | else | 
 | 1089 |   ac_dir_suffix= ac_top_builddir= | 
 | 1090 | fi | 
 | 1091 |  | 
 | 1092 | case $srcdir in | 
 | 1093 |   .)  # No --srcdir option.  We are building in place. | 
 | 1094 |     ac_srcdir=. | 
 | 1095 |     if test -z "$ac_top_builddir"; then | 
 | 1096 |        ac_top_srcdir=. | 
 | 1097 |     else | 
 | 1098 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 1099 |     fi ;; | 
 | 1100 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 1101 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 1102 |     ac_top_srcdir=$srcdir ;; | 
 | 1103 |   *) # Relative path. | 
 | 1104 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 1105 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 1106 | esac | 
 | 1107 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 1108 | # absolute. | 
 | 1109 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1110 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1111 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 1112 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 1113 |  | 
 | 1114 |     cd $ac_dir | 
 | 1115 |     # Check for guested configure; otherwise get Cygnus style configure. | 
 | 1116 |     if test -f $ac_srcdir/configure.gnu; then | 
 | 1117 |       echo | 
 | 1118 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
 | 1119 |     elif test -f $ac_srcdir/configure; then | 
 | 1120 |       echo | 
 | 1121 |       $SHELL $ac_srcdir/configure  --help=recursive | 
 | 1122 |     elif test -f $ac_srcdir/configure.ac || | 
 | 1123 |            test -f $ac_srcdir/configure.in; then | 
 | 1124 |       echo | 
 | 1125 |       $ac_configure --help | 
 | 1126 |     else | 
 | 1127 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
 | 1128 |     fi | 
 | 1129 |     cd $ac_popdir | 
 | 1130 |   done | 
 | 1131 | fi | 
 | 1132 |  | 
 | 1133 | test -n "$ac_init_help" && exit 0 | 
 | 1134 | if $ac_init_version; then | 
 | 1135 |   cat <<\_ACEOF | 
 | 1136 | [LLVM] configure [1.0] | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1137 | generated by GNU Autoconf 2.57 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1138 |  | 
 | 1139 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 
 | 1140 | Free Software Foundation, Inc. | 
 | 1141 | This configure script is free software; the Free Software Foundation | 
 | 1142 | gives unlimited permission to copy, distribute and modify it. | 
 | 1143 | _ACEOF | 
 | 1144 |   exit 0 | 
 | 1145 | fi | 
 | 1146 | exec 5>config.log | 
 | 1147 | cat >&5 <<_ACEOF | 
 | 1148 | This file contains any messages produced by compilers while | 
 | 1149 | running configure, to aid debugging if configure makes a mistake. | 
 | 1150 |  | 
 | 1151 | It was created by [LLVM] $as_me [1.0], which was | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1152 | generated by GNU Autoconf 2.57.  Invocation command line was | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1153 |  | 
 | 1154 |   $ $0 $@ | 
 | 1155 |  | 
 | 1156 | _ACEOF | 
 | 1157 | { | 
 | 1158 | cat <<_ASUNAME | 
 | 1159 | ## --------- ## | 
 | 1160 | ## Platform. ## | 
 | 1161 | ## --------- ## | 
 | 1162 |  | 
 | 1163 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
 | 1164 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
 | 1165 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
 | 1166 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
 | 1167 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
 | 1168 |  | 
 | 1169 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
 | 1170 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
 | 1171 |  | 
 | 1172 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
 | 1173 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
 | 1174 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
 | 1175 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
 | 1176 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
 | 1177 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
 | 1178 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
 | 1179 |  | 
 | 1180 | _ASUNAME | 
 | 1181 |  | 
 | 1182 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1183 | for as_dir in $PATH | 
 | 1184 | do | 
 | 1185 |   IFS=$as_save_IFS | 
 | 1186 |   test -z "$as_dir" && as_dir=. | 
 | 1187 |   echo "PATH: $as_dir" | 
 | 1188 | done | 
 | 1189 |  | 
 | 1190 | } >&5 | 
 | 1191 |  | 
 | 1192 | cat >&5 <<_ACEOF | 
 | 1193 |  | 
 | 1194 |  | 
 | 1195 | ## ----------- ## | 
 | 1196 | ## Core tests. ## | 
 | 1197 | ## ----------- ## | 
 | 1198 |  | 
 | 1199 | _ACEOF | 
 | 1200 |  | 
 | 1201 |  | 
 | 1202 | # Keep a trace of the command line. | 
 | 1203 | # 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] | 1204 | # 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] | 1205 | # Also quote any args containing shell meta-characters. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1206 | # Make two passes to allow for proper duplicate-argument suppression. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1207 | ac_configure_args= | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1208 | ac_configure_args0= | 
 | 1209 | ac_configure_args1= | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1210 | ac_sep= | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1211 | ac_must_keep_next=false | 
 | 1212 | for ac_pass in 1 2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1213 | do | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1214 |   for ac_arg | 
 | 1215 |   do | 
 | 1216 |     case $ac_arg in | 
 | 1217 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
 | 1218 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
 | 1219 |     | -silent | --silent | --silen | --sile | --sil) | 
 | 1220 |       continue ;; | 
 | 1221 |     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
 | 1222 |       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
 | 1223 |     esac | 
 | 1224 |     case $ac_pass in | 
 | 1225 |     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
 | 1226 |     2) | 
 | 1227 |       ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
 | 1228 |       if test $ac_must_keep_next = true; then | 
 | 1229 |         ac_must_keep_next=false # Got value, back to normal. | 
 | 1230 |       else | 
 | 1231 |         case $ac_arg in | 
 | 1232 |           *=* | --config-cache | -C | -disable-* | --disable-* \ | 
 | 1233 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
 | 1234 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
 | 1235 |           | -with-* | --with-* | -without-* | --without-* | --x) | 
 | 1236 |             case "$ac_configure_args0 " in | 
 | 1237 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
 | 1238 |             esac | 
 | 1239 |             ;; | 
 | 1240 |           -* ) ac_must_keep_next=true ;; | 
 | 1241 |         esac | 
 | 1242 |       fi | 
 | 1243 |       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
 | 1244 |       # Get rid of the leading space. | 
 | 1245 |       ac_sep=" " | 
 | 1246 |       ;; | 
 | 1247 |     esac | 
 | 1248 |   done | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1249 | done | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1250 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
 | 1251 | $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] | 1252 |  | 
 | 1253 | # When interrupted or exit'd, cleanup temporary files, and complete | 
 | 1254 | # config.log.  We remove comments because anyway the quotes in there | 
 | 1255 | # would cause problems or look ugly. | 
 | 1256 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
 | 1257 | # such as our DU 5.0 friend, will then `close' the trap. | 
 | 1258 | trap 'exit_status=$? | 
 | 1259 |   # Save into config.log some information that might help in debugging. | 
 | 1260 |   { | 
 | 1261 |     echo | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1262 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1263 |     cat <<\_ASBOX | 
 | 1264 | ## ---------------- ## | 
 | 1265 | ## Cache variables. ## | 
 | 1266 | ## ---------------- ## | 
 | 1267 | _ASBOX | 
 | 1268 |     echo | 
 | 1269 |     # The following way of writing the cache mishandles newlines in values, | 
 | 1270 | { | 
 | 1271 |   (set) 2>&1 | | 
 | 1272 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
 | 1273 |     *ac_space=\ *) | 
 | 1274 |       sed -n \ | 
 | 1275 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
 | 1276 |     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
 | 1277 |       ;; | 
 | 1278 |     *) | 
 | 1279 |       sed -n \ | 
 | 1280 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
 | 1281 |       ;; | 
 | 1282 |     esac; | 
 | 1283 | } | 
 | 1284 |     echo | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1285 |  | 
 | 1286 |     cat <<\_ASBOX | 
 | 1287 | ## ----------------- ## | 
 | 1288 | ## Output variables. ## | 
 | 1289 | ## ----------------- ## | 
 | 1290 | _ASBOX | 
 | 1291 |     echo | 
 | 1292 |     for ac_var in $ac_subst_vars | 
 | 1293 |     do | 
 | 1294 |       eval ac_val=$`echo $ac_var` | 
 | 1295 |       echo "$ac_var='"'"'$ac_val'"'"'" | 
 | 1296 |     done | sort | 
 | 1297 |     echo | 
 | 1298 |  | 
 | 1299 |     if test -n "$ac_subst_files"; then | 
 | 1300 |       cat <<\_ASBOX | 
 | 1301 | ## ------------- ## | 
 | 1302 | ## Output files. ## | 
 | 1303 | ## ------------- ## | 
 | 1304 | _ASBOX | 
 | 1305 |       echo | 
 | 1306 |       for ac_var in $ac_subst_files | 
 | 1307 |       do | 
 | 1308 | 	eval ac_val=$`echo $ac_var` | 
 | 1309 |         echo "$ac_var='"'"'$ac_val'"'"'" | 
 | 1310 |       done | sort | 
 | 1311 |       echo | 
 | 1312 |     fi | 
 | 1313 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1314 |     if test -s confdefs.h; then | 
 | 1315 |       cat <<\_ASBOX | 
 | 1316 | ## ----------- ## | 
 | 1317 | ## confdefs.h. ## | 
 | 1318 | ## ----------- ## | 
 | 1319 | _ASBOX | 
 | 1320 |       echo | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1321 |       sed "/^$/d" confdefs.h | sort | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1322 |       echo | 
 | 1323 |     fi | 
 | 1324 |     test "$ac_signal" != 0 && | 
 | 1325 |       echo "$as_me: caught signal $ac_signal" | 
 | 1326 |     echo "$as_me: exit $exit_status" | 
 | 1327 |   } >&5 | 
 | 1328 |   rm -f core core.* *.core && | 
 | 1329 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
 | 1330 |     exit $exit_status | 
 | 1331 |      ' 0 | 
 | 1332 | for ac_signal in 1 2 13 15; do | 
 | 1333 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
 | 1334 | done | 
 | 1335 | ac_signal=0 | 
 | 1336 |  | 
 | 1337 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
 | 1338 | rm -rf conftest* confdefs.h | 
 | 1339 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
 | 1340 | echo >confdefs.h | 
 | 1341 |  | 
 | 1342 | # Predefined preprocessor variables. | 
 | 1343 |  | 
 | 1344 | cat >>confdefs.h <<_ACEOF | 
 | 1345 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
 | 1346 | _ACEOF | 
 | 1347 |  | 
 | 1348 |  | 
 | 1349 | cat >>confdefs.h <<_ACEOF | 
 | 1350 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
 | 1351 | _ACEOF | 
 | 1352 |  | 
 | 1353 |  | 
 | 1354 | cat >>confdefs.h <<_ACEOF | 
 | 1355 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
 | 1356 | _ACEOF | 
 | 1357 |  | 
 | 1358 |  | 
 | 1359 | cat >>confdefs.h <<_ACEOF | 
 | 1360 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
 | 1361 | _ACEOF | 
 | 1362 |  | 
 | 1363 |  | 
 | 1364 | cat >>confdefs.h <<_ACEOF | 
 | 1365 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
 | 1366 | _ACEOF | 
 | 1367 |  | 
 | 1368 |  | 
 | 1369 | # Let the site file select an alternate cache file if it wants to. | 
 | 1370 | # Prefer explicitly selected file to automatically selected ones. | 
 | 1371 | if test -z "$CONFIG_SITE"; then | 
 | 1372 |   if test "x$prefix" != xNONE; then | 
 | 1373 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
 | 1374 |   else | 
 | 1375 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
 | 1376 |   fi | 
 | 1377 | fi | 
 | 1378 | for ac_site_file in $CONFIG_SITE; do | 
 | 1379 |   if test -r "$ac_site_file"; then | 
 | 1380 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
 | 1381 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
 | 1382 |     sed 's/^/| /' "$ac_site_file" >&5 | 
 | 1383 |     . "$ac_site_file" | 
 | 1384 |   fi | 
 | 1385 | done | 
 | 1386 |  | 
 | 1387 | if test -r "$cache_file"; then | 
 | 1388 |   # Some versions of bash will fail to source /dev/null (special | 
 | 1389 |   # files actually), so we avoid doing that. | 
 | 1390 |   if test -f "$cache_file"; then | 
 | 1391 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
 | 1392 | echo "$as_me: loading cache $cache_file" >&6;} | 
 | 1393 |     case $cache_file in | 
 | 1394 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
 | 1395 |       *)                      . ./$cache_file;; | 
 | 1396 |     esac | 
 | 1397 |   fi | 
 | 1398 | else | 
 | 1399 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
 | 1400 | echo "$as_me: creating cache $cache_file" >&6;} | 
 | 1401 |   >$cache_file | 
 | 1402 | fi | 
 | 1403 |  | 
 | 1404 | # Check that the precious variables saved in the cache have kept the same | 
 | 1405 | # value. | 
 | 1406 | ac_cache_corrupted=false | 
 | 1407 | for ac_var in `(set) 2>&1 | | 
 | 1408 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
 | 1409 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
 | 1410 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
 | 1411 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
 | 1412 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
 | 1413 |   case $ac_old_set,$ac_new_set in | 
 | 1414 |     set,) | 
 | 1415 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
 | 1416 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
 | 1417 |       ac_cache_corrupted=: ;; | 
 | 1418 |     ,set) | 
 | 1419 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
 | 1420 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
 | 1421 |       ac_cache_corrupted=: ;; | 
 | 1422 |     ,);; | 
 | 1423 |     *) | 
 | 1424 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
 | 1425 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
 | 1426 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
 | 1427 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
 | 1428 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
 | 1429 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
 | 1430 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
 | 1431 |         ac_cache_corrupted=: | 
 | 1432 |       fi;; | 
 | 1433 |   esac | 
 | 1434 |   # Pass precious variables to config.status. | 
 | 1435 |   if test "$ac_new_set" = set; then | 
 | 1436 |     case $ac_new_val in | 
 | 1437 |     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
 | 1438 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
 | 1439 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
 | 1440 |     esac | 
 | 1441 |     case " $ac_configure_args " in | 
 | 1442 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
 | 1443 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
 | 1444 |     esac | 
 | 1445 |   fi | 
 | 1446 | done | 
 | 1447 | if $ac_cache_corrupted; then | 
 | 1448 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
 | 1449 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
 | 1450 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
 | 1451 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
 | 1452 |    { (exit 1); exit 1; }; } | 
 | 1453 | fi | 
 | 1454 |  | 
 | 1455 | ac_ext=c | 
 | 1456 | ac_cpp='$CPP $CPPFLAGS' | 
 | 1457 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 1458 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 1459 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 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 |  | 
 | 1485 |  | 
 | 1486 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1487 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1488 | ac_aux_dir= | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1489 | for ac_dir in autoconf $srcdir/autoconf; do | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1490 |   if test -f $ac_dir/install-sh; then | 
 | 1491 |     ac_aux_dir=$ac_dir | 
 | 1492 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
 | 1493 |     break | 
 | 1494 |   elif test -f $ac_dir/install.sh; then | 
 | 1495 |     ac_aux_dir=$ac_dir | 
 | 1496 |     ac_install_sh="$ac_aux_dir/install.sh -c" | 
 | 1497 |     break | 
 | 1498 |   elif test -f $ac_dir/shtool; then | 
 | 1499 |     ac_aux_dir=$ac_dir | 
 | 1500 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
 | 1501 |     break | 
 | 1502 |   fi | 
 | 1503 | done | 
 | 1504 | if test -z "$ac_aux_dir"; then | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1505 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5 | 
 | 1506 | 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] | 1507 |    { (exit 1); exit 1; }; } | 
 | 1508 | fi | 
 | 1509 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
 | 1510 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
 | 1511 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
 | 1512 |  | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1513 |  | 
| John Criswell | 1b82432 | 2003-09-15 17:19:42 +0000 | [diff] [blame] | 1514 | if test ${srcdir} != "." | 
| John Criswell | 93e1c72 | 2003-09-15 17:04:06 +0000 | [diff] [blame] | 1515 | then | 
| John Criswell | 1b82432 | 2003-09-15 17:19:42 +0000 | [diff] [blame] | 1516 | 	if test -f ${srcdir}/include/Config/config.h | 
 | 1517 | 	then | 
 | 1518 | 		{ { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5 | 
| John Criswell | 93e1c72 | 2003-09-15 17:04:06 +0000 | [diff] [blame] | 1519 | echo "$as_me: error: Already configured in ${srcdir}" >&2;} | 
 | 1520 |    { (exit 1); exit 1; }; } | 
| John Criswell | 1b82432 | 2003-09-15 17:19:42 +0000 | [diff] [blame] | 1521 | 	fi | 
| John Criswell | 93e1c72 | 2003-09-15 17:04:06 +0000 | [diff] [blame] | 1522 | fi | 
 | 1523 |  | 
| John Criswell | 7ec78aa | 2003-10-16 01:49:00 +0000 | [diff] [blame] | 1524 | if test -d ${srcdir}/projects/sample | 
 | 1525 | then | 
 | 1526 |  | 
 | 1527 |  | 
 | 1528 | subdirs="$subdirs projects/sample" | 
 | 1529 |  | 
 | 1530 | fi | 
 | 1531 |  | 
| John Criswell | 12399a1 | 2003-09-30 15:55:44 +0000 | [diff] [blame] | 1532 | if test -d ${srcdir}/projects/reopt | 
 | 1533 | then | 
 | 1534 |  | 
 | 1535 |  | 
 | 1536 | subdirs="$subdirs projects/reopt" | 
 | 1537 |  | 
 | 1538 | fi | 
 | 1539 |  | 
| John Criswell | 559a6c1 | 2003-09-30 16:31:48 +0000 | [diff] [blame] | 1540 | if test -d ${srcdir}/projects/poolalloc | 
 | 1541 | then | 
 | 1542 |  | 
 | 1543 |  | 
 | 1544 | subdirs="$subdirs projects/poolalloc" | 
 | 1545 |  | 
 | 1546 | fi | 
 | 1547 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1548 |           ac_config_headers="$ac_config_headers include/Config/config.h" | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1549 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1550 |           ac_config_commands="$ac_config_commands 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 Makefile.common" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1554 |  | 
 | 1555 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1556 |           ac_config_commands="$ac_config_commands Makefile.rules" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1557 |  | 
 | 1558 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1559 |           ac_config_commands="$ac_config_commands lib/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1560 |  | 
 | 1561 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1562 |           ac_config_commands="$ac_config_commands lib/Analysis/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 lib/Analysis/DataStructure/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1566 |  | 
 | 1567 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1568 |           ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1569 |  | 
 | 1570 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1571 |           ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/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 lib/AsmParser/Makefile" | 
| 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 lib/Bytecode/Makefile" | 
| 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 lib/Bytecode/Reader/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 lib/Bytecode/Writer/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 lib/CWriter/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 lib/CodeGen/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 lib/CodeGen/InstrSched/Makefile" | 
| 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 lib/CodeGen/InstrSelection/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 lib/CodeGen/ModuloScheduling/Makefile" | 
| 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 lib/CodeGen/RegAlloc/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 lib/CodeGen/SelectionDAG/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1605 |  | 
 | 1606 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1607 |           ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1608 |  | 
 | 1609 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1610 |           ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/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 lib/ExecutionEngine/JIT/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1614 |  | 
 | 1615 |  | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 1616 |           ac_config_commands="$ac_config_commands lib/Support/Makefile" | 
 | 1617 |  | 
 | 1618 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1619 |           ac_config_commands="$ac_config_commands lib/Target/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1620 |  | 
 | 1621 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1622 |           ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1623 |  | 
 | 1624 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1625 |           ac_config_commands="$ac_config_commands lib/Target/X86/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 lib/Transforms/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1629 |  | 
 | 1630 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1631 |           ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1632 |  | 
 | 1633 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1634 |           ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1635 |  | 
 | 1636 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1637 |           ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1638 |  | 
 | 1639 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1640 |           ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1641 |  | 
 | 1642 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1643 |           ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1644 |  | 
 | 1645 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1646 |           ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1647 |  | 
 | 1648 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1649 |           ac_config_commands="$ac_config_commands lib/VMCore/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1650 |  | 
 | 1651 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1652 |           ac_config_commands="$ac_config_commands runtime/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1653 |  | 
 | 1654 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1655 |           ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1656 |  | 
 | 1657 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1658 |           ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1659 |  | 
 | 1660 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1661 |           ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1662 |  | 
 | 1663 |  | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 1664 |           ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile" | 
 | 1665 |  | 
 | 1666 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1667 |           ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1668 |  | 
 | 1669 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1670 |           ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/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 runtime/GCCLibraries/libm/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1674 |  | 
 | 1675 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1676 |           ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1677 |  | 
 | 1678 |  | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 1679 |           ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile" | 
 | 1680 |  | 
 | 1681 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1682 |           ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1683 |  | 
 | 1684 |  | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 1685 |           ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile" | 
 | 1686 |  | 
 | 1687 |  | 
 | 1688 |           ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile" | 
 | 1689 |  | 
 | 1690 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1691 |           ac_config_commands="$ac_config_commands runtime/libdummy/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1692 |  | 
 | 1693 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1694 |           ac_config_commands="$ac_config_commands runtime/libtrace/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1695 |  | 
 | 1696 |  | 
| John Criswell | 759c3ed | 2003-10-28 19:21:11 +0000 | [diff] [blame] | 1697 |           ac_config_commands="$ac_config_commands runtime/libprofile/Makefile" | 
 | 1698 |  | 
 | 1699 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1700 |           ac_config_commands="$ac_config_commands test/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1701 |  | 
 | 1702 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1703 |           ac_config_commands="$ac_config_commands test/Makefile.tests" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1704 |  | 
 | 1705 |  | 
| John Criswell | f424d74 | 2003-10-07 21:13:47 +0000 | [diff] [blame] | 1706 |           ac_config_commands="$ac_config_commands test/QMTest/llvm.py" | 
 | 1707 |  | 
 | 1708 |  | 
 | 1709 |           ac_config_commands="$ac_config_commands test/QMTest/llvmdb.py" | 
| John Criswell | 08acb9b | 2003-09-16 02:12:45 +0000 | [diff] [blame] | 1710 |  | 
 | 1711 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1712 |           ac_config_commands="$ac_config_commands test/Programs/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1713 |  | 
 | 1714 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1715 |           ac_config_commands="$ac_config_commands test/Programs/Makefile.programs" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1716 |  | 
 | 1717 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1718 |           ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1719 |  | 
 | 1720 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1721 |           ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1722 |  | 
 | 1723 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1724 |           ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1725 |  | 
 | 1726 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1727 |           ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1728 |  | 
 | 1729 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1730 |           ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1731 |  | 
 | 1732 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1733 |           ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1734 |  | 
 | 1735 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1736 |           ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1737 |  | 
 | 1738 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1739 |           ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1740 |  | 
 | 1741 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1742 |           ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1743 |  | 
 | 1744 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1745 |           ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1746 |  | 
 | 1747 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1748 |           ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1749 |  | 
 | 1750 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1751 |           ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1752 |  | 
 | 1753 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1754 |           ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1755 |  | 
 | 1756 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1757 |           ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1758 |  | 
 | 1759 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1760 |           ac_config_commands="$ac_config_commands test/Programs/External/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1761 |  | 
 | 1762 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1763 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1764 |  | 
 | 1765 |  | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 1766 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec" | 
 | 1767 |  | 
 | 1768 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1769 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1770 |  | 
 | 1771 |  | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 1772 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" | 
 | 1773 |  | 
 | 1774 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1775 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1776 |  | 
 | 1777 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1778 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1779 |  | 
 | 1780 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1781 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1782 |  | 
 | 1783 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1784 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1785 |  | 
 | 1786 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1787 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1788 |  | 
 | 1789 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1790 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1791 |  | 
 | 1792 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1793 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1794 |  | 
 | 1795 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1796 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1797 |  | 
 | 1798 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1799 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1800 |  | 
 | 1801 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1802 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1803 |  | 
 | 1804 |  | 
| John Criswell | 987e49c | 2003-10-10 01:11:54 +0000 | [diff] [blame] | 1805 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/252.eon/Makefile" | 
 | 1806 |  | 
 | 1807 |  | 
 | 1808 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" | 
 | 1809 |  | 
 | 1810 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1811 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1812 |  | 
 | 1813 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1814 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1815 |  | 
 | 1816 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1817 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1818 |  | 
 | 1819 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1820 |           ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1821 |  | 
 | 1822 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1823 |           ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1824 |  | 
 | 1825 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1826 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1827 |  | 
 | 1828 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1829 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1830 |  | 
 | 1831 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1832 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1833 |  | 
 | 1834 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1835 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1836 |  | 
 | 1837 |  | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 1838 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile" | 
 | 1839 |  | 
 | 1840 |  | 
 | 1841 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile" | 
 | 1842 |  | 
 | 1843 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1844 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1845 |  | 
 | 1846 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1847 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1848 |  | 
 | 1849 |  | 
| Misha Brukman | 811ce9f | 2003-11-12 22:16:51 +0000 | [diff] [blame] | 1850 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/Makefile" | 
 | 1851 |  | 
 | 1852 |  | 
 | 1853 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile" | 
 | 1854 |  | 
 | 1855 |  | 
 | 1856 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" | 
 | 1857 |  | 
 | 1858 |  | 
 | 1859 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" | 
 | 1860 |  | 
 | 1861 |  | 
 | 1862 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" | 
 | 1863 |  | 
 | 1864 |  | 
 | 1865 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" | 
 | 1866 |  | 
 | 1867 |  | 
 | 1868 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" | 
 | 1869 |  | 
 | 1870 |  | 
 | 1871 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" | 
 | 1872 |  | 
 | 1873 |  | 
 | 1874 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" | 
 | 1875 |  | 
 | 1876 |  | 
 | 1877 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" | 
 | 1878 |  | 
 | 1879 |  | 
 | 1880 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" | 
 | 1881 |  | 
 | 1882 |  | 
 | 1883 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" | 
 | 1884 |  | 
 | 1885 |  | 
 | 1886 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" | 
 | 1887 |  | 
 | 1888 |  | 
 | 1889 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" | 
 | 1890 |  | 
 | 1891 |  | 
 | 1892 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" | 
 | 1893 |  | 
 | 1894 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1895 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1896 |  | 
 | 1897 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1898 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1899 |  | 
 | 1900 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1901 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1902 |  | 
 | 1903 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1904 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1905 |  | 
 | 1906 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1907 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1908 |  | 
 | 1909 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1910 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1911 |  | 
 | 1912 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1913 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1914 |  | 
 | 1915 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1916 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1917 |  | 
 | 1918 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1919 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1920 |  | 
 | 1921 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1922 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1923 |  | 
 | 1924 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1925 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1926 |  | 
 | 1927 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1928 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1929 |  | 
 | 1930 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1931 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1932 |  | 
 | 1933 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1934 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1935 |  | 
 | 1936 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1937 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1938 |  | 
 | 1939 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1940 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1941 |  | 
 | 1942 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1943 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1944 |  | 
 | 1945 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1946 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1947 |  | 
 | 1948 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1949 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1950 |  | 
 | 1951 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1952 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" | 
 | 1953 |  | 
 | 1954 |  | 
 | 1955 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" | 
 | 1956 |  | 
 | 1957 |  | 
 | 1958 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1959 |  | 
 | 1960 |  | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 1961 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1962 |  | 
 | 1963 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1964 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1965 |  | 
 | 1966 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1967 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1968 |  | 
 | 1969 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1970 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1971 |  | 
 | 1972 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1973 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1974 |  | 
 | 1975 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1976 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1977 |  | 
 | 1978 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1979 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1980 |  | 
 | 1981 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1982 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1983 |  | 
 | 1984 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1985 |           ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1986 |  | 
 | 1987 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1988 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1989 |  | 
 | 1990 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1991 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1992 |  | 
 | 1993 |  | 
| John Criswell | ffaaf3b | 2003-09-10 18:38:44 +0000 | [diff] [blame] | 1994 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile" | 
 | 1995 |  | 
 | 1996 |  | 
 | 1997 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile" | 
 | 1998 |  | 
 | 1999 |  | 
 | 2000 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" | 
 | 2001 |  | 
 | 2002 |  | 
 | 2003 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile" | 
 | 2004 |  | 
 | 2005 |  | 
 | 2006 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile" | 
 | 2007 |  | 
 | 2008 |  | 
 | 2009 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile" | 
 | 2010 |  | 
 | 2011 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2012 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2013 |  | 
 | 2014 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2015 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2016 |  | 
 | 2017 |  | 
| John Criswell | 0afe825 | 2003-09-11 20:53:48 +0000 | [diff] [blame] | 2018 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" | 
 | 2019 |  | 
 | 2020 |  | 
| John Criswell | 67181ca | 2003-09-26 14:53:17 +0000 | [diff] [blame] | 2021 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile" | 
 | 2022 |  | 
 | 2023 |  | 
| John Criswell | 68886d4 | 2003-09-26 19:51:42 +0000 | [diff] [blame] | 2024 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile" | 
 | 2025 |  | 
 | 2026 |  | 
 | 2027 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile" | 
 | 2028 |  | 
 | 2029 |  | 
| John Criswell | c66bbd5 | 2003-09-29 21:35:32 +0000 | [diff] [blame] | 2030 |           ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile" | 
 | 2031 |  | 
 | 2032 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2033 |           ac_config_commands="$ac_config_commands tools/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2034 |  | 
 | 2035 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2036 |           ac_config_commands="$ac_config_commands tools/analyze/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2037 |  | 
 | 2038 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2039 |           ac_config_commands="$ac_config_commands tools/bugpoint/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2040 |  | 
 | 2041 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2042 |           ac_config_commands="$ac_config_commands tools/extract/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2043 |  | 
 | 2044 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2045 |           ac_config_commands="$ac_config_commands tools/gccas/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2046 |  | 
 | 2047 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2048 |           ac_config_commands="$ac_config_commands tools/gccld/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2049 |  | 
 | 2050 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2051 |           ac_config_commands="$ac_config_commands tools/llc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2052 |  | 
 | 2053 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2054 |           ac_config_commands="$ac_config_commands tools/llee/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2055 |  | 
 | 2056 |  | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 2057 |           ac_config_commands="$ac_config_commands tools/lli/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2058 |  | 
 | 2059 |  | 
| Chris Lattner | ebd7030 | 2003-09-13 03:29:53 +0000 | [diff] [blame] | 2060 |           ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile" | 
 | 2061 |  | 
 | 2062 |  | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 2063 |           ac_config_commands="$ac_config_commands tools/llvm-as/Makefile" | 
 | 2064 |  | 
 | 2065 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2066 |           ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2067 |  | 
 | 2068 |  | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 2069 |           ac_config_commands="$ac_config_commands tools/llvm-link/Makefile" | 
 | 2070 |  | 
 | 2071 |  | 
| Alkis Evlogimenos | e7d4022 | 2003-10-17 00:50:38 +0000 | [diff] [blame] | 2072 |           ac_config_commands="$ac_config_commands tools/llvm-nm/Makefile" | 
 | 2073 |  | 
 | 2074 |  | 
| John Criswell | 759c3ed | 2003-10-28 19:21:11 +0000 | [diff] [blame] | 2075 |           ac_config_commands="$ac_config_commands tools/llvm-prof/Makefile" | 
 | 2076 |  | 
 | 2077 |  | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 2078 |           ac_config_commands="$ac_config_commands tools/opt/Makefile" | 
 | 2079 |  | 
 | 2080 |  | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 2081 |           ac_config_commands="$ac_config_commands utils/Makefile" | 
 | 2082 |  | 
 | 2083 |  | 
 | 2084 |           ac_config_commands="$ac_config_commands utils/Burg/Makefile" | 
 | 2085 |  | 
 | 2086 |  | 
 | 2087 |           ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile" | 
 | 2088 |  | 
 | 2089 |  | 
 | 2090 |           ac_config_commands="$ac_config_commands utils/TableGen/Makefile" | 
 | 2091 |  | 
 | 2092 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2093 |           ac_config_commands="$ac_config_commands projects/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2094 |  | 
 | 2095 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2096 |           ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2097 |  | 
 | 2098 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2099 |           ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2100 |  | 
 | 2101 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2102 |           ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2103 |  | 
 | 2104 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2105 |           ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2106 |  | 
 | 2107 |  | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 2108 |  | 
 | 2109 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2110 | # Find a good install program.  We prefer a C program (faster), | 
 | 2111 | # so one script is as good as another.  But avoid the broken or | 
 | 2112 | # incompatible versions: | 
 | 2113 | # SysV /etc/install, /usr/sbin/install | 
 | 2114 | # SunOS /usr/etc/install | 
 | 2115 | # IRIX /sbin/install | 
 | 2116 | # AIX /bin/install | 
 | 2117 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
 | 2118 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
 | 2119 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
 | 2120 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
 | 2121 | # ./install, which can be erroneously created by make from ./install.sh. | 
 | 2122 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
 | 2123 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
 | 2124 | if test -z "$INSTALL"; then | 
 | 2125 | if test "${ac_cv_path_install+set}" = set; then | 
 | 2126 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2127 | else | 
 | 2128 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2129 | for as_dir in $PATH | 
 | 2130 | do | 
 | 2131 |   IFS=$as_save_IFS | 
 | 2132 |   test -z "$as_dir" && as_dir=. | 
 | 2133 |   # Account for people who put trailing slashes in PATH elements. | 
 | 2134 | case $as_dir/ in | 
 | 2135 |   ./ | .// | /cC/* | \ | 
 | 2136 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
 | 2137 |   /usr/ucb/* ) ;; | 
 | 2138 |   *) | 
 | 2139 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
 | 2140 |     # Don't use installbsd from OSF since it installs stuff as root | 
 | 2141 |     # by default. | 
 | 2142 |     for ac_prog in ginstall scoinst install; do | 
 | 2143 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2144 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
 | 2145 |           if test $ac_prog = install && | 
 | 2146 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
 | 2147 |             # AIX install.  It has an incompatible calling convention. | 
 | 2148 |             : | 
 | 2149 |           elif test $ac_prog = install && | 
 | 2150 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
 | 2151 |             # program-specific install script used by HP pwplus--don't use. | 
 | 2152 |             : | 
 | 2153 |           else | 
 | 2154 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
 | 2155 |             break 3 | 
 | 2156 |           fi | 
 | 2157 |         fi | 
 | 2158 |       done | 
 | 2159 |     done | 
 | 2160 |     ;; | 
 | 2161 | esac | 
 | 2162 | done | 
 | 2163 |  | 
 | 2164 |  | 
 | 2165 | fi | 
 | 2166 |   if test "${ac_cv_path_install+set}" = set; then | 
 | 2167 |     INSTALL=$ac_cv_path_install | 
 | 2168 |   else | 
 | 2169 |     # As a last resort, use the slow shell script.  We don't cache a | 
 | 2170 |     # path for INSTALL within a source directory, because that will | 
 | 2171 |     # break other packages using the cache if that directory is | 
 | 2172 |     # removed, or if the path is relative. | 
 | 2173 |     INSTALL=$ac_install_sh | 
 | 2174 |   fi | 
 | 2175 | fi | 
 | 2176 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
 | 2177 | echo "${ECHO_T}$INSTALL" >&6 | 
 | 2178 |  | 
 | 2179 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
 | 2180 | # It thinks the first close brace ends the variable substitution. | 
 | 2181 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
 | 2182 |  | 
 | 2183 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
 | 2184 |  | 
 | 2185 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
 | 2186 |  | 
 | 2187 |  | 
 | 2188 | # Make sure we can run config.sub. | 
 | 2189 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
 | 2190 |   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
 | 2191 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
 | 2192 |    { (exit 1); exit 1; }; } | 
 | 2193 |  | 
 | 2194 | echo "$as_me:$LINENO: checking build system type" >&5 | 
 | 2195 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
 | 2196 | if test "${ac_cv_build+set}" = set; then | 
 | 2197 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2198 | else | 
 | 2199 |   ac_cv_build_alias=$build_alias | 
 | 2200 | test -z "$ac_cv_build_alias" && | 
 | 2201 |   ac_cv_build_alias=`$ac_config_guess` | 
 | 2202 | test -z "$ac_cv_build_alias" && | 
 | 2203 |   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
 | 2204 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
 | 2205 |    { (exit 1); exit 1; }; } | 
 | 2206 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
 | 2207 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
 | 2208 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
 | 2209 |    { (exit 1); exit 1; }; } | 
 | 2210 |  | 
 | 2211 | fi | 
 | 2212 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
 | 2213 | echo "${ECHO_T}$ac_cv_build" >&6 | 
 | 2214 | build=$ac_cv_build | 
 | 2215 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 2216 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 2217 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 2218 |  | 
 | 2219 |  | 
 | 2220 | echo "$as_me:$LINENO: checking host system type" >&5 | 
 | 2221 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
 | 2222 | if test "${ac_cv_host+set}" = set; then | 
 | 2223 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2224 | else | 
 | 2225 |   ac_cv_host_alias=$host_alias | 
 | 2226 | test -z "$ac_cv_host_alias" && | 
 | 2227 |   ac_cv_host_alias=$ac_cv_build_alias | 
 | 2228 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
 | 2229 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
 | 2230 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
 | 2231 |    { (exit 1); exit 1; }; } | 
 | 2232 |  | 
 | 2233 | fi | 
 | 2234 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
 | 2235 | echo "${ECHO_T}$ac_cv_host" >&6 | 
 | 2236 | host=$ac_cv_host | 
 | 2237 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 2238 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 2239 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 2240 |  | 
 | 2241 |  | 
 | 2242 | echo "$as_me:$LINENO: checking target system type" >&5 | 
 | 2243 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
 | 2244 | if test "${ac_cv_target+set}" = set; then | 
 | 2245 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2246 | else | 
 | 2247 |   ac_cv_target_alias=$target_alias | 
 | 2248 | test "x$ac_cv_target_alias" = "x" && | 
 | 2249 |   ac_cv_target_alias=$ac_cv_host_alias | 
 | 2250 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
 | 2251 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
 | 2252 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
 | 2253 |    { (exit 1); exit 1; }; } | 
 | 2254 |  | 
 | 2255 | fi | 
 | 2256 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
 | 2257 | echo "${ECHO_T}$ac_cv_target" >&6 | 
 | 2258 | target=$ac_cv_target | 
 | 2259 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 2260 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 2261 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 2262 |  | 
 | 2263 |  | 
 | 2264 | # The aliases save the names the user supplied, while $host etc. | 
 | 2265 | # will get canonicalized. | 
 | 2266 | test -n "$target_alias" && | 
 | 2267 |   test "$program_prefix$program_suffix$program_transform_name" = \ | 
 | 2268 |     NONENONEs,x,x, && | 
 | 2269 |   program_prefix=${target_alias}- | 
 | 2270 |  | 
 | 2271 | case $build in | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 2272 | 	*-*-linux*) | 
 | 2273 |              OS=Linux | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2274 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 2275 | 			 if test -d /home/vadve/lattner/local/x86/llvm-gcc | 
 | 2276 | 			 then | 
 | 2277 | 			   LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2278 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 2279 | 			 fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2280 | 	         ;; | 
 | 2281 |  | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 2282 | 	*-*-solaris*) | 
 | 2283 |              OS=SunOS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2284 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 2285 | 			 if test -d /home/vadve/lattner/local/sparc/llvm-gcc | 
 | 2286 | 			 then | 
 | 2287 | 	           LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2288 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 2289 | 			 fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2290 | 	         ;; | 
 | 2291 |  | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 2292 | 	*-*-darwin*) | 
 | 2293 |              OS=Darwin | 
 | 2294 |  | 
 | 2295 | 	         ;; | 
 | 2296 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2297 | 	*)       OS=Unknown | 
 | 2298 |  | 
 | 2299 | 	         ;; | 
 | 2300 | esac | 
 | 2301 |  | 
 | 2302 | case $target in | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 2303 | 	sparc*-*-solaris*)  target=sparcv9-sun-solaris2.8 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2304 |  | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 2305 | 	                    ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2306 | esac | 
 | 2307 |  | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 2308 | case $target in | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 2309 | 	i*86-*)           ARCH=x86 | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 2310 |  | 
 | 2311 | 	                  ;; | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 2312 | 	sparc*-*)         ARCH=Sparc | 
 | 2313 |  | 
 | 2314 | 	                  ;; | 
 | 2315 | 	powerpc*-*)       ARCH=PowerPC | 
 | 2316 |  | 
 | 2317 | 	                  ;; | 
 | 2318 | 	*)                ARCH=Unknown | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 2319 |  | 
 | 2320 | 	                  ;; | 
 | 2321 | esac | 
 | 2322 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2323 |  | 
 | 2324 | ac_ext=cc | 
 | 2325 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 2326 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2327 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2328 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 2329 | if test -n "$ac_tool_prefix"; then | 
 | 2330 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
 | 2331 |   do | 
 | 2332 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
 | 2333 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
 | 2334 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2335 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2336 | if test "${ac_cv_prog_CXX+set}" = set; then | 
 | 2337 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2338 | else | 
 | 2339 |   if test -n "$CXX"; then | 
 | 2340 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
 | 2341 | else | 
 | 2342 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2343 | for as_dir in $PATH | 
 | 2344 | do | 
 | 2345 |   IFS=$as_save_IFS | 
 | 2346 |   test -z "$as_dir" && as_dir=. | 
 | 2347 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2348 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2349 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
 | 2350 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2351 |     break 2 | 
 | 2352 |   fi | 
 | 2353 | done | 
 | 2354 | done | 
 | 2355 |  | 
 | 2356 | fi | 
 | 2357 | fi | 
 | 2358 | CXX=$ac_cv_prog_CXX | 
 | 2359 | if test -n "$CXX"; then | 
 | 2360 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
 | 2361 | echo "${ECHO_T}$CXX" >&6 | 
 | 2362 | else | 
 | 2363 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2364 | echo "${ECHO_T}no" >&6 | 
 | 2365 | fi | 
 | 2366 |  | 
 | 2367 |     test -n "$CXX" && break | 
 | 2368 |   done | 
 | 2369 | fi | 
 | 2370 | if test -z "$CXX"; then | 
 | 2371 |   ac_ct_CXX=$CXX | 
 | 2372 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
 | 2373 | do | 
 | 2374 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 2375 | set dummy $ac_prog; ac_word=$2 | 
 | 2376 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2377 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2378 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
 | 2379 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2380 | else | 
 | 2381 |   if test -n "$ac_ct_CXX"; then | 
 | 2382 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
 | 2383 | else | 
 | 2384 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2385 | for as_dir in $PATH | 
 | 2386 | do | 
 | 2387 |   IFS=$as_save_IFS | 
 | 2388 |   test -z "$as_dir" && as_dir=. | 
 | 2389 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2390 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2391 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
 | 2392 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2393 |     break 2 | 
 | 2394 |   fi | 
 | 2395 | done | 
 | 2396 | done | 
 | 2397 |  | 
 | 2398 | fi | 
 | 2399 | fi | 
 | 2400 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
 | 2401 | if test -n "$ac_ct_CXX"; then | 
 | 2402 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
 | 2403 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
 | 2404 | else | 
 | 2405 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2406 | echo "${ECHO_T}no" >&6 | 
 | 2407 | fi | 
 | 2408 |  | 
 | 2409 |   test -n "$ac_ct_CXX" && break | 
 | 2410 | done | 
 | 2411 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
 | 2412 |  | 
 | 2413 |   CXX=$ac_ct_CXX | 
 | 2414 | fi | 
 | 2415 |  | 
 | 2416 |  | 
 | 2417 | # Provide some information about the compiler. | 
 | 2418 | echo "$as_me:$LINENO:" \ | 
 | 2419 |      "checking for C++ compiler version" >&5 | 
 | 2420 | ac_compiler=`set X $ac_compile; echo $2` | 
 | 2421 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
 | 2422 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
 | 2423 |   ac_status=$? | 
 | 2424 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2425 |   (exit $ac_status); } | 
 | 2426 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
 | 2427 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
 | 2428 |   ac_status=$? | 
 | 2429 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2430 |   (exit $ac_status); } | 
 | 2431 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
 | 2432 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
 | 2433 |   ac_status=$? | 
 | 2434 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2435 |   (exit $ac_status); } | 
 | 2436 |  | 
 | 2437 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2438 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2439 | /* confdefs.h.  */ | 
 | 2440 | _ACEOF | 
 | 2441 | cat confdefs.h >>conftest.$ac_ext | 
 | 2442 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2443 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2444 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2445 | int | 
 | 2446 | main () | 
 | 2447 | { | 
 | 2448 |  | 
 | 2449 |   ; | 
 | 2450 |   return 0; | 
 | 2451 | } | 
 | 2452 | _ACEOF | 
 | 2453 | ac_clean_files_save=$ac_clean_files | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2454 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2455 | # Try to create an executable without -o first, disregard a.out. | 
 | 2456 | # It will help us diagnose broken compilers, and finding out an intuition | 
 | 2457 | # of exeext. | 
 | 2458 | echo "$as_me:$LINENO: checking for C++ compiler default output" >&5 | 
 | 2459 | echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 | 
 | 2460 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
 | 2461 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
 | 2462 |   (eval $ac_link_default) 2>&5 | 
 | 2463 |   ac_status=$? | 
 | 2464 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2465 |   (exit $ac_status); }; then | 
 | 2466 |   # Find the output, starting from the most likely.  This scheme is | 
 | 2467 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
 | 2468 | # resort. | 
 | 2469 |  | 
 | 2470 | # Be careful to initialize this variable, since it used to be cached. | 
 | 2471 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
 | 2472 | ac_cv_exeext= | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2473 | # b.out is created by i960 compilers. | 
 | 2474 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
 | 2475 | do | 
 | 2476 |   test -f "$ac_file" || continue | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2477 |   case $ac_file in | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2478 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
 | 2479 |         ;; | 
 | 2480 |     conftest.$ac_ext ) | 
 | 2481 |         # This is the source file. | 
 | 2482 |         ;; | 
 | 2483 |     [ab].out ) | 
 | 2484 |         # We found the default executable, but exeext='' is most | 
 | 2485 |         # certainly right. | 
 | 2486 |         break;; | 
 | 2487 |     *.* ) | 
 | 2488 |         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
 | 2489 |         # FIXME: I believe we export ac_cv_exeext for Libtool, | 
 | 2490 |         # but it would be cool to find out if it's true.  Does anybody | 
 | 2491 |         # maintain Libtool? --akim. | 
 | 2492 |         export ac_cv_exeext | 
 | 2493 |         break;; | 
 | 2494 |     * ) | 
 | 2495 |         break;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2496 |   esac | 
 | 2497 | done | 
 | 2498 | else | 
 | 2499 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2500 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2501 |  | 
 | 2502 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
 | 2503 | See \`config.log' for more details." >&5 | 
 | 2504 | echo "$as_me: error: C++ compiler cannot create executables | 
 | 2505 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2506 |    { (exit 77); exit 77; }; } | 
 | 2507 | fi | 
 | 2508 |  | 
 | 2509 | ac_exeext=$ac_cv_exeext | 
 | 2510 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
 | 2511 | echo "${ECHO_T}$ac_file" >&6 | 
 | 2512 |  | 
 | 2513 | # Check the compiler produces executables we can run.  If not, either | 
 | 2514 | # the compiler is broken, or we cross compile. | 
 | 2515 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
 | 2516 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
 | 2517 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
 | 2518 | # If not cross compiling, check that we can run a simple program. | 
 | 2519 | if test "$cross_compiling" != yes; then | 
 | 2520 |   if { ac_try='./$ac_file' | 
 | 2521 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2522 |   (eval $ac_try) 2>&5 | 
 | 2523 |   ac_status=$? | 
 | 2524 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2525 |   (exit $ac_status); }; }; then | 
 | 2526 |     cross_compiling=no | 
 | 2527 |   else | 
 | 2528 |     if test "$cross_compiling" = maybe; then | 
 | 2529 | 	cross_compiling=yes | 
 | 2530 |     else | 
 | 2531 | 	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2532 | If you meant to cross compile, use \`--host'. | 
 | 2533 | See \`config.log' for more details." >&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2534 | echo "$as_me: error: cannot run C++ compiled programs. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2535 | If you meant to cross compile, use \`--host'. | 
 | 2536 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2537 |    { (exit 1); exit 1; }; } | 
 | 2538 |     fi | 
 | 2539 |   fi | 
 | 2540 | fi | 
 | 2541 | echo "$as_me:$LINENO: result: yes" >&5 | 
 | 2542 | echo "${ECHO_T}yes" >&6 | 
 | 2543 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2544 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2545 | ac_clean_files=$ac_clean_files_save | 
 | 2546 | # Check the compiler produces executables we can run.  If not, either | 
 | 2547 | # the compiler is broken, or we cross compile. | 
 | 2548 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
 | 2549 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
 | 2550 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
 | 2551 | echo "${ECHO_T}$cross_compiling" >&6 | 
 | 2552 |  | 
 | 2553 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
 | 2554 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
 | 2555 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 2556 |   (eval $ac_link) 2>&5 | 
 | 2557 |   ac_status=$? | 
 | 2558 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2559 |   (exit $ac_status); }; then | 
 | 2560 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
 | 2561 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
 | 2562 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
 | 2563 | # `rm'. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2564 | for ac_file in conftest.exe conftest conftest.*; do | 
 | 2565 |   test -f "$ac_file" || continue | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2566 |   case $ac_file in | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2567 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2568 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
 | 2569 |           export ac_cv_exeext | 
 | 2570 |           break;; | 
 | 2571 |     * ) break;; | 
 | 2572 |   esac | 
 | 2573 | done | 
 | 2574 | else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2575 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
 | 2576 | See \`config.log' for more details." >&5 | 
 | 2577 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
 | 2578 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2579 |    { (exit 1); exit 1; }; } | 
 | 2580 | fi | 
 | 2581 |  | 
 | 2582 | rm -f conftest$ac_cv_exeext | 
 | 2583 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
 | 2584 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
 | 2585 |  | 
 | 2586 | rm -f conftest.$ac_ext | 
 | 2587 | EXEEXT=$ac_cv_exeext | 
 | 2588 | ac_exeext=$EXEEXT | 
 | 2589 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
 | 2590 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
 | 2591 | if test "${ac_cv_objext+set}" = set; then | 
 | 2592 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2593 | else | 
 | 2594 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2595 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2596 | /* confdefs.h.  */ | 
 | 2597 | _ACEOF | 
 | 2598 | cat confdefs.h >>conftest.$ac_ext | 
 | 2599 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2600 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2601 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2602 | int | 
 | 2603 | main () | 
 | 2604 | { | 
 | 2605 |  | 
 | 2606 |   ; | 
 | 2607 |   return 0; | 
 | 2608 | } | 
 | 2609 | _ACEOF | 
 | 2610 | rm -f conftest.o conftest.obj | 
 | 2611 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2612 |   (eval $ac_compile) 2>&5 | 
 | 2613 |   ac_status=$? | 
 | 2614 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2615 |   (exit $ac_status); }; then | 
 | 2616 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
 | 2617 |   case $ac_file in | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2618 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2619 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
 | 2620 |        break;; | 
 | 2621 |   esac | 
 | 2622 | done | 
 | 2623 | else | 
 | 2624 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2625 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2626 |  | 
 | 2627 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
 | 2628 | See \`config.log' for more details." >&5 | 
 | 2629 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
 | 2630 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2631 |    { (exit 1); exit 1; }; } | 
 | 2632 | fi | 
 | 2633 |  | 
 | 2634 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
 | 2635 | fi | 
 | 2636 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
 | 2637 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
 | 2638 | OBJEXT=$ac_cv_objext | 
 | 2639 | ac_objext=$OBJEXT | 
 | 2640 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
 | 2641 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
 | 2642 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
 | 2643 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2644 | else | 
 | 2645 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2646 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2647 | /* confdefs.h.  */ | 
 | 2648 | _ACEOF | 
 | 2649 | cat confdefs.h >>conftest.$ac_ext | 
 | 2650 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2651 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2652 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2653 | int | 
 | 2654 | main () | 
 | 2655 | { | 
 | 2656 | #ifndef __GNUC__ | 
 | 2657 |        choke me | 
 | 2658 | #endif | 
 | 2659 |  | 
 | 2660 |   ; | 
 | 2661 |   return 0; | 
 | 2662 | } | 
 | 2663 | _ACEOF | 
 | 2664 | rm -f conftest.$ac_objext | 
 | 2665 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2666 |   (eval $ac_compile) 2>&5 | 
 | 2667 |   ac_status=$? | 
 | 2668 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2669 |   (exit $ac_status); } && | 
 | 2670 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2671 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2672 |   (eval $ac_try) 2>&5 | 
 | 2673 |   ac_status=$? | 
 | 2674 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2675 |   (exit $ac_status); }; }; then | 
 | 2676 |   ac_compiler_gnu=yes | 
 | 2677 | else | 
 | 2678 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2679 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2680 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2681 | ac_compiler_gnu=no | 
 | 2682 | fi | 
 | 2683 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2684 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
 | 2685 |  | 
 | 2686 | fi | 
 | 2687 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
 | 2688 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
 | 2689 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
 | 2690 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
 | 2691 | ac_save_CXXFLAGS=$CXXFLAGS | 
 | 2692 | CXXFLAGS="-g" | 
 | 2693 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
 | 2694 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
 | 2695 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
 | 2696 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2697 | else | 
 | 2698 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2699 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2700 | /* confdefs.h.  */ | 
 | 2701 | _ACEOF | 
 | 2702 | cat confdefs.h >>conftest.$ac_ext | 
 | 2703 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2704 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2705 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2706 | int | 
 | 2707 | main () | 
 | 2708 | { | 
 | 2709 |  | 
 | 2710 |   ; | 
 | 2711 |   return 0; | 
 | 2712 | } | 
 | 2713 | _ACEOF | 
 | 2714 | rm -f conftest.$ac_objext | 
 | 2715 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2716 |   (eval $ac_compile) 2>&5 | 
 | 2717 |   ac_status=$? | 
 | 2718 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2719 |   (exit $ac_status); } && | 
 | 2720 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2721 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2722 |   (eval $ac_try) 2>&5 | 
 | 2723 |   ac_status=$? | 
 | 2724 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2725 |   (exit $ac_status); }; }; then | 
 | 2726 |   ac_cv_prog_cxx_g=yes | 
 | 2727 | else | 
 | 2728 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2729 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2730 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2731 | ac_cv_prog_cxx_g=no | 
 | 2732 | fi | 
 | 2733 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2734 | fi | 
 | 2735 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
 | 2736 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
 | 2737 | if test "$ac_test_CXXFLAGS" = set; then | 
 | 2738 |   CXXFLAGS=$ac_save_CXXFLAGS | 
 | 2739 | elif test $ac_cv_prog_cxx_g = yes; then | 
 | 2740 |   if test "$GXX" = yes; then | 
 | 2741 |     CXXFLAGS="-g -O2" | 
 | 2742 |   else | 
 | 2743 |     CXXFLAGS="-g" | 
 | 2744 |   fi | 
 | 2745 | else | 
 | 2746 |   if test "$GXX" = yes; then | 
 | 2747 |     CXXFLAGS="-O2" | 
 | 2748 |   else | 
 | 2749 |     CXXFLAGS= | 
 | 2750 |   fi | 
 | 2751 | fi | 
 | 2752 | for ac_declaration in \ | 
 | 2753 |    ''\ | 
 | 2754 |    '#include <stdlib.h>' \ | 
 | 2755 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
 | 2756 |    'extern "C" void std::exit (int); using std::exit;' \ | 
 | 2757 |    'extern "C" void exit (int) throw ();' \ | 
 | 2758 |    'extern "C" void exit (int);' \ | 
 | 2759 |    'void exit (int);' | 
 | 2760 | do | 
 | 2761 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2762 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2763 | /* confdefs.h.  */ | 
 | 2764 | _ACEOF | 
 | 2765 | cat confdefs.h >>conftest.$ac_ext | 
 | 2766 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2767 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2768 | #include <stdlib.h> | 
 | 2769 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2770 | int | 
 | 2771 | main () | 
 | 2772 | { | 
 | 2773 | exit (42); | 
 | 2774 |   ; | 
 | 2775 |   return 0; | 
 | 2776 | } | 
 | 2777 | _ACEOF | 
 | 2778 | rm -f conftest.$ac_objext | 
 | 2779 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2780 |   (eval $ac_compile) 2>&5 | 
 | 2781 |   ac_status=$? | 
 | 2782 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2783 |   (exit $ac_status); } && | 
 | 2784 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2785 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2786 |   (eval $ac_try) 2>&5 | 
 | 2787 |   ac_status=$? | 
 | 2788 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2789 |   (exit $ac_status); }; }; then | 
 | 2790 |   : | 
 | 2791 | else | 
 | 2792 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2793 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2794 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2795 | continue | 
 | 2796 | fi | 
 | 2797 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2798 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2799 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2800 | /* confdefs.h.  */ | 
 | 2801 | _ACEOF | 
 | 2802 | cat confdefs.h >>conftest.$ac_ext | 
 | 2803 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2804 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2805 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2806 | int | 
 | 2807 | main () | 
 | 2808 | { | 
 | 2809 | exit (42); | 
 | 2810 |   ; | 
 | 2811 |   return 0; | 
 | 2812 | } | 
 | 2813 | _ACEOF | 
 | 2814 | rm -f conftest.$ac_objext | 
 | 2815 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2816 |   (eval $ac_compile) 2>&5 | 
 | 2817 |   ac_status=$? | 
 | 2818 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2819 |   (exit $ac_status); } && | 
 | 2820 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2821 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2822 |   (eval $ac_try) 2>&5 | 
 | 2823 |   ac_status=$? | 
 | 2824 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2825 |   (exit $ac_status); }; }; then | 
 | 2826 |   break | 
 | 2827 | else | 
 | 2828 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2829 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 2830 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2831 | fi | 
 | 2832 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2833 | done | 
 | 2834 | rm -f conftest* | 
 | 2835 | if test -n "$ac_declaration"; then | 
 | 2836 |   echo '#ifdef __cplusplus' >>confdefs.h | 
 | 2837 |   echo $ac_declaration      >>confdefs.h | 
 | 2838 |   echo '#endif'             >>confdefs.h | 
 | 2839 | fi | 
 | 2840 |  | 
 | 2841 | ac_ext=c | 
 | 2842 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2843 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2844 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2845 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2846 |  | 
 | 2847 | ac_ext=c | 
 | 2848 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2849 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2850 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2851 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2852 | if test -n "$ac_tool_prefix"; then | 
 | 2853 |   for ac_prog in gcc | 
 | 2854 |   do | 
 | 2855 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
 | 2856 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
 | 2857 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2858 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2859 | if test "${ac_cv_prog_CC+set}" = set; then | 
 | 2860 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2861 | else | 
 | 2862 |   if test -n "$CC"; then | 
 | 2863 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
 | 2864 | else | 
 | 2865 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2866 | for as_dir in $PATH | 
 | 2867 | do | 
 | 2868 |   IFS=$as_save_IFS | 
 | 2869 |   test -z "$as_dir" && as_dir=. | 
 | 2870 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2871 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2872 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
 | 2873 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2874 |     break 2 | 
 | 2875 |   fi | 
 | 2876 | done | 
 | 2877 | done | 
 | 2878 |  | 
 | 2879 | fi | 
 | 2880 | fi | 
 | 2881 | CC=$ac_cv_prog_CC | 
 | 2882 | if test -n "$CC"; then | 
 | 2883 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
 | 2884 | echo "${ECHO_T}$CC" >&6 | 
 | 2885 | else | 
 | 2886 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2887 | echo "${ECHO_T}no" >&6 | 
 | 2888 | fi | 
 | 2889 |  | 
 | 2890 |     test -n "$CC" && break | 
 | 2891 |   done | 
 | 2892 | fi | 
 | 2893 | if test -z "$CC"; then | 
 | 2894 |   ac_ct_CC=$CC | 
 | 2895 |   for ac_prog in gcc | 
 | 2896 | do | 
 | 2897 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 2898 | set dummy $ac_prog; ac_word=$2 | 
 | 2899 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2900 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2901 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
 | 2902 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2903 | else | 
 | 2904 |   if test -n "$ac_ct_CC"; then | 
 | 2905 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
 | 2906 | else | 
 | 2907 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2908 | for as_dir in $PATH | 
 | 2909 | do | 
 | 2910 |   IFS=$as_save_IFS | 
 | 2911 |   test -z "$as_dir" && as_dir=. | 
 | 2912 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2913 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2914 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
 | 2915 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2916 |     break 2 | 
 | 2917 |   fi | 
 | 2918 | done | 
 | 2919 | done | 
 | 2920 |  | 
 | 2921 | fi | 
 | 2922 | fi | 
 | 2923 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
 | 2924 | if test -n "$ac_ct_CC"; then | 
 | 2925 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
 | 2926 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
 | 2927 | else | 
 | 2928 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2929 | echo "${ECHO_T}no" >&6 | 
 | 2930 | fi | 
 | 2931 |  | 
 | 2932 |   test -n "$ac_ct_CC" && break | 
 | 2933 | done | 
 | 2934 |  | 
 | 2935 |   CC=$ac_ct_CC | 
 | 2936 | fi | 
 | 2937 |  | 
 | 2938 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2939 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
 | 2940 | See \`config.log' for more details." >&5 | 
 | 2941 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
 | 2942 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2943 |    { (exit 1); exit 1; }; } | 
 | 2944 |  | 
 | 2945 | # Provide some information about the compiler. | 
 | 2946 | echo "$as_me:$LINENO:" \ | 
 | 2947 |      "checking for C compiler version" >&5 | 
 | 2948 | ac_compiler=`set X $ac_compile; echo $2` | 
 | 2949 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
 | 2950 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
 | 2951 |   ac_status=$? | 
 | 2952 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2953 |   (exit $ac_status); } | 
 | 2954 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
 | 2955 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
 | 2956 |   ac_status=$? | 
 | 2957 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2958 |   (exit $ac_status); } | 
 | 2959 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
 | 2960 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
 | 2961 |   ac_status=$? | 
 | 2962 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2963 |   (exit $ac_status); } | 
 | 2964 |  | 
 | 2965 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
 | 2966 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
 | 2967 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
 | 2968 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2969 | else | 
 | 2970 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2971 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2972 | /* confdefs.h.  */ | 
 | 2973 | _ACEOF | 
 | 2974 | cat confdefs.h >>conftest.$ac_ext | 
 | 2975 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 2976 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2977 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2978 | int | 
 | 2979 | main () | 
 | 2980 | { | 
 | 2981 | #ifndef __GNUC__ | 
 | 2982 |        choke me | 
 | 2983 | #endif | 
 | 2984 |  | 
 | 2985 |   ; | 
 | 2986 |   return 0; | 
 | 2987 | } | 
 | 2988 | _ACEOF | 
 | 2989 | rm -f conftest.$ac_objext | 
 | 2990 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2991 |   (eval $ac_compile) 2>&5 | 
 | 2992 |   ac_status=$? | 
 | 2993 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2994 |   (exit $ac_status); } && | 
 | 2995 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2996 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2997 |   (eval $ac_try) 2>&5 | 
 | 2998 |   ac_status=$? | 
 | 2999 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3000 |   (exit $ac_status); }; }; then | 
 | 3001 |   ac_compiler_gnu=yes | 
 | 3002 | else | 
 | 3003 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3004 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3005 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3006 | ac_compiler_gnu=no | 
 | 3007 | fi | 
 | 3008 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 3009 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
 | 3010 |  | 
 | 3011 | fi | 
 | 3012 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
 | 3013 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
 | 3014 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
 | 3015 | ac_test_CFLAGS=${CFLAGS+set} | 
 | 3016 | ac_save_CFLAGS=$CFLAGS | 
 | 3017 | CFLAGS="-g" | 
 | 3018 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
 | 3019 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
 | 3020 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
 | 3021 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3022 | else | 
 | 3023 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3024 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3025 | /* confdefs.h.  */ | 
 | 3026 | _ACEOF | 
 | 3027 | cat confdefs.h >>conftest.$ac_ext | 
 | 3028 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3029 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3030 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3031 | int | 
 | 3032 | main () | 
 | 3033 | { | 
 | 3034 |  | 
 | 3035 |   ; | 
 | 3036 |   return 0; | 
 | 3037 | } | 
 | 3038 | _ACEOF | 
 | 3039 | rm -f conftest.$ac_objext | 
 | 3040 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 3041 |   (eval $ac_compile) 2>&5 | 
 | 3042 |   ac_status=$? | 
 | 3043 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3044 |   (exit $ac_status); } && | 
 | 3045 |          { ac_try='test -s conftest.$ac_objext' | 
 | 3046 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3047 |   (eval $ac_try) 2>&5 | 
 | 3048 |   ac_status=$? | 
 | 3049 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3050 |   (exit $ac_status); }; }; then | 
 | 3051 |   ac_cv_prog_cc_g=yes | 
 | 3052 | else | 
 | 3053 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3054 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3055 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3056 | ac_cv_prog_cc_g=no | 
 | 3057 | fi | 
 | 3058 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 3059 | fi | 
 | 3060 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
 | 3061 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
 | 3062 | if test "$ac_test_CFLAGS" = set; then | 
 | 3063 |   CFLAGS=$ac_save_CFLAGS | 
 | 3064 | elif test $ac_cv_prog_cc_g = yes; then | 
 | 3065 |   if test "$GCC" = yes; then | 
 | 3066 |     CFLAGS="-g -O2" | 
 | 3067 |   else | 
 | 3068 |     CFLAGS="-g" | 
 | 3069 |   fi | 
 | 3070 | else | 
 | 3071 |   if test "$GCC" = yes; then | 
 | 3072 |     CFLAGS="-O2" | 
 | 3073 |   else | 
 | 3074 |     CFLAGS= | 
 | 3075 |   fi | 
 | 3076 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3077 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
 | 3078 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
 | 3079 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
 | 3080 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3081 | else | 
 | 3082 |   ac_cv_prog_cc_stdc=no | 
 | 3083 | ac_save_CC=$CC | 
 | 3084 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3085 | #line $LINENO "configure" | 
 | 3086 | /* confdefs.h.  */ | 
 | 3087 | _ACEOF | 
 | 3088 | cat confdefs.h >>conftest.$ac_ext | 
 | 3089 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3090 | /* end confdefs.h.  */ | 
 | 3091 | #include <stdarg.h> | 
 | 3092 | #include <stdio.h> | 
 | 3093 | #include <sys/types.h> | 
 | 3094 | #include <sys/stat.h> | 
 | 3095 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
 | 3096 | struct buf { int x; }; | 
 | 3097 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
 | 3098 | static char *e (p, i) | 
 | 3099 |      char **p; | 
 | 3100 |      int i; | 
 | 3101 | { | 
 | 3102 |   return p[i]; | 
 | 3103 | } | 
 | 3104 | static char *f (char * (*g) (char **, int), char **p, ...) | 
 | 3105 | { | 
 | 3106 |   char *s; | 
 | 3107 |   va_list v; | 
 | 3108 |   va_start (v,p); | 
 | 3109 |   s = g (p, va_arg (v,int)); | 
 | 3110 |   va_end (v); | 
 | 3111 |   return s; | 
 | 3112 | } | 
 | 3113 | int test (int i, double x); | 
 | 3114 | struct s1 {int (*f) (int a);}; | 
 | 3115 | struct s2 {int (*f) (double a);}; | 
 | 3116 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
 | 3117 | int argc; | 
 | 3118 | char **argv; | 
 | 3119 | int | 
 | 3120 | main () | 
 | 3121 | { | 
 | 3122 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
 | 3123 |   ; | 
 | 3124 |   return 0; | 
 | 3125 | } | 
 | 3126 | _ACEOF | 
 | 3127 | # Don't try gcc -ansi; that turns off useful extensions and | 
 | 3128 | # breaks some systems' header files. | 
 | 3129 | # AIX			-qlanglvl=ansi | 
 | 3130 | # Ultrix and OSF/1	-std1 | 
 | 3131 | # HP-UX 10.20 and later	-Ae | 
 | 3132 | # HP-UX older versions	-Aa -D_HPUX_SOURCE | 
 | 3133 | # SVR4			-Xc -D__EXTENSIONS__ | 
 | 3134 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
 | 3135 | do | 
 | 3136 |   CC="$ac_save_CC $ac_arg" | 
 | 3137 |   rm -f conftest.$ac_objext | 
 | 3138 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 3139 |   (eval $ac_compile) 2>&5 | 
 | 3140 |   ac_status=$? | 
 | 3141 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3142 |   (exit $ac_status); } && | 
 | 3143 |          { ac_try='test -s conftest.$ac_objext' | 
 | 3144 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3145 |   (eval $ac_try) 2>&5 | 
 | 3146 |   ac_status=$? | 
 | 3147 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3148 |   (exit $ac_status); }; }; then | 
 | 3149 |   ac_cv_prog_cc_stdc=$ac_arg | 
 | 3150 | break | 
 | 3151 | else | 
 | 3152 |   echo "$as_me: failed program was:" >&5 | 
 | 3153 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3154 |  | 
 | 3155 | fi | 
 | 3156 | rm -f conftest.$ac_objext | 
 | 3157 | done | 
 | 3158 | rm -f conftest.$ac_ext conftest.$ac_objext | 
 | 3159 | CC=$ac_save_CC | 
 | 3160 |  | 
 | 3161 | fi | 
 | 3162 |  | 
 | 3163 | case "x$ac_cv_prog_cc_stdc" in | 
 | 3164 |   x|xno) | 
 | 3165 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
 | 3166 | echo "${ECHO_T}none needed" >&6 ;; | 
 | 3167 |   *) | 
 | 3168 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
 | 3169 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
 | 3170 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
 | 3171 | esac | 
 | 3172 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3173 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
 | 3174 | # in C++ we need to declare it.  In case someone uses the same compiler | 
 | 3175 | # for both compiling C and C++ we need to have the C++ compiler decide | 
 | 3176 | # the declaration of exit, since it's the most demanding environment. | 
 | 3177 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3178 | #ifndef __cplusplus | 
 | 3179 |   choke me | 
 | 3180 | #endif | 
 | 3181 | _ACEOF | 
 | 3182 | rm -f conftest.$ac_objext | 
 | 3183 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 3184 |   (eval $ac_compile) 2>&5 | 
 | 3185 |   ac_status=$? | 
 | 3186 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3187 |   (exit $ac_status); } && | 
 | 3188 |          { ac_try='test -s conftest.$ac_objext' | 
 | 3189 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3190 |   (eval $ac_try) 2>&5 | 
 | 3191 |   ac_status=$? | 
 | 3192 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3193 |   (exit $ac_status); }; }; then | 
 | 3194 |   for ac_declaration in \ | 
 | 3195 |    ''\ | 
 | 3196 |    '#include <stdlib.h>' \ | 
 | 3197 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
 | 3198 |    'extern "C" void std::exit (int); using std::exit;' \ | 
 | 3199 |    'extern "C" void exit (int) throw ();' \ | 
 | 3200 |    'extern "C" void exit (int);' \ | 
 | 3201 |    'void exit (int);' | 
 | 3202 | do | 
 | 3203 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3204 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3205 | /* confdefs.h.  */ | 
 | 3206 | _ACEOF | 
 | 3207 | cat confdefs.h >>conftest.$ac_ext | 
 | 3208 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3209 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3210 | #include <stdlib.h> | 
 | 3211 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3212 | int | 
 | 3213 | main () | 
 | 3214 | { | 
 | 3215 | exit (42); | 
 | 3216 |   ; | 
 | 3217 |   return 0; | 
 | 3218 | } | 
 | 3219 | _ACEOF | 
 | 3220 | rm -f conftest.$ac_objext | 
 | 3221 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 3222 |   (eval $ac_compile) 2>&5 | 
 | 3223 |   ac_status=$? | 
 | 3224 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3225 |   (exit $ac_status); } && | 
 | 3226 |          { ac_try='test -s conftest.$ac_objext' | 
 | 3227 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3228 |   (eval $ac_try) 2>&5 | 
 | 3229 |   ac_status=$? | 
 | 3230 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3231 |   (exit $ac_status); }; }; then | 
 | 3232 |   : | 
 | 3233 | else | 
 | 3234 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3235 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3236 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3237 | continue | 
 | 3238 | fi | 
 | 3239 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 3240 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3241 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3242 | /* confdefs.h.  */ | 
 | 3243 | _ACEOF | 
 | 3244 | cat confdefs.h >>conftest.$ac_ext | 
 | 3245 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3246 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3247 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3248 | int | 
 | 3249 | main () | 
 | 3250 | { | 
 | 3251 | exit (42); | 
 | 3252 |   ; | 
 | 3253 |   return 0; | 
 | 3254 | } | 
 | 3255 | _ACEOF | 
 | 3256 | rm -f conftest.$ac_objext | 
 | 3257 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 3258 |   (eval $ac_compile) 2>&5 | 
 | 3259 |   ac_status=$? | 
 | 3260 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3261 |   (exit $ac_status); } && | 
 | 3262 |          { ac_try='test -s conftest.$ac_objext' | 
 | 3263 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3264 |   (eval $ac_try) 2>&5 | 
 | 3265 |   ac_status=$? | 
 | 3266 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3267 |   (exit $ac_status); }; }; then | 
 | 3268 |   break | 
 | 3269 | else | 
 | 3270 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3271 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3272 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3273 | fi | 
 | 3274 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 3275 | done | 
 | 3276 | rm -f conftest* | 
 | 3277 | if test -n "$ac_declaration"; then | 
 | 3278 |   echo '#ifdef __cplusplus' >>confdefs.h | 
 | 3279 |   echo $ac_declaration      >>confdefs.h | 
 | 3280 |   echo '#endif'             >>confdefs.h | 
 | 3281 | fi | 
 | 3282 |  | 
 | 3283 | else | 
 | 3284 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3285 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3286 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3287 | fi | 
 | 3288 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 3289 | ac_ext=c | 
 | 3290 | ac_cpp='$CPP $CPPFLAGS' | 
 | 3291 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 3292 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 3293 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 3294 |  | 
 | 3295 | ac_ext=c | 
 | 3296 | ac_cpp='$CPP $CPPFLAGS' | 
 | 3297 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 3298 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 3299 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 3300 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
 | 3301 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
 | 3302 | # On Suns, sometimes $CPP names a directory. | 
 | 3303 | if test -n "$CPP" && test -d "$CPP"; then | 
 | 3304 |   CPP= | 
 | 3305 | fi | 
 | 3306 | if test -z "$CPP"; then | 
 | 3307 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
 | 3308 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3309 | else | 
 | 3310 |       # Double quotes because CPP needs to be expanded | 
 | 3311 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
 | 3312 |     do | 
 | 3313 |       ac_preproc_ok=false | 
 | 3314 | for ac_c_preproc_warn_flag in '' yes | 
 | 3315 | do | 
 | 3316 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 3317 |   # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3318 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 3319 |   # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3320 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 3321 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 3322 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3323 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3324 | /* confdefs.h.  */ | 
 | 3325 | _ACEOF | 
 | 3326 | cat confdefs.h >>conftest.$ac_ext | 
 | 3327 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3328 | /* end confdefs.h.  */ | 
 | 3329 | #ifdef __STDC__ | 
 | 3330 | # include <limits.h> | 
 | 3331 | #else | 
 | 3332 | # include <assert.h> | 
 | 3333 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3334 |                      Syntax error | 
 | 3335 | _ACEOF | 
 | 3336 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 3337 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 3338 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3339 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3340 |   rm -f conftest.er1 | 
 | 3341 |   cat conftest.err >&5 | 
 | 3342 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3343 |   (exit $ac_status); } >/dev/null; then | 
 | 3344 |   if test -s conftest.err; then | 
 | 3345 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 3346 |   else | 
 | 3347 |     ac_cpp_err= | 
 | 3348 |   fi | 
 | 3349 | else | 
 | 3350 |   ac_cpp_err=yes | 
 | 3351 | fi | 
 | 3352 | if test -z "$ac_cpp_err"; then | 
 | 3353 |   : | 
 | 3354 | else | 
 | 3355 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3356 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3357 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3358 |   # Broken: fails on valid input. | 
 | 3359 | continue | 
 | 3360 | fi | 
 | 3361 | rm -f conftest.err conftest.$ac_ext | 
 | 3362 |  | 
 | 3363 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 3364 |   # can be detected and how. | 
 | 3365 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3366 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3367 | /* confdefs.h.  */ | 
 | 3368 | _ACEOF | 
 | 3369 | cat confdefs.h >>conftest.$ac_ext | 
 | 3370 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3371 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3372 | #include <ac_nonexistent.h> | 
 | 3373 | _ACEOF | 
 | 3374 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 3375 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 3376 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3377 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3378 |   rm -f conftest.er1 | 
 | 3379 |   cat conftest.err >&5 | 
 | 3380 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3381 |   (exit $ac_status); } >/dev/null; then | 
 | 3382 |   if test -s conftest.err; then | 
 | 3383 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 3384 |   else | 
 | 3385 |     ac_cpp_err= | 
 | 3386 |   fi | 
 | 3387 | else | 
 | 3388 |   ac_cpp_err=yes | 
 | 3389 | fi | 
 | 3390 | if test -z "$ac_cpp_err"; then | 
 | 3391 |   # Broken: success on invalid input. | 
 | 3392 | continue | 
 | 3393 | else | 
 | 3394 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3395 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3396 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3397 |   # Passes both tests. | 
 | 3398 | ac_preproc_ok=: | 
 | 3399 | break | 
 | 3400 | fi | 
 | 3401 | rm -f conftest.err conftest.$ac_ext | 
 | 3402 |  | 
 | 3403 | done | 
 | 3404 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 3405 | rm -f conftest.err conftest.$ac_ext | 
 | 3406 | if $ac_preproc_ok; then | 
 | 3407 |   break | 
 | 3408 | fi | 
 | 3409 |  | 
 | 3410 |     done | 
 | 3411 |     ac_cv_prog_CPP=$CPP | 
 | 3412 |  | 
 | 3413 | fi | 
 | 3414 |   CPP=$ac_cv_prog_CPP | 
 | 3415 | else | 
 | 3416 |   ac_cv_prog_CPP=$CPP | 
 | 3417 | fi | 
 | 3418 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
 | 3419 | echo "${ECHO_T}$CPP" >&6 | 
 | 3420 | ac_preproc_ok=false | 
 | 3421 | for ac_c_preproc_warn_flag in '' yes | 
 | 3422 | do | 
 | 3423 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 3424 |   # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3425 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 3426 |   # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3427 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 3428 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 3429 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3430 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3431 | /* confdefs.h.  */ | 
 | 3432 | _ACEOF | 
 | 3433 | cat confdefs.h >>conftest.$ac_ext | 
 | 3434 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3435 | /* end confdefs.h.  */ | 
 | 3436 | #ifdef __STDC__ | 
 | 3437 | # include <limits.h> | 
 | 3438 | #else | 
 | 3439 | # include <assert.h> | 
 | 3440 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3441 |                      Syntax error | 
 | 3442 | _ACEOF | 
 | 3443 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 3444 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 3445 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3446 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3447 |   rm -f conftest.er1 | 
 | 3448 |   cat conftest.err >&5 | 
 | 3449 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3450 |   (exit $ac_status); } >/dev/null; then | 
 | 3451 |   if test -s conftest.err; then | 
 | 3452 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 3453 |   else | 
 | 3454 |     ac_cpp_err= | 
 | 3455 |   fi | 
 | 3456 | else | 
 | 3457 |   ac_cpp_err=yes | 
 | 3458 | fi | 
 | 3459 | if test -z "$ac_cpp_err"; then | 
 | 3460 |   : | 
 | 3461 | else | 
 | 3462 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3463 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3464 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3465 |   # Broken: fails on valid input. | 
 | 3466 | continue | 
 | 3467 | fi | 
 | 3468 | rm -f conftest.err conftest.$ac_ext | 
 | 3469 |  | 
 | 3470 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 3471 |   # can be detected and how. | 
 | 3472 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3473 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3474 | /* confdefs.h.  */ | 
 | 3475 | _ACEOF | 
 | 3476 | cat confdefs.h >>conftest.$ac_ext | 
 | 3477 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3478 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3479 | #include <ac_nonexistent.h> | 
 | 3480 | _ACEOF | 
 | 3481 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 3482 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 3483 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3484 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3485 |   rm -f conftest.er1 | 
 | 3486 |   cat conftest.err >&5 | 
 | 3487 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3488 |   (exit $ac_status); } >/dev/null; then | 
 | 3489 |   if test -s conftest.err; then | 
 | 3490 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 3491 |   else | 
 | 3492 |     ac_cpp_err= | 
 | 3493 |   fi | 
 | 3494 | else | 
 | 3495 |   ac_cpp_err=yes | 
 | 3496 | fi | 
 | 3497 | if test -z "$ac_cpp_err"; then | 
 | 3498 |   # Broken: success on invalid input. | 
 | 3499 | continue | 
 | 3500 | else | 
 | 3501 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3502 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3503 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3504 |   # Passes both tests. | 
 | 3505 | ac_preproc_ok=: | 
 | 3506 | break | 
 | 3507 | fi | 
 | 3508 | rm -f conftest.err conftest.$ac_ext | 
 | 3509 |  | 
 | 3510 | done | 
 | 3511 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 3512 | rm -f conftest.err conftest.$ac_ext | 
 | 3513 | if $ac_preproc_ok; then | 
 | 3514 |   : | 
 | 3515 | else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3516 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 
 | 3517 | See \`config.log' for more details." >&5 | 
 | 3518 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 
 | 3519 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3520 |    { (exit 1); exit 1; }; } | 
 | 3521 | fi | 
 | 3522 |  | 
 | 3523 | ac_ext=c | 
 | 3524 | ac_cpp='$CPP $CPPFLAGS' | 
 | 3525 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 3526 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 3527 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 3528 |  | 
 | 3529 |  | 
 | 3530 | if test "$GCC" != "yes" | 
 | 3531 | then | 
 | 3532 | 	{ { echo "$as_me:$LINENO: error: gcc required but not found" >&5 | 
 | 3533 | echo "$as_me: error: gcc required but not found" >&2;} | 
 | 3534 |    { (exit 1); exit 1; }; } | 
 | 3535 | fi | 
 | 3536 |  | 
 | 3537 | if test "$GXX" != "yes" | 
 | 3538 | then | 
 | 3539 | 	{ { echo "$as_me:$LINENO: error: g++ required but not found" >&5 | 
 | 3540 | echo "$as_me: error: g++ required but not found" >&2;} | 
 | 3541 |    { (exit 1); exit 1; }; } | 
 | 3542 | fi | 
 | 3543 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 3544 | gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1` | 
 | 3545 | if test "$gccmajor" -lt "3" | 
 | 3546 | then | 
 | 3547 | 	{ { echo "$as_me:$LINENO: error: gcc 3.x required" >&5 | 
 | 3548 | echo "$as_me: error: gcc 3.x required" >&2;} | 
 | 3549 |    { (exit 1); exit 1; }; } | 
 | 3550 | fi | 
 | 3551 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3552 |  echo "$as_me:$LINENO: checking for GNU make" >&5 | 
 | 3553 | echo $ECHO_N "checking for GNU make... $ECHO_C" >&6 | 
 | 3554 | if test "${_cv_gnu_make_command+set}" = set; then | 
 | 3555 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3556 | else | 
 | 3557 |   _cv_gnu_make_command='' ; | 
 | 3558 |                 for a in "$MAKE" make gmake gnumake ; do | 
 | 3559 |                         if test -z "$a" ; then continue ; fi ; | 
 | 3560 |                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then | 
 | 3561 |                                 _cv_gnu_make_command=$a ; | 
 | 3562 |                                 break; | 
 | 3563 |                         fi | 
 | 3564 |                 done ; | 
 | 3565 |  | 
 | 3566 | fi | 
 | 3567 | echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5 | 
 | 3568 | echo "${ECHO_T}$_cv_gnu_make_command" >&6 ; | 
 | 3569 |         if test  "x$_cv_gnu_make_command" != "x"  ; then | 
 | 3570 |                 ifGNUmake='' ; | 
 | 3571 |         else | 
 | 3572 |                 ifGNUmake='#' ; | 
 | 3573 |                 echo "$as_me:$LINENO: result: \"Not found\"" >&5 | 
 | 3574 | echo "${ECHO_T}\"Not found\"" >&6; | 
 | 3575 |         fi | 
 | 3576 |  | 
 | 3577 |  | 
 | 3578 | if test -z "$_cv_gnu_make_command" | 
 | 3579 | then | 
 | 3580 | 	{ { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5 | 
 | 3581 | echo "$as_me: error: GNU Make required but not found" >&2;} | 
 | 3582 |    { (exit 1); exit 1; }; } | 
 | 3583 | fi | 
 | 3584 |  | 
 | 3585 |  | 
 | 3586 | echo "$as_me:$LINENO: checking " >&5 | 
 | 3587 | echo $ECHO_N "checking ... $ECHO_C" >&6 | 
 | 3588 | if test "${ac_cv_has_flex+set}" = set; then | 
 | 3589 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3590 | else | 
 | 3591 |   for ac_prog in flex lex | 
 | 3592 | do | 
 | 3593 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 3594 | set dummy $ac_prog; ac_word=$2 | 
 | 3595 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 3596 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 3597 | if test "${ac_cv_prog_LEX+set}" = set; then | 
 | 3598 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3599 | else | 
 | 3600 |   if test -n "$LEX"; then | 
 | 3601 |   ac_cv_prog_LEX="$LEX" # Let the user override the test. | 
 | 3602 | else | 
 | 3603 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 3604 | for as_dir in $PATH | 
 | 3605 | do | 
 | 3606 |   IFS=$as_save_IFS | 
 | 3607 |   test -z "$as_dir" && as_dir=. | 
 | 3608 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 3609 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 3610 |     ac_cv_prog_LEX="$ac_prog" | 
 | 3611 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 3612 |     break 2 | 
 | 3613 |   fi | 
 | 3614 | done | 
 | 3615 | done | 
 | 3616 |  | 
 | 3617 | fi | 
 | 3618 | fi | 
 | 3619 | LEX=$ac_cv_prog_LEX | 
 | 3620 | if test -n "$LEX"; then | 
 | 3621 |   echo "$as_me:$LINENO: result: $LEX" >&5 | 
 | 3622 | echo "${ECHO_T}$LEX" >&6 | 
 | 3623 | else | 
 | 3624 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 3625 | echo "${ECHO_T}no" >&6 | 
 | 3626 | fi | 
 | 3627 |  | 
 | 3628 |   test -n "$LEX" && break | 
 | 3629 | done | 
 | 3630 | test -n "$LEX" || LEX=":" | 
 | 3631 |  | 
 | 3632 | if test -z "$LEXLIB" | 
 | 3633 | then | 
 | 3634 |   echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 | 
 | 3635 | echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 | 
 | 3636 | if test "${ac_cv_lib_fl_yywrap+set}" = set; then | 
 | 3637 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3638 | else | 
 | 3639 |   ac_check_lib_save_LIBS=$LIBS | 
 | 3640 | LIBS="-lfl  $LIBS" | 
 | 3641 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3642 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3643 | /* confdefs.h.  */ | 
 | 3644 | _ACEOF | 
 | 3645 | cat confdefs.h >>conftest.$ac_ext | 
 | 3646 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3647 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3648 |  | 
 | 3649 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 3650 | #ifdef __cplusplus | 
 | 3651 | extern "C" | 
 | 3652 | #endif | 
 | 3653 | /* We use char because int might match the return type of a gcc2 | 
 | 3654 |    builtin and then its argument prototype would still apply.  */ | 
 | 3655 | char yywrap (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3656 | int | 
 | 3657 | main () | 
 | 3658 | { | 
 | 3659 | yywrap (); | 
 | 3660 |   ; | 
 | 3661 |   return 0; | 
 | 3662 | } | 
 | 3663 | _ACEOF | 
 | 3664 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 3665 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 3666 |   (eval $ac_link) 2>&5 | 
 | 3667 |   ac_status=$? | 
 | 3668 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3669 |   (exit $ac_status); } && | 
 | 3670 |          { ac_try='test -s conftest$ac_exeext' | 
 | 3671 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3672 |   (eval $ac_try) 2>&5 | 
 | 3673 |   ac_status=$? | 
 | 3674 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3675 |   (exit $ac_status); }; }; then | 
 | 3676 |   ac_cv_lib_fl_yywrap=yes | 
 | 3677 | else | 
 | 3678 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3679 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3680 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3681 | ac_cv_lib_fl_yywrap=no | 
 | 3682 | fi | 
 | 3683 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 3684 | LIBS=$ac_check_lib_save_LIBS | 
 | 3685 | fi | 
 | 3686 | echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 | 
 | 3687 | echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 | 
 | 3688 | if test $ac_cv_lib_fl_yywrap = yes; then | 
 | 3689 |   LEXLIB="-lfl" | 
 | 3690 | else | 
 | 3691 |   echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 | 
 | 3692 | echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 | 
 | 3693 | if test "${ac_cv_lib_l_yywrap+set}" = set; then | 
 | 3694 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3695 | else | 
 | 3696 |   ac_check_lib_save_LIBS=$LIBS | 
 | 3697 | LIBS="-ll  $LIBS" | 
 | 3698 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3699 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3700 | /* confdefs.h.  */ | 
 | 3701 | _ACEOF | 
 | 3702 | cat confdefs.h >>conftest.$ac_ext | 
 | 3703 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 3704 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3705 |  | 
 | 3706 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 3707 | #ifdef __cplusplus | 
 | 3708 | extern "C" | 
 | 3709 | #endif | 
 | 3710 | /* We use char because int might match the return type of a gcc2 | 
 | 3711 |    builtin and then its argument prototype would still apply.  */ | 
 | 3712 | char yywrap (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3713 | int | 
 | 3714 | main () | 
 | 3715 | { | 
 | 3716 | yywrap (); | 
 | 3717 |   ; | 
 | 3718 |   return 0; | 
 | 3719 | } | 
 | 3720 | _ACEOF | 
 | 3721 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 3722 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 3723 |   (eval $ac_link) 2>&5 | 
 | 3724 |   ac_status=$? | 
 | 3725 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3726 |   (exit $ac_status); } && | 
 | 3727 |          { ac_try='test -s conftest$ac_exeext' | 
 | 3728 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3729 |   (eval $ac_try) 2>&5 | 
 | 3730 |   ac_status=$? | 
 | 3731 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3732 |   (exit $ac_status); }; }; then | 
 | 3733 |   ac_cv_lib_l_yywrap=yes | 
 | 3734 | else | 
 | 3735 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3736 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3737 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3738 | ac_cv_lib_l_yywrap=no | 
 | 3739 | fi | 
 | 3740 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 3741 | LIBS=$ac_check_lib_save_LIBS | 
 | 3742 | fi | 
 | 3743 | echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 | 
 | 3744 | echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 | 
 | 3745 | if test $ac_cv_lib_l_yywrap = yes; then | 
 | 3746 |   LEXLIB="-ll" | 
 | 3747 | fi | 
 | 3748 |  | 
 | 3749 | fi | 
 | 3750 |  | 
 | 3751 | fi | 
 | 3752 |  | 
 | 3753 | if test "x$LEX" != "x:"; then | 
 | 3754 |   echo "$as_me:$LINENO: checking lex output file root" >&5 | 
 | 3755 | echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 | 
 | 3756 | if test "${ac_cv_prog_lex_root+set}" = set; then | 
 | 3757 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3758 | else | 
 | 3759 |   # The minimal lex program is just a single line: %%.  But some broken lexes | 
 | 3760 | # (Solaris, I think it was) want two %% lines, so accommodate them. | 
 | 3761 | cat >conftest.l <<_ACEOF | 
 | 3762 | %% | 
 | 3763 | %% | 
 | 3764 | _ACEOF | 
 | 3765 | { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 | 
 | 3766 |   (eval $LEX conftest.l) 2>&5 | 
 | 3767 |   ac_status=$? | 
 | 3768 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3769 |   (exit $ac_status); } | 
 | 3770 | if test -f lex.yy.c; then | 
 | 3771 |   ac_cv_prog_lex_root=lex.yy | 
 | 3772 | elif test -f lexyy.c; then | 
 | 3773 |   ac_cv_prog_lex_root=lexyy | 
 | 3774 | else | 
 | 3775 |   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 | 
 | 3776 | echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} | 
 | 3777 |    { (exit 1); exit 1; }; } | 
 | 3778 | fi | 
 | 3779 | fi | 
 | 3780 | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 | 
 | 3781 | echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 | 
 | 3782 | rm -f conftest.l | 
 | 3783 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root | 
 | 3784 |  | 
 | 3785 | echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 | 
 | 3786 | echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 | 
 | 3787 | if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then | 
 | 3788 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3789 | else | 
 | 3790 |   # POSIX says lex can declare yytext either as a pointer or an array; the | 
 | 3791 | # default is implementation-dependent. Figure out which it is, since | 
 | 3792 | # not all implementations provide the %pointer and %array declarations. | 
 | 3793 | ac_cv_prog_lex_yytext_pointer=no | 
 | 3794 | echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c | 
 | 3795 | ac_save_LIBS=$LIBS | 
 | 3796 | LIBS="$LIBS $LEXLIB" | 
 | 3797 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3798 | `cat $LEX_OUTPUT_ROOT.c` | 
 | 3799 | _ACEOF | 
 | 3800 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 3801 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 3802 |   (eval $ac_link) 2>&5 | 
 | 3803 |   ac_status=$? | 
 | 3804 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3805 |   (exit $ac_status); } && | 
 | 3806 |          { ac_try='test -s conftest$ac_exeext' | 
 | 3807 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3808 |   (eval $ac_try) 2>&5 | 
 | 3809 |   ac_status=$? | 
 | 3810 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3811 |   (exit $ac_status); }; }; then | 
 | 3812 |   ac_cv_prog_lex_yytext_pointer=yes | 
 | 3813 | else | 
 | 3814 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3815 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 3816 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3817 | fi | 
 | 3818 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 3819 | LIBS=$ac_save_LIBS | 
 | 3820 | rm -f "${LEX_OUTPUT_ROOT}.c" | 
 | 3821 |  | 
 | 3822 | fi | 
 | 3823 | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 | 
 | 3824 | echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 | 
 | 3825 | if test $ac_cv_prog_lex_yytext_pointer = yes; then | 
 | 3826 |  | 
 | 3827 | cat >>confdefs.h <<\_ACEOF | 
 | 3828 | #define YYTEXT_POINTER 1 | 
 | 3829 | _ACEOF | 
 | 3830 |  | 
 | 3831 | fi | 
 | 3832 |  | 
 | 3833 | fi | 
 | 3834 |  | 
 | 3835 | fi | 
 | 3836 | echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5 | 
 | 3837 | echo "${ECHO_T}$ac_cv_has_flex" >&6 | 
 | 3838 | if test "$LEX" != "flex"; then | 
 | 3839 |   { { echo "$as_me:$LINENO: error: flex not found but required" >&5 | 
 | 3840 | echo "$as_me: error: flex not found but required" >&2;} | 
 | 3841 |    { (exit 1); exit 1; }; } | 
 | 3842 | fi | 
 | 3843 |  | 
 | 3844 | echo "$as_me:$LINENO: checking " >&5 | 
 | 3845 | echo $ECHO_N "checking ... $ECHO_C" >&6 | 
 | 3846 | if test "${ac_cv_has_bison+set}" = set; then | 
 | 3847 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3848 | else | 
 | 3849 |   for ac_prog in 'bison -y' byacc | 
 | 3850 | do | 
 | 3851 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 3852 | set dummy $ac_prog; ac_word=$2 | 
 | 3853 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 3854 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 3855 | if test "${ac_cv_prog_YACC+set}" = set; then | 
 | 3856 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3857 | else | 
 | 3858 |   if test -n "$YACC"; then | 
 | 3859 |   ac_cv_prog_YACC="$YACC" # Let the user override the test. | 
 | 3860 | else | 
 | 3861 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 3862 | for as_dir in $PATH | 
 | 3863 | do | 
 | 3864 |   IFS=$as_save_IFS | 
 | 3865 |   test -z "$as_dir" && as_dir=. | 
 | 3866 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 3867 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 3868 |     ac_cv_prog_YACC="$ac_prog" | 
 | 3869 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 3870 |     break 2 | 
 | 3871 |   fi | 
 | 3872 | done | 
 | 3873 | done | 
 | 3874 |  | 
 | 3875 | fi | 
 | 3876 | fi | 
 | 3877 | YACC=$ac_cv_prog_YACC | 
 | 3878 | if test -n "$YACC"; then | 
 | 3879 |   echo "$as_me:$LINENO: result: $YACC" >&5 | 
 | 3880 | echo "${ECHO_T}$YACC" >&6 | 
 | 3881 | else | 
 | 3882 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 3883 | echo "${ECHO_T}no" >&6 | 
 | 3884 | fi | 
 | 3885 |  | 
 | 3886 |   test -n "$YACC" && break | 
 | 3887 | done | 
 | 3888 | test -n "$YACC" || YACC="yacc" | 
 | 3889 |  | 
 | 3890 |  | 
 | 3891 | fi | 
 | 3892 | echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5 | 
 | 3893 | echo "${ECHO_T}$ac_cv_has_bison" >&6 | 
 | 3894 | if test "$YACC" != "bison -y"; then | 
 | 3895 |   { { echo "$as_me:$LINENO: error: bison not found but required" >&5 | 
 | 3896 | echo "$as_me: error: bison not found but required" >&2;} | 
 | 3897 |    { (exit 1); exit 1; }; } | 
 | 3898 | else | 
 | 3899 |   YACC=bison | 
 | 3900 |  | 
 | 3901 | fi | 
 | 3902 |  | 
 | 3903 |  | 
 | 3904 | # Check whether --enable-shared or --disable-shared was given. | 
 | 3905 | if test "${enable_shared+set}" = set; then | 
 | 3906 |   enableval="$enable_shared" | 
 | 3907 |   p=${PACKAGE-default} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3908 |     case $enableval in | 
 | 3909 |     yes) enable_shared=yes ;; | 
 | 3910 |     no) enable_shared=no ;; | 
 | 3911 |     *) | 
 | 3912 |       enable_shared=no | 
 | 3913 |       # Look at the argument we got.  We use all the common list separators. | 
 | 3914 |       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
 | 3915 |       for pkg in $enableval; do | 
 | 3916 | 	IFS="$lt_save_ifs" | 
 | 3917 | 	if test "X$pkg" = "X$p"; then | 
 | 3918 | 	  enable_shared=yes | 
 | 3919 | 	fi | 
 | 3920 |       done | 
 | 3921 |       IFS="$lt_save_ifs" | 
 | 3922 |       ;; | 
 | 3923 |     esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3924 | else | 
 | 3925 |   enable_shared=yes | 
 | 3926 | fi; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3927 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3928 | # Check whether --enable-static or --disable-static was given. | 
 | 3929 | if test "${enable_static+set}" = set; then | 
 | 3930 |   enableval="$enable_static" | 
 | 3931 |   p=${PACKAGE-default} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3932 |     case $enableval in | 
 | 3933 |     yes) enable_static=yes ;; | 
 | 3934 |     no) enable_static=no ;; | 
 | 3935 |     *) | 
 | 3936 |      enable_static=no | 
 | 3937 |       # Look at the argument we got.  We use all the common list separators. | 
 | 3938 |       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
 | 3939 |       for pkg in $enableval; do | 
 | 3940 | 	IFS="$lt_save_ifs" | 
 | 3941 | 	if test "X$pkg" = "X$p"; then | 
 | 3942 | 	  enable_static=yes | 
 | 3943 | 	fi | 
 | 3944 |       done | 
 | 3945 |       IFS="$lt_save_ifs" | 
 | 3946 |       ;; | 
 | 3947 |     esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3948 | else | 
 | 3949 |   enable_static=yes | 
 | 3950 | fi; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3951 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3952 | # Check whether --enable-fast-install or --disable-fast-install was given. | 
 | 3953 | if test "${enable_fast_install+set}" = set; then | 
 | 3954 |   enableval="$enable_fast_install" | 
 | 3955 |   p=${PACKAGE-default} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3956 |     case $enableval in | 
 | 3957 |     yes) enable_fast_install=yes ;; | 
 | 3958 |     no) enable_fast_install=no ;; | 
 | 3959 |     *) | 
 | 3960 |       enable_fast_install=no | 
 | 3961 |       # Look at the argument we got.  We use all the common list separators. | 
 | 3962 |       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
 | 3963 |       for pkg in $enableval; do | 
 | 3964 | 	IFS="$lt_save_ifs" | 
 | 3965 | 	if test "X$pkg" = "X$p"; then | 
 | 3966 | 	  enable_fast_install=yes | 
 | 3967 | 	fi | 
 | 3968 |       done | 
 | 3969 |       IFS="$lt_save_ifs" | 
 | 3970 |       ;; | 
 | 3971 |     esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3972 | else | 
 | 3973 |   enable_fast_install=yes | 
 | 3974 | fi; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3975 |  | 
 | 3976 | echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 | 
 | 3977 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 | 
 | 3978 | if test "${lt_cv_path_SED+set}" = set; then | 
 | 3979 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3980 | else | 
 | 3981 |   # Loop through the user's path and test for sed and gsed. | 
 | 3982 | # Then use that list of sed's as ones to test for truncation. | 
 | 3983 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 3984 | for as_dir in $PATH | 
 | 3985 | do | 
 | 3986 |   IFS=$as_save_IFS | 
 | 3987 |   test -z "$as_dir" && as_dir=. | 
 | 3988 |   for lt_ac_prog in sed gsed; do | 
 | 3989 |     for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 3990 |       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then | 
 | 3991 |         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" | 
 | 3992 |       fi | 
 | 3993 |     done | 
 | 3994 |   done | 
 | 3995 | done | 
 | 3996 | lt_ac_max=0 | 
 | 3997 | lt_ac_count=0 | 
 | 3998 | # Add /usr/xpg4/bin/sed as it is typically found on Solaris | 
 | 3999 | # along with /bin/sed that truncates output. | 
 | 4000 | for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do | 
 | 4001 |   test ! -f $lt_ac_sed && break | 
 | 4002 |   cat /dev/null > conftest.in | 
 | 4003 |   lt_ac_count=0 | 
 | 4004 |   echo $ECHO_N "0123456789$ECHO_C" >conftest.in | 
 | 4005 |   # Check for GNU sed and select it if it is found. | 
 | 4006 |   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then | 
 | 4007 |     lt_cv_path_SED=$lt_ac_sed | 
 | 4008 |     break | 
 | 4009 |   fi | 
 | 4010 |   while true; do | 
 | 4011 |     cat conftest.in conftest.in >conftest.tmp | 
 | 4012 |     mv conftest.tmp conftest.in | 
 | 4013 |     cp conftest.in conftest.nl | 
 | 4014 |     echo >>conftest.nl | 
 | 4015 |     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break | 
 | 4016 |     cmp -s conftest.out conftest.nl || break | 
 | 4017 |     # 10000 chars as input seems more than enough | 
 | 4018 |     test $lt_ac_count -gt 10 && break | 
 | 4019 |     lt_ac_count=`expr $lt_ac_count + 1` | 
 | 4020 |     if test $lt_ac_count -gt $lt_ac_max; then | 
 | 4021 |       lt_ac_max=$lt_ac_count | 
 | 4022 |       lt_cv_path_SED=$lt_ac_sed | 
 | 4023 |     fi | 
 | 4024 |   done | 
 | 4025 | done | 
 | 4026 | SED=$lt_cv_path_SED | 
 | 4027 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4028 | fi | 
 | 4029 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4030 | echo "$as_me:$LINENO: result: $SED" >&5 | 
 | 4031 | echo "${ECHO_T}$SED" >&6 | 
 | 4032 |  | 
 | 4033 | echo "$as_me:$LINENO: checking for egrep" >&5 | 
 | 4034 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
 | 4035 | if test "${ac_cv_prog_egrep+set}" = set; then | 
 | 4036 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4037 | else | 
 | 4038 |   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 
 | 4039 |     then ac_cv_prog_egrep='grep -E' | 
 | 4040 |     else ac_cv_prog_egrep='egrep' | 
 | 4041 |     fi | 
 | 4042 | fi | 
 | 4043 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 
 | 4044 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 
 | 4045 |  EGREP=$ac_cv_prog_egrep | 
 | 4046 |  | 
 | 4047 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4048 |  | 
 | 4049 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | 
 | 4050 | if test "${with_gnu_ld+set}" = set; then | 
 | 4051 |   withval="$with_gnu_ld" | 
 | 4052 |   test "$withval" = no || with_gnu_ld=yes | 
 | 4053 | else | 
 | 4054 |   with_gnu_ld=no | 
 | 4055 | fi; | 
 | 4056 | ac_prog=ld | 
 | 4057 | if test "$GCC" = yes; then | 
 | 4058 |   # Check if gcc -print-prog-name=ld gives a path. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4059 |   echo "$as_me:$LINENO: checking for ld used by $CC" >&5 | 
 | 4060 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4061 |   case $host in | 
 | 4062 |   *-*-mingw*) | 
 | 4063 |     # gcc leaves a trailing carriage return which upsets mingw | 
 | 4064 |     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
 | 4065 |   *) | 
 | 4066 |     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
 | 4067 |   esac | 
 | 4068 |   case $ac_prog in | 
 | 4069 |     # Accept absolute paths. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4070 |     [\\/]* | ?:[\\/]*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4071 |       re_direlt='/[^/][^/]*/\.\./' | 
 | 4072 |       # Canonicalize the path of ld | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4073 |       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4074 |       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4075 | 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4076 |       done | 
 | 4077 |       test -z "$LD" && LD="$ac_prog" | 
 | 4078 |       ;; | 
 | 4079 |   "") | 
 | 4080 |     # If it fails, then pretend we aren't using GCC. | 
 | 4081 |     ac_prog=ld | 
 | 4082 |     ;; | 
 | 4083 |   *) | 
 | 4084 |     # If it is relative, then search for the first ld in PATH. | 
 | 4085 |     with_gnu_ld=unknown | 
 | 4086 |     ;; | 
 | 4087 |   esac | 
 | 4088 | elif test "$with_gnu_ld" = yes; then | 
 | 4089 |   echo "$as_me:$LINENO: checking for GNU ld" >&5 | 
 | 4090 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | 
 | 4091 | else | 
 | 4092 |   echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | 
 | 4093 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | 
 | 4094 | fi | 
 | 4095 | if test "${lt_cv_path_LD+set}" = set; then | 
 | 4096 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4097 | else | 
 | 4098 |   if test -z "$LD"; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4099 |   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4100 |   for ac_dir in $PATH; do | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4101 |     IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4102 |     test -z "$ac_dir" && ac_dir=. | 
 | 4103 |     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
 | 4104 |       lt_cv_path_LD="$ac_dir/$ac_prog" | 
 | 4105 |       # Check to see if the program is GNU ld.  I'd rather use --version, | 
 | 4106 |       # but apparently some GNU ld's only accept -v. | 
 | 4107 |       # 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] | 4108 |       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 
 | 4109 |       *GNU* | *'with BFD'*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4110 | 	test "$with_gnu_ld" != no && break | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4111 | 	;; | 
 | 4112 |       *) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4113 | 	test "$with_gnu_ld" != yes && break | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4114 | 	;; | 
 | 4115 |       esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4116 |     fi | 
 | 4117 |   done | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4118 |   IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4119 | else | 
 | 4120 |   lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
 | 4121 | fi | 
 | 4122 | fi | 
 | 4123 |  | 
 | 4124 | LD="$lt_cv_path_LD" | 
 | 4125 | if test -n "$LD"; then | 
 | 4126 |   echo "$as_me:$LINENO: result: $LD" >&5 | 
 | 4127 | echo "${ECHO_T}$LD" >&6 | 
 | 4128 | else | 
 | 4129 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4130 | echo "${ECHO_T}no" >&6 | 
 | 4131 | fi | 
 | 4132 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | 
 | 4133 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 
 | 4134 |    { (exit 1); exit 1; }; } | 
 | 4135 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | 
 | 4136 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | 
 | 4137 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | 
 | 4138 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4139 | else | 
 | 4140 |   # 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] | 4141 | case `"$LD" -v 2>&1 </dev/null` in | 
 | 4142 | *GNU* | *'with BFD'*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4143 |   lt_cv_prog_gnu_ld=yes | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4144 |   ;; | 
 | 4145 | *) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4146 |   lt_cv_prog_gnu_ld=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4147 |   ;; | 
 | 4148 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4149 | fi | 
 | 4150 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | 
 | 4151 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | 
 | 4152 | with_gnu_ld=$lt_cv_prog_gnu_ld | 
 | 4153 |  | 
 | 4154 |  | 
 | 4155 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 | 
 | 4156 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 | 
 | 4157 | if test "${lt_cv_ld_reload_flag+set}" = set; then | 
 | 4158 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4159 | else | 
 | 4160 |   lt_cv_ld_reload_flag='-r' | 
 | 4161 | fi | 
 | 4162 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 | 
 | 4163 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | 
 | 4164 | reload_flag=$lt_cv_ld_reload_flag | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4165 | case $reload_flag in | 
 | 4166 | "" | " "*) ;; | 
 | 4167 | *) reload_flag=" $reload_flag" ;; | 
 | 4168 | esac | 
 | 4169 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4170 |  | 
 | 4171 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 | 
 | 4172 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | 
 | 4173 | if test "${lt_cv_path_NM+set}" = set; then | 
 | 4174 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4175 | else | 
 | 4176 |   if test -n "$NM"; then | 
 | 4177 |   # Let the user override the test. | 
 | 4178 |   lt_cv_path_NM="$NM" | 
 | 4179 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4180 |   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4181 |   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4182 |     IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4183 |     test -z "$ac_dir" && ac_dir=. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4184 |     tmp_nm="$ac_dir/${ac_tool_prefix}nm" | 
 | 4185 |     if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4186 |       # Check to see if the nm accepts a BSD-compat flag. | 
 | 4187 |       # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 
 | 4188 |       #   nm: unknown option "B" ignored | 
 | 4189 |       # Tru64's nm complains that /dev/null is an invalid object file | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4190 |       case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | 
 | 4191 |       */dev/null* | *'Invalid file or object type'*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4192 | 	lt_cv_path_NM="$tmp_nm -B" | 
 | 4193 | 	break | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4194 |         ;; | 
 | 4195 |       *) | 
 | 4196 | 	case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | 
 | 4197 | 	*/dev/null*) | 
 | 4198 | 	  lt_cv_path_NM="$tmp_nm -p" | 
 | 4199 | 	  break | 
 | 4200 | 	  ;; | 
 | 4201 | 	*) | 
 | 4202 | 	  lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 
 | 4203 | 	  continue # so that we can try to find one that supports BSD flags | 
 | 4204 | 	  ;; | 
 | 4205 | 	esac | 
 | 4206 |       esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4207 |     fi | 
 | 4208 |   done | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4209 |   IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4210 |   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | 
 | 4211 | fi | 
 | 4212 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4213 | echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 | 
 | 4214 | echo "${ECHO_T}$lt_cv_path_NM" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4215 | NM="$lt_cv_path_NM" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4216 |  | 
 | 4217 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 
 | 4218 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 
 | 4219 | LN_S=$as_ln_s | 
 | 4220 | if test "$LN_S" = "ln -s"; then | 
 | 4221 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 4222 | echo "${ECHO_T}yes" >&6 | 
 | 4223 | else | 
 | 4224 |   echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 
 | 4225 | echo "${ECHO_T}no, using $LN_S" >&6 | 
 | 4226 | fi | 
 | 4227 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4228 | echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 | 
 | 4229 | echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4230 | if test "${lt_cv_deplibs_check_method+set}" = set; then | 
 | 4231 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4232 | else | 
 | 4233 |   lt_cv_file_magic_cmd='$MAGIC_CMD' | 
 | 4234 | lt_cv_file_magic_test_file= | 
 | 4235 | lt_cv_deplibs_check_method='unknown' | 
 | 4236 | # Need to set the preceding variable on all platforms that support | 
 | 4237 | # interlibrary dependencies. | 
 | 4238 | # 'none' -- dependencies not supported. | 
 | 4239 | # `unknown' -- same as none, but documents that we really don't know. | 
 | 4240 | # 'pass_all' -- all dependencies passed with no checks. | 
 | 4241 | # 'test_compile' -- check by making test program. | 
 | 4242 | # 'file_magic [[regex]]' -- check by looking for files in library path | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4243 | # which responds to the $file_magic_cmd with a given extended regex. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4244 | # If you have `file' or equivalent on your system and you're not sure | 
 | 4245 | # whether `pass_all' will *always* work, you probably want this one. | 
 | 4246 |  | 
 | 4247 | case $host_os in | 
 | 4248 | aix4* | aix5*) | 
 | 4249 |   lt_cv_deplibs_check_method=pass_all | 
 | 4250 |   ;; | 
 | 4251 |  | 
 | 4252 | beos*) | 
 | 4253 |   lt_cv_deplibs_check_method=pass_all | 
 | 4254 |   ;; | 
 | 4255 |  | 
 | 4256 | bsdi4*) | 
 | 4257 |   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | 
 | 4258 |   lt_cv_file_magic_cmd='/usr/bin/file -L' | 
 | 4259 |   lt_cv_file_magic_test_file=/shlib/libc.so | 
 | 4260 |   ;; | 
 | 4261 |  | 
 | 4262 | cygwin* | mingw* | pw32*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4263 |   # win32_libid is a shell function defined in ltmain.sh | 
 | 4264 |   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 
 | 4265 |   lt_cv_file_magic_cmd='win32_libid' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4266 |   ;; | 
 | 4267 |  | 
 | 4268 | darwin* | rhapsody*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4269 |   # 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] | 4270 |   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | 
 | 4271 |   lt_cv_file_magic_cmd='/usr/bin/file -L' | 
 | 4272 |   case "$host_os" in | 
 | 4273 |   rhapsody* | darwin1.[012]) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4274 |     lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4275 |     ;; | 
 | 4276 |   *) # Darwin 1.3 on | 
 | 4277 |     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | 
 | 4278 |     ;; | 
 | 4279 |   esac | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4280 |   lt_cv_deplibs_check_method=pass_all | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4281 |   ;; | 
 | 4282 |  | 
 | 4283 | freebsd*) | 
 | 4284 |   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
 | 4285 |     case $host_cpu in | 
 | 4286 |     i*86 ) | 
 | 4287 |       # Not sure whether the presence of OpenBSD here was a mistake. | 
 | 4288 |       # Let's accept both of them until this is cleared up. | 
 | 4289 |       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | 
 | 4290 |       lt_cv_file_magic_cmd=/usr/bin/file | 
 | 4291 |       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
 | 4292 |       ;; | 
 | 4293 |     esac | 
 | 4294 |   else | 
 | 4295 |     lt_cv_deplibs_check_method=pass_all | 
 | 4296 |   fi | 
 | 4297 |   ;; | 
 | 4298 |  | 
 | 4299 | gnu*) | 
 | 4300 |   lt_cv_deplibs_check_method=pass_all | 
 | 4301 |   ;; | 
 | 4302 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4303 | hpux10.20* | hpux11*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4304 |   lt_cv_file_magic_cmd=/usr/bin/file | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4305 |   case "$host_cpu" in | 
 | 4306 |   ia64*) | 
 | 4307 |     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' | 
 | 4308 |     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | 
 | 4309 |     ;; | 
 | 4310 |   hppa*64*) | 
 | 4311 |     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]' | 
 | 4312 |     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl | 
 | 4313 |     ;; | 
 | 4314 |   *) | 
 | 4315 |     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' | 
 | 4316 |     lt_cv_file_magic_test_file=/usr/lib/libc.sl | 
 | 4317 |     ;; | 
 | 4318 |   esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4319 |   ;; | 
 | 4320 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4321 | irix5* | irix6* | nonstopux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4322 |   case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4323 |   irix5* | nonstopux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4324 |     # this will be overridden with pass_all, but let us keep it just in case | 
 | 4325 |     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | 
 | 4326 |     ;; | 
 | 4327 |   *) | 
 | 4328 |     case $LD in | 
 | 4329 |     *-32|*"-32 ") libmagic=32-bit;; | 
 | 4330 |     *-n32|*"-n32 ") libmagic=N32;; | 
 | 4331 |     *-64|*"-64 ") libmagic=64-bit;; | 
 | 4332 |     *) libmagic=never-match;; | 
 | 4333 |     esac | 
 | 4334 |     # this will be overridden with pass_all, but let us keep it just in case | 
 | 4335 |     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | 
 | 4336 |     ;; | 
 | 4337 |   esac | 
 | 4338 |   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | 
 | 4339 |   lt_cv_deplibs_check_method=pass_all | 
 | 4340 |   ;; | 
 | 4341 |  | 
 | 4342 | # This must be Linux ELF. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4343 | linux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4344 |   case $host_cpu in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4345 |   alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4346 |     lt_cv_deplibs_check_method=pass_all ;; | 
 | 4347 |   *) | 
 | 4348 |     # glibc up to 2.1.1 does not perform some relocations on ARM | 
 | 4349 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | 
 | 4350 |   esac | 
 | 4351 |   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | 
 | 4352 |   ;; | 
 | 4353 |  | 
 | 4354 | netbsd*) | 
 | 4355 |   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4356 |     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] | 4357 |   else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4358 |     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4359 |   fi | 
 | 4360 |   ;; | 
 | 4361 |  | 
 | 4362 | newos6*) | 
 | 4363 |   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | 
 | 4364 |   lt_cv_file_magic_cmd=/usr/bin/file | 
 | 4365 |   lt_cv_file_magic_test_file=/usr/lib/libnls.so | 
 | 4366 |   ;; | 
 | 4367 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4368 | nto-qnx) | 
 | 4369 |   lt_cv_deplibs_check_method=unknown | 
 | 4370 |   ;; | 
 | 4371 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4372 | openbsd*) | 
 | 4373 |   lt_cv_file_magic_cmd=/usr/bin/file | 
 | 4374 |   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
 | 4375 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 4376 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' | 
 | 4377 |   else | 
 | 4378 |     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' | 
 | 4379 |   fi | 
 | 4380 |   ;; | 
 | 4381 |  | 
 | 4382 | osf3* | osf4* | osf5*) | 
 | 4383 |   # this will be overridden with pass_all, but let us keep it just in case | 
 | 4384 |   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | 
 | 4385 |   lt_cv_file_magic_test_file=/shlib/libc.so | 
 | 4386 |   lt_cv_deplibs_check_method=pass_all | 
 | 4387 |   ;; | 
 | 4388 |  | 
 | 4389 | sco3.2v5*) | 
 | 4390 |   lt_cv_deplibs_check_method=pass_all | 
 | 4391 |   ;; | 
 | 4392 |  | 
 | 4393 | solaris*) | 
 | 4394 |   lt_cv_deplibs_check_method=pass_all | 
 | 4395 |   lt_cv_file_magic_test_file=/lib/libc.so | 
 | 4396 |   ;; | 
 | 4397 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4398 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 4399 |   case $host_vendor in | 
 | 4400 |   motorola) | 
 | 4401 |     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]' | 
 | 4402 |     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | 
 | 4403 |     ;; | 
 | 4404 |   ncr) | 
 | 4405 |     lt_cv_deplibs_check_method=pass_all | 
 | 4406 |     ;; | 
 | 4407 |   sequent) | 
 | 4408 |     lt_cv_file_magic_cmd='/bin/file' | 
 | 4409 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | 
 | 4410 |     ;; | 
 | 4411 |   sni) | 
 | 4412 |     lt_cv_file_magic_cmd='/bin/file' | 
 | 4413 |     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | 
 | 4414 |     lt_cv_file_magic_test_file=/lib/libc.so | 
 | 4415 |     ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4416 |   siemens) | 
 | 4417 |     lt_cv_deplibs_check_method=pass_all | 
 | 4418 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4419 |   esac | 
 | 4420 |   ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4421 |  | 
 | 4422 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) | 
 | 4423 |   lt_cv_deplibs_check_method=pass_all | 
 | 4424 |   ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4425 | esac | 
 | 4426 |  | 
 | 4427 | fi | 
 | 4428 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 | 
 | 4429 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 | 
 | 4430 | file_magic_cmd=$lt_cv_file_magic_cmd | 
 | 4431 | deplibs_check_method=$lt_cv_deplibs_check_method | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4432 | test -z "$deplibs_check_method" && deplibs_check_method=unknown | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4433 |  | 
 | 4434 |  | 
 | 4435 |  | 
 | 4436 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4437 | # If no C compiler was specified, use CC. | 
 | 4438 | LTCC=${LTCC-"$CC"} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4439 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4440 | # Allow CC to be a program name with arguments. | 
 | 4441 | compiler=$CC | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4442 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4443 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 
 | 4444 | if test "${enable_libtool_lock+set}" = set; then | 
 | 4445 |   enableval="$enable_libtool_lock" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4446 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4447 | fi; | 
 | 4448 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4449 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4450 | # Some flags need to be propagated to the compiler or linker for good | 
 | 4451 | # libtool support. | 
 | 4452 | case $host in | 
 | 4453 | ia64-*-hpux*) | 
 | 4454 |   # Find out which ABI we are using. | 
 | 4455 |   echo 'int i;' > conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4456 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4457 |   (eval $ac_compile) 2>&5 | 
 | 4458 |   ac_status=$? | 
 | 4459 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4460 |   (exit $ac_status); }; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4461 |     case `/usr/bin/file conftest.$ac_objext` in | 
 | 4462 |     *ELF-32*) | 
 | 4463 |       HPUX_IA64_MODE="32" | 
 | 4464 |       ;; | 
 | 4465 |     *ELF-64*) | 
 | 4466 |       HPUX_IA64_MODE="64" | 
 | 4467 |       ;; | 
 | 4468 |     esac | 
 | 4469 |   fi | 
 | 4470 |   rm -rf conftest* | 
 | 4471 |   ;; | 
 | 4472 | *-*-irix6*) | 
 | 4473 |   # Find out which ABI we are using. | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 4474 |   echo '#line 4474 "configure"' > conftest.$ac_ext | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4475 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4476 |   (eval $ac_compile) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4477 |   ac_status=$? | 
 | 4478 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4479 |   (exit $ac_status); }; then | 
 | 4480 |    if test "$lt_cv_prog_gnu_ld" = yes; then | 
 | 4481 |     case `/usr/bin/file conftest.$ac_objext` in | 
 | 4482 |     *32-bit*) | 
 | 4483 |       LD="${LD-ld} -melf32bsmip" | 
 | 4484 |       ;; | 
 | 4485 |     *N32*) | 
 | 4486 |       LD="${LD-ld} -melf32bmipn32" | 
 | 4487 |       ;; | 
 | 4488 |     *64-bit*) | 
 | 4489 |       LD="${LD-ld} -melf64bmip" | 
 | 4490 |       ;; | 
 | 4491 |     esac | 
 | 4492 |    else | 
 | 4493 |     case `/usr/bin/file conftest.$ac_objext` in | 
 | 4494 |     *32-bit*) | 
 | 4495 |       LD="${LD-ld} -32" | 
 | 4496 |       ;; | 
 | 4497 |     *N32*) | 
 | 4498 |       LD="${LD-ld} -n32" | 
 | 4499 |       ;; | 
 | 4500 |     *64-bit*) | 
 | 4501 |       LD="${LD-ld} -64" | 
 | 4502 |       ;; | 
 | 4503 |     esac | 
 | 4504 |    fi | 
 | 4505 |   fi | 
 | 4506 |   rm -rf conftest* | 
 | 4507 |   ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4508 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4509 | x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) | 
 | 4510 |   # Find out which ABI we are using. | 
 | 4511 |   echo 'int i;' > conftest.$ac_ext | 
 | 4512 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4513 |   (eval $ac_compile) 2>&5 | 
 | 4514 |   ac_status=$? | 
 | 4515 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4516 |   (exit $ac_status); }; then | 
 | 4517 |     case "`/usr/bin/file conftest.o`" in | 
 | 4518 |     *32-bit*) | 
 | 4519 |       case $host in | 
 | 4520 |         x86_64-*linux*) | 
 | 4521 |           LD="${LD-ld} -m elf_i386" | 
 | 4522 |           ;; | 
 | 4523 |         ppc64-*linux*) | 
 | 4524 |           LD="${LD-ld} -m elf32ppclinux" | 
 | 4525 |           ;; | 
 | 4526 |         s390x-*linux*) | 
 | 4527 |           LD="${LD-ld} -m elf_s390" | 
 | 4528 |           ;; | 
 | 4529 |         sparc64-*linux*) | 
 | 4530 |           LD="${LD-ld} -m elf32_sparc" | 
 | 4531 |           ;; | 
 | 4532 |       esac | 
 | 4533 |       ;; | 
 | 4534 |     *64-bit*) | 
 | 4535 |       case $host in | 
 | 4536 |         x86_64-*linux*) | 
 | 4537 |           LD="${LD-ld} -m elf_x86_64" | 
 | 4538 |           ;; | 
 | 4539 |         ppc*-*linux*|powerpc*-*linux*) | 
 | 4540 |           LD="${LD-ld} -m elf64ppc" | 
 | 4541 |           ;; | 
 | 4542 |         s390*-*linux*) | 
 | 4543 |           LD="${LD-ld} -m elf64_s390" | 
 | 4544 |           ;; | 
 | 4545 |         sparc*-*linux*) | 
 | 4546 |           LD="${LD-ld} -m elf64_sparc" | 
 | 4547 |           ;; | 
 | 4548 |       esac | 
 | 4549 |       ;; | 
 | 4550 |     esac | 
 | 4551 |   fi | 
 | 4552 |   rm -rf conftest* | 
 | 4553 |   ;; | 
 | 4554 |  | 
 | 4555 | *-*-sco3.2v5*) | 
 | 4556 |   # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 
 | 4557 |   SAVE_CFLAGS="$CFLAGS" | 
 | 4558 |   CFLAGS="$CFLAGS -belf" | 
 | 4559 |   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 | 
 | 4560 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 | 
 | 4561 | if test "${lt_cv_cc_needs_belf+set}" = set; then | 
 | 4562 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4563 | else | 
 | 4564 |   ac_ext=c | 
 | 4565 | ac_cpp='$CPP $CPPFLAGS' | 
 | 4566 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 4567 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4568 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 4569 |  | 
 | 4570 |      cat >conftest.$ac_ext <<_ACEOF | 
 | 4571 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4572 | /* confdefs.h.  */ | 
 | 4573 | _ACEOF | 
 | 4574 | cat confdefs.h >>conftest.$ac_ext | 
 | 4575 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4576 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4577 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4578 | int | 
 | 4579 | main () | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4580 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4581 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4582 |   ; | 
 | 4583 |   return 0; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4584 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4585 | _ACEOF | 
 | 4586 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 4587 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4588 |   (eval $ac_link) 2>&5 | 
 | 4589 |   ac_status=$? | 
 | 4590 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4591 |   (exit $ac_status); } && | 
 | 4592 |          { ac_try='test -s conftest$ac_exeext' | 
 | 4593 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4594 |   (eval $ac_try) 2>&5 | 
 | 4595 |   ac_status=$? | 
 | 4596 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4597 |   (exit $ac_status); }; }; then | 
 | 4598 |   lt_cv_cc_needs_belf=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4599 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4600 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4601 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4602 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4603 | lt_cv_cc_needs_belf=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4604 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4605 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 4606 |      ac_ext=c | 
 | 4607 | ac_cpp='$CPP $CPPFLAGS' | 
 | 4608 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 4609 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4610 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 4611 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4612 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4613 | echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 | 
 | 4614 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 | 
 | 4615 |   if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 
 | 4616 |     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 
 | 4617 |     CFLAGS="$SAVE_CFLAGS" | 
 | 4618 |   fi | 
 | 4619 |   ;; | 
 | 4620 |  | 
 | 4621 | esac | 
 | 4622 |  | 
 | 4623 | need_locks="$enable_libtool_lock" | 
 | 4624 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4625 |  | 
 | 4626 |  | 
 | 4627 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
 | 4628 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
 | 4629 | if test "${ac_cv_header_stdc+set}" = set; then | 
 | 4630 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4631 | else | 
 | 4632 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4633 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4634 | /* confdefs.h.  */ | 
 | 4635 | _ACEOF | 
 | 4636 | cat confdefs.h >>conftest.$ac_ext | 
 | 4637 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4638 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4639 | #include <stdlib.h> | 
 | 4640 | #include <stdarg.h> | 
 | 4641 | #include <string.h> | 
 | 4642 | #include <float.h> | 
 | 4643 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4644 | int | 
 | 4645 | main () | 
 | 4646 | { | 
 | 4647 |  | 
 | 4648 |   ; | 
 | 4649 |   return 0; | 
 | 4650 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4651 | _ACEOF | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4652 | rm -f conftest.$ac_objext | 
 | 4653 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4654 |   (eval $ac_compile) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4655 |   ac_status=$? | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4656 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4657 |   (exit $ac_status); } && | 
 | 4658 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4659 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4660 |   (eval $ac_try) 2>&5 | 
 | 4661 |   ac_status=$? | 
 | 4662 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4663 |   (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4664 |   ac_cv_header_stdc=yes | 
 | 4665 | else | 
 | 4666 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4667 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4668 |  | 
 | 4669 | ac_cv_header_stdc=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4670 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4671 | rm -f conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4672 |  | 
 | 4673 | if test $ac_cv_header_stdc = yes; then | 
 | 4674 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
 | 4675 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4676 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4677 | /* confdefs.h.  */ | 
 | 4678 | _ACEOF | 
 | 4679 | cat confdefs.h >>conftest.$ac_ext | 
 | 4680 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4681 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4682 | #include <string.h> | 
 | 4683 |  | 
 | 4684 | _ACEOF | 
 | 4685 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4686 |   $EGREP "memchr" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4687 |   : | 
 | 4688 | else | 
 | 4689 |   ac_cv_header_stdc=no | 
 | 4690 | fi | 
 | 4691 | rm -f conftest* | 
 | 4692 |  | 
 | 4693 | fi | 
 | 4694 |  | 
 | 4695 | if test $ac_cv_header_stdc = yes; then | 
 | 4696 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
 | 4697 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4698 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4699 | /* confdefs.h.  */ | 
 | 4700 | _ACEOF | 
 | 4701 | cat confdefs.h >>conftest.$ac_ext | 
 | 4702 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4703 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4704 | #include <stdlib.h> | 
 | 4705 |  | 
 | 4706 | _ACEOF | 
 | 4707 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4708 |   $EGREP "free" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4709 |   : | 
 | 4710 | else | 
 | 4711 |   ac_cv_header_stdc=no | 
 | 4712 | fi | 
 | 4713 | rm -f conftest* | 
 | 4714 |  | 
 | 4715 | fi | 
 | 4716 |  | 
 | 4717 | if test $ac_cv_header_stdc = yes; then | 
 | 4718 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
 | 4719 |   if test "$cross_compiling" = yes; then | 
 | 4720 |   : | 
 | 4721 | else | 
 | 4722 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4723 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4724 | /* confdefs.h.  */ | 
 | 4725 | _ACEOF | 
 | 4726 | cat confdefs.h >>conftest.$ac_ext | 
 | 4727 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4728 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4729 | #include <ctype.h> | 
 | 4730 | #if ((' ' & 0x0FF) == 0x020) | 
 | 4731 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
 | 4732 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
 | 4733 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4734 | # define ISLOWER(c) \ | 
 | 4735 |                    (('a' <= (c) && (c) <= 'i') \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4736 |                      || ('j' <= (c) && (c) <= 'r') \ | 
 | 4737 |                      || ('s' <= (c) && (c) <= 'z')) | 
 | 4738 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
 | 4739 | #endif | 
 | 4740 |  | 
 | 4741 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
 | 4742 | int | 
 | 4743 | main () | 
 | 4744 | { | 
 | 4745 |   int i; | 
 | 4746 |   for (i = 0; i < 256; i++) | 
 | 4747 |     if (XOR (islower (i), ISLOWER (i)) | 
 | 4748 |         || toupper (i) != TOUPPER (i)) | 
 | 4749 |       exit(2); | 
 | 4750 |   exit (0); | 
 | 4751 | } | 
 | 4752 | _ACEOF | 
 | 4753 | rm -f conftest$ac_exeext | 
 | 4754 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 4755 |   (eval $ac_link) 2>&5 | 
 | 4756 |   ac_status=$? | 
 | 4757 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4758 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 4759 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4760 |   (eval $ac_try) 2>&5 | 
 | 4761 |   ac_status=$? | 
 | 4762 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4763 |   (exit $ac_status); }; }; then | 
 | 4764 |   : | 
 | 4765 | else | 
 | 4766 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 4767 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4768 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4769 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4770 | ( exit $ac_status ) | 
 | 4771 | ac_cv_header_stdc=no | 
 | 4772 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4773 | 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] | 4774 | fi | 
 | 4775 | fi | 
 | 4776 | fi | 
 | 4777 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
 | 4778 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
 | 4779 | if test $ac_cv_header_stdc = yes; then | 
 | 4780 |  | 
 | 4781 | cat >>confdefs.h <<\_ACEOF | 
 | 4782 | #define STDC_HEADERS 1 | 
 | 4783 | _ACEOF | 
 | 4784 |  | 
 | 4785 | fi | 
 | 4786 |  | 
 | 4787 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
 | 4788 |  | 
 | 4789 |  | 
 | 4790 |  | 
 | 4791 |  | 
 | 4792 |  | 
 | 4793 |  | 
 | 4794 |  | 
 | 4795 |  | 
 | 4796 |  | 
 | 4797 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
 | 4798 |                   inttypes.h stdint.h unistd.h | 
 | 4799 | do | 
 | 4800 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 4801 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 4802 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 4803 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 4804 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4805 | else | 
 | 4806 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4807 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4808 | /* confdefs.h.  */ | 
 | 4809 | _ACEOF | 
 | 4810 | cat confdefs.h >>conftest.$ac_ext | 
 | 4811 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4812 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4813 | $ac_includes_default | 
 | 4814 |  | 
 | 4815 | #include <$ac_header> | 
 | 4816 | _ACEOF | 
 | 4817 | rm -f conftest.$ac_objext | 
 | 4818 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4819 |   (eval $ac_compile) 2>&5 | 
 | 4820 |   ac_status=$? | 
 | 4821 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4822 |   (exit $ac_status); } && | 
 | 4823 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4824 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4825 |   (eval $ac_try) 2>&5 | 
 | 4826 |   ac_status=$? | 
 | 4827 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4828 |   (exit $ac_status); }; }; then | 
 | 4829 |   eval "$as_ac_Header=yes" | 
 | 4830 | else | 
 | 4831 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4832 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4833 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4834 | eval "$as_ac_Header=no" | 
 | 4835 | fi | 
 | 4836 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 4837 | fi | 
 | 4838 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 4839 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 4840 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 4841 |   cat >>confdefs.h <<_ACEOF | 
 | 4842 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 4843 | _ACEOF | 
 | 4844 |  | 
 | 4845 | fi | 
 | 4846 |  | 
 | 4847 | done | 
 | 4848 |  | 
 | 4849 |  | 
 | 4850 |  | 
 | 4851 | for ac_header in dlfcn.h | 
 | 4852 | do | 
 | 4853 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 4854 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 4855 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 4856 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 4857 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 4858 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4859 | fi | 
 | 4860 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 4861 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 4862 | else | 
 | 4863 |   # Is the header compilable? | 
 | 4864 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 4865 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 4866 | cat >conftest.$ac_ext <<_ACEOF | 
 | 4867 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4868 | /* confdefs.h.  */ | 
 | 4869 | _ACEOF | 
 | 4870 | cat confdefs.h >>conftest.$ac_ext | 
 | 4871 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4872 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4873 | $ac_includes_default | 
 | 4874 | #include <$ac_header> | 
 | 4875 | _ACEOF | 
 | 4876 | rm -f conftest.$ac_objext | 
 | 4877 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4878 |   (eval $ac_compile) 2>&5 | 
 | 4879 |   ac_status=$? | 
 | 4880 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4881 |   (exit $ac_status); } && | 
 | 4882 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4883 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4884 |   (eval $ac_try) 2>&5 | 
 | 4885 |   ac_status=$? | 
 | 4886 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4887 |   (exit $ac_status); }; }; then | 
 | 4888 |   ac_header_compiler=yes | 
 | 4889 | else | 
 | 4890 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4891 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4892 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4893 | ac_header_compiler=no | 
 | 4894 | fi | 
 | 4895 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 4896 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 4897 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 4898 |  | 
 | 4899 | # Is the header present? | 
 | 4900 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 4901 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 4902 | cat >conftest.$ac_ext <<_ACEOF | 
 | 4903 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4904 | /* confdefs.h.  */ | 
 | 4905 | _ACEOF | 
 | 4906 | cat confdefs.h >>conftest.$ac_ext | 
 | 4907 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 4908 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4909 | #include <$ac_header> | 
 | 4910 | _ACEOF | 
 | 4911 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 4912 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 4913 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4914 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4915 |   rm -f conftest.er1 | 
 | 4916 |   cat conftest.err >&5 | 
 | 4917 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4918 |   (exit $ac_status); } >/dev/null; then | 
 | 4919 |   if test -s conftest.err; then | 
 | 4920 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 4921 |   else | 
 | 4922 |     ac_cpp_err= | 
 | 4923 |   fi | 
 | 4924 | else | 
 | 4925 |   ac_cpp_err=yes | 
 | 4926 | fi | 
 | 4927 | if test -z "$ac_cpp_err"; then | 
 | 4928 |   ac_header_preproc=yes | 
 | 4929 | else | 
 | 4930 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4931 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 4932 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4933 |   ac_header_preproc=no | 
 | 4934 | fi | 
 | 4935 | rm -f conftest.err conftest.$ac_ext | 
 | 4936 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 4937 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 4938 |  | 
 | 4939 | # So?  What about this header? | 
 | 4940 | case $ac_header_compiler:$ac_header_preproc in | 
 | 4941 |   yes:no ) | 
 | 4942 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 4943 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 4944 |     { 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] | 4945 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 4946 |     ( | 
 | 4947 |       cat <<\_ASBOX | 
 | 4948 | ## ------------------------------------ ## | 
 | 4949 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 4950 | ## ------------------------------------ ## | 
 | 4951 | _ASBOX | 
 | 4952 |     ) | | 
 | 4953 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 4954 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4955 |   no:yes ) | 
 | 4956 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 4957 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 4958 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 4959 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 4960 |     { 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] | 4961 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 4962 |     ( | 
 | 4963 |       cat <<\_ASBOX | 
 | 4964 | ## ------------------------------------ ## | 
 | 4965 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 4966 | ## ------------------------------------ ## | 
 | 4967 | _ASBOX | 
 | 4968 |     ) | | 
 | 4969 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 4970 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4971 | esac | 
 | 4972 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 4973 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 4974 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 4975 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4976 | else | 
 | 4977 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 4978 | fi | 
 | 4979 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 4980 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 4981 |  | 
 | 4982 | fi | 
 | 4983 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 4984 |   cat >>confdefs.h <<_ACEOF | 
 | 4985 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 4986 | _ACEOF | 
 | 4987 |  | 
 | 4988 | fi | 
 | 4989 |  | 
 | 4990 | done | 
 | 4991 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4992 | ac_ext=cc | 
 | 4993 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 4994 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 4995 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4996 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 4997 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 | 
 | 4998 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 | 
 | 4999 | if test -z "$CXXCPP"; then | 
 | 5000 |   if test "${ac_cv_prog_CXXCPP+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5001 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5002 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5003 |       # Double quotes because CXXCPP needs to be expanded | 
 | 5004 |     for CXXCPP in "$CXX -E" "/lib/cpp" | 
 | 5005 |     do | 
 | 5006 |       ac_preproc_ok=false | 
 | 5007 | for ac_cxx_preproc_warn_flag in '' yes | 
 | 5008 | do | 
 | 5009 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 5010 |   # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5011 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 5012 |   # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5013 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 5014 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 5015 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 5016 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5017 | /* confdefs.h.  */ | 
 | 5018 | _ACEOF | 
 | 5019 | cat confdefs.h >>conftest.$ac_ext | 
 | 5020 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 5021 | /* end confdefs.h.  */ | 
 | 5022 | #ifdef __STDC__ | 
 | 5023 | # include <limits.h> | 
 | 5024 | #else | 
 | 5025 | # include <assert.h> | 
 | 5026 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5027 |                      Syntax error | 
 | 5028 | _ACEOF | 
 | 5029 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 5030 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 5031 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5032 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5033 |   rm -f conftest.er1 | 
 | 5034 |   cat conftest.err >&5 | 
 | 5035 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5036 |   (exit $ac_status); } >/dev/null; then | 
 | 5037 |   if test -s conftest.err; then | 
 | 5038 |     ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5039 |   else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5040 |     ac_cpp_err= | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5041 |   fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5042 | else | 
 | 5043 |   ac_cpp_err=yes | 
 | 5044 | fi | 
 | 5045 | if test -z "$ac_cpp_err"; then | 
 | 5046 |   : | 
 | 5047 | else | 
 | 5048 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5049 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 5050 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5051 |   # Broken: fails on valid input. | 
 | 5052 | continue | 
 | 5053 | fi | 
 | 5054 | rm -f conftest.err conftest.$ac_ext | 
 | 5055 |  | 
 | 5056 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 5057 |   # can be detected and how. | 
 | 5058 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 5059 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5060 | /* confdefs.h.  */ | 
 | 5061 | _ACEOF | 
 | 5062 | cat confdefs.h >>conftest.$ac_ext | 
 | 5063 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 5064 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5065 | #include <ac_nonexistent.h> | 
 | 5066 | _ACEOF | 
 | 5067 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 5068 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 5069 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5070 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5071 |   rm -f conftest.er1 | 
 | 5072 |   cat conftest.err >&5 | 
 | 5073 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5074 |   (exit $ac_status); } >/dev/null; then | 
 | 5075 |   if test -s conftest.err; then | 
 | 5076 |     ac_cpp_err=$ac_cxx_preproc_warn_flag | 
 | 5077 |   else | 
 | 5078 |     ac_cpp_err= | 
 | 5079 |   fi | 
 | 5080 | else | 
 | 5081 |   ac_cpp_err=yes | 
 | 5082 | fi | 
 | 5083 | if test -z "$ac_cpp_err"; then | 
 | 5084 |   # Broken: success on invalid input. | 
 | 5085 | continue | 
 | 5086 | else | 
 | 5087 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5088 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 5089 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5090 |   # Passes both tests. | 
 | 5091 | ac_preproc_ok=: | 
 | 5092 | break | 
 | 5093 | fi | 
 | 5094 | rm -f conftest.err conftest.$ac_ext | 
 | 5095 |  | 
 | 5096 | done | 
 | 5097 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 5098 | rm -f conftest.err conftest.$ac_ext | 
 | 5099 | if $ac_preproc_ok; then | 
 | 5100 |   break | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5101 | fi | 
 | 5102 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5103 |     done | 
 | 5104 |     ac_cv_prog_CXXCPP=$CXXCPP | 
 | 5105 |  | 
 | 5106 | fi | 
 | 5107 |   CXXCPP=$ac_cv_prog_CXXCPP | 
 | 5108 | else | 
 | 5109 |   ac_cv_prog_CXXCPP=$CXXCPP | 
 | 5110 | fi | 
 | 5111 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 | 
 | 5112 | echo "${ECHO_T}$CXXCPP" >&6 | 
 | 5113 | ac_preproc_ok=false | 
 | 5114 | for ac_cxx_preproc_warn_flag in '' yes | 
 | 5115 | do | 
 | 5116 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 5117 |   # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5118 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 5119 |   # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5120 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 5121 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 5122 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 5123 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5124 | /* confdefs.h.  */ | 
 | 5125 | _ACEOF | 
 | 5126 | cat confdefs.h >>conftest.$ac_ext | 
 | 5127 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 5128 | /* end confdefs.h.  */ | 
 | 5129 | #ifdef __STDC__ | 
 | 5130 | # include <limits.h> | 
 | 5131 | #else | 
 | 5132 | # include <assert.h> | 
 | 5133 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5134 |                      Syntax error | 
 | 5135 | _ACEOF | 
 | 5136 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 5137 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 5138 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5139 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5140 |   rm -f conftest.er1 | 
 | 5141 |   cat conftest.err >&5 | 
 | 5142 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5143 |   (exit $ac_status); } >/dev/null; then | 
 | 5144 |   if test -s conftest.err; then | 
 | 5145 |     ac_cpp_err=$ac_cxx_preproc_warn_flag | 
 | 5146 |   else | 
 | 5147 |     ac_cpp_err= | 
 | 5148 |   fi | 
 | 5149 | else | 
 | 5150 |   ac_cpp_err=yes | 
 | 5151 | fi | 
 | 5152 | if test -z "$ac_cpp_err"; then | 
 | 5153 |   : | 
 | 5154 | else | 
 | 5155 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5156 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 5157 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5158 |   # Broken: fails on valid input. | 
 | 5159 | continue | 
 | 5160 | fi | 
 | 5161 | rm -f conftest.err conftest.$ac_ext | 
 | 5162 |  | 
 | 5163 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 5164 |   # can be detected and how. | 
 | 5165 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 5166 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5167 | /* confdefs.h.  */ | 
 | 5168 | _ACEOF | 
 | 5169 | cat confdefs.h >>conftest.$ac_ext | 
 | 5170 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 5171 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5172 | #include <ac_nonexistent.h> | 
 | 5173 | _ACEOF | 
 | 5174 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 5175 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 5176 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5177 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5178 |   rm -f conftest.er1 | 
 | 5179 |   cat conftest.err >&5 | 
 | 5180 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5181 |   (exit $ac_status); } >/dev/null; then | 
 | 5182 |   if test -s conftest.err; then | 
 | 5183 |     ac_cpp_err=$ac_cxx_preproc_warn_flag | 
 | 5184 |   else | 
 | 5185 |     ac_cpp_err= | 
 | 5186 |   fi | 
 | 5187 | else | 
 | 5188 |   ac_cpp_err=yes | 
 | 5189 | fi | 
 | 5190 | if test -z "$ac_cpp_err"; then | 
 | 5191 |   # Broken: success on invalid input. | 
 | 5192 | continue | 
 | 5193 | else | 
 | 5194 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5195 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 5196 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5197 |   # Passes both tests. | 
 | 5198 | ac_preproc_ok=: | 
 | 5199 | break | 
 | 5200 | fi | 
 | 5201 | rm -f conftest.err conftest.$ac_ext | 
 | 5202 |  | 
 | 5203 | done | 
 | 5204 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 5205 | rm -f conftest.err conftest.$ac_ext | 
 | 5206 | if $ac_preproc_ok; then | 
 | 5207 |   : | 
 | 5208 | else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5209 |   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
 | 5210 | See \`config.log' for more details." >&5 | 
 | 5211 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
 | 5212 | See \`config.log' for more details." >&2;} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5213 |    { (exit 1); exit 1; }; } | 
 | 5214 | fi | 
 | 5215 |  | 
 | 5216 | ac_ext=cc | 
 | 5217 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 5218 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 5219 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 5220 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 5221 |  | 
 | 5222 |  | 
 | 5223 | ac_ext=f | 
 | 5224 | ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' | 
 | 5225 | ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 5226 | ac_compiler_gnu=$ac_cv_f77_compiler_gnu | 
 | 5227 | if test -n "$ac_tool_prefix"; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5228 |   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] | 5229 |   do | 
 | 5230 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
 | 5231 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
 | 5232 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5233 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5234 | if test "${ac_cv_prog_F77+set}" = set; then | 
 | 5235 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5236 | else | 
 | 5237 |   if test -n "$F77"; then | 
 | 5238 |   ac_cv_prog_F77="$F77" # Let the user override the test. | 
 | 5239 | else | 
 | 5240 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5241 | for as_dir in $PATH | 
 | 5242 | do | 
 | 5243 |   IFS=$as_save_IFS | 
 | 5244 |   test -z "$as_dir" && as_dir=. | 
 | 5245 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5246 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5247 |     ac_cv_prog_F77="$ac_tool_prefix$ac_prog" | 
 | 5248 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5249 |     break 2 | 
 | 5250 |   fi | 
 | 5251 | done | 
 | 5252 | done | 
 | 5253 |  | 
 | 5254 | fi | 
 | 5255 | fi | 
 | 5256 | F77=$ac_cv_prog_F77 | 
 | 5257 | if test -n "$F77"; then | 
 | 5258 |   echo "$as_me:$LINENO: result: $F77" >&5 | 
 | 5259 | echo "${ECHO_T}$F77" >&6 | 
 | 5260 | else | 
 | 5261 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5262 | echo "${ECHO_T}no" >&6 | 
 | 5263 | fi | 
 | 5264 |  | 
 | 5265 |     test -n "$F77" && break | 
 | 5266 |   done | 
 | 5267 | fi | 
 | 5268 | if test -z "$F77"; then | 
 | 5269 |   ac_ct_F77=$F77 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5270 |   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] | 5271 | do | 
 | 5272 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 5273 | set dummy $ac_prog; ac_word=$2 | 
 | 5274 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5275 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5276 | if test "${ac_cv_prog_ac_ct_F77+set}" = set; then | 
 | 5277 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5278 | else | 
 | 5279 |   if test -n "$ac_ct_F77"; then | 
 | 5280 |   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. | 
 | 5281 | else | 
 | 5282 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5283 | for as_dir in $PATH | 
 | 5284 | do | 
 | 5285 |   IFS=$as_save_IFS | 
 | 5286 |   test -z "$as_dir" && as_dir=. | 
 | 5287 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5288 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5289 |     ac_cv_prog_ac_ct_F77="$ac_prog" | 
 | 5290 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5291 |     break 2 | 
 | 5292 |   fi | 
 | 5293 | done | 
 | 5294 | done | 
 | 5295 |  | 
 | 5296 | fi | 
 | 5297 | fi | 
 | 5298 | ac_ct_F77=$ac_cv_prog_ac_ct_F77 | 
 | 5299 | if test -n "$ac_ct_F77"; then | 
 | 5300 |   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 | 
 | 5301 | echo "${ECHO_T}$ac_ct_F77" >&6 | 
 | 5302 | else | 
 | 5303 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5304 | echo "${ECHO_T}no" >&6 | 
 | 5305 | fi | 
 | 5306 |  | 
 | 5307 |   test -n "$ac_ct_F77" && break | 
 | 5308 | done | 
 | 5309 |  | 
 | 5310 |   F77=$ac_ct_F77 | 
 | 5311 | fi | 
 | 5312 |  | 
 | 5313 |  | 
 | 5314 | # Provide some information about the compiler. | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 5315 | echo "$as_me:5315:" \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5316 |      "checking for Fortran 77 compiler version" >&5 | 
 | 5317 | ac_compiler=`set X $ac_compile; echo $2` | 
 | 5318 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
 | 5319 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
 | 5320 |   ac_status=$? | 
 | 5321 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5322 |   (exit $ac_status); } | 
 | 5323 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
 | 5324 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
 | 5325 |   ac_status=$? | 
 | 5326 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5327 |   (exit $ac_status); } | 
 | 5328 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
 | 5329 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
 | 5330 |   ac_status=$? | 
 | 5331 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5332 |   (exit $ac_status); } | 
 | 5333 |  | 
 | 5334 | # If we don't use `.F' as extension, the preprocessor is not run on the | 
 | 5335 | # input file. | 
 | 5336 | ac_save_ext=$ac_ext | 
 | 5337 | ac_ext=F | 
 | 5338 | echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 | 
 | 5339 | echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 | 
 | 5340 | if test "${ac_cv_f77_compiler_gnu+set}" = set; then | 
 | 5341 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5342 | else | 
 | 5343 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 5344 |       program main | 
 | 5345 | #ifndef __GNUC__ | 
 | 5346 |        choke me | 
 | 5347 | #endif | 
 | 5348 |  | 
 | 5349 |       end | 
 | 5350 | _ACEOF | 
 | 5351 | rm -f conftest.$ac_objext | 
 | 5352 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 5353 |   (eval $ac_compile) 2>&5 | 
 | 5354 |   ac_status=$? | 
 | 5355 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5356 |   (exit $ac_status); } && | 
 | 5357 |          { ac_try='test -s conftest.$ac_objext' | 
 | 5358 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 5359 |   (eval $ac_try) 2>&5 | 
 | 5360 |   ac_status=$? | 
 | 5361 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5362 |   (exit $ac_status); }; }; then | 
 | 5363 |   ac_compiler_gnu=yes | 
 | 5364 | else | 
 | 5365 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5366 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 5367 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5368 | ac_compiler_gnu=no | 
 | 5369 | fi | 
 | 5370 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 5371 | ac_cv_f77_compiler_gnu=$ac_compiler_gnu | 
 | 5372 |  | 
 | 5373 | fi | 
 | 5374 | echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 | 
 | 5375 | echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 | 
 | 5376 | ac_ext=$ac_save_ext | 
 | 5377 | G77=`test $ac_compiler_gnu = yes && echo yes` | 
 | 5378 | ac_test_FFLAGS=${FFLAGS+set} | 
 | 5379 | ac_save_FFLAGS=$FFLAGS | 
 | 5380 | FFLAGS= | 
 | 5381 | echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 | 
 | 5382 | echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 | 
 | 5383 | if test "${ac_cv_prog_f77_g+set}" = set; then | 
 | 5384 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5385 | else | 
 | 5386 |   FFLAGS=-g | 
 | 5387 | cat >conftest.$ac_ext <<_ACEOF | 
 | 5388 |       program main | 
 | 5389 |  | 
 | 5390 |       end | 
 | 5391 | _ACEOF | 
 | 5392 | rm -f conftest.$ac_objext | 
 | 5393 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 5394 |   (eval $ac_compile) 2>&5 | 
 | 5395 |   ac_status=$? | 
 | 5396 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5397 |   (exit $ac_status); } && | 
 | 5398 |          { ac_try='test -s conftest.$ac_objext' | 
 | 5399 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 5400 |   (eval $ac_try) 2>&5 | 
 | 5401 |   ac_status=$? | 
 | 5402 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5403 |   (exit $ac_status); }; }; then | 
 | 5404 |   ac_cv_prog_f77_g=yes | 
 | 5405 | else | 
 | 5406 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5407 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 5408 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5409 | ac_cv_prog_f77_g=no | 
 | 5410 | fi | 
 | 5411 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 5412 |  | 
 | 5413 | fi | 
 | 5414 | echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 | 
 | 5415 | echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 | 
 | 5416 | if test "$ac_test_FFLAGS" = set; then | 
 | 5417 |   FFLAGS=$ac_save_FFLAGS | 
 | 5418 | elif test $ac_cv_prog_f77_g = yes; then | 
 | 5419 |   if test "$G77" = yes; then | 
 | 5420 |     FFLAGS="-g -O2" | 
 | 5421 |   else | 
 | 5422 |     FFLAGS="-g" | 
 | 5423 |   fi | 
 | 5424 | else | 
 | 5425 |   if test "$G77" = yes; then | 
 | 5426 |     FFLAGS="-O2" | 
 | 5427 |   else | 
 | 5428 |     FFLAGS= | 
 | 5429 |   fi | 
 | 5430 | fi | 
 | 5431 | ac_ext=c | 
 | 5432 | ac_cpp='$CPP $CPPFLAGS' | 
 | 5433 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 5434 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 5435 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 5436 |  | 
 | 5437 |  | 
 | 5438 |  | 
 | 5439 | # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! | 
 | 5440 |  | 
 | 5441 | # find the maximum length of command line arguments | 
 | 5442 | echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 | 
 | 5443 | echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 | 
 | 5444 | if test "${lt_cv_sys_max_cmd_len+set}" = set; then | 
 | 5445 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5446 | else | 
 | 5447 |     i=0 | 
 | 5448 |   testring="ABCD" | 
 | 5449 |  | 
 | 5450 |   case $build_os in | 
 | 5451 |   msdosdjgpp*) | 
 | 5452 |     # On DJGPP, this test can blow up pretty badly due to problems in libc | 
 | 5453 |     # (any single argument exceeding 2000 bytes causes a buffer overrun | 
 | 5454 |     # during glob expansion).  Even if it were fixed, the result of this | 
 | 5455 |     # check would be larger than it should be. | 
 | 5456 |     lt_cv_sys_max_cmd_len=12288;    # 12K is about right | 
 | 5457 |     ;; | 
 | 5458 |  | 
 | 5459 |   gnu*) | 
 | 5460 |     # Under GNU Hurd, this test is not required because there is | 
 | 5461 |     # no limit to the length of command line arguments. | 
 | 5462 |     # Libtool will interpret -1 as no limit whatsoever | 
 | 5463 |     lt_cv_sys_max_cmd_len=-1; | 
 | 5464 |     ;; | 
 | 5465 |  | 
 | 5466 |   cygwin* | mingw*) | 
 | 5467 |     # On Win9x/ME, this test blows up -- it succeeds, but takes | 
 | 5468 |     # about 5 minutes as the teststring grows exponentially. | 
 | 5469 |     # Worse, since 9x/ME are not pre-emptively multitasking, | 
 | 5470 |     # you end up with a "frozen" computer, even though with patience | 
 | 5471 |     # the test eventually succeeds (with a max line length of 256k). | 
 | 5472 |     # Instead, let's just punt: use the minimum linelength reported by | 
 | 5473 |     # all of the supported platforms: 8192 (on NT/2K/XP). | 
 | 5474 |     lt_cv_sys_max_cmd_len=8192; | 
 | 5475 |     ;; | 
 | 5476 |  | 
 | 5477 |  *) | 
 | 5478 |     # If test is not a shell built-in, we'll probably end up computing a | 
 | 5479 |     # maximum length that is only half of the actual maximum length, but | 
 | 5480 |     # we can't tell. | 
 | 5481 |     while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ | 
 | 5482 | 	       = "XX$testring") >/dev/null 2>&1 && | 
 | 5483 | 	    new_result=`expr "X$testring" : ".*" 2>&1` && | 
 | 5484 | 	    lt_cv_sys_max_cmd_len=$new_result && | 
 | 5485 | 	    test $i != 17 # 1/2 MB should be enough | 
 | 5486 |     do | 
 | 5487 |       i=`expr $i + 1` | 
 | 5488 |       testring=$testring$testring | 
 | 5489 |     done | 
 | 5490 |     testring= | 
 | 5491 |     # Add a significant safety factor because C++ compilers can tack on massive | 
 | 5492 |     # amounts of additional arguments before passing them to the linker. | 
 | 5493 |     # It appears as though 1/2 is a usable value. | 
 | 5494 |     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | 
 | 5495 |     ;; | 
 | 5496 |   esac | 
 | 5497 |  | 
 | 5498 | fi | 
 | 5499 |  | 
 | 5500 | if test -n $lt_cv_sys_max_cmd_len ; then | 
 | 5501 |   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 | 
 | 5502 | echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 | 
 | 5503 | else | 
 | 5504 |   echo "$as_me:$LINENO: result: none" >&5 | 
 | 5505 | echo "${ECHO_T}none" >&6 | 
 | 5506 | fi | 
 | 5507 |  | 
 | 5508 |  | 
 | 5509 |  | 
 | 5510 |  | 
 | 5511 | # Check for command to grab the raw symbol name followed by C symbol from nm. | 
 | 5512 | echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 | 
 | 5513 | echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 | 
 | 5514 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then | 
 | 5515 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5516 | else | 
 | 5517 |  | 
 | 5518 | # These are sane defaults that work on at least a few old systems. | 
 | 5519 | # [They come from Ultrix.  What could be older than Ultrix?!! ;)] | 
 | 5520 |  | 
 | 5521 | # Character class describing NM global symbol codes. | 
 | 5522 | symcode='[BCDEGRST]' | 
 | 5523 |  | 
 | 5524 | # Regexp to match symbols that can be accessed directly from C. | 
 | 5525 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | 
 | 5526 |  | 
 | 5527 | # Transform the above into a raw symbol and a C symbol. | 
 | 5528 | symxfrm='\1 \2\3 \3' | 
 | 5529 |  | 
 | 5530 | # Transform an extracted symbol line into a proper C declaration | 
 | 5531 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" | 
 | 5532 |  | 
 | 5533 | # Transform an extracted symbol line into symbol name and symbol address | 
 | 5534 | 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'" | 
 | 5535 |  | 
 | 5536 | # Define system-specific variables. | 
 | 5537 | case $host_os in | 
 | 5538 | aix*) | 
 | 5539 |   symcode='[BCDT]' | 
 | 5540 |   ;; | 
 | 5541 | cygwin* | mingw* | pw32*) | 
 | 5542 |   symcode='[ABCDGISTW]' | 
 | 5543 |   ;; | 
 | 5544 | hpux*) # Its linker distinguishes data from code symbols | 
 | 5545 |   if test "$host_cpu" = ia64; then | 
 | 5546 |     symcode='[ABCDEGRST]' | 
 | 5547 |   fi | 
 | 5548 |   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | 
 | 5549 |   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'" | 
 | 5550 |   ;; | 
 | 5551 | irix* | nonstopux*) | 
 | 5552 |   symcode='[BCDEGRST]' | 
 | 5553 |   ;; | 
 | 5554 | osf*) | 
 | 5555 |   symcode='[BCDEGQRST]' | 
 | 5556 |   ;; | 
 | 5557 | solaris* | sysv5*) | 
 | 5558 |   symcode='[BDT]' | 
 | 5559 |   ;; | 
 | 5560 | sysv4) | 
 | 5561 |   symcode='[DFNSTU]' | 
 | 5562 |   ;; | 
 | 5563 | esac | 
 | 5564 |  | 
 | 5565 | # Handle CRLF in mingw tool chain | 
 | 5566 | opt_cr= | 
 | 5567 | case $build_os in | 
 | 5568 | mingw*) | 
 | 5569 |   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp | 
 | 5570 |   ;; | 
 | 5571 | esac | 
 | 5572 |  | 
 | 5573 | # If we're using GNU nm, then use its standard symbol codes. | 
 | 5574 | case `$NM -V 2>&1` in | 
 | 5575 | *GNU* | *'with BFD'*) | 
 | 5576 |   symcode='[ABCDGISTW]' ;; | 
 | 5577 | esac | 
 | 5578 |  | 
 | 5579 | # Try without a prefix undercore, then with it. | 
 | 5580 | for ac_symprfx in "" "_"; do | 
 | 5581 |  | 
 | 5582 |   # Write the raw and C identifiers. | 
 | 5583 |   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" | 
 | 5584 |  | 
 | 5585 |   # Check to see that the pipe works correctly. | 
 | 5586 |   pipe_works=no | 
 | 5587 |  | 
 | 5588 |   rm -f conftest* | 
 | 5589 |   cat > conftest.$ac_ext <<EOF | 
 | 5590 | #ifdef __cplusplus | 
 | 5591 | extern "C" { | 
 | 5592 | #endif | 
 | 5593 | char nm_test_var; | 
 | 5594 | void nm_test_func(){} | 
 | 5595 | #ifdef __cplusplus | 
 | 5596 | } | 
 | 5597 | #endif | 
 | 5598 | int main(){nm_test_var='a';nm_test_func();return(0);} | 
 | 5599 | EOF | 
 | 5600 |  | 
 | 5601 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 5602 |   (eval $ac_compile) 2>&5 | 
 | 5603 |   ac_status=$? | 
 | 5604 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5605 |   (exit $ac_status); }; then | 
 | 5606 |     # Now try to grab the symbols. | 
 | 5607 |     nlist=conftest.nm | 
 | 5608 |     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 | 
 | 5609 |   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 | 
 | 5610 |   ac_status=$? | 
 | 5611 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5612 |   (exit $ac_status); } && test -s "$nlist"; then | 
 | 5613 |       # Try sorting and uniquifying the output. | 
 | 5614 |       if sort "$nlist" | uniq > "$nlist"T; then | 
 | 5615 | 	mv -f "$nlist"T "$nlist" | 
 | 5616 |       else | 
 | 5617 | 	rm -f "$nlist"T | 
 | 5618 |       fi | 
 | 5619 |  | 
 | 5620 |       # Make sure that we snagged all the symbols we need. | 
 | 5621 |       if grep ' nm_test_var$' "$nlist" >/dev/null; then | 
 | 5622 | 	if grep ' nm_test_func$' "$nlist" >/dev/null; then | 
 | 5623 | 	  cat <<EOF > conftest.$ac_ext | 
 | 5624 | #ifdef __cplusplus | 
 | 5625 | extern "C" { | 
 | 5626 | #endif | 
 | 5627 |  | 
 | 5628 | EOF | 
 | 5629 | 	  # Now generate the symbol file. | 
 | 5630 | 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' | 
 | 5631 |  | 
 | 5632 | 	  cat <<EOF >> conftest.$ac_ext | 
 | 5633 | #if defined (__STDC__) && __STDC__ | 
 | 5634 | # define lt_ptr_t void * | 
 | 5635 | #else | 
 | 5636 | # define lt_ptr_t char * | 
 | 5637 | # define const | 
 | 5638 | #endif | 
 | 5639 |  | 
 | 5640 | /* The mapping between symbol names and symbols. */ | 
 | 5641 | const struct { | 
 | 5642 |   const char *name; | 
 | 5643 |   lt_ptr_t address; | 
 | 5644 | } | 
 | 5645 | lt_preloaded_symbols[] = | 
 | 5646 | { | 
 | 5647 | EOF | 
 | 5648 | 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext | 
 | 5649 | 	  cat <<\EOF >> conftest.$ac_ext | 
 | 5650 |   {0, (lt_ptr_t) 0} | 
 | 5651 | }; | 
 | 5652 |  | 
 | 5653 | #ifdef __cplusplus | 
 | 5654 | } | 
 | 5655 | #endif | 
 | 5656 | EOF | 
 | 5657 | 	  # Now try linking the two files. | 
 | 5658 | 	  mv conftest.$ac_objext conftstm.$ac_objext | 
 | 5659 | 	  lt_save_LIBS="$LIBS" | 
 | 5660 | 	  lt_save_CFLAGS="$CFLAGS" | 
 | 5661 | 	  LIBS="conftstm.$ac_objext" | 
 | 5662 | 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" | 
 | 5663 | 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 5664 |   (eval $ac_link) 2>&5 | 
 | 5665 |   ac_status=$? | 
 | 5666 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5667 |   (exit $ac_status); } && test -s conftest${ac_exeext}; then | 
 | 5668 | 	    pipe_works=yes | 
 | 5669 | 	  fi | 
 | 5670 | 	  LIBS="$lt_save_LIBS" | 
 | 5671 | 	  CFLAGS="$lt_save_CFLAGS" | 
 | 5672 | 	else | 
 | 5673 | 	  echo "cannot find nm_test_func in $nlist" >&5 | 
 | 5674 | 	fi | 
 | 5675 |       else | 
 | 5676 | 	echo "cannot find nm_test_var in $nlist" >&5 | 
 | 5677 |       fi | 
 | 5678 |     else | 
 | 5679 |       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | 
 | 5680 |     fi | 
 | 5681 |   else | 
 | 5682 |     echo "$progname: failed program was:" >&5 | 
 | 5683 |     cat conftest.$ac_ext >&5 | 
 | 5684 |   fi | 
 | 5685 |   rm -f conftest* conftst* | 
 | 5686 |  | 
 | 5687 |   # Do not use the global_symbol_pipe unless it works. | 
 | 5688 |   if test "$pipe_works" = yes; then | 
 | 5689 |     break | 
 | 5690 |   else | 
 | 5691 |     lt_cv_sys_global_symbol_pipe= | 
 | 5692 |   fi | 
 | 5693 | done | 
 | 5694 |  | 
 | 5695 | fi | 
 | 5696 |  | 
 | 5697 | if test -z "$lt_cv_sys_global_symbol_pipe"; then | 
 | 5698 |   lt_cv_sys_global_symbol_to_cdecl= | 
 | 5699 | fi | 
 | 5700 | if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then | 
 | 5701 |   echo "$as_me:$LINENO: result: failed" >&5 | 
 | 5702 | echo "${ECHO_T}failed" >&6 | 
 | 5703 | else | 
 | 5704 |   echo "$as_me:$LINENO: result: ok" >&5 | 
 | 5705 | echo "${ECHO_T}ok" >&6 | 
 | 5706 | fi | 
 | 5707 |  | 
 | 5708 | echo "$as_me:$LINENO: checking for objdir" >&5 | 
 | 5709 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6 | 
 | 5710 | if test "${lt_cv_objdir+set}" = set; then | 
 | 5711 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5712 | else | 
 | 5713 |   rm -f .libs 2>/dev/null | 
 | 5714 | mkdir .libs 2>/dev/null | 
 | 5715 | if test -d .libs; then | 
 | 5716 |   lt_cv_objdir=.libs | 
 | 5717 | else | 
 | 5718 |   # MS-DOS does not allow filenames that begin with a dot. | 
 | 5719 |   lt_cv_objdir=_libs | 
 | 5720 | fi | 
 | 5721 | rmdir .libs 2>/dev/null | 
 | 5722 | fi | 
 | 5723 | echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 | 
 | 5724 | echo "${ECHO_T}$lt_cv_objdir" >&6 | 
 | 5725 | objdir=$lt_cv_objdir | 
 | 5726 |  | 
 | 5727 |  | 
 | 5728 |  | 
 | 5729 |  | 
 | 5730 |  | 
 | 5731 | case $host_os in | 
 | 5732 | aix3*) | 
 | 5733 |   # AIX sometimes has problems with the GCC collect2 program.  For some | 
 | 5734 |   # reason, if we set the COLLECT_NAMES environment variable, the problems | 
 | 5735 |   # vanish in a puff of smoke. | 
 | 5736 |   if test "X${COLLECT_NAMES+set}" != Xset; then | 
 | 5737 |     COLLECT_NAMES= | 
 | 5738 |     export COLLECT_NAMES | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5739 |   fi | 
 | 5740 |   ;; | 
 | 5741 | esac | 
 | 5742 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5743 | # Sed substitution that helps us do robust quoting.  It backslashifies | 
 | 5744 | # metacharacters that are still active within double-quoted strings. | 
 | 5745 | Xsed='sed -e s/^X//' | 
 | 5746 | sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' | 
 | 5747 |  | 
 | 5748 | # Same as above, but do not quote variable references. | 
 | 5749 | double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' | 
 | 5750 |  | 
 | 5751 | # Sed substitution to delay expansion of an escaped shell variable in a | 
 | 5752 | # double_quote_subst'ed string. | 
 | 5753 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | 
 | 5754 |  | 
 | 5755 | # Sed substitution to avoid accidental globbing in evaled expressions | 
 | 5756 | no_glob_subst='s/\*/\\\*/g' | 
 | 5757 |  | 
 | 5758 | # Constants: | 
 | 5759 | rm="rm -f" | 
 | 5760 |  | 
 | 5761 | # Global variables: | 
| John Criswell | 8d4221e | 2003-07-23 16:52:50 +0000 | [diff] [blame] | 5762 | default_ofile=mklib | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5763 | can_build_shared=yes | 
 | 5764 |  | 
 | 5765 | # All known linkers require a `.a' archive for static linking (except M$VC, | 
 | 5766 | # which needs '.lib'). | 
 | 5767 | libext=a | 
 | 5768 | ltmain="$ac_aux_dir/ltmain.sh" | 
 | 5769 | ofile="$default_ofile" | 
 | 5770 | with_gnu_ld="$lt_cv_prog_gnu_ld" | 
 | 5771 |  | 
 | 5772 | if test -n "$ac_tool_prefix"; then | 
 | 5773 |   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | 
 | 5774 | set dummy ${ac_tool_prefix}ar; ac_word=$2 | 
 | 5775 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5776 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5777 | if test "${ac_cv_prog_AR+set}" = set; then | 
 | 5778 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5779 | else | 
 | 5780 |   if test -n "$AR"; then | 
 | 5781 |   ac_cv_prog_AR="$AR" # Let the user override the test. | 
 | 5782 | else | 
 | 5783 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5784 | for as_dir in $PATH | 
 | 5785 | do | 
 | 5786 |   IFS=$as_save_IFS | 
 | 5787 |   test -z "$as_dir" && as_dir=. | 
 | 5788 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5789 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5790 |     ac_cv_prog_AR="${ac_tool_prefix}ar" | 
 | 5791 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5792 |     break 2 | 
 | 5793 |   fi | 
 | 5794 | done | 
 | 5795 | done | 
 | 5796 |  | 
 | 5797 | fi | 
 | 5798 | fi | 
 | 5799 | AR=$ac_cv_prog_AR | 
 | 5800 | if test -n "$AR"; then | 
 | 5801 |   echo "$as_me:$LINENO: result: $AR" >&5 | 
 | 5802 | echo "${ECHO_T}$AR" >&6 | 
 | 5803 | else | 
 | 5804 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5805 | echo "${ECHO_T}no" >&6 | 
 | 5806 | fi | 
 | 5807 |  | 
 | 5808 | fi | 
 | 5809 | if test -z "$ac_cv_prog_AR"; then | 
 | 5810 |   ac_ct_AR=$AR | 
 | 5811 |   # Extract the first word of "ar", so it can be a program name with args. | 
 | 5812 | set dummy ar; ac_word=$2 | 
 | 5813 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5814 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5815 | if test "${ac_cv_prog_ac_ct_AR+set}" = set; then | 
 | 5816 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5817 | else | 
 | 5818 |   if test -n "$ac_ct_AR"; then | 
 | 5819 |   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | 
 | 5820 | else | 
 | 5821 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5822 | for as_dir in $PATH | 
 | 5823 | do | 
 | 5824 |   IFS=$as_save_IFS | 
 | 5825 |   test -z "$as_dir" && as_dir=. | 
 | 5826 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5827 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5828 |     ac_cv_prog_ac_ct_AR="ar" | 
 | 5829 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5830 |     break 2 | 
 | 5831 |   fi | 
 | 5832 | done | 
 | 5833 | done | 
 | 5834 |  | 
 | 5835 |   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" | 
 | 5836 | fi | 
 | 5837 | fi | 
 | 5838 | ac_ct_AR=$ac_cv_prog_ac_ct_AR | 
 | 5839 | if test -n "$ac_ct_AR"; then | 
 | 5840 |   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 | 
 | 5841 | echo "${ECHO_T}$ac_ct_AR" >&6 | 
 | 5842 | else | 
 | 5843 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5844 | echo "${ECHO_T}no" >&6 | 
 | 5845 | fi | 
 | 5846 |  | 
 | 5847 |   AR=$ac_ct_AR | 
 | 5848 | else | 
 | 5849 |   AR="$ac_cv_prog_AR" | 
 | 5850 | fi | 
 | 5851 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5852 | if test -n "$ac_tool_prefix"; then | 
 | 5853 |   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
 | 5854 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
 | 5855 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5856 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5857 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 
 | 5858 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5859 | else | 
 | 5860 |   if test -n "$RANLIB"; then | 
 | 5861 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
 | 5862 | else | 
 | 5863 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5864 | for as_dir in $PATH | 
 | 5865 | do | 
 | 5866 |   IFS=$as_save_IFS | 
 | 5867 |   test -z "$as_dir" && as_dir=. | 
 | 5868 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5869 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5870 |     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
 | 5871 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5872 |     break 2 | 
 | 5873 |   fi | 
 | 5874 | done | 
 | 5875 | done | 
 | 5876 |  | 
 | 5877 | fi | 
 | 5878 | fi | 
 | 5879 | RANLIB=$ac_cv_prog_RANLIB | 
 | 5880 | if test -n "$RANLIB"; then | 
 | 5881 |   echo "$as_me:$LINENO: result: $RANLIB" >&5 | 
 | 5882 | echo "${ECHO_T}$RANLIB" >&6 | 
 | 5883 | else | 
 | 5884 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5885 | echo "${ECHO_T}no" >&6 | 
 | 5886 | fi | 
 | 5887 |  | 
 | 5888 | fi | 
 | 5889 | if test -z "$ac_cv_prog_RANLIB"; then | 
 | 5890 |   ac_ct_RANLIB=$RANLIB | 
 | 5891 |   # Extract the first word of "ranlib", so it can be a program name with args. | 
 | 5892 | set dummy ranlib; ac_word=$2 | 
 | 5893 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5894 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5895 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 
 | 5896 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5897 | else | 
 | 5898 |   if test -n "$ac_ct_RANLIB"; then | 
 | 5899 |   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
 | 5900 | else | 
 | 5901 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5902 | for as_dir in $PATH | 
 | 5903 | do | 
 | 5904 |   IFS=$as_save_IFS | 
 | 5905 |   test -z "$as_dir" && as_dir=. | 
 | 5906 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5907 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5908 |     ac_cv_prog_ac_ct_RANLIB="ranlib" | 
 | 5909 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5910 |     break 2 | 
 | 5911 |   fi | 
 | 5912 | done | 
 | 5913 | done | 
 | 5914 |  | 
 | 5915 |   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 
 | 5916 | fi | 
 | 5917 | fi | 
 | 5918 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
 | 5919 | if test -n "$ac_ct_RANLIB"; then | 
 | 5920 |   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 
 | 5921 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 
 | 5922 | else | 
 | 5923 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5924 | echo "${ECHO_T}no" >&6 | 
 | 5925 | fi | 
 | 5926 |  | 
 | 5927 |   RANLIB=$ac_ct_RANLIB | 
 | 5928 | else | 
 | 5929 |   RANLIB="$ac_cv_prog_RANLIB" | 
 | 5930 | fi | 
 | 5931 |  | 
 | 5932 | if test -n "$ac_tool_prefix"; then | 
 | 5933 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
 | 5934 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
 | 5935 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5936 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5937 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
 | 5938 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5939 | else | 
 | 5940 |   if test -n "$STRIP"; then | 
 | 5941 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
 | 5942 | else | 
 | 5943 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5944 | for as_dir in $PATH | 
 | 5945 | do | 
 | 5946 |   IFS=$as_save_IFS | 
 | 5947 |   test -z "$as_dir" && as_dir=. | 
 | 5948 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5949 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5950 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
 | 5951 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5952 |     break 2 | 
 | 5953 |   fi | 
 | 5954 | done | 
 | 5955 | done | 
 | 5956 |  | 
 | 5957 | fi | 
 | 5958 | fi | 
 | 5959 | STRIP=$ac_cv_prog_STRIP | 
 | 5960 | if test -n "$STRIP"; then | 
 | 5961 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
 | 5962 | echo "${ECHO_T}$STRIP" >&6 | 
 | 5963 | else | 
 | 5964 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5965 | echo "${ECHO_T}no" >&6 | 
 | 5966 | fi | 
 | 5967 |  | 
 | 5968 | fi | 
 | 5969 | if test -z "$ac_cv_prog_STRIP"; then | 
 | 5970 |   ac_ct_STRIP=$STRIP | 
 | 5971 |   # Extract the first word of "strip", so it can be a program name with args. | 
 | 5972 | set dummy strip; ac_word=$2 | 
 | 5973 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 5974 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 5975 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
 | 5976 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 5977 | else | 
 | 5978 |   if test -n "$ac_ct_STRIP"; then | 
 | 5979 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
 | 5980 | else | 
 | 5981 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 5982 | for as_dir in $PATH | 
 | 5983 | do | 
 | 5984 |   IFS=$as_save_IFS | 
 | 5985 |   test -z "$as_dir" && as_dir=. | 
 | 5986 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 5987 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 5988 |     ac_cv_prog_ac_ct_STRIP="strip" | 
 | 5989 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 5990 |     break 2 | 
 | 5991 |   fi | 
 | 5992 | done | 
 | 5993 | done | 
 | 5994 |  | 
 | 5995 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
 | 5996 | fi | 
 | 5997 | fi | 
 | 5998 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
 | 5999 | if test -n "$ac_ct_STRIP"; then | 
 | 6000 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
 | 6001 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
 | 6002 | else | 
 | 6003 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 6004 | echo "${ECHO_T}no" >&6 | 
 | 6005 | fi | 
 | 6006 |  | 
 | 6007 |   STRIP=$ac_ct_STRIP | 
 | 6008 | else | 
 | 6009 |   STRIP="$ac_cv_prog_STRIP" | 
 | 6010 | fi | 
 | 6011 |  | 
 | 6012 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6013 | old_CC="$CC" | 
 | 6014 | old_CFLAGS="$CFLAGS" | 
 | 6015 |  | 
 | 6016 | # Set sane defaults for various variables | 
 | 6017 | test -z "$AR" && AR=ar | 
 | 6018 | test -z "$AR_FLAGS" && AR_FLAGS=cru | 
 | 6019 | test -z "$AS" && AS=as | 
 | 6020 | test -z "$CC" && CC=cc | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6021 | test -z "$LTCC" && LTCC=$CC | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6022 | test -z "$DLLTOOL" && DLLTOOL=dlltool | 
 | 6023 | test -z "$LD" && LD=ld | 
 | 6024 | test -z "$LN_S" && LN_S="ln -s" | 
 | 6025 | test -z "$MAGIC_CMD" && MAGIC_CMD=file | 
 | 6026 | test -z "$NM" && NM=nm | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6027 | test -z "$SED" && SED=sed | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6028 | test -z "$OBJDUMP" && OBJDUMP=objdump | 
 | 6029 | test -z "$RANLIB" && RANLIB=: | 
 | 6030 | test -z "$STRIP" && STRIP=: | 
 | 6031 | test -z "$ac_objext" && ac_objext=o | 
 | 6032 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6033 | # Determine commands to create old-style static archives. | 
 | 6034 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' | 
 | 6035 | old_postinstall_cmds='chmod 644 $oldlib' | 
 | 6036 | old_postuninstall_cmds= | 
 | 6037 |  | 
 | 6038 | if test -n "$RANLIB"; then | 
 | 6039 |   case $host_os in | 
 | 6040 |   openbsd*) | 
 | 6041 |     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" | 
 | 6042 |     ;; | 
 | 6043 |   *) | 
 | 6044 |     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" | 
 | 6045 |     ;; | 
 | 6046 |   esac | 
 | 6047 |   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | 
 | 6048 | fi | 
 | 6049 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6050 | # Only perform the check for file, if the check method requires it | 
 | 6051 | case $deplibs_check_method in | 
 | 6052 | file_magic*) | 
 | 6053 |   if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 
 | 6054 |     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 | 
 | 6055 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 | 
 | 6056 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
 | 6057 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6058 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6059 |   case $MAGIC_CMD in | 
 | 6060 | [\\/*] |  ?:[\\/]*) | 
 | 6061 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
 | 6062 |   ;; | 
 | 6063 | *) | 
 | 6064 |   lt_save_MAGIC_CMD="$MAGIC_CMD" | 
 | 6065 |   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 6066 |   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 
 | 6067 |   for ac_dir in $ac_dummy; do | 
 | 6068 |     IFS="$lt_save_ifs" | 
 | 6069 |     test -z "$ac_dir" && ac_dir=. | 
 | 6070 |     if test -f $ac_dir/${ac_tool_prefix}file; then | 
 | 6071 |       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | 
 | 6072 |       if test -n "$file_magic_test_file"; then | 
 | 6073 | 	case $deplibs_check_method in | 
 | 6074 | 	"file_magic "*) | 
 | 6075 | 	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
 | 6076 | 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 6077 | 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
 | 6078 | 	    $EGREP "$file_magic_regex" > /dev/null; then | 
 | 6079 | 	    : | 
 | 6080 | 	  else | 
 | 6081 | 	    cat <<EOF 1>&2 | 
 | 6082 |  | 
 | 6083 | *** Warning: the command libtool uses to detect shared libraries, | 
 | 6084 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
 | 6085 | *** The result is that libtool may fail to recognize shared libraries | 
 | 6086 | *** as such.  This will affect the creation of libtool libraries that | 
 | 6087 | *** depend on shared libraries, but programs linked with such libtool | 
 | 6088 | *** libraries will work regardless of this problem.  Nevertheless, you | 
 | 6089 | *** may want to report the problem to your system manager and/or to | 
 | 6090 | *** bug-libtool@gnu.org | 
 | 6091 |  | 
 | 6092 | EOF | 
 | 6093 | 	  fi ;; | 
 | 6094 | 	esac | 
 | 6095 |       fi | 
 | 6096 |       break | 
 | 6097 |     fi | 
 | 6098 |   done | 
 | 6099 |   IFS="$lt_save_ifs" | 
 | 6100 |   MAGIC_CMD="$lt_save_MAGIC_CMD" | 
 | 6101 |   ;; | 
 | 6102 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6103 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6104 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6105 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 6106 | if test -n "$MAGIC_CMD"; then | 
 | 6107 |   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 
 | 6108 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
 | 6109 | else | 
 | 6110 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 6111 | echo "${ECHO_T}no" >&6 | 
 | 6112 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6113 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6114 | if test -z "$lt_cv_path_MAGIC_CMD"; then | 
 | 6115 |   if test -n "$ac_tool_prefix"; then | 
 | 6116 |     echo "$as_me:$LINENO: checking for file" >&5 | 
 | 6117 | echo $ECHO_N "checking for file... $ECHO_C" >&6 | 
 | 6118 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
 | 6119 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6120 | else | 
 | 6121 |   case $MAGIC_CMD in | 
 | 6122 | [\\/*] |  ?:[\\/]*) | 
 | 6123 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
 | 6124 |   ;; | 
 | 6125 | *) | 
 | 6126 |   lt_save_MAGIC_CMD="$MAGIC_CMD" | 
 | 6127 |   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 6128 |   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 
 | 6129 |   for ac_dir in $ac_dummy; do | 
 | 6130 |     IFS="$lt_save_ifs" | 
 | 6131 |     test -z "$ac_dir" && ac_dir=. | 
 | 6132 |     if test -f $ac_dir/file; then | 
 | 6133 |       lt_cv_path_MAGIC_CMD="$ac_dir/file" | 
 | 6134 |       if test -n "$file_magic_test_file"; then | 
 | 6135 | 	case $deplibs_check_method in | 
 | 6136 | 	"file_magic "*) | 
 | 6137 | 	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
 | 6138 | 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 6139 | 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
 | 6140 | 	    $EGREP "$file_magic_regex" > /dev/null; then | 
 | 6141 | 	    : | 
 | 6142 | 	  else | 
 | 6143 | 	    cat <<EOF 1>&2 | 
 | 6144 |  | 
 | 6145 | *** Warning: the command libtool uses to detect shared libraries, | 
 | 6146 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
 | 6147 | *** The result is that libtool may fail to recognize shared libraries | 
 | 6148 | *** as such.  This will affect the creation of libtool libraries that | 
 | 6149 | *** depend on shared libraries, but programs linked with such libtool | 
 | 6150 | *** libraries will work regardless of this problem.  Nevertheless, you | 
 | 6151 | *** may want to report the problem to your system manager and/or to | 
 | 6152 | *** bug-libtool@gnu.org | 
 | 6153 |  | 
 | 6154 | EOF | 
 | 6155 | 	  fi ;; | 
 | 6156 | 	esac | 
 | 6157 |       fi | 
 | 6158 |       break | 
 | 6159 |     fi | 
 | 6160 |   done | 
 | 6161 |   IFS="$lt_save_ifs" | 
 | 6162 |   MAGIC_CMD="$lt_save_MAGIC_CMD" | 
 | 6163 |   ;; | 
 | 6164 | esac | 
 | 6165 | fi | 
 | 6166 |  | 
 | 6167 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 6168 | if test -n "$MAGIC_CMD"; then | 
 | 6169 |   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 
 | 6170 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
 | 6171 | else | 
 | 6172 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 6173 | echo "${ECHO_T}no" >&6 | 
 | 6174 | fi | 
 | 6175 |  | 
 | 6176 |   else | 
 | 6177 |     MAGIC_CMD=: | 
 | 6178 |   fi | 
 | 6179 | fi | 
 | 6180 |  | 
 | 6181 |   fi | 
 | 6182 |   ;; | 
 | 6183 | esac | 
 | 6184 |  | 
 | 6185 | enable_dlopen=no | 
 | 6186 | enable_win32_dll=no | 
 | 6187 |  | 
 | 6188 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 
 | 6189 | if test "${enable_libtool_lock+set}" = set; then | 
 | 6190 |   enableval="$enable_libtool_lock" | 
 | 6191 |  | 
 | 6192 | fi; | 
 | 6193 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 
 | 6194 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6195 |  | 
 | 6196 | # Check whether --with-pic or --without-pic was given. | 
 | 6197 | if test "${with_pic+set}" = set; then | 
 | 6198 |   withval="$with_pic" | 
 | 6199 |   pic_mode="$withval" | 
 | 6200 | else | 
 | 6201 |   pic_mode=default | 
 | 6202 | fi; | 
 | 6203 | test -z "$pic_mode" && pic_mode=default | 
 | 6204 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6205 | # Use C for the default configuration in the libtool script | 
 | 6206 | tagname= | 
 | 6207 | lt_save_CC="$CC" | 
 | 6208 | ac_ext=c | 
 | 6209 | ac_cpp='$CPP $CPPFLAGS' | 
 | 6210 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 6211 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 6212 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 6213 |  | 
 | 6214 |  | 
 | 6215 | # Source file extension for C test sources. | 
 | 6216 | ac_ext=c | 
 | 6217 |  | 
 | 6218 | # Object file extension for compiled C test sources. | 
 | 6219 | objext=o | 
 | 6220 | objext=$objext | 
 | 6221 |  | 
 | 6222 | # Code to be used in simple compile tests | 
 | 6223 | lt_simple_compile_test_code="int some_variable = 0;\n" | 
 | 6224 |  | 
 | 6225 | # Code to be used in simple link tests | 
 | 6226 | lt_simple_link_test_code='int main(){return(0);}\n' | 
 | 6227 |  | 
 | 6228 |  | 
 | 6229 | # If no C compiler was specified, use CC. | 
 | 6230 | LTCC=${LTCC-"$CC"} | 
 | 6231 |  | 
 | 6232 | # Allow CC to be a program name with arguments. | 
 | 6233 | compiler=$CC | 
 | 6234 |  | 
 | 6235 |  | 
 | 6236 | # | 
 | 6237 | # Check for any special shared library compilation flags. | 
 | 6238 | # | 
 | 6239 | lt_prog_cc_shlib= | 
 | 6240 | if test "$GCC" = no; then | 
 | 6241 |   case $host_os in | 
 | 6242 |   sco3.2v5*) | 
 | 6243 |     lt_prog_cc_shlib='-belf' | 
 | 6244 |     ;; | 
 | 6245 |   esac | 
 | 6246 | fi | 
 | 6247 | if test -n "$lt_prog_cc_shlib"; then | 
 | 6248 |   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 | 
 | 6249 | echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} | 
 | 6250 |   if echo "$old_CC $old_CFLAGS " | grep "[ 	]$lt_prog_cc_shlib[ 	]" >/dev/null; then : | 
 | 6251 |   else | 
 | 6252 |     { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 | 
 | 6253 | echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} | 
 | 6254 |     lt_cv_prog_cc_can_build_shared=no | 
 | 6255 |   fi | 
 | 6256 | fi | 
 | 6257 |  | 
 | 6258 |  | 
 | 6259 | # | 
 | 6260 | # Check to make sure the static flag actually works. | 
 | 6261 | # | 
 | 6262 | echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 | 
 | 6263 | echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 | 
 | 6264 | if test "${lt_prog_compiler_static_works+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6265 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6266 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6267 |   lt_prog_compiler_static_works=no | 
 | 6268 |    save_LDFLAGS="$LDFLAGS" | 
 | 6269 |    LDFLAGS="$LDFLAGS $lt_prog_compiler_static" | 
 | 6270 |    printf "$lt_simple_link_test_code" > conftest.$ac_ext | 
 | 6271 |    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 
 | 6272 |      # The compiler can only warn and ignore the option if not recognized | 
 | 6273 |      # So say no if there are warnings | 
 | 6274 |      if test -s conftest.err; then | 
 | 6275 |        # Append any errors to the config.log. | 
 | 6276 |        cat conftest.err 1>&5 | 
 | 6277 |      else | 
 | 6278 |        lt_prog_compiler_static_works=yes | 
 | 6279 |      fi | 
 | 6280 |    fi | 
 | 6281 |    $rm conftest* | 
 | 6282 |    LDFLAGS="$save_LDFLAGS" | 
 | 6283 |  | 
 | 6284 | fi | 
 | 6285 | echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 | 
 | 6286 | echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 | 
 | 6287 |  | 
 | 6288 | if test x"$lt_prog_compiler_static_works" = xyes; then | 
 | 6289 |     : | 
 | 6290 | else | 
 | 6291 |     lt_prog_compiler_static= | 
 | 6292 | fi | 
 | 6293 |  | 
 | 6294 |  | 
 | 6295 |  | 
 | 6296 | ## CAVEAT EMPTOR: | 
 | 6297 | ## There is no encapsulation within the following macros, do not change | 
 | 6298 | ## the running order or otherwise move them around unless you know exactly | 
 | 6299 | ## what you are doing... | 
 | 6300 |  | 
 | 6301 | lt_prog_compiler_no_builtin_flag= | 
 | 6302 |  | 
 | 6303 | if test "$GCC" = yes; then | 
 | 6304 |   lt_prog_compiler_no_builtin_flag=' -fno-builtin' | 
 | 6305 |  | 
 | 6306 |   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 
 | 6307 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | 
 | 6308 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then | 
 | 6309 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6310 | else | 
 | 6311 |   lt_cv_prog_compiler_rtti_exceptions=no | 
 | 6312 |   ac_outfile=conftest.$ac_objext | 
 | 6313 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 6314 |    lt_compiler_flag="-fno-rtti -fno-exceptions" | 
 | 6315 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 6316 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 6317 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 6318 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 6319 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 6320 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 6321 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 6322 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 6323 |    -e 's:$: $lt_compiler_flag:'` | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 6324 |    (eval echo "\"\$as_me:6324: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6325 |    (eval "$lt_compile" 2>conftest.err) | 
 | 6326 |    ac_status=$? | 
 | 6327 |    cat conftest.err >&5 | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 6328 |    echo "$as_me:6328: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6329 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 6330 |      # The compiler can only warn and ignore the option if not recognized | 
 | 6331 |      # So say no if there are warnings | 
 | 6332 |      if test ! -s conftest.err; then | 
 | 6333 |        lt_cv_prog_compiler_rtti_exceptions=yes | 
 | 6334 |      fi | 
 | 6335 |    fi | 
 | 6336 |    $rm conftest* | 
 | 6337 |  | 
 | 6338 | fi | 
 | 6339 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 | 
 | 6340 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 | 
 | 6341 |  | 
 | 6342 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | 
 | 6343 |     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" | 
 | 6344 | else | 
 | 6345 |     : | 
 | 6346 | fi | 
 | 6347 |  | 
 | 6348 | fi | 
 | 6349 |  | 
 | 6350 | lt_prog_compiler_wl= | 
 | 6351 | lt_prog_compiler_pic= | 
 | 6352 | lt_prog_compiler_static= | 
 | 6353 |  | 
 | 6354 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
 | 6355 | 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] | 6356 |  | 
 | 6357 |   if test "$GCC" = yes; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6358 |     lt_prog_compiler_wl='-Wl,' | 
 | 6359 |     lt_prog_compiler_static='-static' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6360 |  | 
 | 6361 |     case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6362 |       aix*) | 
 | 6363 |       # All AIX code is PIC. | 
 | 6364 |       if test "$host_cpu" = ia64; then | 
 | 6365 | 	# AIX 5 now supports IA64 processor | 
 | 6366 | 	lt_prog_compiler_static='-Bstatic' | 
 | 6367 |       fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6368 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6369 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6370 |     amigaos*) | 
 | 6371 |       # FIXME: we need at least 68020 code to build shared libraries, but | 
 | 6372 |       # adding the `-m68020' flag to GCC prevents building anything better, | 
 | 6373 |       # like `-m68040'. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6374 |       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6375 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6376 |  | 
 | 6377 |     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6378 |       # PIC is the default for these OSes. | 
 | 6379 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6380 |  | 
 | 6381 |     mingw* | pw32* | os2*) | 
 | 6382 |       # This hack is so that the source file can tell whether it is being | 
 | 6383 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 6384 |       lt_prog_compiler_pic='-DDLL_EXPORT' | 
 | 6385 |       ;; | 
 | 6386 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6387 |     darwin* | rhapsody*) | 
 | 6388 |       # PIC is the default on this platform | 
 | 6389 |       # Common symbols not allowed in MH_DYLIB files | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6390 |       lt_prog_compiler_pic='-fno-common' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6391 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6392 |  | 
 | 6393 |     msdosdjgpp*) | 
 | 6394 |       # Just because we use GCC doesn't mean we suddenly get shared libraries | 
 | 6395 |       # on systems that don't support them. | 
 | 6396 |       lt_prog_compiler_can_build_shared=no | 
 | 6397 |       enable_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6398 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6399 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6400 |     sysv4*MP*) | 
 | 6401 |       if test -d /usr/nec; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6402 | 	lt_prog_compiler_pic=-Kconform_pic | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6403 |       fi | 
 | 6404 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6405 |  | 
 | 6406 |     hpux*) | 
 | 6407 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 6408 |       # not for PA HP-UX. | 
 | 6409 |       case "$host_cpu" in | 
 | 6410 |       hppa*64*|ia64*) | 
 | 6411 | 	# +Z the default | 
 | 6412 | 	;; | 
 | 6413 |       *) | 
 | 6414 | 	lt_prog_compiler_pic='-fPIC' | 
 | 6415 | 	;; | 
 | 6416 |       esac | 
 | 6417 |       ;; | 
 | 6418 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6419 |     *) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6420 |       lt_prog_compiler_pic='-fPIC' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6421 |       ;; | 
 | 6422 |     esac | 
 | 6423 |   else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6424 |     # PORTME Check for flag to pass linker flags through the system compiler. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6425 |     case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6426 |     aix*) | 
 | 6427 |       lt_prog_compiler_wl='-Wl,' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6428 |       if test "$host_cpu" = ia64; then | 
 | 6429 | 	# AIX 5 now supports IA64 processor | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6430 | 	lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6431 |       else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6432 | 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6433 |       fi | 
 | 6434 |       ;; | 
 | 6435 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6436 |     mingw* | pw32* | os2*) | 
 | 6437 |       # This hack is so that the source file can tell whether it is being | 
 | 6438 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 6439 |       lt_prog_compiler_pic='-DDLL_EXPORT' | 
 | 6440 |       ;; | 
 | 6441 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6442 |     hpux9* | hpux10* | hpux11*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6443 |       lt_prog_compiler_wl='-Wl,' | 
 | 6444 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 6445 |       # not for PA HP-UX. | 
 | 6446 |       case "$host_cpu" in | 
 | 6447 |       hppa*64*|ia64*) | 
 | 6448 | 	# +Z the default | 
 | 6449 | 	;; | 
 | 6450 |       *) | 
 | 6451 | 	lt_prog_compiler_pic='+Z' | 
 | 6452 | 	;; | 
 | 6453 |       esac | 
 | 6454 |       # Is there a better lt_prog_compiler_static that works with the bundled CC? | 
 | 6455 |       lt_prog_compiler_static='${wl}-a ${wl}archive' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6456 |       ;; | 
 | 6457 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6458 |     irix5* | irix6* | nonstopux*) | 
 | 6459 |       lt_prog_compiler_wl='-Wl,' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6460 |       # PIC (with -KPIC) is the default. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6461 |       lt_prog_compiler_static='-non_shared' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6462 |       ;; | 
 | 6463 |  | 
 | 6464 |     newsos6) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6465 |       lt_prog_compiler_pic='-KPIC' | 
 | 6466 |       lt_prog_compiler_static='-Bstatic' | 
 | 6467 |       ;; | 
 | 6468 |  | 
 | 6469 |     linux*) | 
 | 6470 |       case $CC in | 
 | 6471 |       icc|ecc) | 
 | 6472 | 	lt_prog_compiler_wl='-Wl,' | 
 | 6473 | 	lt_prog_compiler_pic='-KPIC' | 
 | 6474 | 	lt_prog_compiler_static='-static' | 
 | 6475 |         ;; | 
 | 6476 |       ccc) | 
 | 6477 |         lt_prog_compiler_wl='-Wl,' | 
 | 6478 |         # All Alpha code is PIC. | 
 | 6479 |         lt_prog_compiler_static='-non_shared' | 
 | 6480 |         ;; | 
 | 6481 |       esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6482 |       ;; | 
 | 6483 |  | 
 | 6484 |     osf3* | osf4* | osf5*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6485 |       lt_prog_compiler_wl='-Wl,' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6486 |       # All OSF/1 code is PIC. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6487 |       lt_prog_compiler_static='-non_shared' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6488 |       ;; | 
 | 6489 |  | 
 | 6490 |     sco3.2v5*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6491 |       lt_prog_compiler_pic='-Kpic' | 
 | 6492 |       lt_prog_compiler_static='-dn' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6493 |       ;; | 
 | 6494 |  | 
 | 6495 |     solaris*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6496 |       lt_prog_compiler_wl='-Wl,' | 
 | 6497 |       lt_prog_compiler_pic='-KPIC' | 
 | 6498 |       lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6499 |       ;; | 
 | 6500 |  | 
 | 6501 |     sunos4*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6502 |       lt_prog_compiler_wl='-Qoption ld ' | 
 | 6503 |       lt_prog_compiler_pic='-PIC' | 
 | 6504 |       lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6505 |       ;; | 
 | 6506 |  | 
 | 6507 |     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6508 |       lt_prog_compiler_wl='-Wl,' | 
 | 6509 |       lt_prog_compiler_pic='-KPIC' | 
 | 6510 |       lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6511 |       ;; | 
 | 6512 |  | 
 | 6513 |     sysv4*MP*) | 
 | 6514 |       if test -d /usr/nec ;then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6515 | 	lt_prog_compiler_pic='-Kconform_pic' | 
 | 6516 | 	lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6517 |       fi | 
 | 6518 |       ;; | 
 | 6519 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6520 |     uts4*) | 
 | 6521 |       lt_prog_compiler_pic='-pic' | 
 | 6522 |       lt_prog_compiler_static='-Bstatic' | 
 | 6523 |       ;; | 
 | 6524 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6525 |     *) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6526 |       lt_prog_compiler_can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6527 |       ;; | 
 | 6528 |     esac | 
 | 6529 |   fi | 
 | 6530 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6531 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 | 
 | 6532 | echo "${ECHO_T}$lt_prog_compiler_pic" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6533 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6534 | # | 
 | 6535 | # Check to make sure the PIC flag actually works. | 
 | 6536 | # | 
 | 6537 | if test -n "$lt_prog_compiler_pic"; then | 
 | 6538 |   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 | 
 | 6539 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 | 
 | 6540 | if test "${lt_prog_compiler_pic_works+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6541 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6542 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6543 |   lt_prog_compiler_pic_works=no | 
 | 6544 |   ac_outfile=conftest.$ac_objext | 
 | 6545 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 6546 |    lt_compiler_flag="$lt_prog_compiler_pic -DPIC" | 
 | 6547 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 6548 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 6549 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 6550 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 6551 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 6552 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 6553 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 6554 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 6555 |    -e 's:$: $lt_compiler_flag:'` | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 6556 |    (eval echo "\"\$as_me:6556: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6557 |    (eval "$lt_compile" 2>conftest.err) | 
 | 6558 |    ac_status=$? | 
 | 6559 |    cat conftest.err >&5 | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 6560 |    echo "$as_me:6560: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6561 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 6562 |      # The compiler can only warn and ignore the option if not recognized | 
 | 6563 |      # So say no if there are warnings | 
 | 6564 |      if test ! -s conftest.err; then | 
 | 6565 |        lt_prog_compiler_pic_works=yes | 
 | 6566 |      fi | 
 | 6567 |    fi | 
 | 6568 |    $rm conftest* | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6569 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6570 | fi | 
 | 6571 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 | 
 | 6572 | echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6573 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6574 | if test x"$lt_prog_compiler_pic_works" = xyes; then | 
 | 6575 |     case $lt_prog_compiler_pic in | 
 | 6576 |      "" | " "*) ;; | 
 | 6577 |      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; | 
 | 6578 |      esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6579 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6580 |     lt_prog_compiler_pic= | 
 | 6581 |      lt_prog_compiler_can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6582 | fi | 
 | 6583 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6584 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6585 | case "$host_os" in | 
 | 6586 |   # For platforms which do not support PIC, -DPIC is meaningless: | 
 | 6587 |   *djgpp*) | 
 | 6588 |     lt_prog_compiler_pic= | 
 | 6589 |     ;; | 
 | 6590 |   *) | 
 | 6591 |     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" | 
 | 6592 |     ;; | 
 | 6593 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6594 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6595 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
 | 6596 | 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] | 6597 | if test "${lt_cv_prog_compiler_c_o+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6598 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6599 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6600 |   lt_cv_prog_compiler_c_o=no | 
 | 6601 |    $rm -r conftest 2>/dev/null | 
 | 6602 |    mkdir conftest | 
 | 6603 |    cd conftest | 
 | 6604 |    mkdir out | 
 | 6605 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6606 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6607 |    # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
 | 6608 |    # that will create temporary files in the current directory regardless of | 
 | 6609 |    # the output directory.  Thus, making CWD read-only will cause this test | 
 | 6610 |    # to fail, enabling locking or at least warning the user not to do parallel | 
 | 6611 |    # builds. | 
 | 6612 |    chmod -w . | 
 | 6613 |  | 
 | 6614 |    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
 | 6615 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 6616 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 6617 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 6618 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 6619 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 6620 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 6621 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 6622 |    -e 's:$: $lt_compiler_flag:'` | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 6623 |    (eval echo "\"\$as_me:6623: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6624 |    (eval "$lt_compile" 2>out/conftest.err) | 
 | 6625 |    ac_status=$? | 
 | 6626 |    cat out/conftest.err >&5 | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 6627 |    echo "$as_me:6627: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6628 |    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
 | 6629 |    then | 
 | 6630 |      # The compiler can only warn and ignore the option if not recognized | 
 | 6631 |      # So say no if there are warnings | 
 | 6632 |      if test ! -s out/conftest.err; then | 
 | 6633 |        lt_cv_prog_compiler_c_o=yes | 
 | 6634 |      fi | 
 | 6635 |    fi | 
 | 6636 |    chmod u+w . | 
 | 6637 |    $rm conftest* out/* | 
 | 6638 |    rmdir out | 
 | 6639 |    cd .. | 
 | 6640 |    rmdir conftest | 
 | 6641 |    $rm conftest* | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6642 |  | 
 | 6643 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6644 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 | 
 | 6645 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6646 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6647 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6648 | hard_links="nottested" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6649 | 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] | 6650 |   # do not overwrite the value of need_locks provided by the user | 
 | 6651 |   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
 | 6652 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
 | 6653 |   hard_links=yes | 
 | 6654 |   $rm conftest* | 
 | 6655 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 6656 |   touch conftest.a | 
 | 6657 |   ln conftest.a conftest.b 2>&5 || hard_links=no | 
 | 6658 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 6659 |   echo "$as_me:$LINENO: result: $hard_links" >&5 | 
 | 6660 | echo "${ECHO_T}$hard_links" >&6 | 
 | 6661 |   if test "$hard_links" = no; then | 
 | 6662 |     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
 | 6663 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
 | 6664 |     need_locks=warn | 
 | 6665 |   fi | 
 | 6666 | else | 
 | 6667 |   need_locks=no | 
 | 6668 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6669 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6670 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
 | 6671 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 6672 |  | 
 | 6673 |   runpath_var= | 
 | 6674 |   allow_undefined_flag= | 
 | 6675 |   enable_shared_with_static_runtimes=no | 
 | 6676 |   archive_cmds= | 
 | 6677 |   archive_expsym_cmds= | 
 | 6678 |   old_archive_From_new_cmds= | 
 | 6679 |   old_archive_from_expsyms_cmds= | 
 | 6680 |   export_dynamic_flag_spec= | 
 | 6681 |   whole_archive_flag_spec= | 
 | 6682 |   thread_safe_flag_spec= | 
 | 6683 |   hardcode_libdir_flag_spec= | 
 | 6684 |   hardcode_libdir_flag_spec_ld= | 
 | 6685 |   hardcode_libdir_separator= | 
 | 6686 |   hardcode_direct=no | 
 | 6687 |   hardcode_minus_L=no | 
 | 6688 |   hardcode_shlibpath_var=unsupported | 
 | 6689 |   link_all_deplibs=unknown | 
 | 6690 |   hardcode_automatic=no | 
 | 6691 |   module_cmds= | 
 | 6692 |   module_expsym_cmds= | 
 | 6693 |   always_export_symbols=no | 
 | 6694 |   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 6695 |   # include_expsyms should be a list of space-separated symbols to be *always* | 
 | 6696 |   # included in the symbol list | 
 | 6697 |   include_expsyms= | 
 | 6698 |   # exclude_expsyms can be an extended regexp of symbols to exclude | 
 | 6699 |   # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
 | 6700 |   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
 | 6701 |   # as well as any symbol that contains `d'. | 
 | 6702 |   exclude_expsyms="_GLOBAL_OFFSET_TABLE_" | 
 | 6703 |   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
 | 6704 |   # platforms (ab)use it in PIC code, but their linkers get confused if | 
 | 6705 |   # the symbol is explicitly referenced.  Since portable code cannot | 
 | 6706 |   # rely on this symbol name, it's probably fine to never include it in | 
 | 6707 |   # preloaded symbol tables. | 
 | 6708 |   extract_expsyms_cmds= | 
 | 6709 |  | 
 | 6710 |   case $host_os in | 
 | 6711 |   cygwin* | mingw* | pw32*) | 
 | 6712 |     # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
 | 6713 |     # When not using gcc, we currently assume that we are using | 
 | 6714 |     # Microsoft Visual C++. | 
 | 6715 |     if test "$GCC" != yes; then | 
 | 6716 |       with_gnu_ld=no | 
 | 6717 |     fi | 
 | 6718 |     ;; | 
 | 6719 |   openbsd*) | 
 | 6720 |     with_gnu_ld=no | 
 | 6721 |     ;; | 
 | 6722 |   esac | 
 | 6723 |  | 
 | 6724 |   ld_shlibs=yes | 
 | 6725 |   if test "$with_gnu_ld" = yes; then | 
 | 6726 |     # If archive_cmds runs LD, not CC, wlarc should be empty | 
 | 6727 |     wlarc='${wl}' | 
 | 6728 |  | 
 | 6729 |     # See if GNU ld supports shared libraries. | 
 | 6730 |     case $host_os in | 
 | 6731 |     aix3* | aix4* | aix5*) | 
 | 6732 |       # On AIX/PPC, the GNU linker is very broken | 
 | 6733 |       if test "$host_cpu" != ia64; then | 
 | 6734 | 	ld_shlibs=no | 
 | 6735 | 	cat <<EOF 1>&2 | 
 | 6736 |  | 
 | 6737 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
 | 6738 | *** to be unable to reliably create shared libraries on AIX. | 
 | 6739 | *** Therefore, libtool is disabling shared libraries support.  If you | 
 | 6740 | *** really care for shared libraries, you may want to modify your PATH | 
 | 6741 | *** so that a non-GNU linker is found, and then restart. | 
 | 6742 |  | 
 | 6743 | EOF | 
 | 6744 |       fi | 
 | 6745 |       ;; | 
 | 6746 |  | 
 | 6747 |     amigaos*) | 
 | 6748 |       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)' | 
 | 6749 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 6750 |       hardcode_minus_L=yes | 
 | 6751 |  | 
 | 6752 |       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
 | 6753 |       # that the semantics of dynamic libraries on AmigaOS, at least up | 
 | 6754 |       # to version 4, is to share data among multiple programs linked | 
 | 6755 |       # with the same dynamic library.  Since this doesn't match the | 
 | 6756 |       # behavior of shared libraries on other platforms, we can't use | 
 | 6757 |       # them. | 
 | 6758 |       ld_shlibs=no | 
 | 6759 |       ;; | 
 | 6760 |  | 
 | 6761 |     beos*) | 
 | 6762 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 6763 | 	allow_undefined_flag=unsupported | 
 | 6764 | 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
 | 6765 | 	# support --undefined.  This deserves some investigation.  FIXME | 
 | 6766 | 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 6767 |       else | 
 | 6768 | 	ld_shlibs=no | 
 | 6769 |       fi | 
 | 6770 |       ;; | 
 | 6771 |  | 
 | 6772 |     cygwin* | mingw* | pw32*) | 
 | 6773 |       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, | 
 | 6774 |       # as there is no search path for DLLs. | 
 | 6775 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 6776 |       allow_undefined_flag=unsupported | 
 | 6777 |       always_export_symbols=no | 
 | 6778 |       enable_shared_with_static_runtimes=yes | 
 | 6779 |       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 6780 |  | 
 | 6781 |       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
 | 6782 |         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
 | 6783 | 	# If the export-symbols file already is a .def file (1st line | 
 | 6784 | 	# is EXPORTS), use it as is; otherwise, prepend... | 
 | 6785 | 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
 | 6786 | 	  cp $export_symbols $output_objdir/$soname.def; | 
 | 6787 | 	else | 
 | 6788 | 	  echo EXPORTS > $output_objdir/$soname.def; | 
 | 6789 | 	  cat $export_symbols >> $output_objdir/$soname.def; | 
 | 6790 | 	fi~ | 
 | 6791 | 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib' | 
 | 6792 |       else | 
 | 6793 | 	ld_shlibs=no | 
 | 6794 |       fi | 
 | 6795 |       ;; | 
 | 6796 |  | 
 | 6797 |     netbsd*) | 
 | 6798 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 6799 | 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
 | 6800 | 	wlarc= | 
 | 6801 |       else | 
 | 6802 | 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 6803 | 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 6804 |       fi | 
 | 6805 |       ;; | 
 | 6806 |  | 
 | 6807 |     solaris* | sysv5*) | 
 | 6808 |       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 
 | 6809 | 	ld_shlibs=no | 
 | 6810 | 	cat <<EOF 1>&2 | 
 | 6811 |  | 
 | 6812 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
 | 6813 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
 | 6814 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
 | 6815 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
 | 6816 | *** your PATH or compiler configuration so that the native linker is | 
 | 6817 | *** used, and then restart. | 
 | 6818 |  | 
 | 6819 | EOF | 
 | 6820 |       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 6821 | 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 6822 | 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 6823 |       else | 
 | 6824 | 	ld_shlibs=no | 
 | 6825 |       fi | 
 | 6826 |       ;; | 
 | 6827 |  | 
 | 6828 |     sunos4*) | 
 | 6829 |       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 6830 |       wlarc= | 
 | 6831 |       hardcode_direct=yes | 
 | 6832 |       hardcode_shlibpath_var=no | 
 | 6833 |       ;; | 
 | 6834 |  | 
 | 6835 |     *) | 
 | 6836 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 6837 | 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 6838 | 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 6839 |       else | 
 | 6840 | 	ld_shlibs=no | 
 | 6841 |       fi | 
 | 6842 |       ;; | 
 | 6843 |     esac | 
 | 6844 |  | 
 | 6845 |     if test "$ld_shlibs" = yes; then | 
 | 6846 |       runpath_var=LD_RUN_PATH | 
 | 6847 |       hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' | 
 | 6848 |       export_dynamic_flag_spec='${wl}--export-dynamic' | 
 | 6849 |       # ancient GNU ld didn't support --whole-archive et. al. | 
 | 6850 |       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | 
 | 6851 |  	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
 | 6852 |       else | 
 | 6853 |   	whole_archive_flag_spec= | 
 | 6854 |       fi | 
 | 6855 |     fi | 
 | 6856 |   else | 
 | 6857 |     # PORTME fill in a description of your system's linker (not GNU ld) | 
 | 6858 |     case $host_os in | 
 | 6859 |     aix3*) | 
 | 6860 |       allow_undefined_flag=unsupported | 
 | 6861 |       always_export_symbols=yes | 
 | 6862 |       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' | 
 | 6863 |       # Note: this linker hardcodes the directories in LIBPATH if there | 
 | 6864 |       # are no directories specified by -L. | 
 | 6865 |       hardcode_minus_L=yes | 
 | 6866 |       if test "$GCC" = yes && test -z "$link_static_flag"; then | 
 | 6867 | 	# Neither direct hardcoding nor static linking is supported with a | 
 | 6868 | 	# broken collect2. | 
 | 6869 | 	hardcode_direct=unsupported | 
 | 6870 |       fi | 
 | 6871 |       ;; | 
 | 6872 |  | 
 | 6873 |     aix4* | aix5*) | 
 | 6874 |       if test "$host_cpu" = ia64; then | 
 | 6875 | 	# On IA64, the linker does run time linking by default, so we don't | 
 | 6876 | 	# have to do anything special. | 
 | 6877 | 	aix_use_runtimelinking=no | 
 | 6878 | 	exp_sym_flag='-Bexport' | 
 | 6879 | 	no_entry_flag="" | 
 | 6880 |       else | 
 | 6881 | 	# If we're using GNU nm, then we don't want the "-C" option. | 
 | 6882 | 	# -C means demangle to AIX nm, but means don't demangle with GNU nm | 
 | 6883 | 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
 | 6884 | 	  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' | 
 | 6885 | 	else | 
 | 6886 | 	  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' | 
 | 6887 | 	fi | 
 | 6888 | 	aix_use_runtimelinking=no | 
 | 6889 |  | 
 | 6890 | 	# Test if we are trying to use run time linking or normal | 
 | 6891 | 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
 | 6892 | 	# need to do runtime linking. | 
 | 6893 | 	case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
 | 6894 | 	  for ld_flag in $LDFLAGS; do | 
 | 6895 |   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
 | 6896 |   	    aix_use_runtimelinking=yes | 
 | 6897 |   	    break | 
 | 6898 |   	  fi | 
 | 6899 | 	  done | 
 | 6900 | 	esac | 
 | 6901 |  | 
 | 6902 | 	exp_sym_flag='-bexport' | 
 | 6903 | 	no_entry_flag='-bnoentry' | 
 | 6904 |       fi | 
 | 6905 |  | 
 | 6906 |       # When large executables or shared objects are built, AIX ld can | 
 | 6907 |       # have problems creating the table of contents.  If linking a library | 
 | 6908 |       # or program results in "error TOC overflow" add -mminimal-toc to | 
 | 6909 |       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
 | 6910 |       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
 | 6911 |  | 
 | 6912 |       archive_cmds='' | 
 | 6913 |       hardcode_direct=yes | 
 | 6914 |       hardcode_libdir_separator=':' | 
 | 6915 |       link_all_deplibs=yes | 
 | 6916 |  | 
 | 6917 |       if test "$GCC" = yes; then | 
 | 6918 | 	case $host_os in aix4.012|aix4.012.*) | 
 | 6919 | 	# We only want to do this on AIX 4.2 and lower, the check | 
 | 6920 | 	# below for broken collect2 doesn't work under 4.3+ | 
 | 6921 | 	  collect2name=`${CC} -print-prog-name=collect2` | 
 | 6922 | 	  if test -f "$collect2name" && \ | 
 | 6923 |   	   strings "$collect2name" | grep resolve_lib_name >/dev/null | 
 | 6924 | 	  then | 
 | 6925 |   	  # We have reworked collect2 | 
 | 6926 |   	  hardcode_direct=yes | 
 | 6927 | 	  else | 
 | 6928 |   	  # We have old collect2 | 
 | 6929 |   	  hardcode_direct=unsupported | 
 | 6930 |   	  # It fails to find uninstalled libraries when the uninstalled | 
 | 6931 |   	  # path is not listed in the libpath.  Setting hardcode_minus_L | 
 | 6932 |   	  # to unsupported forces relinking | 
 | 6933 |   	  hardcode_minus_L=yes | 
 | 6934 |   	  hardcode_libdir_flag_spec='-L$libdir' | 
 | 6935 |   	  hardcode_libdir_separator= | 
 | 6936 | 	  fi | 
 | 6937 | 	esac | 
 | 6938 | 	shared_flag='-shared' | 
 | 6939 |       else | 
 | 6940 | 	# not using gcc | 
 | 6941 | 	if test "$host_cpu" = ia64; then | 
 | 6942 |   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
 | 6943 |   	# chokes on -Wl,-G. The following line is correct: | 
 | 6944 | 	  shared_flag='-G' | 
 | 6945 | 	else | 
 | 6946 |   	if test "$aix_use_runtimelinking" = yes; then | 
 | 6947 | 	    shared_flag='${wl}-G' | 
 | 6948 | 	  else | 
 | 6949 | 	    shared_flag='${wl}-bM:SRE' | 
 | 6950 |   	fi | 
 | 6951 | 	fi | 
 | 6952 |       fi | 
 | 6953 |  | 
 | 6954 |       # It seems that -bexpall does not export symbols beginning with | 
 | 6955 |       # underscore (_), so it is better to generate a list of symbols to export. | 
 | 6956 |       always_export_symbols=yes | 
 | 6957 |       if test "$aix_use_runtimelinking" = yes; then | 
 | 6958 | 	# Warning - without using the other runtime loading flags (-brtl), | 
 | 6959 | 	# -berok will link without error, but may produce a broken library. | 
 | 6960 | 	allow_undefined_flag='-berok' | 
 | 6961 |        # Determine the default libpath from the value encoded in an empty executable. | 
 | 6962 |        cat >conftest.$ac_ext <<_ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6963 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 6964 | /* confdefs.h.  */ | 
 | 6965 | _ACEOF | 
 | 6966 | cat confdefs.h >>conftest.$ac_ext | 
 | 6967 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 6968 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6969 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6970 | int | 
 | 6971 | main () | 
 | 6972 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6973 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6974 |   ; | 
 | 6975 |   return 0; | 
 | 6976 | } | 
 | 6977 | _ACEOF | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6978 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6979 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6980 |   (eval $ac_link) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6981 |   ac_status=$? | 
 | 6982 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6983 |   (exit $ac_status); } && | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6984 |          { ac_try='test -s conftest$ac_exeext' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6985 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6986 |   (eval $ac_try) 2>&5 | 
 | 6987 |   ac_status=$? | 
 | 6988 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6989 |   (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6990 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6991 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 6992 | }'` | 
 | 6993 | # Check for a 64-bit object if we didn't find anything. | 
 | 6994 | 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; } | 
 | 6995 | }'`; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6996 | else | 
 | 6997 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 6998 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 6999 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7000 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7001 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 7002 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7003 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7004 |        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 7005 | 	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" | 
 | 7006 |        else | 
 | 7007 | 	if test "$host_cpu" = ia64; then | 
 | 7008 | 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | 
 | 7009 | 	  allow_undefined_flag="-z nodefs" | 
 | 7010 | 	  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" | 
 | 7011 | 	else | 
 | 7012 | 	 # Determine the default libpath from the value encoded in an empty executable. | 
 | 7013 | 	 cat >conftest.$ac_ext <<_ACEOF | 
 | 7014 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7015 | /* confdefs.h.  */ | 
 | 7016 | _ACEOF | 
 | 7017 | cat confdefs.h >>conftest.$ac_ext | 
 | 7018 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 7019 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7020 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7021 | int | 
 | 7022 | main () | 
 | 7023 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7024 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7025 |   ; | 
 | 7026 |   return 0; | 
 | 7027 | } | 
 | 7028 | _ACEOF | 
 | 7029 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 7030 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 7031 |   (eval $ac_link) 2>&5 | 
 | 7032 |   ac_status=$? | 
 | 7033 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7034 |   (exit $ac_status); } && | 
 | 7035 |          { ac_try='test -s conftest$ac_exeext' | 
 | 7036 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 7037 |   (eval $ac_try) 2>&5 | 
 | 7038 |   ac_status=$? | 
 | 7039 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7040 |   (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7041 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7042 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 7043 | }'` | 
 | 7044 | # Check for a 64-bit object if we didn't find anything. | 
 | 7045 | 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; } | 
 | 7046 | }'`; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7047 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7048 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 7049 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 7050 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7051 | fi | 
 | 7052 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 7053 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7054 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7055 | 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 7056 | 	  # Warning - without using the other run time loading flags, | 
 | 7057 | 	  # -berok will link without error, but may produce a broken library. | 
 | 7058 | 	  no_undefined_flag=' ${wl}-bernotok' | 
 | 7059 | 	  allow_undefined_flag=' ${wl}-berok' | 
 | 7060 | 	  # -bexpall does not export symbols beginning with underscore (_) | 
 | 7061 | 	  always_export_symbols=yes | 
 | 7062 | 	  # Exported symbols can be pulled into shared objects from archives | 
 | 7063 | 	  whole_archive_flag_spec=' ' | 
 | 7064 | 	  archive_cmds_need_lc=yes | 
 | 7065 | 	  # This is similar to how AIX traditionally builds it's shared libraries. | 
 | 7066 | 	  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] | 7067 | 	fi | 
 | 7068 |       fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7069 |       ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7070 |  | 
 | 7071 |     amigaos*) | 
 | 7072 |       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)' | 
 | 7073 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 7074 |       hardcode_minus_L=yes | 
 | 7075 |       # see comment about different semantics on the GNU ld section | 
 | 7076 |       ld_shlibs=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7077 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7078 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7079 |     bsdi4*) | 
 | 7080 |       export_dynamic_flag_spec=-rdynamic | 
 | 7081 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7082 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7083 |     cygwin* | mingw* | pw32*) | 
 | 7084 |       # When not using gcc, we currently assume that we are using | 
 | 7085 |       # Microsoft Visual C++. | 
 | 7086 |       # hardcode_libdir_flag_spec is actually meaningless, as there is | 
 | 7087 |       # no search path for DLLs. | 
 | 7088 |       hardcode_libdir_flag_spec=' ' | 
 | 7089 |       allow_undefined_flag=unsupported | 
 | 7090 |       # Tell ltmain to make .lib files, not .a files. | 
 | 7091 |       libext=lib | 
 | 7092 |       # Tell ltmain to make .dll files, not .so files. | 
 | 7093 |       shrext=".dll" | 
 | 7094 |       # FIXME: Setting linknames here is a bad hack. | 
 | 7095 |       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
 | 7096 |       # The linker will automatically build a .lib file if we build a DLL. | 
 | 7097 |       old_archive_From_new_cmds='true' | 
 | 7098 |       # FIXME: Should let the user specify the lib program. | 
 | 7099 |       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
 | 7100 |       fix_srcfile_path='`cygpath -w "$srcfile"`' | 
 | 7101 |       enable_shared_with_static_runtimes=yes | 
 | 7102 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7103 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7104 |     darwin* | rhapsody*) | 
 | 7105 |     if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 7106 |       archive_cmds_need_lc=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7107 |       case "$host_os" in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7108 |       rhapsody* | darwin1.[012]) | 
 | 7109 | 	allow_undefined_flag='-undefined suppress' | 
 | 7110 | 	;; | 
 | 7111 |       *) # Darwin 1.3 on | 
 | 7112 | 	test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7113 | 	;; | 
 | 7114 |       esac | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7115 |       # FIXME: Relying on posixy $() will cause problems for | 
 | 7116 |       #        cross-compilation, but unfortunately the echo tests do not | 
 | 7117 |       #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
 | 7118 |       #	       `"' quotes if we put them in here... so don't! | 
 | 7119 |     	lt_int_apple_cc_single_mod=no | 
 | 7120 |     	output_verbose_link_cmd='echo' | 
 | 7121 |     	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
 | 7122 |     	  lt_int_apple_cc_single_mod=yes | 
 | 7123 |     	fi | 
 | 7124 |     	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 7125 |     	  archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 7126 |     	else | 
 | 7127 |         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' | 
 | 7128 |       fi | 
 | 7129 |       module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
 | 7130 |       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
 | 7131 |         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 7132 |           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}' | 
 | 7133 |         else | 
 | 7134 |           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}' | 
 | 7135 |         fi | 
 | 7136 |           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}' | 
 | 7137 |       hardcode_direct=no | 
 | 7138 |       hardcode_automatic=yes | 
 | 7139 |       hardcode_shlibpath_var=unsupported | 
 | 7140 |       whole_archive_flag_spec='-all_load $convenience' | 
 | 7141 |       link_all_deplibs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7142 |     fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7143 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7144 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7145 |     dgux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7146 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7147 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 7148 |       hardcode_shlibpath_var=no | 
 | 7149 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7150 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7151 |     freebsd1*) | 
 | 7152 |       ld_shlibs=no | 
 | 7153 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7154 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7155 |     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
 | 7156 |     # support.  Future versions do this automatically, but an explicit c++rt0.o | 
 | 7157 |     # does not break anything, and helps significantly (at the cost of a little | 
 | 7158 |     # extra space). | 
 | 7159 |     freebsd2.2*) | 
 | 7160 |       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
 | 7161 |       hardcode_libdir_flag_spec='-R$libdir' | 
 | 7162 |       hardcode_direct=yes | 
 | 7163 |       hardcode_shlibpath_var=no | 
 | 7164 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7165 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7166 |     # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
 | 7167 |     freebsd2*) | 
 | 7168 |       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 7169 |       hardcode_direct=yes | 
 | 7170 |       hardcode_minus_L=yes | 
 | 7171 |       hardcode_shlibpath_var=no | 
 | 7172 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7173 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7174 |     # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
 | 7175 |     freebsd*) | 
 | 7176 |       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
 | 7177 |       hardcode_libdir_flag_spec='-R$libdir' | 
 | 7178 |       hardcode_direct=yes | 
 | 7179 |       hardcode_shlibpath_var=no | 
 | 7180 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7181 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7182 |     hpux9*) | 
 | 7183 |       if test "$GCC" = yes; then | 
 | 7184 | 	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' | 
 | 7185 |       else | 
 | 7186 | 	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' | 
 | 7187 |       fi | 
 | 7188 |       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
 | 7189 |       hardcode_libdir_separator=: | 
 | 7190 |       hardcode_direct=yes | 
 | 7191 |  | 
 | 7192 |       # hardcode_minus_L: Not really in the search PATH, | 
 | 7193 |       # but as the default location of the library. | 
 | 7194 |       hardcode_minus_L=yes | 
 | 7195 |       export_dynamic_flag_spec='${wl}-E' | 
 | 7196 |       ;; | 
 | 7197 |  | 
 | 7198 |     hpux10* | hpux11*) | 
 | 7199 |       if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 
 | 7200 | 	case "$host_cpu" in | 
 | 7201 | 	hppa*64*|ia64*) | 
 | 7202 | 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 7203 | 	  ;; | 
 | 7204 | 	*) | 
 | 7205 | 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
 | 7206 | 	  ;; | 
 | 7207 | 	esac | 
 | 7208 |       else | 
 | 7209 | 	case "$host_cpu" in | 
 | 7210 | 	hppa*64*|ia64*) | 
 | 7211 | 	  archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7212 | 	  ;; | 
 | 7213 | 	*) | 
 | 7214 | 	  archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 
 | 7215 | 	  ;; | 
 | 7216 | 	esac | 
 | 7217 |       fi | 
 | 7218 |       if test "$with_gnu_ld" = no; then | 
 | 7219 | 	case "$host_cpu" in | 
 | 7220 | 	hppa*64*) | 
 | 7221 | 	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
 | 7222 | 	  hardcode_libdir_flag_spec_ld='+b $libdir' | 
 | 7223 | 	  hardcode_libdir_separator=: | 
 | 7224 | 	  hardcode_direct=no | 
 | 7225 | 	  hardcode_shlibpath_var=no | 
 | 7226 | 	  ;; | 
 | 7227 | 	ia64*) | 
 | 7228 | 	  hardcode_libdir_flag_spec='-L$libdir' | 
 | 7229 | 	  hardcode_direct=no | 
 | 7230 | 	  hardcode_shlibpath_var=no | 
 | 7231 |  | 
 | 7232 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 7233 | 	  # but as the default location of the library. | 
 | 7234 | 	  hardcode_minus_L=yes | 
 | 7235 | 	  ;; | 
 | 7236 | 	*) | 
 | 7237 | 	  hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
 | 7238 | 	  hardcode_libdir_separator=: | 
 | 7239 | 	  hardcode_direct=yes | 
 | 7240 | 	  export_dynamic_flag_spec='${wl}-E' | 
 | 7241 |  | 
 | 7242 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 7243 | 	  # but as the default location of the library. | 
 | 7244 | 	  hardcode_minus_L=yes | 
 | 7245 | 	  ;; | 
 | 7246 | 	esac | 
 | 7247 |       fi | 
 | 7248 |       ;; | 
 | 7249 |  | 
 | 7250 |     irix5* | irix6* | nonstopux*) | 
 | 7251 |       if test "$GCC" = yes; then | 
 | 7252 | 	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' | 
 | 7253 |       else | 
 | 7254 | 	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' | 
 | 7255 | 	hardcode_libdir_flag_spec_ld='-rpath $libdir' | 
 | 7256 |       fi | 
 | 7257 |       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 7258 |       hardcode_libdir_separator=: | 
 | 7259 |       link_all_deplibs=yes | 
 | 7260 |       ;; | 
 | 7261 |  | 
 | 7262 |     netbsd*) | 
 | 7263 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 7264 | 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
 | 7265 |       else | 
 | 7266 | 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
 | 7267 |       fi | 
 | 7268 |       hardcode_libdir_flag_spec='-R$libdir' | 
 | 7269 |       hardcode_direct=yes | 
 | 7270 |       hardcode_shlibpath_var=no | 
 | 7271 |       ;; | 
 | 7272 |  | 
 | 7273 |     newsos6) | 
 | 7274 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7275 |       hardcode_direct=yes | 
 | 7276 |       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 7277 |       hardcode_libdir_separator=: | 
 | 7278 |       hardcode_shlibpath_var=no | 
 | 7279 |       ;; | 
 | 7280 |  | 
 | 7281 |     openbsd*) | 
 | 7282 |       hardcode_direct=yes | 
 | 7283 |       hardcode_shlibpath_var=no | 
 | 7284 |       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 7285 | 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 7286 | 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
 | 7287 | 	export_dynamic_flag_spec='${wl}-E' | 
 | 7288 |       else | 
 | 7289 |        case $host_os in | 
 | 7290 | 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
 | 7291 | 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 7292 | 	   hardcode_libdir_flag_spec='-R$libdir' | 
 | 7293 | 	   ;; | 
 | 7294 | 	 *) | 
 | 7295 | 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 7296 | 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
 | 7297 | 	   ;; | 
 | 7298 |        esac | 
 | 7299 |       fi | 
 | 7300 |       ;; | 
 | 7301 |  | 
 | 7302 |     os2*) | 
 | 7303 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 7304 |       hardcode_minus_L=yes | 
 | 7305 |       allow_undefined_flag=unsupported | 
 | 7306 |       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' | 
 | 7307 |       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
 | 7308 |       ;; | 
 | 7309 |  | 
 | 7310 |     osf3*) | 
 | 7311 |       if test "$GCC" = yes; then | 
 | 7312 | 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
 | 7313 | 	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' | 
 | 7314 |       else | 
 | 7315 | 	allow_undefined_flag=' -expect_unresolved \*' | 
 | 7316 | 	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' | 
 | 7317 |       fi | 
 | 7318 |       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 7319 |       hardcode_libdir_separator=: | 
 | 7320 |       ;; | 
 | 7321 |  | 
 | 7322 |     osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
 | 7323 |       if test "$GCC" = yes; then | 
 | 7324 | 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
 | 7325 | 	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' | 
 | 7326 | 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 7327 |       else | 
 | 7328 | 	allow_undefined_flag=' -expect_unresolved \*' | 
 | 7329 | 	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' | 
 | 7330 | 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 
 | 7331 | 	$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' | 
 | 7332 |  | 
 | 7333 | 	# Both c and cxx compiler support -rpath directly | 
 | 7334 | 	hardcode_libdir_flag_spec='-rpath $libdir' | 
 | 7335 |       fi | 
 | 7336 |       hardcode_libdir_separator=: | 
 | 7337 |       ;; | 
 | 7338 |  | 
 | 7339 |     sco3.2v5*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7340 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7341 |       hardcode_shlibpath_var=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7342 |       export_dynamic_flag_spec='${wl}-Bexport' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7343 |       runpath_var=LD_RUN_PATH | 
 | 7344 |       hardcode_runpath_var=yes | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7345 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7346 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7347 |     solaris*) | 
 | 7348 |       no_undefined_flag=' -z text' | 
 | 7349 |       if test "$GCC" = yes; then | 
 | 7350 | 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 7351 | 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 7352 | 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 
 | 7353 |       else | 
 | 7354 | 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7355 | 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 7356 |   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 7357 |       fi | 
 | 7358 |       hardcode_libdir_flag_spec='-R$libdir' | 
 | 7359 |       hardcode_shlibpath_var=no | 
 | 7360 |       case $host_os in | 
 | 7361 |       solaris2.[0-5] | solaris2.[0-5].*) ;; | 
 | 7362 |       *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
 | 7363 | 	whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; | 
 | 7364 |       esac | 
 | 7365 |       link_all_deplibs=yes | 
 | 7366 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7367 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7368 |     sunos4*) | 
 | 7369 |       if test "x$host_vendor" = xsequent; then | 
 | 7370 | 	# Use $CC to link under sequent, because it throws in some extra .o | 
 | 7371 | 	# files that make .init and .fini sections work. | 
 | 7372 | 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 7373 |       else | 
 | 7374 | 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
 | 7375 |       fi | 
 | 7376 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 7377 |       hardcode_direct=yes | 
 | 7378 |       hardcode_minus_L=yes | 
 | 7379 |       hardcode_shlibpath_var=no | 
 | 7380 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7381 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7382 |     sysv4) | 
 | 7383 |       case $host_vendor in | 
 | 7384 | 	sni) | 
 | 7385 | 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7386 | 	  hardcode_direct=yes # is this really true??? | 
 | 7387 | 	;; | 
 | 7388 | 	siemens) | 
 | 7389 | 	  ## LD is ld it makes a PLAMLIB | 
 | 7390 | 	  ## CC just makes a GrossModule. | 
 | 7391 | 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 7392 | 	  reload_cmds='$CC -r -o $output$reload_objs' | 
 | 7393 | 	  hardcode_direct=no | 
 | 7394 |         ;; | 
 | 7395 | 	motorola) | 
 | 7396 | 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7397 | 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie | 
 | 7398 | 	;; | 
 | 7399 |       esac | 
 | 7400 |       runpath_var='LD_RUN_PATH' | 
 | 7401 |       hardcode_shlibpath_var=no | 
 | 7402 |       ;; | 
 | 7403 |  | 
 | 7404 |     sysv4.3*) | 
 | 7405 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7406 |       hardcode_shlibpath_var=no | 
 | 7407 |       export_dynamic_flag_spec='-Bexport' | 
 | 7408 |       ;; | 
 | 7409 |  | 
 | 7410 |     sysv4*MP*) | 
 | 7411 |       if test -d /usr/nec; then | 
 | 7412 | 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7413 | 	hardcode_shlibpath_var=no | 
 | 7414 | 	runpath_var=LD_RUN_PATH | 
 | 7415 | 	hardcode_runpath_var=yes | 
 | 7416 | 	ld_shlibs=yes | 
 | 7417 |       fi | 
 | 7418 |       ;; | 
 | 7419 |  | 
 | 7420 |     sysv4.2uw2*) | 
 | 7421 |       archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 7422 |       hardcode_direct=yes | 
 | 7423 |       hardcode_minus_L=no | 
 | 7424 |       hardcode_shlibpath_var=no | 
 | 7425 |       hardcode_runpath_var=yes | 
 | 7426 |       runpath_var=LD_RUN_PATH | 
 | 7427 |       ;; | 
 | 7428 |  | 
 | 7429 |    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*) | 
 | 7430 |       no_undefined_flag='${wl}-z ${wl}text' | 
 | 7431 |       if test "$GCC" = yes; then | 
 | 7432 | 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 7433 |       else | 
 | 7434 | 	archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 7435 |       fi | 
 | 7436 |       runpath_var='LD_RUN_PATH' | 
 | 7437 |       hardcode_shlibpath_var=no | 
 | 7438 |       ;; | 
 | 7439 |  | 
 | 7440 |     sysv5*) | 
 | 7441 |       no_undefined_flag=' -z text' | 
 | 7442 |       # $CC -shared without GNU ld will not create a library from C++ | 
 | 7443 |       # object files and a static libstdc++, better avoid it by now | 
 | 7444 |       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7445 |       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 7446 |   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 7447 |       hardcode_libdir_flag_spec= | 
 | 7448 |       hardcode_shlibpath_var=no | 
 | 7449 |       runpath_var='LD_RUN_PATH' | 
 | 7450 |       ;; | 
 | 7451 |  | 
 | 7452 |     uts4*) | 
 | 7453 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 7454 |       hardcode_libdir_flag_spec='-L$libdir' | 
 | 7455 |       hardcode_shlibpath_var=no | 
 | 7456 |       ;; | 
 | 7457 |  | 
 | 7458 |     *) | 
 | 7459 |       ld_shlibs=no | 
 | 7460 |       ;; | 
 | 7461 |     esac | 
 | 7462 |   fi | 
 | 7463 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7464 | echo "$as_me:$LINENO: result: $ld_shlibs" >&5 | 
 | 7465 | echo "${ECHO_T}$ld_shlibs" >&6 | 
 | 7466 | test "$ld_shlibs" = no && can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7467 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7468 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
 | 7469 | if test "$GCC" = yes; then | 
 | 7470 |   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
 | 7471 | fi | 
 | 7472 |  | 
 | 7473 | # | 
 | 7474 | # Do we need to explicitly link libc? | 
 | 7475 | # | 
 | 7476 | case "x$archive_cmds_need_lc" in | 
 | 7477 | x|xyes) | 
 | 7478 |   # Assume -lc should be added | 
 | 7479 |   archive_cmds_need_lc=yes | 
 | 7480 |  | 
 | 7481 |   if test "$enable_shared" = yes && test "$GCC" = yes; then | 
 | 7482 |     case $archive_cmds in | 
 | 7483 |     *'~'*) | 
 | 7484 |       # FIXME: we may have to deal with multi-command sequences. | 
 | 7485 |       ;; | 
 | 7486 |     '$CC '*) | 
 | 7487 |       # Test whether the compiler implicitly links with -lc since on some | 
 | 7488 |       # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
 | 7489 |       # to ld, don't add -lc before -lgcc. | 
 | 7490 |       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
 | 7491 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
 | 7492 |       $rm conftest* | 
 | 7493 |       printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 7494 |  | 
 | 7495 |       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 7496 |   (eval $ac_compile) 2>&5 | 
 | 7497 |   ac_status=$? | 
 | 7498 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7499 |   (exit $ac_status); } 2>conftest.err; then | 
 | 7500 |         soname=conftest | 
 | 7501 |         lib=conftest | 
 | 7502 |         libobjs=conftest.$ac_objext | 
 | 7503 |         deplibs= | 
 | 7504 |         wl=$lt_prog_compiler_wl | 
 | 7505 |         compiler_flags=-v | 
 | 7506 |         linker_flags=-v | 
 | 7507 |         verstring= | 
 | 7508 |         output_objdir=. | 
 | 7509 |         libname=conftest | 
 | 7510 |         lt_save_allow_undefined_flag=$allow_undefined_flag | 
 | 7511 |         allow_undefined_flag= | 
 | 7512 |         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
 | 7513 |   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
 | 7514 |   ac_status=$? | 
 | 7515 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7516 |   (exit $ac_status); } | 
 | 7517 |         then | 
 | 7518 | 	  archive_cmds_need_lc=no | 
 | 7519 |         else | 
 | 7520 | 	  archive_cmds_need_lc=yes | 
 | 7521 |         fi | 
 | 7522 |         allow_undefined_flag=$lt_save_allow_undefined_flag | 
 | 7523 |       else | 
 | 7524 |         cat conftest.err 1>&5 | 
 | 7525 |       fi | 
 | 7526 |       $rm conftest* | 
 | 7527 |       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 | 
 | 7528 | echo "${ECHO_T}$archive_cmds_need_lc" >&6 | 
 | 7529 |       ;; | 
 | 7530 |     esac | 
 | 7531 |   fi | 
 | 7532 |   ;; | 
 | 7533 | esac | 
 | 7534 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7535 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
 | 7536 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
 | 7537 | hardcode_action= | 
 | 7538 | if test -n "$hardcode_libdir_flag_spec" || \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7539 |    test -n "$runpath_var " || \ | 
 | 7540 |    test "X$hardcode_automatic"="Xyes" ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7541 |  | 
 | 7542 |   # We can hardcode non-existant directories. | 
 | 7543 |   if test "$hardcode_direct" != no && | 
 | 7544 |      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
 | 7545 |      # have to relink, otherwise we might link with an installed library | 
 | 7546 |      # when we should be linking with a yet-to-be-installed one | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7547 |      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7548 |      test "$hardcode_minus_L" != no; then | 
 | 7549 |     # Linking always hardcodes the temporary library directory. | 
 | 7550 |     hardcode_action=relink | 
 | 7551 |   else | 
 | 7552 |     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
 | 7553 |     hardcode_action=immediate | 
 | 7554 |   fi | 
 | 7555 | else | 
 | 7556 |   # We cannot hardcode anything, or else we can only hardcode existing | 
 | 7557 |   # directories. | 
 | 7558 |   hardcode_action=unsupported | 
 | 7559 | fi | 
 | 7560 | echo "$as_me:$LINENO: result: $hardcode_action" >&5 | 
 | 7561 | echo "${ECHO_T}$hardcode_action" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7562 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7563 | if test "$hardcode_action" = relink; then | 
 | 7564 |   # Fast installation is not supported | 
 | 7565 |   enable_fast_install=no | 
 | 7566 | elif test "$shlibpath_overrides_runpath" = yes || | 
 | 7567 |      test "$enable_shared" = no; then | 
 | 7568 |   # Fast installation is not necessary | 
 | 7569 |   enable_fast_install=needless | 
 | 7570 | fi | 
 | 7571 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7572 | striplib= | 
 | 7573 | old_striplib= | 
 | 7574 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
 | 7575 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
 | 7576 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
 | 7577 |   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
 | 7578 |   test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
 | 7579 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 7580 | echo "${ECHO_T}yes" >&6 | 
 | 7581 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7582 | # FIXME - insert some real tests, host_os isn't really good enough | 
 | 7583 |   case $host_os in | 
 | 7584 |    darwin*) | 
 | 7585 |        if test -n "$STRIP" ; then | 
 | 7586 |          striplib="$STRIP -x" | 
 | 7587 |          echo "$as_me:$LINENO: result: yes" >&5 | 
 | 7588 | echo "${ECHO_T}yes" >&6 | 
 | 7589 |        else | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7590 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7591 | echo "${ECHO_T}no" >&6 | 
 | 7592 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7593 |        ;; | 
 | 7594 |    *) | 
 | 7595 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7596 | echo "${ECHO_T}no" >&6 | 
 | 7597 |     ;; | 
 | 7598 |   esac | 
 | 7599 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7600 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7601 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
 | 7602 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
 | 7603 | library_names_spec= | 
 | 7604 | libname_spec='lib$name' | 
 | 7605 | soname_spec= | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7606 | shrext=".so" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7607 | postinstall_cmds= | 
 | 7608 | postuninstall_cmds= | 
 | 7609 | finish_cmds= | 
 | 7610 | finish_eval= | 
 | 7611 | shlibpath_var= | 
 | 7612 | shlibpath_overrides_runpath=unknown | 
 | 7613 | version_type=none | 
 | 7614 | dynamic_linker="$host_os ld.so" | 
 | 7615 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7616 | if test "$GCC" = yes; then | 
 | 7617 |   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 7618 |   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
 | 7619 |     # if the path contains ";" then we assume it to be the separator | 
 | 7620 |     # otherwise default to the standard path separator (i.e. ":") - it is | 
 | 7621 |     # assumed that no part of a normal pathname contains ";" but that should | 
 | 7622 |     # okay in the real world where ";" in dirpaths is itself problematic. | 
 | 7623 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 7624 |   else | 
 | 7625 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 7626 |   fi | 
 | 7627 | else | 
 | 7628 |   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
 | 7629 | fi | 
 | 7630 | need_lib_prefix=unknown | 
 | 7631 | hardcode_into_libs=no | 
 | 7632 |  | 
 | 7633 | # when you set need_version to no, make sure it does not cause -set_version | 
 | 7634 | # flags to be left without arguments | 
 | 7635 | need_version=unknown | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7636 |  | 
 | 7637 | case $host_os in | 
 | 7638 | aix3*) | 
 | 7639 |   version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7640 |   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7641 |   shlibpath_var=LIBPATH | 
 | 7642 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7643 |   # AIX 3 has no versioning support, so we append a major version to the name. | 
 | 7644 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7645 |   ;; | 
 | 7646 |  | 
 | 7647 | aix4* | aix5*) | 
 | 7648 |   version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7649 |   need_lib_prefix=no | 
 | 7650 |   need_version=no | 
 | 7651 |   hardcode_into_libs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7652 |   if test "$host_cpu" = ia64; then | 
 | 7653 |     # AIX 5 supports IA64 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7654 |     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] | 7655 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 7656 |   else | 
 | 7657 |     # With GCC up to 2.95.x, collect2 would create an import file | 
 | 7658 |     # for dependence libraries.  The import file would start with | 
 | 7659 |     # the line `#! .'.  This would cause the generated library to | 
 | 7660 |     # depend on `.', always an invalid library.  This was fixed in | 
 | 7661 |     # development snapshots of GCC prior to 3.0. | 
 | 7662 |     case $host_os in | 
 | 7663 |       aix4 | aix4.[01] | aix4.[01].*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7664 |       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
 | 7665 | 	   echo ' yes ' | 
 | 7666 | 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
 | 7667 | 	: | 
 | 7668 |       else | 
 | 7669 | 	can_build_shared=no | 
 | 7670 |       fi | 
 | 7671 |       ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7672 |     esac | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7673 |     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
 | 7674 |     # soname into executable. Probably we can add versioning support to | 
 | 7675 |     # collect2, so additional links can be useful in future. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7676 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 7677 |       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
 | 7678 |       # instead of lib<name>.a to let people know that these are not | 
 | 7679 |       # typical AIX shared libraries. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7680 |       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] | 7681 |     else | 
 | 7682 |       # We preserve .a as extension for shared libraries through AIX4.2 | 
 | 7683 |       # and later when we are not doing run time linking. | 
 | 7684 |       library_names_spec='${libname}${release}.a $libname.a' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7685 |       soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7686 |     fi | 
 | 7687 |     shlibpath_var=LIBPATH | 
 | 7688 |   fi | 
 | 7689 |   ;; | 
 | 7690 |  | 
 | 7691 | amigaos*) | 
 | 7692 |   library_names_spec='$libname.ixlibrary $libname.a' | 
 | 7693 |   # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
 | 7694 |   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' | 
 | 7695 |   ;; | 
 | 7696 |  | 
 | 7697 | beos*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7698 |   library_names_spec='${libname}${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7699 |   dynamic_linker="$host_os ld.so" | 
 | 7700 |   shlibpath_var=LIBRARY_PATH | 
 | 7701 |   ;; | 
 | 7702 |  | 
 | 7703 | bsdi4*) | 
 | 7704 |   version_type=linux | 
 | 7705 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7706 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7707 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7708 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
 | 7709 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7710 |   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
 | 7711 |   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7712 |   # the default ld.so.conf also contains /usr/contrib/lib and | 
 | 7713 |   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
 | 7714 |   # libtool to hard-code these into programs | 
 | 7715 |   ;; | 
 | 7716 |  | 
 | 7717 | cygwin* | mingw* | pw32*) | 
 | 7718 |   version_type=windows | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7719 |   shrext=".dll" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7720 |   need_version=no | 
 | 7721 |   need_lib_prefix=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7722 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7723 |   case $GCC,$host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7724 |   yes,cygwin* | yes,mingw* | yes,pw32*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7725 |     library_names_spec='$libname.dll.a' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7726 |     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
 | 7727 |     postinstall_cmds='base_file=`basename \${file}`~ | 
 | 7728 |       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7729 |       dldir=$destdir/`dirname \$dlpath`~ | 
 | 7730 |       test -d \$dldir || mkdir -p \$dldir~ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7731 |       $install_prog $dir/$dlname \$dldir/$dlname' | 
 | 7732 |     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7733 |       dlpath=$dir/\$dldll~ | 
 | 7734 |        $rm \$dlpath' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7735 |     shlibpath_overrides_runpath=yes | 
 | 7736 |  | 
 | 7737 |     case $host_os in | 
 | 7738 |     cygwin*) | 
 | 7739 |       # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
 | 7740 |       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 7741 |       sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
 | 7742 |       ;; | 
 | 7743 |     mingw*) | 
 | 7744 |       # MinGW DLLs use traditional 'lib' prefix | 
 | 7745 |       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 7746 |       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 7747 |       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
 | 7748 |         # It is most probably a Windows format PATH printed by | 
 | 7749 |         # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
 | 7750 |         # path with ; separators, and with drive letters. We can handle the | 
 | 7751 |         # drive letters (cygwin fileutils understands them), so leave them, | 
 | 7752 |         # especially as we might pass files found there to a mingw objdump, | 
 | 7753 |         # which wouldn't understand a cygwinified path. Ahh. | 
 | 7754 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 7755 |       else | 
 | 7756 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 7757 |       fi | 
 | 7758 |       ;; | 
 | 7759 |     pw32*) | 
 | 7760 |       # pw32 DLLs use 'pw' prefix rather than 'lib' | 
 | 7761 |       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
 | 7762 |       ;; | 
 | 7763 |     esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7764 |     ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7765 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7766 |   *) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7767 |     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] | 7768 |     ;; | 
 | 7769 |   esac | 
 | 7770 |   dynamic_linker='Win32 ld.exe' | 
 | 7771 |   # FIXME: first we should search . and the directory the executable is in | 
 | 7772 |   shlibpath_var=PATH | 
 | 7773 |   ;; | 
 | 7774 |  | 
 | 7775 | darwin* | rhapsody*) | 
 | 7776 |   dynamic_linker="$host_os dyld" | 
 | 7777 |   version_type=darwin | 
 | 7778 |   need_lib_prefix=no | 
 | 7779 |   need_version=no | 
 | 7780 |   # FIXME: Relying on posixy $() will cause problems for | 
 | 7781 |   #        cross-compilation, but unfortunately the echo tests do not | 
 | 7782 |   #        yet detect zsh echo's removal of \ escapes. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7783 |   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
 | 7784 |   soname_spec='${libname}${release}${major}$shared_ext' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7785 |   shlibpath_overrides_runpath=yes | 
 | 7786 |   shlibpath_var=DYLD_LIBRARY_PATH | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7787 |   shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
 | 7788 |   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
 | 7789 |   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 7790 |   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"` | 
 | 7791 |   fi | 
 | 7792 |   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
 | 7793 |   ;; | 
 | 7794 |  | 
 | 7795 | dgux*) | 
 | 7796 |   version_type=linux | 
 | 7797 |   need_lib_prefix=no | 
 | 7798 |   need_version=no | 
 | 7799 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
 | 7800 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7801 |   shlibpath_var=LD_LIBRARY_PATH | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7802 |   ;; | 
 | 7803 |  | 
 | 7804 | freebsd1*) | 
 | 7805 |   dynamic_linker=no | 
 | 7806 |   ;; | 
 | 7807 |  | 
 | 7808 | freebsd*) | 
 | 7809 |   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
 | 7810 |   version_type=freebsd-$objformat | 
 | 7811 |   case $version_type in | 
 | 7812 |     freebsd-elf*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7813 |       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] | 7814 |       need_version=no | 
 | 7815 |       need_lib_prefix=no | 
 | 7816 |       ;; | 
 | 7817 |     freebsd-*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7818 |       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7819 |       need_version=yes | 
 | 7820 |       ;; | 
 | 7821 |   esac | 
 | 7822 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7823 |   case $host_os in | 
 | 7824 |   freebsd2*) | 
 | 7825 |     shlibpath_overrides_runpath=yes | 
 | 7826 |     ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7827 |   freebsd3.01* | freebsdelf3.01*) | 
 | 7828 |     shlibpath_overrides_runpath=yes | 
 | 7829 |     hardcode_into_libs=yes | 
 | 7830 |     ;; | 
 | 7831 |   *) # from 3.2 on | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7832 |     shlibpath_overrides_runpath=no | 
 | 7833 |     hardcode_into_libs=yes | 
 | 7834 |     ;; | 
 | 7835 |   esac | 
 | 7836 |   ;; | 
 | 7837 |  | 
 | 7838 | gnu*) | 
 | 7839 |   version_type=linux | 
 | 7840 |   need_lib_prefix=no | 
 | 7841 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7842 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
 | 7843 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7844 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7845 |   hardcode_into_libs=yes | 
 | 7846 |   ;; | 
 | 7847 |  | 
 | 7848 | hpux9* | hpux10* | hpux11*) | 
 | 7849 |   # Give a soname corresponding to the major version so that dld.sl refuses to | 
 | 7850 |   # link against other versions. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7851 |   version_type=sunos | 
 | 7852 |   need_lib_prefix=no | 
 | 7853 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7854 |   case "$host_cpu" in | 
 | 7855 |   ia64*) | 
 | 7856 |     shrext='.so' | 
 | 7857 |     hardcode_into_libs=yes | 
 | 7858 |     dynamic_linker="$host_os dld.so" | 
 | 7859 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 7860 |     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 7861 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7862 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7863 |     if test "X$HPUX_IA64_MODE" = X32; then | 
 | 7864 |       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
 | 7865 |     else | 
 | 7866 |       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
 | 7867 |     fi | 
 | 7868 |     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 7869 |     ;; | 
 | 7870 |    hppa*64*) | 
 | 7871 |      shrext='.sl' | 
 | 7872 |      hardcode_into_libs=yes | 
 | 7873 |      dynamic_linker="$host_os dld.sl" | 
 | 7874 |      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
 | 7875 |      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 7876 |      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7877 |      soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7878 |      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
 | 7879 |      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 7880 |      ;; | 
 | 7881 |    *) | 
 | 7882 |     shrext='.sl' | 
 | 7883 |     dynamic_linker="$host_os dld.sl" | 
 | 7884 |     shlibpath_var=SHLIB_PATH | 
 | 7885 |     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
 | 7886 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7887 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7888 |     ;; | 
 | 7889 |   esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7890 |   # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
 | 7891 |   postinstall_cmds='chmod 555 $lib' | 
 | 7892 |   ;; | 
 | 7893 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7894 | irix5* | irix6* | nonstopux*) | 
 | 7895 |   case $host_os in | 
 | 7896 |     nonstopux*) version_type=nonstopux ;; | 
 | 7897 |     *) | 
 | 7898 | 	if test "$lt_cv_prog_gnu_ld" = yes; then | 
 | 7899 | 		version_type=linux | 
 | 7900 | 	else | 
 | 7901 | 		version_type=irix | 
 | 7902 | 	fi ;; | 
 | 7903 |   esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7904 |   need_lib_prefix=no | 
 | 7905 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7906 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 7907 |   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] | 7908 |   case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7909 |   irix5* | nonstopux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7910 |     libsuff= shlibsuff= | 
 | 7911 |     ;; | 
 | 7912 |   *) | 
 | 7913 |     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] | 7914 |     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
 | 7915 |       libsuff= shlibsuff= libmagic=32-bit;; | 
 | 7916 |     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
 | 7917 |       libsuff=32 shlibsuff=N32 libmagic=N32;; | 
 | 7918 |     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
 | 7919 |       libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7920 |     *) libsuff= shlibsuff= libmagic=never-match;; | 
 | 7921 |     esac | 
 | 7922 |     ;; | 
 | 7923 |   esac | 
 | 7924 |   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
 | 7925 |   shlibpath_overrides_runpath=no | 
 | 7926 |   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
 | 7927 |   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7928 |   hardcode_into_libs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7929 |   ;; | 
 | 7930 |  | 
 | 7931 | # No shared lib support for Linux oldld, aout, or coff. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7932 | linux*oldld* | linux*aout* | linux*coff*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7933 |   dynamic_linker=no | 
 | 7934 |   ;; | 
 | 7935 |  | 
 | 7936 | # This must be Linux ELF. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7937 | linux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7938 |   version_type=linux | 
 | 7939 |   need_lib_prefix=no | 
 | 7940 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7941 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7942 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7943 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
 | 7944 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7945 |   shlibpath_overrides_runpath=no | 
 | 7946 |   # This implies no fast_install, which is unacceptable. | 
 | 7947 |   # Some rework will be needed to allow for fast_install | 
 | 7948 |   # before this can be enabled. | 
 | 7949 |   hardcode_into_libs=yes | 
 | 7950 |  | 
 | 7951 |   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
 | 7952 |   # powerpc, because MkLinux only supported shared libraries with the | 
 | 7953 |   # GNU dynamic linker.  Since this was broken with cross compilers, | 
 | 7954 |   # most powerpc-linux boxes support dynamic linking these days and | 
 | 7955 |   # people can always --disable-shared, the test was removed, and we | 
 | 7956 |   # assume the GNU/Linux dynamic linker is in use. | 
 | 7957 |   dynamic_linker='GNU/Linux ld.so' | 
 | 7958 |   ;; | 
 | 7959 |  | 
 | 7960 | netbsd*) | 
 | 7961 |   version_type=sunos | 
 | 7962 |   need_lib_prefix=no | 
 | 7963 |   need_version=no | 
 | 7964 |   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7965 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7966 |     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 7967 |     dynamic_linker='NetBSD (a.out) ld.so' | 
 | 7968 |   else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7969 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
 | 7970 |     soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7971 |     dynamic_linker='NetBSD ld.elf_so' | 
 | 7972 |   fi | 
 | 7973 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7974 |   shlibpath_overrides_runpath=yes | 
 | 7975 |   hardcode_into_libs=yes | 
 | 7976 |   ;; | 
 | 7977 |  | 
 | 7978 | newsos6) | 
 | 7979 |   version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7980 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7981 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7982 |   shlibpath_overrides_runpath=yes | 
 | 7983 |   ;; | 
 | 7984 |  | 
 | 7985 | nto-qnx) | 
 | 7986 |   version_type=linux | 
 | 7987 |   need_lib_prefix=no | 
 | 7988 |   need_version=no | 
 | 7989 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 7990 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7991 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 7992 |   shlibpath_overrides_runpath=yes | 
 | 7993 |   ;; | 
 | 7994 |  | 
 | 7995 | openbsd*) | 
 | 7996 |   version_type=sunos | 
 | 7997 |   need_lib_prefix=no | 
 | 7998 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7999 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 8000 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 8001 |   shlibpath_var=LD_LIBRARY_PATH | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8002 |   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] | 8003 |     case $host_os in | 
 | 8004 |       openbsd2.[89] | openbsd2.[89].*) | 
 | 8005 | 	shlibpath_overrides_runpath=no | 
 | 8006 | 	;; | 
 | 8007 |       *) | 
 | 8008 | 	shlibpath_overrides_runpath=yes | 
 | 8009 | 	;; | 
 | 8010 |       esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8011 |   else | 
 | 8012 |     shlibpath_overrides_runpath=yes | 
 | 8013 |   fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8014 |   ;; | 
 | 8015 |  | 
 | 8016 | os2*) | 
 | 8017 |   libname_spec='$name' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8018 |   shrext=".dll" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8019 |   need_lib_prefix=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8020 |   library_names_spec='$libname${shared_ext} $libname.a' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8021 |   dynamic_linker='OS/2 ld.exe' | 
 | 8022 |   shlibpath_var=LIBPATH | 
 | 8023 |   ;; | 
 | 8024 |  | 
 | 8025 | osf3* | osf4* | osf5*) | 
 | 8026 |   version_type=osf | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8027 |   need_lib_prefix=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8028 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8029 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 8030 |   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] | 8031 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 8032 |   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
 | 8033 |   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
 | 8034 |   ;; | 
 | 8035 |  | 
 | 8036 | sco3.2v5*) | 
 | 8037 |   version_type=osf | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8038 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 8039 |   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] | 8040 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 8041 |   ;; | 
 | 8042 |  | 
 | 8043 | solaris*) | 
 | 8044 |   version_type=linux | 
 | 8045 |   need_lib_prefix=no | 
 | 8046 |   need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8047 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 8048 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8049 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 8050 |   shlibpath_overrides_runpath=yes | 
 | 8051 |   hardcode_into_libs=yes | 
 | 8052 |   # ldd complains unless libraries are executable | 
 | 8053 |   postinstall_cmds='chmod +x $lib' | 
 | 8054 |   ;; | 
 | 8055 |  | 
 | 8056 | sunos4*) | 
 | 8057 |   version_type=sunos | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8058 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8059 |   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
 | 8060 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 8061 |   shlibpath_overrides_runpath=yes | 
 | 8062 |   if test "$with_gnu_ld" = yes; then | 
 | 8063 |     need_lib_prefix=no | 
 | 8064 |   fi | 
 | 8065 |   need_version=yes | 
 | 8066 |   ;; | 
 | 8067 |  | 
 | 8068 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 8069 |   version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8070 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 8071 |   soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8072 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 8073 |   case $host_vendor in | 
 | 8074 |     sni) | 
 | 8075 |       shlibpath_overrides_runpath=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8076 |       need_lib_prefix=no | 
 | 8077 |       export_dynamic_flag_spec='${wl}-Blargedynsym' | 
 | 8078 |       runpath_var=LD_RUN_PATH | 
 | 8079 |       ;; | 
 | 8080 |     siemens) | 
 | 8081 |       need_lib_prefix=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8082 |       ;; | 
 | 8083 |     motorola) | 
 | 8084 |       need_lib_prefix=no | 
 | 8085 |       need_version=no | 
 | 8086 |       shlibpath_overrides_runpath=no | 
 | 8087 |       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
 | 8088 |       ;; | 
 | 8089 |   esac | 
 | 8090 |   ;; | 
 | 8091 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8092 | sysv4*MP*) | 
 | 8093 |   if test -d /usr/nec ;then | 
 | 8094 |     version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8095 |     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
 | 8096 |     soname_spec='$libname${shared_ext}.$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8097 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 8098 |   fi | 
 | 8099 |   ;; | 
 | 8100 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8101 | uts4*) | 
 | 8102 |   version_type=linux | 
 | 8103 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 8104 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 8105 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 8106 |   ;; | 
 | 8107 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8108 | *) | 
 | 8109 |   dynamic_linker=no | 
 | 8110 |   ;; | 
 | 8111 | esac | 
 | 8112 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
 | 8113 | echo "${ECHO_T}$dynamic_linker" >&6 | 
 | 8114 | test "$dynamic_linker" = no && can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8115 |  | 
 | 8116 | if test "x$enable_dlopen" != xyes; then | 
 | 8117 |   enable_dlopen=unknown | 
 | 8118 |   enable_dlopen_self=unknown | 
 | 8119 |   enable_dlopen_self_static=unknown | 
 | 8120 | else | 
 | 8121 |   lt_cv_dlopen=no | 
 | 8122 |   lt_cv_dlopen_libs= | 
 | 8123 |  | 
 | 8124 |   case $host_os in | 
 | 8125 |   beos*) | 
 | 8126 |     lt_cv_dlopen="load_add_on" | 
 | 8127 |     lt_cv_dlopen_libs= | 
 | 8128 |     lt_cv_dlopen_self=yes | 
 | 8129 |     ;; | 
 | 8130 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8131 |   mingw* | pw32*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8132 |     lt_cv_dlopen="LoadLibrary" | 
 | 8133 |     lt_cv_dlopen_libs= | 
 | 8134 |    ;; | 
 | 8135 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8136 |   cygwin*) | 
 | 8137 |     lt_cv_dlopen="dlopen" | 
 | 8138 |     lt_cv_dlopen_libs= | 
 | 8139 |    ;; | 
 | 8140 |  | 
 | 8141 |   darwin*) | 
 | 8142 |   # if libdl is installed we need to link against it | 
 | 8143 |     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 8144 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 8145 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 8146 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8147 | else | 
 | 8148 |   ac_check_lib_save_LIBS=$LIBS | 
 | 8149 | LIBS="-ldl  $LIBS" | 
 | 8150 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8151 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8152 | /* confdefs.h.  */ | 
 | 8153 | _ACEOF | 
 | 8154 | cat confdefs.h >>conftest.$ac_ext | 
 | 8155 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 8156 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8157 |  | 
 | 8158 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8159 | #ifdef __cplusplus | 
 | 8160 | extern "C" | 
 | 8161 | #endif | 
 | 8162 | /* We use char because int might match the return type of a gcc2 | 
 | 8163 |    builtin and then its argument prototype would still apply.  */ | 
 | 8164 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8165 | int | 
 | 8166 | main () | 
 | 8167 | { | 
 | 8168 | dlopen (); | 
 | 8169 |   ; | 
 | 8170 |   return 0; | 
 | 8171 | } | 
 | 8172 | _ACEOF | 
 | 8173 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8174 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8175 |   (eval $ac_link) 2>&5 | 
 | 8176 |   ac_status=$? | 
 | 8177 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8178 |   (exit $ac_status); } && | 
 | 8179 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8180 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8181 |   (eval $ac_try) 2>&5 | 
 | 8182 |   ac_status=$? | 
 | 8183 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8184 |   (exit $ac_status); }; }; then | 
 | 8185 |   ac_cv_lib_dl_dlopen=yes | 
 | 8186 | else | 
 | 8187 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8188 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 8189 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8190 | ac_cv_lib_dl_dlopen=no | 
 | 8191 | fi | 
 | 8192 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8193 | LIBS=$ac_check_lib_save_LIBS | 
 | 8194 | fi | 
 | 8195 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 8196 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 8197 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 8198 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 8199 | else | 
 | 8200 |  | 
 | 8201 |     lt_cv_dlopen="dyld" | 
 | 8202 |     lt_cv_dlopen_libs= | 
 | 8203 |     lt_cv_dlopen_self=yes | 
 | 8204 |  | 
 | 8205 | fi | 
 | 8206 |  | 
 | 8207 |    ;; | 
 | 8208 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8209 |   *) | 
 | 8210 |     echo "$as_me:$LINENO: checking for shl_load" >&5 | 
 | 8211 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
 | 8212 | if test "${ac_cv_func_shl_load+set}" = set; then | 
 | 8213 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8214 | else | 
 | 8215 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8216 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8217 | /* confdefs.h.  */ | 
 | 8218 | _ACEOF | 
 | 8219 | cat confdefs.h >>conftest.$ac_ext | 
 | 8220 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 8221 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8222 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8223 |     which can conflict with char shl_load (); below. | 
 | 8224 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 8225 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 8226 | #ifdef __STDC__ | 
 | 8227 | # include <limits.h> | 
 | 8228 | #else | 
 | 8229 | # include <assert.h> | 
 | 8230 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8231 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8232 | #ifdef __cplusplus | 
 | 8233 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8234 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8235 | #endif | 
 | 8236 | /* We use char because int might match the return type of a gcc2 | 
 | 8237 |    builtin and then its argument prototype would still apply.  */ | 
 | 8238 | char shl_load (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8239 | /* The GNU C library defines this for functions which it implements | 
 | 8240 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 8241 |     something starting with __ and the normal name is an alias.  */ | 
 | 8242 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
 | 8243 | choke me | 
 | 8244 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8245 | char (*f) () = shl_load; | 
 | 8246 | #endif | 
 | 8247 | #ifdef __cplusplus | 
 | 8248 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8249 | #endif | 
 | 8250 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8251 | int | 
 | 8252 | main () | 
 | 8253 | { | 
 | 8254 | return f != shl_load; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8255 |   ; | 
 | 8256 |   return 0; | 
 | 8257 | } | 
 | 8258 | _ACEOF | 
 | 8259 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8260 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8261 |   (eval $ac_link) 2>&5 | 
 | 8262 |   ac_status=$? | 
 | 8263 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8264 |   (exit $ac_status); } && | 
 | 8265 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8266 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8267 |   (eval $ac_try) 2>&5 | 
 | 8268 |   ac_status=$? | 
 | 8269 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8270 |   (exit $ac_status); }; }; then | 
 | 8271 |   ac_cv_func_shl_load=yes | 
 | 8272 | else | 
 | 8273 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8274 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 8275 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8276 | ac_cv_func_shl_load=no | 
 | 8277 | fi | 
 | 8278 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8279 | fi | 
 | 8280 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 
 | 8281 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
 | 8282 | if test $ac_cv_func_shl_load = yes; then | 
 | 8283 |   lt_cv_dlopen="shl_load" | 
 | 8284 | else | 
 | 8285 |   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 
 | 8286 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
 | 8287 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
 | 8288 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8289 | else | 
 | 8290 |   ac_check_lib_save_LIBS=$LIBS | 
 | 8291 | LIBS="-ldld  $LIBS" | 
 | 8292 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8293 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8294 | /* confdefs.h.  */ | 
 | 8295 | _ACEOF | 
 | 8296 | cat confdefs.h >>conftest.$ac_ext | 
 | 8297 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 8298 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8299 |  | 
 | 8300 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8301 | #ifdef __cplusplus | 
 | 8302 | extern "C" | 
 | 8303 | #endif | 
 | 8304 | /* We use char because int might match the return type of a gcc2 | 
 | 8305 |    builtin and then its argument prototype would still apply.  */ | 
 | 8306 | char shl_load (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8307 | int | 
 | 8308 | main () | 
 | 8309 | { | 
 | 8310 | shl_load (); | 
 | 8311 |   ; | 
 | 8312 |   return 0; | 
 | 8313 | } | 
 | 8314 | _ACEOF | 
 | 8315 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8316 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8317 |   (eval $ac_link) 2>&5 | 
 | 8318 |   ac_status=$? | 
 | 8319 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8320 |   (exit $ac_status); } && | 
 | 8321 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8322 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8323 |   (eval $ac_try) 2>&5 | 
 | 8324 |   ac_status=$? | 
 | 8325 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8326 |   (exit $ac_status); }; }; then | 
 | 8327 |   ac_cv_lib_dld_shl_load=yes | 
 | 8328 | else | 
 | 8329 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8330 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 8331 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8332 | ac_cv_lib_dld_shl_load=no | 
 | 8333 | fi | 
 | 8334 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8335 | LIBS=$ac_check_lib_save_LIBS | 
 | 8336 | fi | 
 | 8337 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 
 | 8338 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
 | 8339 | if test $ac_cv_lib_dld_shl_load = yes; then | 
 | 8340 |   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 
 | 8341 | else | 
 | 8342 |   echo "$as_me:$LINENO: checking for dlopen" >&5 | 
 | 8343 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
 | 8344 | if test "${ac_cv_func_dlopen+set}" = set; then | 
 | 8345 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8346 | else | 
 | 8347 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8348 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8349 | /* confdefs.h.  */ | 
 | 8350 | _ACEOF | 
 | 8351 | cat confdefs.h >>conftest.$ac_ext | 
 | 8352 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 8353 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8354 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8355 |     which can conflict with char dlopen (); below. | 
 | 8356 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 8357 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 8358 | #ifdef __STDC__ | 
 | 8359 | # include <limits.h> | 
 | 8360 | #else | 
 | 8361 | # include <assert.h> | 
 | 8362 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8363 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8364 | #ifdef __cplusplus | 
 | 8365 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8366 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8367 | #endif | 
 | 8368 | /* We use char because int might match the return type of a gcc2 | 
 | 8369 |    builtin and then its argument prototype would still apply.  */ | 
 | 8370 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8371 | /* The GNU C library defines this for functions which it implements | 
 | 8372 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 8373 |     something starting with __ and the normal name is an alias.  */ | 
 | 8374 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
 | 8375 | choke me | 
 | 8376 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8377 | char (*f) () = dlopen; | 
 | 8378 | #endif | 
 | 8379 | #ifdef __cplusplus | 
 | 8380 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8381 | #endif | 
 | 8382 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8383 | int | 
 | 8384 | main () | 
 | 8385 | { | 
 | 8386 | return f != dlopen; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8387 |   ; | 
 | 8388 |   return 0; | 
 | 8389 | } | 
 | 8390 | _ACEOF | 
 | 8391 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8392 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8393 |   (eval $ac_link) 2>&5 | 
 | 8394 |   ac_status=$? | 
 | 8395 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8396 |   (exit $ac_status); } && | 
 | 8397 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8398 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8399 |   (eval $ac_try) 2>&5 | 
 | 8400 |   ac_status=$? | 
 | 8401 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8402 |   (exit $ac_status); }; }; then | 
 | 8403 |   ac_cv_func_dlopen=yes | 
 | 8404 | else | 
 | 8405 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8406 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 8407 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8408 | ac_cv_func_dlopen=no | 
 | 8409 | fi | 
 | 8410 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8411 | fi | 
 | 8412 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 
 | 8413 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
 | 8414 | if test $ac_cv_func_dlopen = yes; then | 
 | 8415 |   lt_cv_dlopen="dlopen" | 
 | 8416 | else | 
 | 8417 |   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 8418 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 8419 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 8420 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8421 | else | 
 | 8422 |   ac_check_lib_save_LIBS=$LIBS | 
 | 8423 | LIBS="-ldl  $LIBS" | 
 | 8424 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8425 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8426 | /* confdefs.h.  */ | 
 | 8427 | _ACEOF | 
 | 8428 | cat confdefs.h >>conftest.$ac_ext | 
 | 8429 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 8430 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8431 |  | 
 | 8432 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8433 | #ifdef __cplusplus | 
 | 8434 | extern "C" | 
 | 8435 | #endif | 
 | 8436 | /* We use char because int might match the return type of a gcc2 | 
 | 8437 |    builtin and then its argument prototype would still apply.  */ | 
 | 8438 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8439 | int | 
 | 8440 | main () | 
 | 8441 | { | 
 | 8442 | dlopen (); | 
 | 8443 |   ; | 
 | 8444 |   return 0; | 
 | 8445 | } | 
 | 8446 | _ACEOF | 
 | 8447 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8448 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8449 |   (eval $ac_link) 2>&5 | 
 | 8450 |   ac_status=$? | 
 | 8451 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8452 |   (exit $ac_status); } && | 
 | 8453 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8454 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8455 |   (eval $ac_try) 2>&5 | 
 | 8456 |   ac_status=$? | 
 | 8457 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8458 |   (exit $ac_status); }; }; then | 
 | 8459 |   ac_cv_lib_dl_dlopen=yes | 
 | 8460 | else | 
 | 8461 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8462 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 8463 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8464 | ac_cv_lib_dl_dlopen=no | 
 | 8465 | fi | 
 | 8466 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8467 | LIBS=$ac_check_lib_save_LIBS | 
 | 8468 | fi | 
 | 8469 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 8470 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 8471 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 8472 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 8473 | else | 
 | 8474 |   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 
 | 8475 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
 | 8476 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
 | 8477 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8478 | else | 
 | 8479 |   ac_check_lib_save_LIBS=$LIBS | 
 | 8480 | LIBS="-lsvld  $LIBS" | 
 | 8481 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8482 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8483 | /* confdefs.h.  */ | 
 | 8484 | _ACEOF | 
 | 8485 | cat confdefs.h >>conftest.$ac_ext | 
 | 8486 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 8487 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8488 |  | 
 | 8489 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8490 | #ifdef __cplusplus | 
 | 8491 | extern "C" | 
 | 8492 | #endif | 
 | 8493 | /* We use char because int might match the return type of a gcc2 | 
 | 8494 |    builtin and then its argument prototype would still apply.  */ | 
 | 8495 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8496 | int | 
 | 8497 | main () | 
 | 8498 | { | 
 | 8499 | dlopen (); | 
 | 8500 |   ; | 
 | 8501 |   return 0; | 
 | 8502 | } | 
 | 8503 | _ACEOF | 
 | 8504 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8505 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8506 |   (eval $ac_link) 2>&5 | 
 | 8507 |   ac_status=$? | 
 | 8508 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8509 |   (exit $ac_status); } && | 
 | 8510 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8511 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8512 |   (eval $ac_try) 2>&5 | 
 | 8513 |   ac_status=$? | 
 | 8514 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8515 |   (exit $ac_status); }; }; then | 
 | 8516 |   ac_cv_lib_svld_dlopen=yes | 
 | 8517 | else | 
 | 8518 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8519 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 8520 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8521 | ac_cv_lib_svld_dlopen=no | 
 | 8522 | fi | 
 | 8523 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8524 | LIBS=$ac_check_lib_save_LIBS | 
 | 8525 | fi | 
 | 8526 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 
 | 8527 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
 | 8528 | if test $ac_cv_lib_svld_dlopen = yes; then | 
 | 8529 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
 | 8530 | else | 
 | 8531 |   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 
 | 8532 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 
 | 8533 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 
 | 8534 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8535 | else | 
 | 8536 |   ac_check_lib_save_LIBS=$LIBS | 
 | 8537 | LIBS="-ldld  $LIBS" | 
 | 8538 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8539 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8540 | /* confdefs.h.  */ | 
 | 8541 | _ACEOF | 
 | 8542 | cat confdefs.h >>conftest.$ac_ext | 
 | 8543 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 8544 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8545 |  | 
 | 8546 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8547 | #ifdef __cplusplus | 
 | 8548 | extern "C" | 
 | 8549 | #endif | 
 | 8550 | /* We use char because int might match the return type of a gcc2 | 
 | 8551 |    builtin and then its argument prototype would still apply.  */ | 
 | 8552 | char dld_link (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8553 | int | 
 | 8554 | main () | 
 | 8555 | { | 
 | 8556 | dld_link (); | 
 | 8557 |   ; | 
 | 8558 |   return 0; | 
 | 8559 | } | 
 | 8560 | _ACEOF | 
 | 8561 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8562 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8563 |   (eval $ac_link) 2>&5 | 
 | 8564 |   ac_status=$? | 
 | 8565 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8566 |   (exit $ac_status); } && | 
 | 8567 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8568 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8569 |   (eval $ac_try) 2>&5 | 
 | 8570 |   ac_status=$? | 
 | 8571 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8572 |   (exit $ac_status); }; }; then | 
 | 8573 |   ac_cv_lib_dld_dld_link=yes | 
 | 8574 | else | 
 | 8575 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8576 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 8577 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8578 | ac_cv_lib_dld_dld_link=no | 
 | 8579 | fi | 
 | 8580 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8581 | LIBS=$ac_check_lib_save_LIBS | 
 | 8582 | fi | 
 | 8583 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 
 | 8584 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 
 | 8585 | if test $ac_cv_lib_dld_dld_link = yes; then | 
 | 8586 |   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
 | 8587 | fi | 
 | 8588 |  | 
 | 8589 |  | 
 | 8590 | fi | 
 | 8591 |  | 
 | 8592 |  | 
 | 8593 | fi | 
 | 8594 |  | 
 | 8595 |  | 
 | 8596 | fi | 
 | 8597 |  | 
 | 8598 |  | 
 | 8599 | fi | 
 | 8600 |  | 
 | 8601 |  | 
 | 8602 | fi | 
 | 8603 |  | 
 | 8604 |     ;; | 
 | 8605 |   esac | 
 | 8606 |  | 
 | 8607 |   if test "x$lt_cv_dlopen" != xno; then | 
 | 8608 |     enable_dlopen=yes | 
 | 8609 |   else | 
 | 8610 |     enable_dlopen=no | 
 | 8611 |   fi | 
 | 8612 |  | 
 | 8613 |   case $lt_cv_dlopen in | 
 | 8614 |   dlopen) | 
 | 8615 |     save_CPPFLAGS="$CPPFLAGS" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8616 |     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] | 8617 |  | 
 | 8618 |     save_LDFLAGS="$LDFLAGS" | 
 | 8619 |     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
 | 8620 |  | 
 | 8621 |     save_LIBS="$LIBS" | 
 | 8622 |     LIBS="$lt_cv_dlopen_libs $LIBS" | 
 | 8623 |  | 
 | 8624 |     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 
 | 8625 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
 | 8626 | if test "${lt_cv_dlopen_self+set}" = set; then | 
 | 8627 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8628 | else | 
 | 8629 |   	  if test "$cross_compiling" = yes; then : | 
 | 8630 |   lt_cv_dlopen_self=cross | 
 | 8631 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8632 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8633 |   lt_status=$lt_dlunknown | 
 | 8634 |   cat > conftest.$ac_ext <<EOF | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 8635 | #line 8635 "configure" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8636 | #include "confdefs.h" | 
 | 8637 |  | 
 | 8638 | #if HAVE_DLFCN_H | 
 | 8639 | #include <dlfcn.h> | 
 | 8640 | #endif | 
 | 8641 |  | 
 | 8642 | #include <stdio.h> | 
 | 8643 |  | 
 | 8644 | #ifdef RTLD_GLOBAL | 
 | 8645 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 8646 | #else | 
 | 8647 | #  ifdef DL_GLOBAL | 
 | 8648 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 8649 | #  else | 
 | 8650 | #    define LT_DLGLOBAL		0 | 
 | 8651 | #  endif | 
 | 8652 | #endif | 
 | 8653 |  | 
 | 8654 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 8655 |    find out it does not work in some platform. */ | 
 | 8656 | #ifndef LT_DLLAZY_OR_NOW | 
 | 8657 | #  ifdef RTLD_LAZY | 
 | 8658 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 8659 | #  else | 
 | 8660 | #    ifdef DL_LAZY | 
 | 8661 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 8662 | #    else | 
 | 8663 | #      ifdef RTLD_NOW | 
 | 8664 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 8665 | #      else | 
 | 8666 | #        ifdef DL_NOW | 
 | 8667 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 8668 | #        else | 
 | 8669 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 8670 | #        endif | 
 | 8671 | #      endif | 
 | 8672 | #    endif | 
 | 8673 | #  endif | 
 | 8674 | #endif | 
 | 8675 |  | 
 | 8676 | #ifdef __cplusplus | 
 | 8677 | extern "C" void exit (int); | 
 | 8678 | #endif | 
 | 8679 |  | 
 | 8680 | void fnord() { int i=42;} | 
 | 8681 | int main () | 
 | 8682 | { | 
 | 8683 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 8684 |   int status = $lt_dlunknown; | 
 | 8685 |  | 
 | 8686 |   if (self) | 
 | 8687 |     { | 
 | 8688 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 8689 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 8690 |       /* dlclose (self); */ | 
 | 8691 |     } | 
 | 8692 |  | 
 | 8693 |     exit (status); | 
 | 8694 | } | 
 | 8695 | EOF | 
 | 8696 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8697 |   (eval $ac_link) 2>&5 | 
 | 8698 |   ac_status=$? | 
 | 8699 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8700 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 8701 |     (./conftest; exit; ) 2>/dev/null | 
 | 8702 |     lt_status=$? | 
 | 8703 |     case x$lt_status in | 
 | 8704 |       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
 | 8705 |       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
 | 8706 |       x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
 | 8707 |     esac | 
 | 8708 |   else : | 
 | 8709 |     # compilation failed | 
 | 8710 |     lt_cv_dlopen_self=no | 
 | 8711 |   fi | 
 | 8712 | fi | 
 | 8713 | rm -fr conftest* | 
 | 8714 |  | 
 | 8715 |  | 
 | 8716 | fi | 
 | 8717 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 
 | 8718 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
 | 8719 |  | 
 | 8720 |     if test "x$lt_cv_dlopen_self" = xyes; then | 
 | 8721 |       LDFLAGS="$LDFLAGS $link_static_flag" | 
 | 8722 |       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 
 | 8723 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
 | 8724 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
 | 8725 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8726 | else | 
 | 8727 |   	  if test "$cross_compiling" = yes; then : | 
 | 8728 |   lt_cv_dlopen_self_static=cross | 
 | 8729 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8730 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8731 |   lt_status=$lt_dlunknown | 
 | 8732 |   cat > conftest.$ac_ext <<EOF | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 8733 | #line 8733 "configure" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8734 | #include "confdefs.h" | 
 | 8735 |  | 
 | 8736 | #if HAVE_DLFCN_H | 
 | 8737 | #include <dlfcn.h> | 
 | 8738 | #endif | 
 | 8739 |  | 
 | 8740 | #include <stdio.h> | 
 | 8741 |  | 
 | 8742 | #ifdef RTLD_GLOBAL | 
 | 8743 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 8744 | #else | 
 | 8745 | #  ifdef DL_GLOBAL | 
 | 8746 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 8747 | #  else | 
 | 8748 | #    define LT_DLGLOBAL		0 | 
 | 8749 | #  endif | 
 | 8750 | #endif | 
 | 8751 |  | 
 | 8752 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 8753 |    find out it does not work in some platform. */ | 
 | 8754 | #ifndef LT_DLLAZY_OR_NOW | 
 | 8755 | #  ifdef RTLD_LAZY | 
 | 8756 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 8757 | #  else | 
 | 8758 | #    ifdef DL_LAZY | 
 | 8759 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 8760 | #    else | 
 | 8761 | #      ifdef RTLD_NOW | 
 | 8762 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 8763 | #      else | 
 | 8764 | #        ifdef DL_NOW | 
 | 8765 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 8766 | #        else | 
 | 8767 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 8768 | #        endif | 
 | 8769 | #      endif | 
 | 8770 | #    endif | 
 | 8771 | #  endif | 
 | 8772 | #endif | 
 | 8773 |  | 
 | 8774 | #ifdef __cplusplus | 
 | 8775 | extern "C" void exit (int); | 
 | 8776 | #endif | 
 | 8777 |  | 
 | 8778 | void fnord() { int i=42;} | 
 | 8779 | int main () | 
 | 8780 | { | 
 | 8781 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 8782 |   int status = $lt_dlunknown; | 
 | 8783 |  | 
 | 8784 |   if (self) | 
 | 8785 |     { | 
 | 8786 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 8787 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 8788 |       /* dlclose (self); */ | 
 | 8789 |     } | 
 | 8790 |  | 
 | 8791 |     exit (status); | 
 | 8792 | } | 
 | 8793 | EOF | 
 | 8794 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8795 |   (eval $ac_link) 2>&5 | 
 | 8796 |   ac_status=$? | 
 | 8797 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8798 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 8799 |     (./conftest; exit; ) 2>/dev/null | 
 | 8800 |     lt_status=$? | 
 | 8801 |     case x$lt_status in | 
 | 8802 |       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 8803 |       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 8804 |       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
 | 8805 |     esac | 
 | 8806 |   else : | 
 | 8807 |     # compilation failed | 
 | 8808 |     lt_cv_dlopen_self_static=no | 
 | 8809 |   fi | 
 | 8810 | fi | 
 | 8811 | rm -fr conftest* | 
 | 8812 |  | 
 | 8813 |  | 
 | 8814 | fi | 
 | 8815 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 
 | 8816 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
 | 8817 |     fi | 
 | 8818 |  | 
 | 8819 |     CPPFLAGS="$save_CPPFLAGS" | 
 | 8820 |     LDFLAGS="$save_LDFLAGS" | 
 | 8821 |     LIBS="$save_LIBS" | 
 | 8822 |     ;; | 
 | 8823 |   esac | 
 | 8824 |  | 
 | 8825 |   case $lt_cv_dlopen_self in | 
 | 8826 |   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
 | 8827 |   *) enable_dlopen_self=unknown ;; | 
 | 8828 |   esac | 
 | 8829 |  | 
 | 8830 |   case $lt_cv_dlopen_self_static in | 
 | 8831 |   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
 | 8832 |   *) enable_dlopen_self_static=unknown ;; | 
 | 8833 |   esac | 
 | 8834 | fi | 
 | 8835 |  | 
 | 8836 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8837 | # Report which librarie types wil actually be built | 
 | 8838 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 | 
 | 8839 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | 
 | 8840 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 | 
 | 8841 | echo "${ECHO_T}$can_build_shared" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8842 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8843 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 | 
 | 8844 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 | 
 | 8845 | test "$can_build_shared" = "no" && enable_shared=no | 
 | 8846 |  | 
 | 8847 | # On AIX, shared libraries and static libraries use the same namespace, and | 
 | 8848 | # are all built from PIC. | 
 | 8849 | case "$host_os" in | 
 | 8850 | aix3*) | 
 | 8851 |   test "$enable_shared" = yes && enable_static=no | 
 | 8852 |   if test -n "$RANLIB"; then | 
 | 8853 |     archive_cmds="$archive_cmds~\$RANLIB \$lib" | 
 | 8854 |     postinstall_cmds='$RANLIB $lib' | 
 | 8855 |   fi | 
 | 8856 |   ;; | 
 | 8857 |  | 
 | 8858 | aix4*) | 
 | 8859 |   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | 
 | 8860 |     test "$enable_shared" = yes && enable_static=no | 
 | 8861 |   fi | 
 | 8862 |   ;; | 
 | 8863 |   darwin* | rhapsody*) | 
 | 8864 |   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 8865 |     archive_cmds_need_lc=no | 
 | 8866 |     case "$host_os" in | 
 | 8867 |     rhapsody* | darwin1.[012]) | 
 | 8868 |       allow_undefined_flag='-undefined suppress' | 
 | 8869 |       ;; | 
 | 8870 |     *) # Darwin 1.3 on | 
 | 8871 |       test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' | 
 | 8872 |       ;; | 
 | 8873 |     esac | 
 | 8874 |     # FIXME: Relying on posixy $() will cause problems for | 
 | 8875 |     #        cross-compilation, but unfortunately the echo tests do not | 
 | 8876 |     #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
 | 8877 |     #	       `"' quotes if we put them in here... so don't! | 
 | 8878 | 		output_verbose_link_cmd='echo' | 
 | 8879 |     archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' | 
 | 8880 |     module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
 | 8881 |     # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
 | 8882 | 		  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}' | 
 | 8883 | 		  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}' | 
 | 8884 |     hardcode_direct=no | 
 | 8885 |     hardcode_automatic=yes | 
 | 8886 |     hardcode_shlibpath_var=unsupported | 
 | 8887 |     whole_archive_flag_spec='-all_load $convenience' | 
 | 8888 |     link_all_deplibs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8889 |     fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8890 |     ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8891 | esac | 
 | 8892 | echo "$as_me:$LINENO: result: $enable_shared" >&5 | 
 | 8893 | echo "${ECHO_T}$enable_shared" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8894 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8895 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 | 
 | 8896 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 | 
 | 8897 | # Make sure either enable_shared or enable_static is yes. | 
 | 8898 | test "$enable_shared" = yes || enable_static=yes | 
 | 8899 | echo "$as_me:$LINENO: result: $enable_static" >&5 | 
 | 8900 | echo "${ECHO_T}$enable_static" >&6 | 
 | 8901 |  | 
 | 8902 | # The else clause should only fire when bootstrapping the | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8903 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 8904 | # with your package, and you will get complaints that there are | 
 | 8905 | # no rules to generate ltmain.sh. | 
 | 8906 | if test -f "$ltmain"; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8907 |   # See if we are running on zsh, and set the options which allow our commands through | 
 | 8908 |   # without removal of \ escapes. | 
 | 8909 |   if test -n "${ZSH_VERSION+set}" ; then | 
 | 8910 |     setopt NO_GLOB_SUBST | 
 | 8911 |   fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8912 |   # Now quote all the things that may contain metacharacters while being | 
 | 8913 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 8914 |   # variables and quote the copies for generation of the libtool script. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8915 |   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
 | 8916 |     libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
 | 8917 |     old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
 | 8918 |     deplibs_check_method reload_flag reload_cmds need_locks \ | 
 | 8919 |     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
 | 8920 |     lt_cv_sys_global_symbol_to_c_name_address \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8921 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8922 |     old_postinstall_cmds old_postuninstall_cmds \ | 
 | 8923 |     compiler \ | 
 | 8924 |     CC \ | 
 | 8925 |     LD \ | 
 | 8926 |     lt_prog_compiler_wl \ | 
 | 8927 |     lt_prog_compiler_pic \ | 
 | 8928 |     lt_prog_compiler_static \ | 
 | 8929 |     lt_prog_compiler_no_builtin_flag \ | 
 | 8930 |     export_dynamic_flag_spec \ | 
 | 8931 |     thread_safe_flag_spec \ | 
 | 8932 |     whole_archive_flag_spec \ | 
 | 8933 |     enable_shared_with_static_runtimes \ | 
 | 8934 |     old_archive_cmds \ | 
 | 8935 |     old_archive_from_new_cmds \ | 
 | 8936 |     predep_objects \ | 
 | 8937 |     postdep_objects \ | 
 | 8938 |     predeps \ | 
 | 8939 |     postdeps \ | 
 | 8940 |     compiler_lib_search_path \ | 
 | 8941 |     archive_cmds \ | 
 | 8942 |     archive_expsym_cmds \ | 
 | 8943 |     postinstall_cmds \ | 
 | 8944 |     postuninstall_cmds \ | 
 | 8945 |     old_archive_from_expsyms_cmds \ | 
 | 8946 |     allow_undefined_flag \ | 
 | 8947 |     no_undefined_flag \ | 
 | 8948 |     export_symbols_cmds \ | 
 | 8949 |     hardcode_libdir_flag_spec \ | 
 | 8950 |     hardcode_libdir_flag_spec_ld \ | 
 | 8951 |     hardcode_libdir_separator \ | 
 | 8952 |     hardcode_automatic \ | 
 | 8953 |     module_cmds \ | 
 | 8954 |     module_expsym_cmds \ | 
 | 8955 |     lt_cv_prog_compiler_c_o \ | 
 | 8956 |     exclude_expsyms \ | 
 | 8957 |     include_expsyms; do | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8958 |  | 
 | 8959 |     case $var in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8960 |     old_archive_cmds | \ | 
 | 8961 |     old_archive_from_new_cmds | \ | 
 | 8962 |     archive_cmds | \ | 
 | 8963 |     archive_expsym_cmds | \ | 
 | 8964 |     module_cmds | \ | 
 | 8965 |     module_expsym_cmds | \ | 
 | 8966 |     old_archive_from_expsyms_cmds | \ | 
 | 8967 |     export_symbols_cmds | \ | 
 | 8968 |     extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8969 |     postinstall_cmds | postuninstall_cmds | \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8970 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 8971 |     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8972 |       # Double-quote double-evaled strings. | 
 | 8973 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 8974 |       ;; | 
 | 8975 |     *) | 
 | 8976 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 8977 |       ;; | 
 | 8978 |     esac | 
 | 8979 |   done | 
 | 8980 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8981 |   case $lt_echo in | 
 | 8982 |   *'\$0 --fallback-echo"') | 
 | 8983 |     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
 | 8984 |     ;; | 
 | 8985 |   esac | 
 | 8986 |  | 
 | 8987 | cfgfile="${ofile}T" | 
 | 8988 |   trap "$rm \"$cfgfile\"; exit 1" 1 2 15 | 
 | 8989 |   $rm -f "$cfgfile" | 
 | 8990 |   { echo "$as_me:$LINENO: creating $ofile" >&5 | 
 | 8991 | echo "$as_me: creating $ofile" >&6;} | 
 | 8992 |  | 
 | 8993 |   cat <<__EOF__ >> "$cfgfile" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8994 | #! $SHELL | 
 | 8995 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8996 | # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8997 | # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) | 
 | 8998 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. | 
 | 8999 | # | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9000 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 | 
 | 9001 | # Free Software Foundation, Inc. | 
 | 9002 | # | 
 | 9003 | # This file is part of GNU Libtool: | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9004 | # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 | 
 | 9005 | # | 
 | 9006 | # This program is free software; you can redistribute it and/or modify | 
 | 9007 | # it under the terms of the GNU General Public License as published by | 
 | 9008 | # the Free Software Foundation; either version 2 of the License, or | 
 | 9009 | # (at your option) any later version. | 
 | 9010 | # | 
 | 9011 | # This program is distributed in the hope that it will be useful, but | 
 | 9012 | # WITHOUT ANY WARRANTY; without even the implied warranty of | 
 | 9013 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
 | 9014 | # General Public License for more details. | 
 | 9015 | # | 
 | 9016 | # You should have received a copy of the GNU General Public License | 
 | 9017 | # along with this program; if not, write to the Free Software | 
 | 9018 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 
 | 9019 | # | 
 | 9020 | # As a special exception to the GNU General Public License, if you | 
 | 9021 | # distribute this file as part of a program that contains a | 
 | 9022 | # configuration script generated by Autoconf, you may include it under | 
 | 9023 | # the same distribution terms that you use for the rest of that program. | 
 | 9024 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9025 | # A sed program that does not truncate output. | 
 | 9026 | SED=$lt_SED | 
 | 9027 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9028 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9029 | Xsed="$SED -e s/^X//" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9030 |  | 
 | 9031 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 
 | 9032 | # if CDPATH is set. | 
 | 9033 | if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 
 | 9034 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9035 | # The names of the tagged configurations supported by this script. | 
 | 9036 | available_tags= | 
 | 9037 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9038 | # ### BEGIN LIBTOOL CONFIG | 
 | 9039 |  | 
 | 9040 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 9041 |  | 
 | 9042 | # Shell to use when invoking shell scripts. | 
 | 9043 | SHELL=$lt_SHELL | 
 | 9044 |  | 
 | 9045 | # Whether or not to build shared libraries. | 
 | 9046 | build_libtool_libs=$enable_shared | 
 | 9047 |  | 
 | 9048 | # Whether or not to build static libraries. | 
 | 9049 | build_old_libs=$enable_static | 
 | 9050 |  | 
 | 9051 | # Whether or not to add -lc for building shared libraries. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9052 | build_libtool_need_lc=$archive_cmds_need_lc | 
 | 9053 |  | 
 | 9054 | # Whether or not to disallow shared libs when runtime libs are static | 
 | 9055 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9056 |  | 
 | 9057 | # Whether or not to optimize for fast installation. | 
 | 9058 | fast_install=$enable_fast_install | 
 | 9059 |  | 
 | 9060 | # The host system. | 
 | 9061 | host_alias=$host_alias | 
 | 9062 | host=$host | 
 | 9063 |  | 
 | 9064 | # An echo program that does not interpret backslashes. | 
 | 9065 | echo=$lt_echo | 
 | 9066 |  | 
 | 9067 | # The archiver. | 
 | 9068 | AR=$lt_AR | 
 | 9069 | AR_FLAGS=$lt_AR_FLAGS | 
 | 9070 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9071 | # A C compiler. | 
 | 9072 | LTCC=$lt_LTCC | 
 | 9073 |  | 
 | 9074 | # A language-specific compiler. | 
 | 9075 | CC=$lt_compiler | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9076 |  | 
 | 9077 | # Is the compiler the GNU C compiler? | 
 | 9078 | with_gcc=$GCC | 
 | 9079 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9080 | # An ERE matcher. | 
 | 9081 | EGREP=$lt_EGREP | 
 | 9082 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9083 | # The linker used to build libraries. | 
 | 9084 | LD=$lt_LD | 
 | 9085 |  | 
 | 9086 | # Whether we need hard or soft links. | 
 | 9087 | LN_S=$lt_LN_S | 
 | 9088 |  | 
 | 9089 | # A BSD-compatible nm program. | 
 | 9090 | NM=$lt_NM | 
 | 9091 |  | 
 | 9092 | # A symbol stripping program | 
 | 9093 | STRIP=$STRIP | 
 | 9094 |  | 
 | 9095 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 9096 | MAGIC_CMD=$MAGIC_CMD | 
 | 9097 |  | 
 | 9098 | # Used on cygwin: DLL creation program. | 
 | 9099 | DLLTOOL="$DLLTOOL" | 
 | 9100 |  | 
 | 9101 | # Used on cygwin: object dumper. | 
 | 9102 | OBJDUMP="$OBJDUMP" | 
 | 9103 |  | 
 | 9104 | # Used on cygwin: assembler. | 
 | 9105 | AS="$AS" | 
 | 9106 |  | 
 | 9107 | # The name of the directory that contains temporary libtool files. | 
 | 9108 | objdir=$objdir | 
 | 9109 |  | 
 | 9110 | # How to create reloadable object files. | 
 | 9111 | reload_flag=$lt_reload_flag | 
 | 9112 | reload_cmds=$lt_reload_cmds | 
 | 9113 |  | 
 | 9114 | # How to pass a linker flag through the compiler. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9115 | wl=$lt_lt_prog_compiler_wl | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9116 |  | 
 | 9117 | # Object file suffix (normally "o"). | 
 | 9118 | objext="$ac_objext" | 
 | 9119 |  | 
 | 9120 | # Old archive suffix (normally "a"). | 
 | 9121 | libext="$libext" | 
 | 9122 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9123 | # Shared library suffix (normally ".so"). | 
 | 9124 | shrext='$shrext' | 
 | 9125 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9126 | # Executable file suffix (normally ""). | 
 | 9127 | exeext="$exeext" | 
 | 9128 |  | 
 | 9129 | # Additional compiler flags for building library objects. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9130 | pic_flag=$lt_lt_prog_compiler_pic | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9131 | pic_mode=$pic_mode | 
 | 9132 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9133 | # What is the maximum length of a command? | 
 | 9134 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9135 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9136 | # Does compiler simultaneously support -c and -o options? | 
 | 9137 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9138 |  | 
 | 9139 | # Must we lock files when doing compilation ? | 
 | 9140 | need_locks=$lt_need_locks | 
 | 9141 |  | 
 | 9142 | # Do we need the lib prefix for modules? | 
 | 9143 | need_lib_prefix=$need_lib_prefix | 
 | 9144 |  | 
 | 9145 | # Do we need a version for libraries? | 
 | 9146 | need_version=$need_version | 
 | 9147 |  | 
 | 9148 | # Whether dlopen is supported. | 
 | 9149 | dlopen_support=$enable_dlopen | 
 | 9150 |  | 
 | 9151 | # Whether dlopen of programs is supported. | 
 | 9152 | dlopen_self=$enable_dlopen_self | 
 | 9153 |  | 
 | 9154 | # Whether dlopen of statically linked programs is supported. | 
 | 9155 | dlopen_self_static=$enable_dlopen_self_static | 
 | 9156 |  | 
 | 9157 | # Compiler flag to prevent dynamic linking. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9158 | link_static_flag=$lt_lt_prog_compiler_static | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9159 |  | 
 | 9160 | # Compiler flag to turn off builtin functions. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9161 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9162 |  | 
 | 9163 | # Compiler flag to allow reflexive dlopens. | 
 | 9164 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec | 
 | 9165 |  | 
 | 9166 | # Compiler flag to generate shared objects directly from archives. | 
 | 9167 | whole_archive_flag_spec=$lt_whole_archive_flag_spec | 
 | 9168 |  | 
 | 9169 | # Compiler flag to generate thread-safe objects. | 
 | 9170 | thread_safe_flag_spec=$lt_thread_safe_flag_spec | 
 | 9171 |  | 
 | 9172 | # Library versioning type. | 
 | 9173 | version_type=$version_type | 
 | 9174 |  | 
 | 9175 | # Format of library name prefix. | 
 | 9176 | libname_spec=$lt_libname_spec | 
 | 9177 |  | 
 | 9178 | # List of archive names.  First name is the real one, the rest are links. | 
 | 9179 | # The last name is the one that the linker finds with -lNAME. | 
 | 9180 | library_names_spec=$lt_library_names_spec | 
 | 9181 |  | 
 | 9182 | # The coded name of the library, if different from the real name. | 
 | 9183 | soname_spec=$lt_soname_spec | 
 | 9184 |  | 
 | 9185 | # Commands used to build and install an old-style archive. | 
 | 9186 | RANLIB=$lt_RANLIB | 
 | 9187 | old_archive_cmds=$lt_old_archive_cmds | 
 | 9188 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 9189 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 9190 |  | 
 | 9191 | # Create an old-style archive from a shared archive. | 
 | 9192 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds | 
 | 9193 |  | 
 | 9194 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 9195 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds | 
 | 9196 |  | 
 | 9197 | # Commands used to build and install a shared archive. | 
 | 9198 | archive_cmds=$lt_archive_cmds | 
 | 9199 | archive_expsym_cmds=$lt_archive_expsym_cmds | 
 | 9200 | postinstall_cmds=$lt_postinstall_cmds | 
 | 9201 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 9202 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9203 | # Commands used to build a loadable module (assumed same as above if empty) | 
 | 9204 | module_cmds=$lt_module_cmds | 
 | 9205 | module_expsym_cmds=$lt_module_expsym_cmds | 
 | 9206 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9207 | # Commands to strip libraries. | 
 | 9208 | old_striplib=$lt_old_striplib | 
 | 9209 | striplib=$lt_striplib | 
 | 9210 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9211 | # Dependencies to place before the objects being linked to create a | 
 | 9212 | # shared library. | 
 | 9213 | predep_objects=$lt_predep_objects | 
 | 9214 |  | 
 | 9215 | # Dependencies to place after the objects being linked to create a | 
 | 9216 | # shared library. | 
 | 9217 | postdep_objects=$lt_postdep_objects | 
 | 9218 |  | 
 | 9219 | # Dependencies to place before the objects being linked to create a | 
 | 9220 | # shared library. | 
 | 9221 | predeps=$lt_predeps | 
 | 9222 |  | 
 | 9223 | # Dependencies to place after the objects being linked to create a | 
 | 9224 | # shared library. | 
 | 9225 | postdeps=$lt_postdeps | 
 | 9226 |  | 
 | 9227 | # The library search path used internally by the compiler when linking | 
 | 9228 | # a shared library. | 
 | 9229 | compiler_lib_search_path=$lt_compiler_lib_search_path | 
 | 9230 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9231 | # Method to check whether dependent libraries are shared objects. | 
 | 9232 | deplibs_check_method=$lt_deplibs_check_method | 
 | 9233 |  | 
 | 9234 | # Command to use when deplibs_check_method == file_magic. | 
 | 9235 | file_magic_cmd=$lt_file_magic_cmd | 
 | 9236 |  | 
 | 9237 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 9238 | allow_undefined_flag=$lt_allow_undefined_flag | 
 | 9239 |  | 
 | 9240 | # Flag that forces no undefined symbols. | 
 | 9241 | no_undefined_flag=$lt_no_undefined_flag | 
 | 9242 |  | 
 | 9243 | # Commands used to finish a libtool library installation in a directory. | 
 | 9244 | finish_cmds=$lt_finish_cmds | 
 | 9245 |  | 
 | 9246 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 9247 | finish_eval=$lt_finish_eval | 
 | 9248 |  | 
 | 9249 | # 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] | 9250 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9251 |  | 
 | 9252 | # Transform the output of nm in a proper C declaration | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9253 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9254 |  | 
 | 9255 | # Transform the output of nm in a C name address pair | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9256 | 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] | 9257 |  | 
 | 9258 | # This is the shared library runtime path variable. | 
 | 9259 | runpath_var=$runpath_var | 
 | 9260 |  | 
 | 9261 | # This is the shared library path variable. | 
 | 9262 | shlibpath_var=$shlibpath_var | 
 | 9263 |  | 
 | 9264 | # Is shlibpath searched before the hard-coded library search path? | 
 | 9265 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 9266 |  | 
 | 9267 | # How to hardcode a shared library path into an executable. | 
 | 9268 | hardcode_action=$hardcode_action | 
 | 9269 |  | 
 | 9270 | # Whether we should hardcode library paths into libraries. | 
 | 9271 | hardcode_into_libs=$hardcode_into_libs | 
 | 9272 |  | 
 | 9273 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 9274 | # This must work even if \$libdir does not exist. | 
 | 9275 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | 
 | 9276 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9277 | # If ld is used when linking, flag to hardcode \$libdir into | 
 | 9278 | # a binary during linking. This must work even if \$libdir does | 
 | 9279 | # not exist. | 
 | 9280 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld | 
 | 9281 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9282 | # Whether we need a single -rpath flag with a separated argument. | 
 | 9283 | hardcode_libdir_separator=$lt_hardcode_libdir_separator | 
 | 9284 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9285 | # 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] | 9286 | # resulting binary. | 
 | 9287 | hardcode_direct=$hardcode_direct | 
 | 9288 |  | 
 | 9289 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 9290 | # resulting binary. | 
 | 9291 | hardcode_minus_L=$hardcode_minus_L | 
 | 9292 |  | 
 | 9293 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 9294 | # the resulting binary. | 
 | 9295 | hardcode_shlibpath_var=$hardcode_shlibpath_var | 
 | 9296 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9297 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
 | 9298 | # and all subsequent libraries and executables linked against it. | 
 | 9299 | hardcode_automatic=$hardcode_automatic | 
 | 9300 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9301 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 9302 | # restored at relink time. | 
 | 9303 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 9304 |  | 
 | 9305 | # Whether libtool must link a program against all its dependency libraries. | 
 | 9306 | link_all_deplibs=$link_all_deplibs | 
 | 9307 |  | 
 | 9308 | # Compile-time system search path for libraries | 
 | 9309 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 9310 |  | 
 | 9311 | # Run-time system search path for libraries | 
 | 9312 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 9313 |  | 
 | 9314 | # Fix the shell variable \$srcfile for the compiler. | 
 | 9315 | fix_srcfile_path="$fix_srcfile_path" | 
 | 9316 |  | 
 | 9317 | # Set to yes if exported symbols are required. | 
 | 9318 | always_export_symbols=$always_export_symbols | 
 | 9319 |  | 
 | 9320 | # The commands to list exported symbols. | 
 | 9321 | export_symbols_cmds=$lt_export_symbols_cmds | 
 | 9322 |  | 
 | 9323 | # The commands to extract the exported symbol list from a shared archive. | 
 | 9324 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 9325 |  | 
 | 9326 | # Symbols that should not be listed in the preloaded symbols. | 
 | 9327 | exclude_expsyms=$lt_exclude_expsyms | 
 | 9328 |  | 
 | 9329 | # Symbols that must always be exported. | 
 | 9330 | include_expsyms=$lt_include_expsyms | 
 | 9331 |  | 
 | 9332 | # ### END LIBTOOL CONFIG | 
 | 9333 |  | 
 | 9334 | __EOF__ | 
 | 9335 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9336 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9337 |   case $host_os in | 
 | 9338 |   aix3*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9339 |     cat <<\EOF >> "$cfgfile" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9340 |  | 
 | 9341 | # AIX sometimes has problems with the GCC collect2 program.  For some | 
 | 9342 | # reason, if we set the COLLECT_NAMES environment variable, the problems | 
 | 9343 | # vanish in a puff of smoke. | 
 | 9344 | if test "X${COLLECT_NAMES+set}" != Xset; then | 
 | 9345 |   COLLECT_NAMES= | 
 | 9346 |   export COLLECT_NAMES | 
 | 9347 | fi | 
 | 9348 | EOF | 
 | 9349 |     ;; | 
 | 9350 |   esac | 
 | 9351 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9352 |   # We use sed instead of cat because bash on DJGPP gets confused if | 
 | 9353 |   # if finds mixed CR/LF and LF-only lines.  Since sed operates in | 
 | 9354 |   # text mode, it properly converts lines to CR/LF.  This bash problem | 
 | 9355 |   # is reportedly fixed, but why not run on old versions too? | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9356 |   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9357 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9358 |   mv -f "$cfgfile" "$ofile" || \ | 
 | 9359 |     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9360 |   chmod +x "$ofile" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9361 |  | 
 | 9362 | else | 
 | 9363 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 9364 |   # `config.status --recheck' to rerun these tests and create the | 
 | 9365 |   # libtool script then. | 
 | 9366 |   test -f Makefile && make "$ltmain" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9367 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9368 |  | 
 | 9369 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9370 | ac_ext=c | 
 | 9371 | ac_cpp='$CPP $CPPFLAGS' | 
 | 9372 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9373 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9374 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 9375 |  | 
 | 9376 | CC="$lt_save_CC" | 
 | 9377 |  | 
 | 9378 |  | 
 | 9379 | # Check whether --with-tags or --without-tags was given. | 
 | 9380 | if test "${with_tags+set}" = set; then | 
 | 9381 |   withval="$with_tags" | 
 | 9382 |   tagnames="$withval" | 
 | 9383 | fi; | 
 | 9384 |  | 
 | 9385 | if test -f "$ltmain" && test -n "$tagnames"; then | 
 | 9386 |   if test ! -f "${ofile}"; then | 
 | 9387 |     { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 | 
 | 9388 | echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} | 
 | 9389 |   fi | 
 | 9390 |  | 
 | 9391 |   if test -z "$LTCC"; then | 
 | 9392 |     eval "`$SHELL ${ofile} --config | grep '^LTCC='`" | 
 | 9393 |     if test -z "$LTCC"; then | 
 | 9394 |       { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 | 
 | 9395 | echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} | 
 | 9396 |     else | 
 | 9397 |       { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 | 
 | 9398 | echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} | 
 | 9399 |     fi | 
 | 9400 |   fi | 
 | 9401 |  | 
 | 9402 |   # Extract list of available tagged configurations in $ofile. | 
 | 9403 |   # Note that this assumes the entire list is on one line. | 
 | 9404 |   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` | 
 | 9405 |  | 
 | 9406 |   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
 | 9407 |   for tagname in $tagnames; do | 
 | 9408 |     IFS="$lt_save_ifs" | 
 | 9409 |     # Check whether tagname contains only valid characters | 
 | 9410 |     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in | 
 | 9411 |     "") ;; | 
 | 9412 |     *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 | 
 | 9413 | echo "$as_me: error: invalid tag name: $tagname" >&2;} | 
 | 9414 |    { (exit 1); exit 1; }; } | 
 | 9415 | 	;; | 
 | 9416 |     esac | 
 | 9417 |  | 
 | 9418 |     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null | 
 | 9419 |     then | 
 | 9420 |       { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 | 
 | 9421 | echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} | 
 | 9422 |    { (exit 1); exit 1; }; } | 
 | 9423 |     fi | 
 | 9424 |  | 
 | 9425 |     # Update the list of available tags. | 
 | 9426 |     if test -n "$tagname"; then | 
 | 9427 |       echo appending configuration tag \"$tagname\" to $ofile | 
 | 9428 |  | 
 | 9429 |       case $tagname in | 
 | 9430 |       CXX) | 
 | 9431 | 	if test -n "$CXX" && test "X$CXX" != "Xno"; then | 
 | 9432 | 	  ac_ext=cc | 
 | 9433 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 9434 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9435 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9436 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 9437 |  | 
 | 9438 |  | 
 | 9439 |  | 
 | 9440 |  | 
 | 9441 | archive_cmds_need_lc_CXX=no | 
 | 9442 | allow_undefined_flag_CXX= | 
 | 9443 | always_export_symbols_CXX=no | 
 | 9444 | archive_expsym_cmds_CXX= | 
 | 9445 | export_dynamic_flag_spec_CXX= | 
 | 9446 | hardcode_direct_CXX=no | 
 | 9447 | hardcode_libdir_flag_spec_CXX= | 
 | 9448 | hardcode_libdir_flag_spec_ld_CXX= | 
 | 9449 | hardcode_libdir_separator_CXX= | 
 | 9450 | hardcode_minus_L_CXX=no | 
 | 9451 | hardcode_automatic_CXX=no | 
 | 9452 | module_cmds_CXX= | 
 | 9453 | module_expsym_cmds_CXX= | 
 | 9454 | link_all_deplibs_CXX=unknown | 
 | 9455 | old_archive_cmds_CXX=$old_archive_cmds | 
 | 9456 | no_undefined_flag_CXX= | 
 | 9457 | whole_archive_flag_spec_CXX= | 
 | 9458 | enable_shared_with_static_runtimes_CXX=no | 
 | 9459 |  | 
 | 9460 | # Dependencies to place before and after the object being linked: | 
 | 9461 | predep_objects_CXX= | 
 | 9462 | postdep_objects_CXX= | 
 | 9463 | predeps_CXX= | 
 | 9464 | postdeps_CXX= | 
 | 9465 | compiler_lib_search_path_CXX= | 
 | 9466 |  | 
 | 9467 | # Source file extension for C++ test sources. | 
 | 9468 | ac_ext=cc | 
 | 9469 |  | 
 | 9470 | # Object file extension for compiled C++ test sources. | 
 | 9471 | objext=o | 
 | 9472 | objext_CXX=$objext | 
 | 9473 |  | 
 | 9474 | # Code to be used in simple compile tests | 
 | 9475 | lt_simple_compile_test_code="int some_variable = 0;\n" | 
 | 9476 |  | 
 | 9477 | # Code to be used in simple link tests | 
 | 9478 | lt_simple_link_test_code='int main(int, char *) { return(0); }\n' | 
 | 9479 |  | 
 | 9480 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
 | 9481 |  | 
 | 9482 | # If no C compiler was specified, use CC. | 
 | 9483 | LTCC=${LTCC-"$CC"} | 
 | 9484 |  | 
 | 9485 | # Allow CC to be a program name with arguments. | 
 | 9486 | compiler=$CC | 
 | 9487 |  | 
 | 9488 |  | 
 | 9489 | # Allow CC to be a program name with arguments. | 
 | 9490 | lt_save_CC=$CC | 
 | 9491 | lt_save_LD=$LD | 
 | 9492 | lt_save_GCC=$GCC | 
 | 9493 | GCC=$GXX | 
 | 9494 | lt_save_with_gnu_ld=$with_gnu_ld | 
 | 9495 | lt_save_path_LD=$lt_cv_path_LD | 
 | 9496 | if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then | 
 | 9497 |   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx | 
 | 9498 | else | 
 | 9499 |   unset lt_cv_prog_gnu_ld | 
 | 9500 | fi | 
 | 9501 | if test -n "${lt_cv_path_LDCXX+set}"; then | 
 | 9502 |   lt_cv_path_LD=$lt_cv_path_LDCXX | 
 | 9503 | else | 
 | 9504 |   unset lt_cv_path_LD | 
 | 9505 | fi | 
 | 9506 | test -z "${LDCXX+set}" || LD=$LDCXX | 
 | 9507 | CC=${CXX-"c++"} | 
 | 9508 | compiler=$CC | 
 | 9509 | compiler_CXX=$CC | 
 | 9510 | cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` | 
 | 9511 |  | 
 | 9512 | # We don't want -fno-exception wen compiling C++ code, so set the | 
 | 9513 | # no_builtin_flag separately | 
 | 9514 | if test "$GXX" = yes; then | 
 | 9515 |   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' | 
 | 9516 | else | 
 | 9517 |   lt_prog_compiler_no_builtin_flag_CXX= | 
 | 9518 | fi | 
 | 9519 |  | 
 | 9520 | if test "$GXX" = yes; then | 
 | 9521 |   # Set up default GNU C++ configuration | 
 | 9522 |  | 
 | 9523 |  | 
 | 9524 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | 
 | 9525 | if test "${with_gnu_ld+set}" = set; then | 
 | 9526 |   withval="$with_gnu_ld" | 
 | 9527 |   test "$withval" = no || with_gnu_ld=yes | 
 | 9528 | else | 
 | 9529 |   with_gnu_ld=no | 
 | 9530 | fi; | 
 | 9531 | ac_prog=ld | 
 | 9532 | if test "$GCC" = yes; then | 
 | 9533 |   # Check if gcc -print-prog-name=ld gives a path. | 
 | 9534 |   echo "$as_me:$LINENO: checking for ld used by $CC" >&5 | 
 | 9535 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 | 
 | 9536 |   case $host in | 
 | 9537 |   *-*-mingw*) | 
 | 9538 |     # gcc leaves a trailing carriage return which upsets mingw | 
 | 9539 |     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
 | 9540 |   *) | 
 | 9541 |     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
 | 9542 |   esac | 
 | 9543 |   case $ac_prog in | 
 | 9544 |     # Accept absolute paths. | 
 | 9545 |     [\\/]* | ?:[\\/]*) | 
 | 9546 |       re_direlt='/[^/][^/]*/\.\./' | 
 | 9547 |       # Canonicalize the path of ld | 
 | 9548 |       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` | 
 | 9549 |       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 
 | 9550 | 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` | 
 | 9551 |       done | 
 | 9552 |       test -z "$LD" && LD="$ac_prog" | 
 | 9553 |       ;; | 
 | 9554 |   "") | 
 | 9555 |     # If it fails, then pretend we aren't using GCC. | 
 | 9556 |     ac_prog=ld | 
 | 9557 |     ;; | 
 | 9558 |   *) | 
 | 9559 |     # If it is relative, then search for the first ld in PATH. | 
 | 9560 |     with_gnu_ld=unknown | 
 | 9561 |     ;; | 
 | 9562 |   esac | 
 | 9563 | elif test "$with_gnu_ld" = yes; then | 
 | 9564 |   echo "$as_me:$LINENO: checking for GNU ld" >&5 | 
 | 9565 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | 
 | 9566 | else | 
 | 9567 |   echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | 
 | 9568 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | 
 | 9569 | fi | 
 | 9570 | if test "${lt_cv_path_LD+set}" = set; then | 
 | 9571 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9572 | else | 
 | 9573 |   if test -z "$LD"; then | 
 | 9574 |   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 9575 |   for ac_dir in $PATH; do | 
 | 9576 |     IFS="$lt_save_ifs" | 
 | 9577 |     test -z "$ac_dir" && ac_dir=. | 
 | 9578 |     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
 | 9579 |       lt_cv_path_LD="$ac_dir/$ac_prog" | 
 | 9580 |       # Check to see if the program is GNU ld.  I'd rather use --version, | 
 | 9581 |       # but apparently some GNU ld's only accept -v. | 
 | 9582 |       # Break only if it was the GNU/non-GNU ld that we prefer. | 
 | 9583 |       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 
 | 9584 |       *GNU* | *'with BFD'*) | 
 | 9585 | 	test "$with_gnu_ld" != no && break | 
 | 9586 | 	;; | 
 | 9587 |       *) | 
 | 9588 | 	test "$with_gnu_ld" != yes && break | 
 | 9589 | 	;; | 
 | 9590 |       esac | 
 | 9591 |     fi | 
 | 9592 |   done | 
 | 9593 |   IFS="$lt_save_ifs" | 
 | 9594 | else | 
 | 9595 |   lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
 | 9596 | fi | 
 | 9597 | fi | 
 | 9598 |  | 
 | 9599 | LD="$lt_cv_path_LD" | 
 | 9600 | if test -n "$LD"; then | 
 | 9601 |   echo "$as_me:$LINENO: result: $LD" >&5 | 
 | 9602 | echo "${ECHO_T}$LD" >&6 | 
 | 9603 | else | 
 | 9604 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 9605 | echo "${ECHO_T}no" >&6 | 
 | 9606 | fi | 
 | 9607 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | 
 | 9608 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 
 | 9609 |    { (exit 1); exit 1; }; } | 
 | 9610 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | 
 | 9611 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | 
 | 9612 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | 
 | 9613 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9614 | else | 
 | 9615 |   # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 
 | 9616 | case `"$LD" -v 2>&1 </dev/null` in | 
 | 9617 | *GNU* | *'with BFD'*) | 
 | 9618 |   lt_cv_prog_gnu_ld=yes | 
 | 9619 |   ;; | 
 | 9620 | *) | 
 | 9621 |   lt_cv_prog_gnu_ld=no | 
 | 9622 |   ;; | 
 | 9623 | esac | 
 | 9624 | fi | 
 | 9625 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | 
 | 9626 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | 
 | 9627 | with_gnu_ld=$lt_cv_prog_gnu_ld | 
 | 9628 |  | 
 | 9629 |  | 
 | 9630 |  | 
 | 9631 |   # Check if GNU C++ uses GNU ld as the underlying linker, since the | 
 | 9632 |   # archiving commands below assume that GNU ld is being used. | 
 | 9633 |   if test "$with_gnu_ld" = yes; then | 
 | 9634 |     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 9635 |     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' | 
 | 9636 |  | 
 | 9637 |     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' | 
 | 9638 |     export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
 | 9639 |  | 
 | 9640 |     # If archive_cmds runs LD, not CC, wlarc should be empty | 
 | 9641 |     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to | 
 | 9642 |     #     investigate it a little bit more. (MM) | 
 | 9643 |     wlarc='${wl}' | 
 | 9644 |  | 
 | 9645 |     # ancient GNU ld didn't support --whole-archive et. al. | 
 | 9646 |     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ | 
 | 9647 | 	grep 'no-whole-archive' > /dev/null; then | 
 | 9648 |       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
 | 9649 |     else | 
 | 9650 |       whole_archive_flag_spec_CXX= | 
 | 9651 |     fi | 
 | 9652 |   else | 
 | 9653 |     with_gnu_ld=no | 
 | 9654 |     wlarc= | 
 | 9655 |  | 
 | 9656 |     # A generic and very simple default shared library creation | 
 | 9657 |     # command for GNU C++ for the case where it uses the native | 
 | 9658 |     # linker, instead of GNU ld.  If possible, this setting should | 
 | 9659 |     # overridden to take advantage of the native linker features on | 
 | 9660 |     # the platform it is being used on. | 
 | 9661 |     archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | 
 | 9662 |   fi | 
 | 9663 |  | 
 | 9664 |   # Commands to make compiler produce verbose output that lists | 
 | 9665 |   # what "hidden" libraries, object files and flags are used when | 
 | 9666 |   # linking a shared library. | 
 | 9667 |   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' | 
 | 9668 |  | 
 | 9669 | else | 
 | 9670 |   GXX=no | 
 | 9671 |   with_gnu_ld=no | 
 | 9672 |   wlarc= | 
 | 9673 | fi | 
 | 9674 |  | 
 | 9675 | # PORTME: fill in a description of your system's C++ link characteristics | 
 | 9676 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
 | 9677 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 9678 | ld_shlibs_CXX=yes | 
 | 9679 | case $host_os in | 
 | 9680 |   aix3*) | 
 | 9681 |     # FIXME: insert proper C++ library support | 
 | 9682 |     ld_shlibs_CXX=no | 
 | 9683 |     ;; | 
 | 9684 |   aix4* | aix5*) | 
 | 9685 |     if test "$host_cpu" = ia64; then | 
 | 9686 |       # On IA64, the linker does run time linking by default, so we don't | 
 | 9687 |       # have to do anything special. | 
 | 9688 |       aix_use_runtimelinking=no | 
 | 9689 |       exp_sym_flag='-Bexport' | 
 | 9690 |       no_entry_flag="" | 
 | 9691 |     else | 
 | 9692 |       aix_use_runtimelinking=no | 
 | 9693 |  | 
 | 9694 |       # Test if we are trying to use run time linking or normal | 
 | 9695 |       # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
 | 9696 |       # need to do runtime linking. | 
 | 9697 |       case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
 | 9698 | 	for ld_flag in $LDFLAGS; do | 
 | 9699 | 	  case $ld_flag in | 
 | 9700 | 	  *-brtl*) | 
 | 9701 | 	    aix_use_runtimelinking=yes | 
 | 9702 | 	    break | 
 | 9703 | 	    ;; | 
 | 9704 | 	  esac | 
 | 9705 | 	done | 
 | 9706 |       esac | 
 | 9707 |  | 
 | 9708 |       exp_sym_flag='-bexport' | 
 | 9709 |       no_entry_flag='-bnoentry' | 
 | 9710 |     fi | 
 | 9711 |  | 
 | 9712 |     # When large executables or shared objects are built, AIX ld can | 
 | 9713 |     # have problems creating the table of contents.  If linking a library | 
 | 9714 |     # or program results in "error TOC overflow" add -mminimal-toc to | 
 | 9715 |     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
 | 9716 |     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
 | 9717 |  | 
 | 9718 |     archive_cmds_CXX='' | 
 | 9719 |     hardcode_direct_CXX=yes | 
 | 9720 |     hardcode_libdir_separator_CXX=':' | 
 | 9721 |     link_all_deplibs_CXX=yes | 
 | 9722 |  | 
 | 9723 |     if test "$GXX" = yes; then | 
 | 9724 |       case $host_os in aix4.012|aix4.012.*) | 
 | 9725 |       # We only want to do this on AIX 4.2 and lower, the check | 
 | 9726 |       # below for broken collect2 doesn't work under 4.3+ | 
 | 9727 | 	collect2name=`${CC} -print-prog-name=collect2` | 
 | 9728 | 	if test -f "$collect2name" && \ | 
 | 9729 | 	   strings "$collect2name" | grep resolve_lib_name >/dev/null | 
 | 9730 | 	then | 
 | 9731 | 	  # We have reworked collect2 | 
 | 9732 | 	  hardcode_direct_CXX=yes | 
 | 9733 | 	else | 
 | 9734 | 	  # We have old collect2 | 
 | 9735 | 	  hardcode_direct_CXX=unsupported | 
 | 9736 | 	  # It fails to find uninstalled libraries when the uninstalled | 
 | 9737 | 	  # path is not listed in the libpath.  Setting hardcode_minus_L | 
 | 9738 | 	  # to unsupported forces relinking | 
 | 9739 | 	  hardcode_minus_L_CXX=yes | 
 | 9740 | 	  hardcode_libdir_flag_spec_CXX='-L$libdir' | 
 | 9741 | 	  hardcode_libdir_separator_CXX= | 
 | 9742 | 	fi | 
 | 9743 |       esac | 
 | 9744 |       shared_flag='-shared' | 
 | 9745 |     else | 
 | 9746 |       # not using gcc | 
 | 9747 |       if test "$host_cpu" = ia64; then | 
 | 9748 | 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
 | 9749 | 	# chokes on -Wl,-G. The following line is correct: | 
 | 9750 | 	shared_flag='-G' | 
 | 9751 |       else | 
 | 9752 | 	if test "$aix_use_runtimelinking" = yes; then | 
 | 9753 | 	  shared_flag='${wl}-G' | 
 | 9754 | 	else | 
 | 9755 | 	  shared_flag='${wl}-bM:SRE' | 
 | 9756 | 	fi | 
 | 9757 |       fi | 
 | 9758 |     fi | 
 | 9759 |  | 
 | 9760 |     # It seems that -bexpall does not export symbols beginning with | 
 | 9761 |     # underscore (_), so it is better to generate a list of symbols to export. | 
 | 9762 |     always_export_symbols_CXX=yes | 
 | 9763 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 9764 |       # Warning - without using the other runtime loading flags (-brtl), | 
 | 9765 |       # -berok will link without error, but may produce a broken library. | 
 | 9766 |       allow_undefined_flag_CXX='-berok' | 
 | 9767 |       # Determine the default libpath from the value encoded in an empty executable. | 
 | 9768 |       cat >conftest.$ac_ext <<_ACEOF | 
 | 9769 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9770 | /* confdefs.h.  */ | 
 | 9771 | _ACEOF | 
 | 9772 | cat confdefs.h >>conftest.$ac_ext | 
 | 9773 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 9774 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9775 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9776 | int | 
 | 9777 | main () | 
 | 9778 | { | 
 | 9779 |  | 
 | 9780 |   ; | 
 | 9781 |   return 0; | 
 | 9782 | } | 
 | 9783 | _ACEOF | 
 | 9784 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 9785 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 9786 |   (eval $ac_link) 2>&5 | 
 | 9787 |   ac_status=$? | 
 | 9788 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9789 |   (exit $ac_status); } && | 
 | 9790 |          { ac_try='test -s conftest$ac_exeext' | 
 | 9791 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9792 |   (eval $ac_try) 2>&5 | 
 | 9793 |   ac_status=$? | 
 | 9794 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9795 |   (exit $ac_status); }; }; then | 
 | 9796 |  | 
 | 9797 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 9798 | }'` | 
 | 9799 | # Check for a 64-bit object if we didn't find anything. | 
 | 9800 | 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; } | 
 | 9801 | }'`; fi | 
 | 9802 | else | 
 | 9803 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9804 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 9805 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9806 | fi | 
 | 9807 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 9808 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 9809 |  | 
 | 9810 |       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 9811 |  | 
 | 9812 |       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" | 
 | 9813 |      else | 
 | 9814 |       if test "$host_cpu" = ia64; then | 
 | 9815 | 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' | 
 | 9816 | 	allow_undefined_flag_CXX="-z nodefs" | 
 | 9817 | 	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" | 
 | 9818 |       else | 
 | 9819 | 	# Determine the default libpath from the value encoded in an empty executable. | 
 | 9820 | 	cat >conftest.$ac_ext <<_ACEOF | 
 | 9821 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9822 | /* confdefs.h.  */ | 
 | 9823 | _ACEOF | 
 | 9824 | cat confdefs.h >>conftest.$ac_ext | 
 | 9825 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 9826 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9827 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9828 | int | 
 | 9829 | main () | 
 | 9830 | { | 
 | 9831 |  | 
 | 9832 |   ; | 
 | 9833 |   return 0; | 
 | 9834 | } | 
 | 9835 | _ACEOF | 
 | 9836 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 9837 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 9838 |   (eval $ac_link) 2>&5 | 
 | 9839 |   ac_status=$? | 
 | 9840 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9841 |   (exit $ac_status); } && | 
 | 9842 |          { ac_try='test -s conftest$ac_exeext' | 
 | 9843 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9844 |   (eval $ac_try) 2>&5 | 
 | 9845 |   ac_status=$? | 
 | 9846 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9847 |   (exit $ac_status); }; }; then | 
 | 9848 |  | 
 | 9849 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 9850 | }'` | 
 | 9851 | # Check for a 64-bit object if we didn't find anything. | 
 | 9852 | 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; } | 
 | 9853 | }'`; fi | 
 | 9854 | else | 
 | 9855 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9856 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 9857 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9858 | fi | 
 | 9859 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 9860 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 9861 |  | 
 | 9862 | 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 9863 | 	# Warning - without using the other run time loading flags, | 
 | 9864 | 	# -berok will link without error, but may produce a broken library. | 
 | 9865 | 	no_undefined_flag_CXX=' ${wl}-bernotok' | 
 | 9866 | 	allow_undefined_flag_CXX=' ${wl}-berok' | 
 | 9867 | 	# -bexpall does not export symbols beginning with underscore (_) | 
 | 9868 | 	always_export_symbols_CXX=yes | 
 | 9869 | 	# Exported symbols can be pulled into shared objects from archives | 
 | 9870 | 	whole_archive_flag_spec_CXX=' ' | 
 | 9871 | 	archive_cmds_need_lc_CXX=yes | 
 | 9872 | 	# This is similar to how AIX traditionally builds it's shared libraries. | 
 | 9873 | 	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' | 
 | 9874 |       fi | 
 | 9875 |     fi | 
 | 9876 |     ;; | 
 | 9877 |   chorus*) | 
 | 9878 |     case $cc_basename in | 
 | 9879 |       *) | 
 | 9880 | 	# FIXME: insert proper C++ library support | 
 | 9881 | 	ld_shlibs_CXX=no | 
 | 9882 | 	;; | 
 | 9883 |     esac | 
 | 9884 |     ;; | 
 | 9885 |  | 
 | 9886 |   cygwin* | mingw* | pw32*) | 
 | 9887 |     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, | 
 | 9888 |     # as there is no search path for DLLs. | 
 | 9889 |     hardcode_libdir_flag_spec_CXX='-L$libdir' | 
 | 9890 |     allow_undefined_flag_CXX=unsupported | 
 | 9891 |     always_export_symbols_CXX=no | 
 | 9892 |     enable_shared_with_static_runtimes_CXX=yes | 
 | 9893 |  | 
 | 9894 |     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
 | 9895 |       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' | 
 | 9896 |       # If the export-symbols file already is a .def file (1st line | 
 | 9897 |       # is EXPORTS), use it as is; otherwise, prepend... | 
 | 9898 |       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
 | 9899 | 	cp $export_symbols $output_objdir/$soname.def; | 
 | 9900 |       else | 
 | 9901 | 	echo EXPORTS > $output_objdir/$soname.def; | 
 | 9902 | 	cat $export_symbols >> $output_objdir/$soname.def; | 
 | 9903 |       fi~ | 
 | 9904 |       $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' | 
 | 9905 |     else | 
 | 9906 |       ld_shlibs_CXX=no | 
 | 9907 |     fi | 
 | 9908 |   ;; | 
 | 9909 |  | 
 | 9910 |   darwin* | rhapsody*) | 
 | 9911 |    if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 9912 |     archive_cmds_need_lc_CXX=no | 
 | 9913 |     case "$host_os" in | 
 | 9914 |     rhapsody* | darwin1.[012]) | 
 | 9915 |       allow_undefined_flag_CXX='-undefined suppress' | 
 | 9916 |       ;; | 
 | 9917 |     *) # Darwin 1.3 on | 
 | 9918 |       test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' | 
 | 9919 |       ;; | 
 | 9920 |     esac | 
 | 9921 |     	lt_int_apple_cc_single_mod=no | 
 | 9922 |     	output_verbose_link_cmd='echo' | 
 | 9923 |     	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
 | 9924 |     	  lt_int_apple_cc_single_mod=yes | 
 | 9925 |     	fi | 
 | 9926 |     	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 9927 |     	  archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 9928 |     	else | 
 | 9929 |         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' | 
 | 9930 |       fi | 
 | 9931 |       module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
 | 9932 |  | 
 | 9933 |     # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
 | 9934 |       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 9935 |         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}' | 
 | 9936 |       else | 
 | 9937 |         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}' | 
 | 9938 |       fi | 
 | 9939 |         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}' | 
 | 9940 |     hardcode_direct_CXX=no | 
 | 9941 |     hardcode_automatic_CXX=yes | 
 | 9942 |     hardcode_shlibpath_var_CXX=unsupported | 
 | 9943 |     whole_archive_flag_spec_CXX='-all_load $convenience' | 
 | 9944 |     link_all_deplibs_CXX=yes | 
 | 9945 |    fi | 
 | 9946 |     ;; | 
 | 9947 |  | 
 | 9948 |   dgux*) | 
 | 9949 |     case $cc_basename in | 
 | 9950 |       ec++) | 
 | 9951 | 	# FIXME: insert proper C++ library support | 
 | 9952 | 	ld_shlibs_CXX=no | 
 | 9953 | 	;; | 
 | 9954 |       ghcx) | 
 | 9955 | 	# Green Hills C++ Compiler | 
 | 9956 | 	# FIXME: insert proper C++ library support | 
 | 9957 | 	ld_shlibs_CXX=no | 
 | 9958 | 	;; | 
 | 9959 |       *) | 
 | 9960 | 	# FIXME: insert proper C++ library support | 
 | 9961 | 	ld_shlibs_CXX=no | 
 | 9962 | 	;; | 
 | 9963 |     esac | 
 | 9964 |     ;; | 
 | 9965 |   freebsd12*) | 
 | 9966 |     # C++ shared libraries reported to be fairly broken before switch to ELF | 
 | 9967 |     ld_shlibs_CXX=no | 
 | 9968 |     ;; | 
 | 9969 |   freebsd-elf*) | 
 | 9970 |     archive_cmds_need_lc_CXX=no | 
 | 9971 |     ;; | 
 | 9972 |   freebsd*) | 
 | 9973 |     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF | 
 | 9974 |     # conventions | 
 | 9975 |     ld_shlibs_CXX=yes | 
 | 9976 |     ;; | 
 | 9977 |   gnu*) | 
 | 9978 |     ;; | 
 | 9979 |   hpux9*) | 
 | 9980 |     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 
 | 9981 |     hardcode_libdir_separator_CXX=: | 
 | 9982 |     export_dynamic_flag_spec_CXX='${wl}-E' | 
 | 9983 |     hardcode_direct_CXX=yes | 
 | 9984 |     hardcode_minus_L_CXX=yes # Not in the search PATH, | 
 | 9985 | 				# but as the default | 
 | 9986 | 				# location of the library. | 
 | 9987 |  | 
 | 9988 |     case $cc_basename in | 
 | 9989 |     CC) | 
 | 9990 |       # FIXME: insert proper C++ library support | 
 | 9991 |       ld_shlibs_CXX=no | 
 | 9992 |       ;; | 
 | 9993 |     aCC) | 
 | 9994 |       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' | 
 | 9995 |       # Commands to make compiler produce verbose output that lists | 
 | 9996 |       # what "hidden" libraries, object files and flags are used when | 
 | 9997 |       # linking a shared library. | 
 | 9998 |       # | 
 | 9999 |       # There doesn't appear to be a way to prevent this compiler from | 
 | 10000 |       # explicitly linking system object files so we need to strip them | 
 | 10001 |       # from the output so that they don't get included in the library | 
 | 10002 |       # dependencies. | 
 | 10003 |       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' | 
 | 10004 |       ;; | 
 | 10005 |     *) | 
 | 10006 |       if test "$GXX" = yes; then | 
 | 10007 |         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' | 
 | 10008 |       else | 
 | 10009 |         # FIXME: insert proper C++ library support | 
 | 10010 |         ld_shlibs_CXX=no | 
 | 10011 |       fi | 
 | 10012 |       ;; | 
 | 10013 |     esac | 
 | 10014 |     ;; | 
 | 10015 |   hpux10*|hpux11*) | 
 | 10016 |     if test $with_gnu_ld = no; then | 
 | 10017 |       case "$host_cpu" in | 
 | 10018 |       hppa*64*) | 
 | 10019 | 	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 
 | 10020 | 	hardcode_libdir_flag_spec_ld_CXX='+b $libdir' | 
 | 10021 | 	hardcode_libdir_separator_CXX=: | 
 | 10022 |         ;; | 
 | 10023 |       ia64*) | 
 | 10024 | 	hardcode_libdir_flag_spec_CXX='-L$libdir' | 
 | 10025 |         ;; | 
 | 10026 |       *) | 
 | 10027 | 	hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 
 | 10028 | 	hardcode_libdir_separator_CXX=: | 
 | 10029 | 	export_dynamic_flag_spec_CXX='${wl}-E' | 
 | 10030 |         ;; | 
 | 10031 |       esac | 
 | 10032 |     fi | 
 | 10033 |     case "$host_cpu" in | 
 | 10034 |     hppa*64*) | 
 | 10035 |       hardcode_direct_CXX=no | 
 | 10036 |       hardcode_shlibpath_var_CXX=no | 
 | 10037 |       ;; | 
 | 10038 |     ia64*) | 
 | 10039 |       hardcode_direct_CXX=no | 
 | 10040 |       hardcode_shlibpath_var_CXX=no | 
 | 10041 |       hardcode_minus_L_CXX=yes # Not in the search PATH, | 
 | 10042 | 					      # but as the default | 
 | 10043 | 					      # location of the library. | 
 | 10044 |       ;; | 
 | 10045 |     *) | 
 | 10046 |       hardcode_direct_CXX=yes | 
 | 10047 |       hardcode_minus_L_CXX=yes # Not in the search PATH, | 
 | 10048 | 					      # but as the default | 
 | 10049 | 					      # location of the library. | 
 | 10050 |       ;; | 
 | 10051 |     esac | 
 | 10052 |  | 
 | 10053 |     case $cc_basename in | 
 | 10054 |       CC) | 
 | 10055 | 	# FIXME: insert proper C++ library support | 
 | 10056 | 	ld_shlibs_CXX=no | 
 | 10057 | 	;; | 
 | 10058 |       aCC) | 
 | 10059 | 	case "$host_cpu" in | 
 | 10060 | 	hppa*64*|ia64*) | 
 | 10061 | 	  archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' | 
 | 10062 | 	  ;; | 
 | 10063 | 	*) | 
 | 10064 | 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
 | 10065 | 	  ;; | 
 | 10066 | 	esac | 
 | 10067 | 	# Commands to make compiler produce verbose output that lists | 
 | 10068 | 	# what "hidden" libraries, object files and flags are used when | 
 | 10069 | 	# linking a shared library. | 
 | 10070 | 	# | 
 | 10071 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 10072 | 	# explicitly linking system object files so we need to strip them | 
 | 10073 | 	# from the output so that they don't get included in the library | 
 | 10074 | 	# dependencies. | 
 | 10075 | 	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' | 
 | 10076 | 	;; | 
 | 10077 |       *) | 
 | 10078 | 	if test "$GXX" = yes; then | 
 | 10079 | 	  if test $with_gnu_ld = no; then | 
 | 10080 | 	    case "$host_cpu" in | 
 | 10081 | 	    ia64*|hppa*64*) | 
 | 10082 | 	      archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' | 
 | 10083 | 	      ;; | 
 | 10084 | 	    *) | 
 | 10085 | 	      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' | 
 | 10086 | 	      ;; | 
 | 10087 | 	    esac | 
 | 10088 | 	  fi | 
 | 10089 | 	else | 
 | 10090 | 	  # FIXME: insert proper C++ library support | 
 | 10091 | 	  ld_shlibs_CXX=no | 
 | 10092 | 	fi | 
 | 10093 | 	;; | 
 | 10094 |     esac | 
 | 10095 |     ;; | 
 | 10096 |   irix5* | irix6*) | 
 | 10097 |     case $cc_basename in | 
 | 10098 |       CC) | 
 | 10099 | 	# SGI C++ | 
 | 10100 | 	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' | 
 | 10101 |  | 
 | 10102 | 	# Archives containing C++ object files must be created using | 
 | 10103 | 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is | 
 | 10104 | 	# necessary to make sure instantiated templates are included | 
 | 10105 | 	# in the archive. | 
 | 10106 | 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' | 
 | 10107 | 	;; | 
 | 10108 |       *) | 
 | 10109 | 	if test "$GXX" = yes; then | 
 | 10110 | 	  if test "$with_gnu_ld" = no; then | 
 | 10111 | 	    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' | 
 | 10112 | 	  else | 
 | 10113 | 	    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' | 
 | 10114 | 	  fi | 
 | 10115 | 	fi | 
 | 10116 | 	link_all_deplibs_CXX=yes | 
 | 10117 | 	;; | 
 | 10118 |     esac | 
 | 10119 |     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
 | 10120 |     hardcode_libdir_separator_CXX=: | 
 | 10121 |     ;; | 
 | 10122 |   linux*) | 
 | 10123 |     case $cc_basename in | 
 | 10124 |       KCC) | 
 | 10125 | 	# Kuck and Associates, Inc. (KAI) C++ Compiler | 
 | 10126 |  | 
 | 10127 | 	# KCC will only create a shared library if the output file | 
 | 10128 | 	# ends with ".so" (or ".sl" for HP-UX), so rename the library | 
 | 10129 | 	# to its proper name (with version) after linking. | 
 | 10130 | 	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' | 
 | 10131 | 	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' | 
 | 10132 | 	# Commands to make compiler produce verbose output that lists | 
 | 10133 | 	# what "hidden" libraries, object files and flags are used when | 
 | 10134 | 	# linking a shared library. | 
 | 10135 | 	# | 
 | 10136 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 10137 | 	# explicitly linking system object files so we need to strip them | 
 | 10138 | 	# from the output so that they don't get included in the library | 
 | 10139 | 	# dependencies. | 
 | 10140 | 	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' | 
 | 10141 |  | 
 | 10142 | 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' | 
 | 10143 | 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
 | 10144 |  | 
 | 10145 | 	# Archives containing C++ object files must be created using | 
 | 10146 | 	# "CC -Bstatic", where "CC" is the KAI C++ compiler. | 
 | 10147 | 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' | 
 | 10148 | 	;; | 
 | 10149 |       icpc) | 
 | 10150 | 	# Intel C++ | 
 | 10151 | 	with_gnu_ld=yes | 
 | 10152 | 	archive_cmds_need_lc_CXX=no | 
 | 10153 | 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 10154 | 	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' | 
 | 10155 | 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
 | 10156 | 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
 | 10157 | 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | 
 | 10158 | 	;; | 
 | 10159 |       cxx) | 
 | 10160 | 	# Compaq C++ | 
 | 10161 | 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 10162 | 	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' | 
 | 10163 |  | 
 | 10164 | 	runpath_var=LD_RUN_PATH | 
 | 10165 | 	hardcode_libdir_flag_spec_CXX='-rpath $libdir' | 
 | 10166 | 	hardcode_libdir_separator_CXX=: | 
 | 10167 |  | 
 | 10168 | 	# Commands to make compiler produce verbose output that lists | 
 | 10169 | 	# what "hidden" libraries, object files and flags are used when | 
 | 10170 | 	# linking a shared library. | 
 | 10171 | 	# | 
 | 10172 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 10173 | 	# explicitly linking system object files so we need to strip them | 
 | 10174 | 	# from the output so that they don't get included in the library | 
 | 10175 | 	# dependencies. | 
 | 10176 | 	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' | 
 | 10177 | 	;; | 
 | 10178 |     esac | 
 | 10179 |     ;; | 
 | 10180 |   lynxos*) | 
 | 10181 |     # FIXME: insert proper C++ library support | 
 | 10182 |     ld_shlibs_CXX=no | 
 | 10183 |     ;; | 
 | 10184 |   m88k*) | 
 | 10185 |     # FIXME: insert proper C++ library support | 
 | 10186 |     ld_shlibs_CXX=no | 
 | 10187 |     ;; | 
 | 10188 |   mvs*) | 
 | 10189 |     case $cc_basename in | 
 | 10190 |       cxx) | 
 | 10191 | 	# FIXME: insert proper C++ library support | 
 | 10192 | 	ld_shlibs_CXX=no | 
 | 10193 | 	;; | 
 | 10194 |       *) | 
 | 10195 | 	# FIXME: insert proper C++ library support | 
 | 10196 | 	ld_shlibs_CXX=no | 
 | 10197 | 	;; | 
 | 10198 |     esac | 
 | 10199 |     ;; | 
 | 10200 |   netbsd*) | 
 | 10201 |     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 10202 |       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' | 
 | 10203 |       wlarc= | 
 | 10204 |       hardcode_libdir_flag_spec_CXX='-R$libdir' | 
 | 10205 |       hardcode_direct_CXX=yes | 
 | 10206 |       hardcode_shlibpath_var_CXX=no | 
 | 10207 |     fi | 
 | 10208 |     # Workaround some broken pre-1.5 toolchains | 
 | 10209 |     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' | 
 | 10210 |     ;; | 
 | 10211 |   osf3*) | 
 | 10212 |     case $cc_basename in | 
 | 10213 |       KCC) | 
 | 10214 | 	# Kuck and Associates, Inc. (KAI) C++ Compiler | 
 | 10215 |  | 
 | 10216 | 	# KCC will only create a shared library if the output file | 
 | 10217 | 	# ends with ".so" (or ".sl" for HP-UX), so rename the library | 
 | 10218 | 	# to its proper name (with version) after linking. | 
 | 10219 | 	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' | 
 | 10220 |  | 
 | 10221 | 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
 | 10222 | 	hardcode_libdir_separator_CXX=: | 
 | 10223 |  | 
 | 10224 | 	# Archives containing C++ object files must be created using | 
 | 10225 | 	# "CC -Bstatic", where "CC" is the KAI C++ compiler. | 
 | 10226 | 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' | 
 | 10227 |  | 
 | 10228 | 	;; | 
 | 10229 |       RCC) | 
 | 10230 | 	# Rational C++ 2.4.1 | 
 | 10231 | 	# FIXME: insert proper C++ library support | 
 | 10232 | 	ld_shlibs_CXX=no | 
 | 10233 | 	;; | 
 | 10234 |       cxx) | 
 | 10235 | 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 
 | 10236 | 	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' | 
 | 10237 |  | 
 | 10238 | 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
 | 10239 | 	hardcode_libdir_separator_CXX=: | 
 | 10240 |  | 
 | 10241 | 	# Commands to make compiler produce verbose output that lists | 
 | 10242 | 	# what "hidden" libraries, object files and flags are used when | 
 | 10243 | 	# linking a shared library. | 
 | 10244 | 	# | 
 | 10245 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 10246 | 	# explicitly linking system object files so we need to strip them | 
 | 10247 | 	# from the output so that they don't get included in the library | 
 | 10248 | 	# dependencies. | 
 | 10249 | 	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' | 
 | 10250 | 	;; | 
 | 10251 |       *) | 
 | 10252 | 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 
 | 10253 | 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 
 | 10254 | 	  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' | 
 | 10255 |  | 
 | 10256 | 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
 | 10257 | 	  hardcode_libdir_separator_CXX=: | 
 | 10258 |  | 
 | 10259 | 	  # Commands to make compiler produce verbose output that lists | 
 | 10260 | 	  # what "hidden" libraries, object files and flags are used when | 
 | 10261 | 	  # linking a shared library. | 
 | 10262 | 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' | 
 | 10263 |  | 
 | 10264 | 	else | 
 | 10265 | 	  # FIXME: insert proper C++ library support | 
 | 10266 | 	  ld_shlibs_CXX=no | 
 | 10267 | 	fi | 
 | 10268 | 	;; | 
 | 10269 |     esac | 
 | 10270 |     ;; | 
 | 10271 |   osf4* | osf5*) | 
 | 10272 |     case $cc_basename in | 
 | 10273 |       KCC) | 
 | 10274 | 	# Kuck and Associates, Inc. (KAI) C++ Compiler | 
 | 10275 |  | 
 | 10276 | 	# KCC will only create a shared library if the output file | 
 | 10277 | 	# ends with ".so" (or ".sl" for HP-UX), so rename the library | 
 | 10278 | 	# to its proper name (with version) after linking. | 
 | 10279 | 	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' | 
 | 10280 |  | 
 | 10281 | 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
 | 10282 | 	hardcode_libdir_separator_CXX=: | 
 | 10283 |  | 
 | 10284 | 	# Archives containing C++ object files must be created using | 
 | 10285 | 	# the KAI C++ compiler. | 
 | 10286 | 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' | 
 | 10287 | 	;; | 
 | 10288 |       RCC) | 
 | 10289 | 	# Rational C++ 2.4.1 | 
 | 10290 | 	# FIXME: insert proper C++ library support | 
 | 10291 | 	ld_shlibs_CXX=no | 
 | 10292 | 	;; | 
 | 10293 |       cxx) | 
 | 10294 | 	allow_undefined_flag_CXX=' -expect_unresolved \*' | 
 | 10295 | 	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' | 
 | 10296 | 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ | 
 | 10297 | 	  echo "-hidden">> $lib.exp~ | 
 | 10298 | 	  $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~ | 
 | 10299 | 	  $rm $lib.exp' | 
 | 10300 |  | 
 | 10301 | 	hardcode_libdir_flag_spec_CXX='-rpath $libdir' | 
 | 10302 | 	hardcode_libdir_separator_CXX=: | 
 | 10303 |  | 
 | 10304 | 	# Commands to make compiler produce verbose output that lists | 
 | 10305 | 	# what "hidden" libraries, object files and flags are used when | 
 | 10306 | 	# linking a shared library. | 
 | 10307 | 	# | 
 | 10308 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 10309 | 	# explicitly linking system object files so we need to strip them | 
 | 10310 | 	# from the output so that they don't get included in the library | 
 | 10311 | 	# dependencies. | 
 | 10312 | 	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' | 
 | 10313 | 	;; | 
 | 10314 |       *) | 
 | 10315 | 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 
 | 10316 | 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 
 | 10317 | 	 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' | 
 | 10318 |  | 
 | 10319 | 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
 | 10320 | 	  hardcode_libdir_separator_CXX=: | 
 | 10321 |  | 
 | 10322 | 	  # Commands to make compiler produce verbose output that lists | 
 | 10323 | 	  # what "hidden" libraries, object files and flags are used when | 
 | 10324 | 	  # linking a shared library. | 
 | 10325 | 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' | 
 | 10326 |  | 
 | 10327 | 	else | 
 | 10328 | 	  # FIXME: insert proper C++ library support | 
 | 10329 | 	  ld_shlibs_CXX=no | 
 | 10330 | 	fi | 
 | 10331 | 	;; | 
 | 10332 |     esac | 
 | 10333 |     ;; | 
 | 10334 |   psos*) | 
 | 10335 |     # FIXME: insert proper C++ library support | 
 | 10336 |     ld_shlibs_CXX=no | 
 | 10337 |     ;; | 
 | 10338 |   sco*) | 
 | 10339 |     archive_cmds_need_lc_CXX=no | 
 | 10340 |     case $cc_basename in | 
 | 10341 |       CC) | 
 | 10342 | 	# FIXME: insert proper C++ library support | 
 | 10343 | 	ld_shlibs_CXX=no | 
 | 10344 | 	;; | 
 | 10345 |       *) | 
 | 10346 | 	# FIXME: insert proper C++ library support | 
 | 10347 | 	ld_shlibs_CXX=no | 
 | 10348 | 	;; | 
 | 10349 |     esac | 
 | 10350 |     ;; | 
 | 10351 |   sunos4*) | 
 | 10352 |     case $cc_basename in | 
 | 10353 |       CC) | 
 | 10354 | 	# Sun C++ 4.x | 
 | 10355 | 	# FIXME: insert proper C++ library support | 
 | 10356 | 	ld_shlibs_CXX=no | 
 | 10357 | 	;; | 
 | 10358 |       lcc) | 
 | 10359 | 	# Lucid | 
 | 10360 | 	# FIXME: insert proper C++ library support | 
 | 10361 | 	ld_shlibs_CXX=no | 
 | 10362 | 	;; | 
 | 10363 |       *) | 
 | 10364 | 	# FIXME: insert proper C++ library support | 
 | 10365 | 	ld_shlibs_CXX=no | 
 | 10366 | 	;; | 
 | 10367 |     esac | 
 | 10368 |     ;; | 
 | 10369 |   solaris*) | 
 | 10370 |     case $cc_basename in | 
 | 10371 |       CC) | 
 | 10372 | 	# Sun C++ 4.2, 5.x and Centerline C++ | 
 | 10373 | 	no_undefined_flag_CXX=' -zdefs' | 
 | 10374 | 	archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
 | 10375 | 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 10376 | 	$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' | 
 | 10377 |  | 
 | 10378 | 	hardcode_libdir_flag_spec_CXX='-R$libdir' | 
 | 10379 | 	hardcode_shlibpath_var_CXX=no | 
 | 10380 | 	case $host_os in | 
 | 10381 | 	  solaris2.0-5 | solaris2.0-5.*) ;; | 
 | 10382 | 	  *) | 
 | 10383 | 	    # The C++ compiler is used as linker so we must use $wl | 
 | 10384 | 	    # flag to pass the commands to the underlying system | 
 | 10385 | 	    # linker. | 
 | 10386 | 	    # Supported since Solaris 2.6 (maybe 2.5.1?) | 
 | 10387 | 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' | 
 | 10388 | 	    ;; | 
 | 10389 | 	esac | 
 | 10390 | 	link_all_deplibs_CXX=yes | 
 | 10391 |  | 
 | 10392 | 	# Commands to make compiler produce verbose output that lists | 
 | 10393 | 	# what "hidden" libraries, object files and flags are used when | 
 | 10394 | 	# linking a shared library. | 
 | 10395 | 	# | 
 | 10396 | 	# There doesn't appear to be a way to prevent this compiler from | 
 | 10397 | 	# explicitly linking system object files so we need to strip them | 
 | 10398 | 	# from the output so that they don't get included in the library | 
 | 10399 | 	# dependencies. | 
 | 10400 | 	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' | 
 | 10401 |  | 
 | 10402 | 	# Archives containing C++ object files must be created using | 
 | 10403 | 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is | 
 | 10404 | 	# necessary to make sure instantiated templates are included | 
 | 10405 | 	# in the archive. | 
 | 10406 | 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' | 
 | 10407 | 	;; | 
 | 10408 |       gcx) | 
 | 10409 | 	# Green Hills C++ Compiler | 
 | 10410 | 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
 | 10411 |  | 
 | 10412 | 	# The C++ compiler must be used to create the archive. | 
 | 10413 | 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' | 
 | 10414 | 	;; | 
 | 10415 |       *) | 
 | 10416 | 	# GNU C++ compiler with Solaris linker | 
 | 10417 | 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 
 | 10418 | 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs' | 
 | 10419 | 	  if $CC --version | grep -v '^2\.7' > /dev/null; then | 
 | 10420 | 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
 | 10421 | 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 10422 | 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | 
 | 10423 |  | 
 | 10424 | 	    # Commands to make compiler produce verbose output that lists | 
 | 10425 | 	    # what "hidden" libraries, object files and flags are used when | 
 | 10426 | 	    # linking a shared library. | 
 | 10427 | 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" | 
 | 10428 | 	  else | 
 | 10429 | 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this | 
 | 10430 | 	    # platform. | 
 | 10431 | 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
 | 10432 | 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 10433 | 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | 
 | 10434 |  | 
 | 10435 | 	    # Commands to make compiler produce verbose output that lists | 
 | 10436 | 	    # what "hidden" libraries, object files and flags are used when | 
 | 10437 | 	    # linking a shared library. | 
 | 10438 | 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" | 
 | 10439 | 	  fi | 
 | 10440 |  | 
 | 10441 | 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' | 
 | 10442 | 	fi | 
 | 10443 | 	;; | 
 | 10444 |     esac | 
 | 10445 |     ;; | 
 | 10446 |   sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) | 
 | 10447 |     archive_cmds_need_lc_CXX=no | 
 | 10448 |     ;; | 
 | 10449 |   tandem*) | 
 | 10450 |     case $cc_basename in | 
 | 10451 |       NCC) | 
 | 10452 | 	# NonStop-UX NCC 3.20 | 
 | 10453 | 	# FIXME: insert proper C++ library support | 
 | 10454 | 	ld_shlibs_CXX=no | 
 | 10455 | 	;; | 
 | 10456 |       *) | 
 | 10457 | 	# FIXME: insert proper C++ library support | 
 | 10458 | 	ld_shlibs_CXX=no | 
 | 10459 | 	;; | 
 | 10460 |     esac | 
 | 10461 |     ;; | 
 | 10462 |   vxworks*) | 
 | 10463 |     # FIXME: insert proper C++ library support | 
 | 10464 |     ld_shlibs_CXX=no | 
 | 10465 |     ;; | 
 | 10466 |   *) | 
 | 10467 |     # FIXME: insert proper C++ library support | 
 | 10468 |     ld_shlibs_CXX=no | 
 | 10469 |     ;; | 
 | 10470 | esac | 
 | 10471 | echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 | 
 | 10472 | echo "${ECHO_T}$ld_shlibs_CXX" >&6 | 
 | 10473 | test "$ld_shlibs_CXX" = no && can_build_shared=no | 
 | 10474 |  | 
 | 10475 | GCC_CXX="$GXX" | 
 | 10476 | LD_CXX="$LD" | 
 | 10477 |  | 
 | 10478 | ## CAVEAT EMPTOR: | 
 | 10479 | ## There is no encapsulation within the following macros, do not change | 
 | 10480 | ## the running order or otherwise move them around unless you know exactly | 
 | 10481 | ## what you are doing... | 
 | 10482 |  | 
 | 10483 | cat > conftest.$ac_ext <<EOF | 
 | 10484 | class Foo | 
 | 10485 | { | 
 | 10486 | public: | 
 | 10487 |   Foo (void) { a = 0; } | 
 | 10488 | private: | 
 | 10489 |   int a; | 
 | 10490 | }; | 
 | 10491 | EOF | 
 | 10492 |  | 
 | 10493 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 10494 |   (eval $ac_compile) 2>&5 | 
 | 10495 |   ac_status=$? | 
 | 10496 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10497 |   (exit $ac_status); }; then | 
 | 10498 |   # Parse the compiler output and extract the necessary | 
 | 10499 |   # objects, libraries and library flags. | 
 | 10500 |  | 
 | 10501 |   # Sentinel used to keep track of whether or not we are before | 
 | 10502 |   # the conftest object file. | 
 | 10503 |   pre_test_object_deps_done=no | 
 | 10504 |  | 
 | 10505 |   # The `*' in the case matches for architectures that use `case' in | 
 | 10506 |   # $output_verbose_cmd can trigger glob expansion during the loop | 
 | 10507 |   # eval without this substitution. | 
 | 10508 |   output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" | 
 | 10509 |  | 
 | 10510 |   for p in `eval $output_verbose_link_cmd`; do | 
 | 10511 |     case $p in | 
 | 10512 |  | 
 | 10513 |     -L* | -R* | -l*) | 
 | 10514 |        # Some compilers place space between "-{L,R}" and the path. | 
 | 10515 |        # Remove the space. | 
 | 10516 |        if test $p = "-L" \ | 
 | 10517 | 	  || test $p = "-R"; then | 
 | 10518 | 	 prev=$p | 
 | 10519 | 	 continue | 
 | 10520 |        else | 
 | 10521 | 	 prev= | 
 | 10522 |        fi | 
 | 10523 |  | 
 | 10524 |        if test "$pre_test_object_deps_done" = no; then | 
 | 10525 | 	 case $p in | 
 | 10526 | 	 -L* | -R*) | 
 | 10527 | 	   # Internal compiler library paths should come after those | 
 | 10528 | 	   # provided the user.  The postdeps already come after the | 
 | 10529 | 	   # user supplied libs so there is no need to process them. | 
 | 10530 | 	   if test -z "$compiler_lib_search_path_CXX"; then | 
 | 10531 | 	     compiler_lib_search_path_CXX="${prev}${p}" | 
 | 10532 | 	   else | 
 | 10533 | 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" | 
 | 10534 | 	   fi | 
 | 10535 | 	   ;; | 
 | 10536 | 	 # The "-l" case would never come before the object being | 
 | 10537 | 	 # linked, so don't bother handling this case. | 
 | 10538 | 	 esac | 
 | 10539 |        else | 
 | 10540 | 	 if test -z "$postdeps_CXX"; then | 
 | 10541 | 	   postdeps_CXX="${prev}${p}" | 
 | 10542 | 	 else | 
 | 10543 | 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}" | 
 | 10544 | 	 fi | 
 | 10545 |        fi | 
 | 10546 |        ;; | 
 | 10547 |  | 
 | 10548 |     *.$objext) | 
 | 10549 |        # This assumes that the test object file only shows up | 
 | 10550 |        # once in the compiler output. | 
 | 10551 |        if test "$p" = "conftest.$objext"; then | 
 | 10552 | 	 pre_test_object_deps_done=yes | 
 | 10553 | 	 continue | 
 | 10554 |        fi | 
 | 10555 |  | 
 | 10556 |        if test "$pre_test_object_deps_done" = no; then | 
 | 10557 | 	 if test -z "$predep_objects_CXX"; then | 
 | 10558 | 	   predep_objects_CXX="$p" | 
 | 10559 | 	 else | 
 | 10560 | 	   predep_objects_CXX="$predep_objects_CXX $p" | 
 | 10561 | 	 fi | 
 | 10562 |        else | 
 | 10563 | 	 if test -z "$postdep_objects_CXX"; then | 
 | 10564 | 	   postdep_objects_CXX="$p" | 
 | 10565 | 	 else | 
 | 10566 | 	   postdep_objects_CXX="$postdep_objects_CXX $p" | 
 | 10567 | 	 fi | 
 | 10568 |        fi | 
 | 10569 |        ;; | 
 | 10570 |  | 
 | 10571 |     *) ;; # Ignore the rest. | 
 | 10572 |  | 
 | 10573 |     esac | 
 | 10574 |   done | 
 | 10575 |  | 
 | 10576 |   # Clean up. | 
 | 10577 |   rm -f a.out a.exe | 
 | 10578 | else | 
 | 10579 |   echo "libtool.m4: error: problem compiling CXX test program" | 
 | 10580 | fi | 
 | 10581 |  | 
 | 10582 | $rm -f confest.$objext | 
 | 10583 |  | 
 | 10584 | case " $postdeps_CXX " in | 
 | 10585 | *" -lc "*) archive_cmds_need_lc_CXX=no ;; | 
 | 10586 | esac | 
 | 10587 |  | 
 | 10588 | lt_prog_compiler_wl_CXX= | 
 | 10589 | lt_prog_compiler_pic_CXX= | 
 | 10590 | lt_prog_compiler_static_CXX= | 
 | 10591 |  | 
 | 10592 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
 | 10593 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
 | 10594 |  | 
 | 10595 |   # C++ specific cases for pic, static, wl, etc. | 
 | 10596 |   if test "$GXX" = yes; then | 
 | 10597 |     lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10598 |     lt_prog_compiler_static_CXX='-static' | 
 | 10599 |  | 
 | 10600 |     case $host_os in | 
 | 10601 |     aix*) | 
 | 10602 |       # All AIX code is PIC. | 
 | 10603 |       if test "$host_cpu" = ia64; then | 
 | 10604 | 	# AIX 5 now supports IA64 processor | 
 | 10605 | 	lt_prog_compiler_static_CXX='-Bstatic' | 
 | 10606 |       fi | 
 | 10607 |       ;; | 
 | 10608 |     amigaos*) | 
 | 10609 |       # FIXME: we need at least 68020 code to build shared libraries, but | 
 | 10610 |       # adding the `-m68020' flag to GCC prevents building anything better, | 
 | 10611 |       # like `-m68040'. | 
 | 10612 |       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' | 
 | 10613 |       ;; | 
 | 10614 |     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
 | 10615 |       # PIC is the default for these OSes. | 
 | 10616 |       ;; | 
 | 10617 |     mingw* | os2* | pw32*) | 
 | 10618 |       # This hack is so that the source file can tell whether it is being | 
 | 10619 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 10620 |       lt_prog_compiler_pic_CXX='-DDLL_EXPORT' | 
 | 10621 |       ;; | 
 | 10622 |     darwin* | rhapsody*) | 
 | 10623 |       # PIC is the default on this platform | 
 | 10624 |       # Common symbols not allowed in MH_DYLIB files | 
 | 10625 |       lt_prog_compiler_pic_CXX='-fno-common' | 
 | 10626 |       ;; | 
 | 10627 |     *djgpp*) | 
 | 10628 |       # DJGPP does not support shared libraries at all | 
 | 10629 |       lt_prog_compiler_pic_CXX= | 
 | 10630 |       ;; | 
 | 10631 |     sysv4*MP*) | 
 | 10632 |       if test -d /usr/nec; then | 
 | 10633 | 	lt_prog_compiler_pic_CXX=-Kconform_pic | 
 | 10634 |       fi | 
 | 10635 |       ;; | 
 | 10636 |     hpux*) | 
 | 10637 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 10638 |       # not for PA HP-UX. | 
 | 10639 |       case "$host_cpu" in | 
 | 10640 |       hppa*64*|ia64*) | 
 | 10641 | 	;; | 
 | 10642 |       *) | 
 | 10643 | 	lt_prog_compiler_pic_CXX='-fPIC' | 
 | 10644 | 	;; | 
 | 10645 |       esac | 
 | 10646 |       ;; | 
 | 10647 |     *) | 
 | 10648 |       lt_prog_compiler_pic_CXX='-fPIC' | 
 | 10649 |       ;; | 
 | 10650 |     esac | 
 | 10651 |   else | 
 | 10652 |     case $host_os in | 
 | 10653 |       aix4* | aix5*) | 
 | 10654 | 	# All AIX code is PIC. | 
 | 10655 | 	if test "$host_cpu" = ia64; then | 
 | 10656 | 	  # AIX 5 now supports IA64 processor | 
 | 10657 | 	  lt_prog_compiler_static_CXX='-Bstatic' | 
 | 10658 | 	else | 
 | 10659 | 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' | 
 | 10660 | 	fi | 
 | 10661 | 	;; | 
 | 10662 |       chorus*) | 
 | 10663 | 	case $cc_basename in | 
 | 10664 | 	cxch68) | 
 | 10665 | 	  # Green Hills C++ Compiler | 
 | 10666 | 	  # _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" | 
 | 10667 | 	  ;; | 
 | 10668 | 	esac | 
 | 10669 | 	;; | 
 | 10670 |       dgux*) | 
 | 10671 | 	case $cc_basename in | 
 | 10672 | 	  ec++) | 
 | 10673 | 	    lt_prog_compiler_pic_CXX='-KPIC' | 
 | 10674 | 	    ;; | 
 | 10675 | 	  ghcx) | 
 | 10676 | 	    # Green Hills C++ Compiler | 
 | 10677 | 	    lt_prog_compiler_pic_CXX='-pic' | 
 | 10678 | 	    ;; | 
 | 10679 | 	  *) | 
 | 10680 | 	    ;; | 
 | 10681 | 	esac | 
 | 10682 | 	;; | 
 | 10683 |       freebsd*) | 
 | 10684 | 	# FreeBSD uses GNU C++ | 
 | 10685 | 	;; | 
 | 10686 |       hpux9* | hpux10* | hpux11*) | 
 | 10687 | 	case $cc_basename in | 
 | 10688 | 	  CC) | 
 | 10689 | 	    lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10690 | 	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" | 
 | 10691 | 	    if test "$host_cpu" != ia64; then | 
 | 10692 | 	      lt_prog_compiler_pic_CXX='+Z' | 
 | 10693 | 	    fi | 
 | 10694 | 	    ;; | 
 | 10695 | 	  aCC) | 
 | 10696 | 	    lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10697 | 	    lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" | 
 | 10698 | 	    case "$host_cpu" in | 
 | 10699 | 	    hppa*64*|ia64*) | 
 | 10700 | 	      # +Z the default | 
 | 10701 | 	      ;; | 
 | 10702 | 	    *) | 
 | 10703 | 	      lt_prog_compiler_pic_CXX='+Z' | 
 | 10704 | 	      ;; | 
 | 10705 | 	    esac | 
 | 10706 | 	    ;; | 
 | 10707 | 	  *) | 
 | 10708 | 	    ;; | 
 | 10709 | 	esac | 
 | 10710 | 	;; | 
 | 10711 |       irix5* | irix6* | nonstopux*) | 
 | 10712 | 	case $cc_basename in | 
 | 10713 | 	  CC) | 
 | 10714 | 	    lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10715 | 	    lt_prog_compiler_static_CXX='-non_shared' | 
 | 10716 | 	    # CC pic flag -KPIC is the default. | 
 | 10717 | 	    ;; | 
 | 10718 | 	  *) | 
 | 10719 | 	    ;; | 
 | 10720 | 	esac | 
 | 10721 | 	;; | 
 | 10722 |       linux*) | 
 | 10723 | 	case $cc_basename in | 
 | 10724 | 	  KCC) | 
 | 10725 | 	    # KAI C++ Compiler | 
 | 10726 | 	    lt_prog_compiler_wl_CXX='--backend -Wl,' | 
 | 10727 | 	    lt_prog_compiler_pic_CXX='-fPIC' | 
 | 10728 | 	    ;; | 
 | 10729 | 	  icpc) | 
 | 10730 | 	    # Intel C++ | 
 | 10731 | 	    lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10732 | 	    lt_prog_compiler_pic_CXX='-KPIC' | 
 | 10733 | 	    lt_prog_compiler_static_CXX='-static' | 
 | 10734 | 	    ;; | 
 | 10735 | 	  cxx) | 
 | 10736 | 	    # Compaq C++ | 
 | 10737 | 	    # Make sure the PIC flag is empty.  It appears that all Alpha | 
 | 10738 | 	    # Linux and Compaq Tru64 Unix objects are PIC. | 
 | 10739 | 	    lt_prog_compiler_pic_CXX= | 
 | 10740 | 	    lt_prog_compiler_static_CXX='-non_shared' | 
 | 10741 | 	    ;; | 
 | 10742 | 	  *) | 
 | 10743 | 	    ;; | 
 | 10744 | 	esac | 
 | 10745 | 	;; | 
 | 10746 |       lynxos*) | 
 | 10747 | 	;; | 
 | 10748 |       m88k*) | 
 | 10749 | 	;; | 
 | 10750 |       mvs*) | 
 | 10751 | 	case $cc_basename in | 
 | 10752 | 	  cxx) | 
 | 10753 | 	    lt_prog_compiler_pic_CXX='-W c,exportall' | 
 | 10754 | 	    ;; | 
 | 10755 | 	  *) | 
 | 10756 | 	    ;; | 
 | 10757 | 	esac | 
 | 10758 | 	;; | 
 | 10759 |       netbsd*) | 
 | 10760 | 	;; | 
 | 10761 |       osf3* | osf4* | osf5*) | 
 | 10762 | 	case $cc_basename in | 
 | 10763 | 	  KCC) | 
 | 10764 | 	    lt_prog_compiler_wl_CXX='--backend -Wl,' | 
 | 10765 | 	    ;; | 
 | 10766 | 	  RCC) | 
 | 10767 | 	    # Rational C++ 2.4.1 | 
 | 10768 | 	    lt_prog_compiler_pic_CXX='-pic' | 
 | 10769 | 	    ;; | 
 | 10770 | 	  cxx) | 
 | 10771 | 	    # Digital/Compaq C++ | 
 | 10772 | 	    lt_prog_compiler_wl_CXX='-Wl,' | 
 | 10773 | 	    # Make sure the PIC flag is empty.  It appears that all Alpha | 
 | 10774 | 	    # Linux and Compaq Tru64 Unix objects are PIC. | 
 | 10775 | 	    lt_prog_compiler_pic_CXX= | 
 | 10776 | 	    lt_prog_compiler_static_CXX='-non_shared' | 
 | 10777 | 	    ;; | 
 | 10778 | 	  *) | 
 | 10779 | 	    ;; | 
 | 10780 | 	esac | 
 | 10781 | 	;; | 
 | 10782 |       psos*) | 
 | 10783 | 	;; | 
 | 10784 |       sco*) | 
 | 10785 | 	case $cc_basename in | 
 | 10786 | 	  CC) | 
 | 10787 | 	    lt_prog_compiler_pic_CXX='-fPIC' | 
 | 10788 | 	    ;; | 
 | 10789 | 	  *) | 
 | 10790 | 	    ;; | 
 | 10791 | 	esac | 
 | 10792 | 	;; | 
 | 10793 |       solaris*) | 
 | 10794 | 	case $cc_basename in | 
 | 10795 | 	  CC) | 
 | 10796 | 	    # Sun C++ 4.2, 5.x and Centerline C++ | 
 | 10797 | 	    lt_prog_compiler_pic_CXX='-KPIC' | 
 | 10798 | 	    lt_prog_compiler_static_CXX='-Bstatic' | 
 | 10799 | 	    lt_prog_compiler_wl_CXX='-Qoption ld ' | 
 | 10800 | 	    ;; | 
 | 10801 | 	  gcx) | 
 | 10802 | 	    # Green Hills C++ Compiler | 
 | 10803 | 	    lt_prog_compiler_pic_CXX='-PIC' | 
 | 10804 | 	    ;; | 
 | 10805 | 	  *) | 
 | 10806 | 	    ;; | 
 | 10807 | 	esac | 
 | 10808 | 	;; | 
 | 10809 |       sunos4*) | 
 | 10810 | 	case $cc_basename in | 
 | 10811 | 	  CC) | 
 | 10812 | 	    # Sun C++ 4.x | 
 | 10813 | 	    lt_prog_compiler_pic_CXX='-pic' | 
 | 10814 | 	    lt_prog_compiler_static_CXX='-Bstatic' | 
 | 10815 | 	    ;; | 
 | 10816 | 	  lcc) | 
 | 10817 | 	    # Lucid | 
 | 10818 | 	    lt_prog_compiler_pic_CXX='-pic' | 
 | 10819 | 	    ;; | 
 | 10820 | 	  *) | 
 | 10821 | 	    ;; | 
 | 10822 | 	esac | 
 | 10823 | 	;; | 
 | 10824 |       tandem*) | 
 | 10825 | 	case $cc_basename in | 
 | 10826 | 	  NCC) | 
 | 10827 | 	    # NonStop-UX NCC 3.20 | 
 | 10828 | 	    lt_prog_compiler_pic_CXX='-KPIC' | 
 | 10829 | 	    ;; | 
 | 10830 | 	  *) | 
 | 10831 | 	    ;; | 
 | 10832 | 	esac | 
 | 10833 | 	;; | 
 | 10834 |       unixware*) | 
 | 10835 | 	;; | 
 | 10836 |       vxworks*) | 
 | 10837 | 	;; | 
 | 10838 |       *) | 
 | 10839 | 	lt_prog_compiler_can_build_shared_CXX=no | 
 | 10840 | 	;; | 
 | 10841 |     esac | 
 | 10842 |   fi | 
 | 10843 |  | 
 | 10844 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 | 
 | 10845 | echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 | 
 | 10846 |  | 
 | 10847 | # | 
 | 10848 | # Check to make sure the PIC flag actually works. | 
 | 10849 | # | 
 | 10850 | if test -n "$lt_prog_compiler_pic_CXX"; then | 
 | 10851 |   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 | 
 | 10852 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 | 
 | 10853 | if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then | 
 | 10854 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10855 | else | 
 | 10856 |   lt_prog_compiler_pic_works_CXX=no | 
 | 10857 |   ac_outfile=conftest.$ac_objext | 
 | 10858 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 10859 |    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" | 
 | 10860 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 10861 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 10862 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 10863 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 10864 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 10865 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 10866 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 10867 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 10868 |    -e 's:$: $lt_compiler_flag:'` | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 10869 |    (eval echo "\"\$as_me:10869: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10870 |    (eval "$lt_compile" 2>conftest.err) | 
 | 10871 |    ac_status=$? | 
 | 10872 |    cat conftest.err >&5 | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 10873 |    echo "$as_me:10873: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10874 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 10875 |      # The compiler can only warn and ignore the option if not recognized | 
 | 10876 |      # So say no if there are warnings | 
 | 10877 |      if test ! -s conftest.err; then | 
 | 10878 |        lt_prog_compiler_pic_works_CXX=yes | 
 | 10879 |      fi | 
 | 10880 |    fi | 
 | 10881 |    $rm conftest* | 
 | 10882 |  | 
 | 10883 | fi | 
 | 10884 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 | 
 | 10885 | echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 | 
 | 10886 |  | 
 | 10887 | if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then | 
 | 10888 |     case $lt_prog_compiler_pic_CXX in | 
 | 10889 |      "" | " "*) ;; | 
 | 10890 |      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; | 
 | 10891 |      esac | 
 | 10892 | else | 
 | 10893 |     lt_prog_compiler_pic_CXX= | 
 | 10894 |      lt_prog_compiler_can_build_shared_CXX=no | 
 | 10895 | fi | 
 | 10896 |  | 
 | 10897 | fi | 
 | 10898 | case "$host_os" in | 
 | 10899 |   # For platforms which do not support PIC, -DPIC is meaningless: | 
 | 10900 |   *djgpp*) | 
 | 10901 |     lt_prog_compiler_pic_CXX= | 
 | 10902 |     ;; | 
 | 10903 |   *) | 
 | 10904 |     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" | 
 | 10905 |     ;; | 
 | 10906 | esac | 
 | 10907 |  | 
 | 10908 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
 | 10909 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
 | 10910 | if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then | 
 | 10911 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10912 | else | 
 | 10913 |   lt_cv_prog_compiler_c_o_CXX=no | 
 | 10914 |    $rm -r conftest 2>/dev/null | 
 | 10915 |    mkdir conftest | 
 | 10916 |    cd conftest | 
 | 10917 |    mkdir out | 
 | 10918 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 10919 |  | 
 | 10920 |    # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
 | 10921 |    # that will create temporary files in the current directory regardless of | 
 | 10922 |    # the output directory.  Thus, making CWD read-only will cause this test | 
 | 10923 |    # to fail, enabling locking or at least warning the user not to do parallel | 
 | 10924 |    # builds. | 
 | 10925 |    chmod -w . | 
 | 10926 |  | 
 | 10927 |    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
 | 10928 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 10929 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 10930 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 10931 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 10932 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 10933 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 10934 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 10935 |    -e 's:$: $lt_compiler_flag:'` | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 10936 |    (eval echo "\"\$as_me:10936: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10937 |    (eval "$lt_compile" 2>out/conftest.err) | 
 | 10938 |    ac_status=$? | 
 | 10939 |    cat out/conftest.err >&5 | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 10940 |    echo "$as_me:10940: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10941 |    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
 | 10942 |    then | 
 | 10943 |      # The compiler can only warn and ignore the option if not recognized | 
 | 10944 |      # So say no if there are warnings | 
 | 10945 |      if test ! -s out/conftest.err; then | 
 | 10946 |        lt_cv_prog_compiler_c_o_CXX=yes | 
 | 10947 |      fi | 
 | 10948 |    fi | 
 | 10949 |    chmod u+w . | 
 | 10950 |    $rm conftest* out/* | 
 | 10951 |    rmdir out | 
 | 10952 |    cd .. | 
 | 10953 |    rmdir conftest | 
 | 10954 |    $rm conftest* | 
 | 10955 |  | 
 | 10956 | fi | 
 | 10957 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 | 
 | 10958 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 | 
 | 10959 |  | 
 | 10960 |  | 
 | 10961 | hard_links="nottested" | 
 | 10962 | if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then | 
 | 10963 |   # do not overwrite the value of need_locks provided by the user | 
 | 10964 |   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
 | 10965 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
 | 10966 |   hard_links=yes | 
 | 10967 |   $rm conftest* | 
 | 10968 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 10969 |   touch conftest.a | 
 | 10970 |   ln conftest.a conftest.b 2>&5 || hard_links=no | 
 | 10971 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 10972 |   echo "$as_me:$LINENO: result: $hard_links" >&5 | 
 | 10973 | echo "${ECHO_T}$hard_links" >&6 | 
 | 10974 |   if test "$hard_links" = no; then | 
 | 10975 |     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
 | 10976 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
 | 10977 |     need_locks=warn | 
 | 10978 |   fi | 
 | 10979 | else | 
 | 10980 |   need_locks=no | 
 | 10981 | fi | 
 | 10982 |  | 
 | 10983 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
 | 10984 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 10985 |  | 
 | 10986 |   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 10987 |   case $host_os in | 
 | 10988 |   aix4* | aix5*) | 
 | 10989 |     # If we're using GNU nm, then we don't want the "-C" option. | 
 | 10990 |     # -C means demangle to AIX nm, but means don't demangle with GNU nm | 
 | 10991 |     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
 | 10992 |       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' | 
 | 10993 |     else | 
 | 10994 |       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' | 
 | 10995 |     fi | 
 | 10996 |     ;; | 
 | 10997 |   pw32*) | 
 | 10998 |     export_symbols_cmds_CXX="$ltdll_cmds" | 
 | 10999 |   ;; | 
 | 11000 |   cygwin* | mingw*) | 
 | 11001 |     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 11002 |   ;; | 
 | 11003 |   *) | 
 | 11004 |     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 11005 |   ;; | 
 | 11006 |   esac | 
 | 11007 |  | 
 | 11008 | echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 | 
 | 11009 | echo "${ECHO_T}$ld_shlibs_CXX" >&6 | 
 | 11010 | test "$ld_shlibs_CXX" = no && can_build_shared=no | 
 | 11011 |  | 
 | 11012 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
 | 11013 | if test "$GCC" = yes; then | 
 | 11014 |   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
 | 11015 | fi | 
 | 11016 |  | 
 | 11017 | # | 
 | 11018 | # Do we need to explicitly link libc? | 
 | 11019 | # | 
 | 11020 | case "x$archive_cmds_need_lc_CXX" in | 
 | 11021 | x|xyes) | 
 | 11022 |   # Assume -lc should be added | 
 | 11023 |   archive_cmds_need_lc_CXX=yes | 
 | 11024 |  | 
 | 11025 |   if test "$enable_shared" = yes && test "$GCC" = yes; then | 
 | 11026 |     case $archive_cmds_CXX in | 
 | 11027 |     *'~'*) | 
 | 11028 |       # FIXME: we may have to deal with multi-command sequences. | 
 | 11029 |       ;; | 
 | 11030 |     '$CC '*) | 
 | 11031 |       # Test whether the compiler implicitly links with -lc since on some | 
 | 11032 |       # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
 | 11033 |       # to ld, don't add -lc before -lgcc. | 
 | 11034 |       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
 | 11035 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
 | 11036 |       $rm conftest* | 
 | 11037 |       printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 11038 |  | 
 | 11039 |       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 11040 |   (eval $ac_compile) 2>&5 | 
 | 11041 |   ac_status=$? | 
 | 11042 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11043 |   (exit $ac_status); } 2>conftest.err; then | 
 | 11044 |         soname=conftest | 
 | 11045 |         lib=conftest | 
 | 11046 |         libobjs=conftest.$ac_objext | 
 | 11047 |         deplibs= | 
 | 11048 |         wl=$lt_prog_compiler_wl_CXX | 
 | 11049 |         compiler_flags=-v | 
 | 11050 |         linker_flags=-v | 
 | 11051 |         verstring= | 
 | 11052 |         output_objdir=. | 
 | 11053 |         libname=conftest | 
 | 11054 |         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX | 
 | 11055 |         allow_undefined_flag_CXX= | 
 | 11056 |         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
 | 11057 |   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
 | 11058 |   ac_status=$? | 
 | 11059 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11060 |   (exit $ac_status); } | 
 | 11061 |         then | 
 | 11062 | 	  archive_cmds_need_lc_CXX=no | 
 | 11063 |         else | 
 | 11064 | 	  archive_cmds_need_lc_CXX=yes | 
 | 11065 |         fi | 
 | 11066 |         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag | 
 | 11067 |       else | 
 | 11068 |         cat conftest.err 1>&5 | 
 | 11069 |       fi | 
 | 11070 |       $rm conftest* | 
 | 11071 |       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 | 
 | 11072 | echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 | 
 | 11073 |       ;; | 
 | 11074 |     esac | 
 | 11075 |   fi | 
 | 11076 |   ;; | 
 | 11077 | esac | 
 | 11078 |  | 
 | 11079 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
 | 11080 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
 | 11081 | hardcode_action_CXX= | 
 | 11082 | if test -n "$hardcode_libdir_flag_spec_CXX" || \ | 
 | 11083 |    test -n "$runpath_var CXX" || \ | 
 | 11084 |    test "X$hardcode_automatic_CXX"="Xyes" ; then | 
 | 11085 |  | 
 | 11086 |   # We can hardcode non-existant directories. | 
 | 11087 |   if test "$hardcode_direct_CXX" != no && | 
 | 11088 |      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
 | 11089 |      # have to relink, otherwise we might link with an installed library | 
 | 11090 |      # when we should be linking with a yet-to-be-installed one | 
 | 11091 |      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && | 
 | 11092 |      test "$hardcode_minus_L_CXX" != no; then | 
 | 11093 |     # Linking always hardcodes the temporary library directory. | 
 | 11094 |     hardcode_action_CXX=relink | 
 | 11095 |   else | 
 | 11096 |     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
 | 11097 |     hardcode_action_CXX=immediate | 
 | 11098 |   fi | 
 | 11099 | else | 
 | 11100 |   # We cannot hardcode anything, or else we can only hardcode existing | 
 | 11101 |   # directories. | 
 | 11102 |   hardcode_action_CXX=unsupported | 
 | 11103 | fi | 
 | 11104 | echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 | 
 | 11105 | echo "${ECHO_T}$hardcode_action_CXX" >&6 | 
 | 11106 |  | 
 | 11107 | if test "$hardcode_action_CXX" = relink; then | 
 | 11108 |   # Fast installation is not supported | 
 | 11109 |   enable_fast_install=no | 
 | 11110 | elif test "$shlibpath_overrides_runpath" = yes || | 
 | 11111 |      test "$enable_shared" = no; then | 
 | 11112 |   # Fast installation is not necessary | 
 | 11113 |   enable_fast_install=needless | 
 | 11114 | fi | 
 | 11115 |  | 
 | 11116 | striplib= | 
 | 11117 | old_striplib= | 
 | 11118 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
 | 11119 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
 | 11120 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
 | 11121 |   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
 | 11122 |   test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
 | 11123 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 11124 | echo "${ECHO_T}yes" >&6 | 
 | 11125 | else | 
 | 11126 | # FIXME - insert some real tests, host_os isn't really good enough | 
 | 11127 |   case $host_os in | 
 | 11128 |    darwin*) | 
 | 11129 |        if test -n "$STRIP" ; then | 
 | 11130 |          striplib="$STRIP -x" | 
 | 11131 |          echo "$as_me:$LINENO: result: yes" >&5 | 
 | 11132 | echo "${ECHO_T}yes" >&6 | 
 | 11133 |        else | 
 | 11134 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 11135 | echo "${ECHO_T}no" >&6 | 
 | 11136 | fi | 
 | 11137 |        ;; | 
 | 11138 |    *) | 
 | 11139 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 11140 | echo "${ECHO_T}no" >&6 | 
 | 11141 |     ;; | 
 | 11142 |   esac | 
 | 11143 | fi | 
 | 11144 |  | 
 | 11145 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
 | 11146 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
 | 11147 | library_names_spec= | 
 | 11148 | libname_spec='lib$name' | 
 | 11149 | soname_spec= | 
 | 11150 | shrext=".so" | 
 | 11151 | postinstall_cmds= | 
 | 11152 | postuninstall_cmds= | 
 | 11153 | finish_cmds= | 
 | 11154 | finish_eval= | 
 | 11155 | shlibpath_var= | 
 | 11156 | shlibpath_overrides_runpath=unknown | 
 | 11157 | version_type=none | 
 | 11158 | dynamic_linker="$host_os ld.so" | 
 | 11159 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
 | 11160 | if test "$GCC" = yes; then | 
 | 11161 |   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 11162 |   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
 | 11163 |     # if the path contains ";" then we assume it to be the separator | 
 | 11164 |     # otherwise default to the standard path separator (i.e. ":") - it is | 
 | 11165 |     # assumed that no part of a normal pathname contains ";" but that should | 
 | 11166 |     # okay in the real world where ";" in dirpaths is itself problematic. | 
 | 11167 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 11168 |   else | 
 | 11169 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 11170 |   fi | 
 | 11171 | else | 
 | 11172 |   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
 | 11173 | fi | 
 | 11174 | need_lib_prefix=unknown | 
 | 11175 | hardcode_into_libs=no | 
 | 11176 |  | 
 | 11177 | # when you set need_version to no, make sure it does not cause -set_version | 
 | 11178 | # flags to be left without arguments | 
 | 11179 | need_version=unknown | 
 | 11180 |  | 
 | 11181 | case $host_os in | 
 | 11182 | aix3*) | 
 | 11183 |   version_type=linux | 
 | 11184 |   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
 | 11185 |   shlibpath_var=LIBPATH | 
 | 11186 |  | 
 | 11187 |   # AIX 3 has no versioning support, so we append a major version to the name. | 
 | 11188 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11189 |   ;; | 
 | 11190 |  | 
 | 11191 | aix4* | aix5*) | 
 | 11192 |   version_type=linux | 
 | 11193 |   need_lib_prefix=no | 
 | 11194 |   need_version=no | 
 | 11195 |   hardcode_into_libs=yes | 
 | 11196 |   if test "$host_cpu" = ia64; then | 
 | 11197 |     # AIX 5 supports IA64 | 
 | 11198 |     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
 | 11199 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 11200 |   else | 
 | 11201 |     # With GCC up to 2.95.x, collect2 would create an import file | 
 | 11202 |     # for dependence libraries.  The import file would start with | 
 | 11203 |     # the line `#! .'.  This would cause the generated library to | 
 | 11204 |     # depend on `.', always an invalid library.  This was fixed in | 
 | 11205 |     # development snapshots of GCC prior to 3.0. | 
 | 11206 |     case $host_os in | 
 | 11207 |       aix4 | aix4.[01] | aix4.[01].*) | 
 | 11208 |       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
 | 11209 | 	   echo ' yes ' | 
 | 11210 | 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
 | 11211 | 	: | 
 | 11212 |       else | 
 | 11213 | 	can_build_shared=no | 
 | 11214 |       fi | 
 | 11215 |       ;; | 
 | 11216 |     esac | 
 | 11217 |     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
 | 11218 |     # soname into executable. Probably we can add versioning support to | 
 | 11219 |     # collect2, so additional links can be useful in future. | 
 | 11220 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 11221 |       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
 | 11222 |       # instead of lib<name>.a to let people know that these are not | 
 | 11223 |       # typical AIX shared libraries. | 
 | 11224 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11225 |     else | 
 | 11226 |       # We preserve .a as extension for shared libraries through AIX4.2 | 
 | 11227 |       # and later when we are not doing run time linking. | 
 | 11228 |       library_names_spec='${libname}${release}.a $libname.a' | 
 | 11229 |       soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11230 |     fi | 
 | 11231 |     shlibpath_var=LIBPATH | 
 | 11232 |   fi | 
 | 11233 |   ;; | 
 | 11234 |  | 
 | 11235 | amigaos*) | 
 | 11236 |   library_names_spec='$libname.ixlibrary $libname.a' | 
 | 11237 |   # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
 | 11238 |   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' | 
 | 11239 |   ;; | 
 | 11240 |  | 
 | 11241 | beos*) | 
 | 11242 |   library_names_spec='${libname}${shared_ext}' | 
 | 11243 |   dynamic_linker="$host_os ld.so" | 
 | 11244 |   shlibpath_var=LIBRARY_PATH | 
 | 11245 |   ;; | 
 | 11246 |  | 
 | 11247 | bsdi4*) | 
 | 11248 |   version_type=linux | 
 | 11249 |   need_version=no | 
 | 11250 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11251 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11252 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
 | 11253 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11254 |   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
 | 11255 |   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
 | 11256 |   # the default ld.so.conf also contains /usr/contrib/lib and | 
 | 11257 |   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
 | 11258 |   # libtool to hard-code these into programs | 
 | 11259 |   ;; | 
 | 11260 |  | 
 | 11261 | cygwin* | mingw* | pw32*) | 
 | 11262 |   version_type=windows | 
 | 11263 |   shrext=".dll" | 
 | 11264 |   need_version=no | 
 | 11265 |   need_lib_prefix=no | 
 | 11266 |  | 
 | 11267 |   case $GCC,$host_os in | 
 | 11268 |   yes,cygwin* | yes,mingw* | yes,pw32*) | 
 | 11269 |     library_names_spec='$libname.dll.a' | 
 | 11270 |     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
 | 11271 |     postinstall_cmds='base_file=`basename \${file}`~ | 
 | 11272 |       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
 | 11273 |       dldir=$destdir/`dirname \$dlpath`~ | 
 | 11274 |       test -d \$dldir || mkdir -p \$dldir~ | 
 | 11275 |       $install_prog $dir/$dlname \$dldir/$dlname' | 
 | 11276 |     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
 | 11277 |       dlpath=$dir/\$dldll~ | 
 | 11278 |        $rm \$dlpath' | 
 | 11279 |     shlibpath_overrides_runpath=yes | 
 | 11280 |  | 
 | 11281 |     case $host_os in | 
 | 11282 |     cygwin*) | 
 | 11283 |       # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
 | 11284 |       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 11285 |       sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
 | 11286 |       ;; | 
 | 11287 |     mingw*) | 
 | 11288 |       # MinGW DLLs use traditional 'lib' prefix | 
 | 11289 |       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 11290 |       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 11291 |       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
 | 11292 |         # It is most probably a Windows format PATH printed by | 
 | 11293 |         # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
 | 11294 |         # path with ; separators, and with drive letters. We can handle the | 
 | 11295 |         # drive letters (cygwin fileutils understands them), so leave them, | 
 | 11296 |         # especially as we might pass files found there to a mingw objdump, | 
 | 11297 |         # which wouldn't understand a cygwinified path. Ahh. | 
 | 11298 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 11299 |       else | 
 | 11300 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 11301 |       fi | 
 | 11302 |       ;; | 
 | 11303 |     pw32*) | 
 | 11304 |       # pw32 DLLs use 'pw' prefix rather than 'lib' | 
 | 11305 |       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
 | 11306 |       ;; | 
 | 11307 |     esac | 
 | 11308 |     ;; | 
 | 11309 |  | 
 | 11310 |   *) | 
 | 11311 |     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
 | 11312 |     ;; | 
 | 11313 |   esac | 
 | 11314 |   dynamic_linker='Win32 ld.exe' | 
 | 11315 |   # FIXME: first we should search . and the directory the executable is in | 
 | 11316 |   shlibpath_var=PATH | 
 | 11317 |   ;; | 
 | 11318 |  | 
 | 11319 | darwin* | rhapsody*) | 
 | 11320 |   dynamic_linker="$host_os dyld" | 
 | 11321 |   version_type=darwin | 
 | 11322 |   need_lib_prefix=no | 
 | 11323 |   need_version=no | 
 | 11324 |   # FIXME: Relying on posixy $() will cause problems for | 
 | 11325 |   #        cross-compilation, but unfortunately the echo tests do not | 
 | 11326 |   #        yet detect zsh echo's removal of \ escapes. | 
 | 11327 |   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
 | 11328 |   soname_spec='${libname}${release}${major}$shared_ext' | 
 | 11329 |   shlibpath_overrides_runpath=yes | 
 | 11330 |   shlibpath_var=DYLD_LIBRARY_PATH | 
 | 11331 |   shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
 | 11332 |   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
 | 11333 |   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 11334 |   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"` | 
 | 11335 |   fi | 
 | 11336 |   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
 | 11337 |   ;; | 
 | 11338 |  | 
 | 11339 | dgux*) | 
 | 11340 |   version_type=linux | 
 | 11341 |   need_lib_prefix=no | 
 | 11342 |   need_version=no | 
 | 11343 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
 | 11344 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11345 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11346 |   ;; | 
 | 11347 |  | 
 | 11348 | freebsd1*) | 
 | 11349 |   dynamic_linker=no | 
 | 11350 |   ;; | 
 | 11351 |  | 
 | 11352 | freebsd*) | 
 | 11353 |   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
 | 11354 |   version_type=freebsd-$objformat | 
 | 11355 |   case $version_type in | 
 | 11356 |     freebsd-elf*) | 
 | 11357 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 11358 |       need_version=no | 
 | 11359 |       need_lib_prefix=no | 
 | 11360 |       ;; | 
 | 11361 |     freebsd-*) | 
 | 11362 |       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
 | 11363 |       need_version=yes | 
 | 11364 |       ;; | 
 | 11365 |   esac | 
 | 11366 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11367 |   case $host_os in | 
 | 11368 |   freebsd2*) | 
 | 11369 |     shlibpath_overrides_runpath=yes | 
 | 11370 |     ;; | 
 | 11371 |   freebsd3.01* | freebsdelf3.01*) | 
 | 11372 |     shlibpath_overrides_runpath=yes | 
 | 11373 |     hardcode_into_libs=yes | 
 | 11374 |     ;; | 
 | 11375 |   *) # from 3.2 on | 
 | 11376 |     shlibpath_overrides_runpath=no | 
 | 11377 |     hardcode_into_libs=yes | 
 | 11378 |     ;; | 
 | 11379 |   esac | 
 | 11380 |   ;; | 
 | 11381 |  | 
 | 11382 | gnu*) | 
 | 11383 |   version_type=linux | 
 | 11384 |   need_lib_prefix=no | 
 | 11385 |   need_version=no | 
 | 11386 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
 | 11387 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11388 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11389 |   hardcode_into_libs=yes | 
 | 11390 |   ;; | 
 | 11391 |  | 
 | 11392 | hpux9* | hpux10* | hpux11*) | 
 | 11393 |   # Give a soname corresponding to the major version so that dld.sl refuses to | 
 | 11394 |   # link against other versions. | 
 | 11395 |   version_type=sunos | 
 | 11396 |   need_lib_prefix=no | 
 | 11397 |   need_version=no | 
 | 11398 |   case "$host_cpu" in | 
 | 11399 |   ia64*) | 
 | 11400 |     shrext='.so' | 
 | 11401 |     hardcode_into_libs=yes | 
 | 11402 |     dynamic_linker="$host_os dld.so" | 
 | 11403 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 11404 |     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 11405 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11406 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11407 |     if test "X$HPUX_IA64_MODE" = X32; then | 
 | 11408 |       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
 | 11409 |     else | 
 | 11410 |       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
 | 11411 |     fi | 
 | 11412 |     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 11413 |     ;; | 
 | 11414 |    hppa*64*) | 
 | 11415 |      shrext='.sl' | 
 | 11416 |      hardcode_into_libs=yes | 
 | 11417 |      dynamic_linker="$host_os dld.sl" | 
 | 11418 |      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
 | 11419 |      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 11420 |      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11421 |      soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11422 |      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
 | 11423 |      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 11424 |      ;; | 
 | 11425 |    *) | 
 | 11426 |     shrext='.sl' | 
 | 11427 |     dynamic_linker="$host_os dld.sl" | 
 | 11428 |     shlibpath_var=SHLIB_PATH | 
 | 11429 |     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
 | 11430 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11431 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11432 |     ;; | 
 | 11433 |   esac | 
 | 11434 |   # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
 | 11435 |   postinstall_cmds='chmod 555 $lib' | 
 | 11436 |   ;; | 
 | 11437 |  | 
 | 11438 | irix5* | irix6* | nonstopux*) | 
 | 11439 |   case $host_os in | 
 | 11440 |     nonstopux*) version_type=nonstopux ;; | 
 | 11441 |     *) | 
 | 11442 | 	if test "$lt_cv_prog_gnu_ld" = yes; then | 
 | 11443 | 		version_type=linux | 
 | 11444 | 	else | 
 | 11445 | 		version_type=irix | 
 | 11446 | 	fi ;; | 
 | 11447 |   esac | 
 | 11448 |   need_lib_prefix=no | 
 | 11449 |   need_version=no | 
 | 11450 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11451 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 11452 |   case $host_os in | 
 | 11453 |   irix5* | nonstopux*) | 
 | 11454 |     libsuff= shlibsuff= | 
 | 11455 |     ;; | 
 | 11456 |   *) | 
 | 11457 |     case $LD in # libtool.m4 will add one of these switches to LD | 
 | 11458 |     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
 | 11459 |       libsuff= shlibsuff= libmagic=32-bit;; | 
 | 11460 |     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
 | 11461 |       libsuff=32 shlibsuff=N32 libmagic=N32;; | 
 | 11462 |     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
 | 11463 |       libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
 | 11464 |     *) libsuff= shlibsuff= libmagic=never-match;; | 
 | 11465 |     esac | 
 | 11466 |     ;; | 
 | 11467 |   esac | 
 | 11468 |   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
 | 11469 |   shlibpath_overrides_runpath=no | 
 | 11470 |   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
 | 11471 |   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
 | 11472 |   hardcode_into_libs=yes | 
 | 11473 |   ;; | 
 | 11474 |  | 
 | 11475 | # No shared lib support for Linux oldld, aout, or coff. | 
 | 11476 | linux*oldld* | linux*aout* | linux*coff*) | 
 | 11477 |   dynamic_linker=no | 
 | 11478 |   ;; | 
 | 11479 |  | 
 | 11480 | # This must be Linux ELF. | 
 | 11481 | linux*) | 
 | 11482 |   version_type=linux | 
 | 11483 |   need_lib_prefix=no | 
 | 11484 |   need_version=no | 
 | 11485 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11486 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11487 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
 | 11488 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11489 |   shlibpath_overrides_runpath=no | 
 | 11490 |   # This implies no fast_install, which is unacceptable. | 
 | 11491 |   # Some rework will be needed to allow for fast_install | 
 | 11492 |   # before this can be enabled. | 
 | 11493 |   hardcode_into_libs=yes | 
 | 11494 |  | 
 | 11495 |   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
 | 11496 |   # powerpc, because MkLinux only supported shared libraries with the | 
 | 11497 |   # GNU dynamic linker.  Since this was broken with cross compilers, | 
 | 11498 |   # most powerpc-linux boxes support dynamic linking these days and | 
 | 11499 |   # people can always --disable-shared, the test was removed, and we | 
 | 11500 |   # assume the GNU/Linux dynamic linker is in use. | 
 | 11501 |   dynamic_linker='GNU/Linux ld.so' | 
 | 11502 |   ;; | 
 | 11503 |  | 
 | 11504 | netbsd*) | 
 | 11505 |   version_type=sunos | 
 | 11506 |   need_lib_prefix=no | 
 | 11507 |   need_version=no | 
 | 11508 |   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 11509 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 11510 |     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 11511 |     dynamic_linker='NetBSD (a.out) ld.so' | 
 | 11512 |   else | 
 | 11513 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
 | 11514 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11515 |     dynamic_linker='NetBSD ld.elf_so' | 
 | 11516 |   fi | 
 | 11517 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11518 |   shlibpath_overrides_runpath=yes | 
 | 11519 |   hardcode_into_libs=yes | 
 | 11520 |   ;; | 
 | 11521 |  | 
 | 11522 | newsos6) | 
 | 11523 |   version_type=linux | 
 | 11524 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11525 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11526 |   shlibpath_overrides_runpath=yes | 
 | 11527 |   ;; | 
 | 11528 |  | 
 | 11529 | nto-qnx) | 
 | 11530 |   version_type=linux | 
 | 11531 |   need_lib_prefix=no | 
 | 11532 |   need_version=no | 
 | 11533 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11534 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11535 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11536 |   shlibpath_overrides_runpath=yes | 
 | 11537 |   ;; | 
 | 11538 |  | 
 | 11539 | openbsd*) | 
 | 11540 |   version_type=sunos | 
 | 11541 |   need_lib_prefix=no | 
 | 11542 |   need_version=no | 
 | 11543 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 11544 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 11545 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11546 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 11547 |     case $host_os in | 
 | 11548 |       openbsd2.[89] | openbsd2.[89].*) | 
 | 11549 | 	shlibpath_overrides_runpath=no | 
 | 11550 | 	;; | 
 | 11551 |       *) | 
 | 11552 | 	shlibpath_overrides_runpath=yes | 
 | 11553 | 	;; | 
 | 11554 |       esac | 
 | 11555 |   else | 
 | 11556 |     shlibpath_overrides_runpath=yes | 
 | 11557 |   fi | 
 | 11558 |   ;; | 
 | 11559 |  | 
 | 11560 | os2*) | 
 | 11561 |   libname_spec='$name' | 
 | 11562 |   shrext=".dll" | 
 | 11563 |   need_lib_prefix=no | 
 | 11564 |   library_names_spec='$libname${shared_ext} $libname.a' | 
 | 11565 |   dynamic_linker='OS/2 ld.exe' | 
 | 11566 |   shlibpath_var=LIBPATH | 
 | 11567 |   ;; | 
 | 11568 |  | 
 | 11569 | osf3* | osf4* | osf5*) | 
 | 11570 |   version_type=osf | 
 | 11571 |   need_lib_prefix=no | 
 | 11572 |   need_version=no | 
 | 11573 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11574 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11575 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11576 |   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
 | 11577 |   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
 | 11578 |   ;; | 
 | 11579 |  | 
 | 11580 | sco3.2v5*) | 
 | 11581 |   version_type=osf | 
 | 11582 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11583 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11584 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11585 |   ;; | 
 | 11586 |  | 
 | 11587 | solaris*) | 
 | 11588 |   version_type=linux | 
 | 11589 |   need_lib_prefix=no | 
 | 11590 |   need_version=no | 
 | 11591 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11592 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11593 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11594 |   shlibpath_overrides_runpath=yes | 
 | 11595 |   hardcode_into_libs=yes | 
 | 11596 |   # ldd complains unless libraries are executable | 
 | 11597 |   postinstall_cmds='chmod +x $lib' | 
 | 11598 |   ;; | 
 | 11599 |  | 
 | 11600 | sunos4*) | 
 | 11601 |   version_type=sunos | 
 | 11602 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 11603 |   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
 | 11604 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11605 |   shlibpath_overrides_runpath=yes | 
 | 11606 |   if test "$with_gnu_ld" = yes; then | 
 | 11607 |     need_lib_prefix=no | 
 | 11608 |   fi | 
 | 11609 |   need_version=yes | 
 | 11610 |   ;; | 
 | 11611 |  | 
 | 11612 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 11613 |   version_type=linux | 
 | 11614 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11615 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11616 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11617 |   case $host_vendor in | 
 | 11618 |     sni) | 
 | 11619 |       shlibpath_overrides_runpath=no | 
 | 11620 |       need_lib_prefix=no | 
 | 11621 |       export_dynamic_flag_spec='${wl}-Blargedynsym' | 
 | 11622 |       runpath_var=LD_RUN_PATH | 
 | 11623 |       ;; | 
 | 11624 |     siemens) | 
 | 11625 |       need_lib_prefix=no | 
 | 11626 |       ;; | 
 | 11627 |     motorola) | 
 | 11628 |       need_lib_prefix=no | 
 | 11629 |       need_version=no | 
 | 11630 |       shlibpath_overrides_runpath=no | 
 | 11631 |       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
 | 11632 |       ;; | 
 | 11633 |   esac | 
 | 11634 |   ;; | 
 | 11635 |  | 
 | 11636 | sysv4*MP*) | 
 | 11637 |   if test -d /usr/nec ;then | 
 | 11638 |     version_type=linux | 
 | 11639 |     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
 | 11640 |     soname_spec='$libname${shared_ext}.$major' | 
 | 11641 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 11642 |   fi | 
 | 11643 |   ;; | 
 | 11644 |  | 
 | 11645 | uts4*) | 
 | 11646 |   version_type=linux | 
 | 11647 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 11648 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 11649 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 11650 |   ;; | 
 | 11651 |  | 
 | 11652 | *) | 
 | 11653 |   dynamic_linker=no | 
 | 11654 |   ;; | 
 | 11655 | esac | 
 | 11656 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
 | 11657 | echo "${ECHO_T}$dynamic_linker" >&6 | 
 | 11658 | test "$dynamic_linker" = no && can_build_shared=no | 
 | 11659 |  | 
 | 11660 | if test "x$enable_dlopen" != xyes; then | 
 | 11661 |   enable_dlopen=unknown | 
 | 11662 |   enable_dlopen_self=unknown | 
 | 11663 |   enable_dlopen_self_static=unknown | 
 | 11664 | else | 
 | 11665 |   lt_cv_dlopen=no | 
 | 11666 |   lt_cv_dlopen_libs= | 
 | 11667 |  | 
 | 11668 |   case $host_os in | 
 | 11669 |   beos*) | 
 | 11670 |     lt_cv_dlopen="load_add_on" | 
 | 11671 |     lt_cv_dlopen_libs= | 
 | 11672 |     lt_cv_dlopen_self=yes | 
 | 11673 |     ;; | 
 | 11674 |  | 
 | 11675 |   mingw* | pw32*) | 
 | 11676 |     lt_cv_dlopen="LoadLibrary" | 
 | 11677 |     lt_cv_dlopen_libs= | 
 | 11678 |    ;; | 
 | 11679 |  | 
 | 11680 |   cygwin*) | 
 | 11681 |     lt_cv_dlopen="dlopen" | 
 | 11682 |     lt_cv_dlopen_libs= | 
 | 11683 |    ;; | 
 | 11684 |  | 
 | 11685 |   darwin*) | 
 | 11686 |   # if libdl is installed we need to link against it | 
 | 11687 |     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 11688 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 11689 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 11690 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11691 | else | 
 | 11692 |   ac_check_lib_save_LIBS=$LIBS | 
 | 11693 | LIBS="-ldl  $LIBS" | 
 | 11694 | cat >conftest.$ac_ext <<_ACEOF | 
 | 11695 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11696 | /* confdefs.h.  */ | 
 | 11697 | _ACEOF | 
 | 11698 | cat confdefs.h >>conftest.$ac_ext | 
 | 11699 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11700 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11701 |  | 
 | 11702 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11703 | #ifdef __cplusplus | 
 | 11704 | extern "C" | 
 | 11705 | #endif | 
 | 11706 | /* We use char because int might match the return type of a gcc2 | 
 | 11707 |    builtin and then its argument prototype would still apply.  */ | 
 | 11708 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11709 | int | 
 | 11710 | main () | 
 | 11711 | { | 
 | 11712 | dlopen (); | 
 | 11713 |   ; | 
 | 11714 |   return 0; | 
 | 11715 | } | 
 | 11716 | _ACEOF | 
 | 11717 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11718 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11719 |   (eval $ac_link) 2>&5 | 
 | 11720 |   ac_status=$? | 
 | 11721 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11722 |   (exit $ac_status); } && | 
 | 11723 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11724 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11725 |   (eval $ac_try) 2>&5 | 
 | 11726 |   ac_status=$? | 
 | 11727 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11728 |   (exit $ac_status); }; }; then | 
 | 11729 |   ac_cv_lib_dl_dlopen=yes | 
 | 11730 | else | 
 | 11731 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11732 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 11733 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11734 | ac_cv_lib_dl_dlopen=no | 
 | 11735 | fi | 
 | 11736 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11737 | LIBS=$ac_check_lib_save_LIBS | 
 | 11738 | fi | 
 | 11739 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 11740 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 11741 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 11742 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 11743 | else | 
 | 11744 |  | 
 | 11745 |     lt_cv_dlopen="dyld" | 
 | 11746 |     lt_cv_dlopen_libs= | 
 | 11747 |     lt_cv_dlopen_self=yes | 
 | 11748 |  | 
 | 11749 | fi | 
 | 11750 |  | 
 | 11751 |    ;; | 
 | 11752 |  | 
 | 11753 |   *) | 
 | 11754 |     echo "$as_me:$LINENO: checking for shl_load" >&5 | 
 | 11755 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
 | 11756 | if test "${ac_cv_func_shl_load+set}" = set; then | 
 | 11757 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11758 | else | 
 | 11759 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11760 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11761 | /* confdefs.h.  */ | 
 | 11762 | _ACEOF | 
 | 11763 | cat confdefs.h >>conftest.$ac_ext | 
 | 11764 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11765 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11766 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11767 |     which can conflict with char shl_load (); below. | 
 | 11768 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 11769 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 11770 | #ifdef __STDC__ | 
 | 11771 | # include <limits.h> | 
 | 11772 | #else | 
 | 11773 | # include <assert.h> | 
 | 11774 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11775 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11776 | #ifdef __cplusplus | 
 | 11777 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11778 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11779 | #endif | 
 | 11780 | /* We use char because int might match the return type of a gcc2 | 
 | 11781 |    builtin and then its argument prototype would still apply.  */ | 
 | 11782 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11783 | /* The GNU C library defines this for functions which it implements | 
 | 11784 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 11785 |     something starting with __ and the normal name is an alias.  */ | 
 | 11786 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
 | 11787 | choke me | 
 | 11788 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11789 | char (*f) () = shl_load; | 
 | 11790 | #endif | 
 | 11791 | #ifdef __cplusplus | 
 | 11792 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11793 | #endif | 
 | 11794 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11795 | int | 
 | 11796 | main () | 
 | 11797 | { | 
 | 11798 | return f != shl_load; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11799 |   ; | 
 | 11800 |   return 0; | 
 | 11801 | } | 
 | 11802 | _ACEOF | 
 | 11803 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11804 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11805 |   (eval $ac_link) 2>&5 | 
 | 11806 |   ac_status=$? | 
 | 11807 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11808 |   (exit $ac_status); } && | 
 | 11809 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11810 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11811 |   (eval $ac_try) 2>&5 | 
 | 11812 |   ac_status=$? | 
 | 11813 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11814 |   (exit $ac_status); }; }; then | 
 | 11815 |   ac_cv_func_shl_load=yes | 
 | 11816 | else | 
 | 11817 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11818 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 11819 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11820 | ac_cv_func_shl_load=no | 
 | 11821 | fi | 
 | 11822 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11823 | fi | 
 | 11824 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 
 | 11825 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
 | 11826 | if test $ac_cv_func_shl_load = yes; then | 
 | 11827 |   lt_cv_dlopen="shl_load" | 
 | 11828 | else | 
 | 11829 |   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 
 | 11830 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
 | 11831 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
 | 11832 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11833 | else | 
 | 11834 |   ac_check_lib_save_LIBS=$LIBS | 
 | 11835 | LIBS="-ldld  $LIBS" | 
 | 11836 | cat >conftest.$ac_ext <<_ACEOF | 
 | 11837 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11838 | /* confdefs.h.  */ | 
 | 11839 | _ACEOF | 
 | 11840 | cat confdefs.h >>conftest.$ac_ext | 
 | 11841 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11842 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11843 |  | 
 | 11844 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11845 | #ifdef __cplusplus | 
 | 11846 | extern "C" | 
 | 11847 | #endif | 
 | 11848 | /* We use char because int might match the return type of a gcc2 | 
 | 11849 |    builtin and then its argument prototype would still apply.  */ | 
 | 11850 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11851 | int | 
 | 11852 | main () | 
 | 11853 | { | 
 | 11854 | shl_load (); | 
 | 11855 |   ; | 
 | 11856 |   return 0; | 
 | 11857 | } | 
 | 11858 | _ACEOF | 
 | 11859 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11860 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11861 |   (eval $ac_link) 2>&5 | 
 | 11862 |   ac_status=$? | 
 | 11863 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11864 |   (exit $ac_status); } && | 
 | 11865 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11866 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11867 |   (eval $ac_try) 2>&5 | 
 | 11868 |   ac_status=$? | 
 | 11869 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11870 |   (exit $ac_status); }; }; then | 
 | 11871 |   ac_cv_lib_dld_shl_load=yes | 
 | 11872 | else | 
 | 11873 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11874 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 11875 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11876 | ac_cv_lib_dld_shl_load=no | 
 | 11877 | fi | 
 | 11878 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11879 | LIBS=$ac_check_lib_save_LIBS | 
 | 11880 | fi | 
 | 11881 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 
 | 11882 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
 | 11883 | if test $ac_cv_lib_dld_shl_load = yes; then | 
 | 11884 |   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 
 | 11885 | else | 
 | 11886 |   echo "$as_me:$LINENO: checking for dlopen" >&5 | 
 | 11887 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
 | 11888 | if test "${ac_cv_func_dlopen+set}" = set; then | 
 | 11889 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11890 | else | 
 | 11891 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11892 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11893 | /* confdefs.h.  */ | 
 | 11894 | _ACEOF | 
 | 11895 | cat confdefs.h >>conftest.$ac_ext | 
 | 11896 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11897 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11898 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11899 |     which can conflict with char dlopen (); below. | 
 | 11900 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 11901 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 11902 | #ifdef __STDC__ | 
 | 11903 | # include <limits.h> | 
 | 11904 | #else | 
 | 11905 | # include <assert.h> | 
 | 11906 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11907 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11908 | #ifdef __cplusplus | 
 | 11909 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11910 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11911 | #endif | 
 | 11912 | /* We use char because int might match the return type of a gcc2 | 
 | 11913 |    builtin and then its argument prototype would still apply.  */ | 
 | 11914 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11915 | /* The GNU C library defines this for functions which it implements | 
 | 11916 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 11917 |     something starting with __ and the normal name is an alias.  */ | 
 | 11918 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
 | 11919 | choke me | 
 | 11920 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11921 | char (*f) () = dlopen; | 
 | 11922 | #endif | 
 | 11923 | #ifdef __cplusplus | 
 | 11924 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11925 | #endif | 
 | 11926 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11927 | int | 
 | 11928 | main () | 
 | 11929 | { | 
 | 11930 | return f != dlopen; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11931 |   ; | 
 | 11932 |   return 0; | 
 | 11933 | } | 
 | 11934 | _ACEOF | 
 | 11935 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11936 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11937 |   (eval $ac_link) 2>&5 | 
 | 11938 |   ac_status=$? | 
 | 11939 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11940 |   (exit $ac_status); } && | 
 | 11941 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11942 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11943 |   (eval $ac_try) 2>&5 | 
 | 11944 |   ac_status=$? | 
 | 11945 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11946 |   (exit $ac_status); }; }; then | 
 | 11947 |   ac_cv_func_dlopen=yes | 
 | 11948 | else | 
 | 11949 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11950 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 11951 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11952 | ac_cv_func_dlopen=no | 
 | 11953 | fi | 
 | 11954 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11955 | fi | 
 | 11956 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 
 | 11957 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
 | 11958 | if test $ac_cv_func_dlopen = yes; then | 
 | 11959 |   lt_cv_dlopen="dlopen" | 
 | 11960 | else | 
 | 11961 |   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 11962 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 11963 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 11964 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11965 | else | 
 | 11966 |   ac_check_lib_save_LIBS=$LIBS | 
 | 11967 | LIBS="-ldl  $LIBS" | 
 | 11968 | cat >conftest.$ac_ext <<_ACEOF | 
 | 11969 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11970 | /* confdefs.h.  */ | 
 | 11971 | _ACEOF | 
 | 11972 | cat confdefs.h >>conftest.$ac_ext | 
 | 11973 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 11974 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11975 |  | 
 | 11976 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11977 | #ifdef __cplusplus | 
 | 11978 | extern "C" | 
 | 11979 | #endif | 
 | 11980 | /* We use char because int might match the return type of a gcc2 | 
 | 11981 |    builtin and then its argument prototype would still apply.  */ | 
 | 11982 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11983 | int | 
 | 11984 | main () | 
 | 11985 | { | 
 | 11986 | dlopen (); | 
 | 11987 |   ; | 
 | 11988 |   return 0; | 
 | 11989 | } | 
 | 11990 | _ACEOF | 
 | 11991 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11992 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11993 |   (eval $ac_link) 2>&5 | 
 | 11994 |   ac_status=$? | 
 | 11995 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11996 |   (exit $ac_status); } && | 
 | 11997 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11998 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11999 |   (eval $ac_try) 2>&5 | 
 | 12000 |   ac_status=$? | 
 | 12001 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 12002 |   (exit $ac_status); }; }; then | 
 | 12003 |   ac_cv_lib_dl_dlopen=yes | 
 | 12004 | else | 
 | 12005 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 12006 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 12007 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12008 | ac_cv_lib_dl_dlopen=no | 
 | 12009 | fi | 
 | 12010 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 12011 | LIBS=$ac_check_lib_save_LIBS | 
 | 12012 | fi | 
 | 12013 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 12014 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 12015 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 12016 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 12017 | else | 
 | 12018 |   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 
 | 12019 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
 | 12020 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
 | 12021 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 12022 | else | 
 | 12023 |   ac_check_lib_save_LIBS=$LIBS | 
 | 12024 | LIBS="-lsvld  $LIBS" | 
 | 12025 | cat >conftest.$ac_ext <<_ACEOF | 
 | 12026 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 12027 | /* confdefs.h.  */ | 
 | 12028 | _ACEOF | 
 | 12029 | cat confdefs.h >>conftest.$ac_ext | 
 | 12030 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 12031 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12032 |  | 
 | 12033 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 12034 | #ifdef __cplusplus | 
 | 12035 | extern "C" | 
 | 12036 | #endif | 
 | 12037 | /* We use char because int might match the return type of a gcc2 | 
 | 12038 |    builtin and then its argument prototype would still apply.  */ | 
 | 12039 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12040 | int | 
 | 12041 | main () | 
 | 12042 | { | 
 | 12043 | dlopen (); | 
 | 12044 |   ; | 
 | 12045 |   return 0; | 
 | 12046 | } | 
 | 12047 | _ACEOF | 
 | 12048 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 12049 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 12050 |   (eval $ac_link) 2>&5 | 
 | 12051 |   ac_status=$? | 
 | 12052 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 12053 |   (exit $ac_status); } && | 
 | 12054 |          { ac_try='test -s conftest$ac_exeext' | 
 | 12055 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 12056 |   (eval $ac_try) 2>&5 | 
 | 12057 |   ac_status=$? | 
 | 12058 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 12059 |   (exit $ac_status); }; }; then | 
 | 12060 |   ac_cv_lib_svld_dlopen=yes | 
 | 12061 | else | 
 | 12062 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 12063 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 12064 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12065 | ac_cv_lib_svld_dlopen=no | 
 | 12066 | fi | 
 | 12067 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 12068 | LIBS=$ac_check_lib_save_LIBS | 
 | 12069 | fi | 
 | 12070 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 
 | 12071 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
 | 12072 | if test $ac_cv_lib_svld_dlopen = yes; then | 
 | 12073 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
 | 12074 | else | 
 | 12075 |   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 
 | 12076 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 
 | 12077 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 
 | 12078 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 12079 | else | 
 | 12080 |   ac_check_lib_save_LIBS=$LIBS | 
 | 12081 | LIBS="-ldld  $LIBS" | 
 | 12082 | cat >conftest.$ac_ext <<_ACEOF | 
 | 12083 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 12084 | /* confdefs.h.  */ | 
 | 12085 | _ACEOF | 
 | 12086 | cat confdefs.h >>conftest.$ac_ext | 
 | 12087 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 12088 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12089 |  | 
 | 12090 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 12091 | #ifdef __cplusplus | 
 | 12092 | extern "C" | 
 | 12093 | #endif | 
 | 12094 | /* We use char because int might match the return type of a gcc2 | 
 | 12095 |    builtin and then its argument prototype would still apply.  */ | 
 | 12096 | char dld_link (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12097 | int | 
 | 12098 | main () | 
 | 12099 | { | 
 | 12100 | dld_link (); | 
 | 12101 |   ; | 
 | 12102 |   return 0; | 
 | 12103 | } | 
 | 12104 | _ACEOF | 
 | 12105 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 12106 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 12107 |   (eval $ac_link) 2>&5 | 
 | 12108 |   ac_status=$? | 
 | 12109 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 12110 |   (exit $ac_status); } && | 
 | 12111 |          { ac_try='test -s conftest$ac_exeext' | 
 | 12112 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 12113 |   (eval $ac_try) 2>&5 | 
 | 12114 |   ac_status=$? | 
 | 12115 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 12116 |   (exit $ac_status); }; }; then | 
 | 12117 |   ac_cv_lib_dld_dld_link=yes | 
 | 12118 | else | 
 | 12119 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 12120 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 12121 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12122 | ac_cv_lib_dld_dld_link=no | 
 | 12123 | fi | 
 | 12124 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 12125 | LIBS=$ac_check_lib_save_LIBS | 
 | 12126 | fi | 
 | 12127 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 
 | 12128 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 
 | 12129 | if test $ac_cv_lib_dld_dld_link = yes; then | 
 | 12130 |   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
 | 12131 | fi | 
 | 12132 |  | 
 | 12133 |  | 
 | 12134 | fi | 
 | 12135 |  | 
 | 12136 |  | 
 | 12137 | fi | 
 | 12138 |  | 
 | 12139 |  | 
 | 12140 | fi | 
 | 12141 |  | 
 | 12142 |  | 
 | 12143 | fi | 
 | 12144 |  | 
 | 12145 |  | 
 | 12146 | fi | 
 | 12147 |  | 
 | 12148 |     ;; | 
 | 12149 |   esac | 
 | 12150 |  | 
 | 12151 |   if test "x$lt_cv_dlopen" != xno; then | 
 | 12152 |     enable_dlopen=yes | 
 | 12153 |   else | 
 | 12154 |     enable_dlopen=no | 
 | 12155 |   fi | 
 | 12156 |  | 
 | 12157 |   case $lt_cv_dlopen in | 
 | 12158 |   dlopen) | 
 | 12159 |     save_CPPFLAGS="$CPPFLAGS" | 
 | 12160 |     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
 | 12161 |  | 
 | 12162 |     save_LDFLAGS="$LDFLAGS" | 
 | 12163 |     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
 | 12164 |  | 
 | 12165 |     save_LIBS="$LIBS" | 
 | 12166 |     LIBS="$lt_cv_dlopen_libs $LIBS" | 
 | 12167 |  | 
 | 12168 |     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 
 | 12169 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
 | 12170 | if test "${lt_cv_dlopen_self+set}" = set; then | 
 | 12171 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 12172 | else | 
 | 12173 |   	  if test "$cross_compiling" = yes; then : | 
 | 12174 |   lt_cv_dlopen_self=cross | 
 | 12175 | else | 
 | 12176 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 12177 |   lt_status=$lt_dlunknown | 
 | 12178 |   cat > conftest.$ac_ext <<EOF | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 12179 | #line 12179 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12180 | #include "confdefs.h" | 
 | 12181 |  | 
 | 12182 | #if HAVE_DLFCN_H | 
 | 12183 | #include <dlfcn.h> | 
 | 12184 | #endif | 
 | 12185 |  | 
 | 12186 | #include <stdio.h> | 
 | 12187 |  | 
 | 12188 | #ifdef RTLD_GLOBAL | 
 | 12189 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 12190 | #else | 
 | 12191 | #  ifdef DL_GLOBAL | 
 | 12192 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 12193 | #  else | 
 | 12194 | #    define LT_DLGLOBAL		0 | 
 | 12195 | #  endif | 
 | 12196 | #endif | 
 | 12197 |  | 
 | 12198 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 12199 |    find out it does not work in some platform. */ | 
 | 12200 | #ifndef LT_DLLAZY_OR_NOW | 
 | 12201 | #  ifdef RTLD_LAZY | 
 | 12202 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 12203 | #  else | 
 | 12204 | #    ifdef DL_LAZY | 
 | 12205 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 12206 | #    else | 
 | 12207 | #      ifdef RTLD_NOW | 
 | 12208 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 12209 | #      else | 
 | 12210 | #        ifdef DL_NOW | 
 | 12211 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 12212 | #        else | 
 | 12213 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 12214 | #        endif | 
 | 12215 | #      endif | 
 | 12216 | #    endif | 
 | 12217 | #  endif | 
 | 12218 | #endif | 
 | 12219 |  | 
 | 12220 | #ifdef __cplusplus | 
 | 12221 | extern "C" void exit (int); | 
 | 12222 | #endif | 
 | 12223 |  | 
 | 12224 | void fnord() { int i=42;} | 
 | 12225 | int main () | 
 | 12226 | { | 
 | 12227 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 12228 |   int status = $lt_dlunknown; | 
 | 12229 |  | 
 | 12230 |   if (self) | 
 | 12231 |     { | 
 | 12232 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 12233 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 12234 |       /* dlclose (self); */ | 
 | 12235 |     } | 
 | 12236 |  | 
 | 12237 |     exit (status); | 
 | 12238 | } | 
 | 12239 | EOF | 
 | 12240 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 12241 |   (eval $ac_link) 2>&5 | 
 | 12242 |   ac_status=$? | 
 | 12243 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 12244 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 12245 |     (./conftest; exit; ) 2>/dev/null | 
 | 12246 |     lt_status=$? | 
 | 12247 |     case x$lt_status in | 
 | 12248 |       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
 | 12249 |       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
 | 12250 |       x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
 | 12251 |     esac | 
 | 12252 |   else : | 
 | 12253 |     # compilation failed | 
 | 12254 |     lt_cv_dlopen_self=no | 
 | 12255 |   fi | 
 | 12256 | fi | 
 | 12257 | rm -fr conftest* | 
 | 12258 |  | 
 | 12259 |  | 
 | 12260 | fi | 
 | 12261 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 
 | 12262 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
 | 12263 |  | 
 | 12264 |     if test "x$lt_cv_dlopen_self" = xyes; then | 
 | 12265 |       LDFLAGS="$LDFLAGS $link_static_flag" | 
 | 12266 |       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 
 | 12267 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
 | 12268 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
 | 12269 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 12270 | else | 
 | 12271 |   	  if test "$cross_compiling" = yes; then : | 
 | 12272 |   lt_cv_dlopen_self_static=cross | 
 | 12273 | else | 
 | 12274 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 12275 |   lt_status=$lt_dlunknown | 
 | 12276 |   cat > conftest.$ac_ext <<EOF | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 12277 | #line 12277 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12278 | #include "confdefs.h" | 
 | 12279 |  | 
 | 12280 | #if HAVE_DLFCN_H | 
 | 12281 | #include <dlfcn.h> | 
 | 12282 | #endif | 
 | 12283 |  | 
 | 12284 | #include <stdio.h> | 
 | 12285 |  | 
 | 12286 | #ifdef RTLD_GLOBAL | 
 | 12287 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 12288 | #else | 
 | 12289 | #  ifdef DL_GLOBAL | 
 | 12290 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 12291 | #  else | 
 | 12292 | #    define LT_DLGLOBAL		0 | 
 | 12293 | #  endif | 
 | 12294 | #endif | 
 | 12295 |  | 
 | 12296 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 12297 |    find out it does not work in some platform. */ | 
 | 12298 | #ifndef LT_DLLAZY_OR_NOW | 
 | 12299 | #  ifdef RTLD_LAZY | 
 | 12300 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 12301 | #  else | 
 | 12302 | #    ifdef DL_LAZY | 
 | 12303 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 12304 | #    else | 
 | 12305 | #      ifdef RTLD_NOW | 
 | 12306 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 12307 | #      else | 
 | 12308 | #        ifdef DL_NOW | 
 | 12309 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 12310 | #        else | 
 | 12311 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 12312 | #        endif | 
 | 12313 | #      endif | 
 | 12314 | #    endif | 
 | 12315 | #  endif | 
 | 12316 | #endif | 
 | 12317 |  | 
 | 12318 | #ifdef __cplusplus | 
 | 12319 | extern "C" void exit (int); | 
 | 12320 | #endif | 
 | 12321 |  | 
 | 12322 | void fnord() { int i=42;} | 
 | 12323 | int main () | 
 | 12324 | { | 
 | 12325 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 12326 |   int status = $lt_dlunknown; | 
 | 12327 |  | 
 | 12328 |   if (self) | 
 | 12329 |     { | 
 | 12330 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 12331 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 12332 |       /* dlclose (self); */ | 
 | 12333 |     } | 
 | 12334 |  | 
 | 12335 |     exit (status); | 
 | 12336 | } | 
 | 12337 | EOF | 
 | 12338 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 12339 |   (eval $ac_link) 2>&5 | 
 | 12340 |   ac_status=$? | 
 | 12341 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 12342 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 12343 |     (./conftest; exit; ) 2>/dev/null | 
 | 12344 |     lt_status=$? | 
 | 12345 |     case x$lt_status in | 
 | 12346 |       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 12347 |       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 12348 |       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
 | 12349 |     esac | 
 | 12350 |   else : | 
 | 12351 |     # compilation failed | 
 | 12352 |     lt_cv_dlopen_self_static=no | 
 | 12353 |   fi | 
 | 12354 | fi | 
 | 12355 | rm -fr conftest* | 
 | 12356 |  | 
 | 12357 |  | 
 | 12358 | fi | 
 | 12359 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 
 | 12360 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
 | 12361 |     fi | 
 | 12362 |  | 
 | 12363 |     CPPFLAGS="$save_CPPFLAGS" | 
 | 12364 |     LDFLAGS="$save_LDFLAGS" | 
 | 12365 |     LIBS="$save_LIBS" | 
 | 12366 |     ;; | 
 | 12367 |   esac | 
 | 12368 |  | 
 | 12369 |   case $lt_cv_dlopen_self in | 
 | 12370 |   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
 | 12371 |   *) enable_dlopen_self=unknown ;; | 
 | 12372 |   esac | 
 | 12373 |  | 
 | 12374 |   case $lt_cv_dlopen_self_static in | 
 | 12375 |   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
 | 12376 |   *) enable_dlopen_self_static=unknown ;; | 
 | 12377 |   esac | 
 | 12378 | fi | 
 | 12379 |  | 
 | 12380 |  | 
 | 12381 | # The else clause should only fire when bootstrapping the | 
 | 12382 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 12383 | # with your package, and you will get complaints that there are | 
 | 12384 | # no rules to generate ltmain.sh. | 
 | 12385 | if test -f "$ltmain"; then | 
 | 12386 |   # See if we are running on zsh, and set the options which allow our commands through | 
 | 12387 |   # without removal of \ escapes. | 
 | 12388 |   if test -n "${ZSH_VERSION+set}" ; then | 
 | 12389 |     setopt NO_GLOB_SUBST | 
 | 12390 |   fi | 
 | 12391 |   # Now quote all the things that may contain metacharacters while being | 
 | 12392 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 12393 |   # variables and quote the copies for generation of the libtool script. | 
 | 12394 |   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
 | 12395 |     libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
 | 12396 |     old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
 | 12397 |     deplibs_check_method reload_flag reload_cmds need_locks \ | 
 | 12398 |     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
 | 12399 |     lt_cv_sys_global_symbol_to_c_name_address \ | 
 | 12400 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
 | 12401 |     old_postinstall_cmds old_postuninstall_cmds \ | 
 | 12402 |     compiler_CXX \ | 
 | 12403 |     CC_CXX \ | 
 | 12404 |     LD_CXX \ | 
 | 12405 |     lt_prog_compiler_wl_CXX \ | 
 | 12406 |     lt_prog_compiler_pic_CXX \ | 
 | 12407 |     lt_prog_compiler_static_CXX \ | 
 | 12408 |     lt_prog_compiler_no_builtin_flag_CXX \ | 
 | 12409 |     export_dynamic_flag_spec_CXX \ | 
 | 12410 |     thread_safe_flag_spec_CXX \ | 
 | 12411 |     whole_archive_flag_spec_CXX \ | 
 | 12412 |     enable_shared_with_static_runtimes_CXX \ | 
 | 12413 |     old_archive_cmds_CXX \ | 
 | 12414 |     old_archive_from_new_cmds_CXX \ | 
 | 12415 |     predep_objects_CXX \ | 
 | 12416 |     postdep_objects_CXX \ | 
 | 12417 |     predeps_CXX \ | 
 | 12418 |     postdeps_CXX \ | 
 | 12419 |     compiler_lib_search_path_CXX \ | 
 | 12420 |     archive_cmds_CXX \ | 
 | 12421 |     archive_expsym_cmds_CXX \ | 
 | 12422 |     postinstall_cmds_CXX \ | 
 | 12423 |     postuninstall_cmds_CXX \ | 
 | 12424 |     old_archive_from_expsyms_cmds_CXX \ | 
 | 12425 |     allow_undefined_flag_CXX \ | 
 | 12426 |     no_undefined_flag_CXX \ | 
 | 12427 |     export_symbols_cmds_CXX \ | 
 | 12428 |     hardcode_libdir_flag_spec_CXX \ | 
 | 12429 |     hardcode_libdir_flag_spec_ld_CXX \ | 
 | 12430 |     hardcode_libdir_separator_CXX \ | 
 | 12431 |     hardcode_automatic_CXX \ | 
 | 12432 |     module_cmds_CXX \ | 
 | 12433 |     module_expsym_cmds_CXX \ | 
 | 12434 |     lt_cv_prog_compiler_c_o_CXX \ | 
 | 12435 |     exclude_expsyms_CXX \ | 
 | 12436 |     include_expsyms_CXX; do | 
 | 12437 |  | 
 | 12438 |     case $var in | 
 | 12439 |     old_archive_cmds_CXX | \ | 
 | 12440 |     old_archive_from_new_cmds_CXX | \ | 
 | 12441 |     archive_cmds_CXX | \ | 
 | 12442 |     archive_expsym_cmds_CXX | \ | 
 | 12443 |     module_cmds_CXX | \ | 
 | 12444 |     module_expsym_cmds_CXX | \ | 
 | 12445 |     old_archive_from_expsyms_cmds_CXX | \ | 
 | 12446 |     export_symbols_cmds_CXX | \ | 
 | 12447 |     extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
 | 12448 |     postinstall_cmds | postuninstall_cmds | \ | 
 | 12449 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 12450 |     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
 | 12451 |       # Double-quote double-evaled strings. | 
 | 12452 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 12453 |       ;; | 
 | 12454 |     *) | 
 | 12455 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 12456 |       ;; | 
 | 12457 |     esac | 
 | 12458 |   done | 
 | 12459 |  | 
 | 12460 |   case $lt_echo in | 
 | 12461 |   *'\$0 --fallback-echo"') | 
 | 12462 |     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
 | 12463 |     ;; | 
 | 12464 |   esac | 
 | 12465 |  | 
 | 12466 | cfgfile="$ofile" | 
 | 12467 |  | 
 | 12468 |   cat <<__EOF__ >> "$cfgfile" | 
 | 12469 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
 | 12470 |  | 
 | 12471 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 12472 |  | 
 | 12473 | # Shell to use when invoking shell scripts. | 
 | 12474 | SHELL=$lt_SHELL | 
 | 12475 |  | 
 | 12476 | # Whether or not to build shared libraries. | 
 | 12477 | build_libtool_libs=$enable_shared | 
 | 12478 |  | 
 | 12479 | # Whether or not to build static libraries. | 
 | 12480 | build_old_libs=$enable_static | 
 | 12481 |  | 
 | 12482 | # Whether or not to add -lc for building shared libraries. | 
 | 12483 | build_libtool_need_lc=$archive_cmds_need_lc_CXX | 
 | 12484 |  | 
 | 12485 | # Whether or not to disallow shared libs when runtime libs are static | 
 | 12486 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX | 
 | 12487 |  | 
 | 12488 | # Whether or not to optimize for fast installation. | 
 | 12489 | fast_install=$enable_fast_install | 
 | 12490 |  | 
 | 12491 | # The host system. | 
 | 12492 | host_alias=$host_alias | 
 | 12493 | host=$host | 
 | 12494 |  | 
 | 12495 | # An echo program that does not interpret backslashes. | 
 | 12496 | echo=$lt_echo | 
 | 12497 |  | 
 | 12498 | # The archiver. | 
 | 12499 | AR=$lt_AR | 
 | 12500 | AR_FLAGS=$lt_AR_FLAGS | 
 | 12501 |  | 
 | 12502 | # A C compiler. | 
 | 12503 | LTCC=$lt_LTCC | 
 | 12504 |  | 
 | 12505 | # A language-specific compiler. | 
 | 12506 | CC=$lt_compiler_CXX | 
 | 12507 |  | 
 | 12508 | # Is the compiler the GNU C compiler? | 
 | 12509 | with_gcc=$GCC_CXX | 
 | 12510 |  | 
 | 12511 | # An ERE matcher. | 
 | 12512 | EGREP=$lt_EGREP | 
 | 12513 |  | 
 | 12514 | # The linker used to build libraries. | 
 | 12515 | LD=$lt_LD_CXX | 
 | 12516 |  | 
 | 12517 | # Whether we need hard or soft links. | 
 | 12518 | LN_S=$lt_LN_S | 
 | 12519 |  | 
 | 12520 | # A BSD-compatible nm program. | 
 | 12521 | NM=$lt_NM | 
 | 12522 |  | 
 | 12523 | # A symbol stripping program | 
 | 12524 | STRIP=$STRIP | 
 | 12525 |  | 
 | 12526 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 12527 | MAGIC_CMD=$MAGIC_CMD | 
 | 12528 |  | 
 | 12529 | # Used on cygwin: DLL creation program. | 
 | 12530 | DLLTOOL="$DLLTOOL" | 
 | 12531 |  | 
 | 12532 | # Used on cygwin: object dumper. | 
 | 12533 | OBJDUMP="$OBJDUMP" | 
 | 12534 |  | 
 | 12535 | # Used on cygwin: assembler. | 
 | 12536 | AS="$AS" | 
 | 12537 |  | 
 | 12538 | # The name of the directory that contains temporary libtool files. | 
 | 12539 | objdir=$objdir | 
 | 12540 |  | 
 | 12541 | # How to create reloadable object files. | 
 | 12542 | reload_flag=$lt_reload_flag | 
 | 12543 | reload_cmds=$lt_reload_cmds | 
 | 12544 |  | 
 | 12545 | # How to pass a linker flag through the compiler. | 
 | 12546 | wl=$lt_lt_prog_compiler_wl_CXX | 
 | 12547 |  | 
 | 12548 | # Object file suffix (normally "o"). | 
 | 12549 | objext="$ac_objext" | 
 | 12550 |  | 
 | 12551 | # Old archive suffix (normally "a"). | 
 | 12552 | libext="$libext" | 
 | 12553 |  | 
 | 12554 | # Shared library suffix (normally ".so"). | 
 | 12555 | shrext='$shrext' | 
 | 12556 |  | 
 | 12557 | # Executable file suffix (normally ""). | 
 | 12558 | exeext="$exeext" | 
 | 12559 |  | 
 | 12560 | # Additional compiler flags for building library objects. | 
 | 12561 | pic_flag=$lt_lt_prog_compiler_pic_CXX | 
 | 12562 | pic_mode=$pic_mode | 
 | 12563 |  | 
 | 12564 | # What is the maximum length of a command? | 
 | 12565 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
 | 12566 |  | 
 | 12567 | # Does compiler simultaneously support -c and -o options? | 
 | 12568 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX | 
 | 12569 |  | 
 | 12570 | # Must we lock files when doing compilation ? | 
 | 12571 | need_locks=$lt_need_locks | 
 | 12572 |  | 
 | 12573 | # Do we need the lib prefix for modules? | 
 | 12574 | need_lib_prefix=$need_lib_prefix | 
 | 12575 |  | 
 | 12576 | # Do we need a version for libraries? | 
 | 12577 | need_version=$need_version | 
 | 12578 |  | 
 | 12579 | # Whether dlopen is supported. | 
 | 12580 | dlopen_support=$enable_dlopen | 
 | 12581 |  | 
 | 12582 | # Whether dlopen of programs is supported. | 
 | 12583 | dlopen_self=$enable_dlopen_self | 
 | 12584 |  | 
 | 12585 | # Whether dlopen of statically linked programs is supported. | 
 | 12586 | dlopen_self_static=$enable_dlopen_self_static | 
 | 12587 |  | 
 | 12588 | # Compiler flag to prevent dynamic linking. | 
 | 12589 | link_static_flag=$lt_lt_prog_compiler_static_CXX | 
 | 12590 |  | 
 | 12591 | # Compiler flag to turn off builtin functions. | 
 | 12592 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX | 
 | 12593 |  | 
 | 12594 | # Compiler flag to allow reflexive dlopens. | 
 | 12595 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX | 
 | 12596 |  | 
 | 12597 | # Compiler flag to generate shared objects directly from archives. | 
 | 12598 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX | 
 | 12599 |  | 
 | 12600 | # Compiler flag to generate thread-safe objects. | 
 | 12601 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX | 
 | 12602 |  | 
 | 12603 | # Library versioning type. | 
 | 12604 | version_type=$version_type | 
 | 12605 |  | 
 | 12606 | # Format of library name prefix. | 
 | 12607 | libname_spec=$lt_libname_spec | 
 | 12608 |  | 
 | 12609 | # List of archive names.  First name is the real one, the rest are links. | 
 | 12610 | # The last name is the one that the linker finds with -lNAME. | 
 | 12611 | library_names_spec=$lt_library_names_spec | 
 | 12612 |  | 
 | 12613 | # The coded name of the library, if different from the real name. | 
 | 12614 | soname_spec=$lt_soname_spec | 
 | 12615 |  | 
 | 12616 | # Commands used to build and install an old-style archive. | 
 | 12617 | RANLIB=$lt_RANLIB | 
 | 12618 | old_archive_cmds=$lt_old_archive_cmds_CXX | 
 | 12619 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 12620 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 12621 |  | 
 | 12622 | # Create an old-style archive from a shared archive. | 
 | 12623 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX | 
 | 12624 |  | 
 | 12625 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 12626 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX | 
 | 12627 |  | 
 | 12628 | # Commands used to build and install a shared archive. | 
 | 12629 | archive_cmds=$lt_archive_cmds_CXX | 
 | 12630 | archive_expsym_cmds=$lt_archive_expsym_cmds_CXX | 
 | 12631 | postinstall_cmds=$lt_postinstall_cmds | 
 | 12632 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 12633 |  | 
 | 12634 | # Commands used to build a loadable module (assumed same as above if empty) | 
 | 12635 | module_cmds=$lt_module_cmds_CXX | 
 | 12636 | module_expsym_cmds=$lt_module_expsym_cmds_CXX | 
 | 12637 |  | 
 | 12638 | # Commands to strip libraries. | 
 | 12639 | old_striplib=$lt_old_striplib | 
 | 12640 | striplib=$lt_striplib | 
 | 12641 |  | 
 | 12642 | # Dependencies to place before the objects being linked to create a | 
 | 12643 | # shared library. | 
 | 12644 | predep_objects=$lt_predep_objects_CXX | 
 | 12645 |  | 
 | 12646 | # Dependencies to place after the objects being linked to create a | 
 | 12647 | # shared library. | 
 | 12648 | postdep_objects=$lt_postdep_objects_CXX | 
 | 12649 |  | 
 | 12650 | # Dependencies to place before the objects being linked to create a | 
 | 12651 | # shared library. | 
 | 12652 | predeps=$lt_predeps_CXX | 
 | 12653 |  | 
 | 12654 | # Dependencies to place after the objects being linked to create a | 
 | 12655 | # shared library. | 
 | 12656 | postdeps=$lt_postdeps_CXX | 
 | 12657 |  | 
 | 12658 | # The library search path used internally by the compiler when linking | 
 | 12659 | # a shared library. | 
 | 12660 | compiler_lib_search_path=$lt_compiler_lib_search_path_CXX | 
 | 12661 |  | 
 | 12662 | # Method to check whether dependent libraries are shared objects. | 
 | 12663 | deplibs_check_method=$lt_deplibs_check_method | 
 | 12664 |  | 
 | 12665 | # Command to use when deplibs_check_method == file_magic. | 
 | 12666 | file_magic_cmd=$lt_file_magic_cmd | 
 | 12667 |  | 
 | 12668 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 12669 | allow_undefined_flag=$lt_allow_undefined_flag_CXX | 
 | 12670 |  | 
 | 12671 | # Flag that forces no undefined symbols. | 
 | 12672 | no_undefined_flag=$lt_no_undefined_flag_CXX | 
 | 12673 |  | 
 | 12674 | # Commands used to finish a libtool library installation in a directory. | 
 | 12675 | finish_cmds=$lt_finish_cmds | 
 | 12676 |  | 
 | 12677 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 12678 | finish_eval=$lt_finish_eval | 
 | 12679 |  | 
 | 12680 | # Take the output of nm and produce a listing of raw symbols and C names. | 
 | 12681 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
 | 12682 |  | 
 | 12683 | # Transform the output of nm in a proper C declaration | 
 | 12684 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
 | 12685 |  | 
 | 12686 | # Transform the output of nm in a C name address pair | 
 | 12687 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
 | 12688 |  | 
 | 12689 | # This is the shared library runtime path variable. | 
 | 12690 | runpath_var=$runpath_var | 
 | 12691 |  | 
 | 12692 | # This is the shared library path variable. | 
 | 12693 | shlibpath_var=$shlibpath_var | 
 | 12694 |  | 
 | 12695 | # Is shlibpath searched before the hard-coded library search path? | 
 | 12696 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 12697 |  | 
 | 12698 | # How to hardcode a shared library path into an executable. | 
 | 12699 | hardcode_action=$hardcode_action_CXX | 
 | 12700 |  | 
 | 12701 | # Whether we should hardcode library paths into libraries. | 
 | 12702 | hardcode_into_libs=$hardcode_into_libs | 
 | 12703 |  | 
 | 12704 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 12705 | # This must work even if \$libdir does not exist. | 
 | 12706 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX | 
 | 12707 |  | 
 | 12708 | # If ld is used when linking, flag to hardcode \$libdir into | 
 | 12709 | # a binary during linking. This must work even if \$libdir does | 
 | 12710 | # not exist. | 
 | 12711 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX | 
 | 12712 |  | 
 | 12713 | # Whether we need a single -rpath flag with a separated argument. | 
 | 12714 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX | 
 | 12715 |  | 
 | 12716 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
 | 12717 | # resulting binary. | 
 | 12718 | hardcode_direct=$hardcode_direct_CXX | 
 | 12719 |  | 
 | 12720 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 12721 | # resulting binary. | 
 | 12722 | hardcode_minus_L=$hardcode_minus_L_CXX | 
 | 12723 |  | 
 | 12724 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 12725 | # the resulting binary. | 
 | 12726 | hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX | 
 | 12727 |  | 
 | 12728 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
 | 12729 | # and all subsequent libraries and executables linked against it. | 
 | 12730 | hardcode_automatic=$hardcode_automatic_CXX | 
 | 12731 |  | 
 | 12732 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 12733 | # restored at relink time. | 
 | 12734 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 12735 |  | 
 | 12736 | # Whether libtool must link a program against all its dependency libraries. | 
 | 12737 | link_all_deplibs=$link_all_deplibs_CXX | 
 | 12738 |  | 
 | 12739 | # Compile-time system search path for libraries | 
 | 12740 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 12741 |  | 
 | 12742 | # Run-time system search path for libraries | 
 | 12743 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 12744 |  | 
 | 12745 | # Fix the shell variable \$srcfile for the compiler. | 
 | 12746 | fix_srcfile_path="$fix_srcfile_path_CXX" | 
 | 12747 |  | 
 | 12748 | # Set to yes if exported symbols are required. | 
 | 12749 | always_export_symbols=$always_export_symbols_CXX | 
 | 12750 |  | 
 | 12751 | # The commands to list exported symbols. | 
 | 12752 | export_symbols_cmds=$lt_export_symbols_cmds_CXX | 
 | 12753 |  | 
 | 12754 | # The commands to extract the exported symbol list from a shared archive. | 
 | 12755 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 12756 |  | 
 | 12757 | # Symbols that should not be listed in the preloaded symbols. | 
 | 12758 | exclude_expsyms=$lt_exclude_expsyms_CXX | 
 | 12759 |  | 
 | 12760 | # Symbols that must always be exported. | 
 | 12761 | include_expsyms=$lt_include_expsyms_CXX | 
 | 12762 |  | 
 | 12763 | # ### END LIBTOOL TAG CONFIG: $tagname | 
 | 12764 |  | 
 | 12765 | __EOF__ | 
 | 12766 |  | 
 | 12767 |  | 
 | 12768 | else | 
 | 12769 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 12770 |   # `config.status --recheck' to rerun these tests and create the | 
 | 12771 |   # libtool script then. | 
 | 12772 |   test -f Makefile && make "$ltmain" | 
 | 12773 | fi | 
 | 12774 |  | 
 | 12775 |  | 
 | 12776 | ac_ext=c | 
 | 12777 | ac_cpp='$CPP $CPPFLAGS' | 
 | 12778 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 12779 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 12780 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 12781 |  | 
 | 12782 | CC=$lt_save_CC | 
 | 12783 | LDCXX=$LD | 
 | 12784 | LD=$lt_save_LD | 
 | 12785 | GCC=$lt_save_GCC | 
 | 12786 | with_gnu_ldcxx=$with_gnu_ld | 
 | 12787 | with_gnu_ld=$lt_save_with_gnu_ld | 
 | 12788 | lt_cv_path_LDCXX=$lt_cv_path_LD | 
 | 12789 | lt_cv_path_LD=$lt_save_path_LD | 
 | 12790 | lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld | 
 | 12791 | lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld | 
 | 12792 |  | 
 | 12793 | 	else | 
 | 12794 | 	  tagname="" | 
 | 12795 | 	fi | 
 | 12796 | 	;; | 
 | 12797 |  | 
 | 12798 |       F77) | 
 | 12799 | 	if test -n "$F77" && test "X$F77" != "Xno"; then | 
 | 12800 |  | 
 | 12801 | ac_ext=f | 
 | 12802 | ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' | 
 | 12803 | ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 12804 | ac_compiler_gnu=$ac_cv_f77_compiler_gnu | 
 | 12805 |  | 
 | 12806 |  | 
 | 12807 | archive_cmds_need_lc_F77=no | 
 | 12808 | allow_undefined_flag_F77= | 
 | 12809 | always_export_symbols_F77=no | 
 | 12810 | archive_expsym_cmds_F77= | 
 | 12811 | export_dynamic_flag_spec_F77= | 
 | 12812 | hardcode_direct_F77=no | 
 | 12813 | hardcode_libdir_flag_spec_F77= | 
 | 12814 | hardcode_libdir_flag_spec_ld_F77= | 
 | 12815 | hardcode_libdir_separator_F77= | 
 | 12816 | hardcode_minus_L_F77=no | 
 | 12817 | hardcode_automatic_F77=no | 
 | 12818 | module_cmds_F77= | 
 | 12819 | module_expsym_cmds_F77= | 
 | 12820 | link_all_deplibs_F77=unknown | 
 | 12821 | old_archive_cmds_F77=$old_archive_cmds | 
 | 12822 | no_undefined_flag_F77= | 
 | 12823 | whole_archive_flag_spec_F77= | 
 | 12824 | enable_shared_with_static_runtimes_F77=no | 
 | 12825 |  | 
 | 12826 | # Source file extension for f77 test sources. | 
 | 12827 | ac_ext=f | 
 | 12828 |  | 
 | 12829 | # Object file extension for compiled f77 test sources. | 
 | 12830 | objext=o | 
 | 12831 | objext_F77=$objext | 
 | 12832 |  | 
 | 12833 | # Code to be used in simple compile tests | 
 | 12834 | lt_simple_compile_test_code="      subroutine t\n      return\n      end\n" | 
 | 12835 |  | 
 | 12836 | # Code to be used in simple link tests | 
 | 12837 | lt_simple_link_test_code="      program t\n      end\n" | 
 | 12838 |  | 
 | 12839 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
 | 12840 |  | 
 | 12841 | # If no C compiler was specified, use CC. | 
 | 12842 | LTCC=${LTCC-"$CC"} | 
 | 12843 |  | 
 | 12844 | # Allow CC to be a program name with arguments. | 
 | 12845 | compiler=$CC | 
 | 12846 |  | 
 | 12847 |  | 
 | 12848 | # Allow CC to be a program name with arguments. | 
 | 12849 | lt_save_CC="$CC" | 
 | 12850 | CC=${F77-"f77"} | 
 | 12851 | compiler=$CC | 
 | 12852 | compiler_F77=$CC | 
 | 12853 | cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` | 
 | 12854 |  | 
 | 12855 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 | 
 | 12856 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | 
 | 12857 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 | 
 | 12858 | echo "${ECHO_T}$can_build_shared" >&6 | 
 | 12859 |  | 
 | 12860 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 | 
 | 12861 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 | 
 | 12862 | test "$can_build_shared" = "no" && enable_shared=no | 
 | 12863 |  | 
 | 12864 | # On AIX, shared libraries and static libraries use the same namespace, and | 
 | 12865 | # are all built from PIC. | 
 | 12866 | case "$host_os" in | 
 | 12867 | aix3*) | 
 | 12868 |   test "$enable_shared" = yes && enable_static=no | 
 | 12869 |   if test -n "$RANLIB"; then | 
 | 12870 |     archive_cmds="$archive_cmds~\$RANLIB \$lib" | 
 | 12871 |     postinstall_cmds='$RANLIB $lib' | 
 | 12872 |   fi | 
 | 12873 |   ;; | 
 | 12874 | aix4*) | 
 | 12875 |   test "$enable_shared" = yes && enable_static=no | 
 | 12876 |   ;; | 
 | 12877 | esac | 
 | 12878 | echo "$as_me:$LINENO: result: $enable_shared" >&5 | 
 | 12879 | echo "${ECHO_T}$enable_shared" >&6 | 
 | 12880 |  | 
 | 12881 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 | 
 | 12882 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 | 
 | 12883 | # Make sure either enable_shared or enable_static is yes. | 
 | 12884 | test "$enable_shared" = yes || enable_static=yes | 
 | 12885 | echo "$as_me:$LINENO: result: $enable_static" >&5 | 
 | 12886 | echo "${ECHO_T}$enable_static" >&6 | 
 | 12887 |  | 
 | 12888 | test "$ld_shlibs_F77" = no && can_build_shared=no | 
 | 12889 |  | 
 | 12890 | GCC_F77="$G77" | 
 | 12891 | LD_F77="$LD" | 
 | 12892 |  | 
 | 12893 | lt_prog_compiler_wl_F77= | 
 | 12894 | lt_prog_compiler_pic_F77= | 
 | 12895 | lt_prog_compiler_static_F77= | 
 | 12896 |  | 
 | 12897 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
 | 12898 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
 | 12899 |  | 
 | 12900 |   if test "$GCC" = yes; then | 
 | 12901 |     lt_prog_compiler_wl_F77='-Wl,' | 
 | 12902 |     lt_prog_compiler_static_F77='-static' | 
 | 12903 |  | 
 | 12904 |     case $host_os in | 
 | 12905 |       aix*) | 
 | 12906 |       # All AIX code is PIC. | 
 | 12907 |       if test "$host_cpu" = ia64; then | 
 | 12908 | 	# AIX 5 now supports IA64 processor | 
 | 12909 | 	lt_prog_compiler_static_F77='-Bstatic' | 
 | 12910 |       fi | 
 | 12911 |       ;; | 
 | 12912 |  | 
 | 12913 |     amigaos*) | 
 | 12914 |       # FIXME: we need at least 68020 code to build shared libraries, but | 
 | 12915 |       # adding the `-m68020' flag to GCC prevents building anything better, | 
 | 12916 |       # like `-m68040'. | 
 | 12917 |       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' | 
 | 12918 |       ;; | 
 | 12919 |  | 
 | 12920 |     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
 | 12921 |       # PIC is the default for these OSes. | 
 | 12922 |       ;; | 
 | 12923 |  | 
 | 12924 |     mingw* | pw32* | os2*) | 
 | 12925 |       # This hack is so that the source file can tell whether it is being | 
 | 12926 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 12927 |       lt_prog_compiler_pic_F77='-DDLL_EXPORT' | 
 | 12928 |       ;; | 
 | 12929 |  | 
 | 12930 |     darwin* | rhapsody*) | 
 | 12931 |       # PIC is the default on this platform | 
 | 12932 |       # Common symbols not allowed in MH_DYLIB files | 
 | 12933 |       lt_prog_compiler_pic_F77='-fno-common' | 
 | 12934 |       ;; | 
 | 12935 |  | 
 | 12936 |     msdosdjgpp*) | 
 | 12937 |       # Just because we use GCC doesn't mean we suddenly get shared libraries | 
 | 12938 |       # on systems that don't support them. | 
 | 12939 |       lt_prog_compiler_can_build_shared_F77=no | 
 | 12940 |       enable_shared=no | 
 | 12941 |       ;; | 
 | 12942 |  | 
 | 12943 |     sysv4*MP*) | 
 | 12944 |       if test -d /usr/nec; then | 
 | 12945 | 	lt_prog_compiler_pic_F77=-Kconform_pic | 
 | 12946 |       fi | 
 | 12947 |       ;; | 
 | 12948 |  | 
 | 12949 |     hpux*) | 
 | 12950 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 12951 |       # not for PA HP-UX. | 
 | 12952 |       case "$host_cpu" in | 
 | 12953 |       hppa*64*|ia64*) | 
 | 12954 | 	# +Z the default | 
 | 12955 | 	;; | 
 | 12956 |       *) | 
 | 12957 | 	lt_prog_compiler_pic_F77='-fPIC' | 
 | 12958 | 	;; | 
 | 12959 |       esac | 
 | 12960 |       ;; | 
 | 12961 |  | 
 | 12962 |     *) | 
 | 12963 |       lt_prog_compiler_pic_F77='-fPIC' | 
 | 12964 |       ;; | 
 | 12965 |     esac | 
 | 12966 |   else | 
 | 12967 |     # PORTME Check for flag to pass linker flags through the system compiler. | 
 | 12968 |     case $host_os in | 
 | 12969 |     aix*) | 
 | 12970 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 12971 |       if test "$host_cpu" = ia64; then | 
 | 12972 | 	# AIX 5 now supports IA64 processor | 
 | 12973 | 	lt_prog_compiler_static_F77='-Bstatic' | 
 | 12974 |       else | 
 | 12975 | 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' | 
 | 12976 |       fi | 
 | 12977 |       ;; | 
 | 12978 |  | 
 | 12979 |     mingw* | pw32* | os2*) | 
 | 12980 |       # This hack is so that the source file can tell whether it is being | 
 | 12981 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 12982 |       lt_prog_compiler_pic_F77='-DDLL_EXPORT' | 
 | 12983 |       ;; | 
 | 12984 |  | 
 | 12985 |     hpux9* | hpux10* | hpux11*) | 
 | 12986 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 12987 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 12988 |       # not for PA HP-UX. | 
 | 12989 |       case "$host_cpu" in | 
 | 12990 |       hppa*64*|ia64*) | 
 | 12991 | 	# +Z the default | 
 | 12992 | 	;; | 
 | 12993 |       *) | 
 | 12994 | 	lt_prog_compiler_pic_F77='+Z' | 
 | 12995 | 	;; | 
 | 12996 |       esac | 
 | 12997 |       # Is there a better lt_prog_compiler_static that works with the bundled CC? | 
 | 12998 |       lt_prog_compiler_static_F77='${wl}-a ${wl}archive' | 
 | 12999 |       ;; | 
 | 13000 |  | 
 | 13001 |     irix5* | irix6* | nonstopux*) | 
 | 13002 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 13003 |       # PIC (with -KPIC) is the default. | 
 | 13004 |       lt_prog_compiler_static_F77='-non_shared' | 
 | 13005 |       ;; | 
 | 13006 |  | 
 | 13007 |     newsos6) | 
 | 13008 |       lt_prog_compiler_pic_F77='-KPIC' | 
 | 13009 |       lt_prog_compiler_static_F77='-Bstatic' | 
 | 13010 |       ;; | 
 | 13011 |  | 
 | 13012 |     linux*) | 
 | 13013 |       case $CC in | 
 | 13014 |       icc|ecc) | 
 | 13015 | 	lt_prog_compiler_wl_F77='-Wl,' | 
 | 13016 | 	lt_prog_compiler_pic_F77='-KPIC' | 
 | 13017 | 	lt_prog_compiler_static_F77='-static' | 
 | 13018 |         ;; | 
 | 13019 |       ccc) | 
 | 13020 |         lt_prog_compiler_wl_F77='-Wl,' | 
 | 13021 |         # All Alpha code is PIC. | 
 | 13022 |         lt_prog_compiler_static_F77='-non_shared' | 
 | 13023 |         ;; | 
 | 13024 |       esac | 
 | 13025 |       ;; | 
 | 13026 |  | 
 | 13027 |     osf3* | osf4* | osf5*) | 
 | 13028 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 13029 |       # All OSF/1 code is PIC. | 
 | 13030 |       lt_prog_compiler_static_F77='-non_shared' | 
 | 13031 |       ;; | 
 | 13032 |  | 
 | 13033 |     sco3.2v5*) | 
 | 13034 |       lt_prog_compiler_pic_F77='-Kpic' | 
 | 13035 |       lt_prog_compiler_static_F77='-dn' | 
 | 13036 |       ;; | 
 | 13037 |  | 
 | 13038 |     solaris*) | 
 | 13039 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 13040 |       lt_prog_compiler_pic_F77='-KPIC' | 
 | 13041 |       lt_prog_compiler_static_F77='-Bstatic' | 
 | 13042 |       ;; | 
 | 13043 |  | 
 | 13044 |     sunos4*) | 
 | 13045 |       lt_prog_compiler_wl_F77='-Qoption ld ' | 
 | 13046 |       lt_prog_compiler_pic_F77='-PIC' | 
 | 13047 |       lt_prog_compiler_static_F77='-Bstatic' | 
 | 13048 |       ;; | 
 | 13049 |  | 
 | 13050 |     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 13051 |       lt_prog_compiler_wl_F77='-Wl,' | 
 | 13052 |       lt_prog_compiler_pic_F77='-KPIC' | 
 | 13053 |       lt_prog_compiler_static_F77='-Bstatic' | 
 | 13054 |       ;; | 
 | 13055 |  | 
 | 13056 |     sysv4*MP*) | 
 | 13057 |       if test -d /usr/nec ;then | 
 | 13058 | 	lt_prog_compiler_pic_F77='-Kconform_pic' | 
 | 13059 | 	lt_prog_compiler_static_F77='-Bstatic' | 
 | 13060 |       fi | 
 | 13061 |       ;; | 
 | 13062 |  | 
 | 13063 |     uts4*) | 
 | 13064 |       lt_prog_compiler_pic_F77='-pic' | 
 | 13065 |       lt_prog_compiler_static_F77='-Bstatic' | 
 | 13066 |       ;; | 
 | 13067 |  | 
 | 13068 |     *) | 
 | 13069 |       lt_prog_compiler_can_build_shared_F77=no | 
 | 13070 |       ;; | 
 | 13071 |     esac | 
 | 13072 |   fi | 
 | 13073 |  | 
 | 13074 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 | 
 | 13075 | echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 | 
 | 13076 |  | 
 | 13077 | # | 
 | 13078 | # Check to make sure the PIC flag actually works. | 
 | 13079 | # | 
 | 13080 | if test -n "$lt_prog_compiler_pic_F77"; then | 
 | 13081 |   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 | 
 | 13082 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 | 
 | 13083 | if test "${lt_prog_compiler_pic_works_F77+set}" = set; then | 
 | 13084 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 13085 | else | 
 | 13086 |   lt_prog_compiler_pic_works_F77=no | 
 | 13087 |   ac_outfile=conftest.$ac_objext | 
 | 13088 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 13089 |    lt_compiler_flag="$lt_prog_compiler_pic_F77" | 
 | 13090 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 13091 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 13092 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 13093 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 13094 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 13095 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 13096 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 13097 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 13098 |    -e 's:$: $lt_compiler_flag:'` | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 13099 |    (eval echo "\"\$as_me:13099: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13100 |    (eval "$lt_compile" 2>conftest.err) | 
 | 13101 |    ac_status=$? | 
 | 13102 |    cat conftest.err >&5 | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 13103 |    echo "$as_me:13103: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13104 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 13105 |      # The compiler can only warn and ignore the option if not recognized | 
 | 13106 |      # So say no if there are warnings | 
 | 13107 |      if test ! -s conftest.err; then | 
 | 13108 |        lt_prog_compiler_pic_works_F77=yes | 
 | 13109 |      fi | 
 | 13110 |    fi | 
 | 13111 |    $rm conftest* | 
 | 13112 |  | 
 | 13113 | fi | 
 | 13114 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 | 
 | 13115 | echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 | 
 | 13116 |  | 
 | 13117 | if test x"$lt_prog_compiler_pic_works_F77" = xyes; then | 
 | 13118 |     case $lt_prog_compiler_pic_F77 in | 
 | 13119 |      "" | " "*) ;; | 
 | 13120 |      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; | 
 | 13121 |      esac | 
 | 13122 | else | 
 | 13123 |     lt_prog_compiler_pic_F77= | 
 | 13124 |      lt_prog_compiler_can_build_shared_F77=no | 
 | 13125 | fi | 
 | 13126 |  | 
 | 13127 | fi | 
 | 13128 | case "$host_os" in | 
 | 13129 |   # For platforms which do not support PIC, -DPIC is meaningless: | 
 | 13130 |   *djgpp*) | 
 | 13131 |     lt_prog_compiler_pic_F77= | 
 | 13132 |     ;; | 
 | 13133 |   *) | 
 | 13134 |     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" | 
 | 13135 |     ;; | 
 | 13136 | esac | 
 | 13137 |  | 
 | 13138 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
 | 13139 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
 | 13140 | if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then | 
 | 13141 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 13142 | else | 
 | 13143 |   lt_cv_prog_compiler_c_o_F77=no | 
 | 13144 |    $rm -r conftest 2>/dev/null | 
 | 13145 |    mkdir conftest | 
 | 13146 |    cd conftest | 
 | 13147 |    mkdir out | 
 | 13148 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 13149 |  | 
 | 13150 |    # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
 | 13151 |    # that will create temporary files in the current directory regardless of | 
 | 13152 |    # the output directory.  Thus, making CWD read-only will cause this test | 
 | 13153 |    # to fail, enabling locking or at least warning the user not to do parallel | 
 | 13154 |    # builds. | 
 | 13155 |    chmod -w . | 
 | 13156 |  | 
 | 13157 |    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
 | 13158 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 13159 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 13160 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 13161 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 13162 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 13163 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 13164 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 13165 |    -e 's:$: $lt_compiler_flag:'` | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 13166 |    (eval echo "\"\$as_me:13166: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13167 |    (eval "$lt_compile" 2>out/conftest.err) | 
 | 13168 |    ac_status=$? | 
 | 13169 |    cat out/conftest.err >&5 | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 13170 |    echo "$as_me:13170: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13171 |    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
 | 13172 |    then | 
 | 13173 |      # The compiler can only warn and ignore the option if not recognized | 
 | 13174 |      # So say no if there are warnings | 
 | 13175 |      if test ! -s out/conftest.err; then | 
 | 13176 |        lt_cv_prog_compiler_c_o_F77=yes | 
 | 13177 |      fi | 
 | 13178 |    fi | 
 | 13179 |    chmod u+w . | 
 | 13180 |    $rm conftest* out/* | 
 | 13181 |    rmdir out | 
 | 13182 |    cd .. | 
 | 13183 |    rmdir conftest | 
 | 13184 |    $rm conftest* | 
 | 13185 |  | 
 | 13186 | fi | 
 | 13187 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 | 
 | 13188 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 | 
 | 13189 |  | 
 | 13190 |  | 
 | 13191 | hard_links="nottested" | 
 | 13192 | if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then | 
 | 13193 |   # do not overwrite the value of need_locks provided by the user | 
 | 13194 |   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
 | 13195 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
 | 13196 |   hard_links=yes | 
 | 13197 |   $rm conftest* | 
 | 13198 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 13199 |   touch conftest.a | 
 | 13200 |   ln conftest.a conftest.b 2>&5 || hard_links=no | 
 | 13201 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 13202 |   echo "$as_me:$LINENO: result: $hard_links" >&5 | 
 | 13203 | echo "${ECHO_T}$hard_links" >&6 | 
 | 13204 |   if test "$hard_links" = no; then | 
 | 13205 |     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
 | 13206 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
 | 13207 |     need_locks=warn | 
 | 13208 |   fi | 
 | 13209 | else | 
 | 13210 |   need_locks=no | 
 | 13211 | fi | 
 | 13212 |  | 
 | 13213 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
 | 13214 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 13215 |  | 
 | 13216 |   runpath_var= | 
 | 13217 |   allow_undefined_flag_F77= | 
 | 13218 |   enable_shared_with_static_runtimes_F77=no | 
 | 13219 |   archive_cmds_F77= | 
 | 13220 |   archive_expsym_cmds_F77= | 
 | 13221 |   old_archive_From_new_cmds_F77= | 
 | 13222 |   old_archive_from_expsyms_cmds_F77= | 
 | 13223 |   export_dynamic_flag_spec_F77= | 
 | 13224 |   whole_archive_flag_spec_F77= | 
 | 13225 |   thread_safe_flag_spec_F77= | 
 | 13226 |   hardcode_libdir_flag_spec_F77= | 
 | 13227 |   hardcode_libdir_flag_spec_ld_F77= | 
 | 13228 |   hardcode_libdir_separator_F77= | 
 | 13229 |   hardcode_direct_F77=no | 
 | 13230 |   hardcode_minus_L_F77=no | 
 | 13231 |   hardcode_shlibpath_var_F77=unsupported | 
 | 13232 |   link_all_deplibs_F77=unknown | 
 | 13233 |   hardcode_automatic_F77=no | 
 | 13234 |   module_cmds_F77= | 
 | 13235 |   module_expsym_cmds_F77= | 
 | 13236 |   always_export_symbols_F77=no | 
 | 13237 |   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 13238 |   # include_expsyms should be a list of space-separated symbols to be *always* | 
 | 13239 |   # included in the symbol list | 
 | 13240 |   include_expsyms_F77= | 
 | 13241 |   # exclude_expsyms can be an extended regexp of symbols to exclude | 
 | 13242 |   # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
 | 13243 |   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
 | 13244 |   # as well as any symbol that contains `d'. | 
 | 13245 |   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" | 
 | 13246 |   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
 | 13247 |   # platforms (ab)use it in PIC code, but their linkers get confused if | 
 | 13248 |   # the symbol is explicitly referenced.  Since portable code cannot | 
 | 13249 |   # rely on this symbol name, it's probably fine to never include it in | 
 | 13250 |   # preloaded symbol tables. | 
 | 13251 |   extract_expsyms_cmds= | 
 | 13252 |  | 
 | 13253 |   case $host_os in | 
 | 13254 |   cygwin* | mingw* | pw32*) | 
 | 13255 |     # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
 | 13256 |     # When not using gcc, we currently assume that we are using | 
 | 13257 |     # Microsoft Visual C++. | 
 | 13258 |     if test "$GCC" != yes; then | 
 | 13259 |       with_gnu_ld=no | 
 | 13260 |     fi | 
 | 13261 |     ;; | 
 | 13262 |   openbsd*) | 
 | 13263 |     with_gnu_ld=no | 
 | 13264 |     ;; | 
 | 13265 |   esac | 
 | 13266 |  | 
 | 13267 |   ld_shlibs_F77=yes | 
 | 13268 |   if test "$with_gnu_ld" = yes; then | 
 | 13269 |     # If archive_cmds runs LD, not CC, wlarc should be empty | 
 | 13270 |     wlarc='${wl}' | 
 | 13271 |  | 
 | 13272 |     # See if GNU ld supports shared libraries. | 
 | 13273 |     case $host_os in | 
 | 13274 |     aix3* | aix4* | aix5*) | 
 | 13275 |       # On AIX/PPC, the GNU linker is very broken | 
 | 13276 |       if test "$host_cpu" != ia64; then | 
 | 13277 | 	ld_shlibs_F77=no | 
 | 13278 | 	cat <<EOF 1>&2 | 
 | 13279 |  | 
 | 13280 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
 | 13281 | *** to be unable to reliably create shared libraries on AIX. | 
 | 13282 | *** Therefore, libtool is disabling shared libraries support.  If you | 
 | 13283 | *** really care for shared libraries, you may want to modify your PATH | 
 | 13284 | *** so that a non-GNU linker is found, and then restart. | 
 | 13285 |  | 
 | 13286 | EOF | 
 | 13287 |       fi | 
 | 13288 |       ;; | 
 | 13289 |  | 
 | 13290 |     amigaos*) | 
 | 13291 |       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)' | 
 | 13292 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13293 |       hardcode_minus_L_F77=yes | 
 | 13294 |  | 
 | 13295 |       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
 | 13296 |       # that the semantics of dynamic libraries on AmigaOS, at least up | 
 | 13297 |       # to version 4, is to share data among multiple programs linked | 
 | 13298 |       # with the same dynamic library.  Since this doesn't match the | 
 | 13299 |       # behavior of shared libraries on other platforms, we can't use | 
 | 13300 |       # them. | 
 | 13301 |       ld_shlibs_F77=no | 
 | 13302 |       ;; | 
 | 13303 |  | 
 | 13304 |     beos*) | 
 | 13305 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 13306 | 	allow_undefined_flag_F77=unsupported | 
 | 13307 | 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
 | 13308 | 	# support --undefined.  This deserves some investigation.  FIXME | 
 | 13309 | 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 13310 |       else | 
 | 13311 | 	ld_shlibs_F77=no | 
 | 13312 |       fi | 
 | 13313 |       ;; | 
 | 13314 |  | 
 | 13315 |     cygwin* | mingw* | pw32*) | 
 | 13316 |       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, | 
 | 13317 |       # as there is no search path for DLLs. | 
 | 13318 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13319 |       allow_undefined_flag_F77=unsupported | 
 | 13320 |       always_export_symbols_F77=no | 
 | 13321 |       enable_shared_with_static_runtimes_F77=yes | 
 | 13322 |       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 13323 |  | 
 | 13324 |       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
 | 13325 |         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
 | 13326 | 	# If the export-symbols file already is a .def file (1st line | 
 | 13327 | 	# is EXPORTS), use it as is; otherwise, prepend... | 
 | 13328 | 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
 | 13329 | 	  cp $export_symbols $output_objdir/$soname.def; | 
 | 13330 | 	else | 
 | 13331 | 	  echo EXPORTS > $output_objdir/$soname.def; | 
 | 13332 | 	  cat $export_symbols >> $output_objdir/$soname.def; | 
 | 13333 | 	fi~ | 
 | 13334 | 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib' | 
 | 13335 |       else | 
 | 13336 | 	ld_shlibs=no | 
 | 13337 |       fi | 
 | 13338 |       ;; | 
 | 13339 |  | 
 | 13340 |     netbsd*) | 
 | 13341 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 13342 | 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
 | 13343 | 	wlarc= | 
 | 13344 |       else | 
 | 13345 | 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 13346 | 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 13347 |       fi | 
 | 13348 |       ;; | 
 | 13349 |  | 
 | 13350 |     solaris* | sysv5*) | 
 | 13351 |       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 
 | 13352 | 	ld_shlibs_F77=no | 
 | 13353 | 	cat <<EOF 1>&2 | 
 | 13354 |  | 
 | 13355 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
 | 13356 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
 | 13357 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
 | 13358 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
 | 13359 | *** your PATH or compiler configuration so that the native linker is | 
 | 13360 | *** used, and then restart. | 
 | 13361 |  | 
 | 13362 | EOF | 
 | 13363 |       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 13364 | 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 13365 | 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 13366 |       else | 
 | 13367 | 	ld_shlibs_F77=no | 
 | 13368 |       fi | 
 | 13369 |       ;; | 
 | 13370 |  | 
 | 13371 |     sunos4*) | 
 | 13372 |       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 13373 |       wlarc= | 
 | 13374 |       hardcode_direct_F77=yes | 
 | 13375 |       hardcode_shlibpath_var_F77=no | 
 | 13376 |       ;; | 
 | 13377 |  | 
 | 13378 |     *) | 
 | 13379 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 13380 | 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 13381 | 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 13382 |       else | 
 | 13383 | 	ld_shlibs_F77=no | 
 | 13384 |       fi | 
 | 13385 |       ;; | 
 | 13386 |     esac | 
 | 13387 |  | 
 | 13388 |     if test "$ld_shlibs_F77" = yes; then | 
 | 13389 |       runpath_var=LD_RUN_PATH | 
 | 13390 |       hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' | 
 | 13391 |       export_dynamic_flag_spec_F77='${wl}--export-dynamic' | 
 | 13392 |       # ancient GNU ld didn't support --whole-archive et. al. | 
 | 13393 |       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | 
 | 13394 |  	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
 | 13395 |       else | 
 | 13396 |   	whole_archive_flag_spec_F77= | 
 | 13397 |       fi | 
 | 13398 |     fi | 
 | 13399 |   else | 
 | 13400 |     # PORTME fill in a description of your system's linker (not GNU ld) | 
 | 13401 |     case $host_os in | 
 | 13402 |     aix3*) | 
 | 13403 |       allow_undefined_flag_F77=unsupported | 
 | 13404 |       always_export_symbols_F77=yes | 
 | 13405 |       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' | 
 | 13406 |       # Note: this linker hardcodes the directories in LIBPATH if there | 
 | 13407 |       # are no directories specified by -L. | 
 | 13408 |       hardcode_minus_L_F77=yes | 
 | 13409 |       if test "$GCC" = yes && test -z "$link_static_flag"; then | 
 | 13410 | 	# Neither direct hardcoding nor static linking is supported with a | 
 | 13411 | 	# broken collect2. | 
 | 13412 | 	hardcode_direct_F77=unsupported | 
 | 13413 |       fi | 
 | 13414 |       ;; | 
 | 13415 |  | 
 | 13416 |     aix4* | aix5*) | 
 | 13417 |       if test "$host_cpu" = ia64; then | 
 | 13418 | 	# On IA64, the linker does run time linking by default, so we don't | 
 | 13419 | 	# have to do anything special. | 
 | 13420 | 	aix_use_runtimelinking=no | 
 | 13421 | 	exp_sym_flag='-Bexport' | 
 | 13422 | 	no_entry_flag="" | 
 | 13423 |       else | 
 | 13424 | 	# If we're using GNU nm, then we don't want the "-C" option. | 
 | 13425 | 	# -C means demangle to AIX nm, but means don't demangle with GNU nm | 
 | 13426 | 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
 | 13427 | 	  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' | 
 | 13428 | 	else | 
 | 13429 | 	  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' | 
 | 13430 | 	fi | 
 | 13431 | 	aix_use_runtimelinking=no | 
 | 13432 |  | 
 | 13433 | 	# Test if we are trying to use run time linking or normal | 
 | 13434 | 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
 | 13435 | 	# need to do runtime linking. | 
 | 13436 | 	case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
 | 13437 | 	  for ld_flag in $LDFLAGS; do | 
 | 13438 |   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
 | 13439 |   	    aix_use_runtimelinking=yes | 
 | 13440 |   	    break | 
 | 13441 |   	  fi | 
 | 13442 | 	  done | 
 | 13443 | 	esac | 
 | 13444 |  | 
 | 13445 | 	exp_sym_flag='-bexport' | 
 | 13446 | 	no_entry_flag='-bnoentry' | 
 | 13447 |       fi | 
 | 13448 |  | 
 | 13449 |       # When large executables or shared objects are built, AIX ld can | 
 | 13450 |       # have problems creating the table of contents.  If linking a library | 
 | 13451 |       # or program results in "error TOC overflow" add -mminimal-toc to | 
 | 13452 |       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
 | 13453 |       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
 | 13454 |  | 
 | 13455 |       archive_cmds_F77='' | 
 | 13456 |       hardcode_direct_F77=yes | 
 | 13457 |       hardcode_libdir_separator_F77=':' | 
 | 13458 |       link_all_deplibs_F77=yes | 
 | 13459 |  | 
 | 13460 |       if test "$GCC" = yes; then | 
 | 13461 | 	case $host_os in aix4.012|aix4.012.*) | 
 | 13462 | 	# We only want to do this on AIX 4.2 and lower, the check | 
 | 13463 | 	# below for broken collect2 doesn't work under 4.3+ | 
 | 13464 | 	  collect2name=`${CC} -print-prog-name=collect2` | 
 | 13465 | 	  if test -f "$collect2name" && \ | 
 | 13466 |   	   strings "$collect2name" | grep resolve_lib_name >/dev/null | 
 | 13467 | 	  then | 
 | 13468 |   	  # We have reworked collect2 | 
 | 13469 |   	  hardcode_direct_F77=yes | 
 | 13470 | 	  else | 
 | 13471 |   	  # We have old collect2 | 
 | 13472 |   	  hardcode_direct_F77=unsupported | 
 | 13473 |   	  # It fails to find uninstalled libraries when the uninstalled | 
 | 13474 |   	  # path is not listed in the libpath.  Setting hardcode_minus_L | 
 | 13475 |   	  # to unsupported forces relinking | 
 | 13476 |   	  hardcode_minus_L_F77=yes | 
 | 13477 |   	  hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13478 |   	  hardcode_libdir_separator_F77= | 
 | 13479 | 	  fi | 
 | 13480 | 	esac | 
 | 13481 | 	shared_flag='-shared' | 
 | 13482 |       else | 
 | 13483 | 	# not using gcc | 
 | 13484 | 	if test "$host_cpu" = ia64; then | 
 | 13485 |   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
 | 13486 |   	# chokes on -Wl,-G. The following line is correct: | 
 | 13487 | 	  shared_flag='-G' | 
 | 13488 | 	else | 
 | 13489 |   	if test "$aix_use_runtimelinking" = yes; then | 
 | 13490 | 	    shared_flag='${wl}-G' | 
 | 13491 | 	  else | 
 | 13492 | 	    shared_flag='${wl}-bM:SRE' | 
 | 13493 |   	fi | 
 | 13494 | 	fi | 
 | 13495 |       fi | 
 | 13496 |  | 
 | 13497 |       # It seems that -bexpall does not export symbols beginning with | 
 | 13498 |       # underscore (_), so it is better to generate a list of symbols to export. | 
 | 13499 |       always_export_symbols_F77=yes | 
 | 13500 |       if test "$aix_use_runtimelinking" = yes; then | 
 | 13501 | 	# Warning - without using the other runtime loading flags (-brtl), | 
 | 13502 | 	# -berok will link without error, but may produce a broken library. | 
 | 13503 | 	allow_undefined_flag_F77='-berok' | 
 | 13504 |        # Determine the default libpath from the value encoded in an empty executable. | 
 | 13505 |        cat >conftest.$ac_ext <<_ACEOF | 
 | 13506 |       program main | 
 | 13507 |  | 
 | 13508 |       end | 
 | 13509 | _ACEOF | 
 | 13510 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 13511 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 13512 |   (eval $ac_link) 2>&5 | 
 | 13513 |   ac_status=$? | 
 | 13514 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 13515 |   (exit $ac_status); } && | 
 | 13516 |          { ac_try='test -s conftest$ac_exeext' | 
 | 13517 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 13518 |   (eval $ac_try) 2>&5 | 
 | 13519 |   ac_status=$? | 
 | 13520 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 13521 |   (exit $ac_status); }; }; then | 
 | 13522 |  | 
 | 13523 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 13524 | }'` | 
 | 13525 | # Check for a 64-bit object if we didn't find anything. | 
 | 13526 | 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; } | 
 | 13527 | }'`; fi | 
 | 13528 | else | 
 | 13529 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 13530 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 13531 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13532 | fi | 
 | 13533 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 13534 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 13535 |  | 
 | 13536 |        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 13537 | 	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" | 
 | 13538 |        else | 
 | 13539 | 	if test "$host_cpu" = ia64; then | 
 | 13540 | 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' | 
 | 13541 | 	  allow_undefined_flag_F77="-z nodefs" | 
 | 13542 | 	  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" | 
 | 13543 | 	else | 
 | 13544 | 	 # Determine the default libpath from the value encoded in an empty executable. | 
 | 13545 | 	 cat >conftest.$ac_ext <<_ACEOF | 
 | 13546 |       program main | 
 | 13547 |  | 
 | 13548 |       end | 
 | 13549 | _ACEOF | 
 | 13550 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 13551 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 13552 |   (eval $ac_link) 2>&5 | 
 | 13553 |   ac_status=$? | 
 | 13554 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 13555 |   (exit $ac_status); } && | 
 | 13556 |          { ac_try='test -s conftest$ac_exeext' | 
 | 13557 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 13558 |   (eval $ac_try) 2>&5 | 
 | 13559 |   ac_status=$? | 
 | 13560 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 13561 |   (exit $ac_status); }; }; then | 
 | 13562 |  | 
 | 13563 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 13564 | }'` | 
 | 13565 | # Check for a 64-bit object if we didn't find anything. | 
 | 13566 | 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; } | 
 | 13567 | }'`; fi | 
 | 13568 | else | 
 | 13569 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 13570 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 13571 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13572 | fi | 
 | 13573 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 13574 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 13575 |  | 
 | 13576 | 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 13577 | 	  # Warning - without using the other run time loading flags, | 
 | 13578 | 	  # -berok will link without error, but may produce a broken library. | 
 | 13579 | 	  no_undefined_flag_F77=' ${wl}-bernotok' | 
 | 13580 | 	  allow_undefined_flag_F77=' ${wl}-berok' | 
 | 13581 | 	  # -bexpall does not export symbols beginning with underscore (_) | 
 | 13582 | 	  always_export_symbols_F77=yes | 
 | 13583 | 	  # Exported symbols can be pulled into shared objects from archives | 
 | 13584 | 	  whole_archive_flag_spec_F77=' ' | 
 | 13585 | 	  archive_cmds_need_lc_F77=yes | 
 | 13586 | 	  # This is similar to how AIX traditionally builds it's shared libraries. | 
 | 13587 | 	  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' | 
 | 13588 | 	fi | 
 | 13589 |       fi | 
 | 13590 |       ;; | 
 | 13591 |  | 
 | 13592 |     amigaos*) | 
 | 13593 |       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)' | 
 | 13594 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13595 |       hardcode_minus_L_F77=yes | 
 | 13596 |       # see comment about different semantics on the GNU ld section | 
 | 13597 |       ld_shlibs_F77=no | 
 | 13598 |       ;; | 
 | 13599 |  | 
 | 13600 |     bsdi4*) | 
 | 13601 |       export_dynamic_flag_spec_F77=-rdynamic | 
 | 13602 |       ;; | 
 | 13603 |  | 
 | 13604 |     cygwin* | mingw* | pw32*) | 
 | 13605 |       # When not using gcc, we currently assume that we are using | 
 | 13606 |       # Microsoft Visual C++. | 
 | 13607 |       # hardcode_libdir_flag_spec is actually meaningless, as there is | 
 | 13608 |       # no search path for DLLs. | 
 | 13609 |       hardcode_libdir_flag_spec_F77=' ' | 
 | 13610 |       allow_undefined_flag_F77=unsupported | 
 | 13611 |       # Tell ltmain to make .lib files, not .a files. | 
 | 13612 |       libext=lib | 
 | 13613 |       # Tell ltmain to make .dll files, not .so files. | 
 | 13614 |       shrext=".dll" | 
 | 13615 |       # FIXME: Setting linknames here is a bad hack. | 
 | 13616 |       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
 | 13617 |       # The linker will automatically build a .lib file if we build a DLL. | 
 | 13618 |       old_archive_From_new_cmds_F77='true' | 
 | 13619 |       # FIXME: Should let the user specify the lib program. | 
 | 13620 |       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
 | 13621 |       fix_srcfile_path='`cygpath -w "$srcfile"`' | 
 | 13622 |       enable_shared_with_static_runtimes_F77=yes | 
 | 13623 |       ;; | 
 | 13624 |  | 
 | 13625 |     darwin* | rhapsody*) | 
 | 13626 |     if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 13627 |       archive_cmds_need_lc_F77=no | 
 | 13628 |       case "$host_os" in | 
 | 13629 |       rhapsody* | darwin1.[012]) | 
 | 13630 | 	allow_undefined_flag_F77='-undefined suppress' | 
 | 13631 | 	;; | 
 | 13632 |       *) # Darwin 1.3 on | 
 | 13633 | 	test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' | 
 | 13634 | 	;; | 
 | 13635 |       esac | 
 | 13636 |       # FIXME: Relying on posixy $() will cause problems for | 
 | 13637 |       #        cross-compilation, but unfortunately the echo tests do not | 
 | 13638 |       #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
 | 13639 |       #	       `"' quotes if we put them in here... so don't! | 
 | 13640 |     	lt_int_apple_cc_single_mod=no | 
 | 13641 |     	output_verbose_link_cmd='echo' | 
 | 13642 |     	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
 | 13643 |     	  lt_int_apple_cc_single_mod=yes | 
 | 13644 |     	fi | 
 | 13645 |     	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 13646 |     	  archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 13647 |     	else | 
 | 13648 |         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' | 
 | 13649 |       fi | 
 | 13650 |       module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
 | 13651 |       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
 | 13652 |         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 13653 |           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}' | 
 | 13654 |         else | 
 | 13655 |           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}' | 
 | 13656 |         fi | 
 | 13657 |           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}' | 
 | 13658 |       hardcode_direct_F77=no | 
 | 13659 |       hardcode_automatic_F77=yes | 
 | 13660 |       hardcode_shlibpath_var_F77=unsupported | 
 | 13661 |       whole_archive_flag_spec_F77='-all_load $convenience' | 
 | 13662 |       link_all_deplibs_F77=yes | 
 | 13663 |     fi | 
 | 13664 |       ;; | 
 | 13665 |  | 
 | 13666 |     dgux*) | 
 | 13667 |       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13668 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13669 |       hardcode_shlibpath_var_F77=no | 
 | 13670 |       ;; | 
 | 13671 |  | 
 | 13672 |     freebsd1*) | 
 | 13673 |       ld_shlibs_F77=no | 
 | 13674 |       ;; | 
 | 13675 |  | 
 | 13676 |     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
 | 13677 |     # support.  Future versions do this automatically, but an explicit c++rt0.o | 
 | 13678 |     # does not break anything, and helps significantly (at the cost of a little | 
 | 13679 |     # extra space). | 
 | 13680 |     freebsd2.2*) | 
 | 13681 |       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
 | 13682 |       hardcode_libdir_flag_spec_F77='-R$libdir' | 
 | 13683 |       hardcode_direct_F77=yes | 
 | 13684 |       hardcode_shlibpath_var_F77=no | 
 | 13685 |       ;; | 
 | 13686 |  | 
 | 13687 |     # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
 | 13688 |     freebsd2*) | 
 | 13689 |       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 13690 |       hardcode_direct_F77=yes | 
 | 13691 |       hardcode_minus_L_F77=yes | 
 | 13692 |       hardcode_shlibpath_var_F77=no | 
 | 13693 |       ;; | 
 | 13694 |  | 
 | 13695 |     # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
 | 13696 |     freebsd*) | 
 | 13697 |       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13698 |       hardcode_libdir_flag_spec_F77='-R$libdir' | 
 | 13699 |       hardcode_direct_F77=yes | 
 | 13700 |       hardcode_shlibpath_var_F77=no | 
 | 13701 |       ;; | 
 | 13702 |  | 
 | 13703 |     hpux9*) | 
 | 13704 |       if test "$GCC" = yes; then | 
 | 13705 | 	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' | 
 | 13706 |       else | 
 | 13707 | 	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' | 
 | 13708 |       fi | 
 | 13709 |       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | 
 | 13710 |       hardcode_libdir_separator_F77=: | 
 | 13711 |       hardcode_direct_F77=yes | 
 | 13712 |  | 
 | 13713 |       # hardcode_minus_L: Not really in the search PATH, | 
 | 13714 |       # but as the default location of the library. | 
 | 13715 |       hardcode_minus_L_F77=yes | 
 | 13716 |       export_dynamic_flag_spec_F77='${wl}-E' | 
 | 13717 |       ;; | 
 | 13718 |  | 
 | 13719 |     hpux10* | hpux11*) | 
 | 13720 |       if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 
 | 13721 | 	case "$host_cpu" in | 
 | 13722 | 	hppa*64*|ia64*) | 
 | 13723 | 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13724 | 	  ;; | 
 | 13725 | 	*) | 
 | 13726 | 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13727 | 	  ;; | 
 | 13728 | 	esac | 
 | 13729 |       else | 
 | 13730 | 	case "$host_cpu" in | 
 | 13731 | 	hppa*64*|ia64*) | 
 | 13732 | 	  archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13733 | 	  ;; | 
 | 13734 | 	*) | 
 | 13735 | 	  archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 
 | 13736 | 	  ;; | 
 | 13737 | 	esac | 
 | 13738 |       fi | 
 | 13739 |       if test "$with_gnu_ld" = no; then | 
 | 13740 | 	case "$host_cpu" in | 
 | 13741 | 	hppa*64*) | 
 | 13742 | 	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | 
 | 13743 | 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir' | 
 | 13744 | 	  hardcode_libdir_separator_F77=: | 
 | 13745 | 	  hardcode_direct_F77=no | 
 | 13746 | 	  hardcode_shlibpath_var_F77=no | 
 | 13747 | 	  ;; | 
 | 13748 | 	ia64*) | 
 | 13749 | 	  hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13750 | 	  hardcode_direct_F77=no | 
 | 13751 | 	  hardcode_shlibpath_var_F77=no | 
 | 13752 |  | 
 | 13753 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 13754 | 	  # but as the default location of the library. | 
 | 13755 | 	  hardcode_minus_L_F77=yes | 
 | 13756 | 	  ;; | 
 | 13757 | 	*) | 
 | 13758 | 	  hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | 
 | 13759 | 	  hardcode_libdir_separator_F77=: | 
 | 13760 | 	  hardcode_direct_F77=yes | 
 | 13761 | 	  export_dynamic_flag_spec_F77='${wl}-E' | 
 | 13762 |  | 
 | 13763 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 13764 | 	  # but as the default location of the library. | 
 | 13765 | 	  hardcode_minus_L_F77=yes | 
 | 13766 | 	  ;; | 
 | 13767 | 	esac | 
 | 13768 |       fi | 
 | 13769 |       ;; | 
 | 13770 |  | 
 | 13771 |     irix5* | irix6* | nonstopux*) | 
 | 13772 |       if test "$GCC" = yes; then | 
 | 13773 | 	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' | 
 | 13774 |       else | 
 | 13775 | 	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' | 
 | 13776 | 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' | 
 | 13777 |       fi | 
 | 13778 |       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
 | 13779 |       hardcode_libdir_separator_F77=: | 
 | 13780 |       link_all_deplibs_F77=yes | 
 | 13781 |       ;; | 
 | 13782 |  | 
 | 13783 |     netbsd*) | 
 | 13784 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 13785 | 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
 | 13786 |       else | 
 | 13787 | 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
 | 13788 |       fi | 
 | 13789 |       hardcode_libdir_flag_spec_F77='-R$libdir' | 
 | 13790 |       hardcode_direct_F77=yes | 
 | 13791 |       hardcode_shlibpath_var_F77=no | 
 | 13792 |       ;; | 
 | 13793 |  | 
 | 13794 |     newsos6) | 
 | 13795 |       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13796 |       hardcode_direct_F77=yes | 
 | 13797 |       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
 | 13798 |       hardcode_libdir_separator_F77=: | 
 | 13799 |       hardcode_shlibpath_var_F77=no | 
 | 13800 |       ;; | 
 | 13801 |  | 
 | 13802 |     openbsd*) | 
 | 13803 |       hardcode_direct_F77=yes | 
 | 13804 |       hardcode_shlibpath_var_F77=no | 
 | 13805 |       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 13806 | 	archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13807 | 	hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | 
 | 13808 | 	export_dynamic_flag_spec_F77='${wl}-E' | 
 | 13809 |       else | 
 | 13810 |        case $host_os in | 
 | 13811 | 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
 | 13812 | 	   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 13813 | 	   hardcode_libdir_flag_spec_F77='-R$libdir' | 
 | 13814 | 	   ;; | 
 | 13815 | 	 *) | 
 | 13816 | 	   archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13817 | 	   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | 
 | 13818 | 	   ;; | 
 | 13819 |        esac | 
 | 13820 |       fi | 
 | 13821 |       ;; | 
 | 13822 |  | 
 | 13823 |     os2*) | 
 | 13824 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13825 |       hardcode_minus_L_F77=yes | 
 | 13826 |       allow_undefined_flag_F77=unsupported | 
 | 13827 |       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' | 
 | 13828 |       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
 | 13829 |       ;; | 
 | 13830 |  | 
 | 13831 |     osf3*) | 
 | 13832 |       if test "$GCC" = yes; then | 
 | 13833 | 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' | 
 | 13834 | 	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' | 
 | 13835 |       else | 
 | 13836 | 	allow_undefined_flag_F77=' -expect_unresolved \*' | 
 | 13837 | 	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' | 
 | 13838 |       fi | 
 | 13839 |       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
 | 13840 |       hardcode_libdir_separator_F77=: | 
 | 13841 |       ;; | 
 | 13842 |  | 
 | 13843 |     osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
 | 13844 |       if test "$GCC" = yes; then | 
 | 13845 | 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' | 
 | 13846 | 	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' | 
 | 13847 | 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
 | 13848 |       else | 
 | 13849 | 	allow_undefined_flag_F77=' -expect_unresolved \*' | 
 | 13850 | 	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' | 
 | 13851 | 	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~ | 
 | 13852 | 	$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' | 
 | 13853 |  | 
 | 13854 | 	# Both c and cxx compiler support -rpath directly | 
 | 13855 | 	hardcode_libdir_flag_spec_F77='-rpath $libdir' | 
 | 13856 |       fi | 
 | 13857 |       hardcode_libdir_separator_F77=: | 
 | 13858 |       ;; | 
 | 13859 |  | 
 | 13860 |     sco3.2v5*) | 
 | 13861 |       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13862 |       hardcode_shlibpath_var_F77=no | 
 | 13863 |       export_dynamic_flag_spec_F77='${wl}-Bexport' | 
 | 13864 |       runpath_var=LD_RUN_PATH | 
 | 13865 |       hardcode_runpath_var=yes | 
 | 13866 |       ;; | 
 | 13867 |  | 
 | 13868 |     solaris*) | 
 | 13869 |       no_undefined_flag_F77=' -z text' | 
 | 13870 |       if test "$GCC" = yes; then | 
 | 13871 | 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13872 | 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 13873 | 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 
 | 13874 |       else | 
 | 13875 | 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13876 | 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 13877 |   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 13878 |       fi | 
 | 13879 |       hardcode_libdir_flag_spec_F77='-R$libdir' | 
 | 13880 |       hardcode_shlibpath_var_F77=no | 
 | 13881 |       case $host_os in | 
 | 13882 |       solaris2.[0-5] | solaris2.[0-5].*) ;; | 
 | 13883 |       *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
 | 13884 | 	whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; | 
 | 13885 |       esac | 
 | 13886 |       link_all_deplibs_F77=yes | 
 | 13887 |       ;; | 
 | 13888 |  | 
 | 13889 |     sunos4*) | 
 | 13890 |       if test "x$host_vendor" = xsequent; then | 
 | 13891 | 	# Use $CC to link under sequent, because it throws in some extra .o | 
 | 13892 | 	# files that make .init and .fini sections work. | 
 | 13893 | 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13894 |       else | 
 | 13895 | 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
 | 13896 |       fi | 
 | 13897 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13898 |       hardcode_direct_F77=yes | 
 | 13899 |       hardcode_minus_L_F77=yes | 
 | 13900 |       hardcode_shlibpath_var_F77=no | 
 | 13901 |       ;; | 
 | 13902 |  | 
 | 13903 |     sysv4) | 
 | 13904 |       case $host_vendor in | 
 | 13905 | 	sni) | 
 | 13906 | 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13907 | 	  hardcode_direct_F77=yes # is this really true??? | 
 | 13908 | 	;; | 
 | 13909 | 	siemens) | 
 | 13910 | 	  ## LD is ld it makes a PLAMLIB | 
 | 13911 | 	  ## CC just makes a GrossModule. | 
 | 13912 | 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 13913 | 	  reload_cmds_F77='$CC -r -o $output$reload_objs' | 
 | 13914 | 	  hardcode_direct_F77=no | 
 | 13915 |         ;; | 
 | 13916 | 	motorola) | 
 | 13917 | 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13918 | 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie | 
 | 13919 | 	;; | 
 | 13920 |       esac | 
 | 13921 |       runpath_var='LD_RUN_PATH' | 
 | 13922 |       hardcode_shlibpath_var_F77=no | 
 | 13923 |       ;; | 
 | 13924 |  | 
 | 13925 |     sysv4.3*) | 
 | 13926 |       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13927 |       hardcode_shlibpath_var_F77=no | 
 | 13928 |       export_dynamic_flag_spec_F77='-Bexport' | 
 | 13929 |       ;; | 
 | 13930 |  | 
 | 13931 |     sysv4*MP*) | 
 | 13932 |       if test -d /usr/nec; then | 
 | 13933 | 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13934 | 	hardcode_shlibpath_var_F77=no | 
 | 13935 | 	runpath_var=LD_RUN_PATH | 
 | 13936 | 	hardcode_runpath_var=yes | 
 | 13937 | 	ld_shlibs_F77=yes | 
 | 13938 |       fi | 
 | 13939 |       ;; | 
 | 13940 |  | 
 | 13941 |     sysv4.2uw2*) | 
 | 13942 |       archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 13943 |       hardcode_direct_F77=yes | 
 | 13944 |       hardcode_minus_L_F77=no | 
 | 13945 |       hardcode_shlibpath_var_F77=no | 
 | 13946 |       hardcode_runpath_var=yes | 
 | 13947 |       runpath_var=LD_RUN_PATH | 
 | 13948 |       ;; | 
 | 13949 |  | 
 | 13950 |    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*) | 
 | 13951 |       no_undefined_flag_F77='${wl}-z ${wl}text' | 
 | 13952 |       if test "$GCC" = yes; then | 
 | 13953 | 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13954 |       else | 
 | 13955 | 	archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 13956 |       fi | 
 | 13957 |       runpath_var='LD_RUN_PATH' | 
 | 13958 |       hardcode_shlibpath_var_F77=no | 
 | 13959 |       ;; | 
 | 13960 |  | 
 | 13961 |     sysv5*) | 
 | 13962 |       no_undefined_flag_F77=' -z text' | 
 | 13963 |       # $CC -shared without GNU ld will not create a library from C++ | 
 | 13964 |       # object files and a static libstdc++, better avoid it by now | 
 | 13965 |       archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13966 |       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 13967 |   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 13968 |       hardcode_libdir_flag_spec_F77= | 
 | 13969 |       hardcode_shlibpath_var_F77=no | 
 | 13970 |       runpath_var='LD_RUN_PATH' | 
 | 13971 |       ;; | 
 | 13972 |  | 
 | 13973 |     uts4*) | 
 | 13974 |       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 13975 |       hardcode_libdir_flag_spec_F77='-L$libdir' | 
 | 13976 |       hardcode_shlibpath_var_F77=no | 
 | 13977 |       ;; | 
 | 13978 |  | 
 | 13979 |     *) | 
 | 13980 |       ld_shlibs_F77=no | 
 | 13981 |       ;; | 
 | 13982 |     esac | 
 | 13983 |   fi | 
 | 13984 |  | 
 | 13985 | echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 | 
 | 13986 | echo "${ECHO_T}$ld_shlibs_F77" >&6 | 
 | 13987 | test "$ld_shlibs_F77" = no && can_build_shared=no | 
 | 13988 |  | 
 | 13989 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
 | 13990 | if test "$GCC" = yes; then | 
 | 13991 |   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
 | 13992 | fi | 
 | 13993 |  | 
 | 13994 | # | 
 | 13995 | # Do we need to explicitly link libc? | 
 | 13996 | # | 
 | 13997 | case "x$archive_cmds_need_lc_F77" in | 
 | 13998 | x|xyes) | 
 | 13999 |   # Assume -lc should be added | 
 | 14000 |   archive_cmds_need_lc_F77=yes | 
 | 14001 |  | 
 | 14002 |   if test "$enable_shared" = yes && test "$GCC" = yes; then | 
 | 14003 |     case $archive_cmds_F77 in | 
 | 14004 |     *'~'*) | 
 | 14005 |       # FIXME: we may have to deal with multi-command sequences. | 
 | 14006 |       ;; | 
 | 14007 |     '$CC '*) | 
 | 14008 |       # Test whether the compiler implicitly links with -lc since on some | 
 | 14009 |       # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
 | 14010 |       # to ld, don't add -lc before -lgcc. | 
 | 14011 |       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
 | 14012 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
 | 14013 |       $rm conftest* | 
 | 14014 |       printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 14015 |  | 
 | 14016 |       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 14017 |   (eval $ac_compile) 2>&5 | 
 | 14018 |   ac_status=$? | 
 | 14019 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 14020 |   (exit $ac_status); } 2>conftest.err; then | 
 | 14021 |         soname=conftest | 
 | 14022 |         lib=conftest | 
 | 14023 |         libobjs=conftest.$ac_objext | 
 | 14024 |         deplibs= | 
 | 14025 |         wl=$lt_prog_compiler_wl_F77 | 
 | 14026 |         compiler_flags=-v | 
 | 14027 |         linker_flags=-v | 
 | 14028 |         verstring= | 
 | 14029 |         output_objdir=. | 
 | 14030 |         libname=conftest | 
 | 14031 |         lt_save_allow_undefined_flag=$allow_undefined_flag_F77 | 
 | 14032 |         allow_undefined_flag_F77= | 
 | 14033 |         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
 | 14034 |   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
 | 14035 |   ac_status=$? | 
 | 14036 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 14037 |   (exit $ac_status); } | 
 | 14038 |         then | 
 | 14039 | 	  archive_cmds_need_lc_F77=no | 
 | 14040 |         else | 
 | 14041 | 	  archive_cmds_need_lc_F77=yes | 
 | 14042 |         fi | 
 | 14043 |         allow_undefined_flag_F77=$lt_save_allow_undefined_flag | 
 | 14044 |       else | 
 | 14045 |         cat conftest.err 1>&5 | 
 | 14046 |       fi | 
 | 14047 |       $rm conftest* | 
 | 14048 |       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 | 
 | 14049 | echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 | 
 | 14050 |       ;; | 
 | 14051 |     esac | 
 | 14052 |   fi | 
 | 14053 |   ;; | 
 | 14054 | esac | 
 | 14055 |  | 
 | 14056 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
 | 14057 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
 | 14058 | hardcode_action_F77= | 
 | 14059 | if test -n "$hardcode_libdir_flag_spec_F77" || \ | 
 | 14060 |    test -n "$runpath_var F77" || \ | 
 | 14061 |    test "X$hardcode_automatic_F77"="Xyes" ; then | 
 | 14062 |  | 
 | 14063 |   # We can hardcode non-existant directories. | 
 | 14064 |   if test "$hardcode_direct_F77" != no && | 
 | 14065 |      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
 | 14066 |      # have to relink, otherwise we might link with an installed library | 
 | 14067 |      # when we should be linking with a yet-to-be-installed one | 
 | 14068 |      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && | 
 | 14069 |      test "$hardcode_minus_L_F77" != no; then | 
 | 14070 |     # Linking always hardcodes the temporary library directory. | 
 | 14071 |     hardcode_action_F77=relink | 
 | 14072 |   else | 
 | 14073 |     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
 | 14074 |     hardcode_action_F77=immediate | 
 | 14075 |   fi | 
 | 14076 | else | 
 | 14077 |   # We cannot hardcode anything, or else we can only hardcode existing | 
 | 14078 |   # directories. | 
 | 14079 |   hardcode_action_F77=unsupported | 
 | 14080 | fi | 
 | 14081 | echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 | 
 | 14082 | echo "${ECHO_T}$hardcode_action_F77" >&6 | 
 | 14083 |  | 
 | 14084 | if test "$hardcode_action_F77" = relink; then | 
 | 14085 |   # Fast installation is not supported | 
 | 14086 |   enable_fast_install=no | 
 | 14087 | elif test "$shlibpath_overrides_runpath" = yes || | 
 | 14088 |      test "$enable_shared" = no; then | 
 | 14089 |   # Fast installation is not necessary | 
 | 14090 |   enable_fast_install=needless | 
 | 14091 | fi | 
 | 14092 |  | 
 | 14093 | striplib= | 
 | 14094 | old_striplib= | 
 | 14095 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
 | 14096 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
 | 14097 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
 | 14098 |   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
 | 14099 |   test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
 | 14100 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 14101 | echo "${ECHO_T}yes" >&6 | 
 | 14102 | else | 
 | 14103 | # FIXME - insert some real tests, host_os isn't really good enough | 
 | 14104 |   case $host_os in | 
 | 14105 |    darwin*) | 
 | 14106 |        if test -n "$STRIP" ; then | 
 | 14107 |          striplib="$STRIP -x" | 
 | 14108 |          echo "$as_me:$LINENO: result: yes" >&5 | 
 | 14109 | echo "${ECHO_T}yes" >&6 | 
 | 14110 |        else | 
 | 14111 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 14112 | echo "${ECHO_T}no" >&6 | 
 | 14113 | fi | 
 | 14114 |        ;; | 
 | 14115 |    *) | 
 | 14116 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 14117 | echo "${ECHO_T}no" >&6 | 
 | 14118 |     ;; | 
 | 14119 |   esac | 
 | 14120 | fi | 
 | 14121 |  | 
 | 14122 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
 | 14123 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
 | 14124 | library_names_spec= | 
 | 14125 | libname_spec='lib$name' | 
 | 14126 | soname_spec= | 
 | 14127 | shrext=".so" | 
 | 14128 | postinstall_cmds= | 
 | 14129 | postuninstall_cmds= | 
 | 14130 | finish_cmds= | 
 | 14131 | finish_eval= | 
 | 14132 | shlibpath_var= | 
 | 14133 | shlibpath_overrides_runpath=unknown | 
 | 14134 | version_type=none | 
 | 14135 | dynamic_linker="$host_os ld.so" | 
 | 14136 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
 | 14137 | if test "$GCC" = yes; then | 
 | 14138 |   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 14139 |   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
 | 14140 |     # if the path contains ";" then we assume it to be the separator | 
 | 14141 |     # otherwise default to the standard path separator (i.e. ":") - it is | 
 | 14142 |     # assumed that no part of a normal pathname contains ";" but that should | 
 | 14143 |     # okay in the real world where ";" in dirpaths is itself problematic. | 
 | 14144 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 14145 |   else | 
 | 14146 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 14147 |   fi | 
 | 14148 | else | 
 | 14149 |   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
 | 14150 | fi | 
 | 14151 | need_lib_prefix=unknown | 
 | 14152 | hardcode_into_libs=no | 
 | 14153 |  | 
 | 14154 | # when you set need_version to no, make sure it does not cause -set_version | 
 | 14155 | # flags to be left without arguments | 
 | 14156 | need_version=unknown | 
 | 14157 |  | 
 | 14158 | case $host_os in | 
 | 14159 | aix3*) | 
 | 14160 |   version_type=linux | 
 | 14161 |   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
 | 14162 |   shlibpath_var=LIBPATH | 
 | 14163 |  | 
 | 14164 |   # AIX 3 has no versioning support, so we append a major version to the name. | 
 | 14165 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14166 |   ;; | 
 | 14167 |  | 
 | 14168 | aix4* | aix5*) | 
 | 14169 |   version_type=linux | 
 | 14170 |   need_lib_prefix=no | 
 | 14171 |   need_version=no | 
 | 14172 |   hardcode_into_libs=yes | 
 | 14173 |   if test "$host_cpu" = ia64; then | 
 | 14174 |     # AIX 5 supports IA64 | 
 | 14175 |     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
 | 14176 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 14177 |   else | 
 | 14178 |     # With GCC up to 2.95.x, collect2 would create an import file | 
 | 14179 |     # for dependence libraries.  The import file would start with | 
 | 14180 |     # the line `#! .'.  This would cause the generated library to | 
 | 14181 |     # depend on `.', always an invalid library.  This was fixed in | 
 | 14182 |     # development snapshots of GCC prior to 3.0. | 
 | 14183 |     case $host_os in | 
 | 14184 |       aix4 | aix4.[01] | aix4.[01].*) | 
 | 14185 |       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
 | 14186 | 	   echo ' yes ' | 
 | 14187 | 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
 | 14188 | 	: | 
 | 14189 |       else | 
 | 14190 | 	can_build_shared=no | 
 | 14191 |       fi | 
 | 14192 |       ;; | 
 | 14193 |     esac | 
 | 14194 |     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
 | 14195 |     # soname into executable. Probably we can add versioning support to | 
 | 14196 |     # collect2, so additional links can be useful in future. | 
 | 14197 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 14198 |       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
 | 14199 |       # instead of lib<name>.a to let people know that these are not | 
 | 14200 |       # typical AIX shared libraries. | 
 | 14201 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14202 |     else | 
 | 14203 |       # We preserve .a as extension for shared libraries through AIX4.2 | 
 | 14204 |       # and later when we are not doing run time linking. | 
 | 14205 |       library_names_spec='${libname}${release}.a $libname.a' | 
 | 14206 |       soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14207 |     fi | 
 | 14208 |     shlibpath_var=LIBPATH | 
 | 14209 |   fi | 
 | 14210 |   ;; | 
 | 14211 |  | 
 | 14212 | amigaos*) | 
 | 14213 |   library_names_spec='$libname.ixlibrary $libname.a' | 
 | 14214 |   # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
 | 14215 |   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' | 
 | 14216 |   ;; | 
 | 14217 |  | 
 | 14218 | beos*) | 
 | 14219 |   library_names_spec='${libname}${shared_ext}' | 
 | 14220 |   dynamic_linker="$host_os ld.so" | 
 | 14221 |   shlibpath_var=LIBRARY_PATH | 
 | 14222 |   ;; | 
 | 14223 |  | 
 | 14224 | bsdi4*) | 
 | 14225 |   version_type=linux | 
 | 14226 |   need_version=no | 
 | 14227 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14228 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14229 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
 | 14230 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14231 |   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
 | 14232 |   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
 | 14233 |   # the default ld.so.conf also contains /usr/contrib/lib and | 
 | 14234 |   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
 | 14235 |   # libtool to hard-code these into programs | 
 | 14236 |   ;; | 
 | 14237 |  | 
 | 14238 | cygwin* | mingw* | pw32*) | 
 | 14239 |   version_type=windows | 
 | 14240 |   shrext=".dll" | 
 | 14241 |   need_version=no | 
 | 14242 |   need_lib_prefix=no | 
 | 14243 |  | 
 | 14244 |   case $GCC,$host_os in | 
 | 14245 |   yes,cygwin* | yes,mingw* | yes,pw32*) | 
 | 14246 |     library_names_spec='$libname.dll.a' | 
 | 14247 |     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
 | 14248 |     postinstall_cmds='base_file=`basename \${file}`~ | 
 | 14249 |       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
 | 14250 |       dldir=$destdir/`dirname \$dlpath`~ | 
 | 14251 |       test -d \$dldir || mkdir -p \$dldir~ | 
 | 14252 |       $install_prog $dir/$dlname \$dldir/$dlname' | 
 | 14253 |     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
 | 14254 |       dlpath=$dir/\$dldll~ | 
 | 14255 |        $rm \$dlpath' | 
 | 14256 |     shlibpath_overrides_runpath=yes | 
 | 14257 |  | 
 | 14258 |     case $host_os in | 
 | 14259 |     cygwin*) | 
 | 14260 |       # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
 | 14261 |       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 14262 |       sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
 | 14263 |       ;; | 
 | 14264 |     mingw*) | 
 | 14265 |       # MinGW DLLs use traditional 'lib' prefix | 
 | 14266 |       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 14267 |       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 14268 |       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
 | 14269 |         # It is most probably a Windows format PATH printed by | 
 | 14270 |         # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
 | 14271 |         # path with ; separators, and with drive letters. We can handle the | 
 | 14272 |         # drive letters (cygwin fileutils understands them), so leave them, | 
 | 14273 |         # especially as we might pass files found there to a mingw objdump, | 
 | 14274 |         # which wouldn't understand a cygwinified path. Ahh. | 
 | 14275 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 14276 |       else | 
 | 14277 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 14278 |       fi | 
 | 14279 |       ;; | 
 | 14280 |     pw32*) | 
 | 14281 |       # pw32 DLLs use 'pw' prefix rather than 'lib' | 
 | 14282 |       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
 | 14283 |       ;; | 
 | 14284 |     esac | 
 | 14285 |     ;; | 
 | 14286 |  | 
 | 14287 |   *) | 
 | 14288 |     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
 | 14289 |     ;; | 
 | 14290 |   esac | 
 | 14291 |   dynamic_linker='Win32 ld.exe' | 
 | 14292 |   # FIXME: first we should search . and the directory the executable is in | 
 | 14293 |   shlibpath_var=PATH | 
 | 14294 |   ;; | 
 | 14295 |  | 
 | 14296 | darwin* | rhapsody*) | 
 | 14297 |   dynamic_linker="$host_os dyld" | 
 | 14298 |   version_type=darwin | 
 | 14299 |   need_lib_prefix=no | 
 | 14300 |   need_version=no | 
 | 14301 |   # FIXME: Relying on posixy $() will cause problems for | 
 | 14302 |   #        cross-compilation, but unfortunately the echo tests do not | 
 | 14303 |   #        yet detect zsh echo's removal of \ escapes. | 
 | 14304 |   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
 | 14305 |   soname_spec='${libname}${release}${major}$shared_ext' | 
 | 14306 |   shlibpath_overrides_runpath=yes | 
 | 14307 |   shlibpath_var=DYLD_LIBRARY_PATH | 
 | 14308 |   shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
 | 14309 |   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
 | 14310 |   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 14311 |   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"` | 
 | 14312 |   fi | 
 | 14313 |   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
 | 14314 |   ;; | 
 | 14315 |  | 
 | 14316 | dgux*) | 
 | 14317 |   version_type=linux | 
 | 14318 |   need_lib_prefix=no | 
 | 14319 |   need_version=no | 
 | 14320 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
 | 14321 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14322 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14323 |   ;; | 
 | 14324 |  | 
 | 14325 | freebsd1*) | 
 | 14326 |   dynamic_linker=no | 
 | 14327 |   ;; | 
 | 14328 |  | 
 | 14329 | freebsd*) | 
 | 14330 |   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
 | 14331 |   version_type=freebsd-$objformat | 
 | 14332 |   case $version_type in | 
 | 14333 |     freebsd-elf*) | 
 | 14334 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 14335 |       need_version=no | 
 | 14336 |       need_lib_prefix=no | 
 | 14337 |       ;; | 
 | 14338 |     freebsd-*) | 
 | 14339 |       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
 | 14340 |       need_version=yes | 
 | 14341 |       ;; | 
 | 14342 |   esac | 
 | 14343 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14344 |   case $host_os in | 
 | 14345 |   freebsd2*) | 
 | 14346 |     shlibpath_overrides_runpath=yes | 
 | 14347 |     ;; | 
 | 14348 |   freebsd3.01* | freebsdelf3.01*) | 
 | 14349 |     shlibpath_overrides_runpath=yes | 
 | 14350 |     hardcode_into_libs=yes | 
 | 14351 |     ;; | 
 | 14352 |   *) # from 3.2 on | 
 | 14353 |     shlibpath_overrides_runpath=no | 
 | 14354 |     hardcode_into_libs=yes | 
 | 14355 |     ;; | 
 | 14356 |   esac | 
 | 14357 |   ;; | 
 | 14358 |  | 
 | 14359 | gnu*) | 
 | 14360 |   version_type=linux | 
 | 14361 |   need_lib_prefix=no | 
 | 14362 |   need_version=no | 
 | 14363 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
 | 14364 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14365 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14366 |   hardcode_into_libs=yes | 
 | 14367 |   ;; | 
 | 14368 |  | 
 | 14369 | hpux9* | hpux10* | hpux11*) | 
 | 14370 |   # Give a soname corresponding to the major version so that dld.sl refuses to | 
 | 14371 |   # link against other versions. | 
 | 14372 |   version_type=sunos | 
 | 14373 |   need_lib_prefix=no | 
 | 14374 |   need_version=no | 
 | 14375 |   case "$host_cpu" in | 
 | 14376 |   ia64*) | 
 | 14377 |     shrext='.so' | 
 | 14378 |     hardcode_into_libs=yes | 
 | 14379 |     dynamic_linker="$host_os dld.so" | 
 | 14380 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 14381 |     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 14382 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14383 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14384 |     if test "X$HPUX_IA64_MODE" = X32; then | 
 | 14385 |       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
 | 14386 |     else | 
 | 14387 |       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
 | 14388 |     fi | 
 | 14389 |     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 14390 |     ;; | 
 | 14391 |    hppa*64*) | 
 | 14392 |      shrext='.sl' | 
 | 14393 |      hardcode_into_libs=yes | 
 | 14394 |      dynamic_linker="$host_os dld.sl" | 
 | 14395 |      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
 | 14396 |      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 14397 |      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14398 |      soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14399 |      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
 | 14400 |      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 14401 |      ;; | 
 | 14402 |    *) | 
 | 14403 |     shrext='.sl' | 
 | 14404 |     dynamic_linker="$host_os dld.sl" | 
 | 14405 |     shlibpath_var=SHLIB_PATH | 
 | 14406 |     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
 | 14407 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14408 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14409 |     ;; | 
 | 14410 |   esac | 
 | 14411 |   # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
 | 14412 |   postinstall_cmds='chmod 555 $lib' | 
 | 14413 |   ;; | 
 | 14414 |  | 
 | 14415 | irix5* | irix6* | nonstopux*) | 
 | 14416 |   case $host_os in | 
 | 14417 |     nonstopux*) version_type=nonstopux ;; | 
 | 14418 |     *) | 
 | 14419 | 	if test "$lt_cv_prog_gnu_ld" = yes; then | 
 | 14420 | 		version_type=linux | 
 | 14421 | 	else | 
 | 14422 | 		version_type=irix | 
 | 14423 | 	fi ;; | 
 | 14424 |   esac | 
 | 14425 |   need_lib_prefix=no | 
 | 14426 |   need_version=no | 
 | 14427 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14428 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 14429 |   case $host_os in | 
 | 14430 |   irix5* | nonstopux*) | 
 | 14431 |     libsuff= shlibsuff= | 
 | 14432 |     ;; | 
 | 14433 |   *) | 
 | 14434 |     case $LD in # libtool.m4 will add one of these switches to LD | 
 | 14435 |     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
 | 14436 |       libsuff= shlibsuff= libmagic=32-bit;; | 
 | 14437 |     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
 | 14438 |       libsuff=32 shlibsuff=N32 libmagic=N32;; | 
 | 14439 |     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
 | 14440 |       libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
 | 14441 |     *) libsuff= shlibsuff= libmagic=never-match;; | 
 | 14442 |     esac | 
 | 14443 |     ;; | 
 | 14444 |   esac | 
 | 14445 |   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
 | 14446 |   shlibpath_overrides_runpath=no | 
 | 14447 |   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
 | 14448 |   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
 | 14449 |   hardcode_into_libs=yes | 
 | 14450 |   ;; | 
 | 14451 |  | 
 | 14452 | # No shared lib support for Linux oldld, aout, or coff. | 
 | 14453 | linux*oldld* | linux*aout* | linux*coff*) | 
 | 14454 |   dynamic_linker=no | 
 | 14455 |   ;; | 
 | 14456 |  | 
 | 14457 | # This must be Linux ELF. | 
 | 14458 | linux*) | 
 | 14459 |   version_type=linux | 
 | 14460 |   need_lib_prefix=no | 
 | 14461 |   need_version=no | 
 | 14462 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14463 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14464 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
 | 14465 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14466 |   shlibpath_overrides_runpath=no | 
 | 14467 |   # This implies no fast_install, which is unacceptable. | 
 | 14468 |   # Some rework will be needed to allow for fast_install | 
 | 14469 |   # before this can be enabled. | 
 | 14470 |   hardcode_into_libs=yes | 
 | 14471 |  | 
 | 14472 |   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
 | 14473 |   # powerpc, because MkLinux only supported shared libraries with the | 
 | 14474 |   # GNU dynamic linker.  Since this was broken with cross compilers, | 
 | 14475 |   # most powerpc-linux boxes support dynamic linking these days and | 
 | 14476 |   # people can always --disable-shared, the test was removed, and we | 
 | 14477 |   # assume the GNU/Linux dynamic linker is in use. | 
 | 14478 |   dynamic_linker='GNU/Linux ld.so' | 
 | 14479 |   ;; | 
 | 14480 |  | 
 | 14481 | netbsd*) | 
 | 14482 |   version_type=sunos | 
 | 14483 |   need_lib_prefix=no | 
 | 14484 |   need_version=no | 
 | 14485 |   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 14486 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 14487 |     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 14488 |     dynamic_linker='NetBSD (a.out) ld.so' | 
 | 14489 |   else | 
 | 14490 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
 | 14491 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14492 |     dynamic_linker='NetBSD ld.elf_so' | 
 | 14493 |   fi | 
 | 14494 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14495 |   shlibpath_overrides_runpath=yes | 
 | 14496 |   hardcode_into_libs=yes | 
 | 14497 |   ;; | 
 | 14498 |  | 
 | 14499 | newsos6) | 
 | 14500 |   version_type=linux | 
 | 14501 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14502 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14503 |   shlibpath_overrides_runpath=yes | 
 | 14504 |   ;; | 
 | 14505 |  | 
 | 14506 | nto-qnx) | 
 | 14507 |   version_type=linux | 
 | 14508 |   need_lib_prefix=no | 
 | 14509 |   need_version=no | 
 | 14510 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14511 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14512 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14513 |   shlibpath_overrides_runpath=yes | 
 | 14514 |   ;; | 
 | 14515 |  | 
 | 14516 | openbsd*) | 
 | 14517 |   version_type=sunos | 
 | 14518 |   need_lib_prefix=no | 
 | 14519 |   need_version=no | 
 | 14520 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 14521 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 14522 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14523 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 14524 |     case $host_os in | 
 | 14525 |       openbsd2.[89] | openbsd2.[89].*) | 
 | 14526 | 	shlibpath_overrides_runpath=no | 
 | 14527 | 	;; | 
 | 14528 |       *) | 
 | 14529 | 	shlibpath_overrides_runpath=yes | 
 | 14530 | 	;; | 
 | 14531 |       esac | 
 | 14532 |   else | 
 | 14533 |     shlibpath_overrides_runpath=yes | 
 | 14534 |   fi | 
 | 14535 |   ;; | 
 | 14536 |  | 
 | 14537 | os2*) | 
 | 14538 |   libname_spec='$name' | 
 | 14539 |   shrext=".dll" | 
 | 14540 |   need_lib_prefix=no | 
 | 14541 |   library_names_spec='$libname${shared_ext} $libname.a' | 
 | 14542 |   dynamic_linker='OS/2 ld.exe' | 
 | 14543 |   shlibpath_var=LIBPATH | 
 | 14544 |   ;; | 
 | 14545 |  | 
 | 14546 | osf3* | osf4* | osf5*) | 
 | 14547 |   version_type=osf | 
 | 14548 |   need_lib_prefix=no | 
 | 14549 |   need_version=no | 
 | 14550 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14551 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14552 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14553 |   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
 | 14554 |   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
 | 14555 |   ;; | 
 | 14556 |  | 
 | 14557 | sco3.2v5*) | 
 | 14558 |   version_type=osf | 
 | 14559 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14560 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14561 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14562 |   ;; | 
 | 14563 |  | 
 | 14564 | solaris*) | 
 | 14565 |   version_type=linux | 
 | 14566 |   need_lib_prefix=no | 
 | 14567 |   need_version=no | 
 | 14568 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14569 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14570 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14571 |   shlibpath_overrides_runpath=yes | 
 | 14572 |   hardcode_into_libs=yes | 
 | 14573 |   # ldd complains unless libraries are executable | 
 | 14574 |   postinstall_cmds='chmod +x $lib' | 
 | 14575 |   ;; | 
 | 14576 |  | 
 | 14577 | sunos4*) | 
 | 14578 |   version_type=sunos | 
 | 14579 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 14580 |   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
 | 14581 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14582 |   shlibpath_overrides_runpath=yes | 
 | 14583 |   if test "$with_gnu_ld" = yes; then | 
 | 14584 |     need_lib_prefix=no | 
 | 14585 |   fi | 
 | 14586 |   need_version=yes | 
 | 14587 |   ;; | 
 | 14588 |  | 
 | 14589 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 14590 |   version_type=linux | 
 | 14591 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14592 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14593 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14594 |   case $host_vendor in | 
 | 14595 |     sni) | 
 | 14596 |       shlibpath_overrides_runpath=no | 
 | 14597 |       need_lib_prefix=no | 
 | 14598 |       export_dynamic_flag_spec='${wl}-Blargedynsym' | 
 | 14599 |       runpath_var=LD_RUN_PATH | 
 | 14600 |       ;; | 
 | 14601 |     siemens) | 
 | 14602 |       need_lib_prefix=no | 
 | 14603 |       ;; | 
 | 14604 |     motorola) | 
 | 14605 |       need_lib_prefix=no | 
 | 14606 |       need_version=no | 
 | 14607 |       shlibpath_overrides_runpath=no | 
 | 14608 |       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
 | 14609 |       ;; | 
 | 14610 |   esac | 
 | 14611 |   ;; | 
 | 14612 |  | 
 | 14613 | sysv4*MP*) | 
 | 14614 |   if test -d /usr/nec ;then | 
 | 14615 |     version_type=linux | 
 | 14616 |     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
 | 14617 |     soname_spec='$libname${shared_ext}.$major' | 
 | 14618 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 14619 |   fi | 
 | 14620 |   ;; | 
 | 14621 |  | 
 | 14622 | uts4*) | 
 | 14623 |   version_type=linux | 
 | 14624 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 14625 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 14626 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 14627 |   ;; | 
 | 14628 |  | 
 | 14629 | *) | 
 | 14630 |   dynamic_linker=no | 
 | 14631 |   ;; | 
 | 14632 | esac | 
 | 14633 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
 | 14634 | echo "${ECHO_T}$dynamic_linker" >&6 | 
 | 14635 | test "$dynamic_linker" = no && can_build_shared=no | 
 | 14636 |  | 
 | 14637 |  | 
 | 14638 | # The else clause should only fire when bootstrapping the | 
 | 14639 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 14640 | # with your package, and you will get complaints that there are | 
 | 14641 | # no rules to generate ltmain.sh. | 
 | 14642 | if test -f "$ltmain"; then | 
 | 14643 |   # See if we are running on zsh, and set the options which allow our commands through | 
 | 14644 |   # without removal of \ escapes. | 
 | 14645 |   if test -n "${ZSH_VERSION+set}" ; then | 
 | 14646 |     setopt NO_GLOB_SUBST | 
 | 14647 |   fi | 
 | 14648 |   # Now quote all the things that may contain metacharacters while being | 
 | 14649 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 14650 |   # variables and quote the copies for generation of the libtool script. | 
 | 14651 |   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
 | 14652 |     libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
 | 14653 |     old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
 | 14654 |     deplibs_check_method reload_flag reload_cmds need_locks \ | 
 | 14655 |     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
 | 14656 |     lt_cv_sys_global_symbol_to_c_name_address \ | 
 | 14657 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
 | 14658 |     old_postinstall_cmds old_postuninstall_cmds \ | 
 | 14659 |     compiler_F77 \ | 
 | 14660 |     CC_F77 \ | 
 | 14661 |     LD_F77 \ | 
 | 14662 |     lt_prog_compiler_wl_F77 \ | 
 | 14663 |     lt_prog_compiler_pic_F77 \ | 
 | 14664 |     lt_prog_compiler_static_F77 \ | 
 | 14665 |     lt_prog_compiler_no_builtin_flag_F77 \ | 
 | 14666 |     export_dynamic_flag_spec_F77 \ | 
 | 14667 |     thread_safe_flag_spec_F77 \ | 
 | 14668 |     whole_archive_flag_spec_F77 \ | 
 | 14669 |     enable_shared_with_static_runtimes_F77 \ | 
 | 14670 |     old_archive_cmds_F77 \ | 
 | 14671 |     old_archive_from_new_cmds_F77 \ | 
 | 14672 |     predep_objects_F77 \ | 
 | 14673 |     postdep_objects_F77 \ | 
 | 14674 |     predeps_F77 \ | 
 | 14675 |     postdeps_F77 \ | 
 | 14676 |     compiler_lib_search_path_F77 \ | 
 | 14677 |     archive_cmds_F77 \ | 
 | 14678 |     archive_expsym_cmds_F77 \ | 
 | 14679 |     postinstall_cmds_F77 \ | 
 | 14680 |     postuninstall_cmds_F77 \ | 
 | 14681 |     old_archive_from_expsyms_cmds_F77 \ | 
 | 14682 |     allow_undefined_flag_F77 \ | 
 | 14683 |     no_undefined_flag_F77 \ | 
 | 14684 |     export_symbols_cmds_F77 \ | 
 | 14685 |     hardcode_libdir_flag_spec_F77 \ | 
 | 14686 |     hardcode_libdir_flag_spec_ld_F77 \ | 
 | 14687 |     hardcode_libdir_separator_F77 \ | 
 | 14688 |     hardcode_automatic_F77 \ | 
 | 14689 |     module_cmds_F77 \ | 
 | 14690 |     module_expsym_cmds_F77 \ | 
 | 14691 |     lt_cv_prog_compiler_c_o_F77 \ | 
 | 14692 |     exclude_expsyms_F77 \ | 
 | 14693 |     include_expsyms_F77; do | 
 | 14694 |  | 
 | 14695 |     case $var in | 
 | 14696 |     old_archive_cmds_F77 | \ | 
 | 14697 |     old_archive_from_new_cmds_F77 | \ | 
 | 14698 |     archive_cmds_F77 | \ | 
 | 14699 |     archive_expsym_cmds_F77 | \ | 
 | 14700 |     module_cmds_F77 | \ | 
 | 14701 |     module_expsym_cmds_F77 | \ | 
 | 14702 |     old_archive_from_expsyms_cmds_F77 | \ | 
 | 14703 |     export_symbols_cmds_F77 | \ | 
 | 14704 |     extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
 | 14705 |     postinstall_cmds | postuninstall_cmds | \ | 
 | 14706 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 14707 |     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
 | 14708 |       # Double-quote double-evaled strings. | 
 | 14709 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 14710 |       ;; | 
 | 14711 |     *) | 
 | 14712 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 14713 |       ;; | 
 | 14714 |     esac | 
 | 14715 |   done | 
 | 14716 |  | 
 | 14717 |   case $lt_echo in | 
 | 14718 |   *'\$0 --fallback-echo"') | 
 | 14719 |     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
 | 14720 |     ;; | 
 | 14721 |   esac | 
 | 14722 |  | 
 | 14723 | cfgfile="$ofile" | 
 | 14724 |  | 
 | 14725 |   cat <<__EOF__ >> "$cfgfile" | 
 | 14726 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
 | 14727 |  | 
 | 14728 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 14729 |  | 
 | 14730 | # Shell to use when invoking shell scripts. | 
 | 14731 | SHELL=$lt_SHELL | 
 | 14732 |  | 
 | 14733 | # Whether or not to build shared libraries. | 
 | 14734 | build_libtool_libs=$enable_shared | 
 | 14735 |  | 
 | 14736 | # Whether or not to build static libraries. | 
 | 14737 | build_old_libs=$enable_static | 
 | 14738 |  | 
 | 14739 | # Whether or not to add -lc for building shared libraries. | 
 | 14740 | build_libtool_need_lc=$archive_cmds_need_lc_F77 | 
 | 14741 |  | 
 | 14742 | # Whether or not to disallow shared libs when runtime libs are static | 
 | 14743 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 | 
 | 14744 |  | 
 | 14745 | # Whether or not to optimize for fast installation. | 
 | 14746 | fast_install=$enable_fast_install | 
 | 14747 |  | 
 | 14748 | # The host system. | 
 | 14749 | host_alias=$host_alias | 
 | 14750 | host=$host | 
 | 14751 |  | 
 | 14752 | # An echo program that does not interpret backslashes. | 
 | 14753 | echo=$lt_echo | 
 | 14754 |  | 
 | 14755 | # The archiver. | 
 | 14756 | AR=$lt_AR | 
 | 14757 | AR_FLAGS=$lt_AR_FLAGS | 
 | 14758 |  | 
 | 14759 | # A C compiler. | 
 | 14760 | LTCC=$lt_LTCC | 
 | 14761 |  | 
 | 14762 | # A language-specific compiler. | 
 | 14763 | CC=$lt_compiler_F77 | 
 | 14764 |  | 
 | 14765 | # Is the compiler the GNU C compiler? | 
 | 14766 | with_gcc=$GCC_F77 | 
 | 14767 |  | 
 | 14768 | # An ERE matcher. | 
 | 14769 | EGREP=$lt_EGREP | 
 | 14770 |  | 
 | 14771 | # The linker used to build libraries. | 
 | 14772 | LD=$lt_LD_F77 | 
 | 14773 |  | 
 | 14774 | # Whether we need hard or soft links. | 
 | 14775 | LN_S=$lt_LN_S | 
 | 14776 |  | 
 | 14777 | # A BSD-compatible nm program. | 
 | 14778 | NM=$lt_NM | 
 | 14779 |  | 
 | 14780 | # A symbol stripping program | 
 | 14781 | STRIP=$STRIP | 
 | 14782 |  | 
 | 14783 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 14784 | MAGIC_CMD=$MAGIC_CMD | 
 | 14785 |  | 
 | 14786 | # Used on cygwin: DLL creation program. | 
 | 14787 | DLLTOOL="$DLLTOOL" | 
 | 14788 |  | 
 | 14789 | # Used on cygwin: object dumper. | 
 | 14790 | OBJDUMP="$OBJDUMP" | 
 | 14791 |  | 
 | 14792 | # Used on cygwin: assembler. | 
 | 14793 | AS="$AS" | 
 | 14794 |  | 
 | 14795 | # The name of the directory that contains temporary libtool files. | 
 | 14796 | objdir=$objdir | 
 | 14797 |  | 
 | 14798 | # How to create reloadable object files. | 
 | 14799 | reload_flag=$lt_reload_flag | 
 | 14800 | reload_cmds=$lt_reload_cmds | 
 | 14801 |  | 
 | 14802 | # How to pass a linker flag through the compiler. | 
 | 14803 | wl=$lt_lt_prog_compiler_wl_F77 | 
 | 14804 |  | 
 | 14805 | # Object file suffix (normally "o"). | 
 | 14806 | objext="$ac_objext" | 
 | 14807 |  | 
 | 14808 | # Old archive suffix (normally "a"). | 
 | 14809 | libext="$libext" | 
 | 14810 |  | 
 | 14811 | # Shared library suffix (normally ".so"). | 
 | 14812 | shrext='$shrext' | 
 | 14813 |  | 
 | 14814 | # Executable file suffix (normally ""). | 
 | 14815 | exeext="$exeext" | 
 | 14816 |  | 
 | 14817 | # Additional compiler flags for building library objects. | 
 | 14818 | pic_flag=$lt_lt_prog_compiler_pic_F77 | 
 | 14819 | pic_mode=$pic_mode | 
 | 14820 |  | 
 | 14821 | # What is the maximum length of a command? | 
 | 14822 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
 | 14823 |  | 
 | 14824 | # Does compiler simultaneously support -c and -o options? | 
 | 14825 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 | 
 | 14826 |  | 
 | 14827 | # Must we lock files when doing compilation ? | 
 | 14828 | need_locks=$lt_need_locks | 
 | 14829 |  | 
 | 14830 | # Do we need the lib prefix for modules? | 
 | 14831 | need_lib_prefix=$need_lib_prefix | 
 | 14832 |  | 
 | 14833 | # Do we need a version for libraries? | 
 | 14834 | need_version=$need_version | 
 | 14835 |  | 
 | 14836 | # Whether dlopen is supported. | 
 | 14837 | dlopen_support=$enable_dlopen | 
 | 14838 |  | 
 | 14839 | # Whether dlopen of programs is supported. | 
 | 14840 | dlopen_self=$enable_dlopen_self | 
 | 14841 |  | 
 | 14842 | # Whether dlopen of statically linked programs is supported. | 
 | 14843 | dlopen_self_static=$enable_dlopen_self_static | 
 | 14844 |  | 
 | 14845 | # Compiler flag to prevent dynamic linking. | 
 | 14846 | link_static_flag=$lt_lt_prog_compiler_static_F77 | 
 | 14847 |  | 
 | 14848 | # Compiler flag to turn off builtin functions. | 
 | 14849 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 | 
 | 14850 |  | 
 | 14851 | # Compiler flag to allow reflexive dlopens. | 
 | 14852 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 | 
 | 14853 |  | 
 | 14854 | # Compiler flag to generate shared objects directly from archives. | 
 | 14855 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 | 
 | 14856 |  | 
 | 14857 | # Compiler flag to generate thread-safe objects. | 
 | 14858 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 | 
 | 14859 |  | 
 | 14860 | # Library versioning type. | 
 | 14861 | version_type=$version_type | 
 | 14862 |  | 
 | 14863 | # Format of library name prefix. | 
 | 14864 | libname_spec=$lt_libname_spec | 
 | 14865 |  | 
 | 14866 | # List of archive names.  First name is the real one, the rest are links. | 
 | 14867 | # The last name is the one that the linker finds with -lNAME. | 
 | 14868 | library_names_spec=$lt_library_names_spec | 
 | 14869 |  | 
 | 14870 | # The coded name of the library, if different from the real name. | 
 | 14871 | soname_spec=$lt_soname_spec | 
 | 14872 |  | 
 | 14873 | # Commands used to build and install an old-style archive. | 
 | 14874 | RANLIB=$lt_RANLIB | 
 | 14875 | old_archive_cmds=$lt_old_archive_cmds_F77 | 
 | 14876 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 14877 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 14878 |  | 
 | 14879 | # Create an old-style archive from a shared archive. | 
 | 14880 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 | 
 | 14881 |  | 
 | 14882 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 14883 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 | 
 | 14884 |  | 
 | 14885 | # Commands used to build and install a shared archive. | 
 | 14886 | archive_cmds=$lt_archive_cmds_F77 | 
 | 14887 | archive_expsym_cmds=$lt_archive_expsym_cmds_F77 | 
 | 14888 | postinstall_cmds=$lt_postinstall_cmds | 
 | 14889 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 14890 |  | 
 | 14891 | # Commands used to build a loadable module (assumed same as above if empty) | 
 | 14892 | module_cmds=$lt_module_cmds_F77 | 
 | 14893 | module_expsym_cmds=$lt_module_expsym_cmds_F77 | 
 | 14894 |  | 
 | 14895 | # Commands to strip libraries. | 
 | 14896 | old_striplib=$lt_old_striplib | 
 | 14897 | striplib=$lt_striplib | 
 | 14898 |  | 
 | 14899 | # Dependencies to place before the objects being linked to create a | 
 | 14900 | # shared library. | 
 | 14901 | predep_objects=$lt_predep_objects_F77 | 
 | 14902 |  | 
 | 14903 | # Dependencies to place after the objects being linked to create a | 
 | 14904 | # shared library. | 
 | 14905 | postdep_objects=$lt_postdep_objects_F77 | 
 | 14906 |  | 
 | 14907 | # Dependencies to place before the objects being linked to create a | 
 | 14908 | # shared library. | 
 | 14909 | predeps=$lt_predeps_F77 | 
 | 14910 |  | 
 | 14911 | # Dependencies to place after the objects being linked to create a | 
 | 14912 | # shared library. | 
 | 14913 | postdeps=$lt_postdeps_F77 | 
 | 14914 |  | 
 | 14915 | # The library search path used internally by the compiler when linking | 
 | 14916 | # a shared library. | 
 | 14917 | compiler_lib_search_path=$lt_compiler_lib_search_path_F77 | 
 | 14918 |  | 
 | 14919 | # Method to check whether dependent libraries are shared objects. | 
 | 14920 | deplibs_check_method=$lt_deplibs_check_method | 
 | 14921 |  | 
 | 14922 | # Command to use when deplibs_check_method == file_magic. | 
 | 14923 | file_magic_cmd=$lt_file_magic_cmd | 
 | 14924 |  | 
 | 14925 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 14926 | allow_undefined_flag=$lt_allow_undefined_flag_F77 | 
 | 14927 |  | 
 | 14928 | # Flag that forces no undefined symbols. | 
 | 14929 | no_undefined_flag=$lt_no_undefined_flag_F77 | 
 | 14930 |  | 
 | 14931 | # Commands used to finish a libtool library installation in a directory. | 
 | 14932 | finish_cmds=$lt_finish_cmds | 
 | 14933 |  | 
 | 14934 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 14935 | finish_eval=$lt_finish_eval | 
 | 14936 |  | 
 | 14937 | # Take the output of nm and produce a listing of raw symbols and C names. | 
 | 14938 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
 | 14939 |  | 
 | 14940 | # Transform the output of nm in a proper C declaration | 
 | 14941 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
 | 14942 |  | 
 | 14943 | # Transform the output of nm in a C name address pair | 
 | 14944 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
 | 14945 |  | 
 | 14946 | # This is the shared library runtime path variable. | 
 | 14947 | runpath_var=$runpath_var | 
 | 14948 |  | 
 | 14949 | # This is the shared library path variable. | 
 | 14950 | shlibpath_var=$shlibpath_var | 
 | 14951 |  | 
 | 14952 | # Is shlibpath searched before the hard-coded library search path? | 
 | 14953 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 14954 |  | 
 | 14955 | # How to hardcode a shared library path into an executable. | 
 | 14956 | hardcode_action=$hardcode_action_F77 | 
 | 14957 |  | 
 | 14958 | # Whether we should hardcode library paths into libraries. | 
 | 14959 | hardcode_into_libs=$hardcode_into_libs | 
 | 14960 |  | 
 | 14961 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 14962 | # This must work even if \$libdir does not exist. | 
 | 14963 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 | 
 | 14964 |  | 
 | 14965 | # If ld is used when linking, flag to hardcode \$libdir into | 
 | 14966 | # a binary during linking. This must work even if \$libdir does | 
 | 14967 | # not exist. | 
 | 14968 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 | 
 | 14969 |  | 
 | 14970 | # Whether we need a single -rpath flag with a separated argument. | 
 | 14971 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 | 
 | 14972 |  | 
 | 14973 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
 | 14974 | # resulting binary. | 
 | 14975 | hardcode_direct=$hardcode_direct_F77 | 
 | 14976 |  | 
 | 14977 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 14978 | # resulting binary. | 
 | 14979 | hardcode_minus_L=$hardcode_minus_L_F77 | 
 | 14980 |  | 
 | 14981 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 14982 | # the resulting binary. | 
 | 14983 | hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 | 
 | 14984 |  | 
 | 14985 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
 | 14986 | # and all subsequent libraries and executables linked against it. | 
 | 14987 | hardcode_automatic=$hardcode_automatic_F77 | 
 | 14988 |  | 
 | 14989 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 14990 | # restored at relink time. | 
 | 14991 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 14992 |  | 
 | 14993 | # Whether libtool must link a program against all its dependency libraries. | 
 | 14994 | link_all_deplibs=$link_all_deplibs_F77 | 
 | 14995 |  | 
 | 14996 | # Compile-time system search path for libraries | 
 | 14997 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 14998 |  | 
 | 14999 | # Run-time system search path for libraries | 
 | 15000 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 15001 |  | 
 | 15002 | # Fix the shell variable \$srcfile for the compiler. | 
 | 15003 | fix_srcfile_path="$fix_srcfile_path_F77" | 
 | 15004 |  | 
 | 15005 | # Set to yes if exported symbols are required. | 
 | 15006 | always_export_symbols=$always_export_symbols_F77 | 
 | 15007 |  | 
 | 15008 | # The commands to list exported symbols. | 
 | 15009 | export_symbols_cmds=$lt_export_symbols_cmds_F77 | 
 | 15010 |  | 
 | 15011 | # The commands to extract the exported symbol list from a shared archive. | 
 | 15012 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 15013 |  | 
 | 15014 | # Symbols that should not be listed in the preloaded symbols. | 
 | 15015 | exclude_expsyms=$lt_exclude_expsyms_F77 | 
 | 15016 |  | 
 | 15017 | # Symbols that must always be exported. | 
 | 15018 | include_expsyms=$lt_include_expsyms_F77 | 
 | 15019 |  | 
 | 15020 | # ### END LIBTOOL TAG CONFIG: $tagname | 
 | 15021 |  | 
 | 15022 | __EOF__ | 
 | 15023 |  | 
 | 15024 |  | 
 | 15025 | else | 
 | 15026 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 15027 |   # `config.status --recheck' to rerun these tests and create the | 
 | 15028 |   # libtool script then. | 
 | 15029 |   test -f Makefile && make "$ltmain" | 
 | 15030 | fi | 
 | 15031 |  | 
 | 15032 |  | 
 | 15033 | ac_ext=c | 
 | 15034 | ac_cpp='$CPP $CPPFLAGS' | 
 | 15035 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 15036 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 15037 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 15038 |  | 
 | 15039 | CC="$lt_save_CC" | 
 | 15040 |  | 
 | 15041 | 	else | 
 | 15042 | 	  tagname="" | 
 | 15043 | 	fi | 
 | 15044 | 	;; | 
 | 15045 |  | 
 | 15046 |       GCJ) | 
 | 15047 | 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then | 
 | 15048 |  | 
 | 15049 |  | 
 | 15050 |  | 
 | 15051 | # Source file extension for Java test sources. | 
 | 15052 | ac_ext=java | 
 | 15053 |  | 
 | 15054 | # Object file extension for compiled Java test sources. | 
 | 15055 | objext=o | 
 | 15056 | objext_GCJ=$objext | 
 | 15057 |  | 
 | 15058 | # Code to be used in simple compile tests | 
 | 15059 | lt_simple_compile_test_code="class foo {}\n" | 
 | 15060 |  | 
 | 15061 | # Code to be used in simple link tests | 
 | 15062 | lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' | 
 | 15063 |  | 
 | 15064 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
 | 15065 |  | 
 | 15066 | # If no C compiler was specified, use CC. | 
 | 15067 | LTCC=${LTCC-"$CC"} | 
 | 15068 |  | 
 | 15069 | # Allow CC to be a program name with arguments. | 
 | 15070 | compiler=$CC | 
 | 15071 |  | 
 | 15072 |  | 
 | 15073 | # Allow CC to be a program name with arguments. | 
 | 15074 | lt_save_CC="$CC" | 
 | 15075 | CC=${GCJ-"gcj"} | 
 | 15076 | compiler=$CC | 
 | 15077 | compiler_GCJ=$CC | 
 | 15078 |  | 
 | 15079 | # GCJ did not exist at the time GCC didn't implicitly link libc in. | 
 | 15080 | archive_cmds_need_lc_GCJ=no | 
 | 15081 |  | 
 | 15082 | ## CAVEAT EMPTOR: | 
 | 15083 | ## There is no encapsulation within the following macros, do not change | 
 | 15084 | ## the running order or otherwise move them around unless you know exactly | 
 | 15085 | ## what you are doing... | 
 | 15086 |  | 
 | 15087 | lt_prog_compiler_no_builtin_flag_GCJ= | 
 | 15088 |  | 
 | 15089 | if test "$GCC" = yes; then | 
 | 15090 |   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' | 
 | 15091 |  | 
 | 15092 |   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 
 | 15093 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | 
 | 15094 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then | 
 | 15095 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 15096 | else | 
 | 15097 |   lt_cv_prog_compiler_rtti_exceptions=no | 
 | 15098 |   ac_outfile=conftest.$ac_objext | 
 | 15099 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 15100 |    lt_compiler_flag="-fno-rtti -fno-exceptions" | 
 | 15101 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 15102 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 15103 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 15104 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 15105 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 15106 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 15107 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 15108 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 15109 |    -e 's:$: $lt_compiler_flag:'` | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 15110 |    (eval echo "\"\$as_me:15110: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15111 |    (eval "$lt_compile" 2>conftest.err) | 
 | 15112 |    ac_status=$? | 
 | 15113 |    cat conftest.err >&5 | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 15114 |    echo "$as_me:15114: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15115 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 15116 |      # The compiler can only warn and ignore the option if not recognized | 
 | 15117 |      # So say no if there are warnings | 
 | 15118 |      if test ! -s conftest.err; then | 
 | 15119 |        lt_cv_prog_compiler_rtti_exceptions=yes | 
 | 15120 |      fi | 
 | 15121 |    fi | 
 | 15122 |    $rm conftest* | 
 | 15123 |  | 
 | 15124 | fi | 
 | 15125 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 | 
 | 15126 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 | 
 | 15127 |  | 
 | 15128 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | 
 | 15129 |     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" | 
 | 15130 | else | 
 | 15131 |     : | 
 | 15132 | fi | 
 | 15133 |  | 
 | 15134 | fi | 
 | 15135 |  | 
 | 15136 | lt_prog_compiler_wl_GCJ= | 
 | 15137 | lt_prog_compiler_pic_GCJ= | 
 | 15138 | lt_prog_compiler_static_GCJ= | 
 | 15139 |  | 
 | 15140 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
 | 15141 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
 | 15142 |  | 
 | 15143 |   if test "$GCC" = yes; then | 
 | 15144 |     lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 15145 |     lt_prog_compiler_static_GCJ='-static' | 
 | 15146 |  | 
 | 15147 |     case $host_os in | 
 | 15148 |       aix*) | 
 | 15149 |       # All AIX code is PIC. | 
 | 15150 |       if test "$host_cpu" = ia64; then | 
 | 15151 | 	# AIX 5 now supports IA64 processor | 
 | 15152 | 	lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 15153 |       fi | 
 | 15154 |       ;; | 
 | 15155 |  | 
 | 15156 |     amigaos*) | 
 | 15157 |       # FIXME: we need at least 68020 code to build shared libraries, but | 
 | 15158 |       # adding the `-m68020' flag to GCC prevents building anything better, | 
 | 15159 |       # like `-m68040'. | 
 | 15160 |       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' | 
 | 15161 |       ;; | 
 | 15162 |  | 
 | 15163 |     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
 | 15164 |       # PIC is the default for these OSes. | 
 | 15165 |       ;; | 
 | 15166 |  | 
 | 15167 |     mingw* | pw32* | os2*) | 
 | 15168 |       # This hack is so that the source file can tell whether it is being | 
 | 15169 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 15170 |       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' | 
 | 15171 |       ;; | 
 | 15172 |  | 
 | 15173 |     darwin* | rhapsody*) | 
 | 15174 |       # PIC is the default on this platform | 
 | 15175 |       # Common symbols not allowed in MH_DYLIB files | 
 | 15176 |       lt_prog_compiler_pic_GCJ='-fno-common' | 
 | 15177 |       ;; | 
 | 15178 |  | 
 | 15179 |     msdosdjgpp*) | 
 | 15180 |       # Just because we use GCC doesn't mean we suddenly get shared libraries | 
 | 15181 |       # on systems that don't support them. | 
 | 15182 |       lt_prog_compiler_can_build_shared_GCJ=no | 
 | 15183 |       enable_shared=no | 
 | 15184 |       ;; | 
 | 15185 |  | 
 | 15186 |     sysv4*MP*) | 
 | 15187 |       if test -d /usr/nec; then | 
 | 15188 | 	lt_prog_compiler_pic_GCJ=-Kconform_pic | 
 | 15189 |       fi | 
 | 15190 |       ;; | 
 | 15191 |  | 
 | 15192 |     hpux*) | 
 | 15193 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 15194 |       # not for PA HP-UX. | 
 | 15195 |       case "$host_cpu" in | 
 | 15196 |       hppa*64*|ia64*) | 
 | 15197 | 	# +Z the default | 
 | 15198 | 	;; | 
 | 15199 |       *) | 
 | 15200 | 	lt_prog_compiler_pic_GCJ='-fPIC' | 
 | 15201 | 	;; | 
 | 15202 |       esac | 
 | 15203 |       ;; | 
 | 15204 |  | 
 | 15205 |     *) | 
 | 15206 |       lt_prog_compiler_pic_GCJ='-fPIC' | 
 | 15207 |       ;; | 
 | 15208 |     esac | 
 | 15209 |   else | 
 | 15210 |     # PORTME Check for flag to pass linker flags through the system compiler. | 
 | 15211 |     case $host_os in | 
 | 15212 |     aix*) | 
 | 15213 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 15214 |       if test "$host_cpu" = ia64; then | 
 | 15215 | 	# AIX 5 now supports IA64 processor | 
 | 15216 | 	lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 15217 |       else | 
 | 15218 | 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' | 
 | 15219 |       fi | 
 | 15220 |       ;; | 
 | 15221 |  | 
 | 15222 |     mingw* | pw32* | os2*) | 
 | 15223 |       # This hack is so that the source file can tell whether it is being | 
 | 15224 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 15225 |       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' | 
 | 15226 |       ;; | 
 | 15227 |  | 
 | 15228 |     hpux9* | hpux10* | hpux11*) | 
 | 15229 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 15230 |       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
 | 15231 |       # not for PA HP-UX. | 
 | 15232 |       case "$host_cpu" in | 
 | 15233 |       hppa*64*|ia64*) | 
 | 15234 | 	# +Z the default | 
 | 15235 | 	;; | 
 | 15236 |       *) | 
 | 15237 | 	lt_prog_compiler_pic_GCJ='+Z' | 
 | 15238 | 	;; | 
 | 15239 |       esac | 
 | 15240 |       # Is there a better lt_prog_compiler_static that works with the bundled CC? | 
 | 15241 |       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' | 
 | 15242 |       ;; | 
 | 15243 |  | 
 | 15244 |     irix5* | irix6* | nonstopux*) | 
 | 15245 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 15246 |       # PIC (with -KPIC) is the default. | 
 | 15247 |       lt_prog_compiler_static_GCJ='-non_shared' | 
 | 15248 |       ;; | 
 | 15249 |  | 
 | 15250 |     newsos6) | 
 | 15251 |       lt_prog_compiler_pic_GCJ='-KPIC' | 
 | 15252 |       lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 15253 |       ;; | 
 | 15254 |  | 
 | 15255 |     linux*) | 
 | 15256 |       case $CC in | 
 | 15257 |       icc|ecc) | 
 | 15258 | 	lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 15259 | 	lt_prog_compiler_pic_GCJ='-KPIC' | 
 | 15260 | 	lt_prog_compiler_static_GCJ='-static' | 
 | 15261 |         ;; | 
 | 15262 |       ccc) | 
 | 15263 |         lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 15264 |         # All Alpha code is PIC. | 
 | 15265 |         lt_prog_compiler_static_GCJ='-non_shared' | 
 | 15266 |         ;; | 
 | 15267 |       esac | 
 | 15268 |       ;; | 
 | 15269 |  | 
 | 15270 |     osf3* | osf4* | osf5*) | 
 | 15271 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 15272 |       # All OSF/1 code is PIC. | 
 | 15273 |       lt_prog_compiler_static_GCJ='-non_shared' | 
 | 15274 |       ;; | 
 | 15275 |  | 
 | 15276 |     sco3.2v5*) | 
 | 15277 |       lt_prog_compiler_pic_GCJ='-Kpic' | 
 | 15278 |       lt_prog_compiler_static_GCJ='-dn' | 
 | 15279 |       ;; | 
 | 15280 |  | 
 | 15281 |     solaris*) | 
 | 15282 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 15283 |       lt_prog_compiler_pic_GCJ='-KPIC' | 
 | 15284 |       lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 15285 |       ;; | 
 | 15286 |  | 
 | 15287 |     sunos4*) | 
 | 15288 |       lt_prog_compiler_wl_GCJ='-Qoption ld ' | 
 | 15289 |       lt_prog_compiler_pic_GCJ='-PIC' | 
 | 15290 |       lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 15291 |       ;; | 
 | 15292 |  | 
 | 15293 |     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 15294 |       lt_prog_compiler_wl_GCJ='-Wl,' | 
 | 15295 |       lt_prog_compiler_pic_GCJ='-KPIC' | 
 | 15296 |       lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 15297 |       ;; | 
 | 15298 |  | 
 | 15299 |     sysv4*MP*) | 
 | 15300 |       if test -d /usr/nec ;then | 
 | 15301 | 	lt_prog_compiler_pic_GCJ='-Kconform_pic' | 
 | 15302 | 	lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 15303 |       fi | 
 | 15304 |       ;; | 
 | 15305 |  | 
 | 15306 |     uts4*) | 
 | 15307 |       lt_prog_compiler_pic_GCJ='-pic' | 
 | 15308 |       lt_prog_compiler_static_GCJ='-Bstatic' | 
 | 15309 |       ;; | 
 | 15310 |  | 
 | 15311 |     *) | 
 | 15312 |       lt_prog_compiler_can_build_shared_GCJ=no | 
 | 15313 |       ;; | 
 | 15314 |     esac | 
 | 15315 |   fi | 
 | 15316 |  | 
 | 15317 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 | 
 | 15318 | echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 | 
 | 15319 |  | 
 | 15320 | # | 
 | 15321 | # Check to make sure the PIC flag actually works. | 
 | 15322 | # | 
 | 15323 | if test -n "$lt_prog_compiler_pic_GCJ"; then | 
 | 15324 |   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 | 
 | 15325 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 | 
 | 15326 | if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then | 
 | 15327 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 15328 | else | 
 | 15329 |   lt_prog_compiler_pic_works_GCJ=no | 
 | 15330 |   ac_outfile=conftest.$ac_objext | 
 | 15331 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 15332 |    lt_compiler_flag="$lt_prog_compiler_pic_GCJ" | 
 | 15333 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 15334 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 15335 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 15336 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 15337 |    # The option is referenced via a variable to avoid confusing sed. | 
 | 15338 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 15339 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 15340 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 15341 |    -e 's:$: $lt_compiler_flag:'` | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 15342 |    (eval echo "\"\$as_me:15342: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15343 |    (eval "$lt_compile" 2>conftest.err) | 
 | 15344 |    ac_status=$? | 
 | 15345 |    cat conftest.err >&5 | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 15346 |    echo "$as_me:15346: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15347 |    if (exit $ac_status) && test -s "$ac_outfile"; then | 
 | 15348 |      # The compiler can only warn and ignore the option if not recognized | 
 | 15349 |      # So say no if there are warnings | 
 | 15350 |      if test ! -s conftest.err; then | 
 | 15351 |        lt_prog_compiler_pic_works_GCJ=yes | 
 | 15352 |      fi | 
 | 15353 |    fi | 
 | 15354 |    $rm conftest* | 
 | 15355 |  | 
 | 15356 | fi | 
 | 15357 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 | 
 | 15358 | echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 | 
 | 15359 |  | 
 | 15360 | if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then | 
 | 15361 |     case $lt_prog_compiler_pic_GCJ in | 
 | 15362 |      "" | " "*) ;; | 
 | 15363 |      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; | 
 | 15364 |      esac | 
 | 15365 | else | 
 | 15366 |     lt_prog_compiler_pic_GCJ= | 
 | 15367 |      lt_prog_compiler_can_build_shared_GCJ=no | 
 | 15368 | fi | 
 | 15369 |  | 
 | 15370 | fi | 
 | 15371 | case "$host_os" in | 
 | 15372 |   # For platforms which do not support PIC, -DPIC is meaningless: | 
 | 15373 |   *djgpp*) | 
 | 15374 |     lt_prog_compiler_pic_GCJ= | 
 | 15375 |     ;; | 
 | 15376 |   *) | 
 | 15377 |     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" | 
 | 15378 |     ;; | 
 | 15379 | esac | 
 | 15380 |  | 
 | 15381 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
 | 15382 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
 | 15383 | if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then | 
 | 15384 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 15385 | else | 
 | 15386 |   lt_cv_prog_compiler_c_o_GCJ=no | 
 | 15387 |    $rm -r conftest 2>/dev/null | 
 | 15388 |    mkdir conftest | 
 | 15389 |    cd conftest | 
 | 15390 |    mkdir out | 
 | 15391 |    printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 15392 |  | 
 | 15393 |    # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
 | 15394 |    # that will create temporary files in the current directory regardless of | 
 | 15395 |    # the output directory.  Thus, making CWD read-only will cause this test | 
 | 15396 |    # to fail, enabling locking or at least warning the user not to do parallel | 
 | 15397 |    # builds. | 
 | 15398 |    chmod -w . | 
 | 15399 |  | 
 | 15400 |    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
 | 15401 |    # Insert the option either (1) after the last *FLAGS variable, or | 
 | 15402 |    # (2) before a word containing "conftest.", or (3) at the end. | 
 | 15403 |    # Note that $ac_compile itself does not contain backslashes and begins | 
 | 15404 |    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
 | 15405 |    lt_compile=`echo "$ac_compile" | $SED \ | 
 | 15406 |    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
 | 15407 |    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
 | 15408 |    -e 's:$: $lt_compiler_flag:'` | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 15409 |    (eval echo "\"\$as_me:15409: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15410 |    (eval "$lt_compile" 2>out/conftest.err) | 
 | 15411 |    ac_status=$? | 
 | 15412 |    cat out/conftest.err >&5 | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 15413 |    echo "$as_me:15413: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15414 |    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
 | 15415 |    then | 
 | 15416 |      # The compiler can only warn and ignore the option if not recognized | 
 | 15417 |      # So say no if there are warnings | 
 | 15418 |      if test ! -s out/conftest.err; then | 
 | 15419 |        lt_cv_prog_compiler_c_o_GCJ=yes | 
 | 15420 |      fi | 
 | 15421 |    fi | 
 | 15422 |    chmod u+w . | 
 | 15423 |    $rm conftest* out/* | 
 | 15424 |    rmdir out | 
 | 15425 |    cd .. | 
 | 15426 |    rmdir conftest | 
 | 15427 |    $rm conftest* | 
 | 15428 |  | 
 | 15429 | fi | 
 | 15430 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 | 
 | 15431 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 | 
 | 15432 |  | 
 | 15433 |  | 
 | 15434 | hard_links="nottested" | 
 | 15435 | if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then | 
 | 15436 |   # do not overwrite the value of need_locks provided by the user | 
 | 15437 |   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
 | 15438 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
 | 15439 |   hard_links=yes | 
 | 15440 |   $rm conftest* | 
 | 15441 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 15442 |   touch conftest.a | 
 | 15443 |   ln conftest.a conftest.b 2>&5 || hard_links=no | 
 | 15444 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 15445 |   echo "$as_me:$LINENO: result: $hard_links" >&5 | 
 | 15446 | echo "${ECHO_T}$hard_links" >&6 | 
 | 15447 |   if test "$hard_links" = no; then | 
 | 15448 |     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
 | 15449 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
 | 15450 |     need_locks=warn | 
 | 15451 |   fi | 
 | 15452 | else | 
 | 15453 |   need_locks=no | 
 | 15454 | fi | 
 | 15455 |  | 
 | 15456 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
 | 15457 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 15458 |  | 
 | 15459 |   runpath_var= | 
 | 15460 |   allow_undefined_flag_GCJ= | 
 | 15461 |   enable_shared_with_static_runtimes_GCJ=no | 
 | 15462 |   archive_cmds_GCJ= | 
 | 15463 |   archive_expsym_cmds_GCJ= | 
 | 15464 |   old_archive_From_new_cmds_GCJ= | 
 | 15465 |   old_archive_from_expsyms_cmds_GCJ= | 
 | 15466 |   export_dynamic_flag_spec_GCJ= | 
 | 15467 |   whole_archive_flag_spec_GCJ= | 
 | 15468 |   thread_safe_flag_spec_GCJ= | 
 | 15469 |   hardcode_libdir_flag_spec_GCJ= | 
 | 15470 |   hardcode_libdir_flag_spec_ld_GCJ= | 
 | 15471 |   hardcode_libdir_separator_GCJ= | 
 | 15472 |   hardcode_direct_GCJ=no | 
 | 15473 |   hardcode_minus_L_GCJ=no | 
 | 15474 |   hardcode_shlibpath_var_GCJ=unsupported | 
 | 15475 |   link_all_deplibs_GCJ=unknown | 
 | 15476 |   hardcode_automatic_GCJ=no | 
 | 15477 |   module_cmds_GCJ= | 
 | 15478 |   module_expsym_cmds_GCJ= | 
 | 15479 |   always_export_symbols_GCJ=no | 
 | 15480 |   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 15481 |   # include_expsyms should be a list of space-separated symbols to be *always* | 
 | 15482 |   # included in the symbol list | 
 | 15483 |   include_expsyms_GCJ= | 
 | 15484 |   # exclude_expsyms can be an extended regexp of symbols to exclude | 
 | 15485 |   # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
 | 15486 |   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
 | 15487 |   # as well as any symbol that contains `d'. | 
 | 15488 |   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" | 
 | 15489 |   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
 | 15490 |   # platforms (ab)use it in PIC code, but their linkers get confused if | 
 | 15491 |   # the symbol is explicitly referenced.  Since portable code cannot | 
 | 15492 |   # rely on this symbol name, it's probably fine to never include it in | 
 | 15493 |   # preloaded symbol tables. | 
 | 15494 |   extract_expsyms_cmds= | 
 | 15495 |  | 
 | 15496 |   case $host_os in | 
 | 15497 |   cygwin* | mingw* | pw32*) | 
 | 15498 |     # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
 | 15499 |     # When not using gcc, we currently assume that we are using | 
 | 15500 |     # Microsoft Visual C++. | 
 | 15501 |     if test "$GCC" != yes; then | 
 | 15502 |       with_gnu_ld=no | 
 | 15503 |     fi | 
 | 15504 |     ;; | 
 | 15505 |   openbsd*) | 
 | 15506 |     with_gnu_ld=no | 
 | 15507 |     ;; | 
 | 15508 |   esac | 
 | 15509 |  | 
 | 15510 |   ld_shlibs_GCJ=yes | 
 | 15511 |   if test "$with_gnu_ld" = yes; then | 
 | 15512 |     # If archive_cmds runs LD, not CC, wlarc should be empty | 
 | 15513 |     wlarc='${wl}' | 
 | 15514 |  | 
 | 15515 |     # See if GNU ld supports shared libraries. | 
 | 15516 |     case $host_os in | 
 | 15517 |     aix3* | aix4* | aix5*) | 
 | 15518 |       # On AIX/PPC, the GNU linker is very broken | 
 | 15519 |       if test "$host_cpu" != ia64; then | 
 | 15520 | 	ld_shlibs_GCJ=no | 
 | 15521 | 	cat <<EOF 1>&2 | 
 | 15522 |  | 
 | 15523 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
 | 15524 | *** to be unable to reliably create shared libraries on AIX. | 
 | 15525 | *** Therefore, libtool is disabling shared libraries support.  If you | 
 | 15526 | *** really care for shared libraries, you may want to modify your PATH | 
 | 15527 | *** so that a non-GNU linker is found, and then restart. | 
 | 15528 |  | 
 | 15529 | EOF | 
 | 15530 |       fi | 
 | 15531 |       ;; | 
 | 15532 |  | 
 | 15533 |     amigaos*) | 
 | 15534 |       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)' | 
 | 15535 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15536 |       hardcode_minus_L_GCJ=yes | 
 | 15537 |  | 
 | 15538 |       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
 | 15539 |       # that the semantics of dynamic libraries on AmigaOS, at least up | 
 | 15540 |       # to version 4, is to share data among multiple programs linked | 
 | 15541 |       # with the same dynamic library.  Since this doesn't match the | 
 | 15542 |       # behavior of shared libraries on other platforms, we can't use | 
 | 15543 |       # them. | 
 | 15544 |       ld_shlibs_GCJ=no | 
 | 15545 |       ;; | 
 | 15546 |  | 
 | 15547 |     beos*) | 
 | 15548 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 15549 | 	allow_undefined_flag_GCJ=unsupported | 
 | 15550 | 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
 | 15551 | 	# support --undefined.  This deserves some investigation.  FIXME | 
 | 15552 | 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 15553 |       else | 
 | 15554 | 	ld_shlibs_GCJ=no | 
 | 15555 |       fi | 
 | 15556 |       ;; | 
 | 15557 |  | 
 | 15558 |     cygwin* | mingw* | pw32*) | 
 | 15559 |       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, | 
 | 15560 |       # as there is no search path for DLLs. | 
 | 15561 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15562 |       allow_undefined_flag_GCJ=unsupported | 
 | 15563 |       always_export_symbols_GCJ=no | 
 | 15564 |       enable_shared_with_static_runtimes_GCJ=yes | 
 | 15565 |       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 15566 |  | 
 | 15567 |       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
 | 15568 |         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
 | 15569 | 	# If the export-symbols file already is a .def file (1st line | 
 | 15570 | 	# is EXPORTS), use it as is; otherwise, prepend... | 
 | 15571 | 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
 | 15572 | 	  cp $export_symbols $output_objdir/$soname.def; | 
 | 15573 | 	else | 
 | 15574 | 	  echo EXPORTS > $output_objdir/$soname.def; | 
 | 15575 | 	  cat $export_symbols >> $output_objdir/$soname.def; | 
 | 15576 | 	fi~ | 
 | 15577 | 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib' | 
 | 15578 |       else | 
 | 15579 | 	ld_shlibs=no | 
 | 15580 |       fi | 
 | 15581 |       ;; | 
 | 15582 |  | 
 | 15583 |     netbsd*) | 
 | 15584 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 15585 | 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
 | 15586 | 	wlarc= | 
 | 15587 |       else | 
 | 15588 | 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 15589 | 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 15590 |       fi | 
 | 15591 |       ;; | 
 | 15592 |  | 
 | 15593 |     solaris* | sysv5*) | 
 | 15594 |       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 
 | 15595 | 	ld_shlibs_GCJ=no | 
 | 15596 | 	cat <<EOF 1>&2 | 
 | 15597 |  | 
 | 15598 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
 | 15599 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
 | 15600 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
 | 15601 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
 | 15602 | *** your PATH or compiler configuration so that the native linker is | 
 | 15603 | *** used, and then restart. | 
 | 15604 |  | 
 | 15605 | EOF | 
 | 15606 |       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 15607 | 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 15608 | 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 15609 |       else | 
 | 15610 | 	ld_shlibs_GCJ=no | 
 | 15611 |       fi | 
 | 15612 |       ;; | 
 | 15613 |  | 
 | 15614 |     sunos4*) | 
 | 15615 |       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 15616 |       wlarc= | 
 | 15617 |       hardcode_direct_GCJ=yes | 
 | 15618 |       hardcode_shlibpath_var_GCJ=no | 
 | 15619 |       ;; | 
 | 15620 |  | 
 | 15621 |     *) | 
 | 15622 |       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
 | 15623 | 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 15624 | 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 15625 |       else | 
 | 15626 | 	ld_shlibs_GCJ=no | 
 | 15627 |       fi | 
 | 15628 |       ;; | 
 | 15629 |     esac | 
 | 15630 |  | 
 | 15631 |     if test "$ld_shlibs_GCJ" = yes; then | 
 | 15632 |       runpath_var=LD_RUN_PATH | 
 | 15633 |       hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' | 
 | 15634 |       export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' | 
 | 15635 |       # ancient GNU ld didn't support --whole-archive et. al. | 
 | 15636 |       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | 
 | 15637 |  	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
 | 15638 |       else | 
 | 15639 |   	whole_archive_flag_spec_GCJ= | 
 | 15640 |       fi | 
 | 15641 |     fi | 
 | 15642 |   else | 
 | 15643 |     # PORTME fill in a description of your system's linker (not GNU ld) | 
 | 15644 |     case $host_os in | 
 | 15645 |     aix3*) | 
 | 15646 |       allow_undefined_flag_GCJ=unsupported | 
 | 15647 |       always_export_symbols_GCJ=yes | 
 | 15648 |       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' | 
 | 15649 |       # Note: this linker hardcodes the directories in LIBPATH if there | 
 | 15650 |       # are no directories specified by -L. | 
 | 15651 |       hardcode_minus_L_GCJ=yes | 
 | 15652 |       if test "$GCC" = yes && test -z "$link_static_flag"; then | 
 | 15653 | 	# Neither direct hardcoding nor static linking is supported with a | 
 | 15654 | 	# broken collect2. | 
 | 15655 | 	hardcode_direct_GCJ=unsupported | 
 | 15656 |       fi | 
 | 15657 |       ;; | 
 | 15658 |  | 
 | 15659 |     aix4* | aix5*) | 
 | 15660 |       if test "$host_cpu" = ia64; then | 
 | 15661 | 	# On IA64, the linker does run time linking by default, so we don't | 
 | 15662 | 	# have to do anything special. | 
 | 15663 | 	aix_use_runtimelinking=no | 
 | 15664 | 	exp_sym_flag='-Bexport' | 
 | 15665 | 	no_entry_flag="" | 
 | 15666 |       else | 
 | 15667 | 	# If we're using GNU nm, then we don't want the "-C" option. | 
 | 15668 | 	# -C means demangle to AIX nm, but means don't demangle with GNU nm | 
 | 15669 | 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
 | 15670 | 	  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' | 
 | 15671 | 	else | 
 | 15672 | 	  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' | 
 | 15673 | 	fi | 
 | 15674 | 	aix_use_runtimelinking=no | 
 | 15675 |  | 
 | 15676 | 	# Test if we are trying to use run time linking or normal | 
 | 15677 | 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
 | 15678 | 	# need to do runtime linking. | 
 | 15679 | 	case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
 | 15680 | 	  for ld_flag in $LDFLAGS; do | 
 | 15681 |   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
 | 15682 |   	    aix_use_runtimelinking=yes | 
 | 15683 |   	    break | 
 | 15684 |   	  fi | 
 | 15685 | 	  done | 
 | 15686 | 	esac | 
 | 15687 |  | 
 | 15688 | 	exp_sym_flag='-bexport' | 
 | 15689 | 	no_entry_flag='-bnoentry' | 
 | 15690 |       fi | 
 | 15691 |  | 
 | 15692 |       # When large executables or shared objects are built, AIX ld can | 
 | 15693 |       # have problems creating the table of contents.  If linking a library | 
 | 15694 |       # or program results in "error TOC overflow" add -mminimal-toc to | 
 | 15695 |       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
 | 15696 |       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
 | 15697 |  | 
 | 15698 |       archive_cmds_GCJ='' | 
 | 15699 |       hardcode_direct_GCJ=yes | 
 | 15700 |       hardcode_libdir_separator_GCJ=':' | 
 | 15701 |       link_all_deplibs_GCJ=yes | 
 | 15702 |  | 
 | 15703 |       if test "$GCC" = yes; then | 
 | 15704 | 	case $host_os in aix4.012|aix4.012.*) | 
 | 15705 | 	# We only want to do this on AIX 4.2 and lower, the check | 
 | 15706 | 	# below for broken collect2 doesn't work under 4.3+ | 
 | 15707 | 	  collect2name=`${CC} -print-prog-name=collect2` | 
 | 15708 | 	  if test -f "$collect2name" && \ | 
 | 15709 |   	   strings "$collect2name" | grep resolve_lib_name >/dev/null | 
 | 15710 | 	  then | 
 | 15711 |   	  # We have reworked collect2 | 
 | 15712 |   	  hardcode_direct_GCJ=yes | 
 | 15713 | 	  else | 
 | 15714 |   	  # We have old collect2 | 
 | 15715 |   	  hardcode_direct_GCJ=unsupported | 
 | 15716 |   	  # It fails to find uninstalled libraries when the uninstalled | 
 | 15717 |   	  # path is not listed in the libpath.  Setting hardcode_minus_L | 
 | 15718 |   	  # to unsupported forces relinking | 
 | 15719 |   	  hardcode_minus_L_GCJ=yes | 
 | 15720 |   	  hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15721 |   	  hardcode_libdir_separator_GCJ= | 
 | 15722 | 	  fi | 
 | 15723 | 	esac | 
 | 15724 | 	shared_flag='-shared' | 
 | 15725 |       else | 
 | 15726 | 	# not using gcc | 
 | 15727 | 	if test "$host_cpu" = ia64; then | 
 | 15728 |   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
 | 15729 |   	# chokes on -Wl,-G. The following line is correct: | 
 | 15730 | 	  shared_flag='-G' | 
 | 15731 | 	else | 
 | 15732 |   	if test "$aix_use_runtimelinking" = yes; then | 
 | 15733 | 	    shared_flag='${wl}-G' | 
 | 15734 | 	  else | 
 | 15735 | 	    shared_flag='${wl}-bM:SRE' | 
 | 15736 |   	fi | 
 | 15737 | 	fi | 
 | 15738 |       fi | 
 | 15739 |  | 
 | 15740 |       # It seems that -bexpall does not export symbols beginning with | 
 | 15741 |       # underscore (_), so it is better to generate a list of symbols to export. | 
 | 15742 |       always_export_symbols_GCJ=yes | 
 | 15743 |       if test "$aix_use_runtimelinking" = yes; then | 
 | 15744 | 	# Warning - without using the other runtime loading flags (-brtl), | 
 | 15745 | 	# -berok will link without error, but may produce a broken library. | 
 | 15746 | 	allow_undefined_flag_GCJ='-berok' | 
 | 15747 |        # Determine the default libpath from the value encoded in an empty executable. | 
 | 15748 |        cat >conftest.$ac_ext <<_ACEOF | 
 | 15749 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15750 | /* confdefs.h.  */ | 
 | 15751 | _ACEOF | 
 | 15752 | cat confdefs.h >>conftest.$ac_ext | 
 | 15753 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 15754 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15755 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15756 | int | 
 | 15757 | main () | 
 | 15758 | { | 
 | 15759 |  | 
 | 15760 |   ; | 
 | 15761 |   return 0; | 
 | 15762 | } | 
 | 15763 | _ACEOF | 
 | 15764 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 15765 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 15766 |   (eval $ac_link) 2>&5 | 
 | 15767 |   ac_status=$? | 
 | 15768 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 15769 |   (exit $ac_status); } && | 
 | 15770 |          { ac_try='test -s conftest$ac_exeext' | 
 | 15771 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 15772 |   (eval $ac_try) 2>&5 | 
 | 15773 |   ac_status=$? | 
 | 15774 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 15775 |   (exit $ac_status); }; }; then | 
 | 15776 |  | 
 | 15777 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 15778 | }'` | 
 | 15779 | # Check for a 64-bit object if we didn't find anything. | 
 | 15780 | 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; } | 
 | 15781 | }'`; fi | 
 | 15782 | else | 
 | 15783 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15784 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 15785 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15786 | fi | 
 | 15787 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 15788 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 15789 |  | 
 | 15790 |        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 15791 | 	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" | 
 | 15792 |        else | 
 | 15793 | 	if test "$host_cpu" = ia64; then | 
 | 15794 | 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' | 
 | 15795 | 	  allow_undefined_flag_GCJ="-z nodefs" | 
 | 15796 | 	  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" | 
 | 15797 | 	else | 
 | 15798 | 	 # Determine the default libpath from the value encoded in an empty executable. | 
 | 15799 | 	 cat >conftest.$ac_ext <<_ACEOF | 
 | 15800 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15801 | /* confdefs.h.  */ | 
 | 15802 | _ACEOF | 
 | 15803 | cat confdefs.h >>conftest.$ac_ext | 
 | 15804 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 15805 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15806 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15807 | int | 
 | 15808 | main () | 
 | 15809 | { | 
 | 15810 |  | 
 | 15811 |   ; | 
 | 15812 |   return 0; | 
 | 15813 | } | 
 | 15814 | _ACEOF | 
 | 15815 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 15816 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 15817 |   (eval $ac_link) 2>&5 | 
 | 15818 |   ac_status=$? | 
 | 15819 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 15820 |   (exit $ac_status); } && | 
 | 15821 |          { ac_try='test -s conftest$ac_exeext' | 
 | 15822 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 15823 |   (eval $ac_try) 2>&5 | 
 | 15824 |   ac_status=$? | 
 | 15825 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 15826 |   (exit $ac_status); }; }; then | 
 | 15827 |  | 
 | 15828 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
 | 15829 | }'` | 
 | 15830 | # Check for a 64-bit object if we didn't find anything. | 
 | 15831 | 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; } | 
 | 15832 | }'`; fi | 
 | 15833 | else | 
 | 15834 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15835 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 15836 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15837 | fi | 
 | 15838 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 15839 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
 | 15840 |  | 
 | 15841 | 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" | 
 | 15842 | 	  # Warning - without using the other run time loading flags, | 
 | 15843 | 	  # -berok will link without error, but may produce a broken library. | 
 | 15844 | 	  no_undefined_flag_GCJ=' ${wl}-bernotok' | 
 | 15845 | 	  allow_undefined_flag_GCJ=' ${wl}-berok' | 
 | 15846 | 	  # -bexpall does not export symbols beginning with underscore (_) | 
 | 15847 | 	  always_export_symbols_GCJ=yes | 
 | 15848 | 	  # Exported symbols can be pulled into shared objects from archives | 
 | 15849 | 	  whole_archive_flag_spec_GCJ=' ' | 
 | 15850 | 	  archive_cmds_need_lc_GCJ=yes | 
 | 15851 | 	  # This is similar to how AIX traditionally builds it's shared libraries. | 
 | 15852 | 	  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' | 
 | 15853 | 	fi | 
 | 15854 |       fi | 
 | 15855 |       ;; | 
 | 15856 |  | 
 | 15857 |     amigaos*) | 
 | 15858 |       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)' | 
 | 15859 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15860 |       hardcode_minus_L_GCJ=yes | 
 | 15861 |       # see comment about different semantics on the GNU ld section | 
 | 15862 |       ld_shlibs_GCJ=no | 
 | 15863 |       ;; | 
 | 15864 |  | 
 | 15865 |     bsdi4*) | 
 | 15866 |       export_dynamic_flag_spec_GCJ=-rdynamic | 
 | 15867 |       ;; | 
 | 15868 |  | 
 | 15869 |     cygwin* | mingw* | pw32*) | 
 | 15870 |       # When not using gcc, we currently assume that we are using | 
 | 15871 |       # Microsoft Visual C++. | 
 | 15872 |       # hardcode_libdir_flag_spec is actually meaningless, as there is | 
 | 15873 |       # no search path for DLLs. | 
 | 15874 |       hardcode_libdir_flag_spec_GCJ=' ' | 
 | 15875 |       allow_undefined_flag_GCJ=unsupported | 
 | 15876 |       # Tell ltmain to make .lib files, not .a files. | 
 | 15877 |       libext=lib | 
 | 15878 |       # Tell ltmain to make .dll files, not .so files. | 
 | 15879 |       shrext=".dll" | 
 | 15880 |       # FIXME: Setting linknames here is a bad hack. | 
 | 15881 |       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
 | 15882 |       # The linker will automatically build a .lib file if we build a DLL. | 
 | 15883 |       old_archive_From_new_cmds_GCJ='true' | 
 | 15884 |       # FIXME: Should let the user specify the lib program. | 
 | 15885 |       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
 | 15886 |       fix_srcfile_path='`cygpath -w "$srcfile"`' | 
 | 15887 |       enable_shared_with_static_runtimes_GCJ=yes | 
 | 15888 |       ;; | 
 | 15889 |  | 
 | 15890 |     darwin* | rhapsody*) | 
 | 15891 |     if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 15892 |       archive_cmds_need_lc_GCJ=no | 
 | 15893 |       case "$host_os" in | 
 | 15894 |       rhapsody* | darwin1.[012]) | 
 | 15895 | 	allow_undefined_flag_GCJ='-undefined suppress' | 
 | 15896 | 	;; | 
 | 15897 |       *) # Darwin 1.3 on | 
 | 15898 | 	test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' | 
 | 15899 | 	;; | 
 | 15900 |       esac | 
 | 15901 |       # FIXME: Relying on posixy $() will cause problems for | 
 | 15902 |       #        cross-compilation, but unfortunately the echo tests do not | 
 | 15903 |       #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
 | 15904 |       #	       `"' quotes if we put them in here... so don't! | 
 | 15905 |     	lt_int_apple_cc_single_mod=no | 
 | 15906 |     	output_verbose_link_cmd='echo' | 
 | 15907 |     	if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
 | 15908 |     	  lt_int_apple_cc_single_mod=yes | 
 | 15909 |     	fi | 
 | 15910 |     	if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 15911 |     	  archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
 | 15912 |     	else | 
 | 15913 |         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' | 
 | 15914 |       fi | 
 | 15915 |       module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
 | 15916 |       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
 | 15917 |         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
 | 15918 |           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}' | 
 | 15919 |         else | 
 | 15920 |           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}' | 
 | 15921 |         fi | 
 | 15922 |           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}' | 
 | 15923 |       hardcode_direct_GCJ=no | 
 | 15924 |       hardcode_automatic_GCJ=yes | 
 | 15925 |       hardcode_shlibpath_var_GCJ=unsupported | 
 | 15926 |       whole_archive_flag_spec_GCJ='-all_load $convenience' | 
 | 15927 |       link_all_deplibs_GCJ=yes | 
 | 15928 |     fi | 
 | 15929 |       ;; | 
 | 15930 |  | 
 | 15931 |     dgux*) | 
 | 15932 |       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15933 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 15934 |       hardcode_shlibpath_var_GCJ=no | 
 | 15935 |       ;; | 
 | 15936 |  | 
 | 15937 |     freebsd1*) | 
 | 15938 |       ld_shlibs_GCJ=no | 
 | 15939 |       ;; | 
 | 15940 |  | 
 | 15941 |     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
 | 15942 |     # support.  Future versions do this automatically, but an explicit c++rt0.o | 
 | 15943 |     # does not break anything, and helps significantly (at the cost of a little | 
 | 15944 |     # extra space). | 
 | 15945 |     freebsd2.2*) | 
 | 15946 |       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
 | 15947 |       hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
 | 15948 |       hardcode_direct_GCJ=yes | 
 | 15949 |       hardcode_shlibpath_var_GCJ=no | 
 | 15950 |       ;; | 
 | 15951 |  | 
 | 15952 |     # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
 | 15953 |     freebsd2*) | 
 | 15954 |       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 15955 |       hardcode_direct_GCJ=yes | 
 | 15956 |       hardcode_minus_L_GCJ=yes | 
 | 15957 |       hardcode_shlibpath_var_GCJ=no | 
 | 15958 |       ;; | 
 | 15959 |  | 
 | 15960 |     # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
 | 15961 |     freebsd*) | 
 | 15962 |       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15963 |       hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
 | 15964 |       hardcode_direct_GCJ=yes | 
 | 15965 |       hardcode_shlibpath_var_GCJ=no | 
 | 15966 |       ;; | 
 | 15967 |  | 
 | 15968 |     hpux9*) | 
 | 15969 |       if test "$GCC" = yes; then | 
 | 15970 | 	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' | 
 | 15971 |       else | 
 | 15972 | 	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' | 
 | 15973 |       fi | 
 | 15974 |       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | 
 | 15975 |       hardcode_libdir_separator_GCJ=: | 
 | 15976 |       hardcode_direct_GCJ=yes | 
 | 15977 |  | 
 | 15978 |       # hardcode_minus_L: Not really in the search PATH, | 
 | 15979 |       # but as the default location of the library. | 
 | 15980 |       hardcode_minus_L_GCJ=yes | 
 | 15981 |       export_dynamic_flag_spec_GCJ='${wl}-E' | 
 | 15982 |       ;; | 
 | 15983 |  | 
 | 15984 |     hpux10* | hpux11*) | 
 | 15985 |       if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 
 | 15986 | 	case "$host_cpu" in | 
 | 15987 | 	hppa*64*|ia64*) | 
 | 15988 | 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15989 | 	  ;; | 
 | 15990 | 	*) | 
 | 15991 | 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
 | 15992 | 	  ;; | 
 | 15993 | 	esac | 
 | 15994 |       else | 
 | 15995 | 	case "$host_cpu" in | 
 | 15996 | 	hppa*64*|ia64*) | 
 | 15997 | 	  archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 15998 | 	  ;; | 
 | 15999 | 	*) | 
 | 16000 | 	  archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 
 | 16001 | 	  ;; | 
 | 16002 | 	esac | 
 | 16003 |       fi | 
 | 16004 |       if test "$with_gnu_ld" = no; then | 
 | 16005 | 	case "$host_cpu" in | 
 | 16006 | 	hppa*64*) | 
 | 16007 | 	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | 
 | 16008 | 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' | 
 | 16009 | 	  hardcode_libdir_separator_GCJ=: | 
 | 16010 | 	  hardcode_direct_GCJ=no | 
 | 16011 | 	  hardcode_shlibpath_var_GCJ=no | 
 | 16012 | 	  ;; | 
 | 16013 | 	ia64*) | 
 | 16014 | 	  hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 16015 | 	  hardcode_direct_GCJ=no | 
 | 16016 | 	  hardcode_shlibpath_var_GCJ=no | 
 | 16017 |  | 
 | 16018 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 16019 | 	  # but as the default location of the library. | 
 | 16020 | 	  hardcode_minus_L_GCJ=yes | 
 | 16021 | 	  ;; | 
 | 16022 | 	*) | 
 | 16023 | 	  hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | 
 | 16024 | 	  hardcode_libdir_separator_GCJ=: | 
 | 16025 | 	  hardcode_direct_GCJ=yes | 
 | 16026 | 	  export_dynamic_flag_spec_GCJ='${wl}-E' | 
 | 16027 |  | 
 | 16028 | 	  # hardcode_minus_L: Not really in the search PATH, | 
 | 16029 | 	  # but as the default location of the library. | 
 | 16030 | 	  hardcode_minus_L_GCJ=yes | 
 | 16031 | 	  ;; | 
 | 16032 | 	esac | 
 | 16033 |       fi | 
 | 16034 |       ;; | 
 | 16035 |  | 
 | 16036 |     irix5* | irix6* | nonstopux*) | 
 | 16037 |       if test "$GCC" = yes; then | 
 | 16038 | 	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' | 
 | 16039 |       else | 
 | 16040 | 	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' | 
 | 16041 | 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' | 
 | 16042 |       fi | 
 | 16043 |       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
 | 16044 |       hardcode_libdir_separator_GCJ=: | 
 | 16045 |       link_all_deplibs_GCJ=yes | 
 | 16046 |       ;; | 
 | 16047 |  | 
 | 16048 |     netbsd*) | 
 | 16049 |       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 16050 | 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
 | 16051 |       else | 
 | 16052 | 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
 | 16053 |       fi | 
 | 16054 |       hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
 | 16055 |       hardcode_direct_GCJ=yes | 
 | 16056 |       hardcode_shlibpath_var_GCJ=no | 
 | 16057 |       ;; | 
 | 16058 |  | 
 | 16059 |     newsos6) | 
 | 16060 |       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 16061 |       hardcode_direct_GCJ=yes | 
 | 16062 |       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
 | 16063 |       hardcode_libdir_separator_GCJ=: | 
 | 16064 |       hardcode_shlibpath_var_GCJ=no | 
 | 16065 |       ;; | 
 | 16066 |  | 
 | 16067 |     openbsd*) | 
 | 16068 |       hardcode_direct_GCJ=yes | 
 | 16069 |       hardcode_shlibpath_var_GCJ=no | 
 | 16070 |       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 16071 | 	archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 16072 | 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | 
 | 16073 | 	export_dynamic_flag_spec_GCJ='${wl}-E' | 
 | 16074 |       else | 
 | 16075 |        case $host_os in | 
 | 16076 | 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
 | 16077 | 	   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 16078 | 	   hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
 | 16079 | 	   ;; | 
 | 16080 | 	 *) | 
 | 16081 | 	   archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
 | 16082 | 	   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | 
 | 16083 | 	   ;; | 
 | 16084 |        esac | 
 | 16085 |       fi | 
 | 16086 |       ;; | 
 | 16087 |  | 
 | 16088 |     os2*) | 
 | 16089 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 16090 |       hardcode_minus_L_GCJ=yes | 
 | 16091 |       allow_undefined_flag_GCJ=unsupported | 
 | 16092 |       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' | 
 | 16093 |       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
 | 16094 |       ;; | 
 | 16095 |  | 
 | 16096 |     osf3*) | 
 | 16097 |       if test "$GCC" = yes; then | 
 | 16098 | 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' | 
 | 16099 | 	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' | 
 | 16100 |       else | 
 | 16101 | 	allow_undefined_flag_GCJ=' -expect_unresolved \*' | 
 | 16102 | 	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' | 
 | 16103 |       fi | 
 | 16104 |       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
 | 16105 |       hardcode_libdir_separator_GCJ=: | 
 | 16106 |       ;; | 
 | 16107 |  | 
 | 16108 |     osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
 | 16109 |       if test "$GCC" = yes; then | 
 | 16110 | 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' | 
 | 16111 | 	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' | 
 | 16112 | 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
 | 16113 |       else | 
 | 16114 | 	allow_undefined_flag_GCJ=' -expect_unresolved \*' | 
 | 16115 | 	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' | 
 | 16116 | 	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~ | 
 | 16117 | 	$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' | 
 | 16118 |  | 
 | 16119 | 	# Both c and cxx compiler support -rpath directly | 
 | 16120 | 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir' | 
 | 16121 |       fi | 
 | 16122 |       hardcode_libdir_separator_GCJ=: | 
 | 16123 |       ;; | 
 | 16124 |  | 
 | 16125 |     sco3.2v5*) | 
 | 16126 |       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 16127 |       hardcode_shlibpath_var_GCJ=no | 
 | 16128 |       export_dynamic_flag_spec_GCJ='${wl}-Bexport' | 
 | 16129 |       runpath_var=LD_RUN_PATH | 
 | 16130 |       hardcode_runpath_var=yes | 
 | 16131 |       ;; | 
 | 16132 |  | 
 | 16133 |     solaris*) | 
 | 16134 |       no_undefined_flag_GCJ=' -z text' | 
 | 16135 |       if test "$GCC" = yes; then | 
 | 16136 | 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 16137 | 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 16138 | 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 
 | 16139 |       else | 
 | 16140 | 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 16141 | 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 16142 |   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 16143 |       fi | 
 | 16144 |       hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
 | 16145 |       hardcode_shlibpath_var_GCJ=no | 
 | 16146 |       case $host_os in | 
 | 16147 |       solaris2.[0-5] | solaris2.[0-5].*) ;; | 
 | 16148 |       *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
 | 16149 | 	whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; | 
 | 16150 |       esac | 
 | 16151 |       link_all_deplibs_GCJ=yes | 
 | 16152 |       ;; | 
 | 16153 |  | 
 | 16154 |     sunos4*) | 
 | 16155 |       if test "x$host_vendor" = xsequent; then | 
 | 16156 | 	# Use $CC to link under sequent, because it throws in some extra .o | 
 | 16157 | 	# files that make .init and .fini sections work. | 
 | 16158 | 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 16159 |       else | 
 | 16160 | 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
 | 16161 |       fi | 
 | 16162 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 16163 |       hardcode_direct_GCJ=yes | 
 | 16164 |       hardcode_minus_L_GCJ=yes | 
 | 16165 |       hardcode_shlibpath_var_GCJ=no | 
 | 16166 |       ;; | 
 | 16167 |  | 
 | 16168 |     sysv4) | 
 | 16169 |       case $host_vendor in | 
 | 16170 | 	sni) | 
 | 16171 | 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 16172 | 	  hardcode_direct_GCJ=yes # is this really true??? | 
 | 16173 | 	;; | 
 | 16174 | 	siemens) | 
 | 16175 | 	  ## LD is ld it makes a PLAMLIB | 
 | 16176 | 	  ## CC just makes a GrossModule. | 
 | 16177 | 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 16178 | 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs' | 
 | 16179 | 	  hardcode_direct_GCJ=no | 
 | 16180 |         ;; | 
 | 16181 | 	motorola) | 
 | 16182 | 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 16183 | 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie | 
 | 16184 | 	;; | 
 | 16185 |       esac | 
 | 16186 |       runpath_var='LD_RUN_PATH' | 
 | 16187 |       hardcode_shlibpath_var_GCJ=no | 
 | 16188 |       ;; | 
 | 16189 |  | 
 | 16190 |     sysv4.3*) | 
 | 16191 |       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 16192 |       hardcode_shlibpath_var_GCJ=no | 
 | 16193 |       export_dynamic_flag_spec_GCJ='-Bexport' | 
 | 16194 |       ;; | 
 | 16195 |  | 
 | 16196 |     sysv4*MP*) | 
 | 16197 |       if test -d /usr/nec; then | 
 | 16198 | 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 16199 | 	hardcode_shlibpath_var_GCJ=no | 
 | 16200 | 	runpath_var=LD_RUN_PATH | 
 | 16201 | 	hardcode_runpath_var=yes | 
 | 16202 | 	ld_shlibs_GCJ=yes | 
 | 16203 |       fi | 
 | 16204 |       ;; | 
 | 16205 |  | 
 | 16206 |     sysv4.2uw2*) | 
 | 16207 |       archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 16208 |       hardcode_direct_GCJ=yes | 
 | 16209 |       hardcode_minus_L_GCJ=no | 
 | 16210 |       hardcode_shlibpath_var_GCJ=no | 
 | 16211 |       hardcode_runpath_var=yes | 
 | 16212 |       runpath_var=LD_RUN_PATH | 
 | 16213 |       ;; | 
 | 16214 |  | 
 | 16215 |    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*) | 
 | 16216 |       no_undefined_flag_GCJ='${wl}-z ${wl}text' | 
 | 16217 |       if test "$GCC" = yes; then | 
 | 16218 | 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 16219 |       else | 
 | 16220 | 	archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 16221 |       fi | 
 | 16222 |       runpath_var='LD_RUN_PATH' | 
 | 16223 |       hardcode_shlibpath_var_GCJ=no | 
 | 16224 |       ;; | 
 | 16225 |  | 
 | 16226 |     sysv5*) | 
 | 16227 |       no_undefined_flag_GCJ=' -z text' | 
 | 16228 |       # $CC -shared without GNU ld will not create a library from C++ | 
 | 16229 |       # object files and a static libstdc++, better avoid it by now | 
 | 16230 |       archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 16231 |       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 16232 |   		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 16233 |       hardcode_libdir_flag_spec_GCJ= | 
 | 16234 |       hardcode_shlibpath_var_GCJ=no | 
 | 16235 |       runpath_var='LD_RUN_PATH' | 
 | 16236 |       ;; | 
 | 16237 |  | 
 | 16238 |     uts4*) | 
 | 16239 |       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 16240 |       hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
 | 16241 |       hardcode_shlibpath_var_GCJ=no | 
 | 16242 |       ;; | 
 | 16243 |  | 
 | 16244 |     *) | 
 | 16245 |       ld_shlibs_GCJ=no | 
 | 16246 |       ;; | 
 | 16247 |     esac | 
 | 16248 |   fi | 
 | 16249 |  | 
 | 16250 | echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 | 
 | 16251 | echo "${ECHO_T}$ld_shlibs_GCJ" >&6 | 
 | 16252 | test "$ld_shlibs_GCJ" = no && can_build_shared=no | 
 | 16253 |  | 
 | 16254 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
 | 16255 | if test "$GCC" = yes; then | 
 | 16256 |   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
 | 16257 | fi | 
 | 16258 |  | 
 | 16259 | # | 
 | 16260 | # Do we need to explicitly link libc? | 
 | 16261 | # | 
 | 16262 | case "x$archive_cmds_need_lc_GCJ" in | 
 | 16263 | x|xyes) | 
 | 16264 |   # Assume -lc should be added | 
 | 16265 |   archive_cmds_need_lc_GCJ=yes | 
 | 16266 |  | 
 | 16267 |   if test "$enable_shared" = yes && test "$GCC" = yes; then | 
 | 16268 |     case $archive_cmds_GCJ in | 
 | 16269 |     *'~'*) | 
 | 16270 |       # FIXME: we may have to deal with multi-command sequences. | 
 | 16271 |       ;; | 
 | 16272 |     '$CC '*) | 
 | 16273 |       # Test whether the compiler implicitly links with -lc since on some | 
 | 16274 |       # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
 | 16275 |       # to ld, don't add -lc before -lgcc. | 
 | 16276 |       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
 | 16277 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
 | 16278 |       $rm conftest* | 
 | 16279 |       printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
 | 16280 |  | 
 | 16281 |       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 16282 |   (eval $ac_compile) 2>&5 | 
 | 16283 |   ac_status=$? | 
 | 16284 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16285 |   (exit $ac_status); } 2>conftest.err; then | 
 | 16286 |         soname=conftest | 
 | 16287 |         lib=conftest | 
 | 16288 |         libobjs=conftest.$ac_objext | 
 | 16289 |         deplibs= | 
 | 16290 |         wl=$lt_prog_compiler_wl_GCJ | 
 | 16291 |         compiler_flags=-v | 
 | 16292 |         linker_flags=-v | 
 | 16293 |         verstring= | 
 | 16294 |         output_objdir=. | 
 | 16295 |         libname=conftest | 
 | 16296 |         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ | 
 | 16297 |         allow_undefined_flag_GCJ= | 
 | 16298 |         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
 | 16299 |   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
 | 16300 |   ac_status=$? | 
 | 16301 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16302 |   (exit $ac_status); } | 
 | 16303 |         then | 
 | 16304 | 	  archive_cmds_need_lc_GCJ=no | 
 | 16305 |         else | 
 | 16306 | 	  archive_cmds_need_lc_GCJ=yes | 
 | 16307 |         fi | 
 | 16308 |         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag | 
 | 16309 |       else | 
 | 16310 |         cat conftest.err 1>&5 | 
 | 16311 |       fi | 
 | 16312 |       $rm conftest* | 
 | 16313 |       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 | 
 | 16314 | echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 | 
 | 16315 |       ;; | 
 | 16316 |     esac | 
 | 16317 |   fi | 
 | 16318 |   ;; | 
 | 16319 | esac | 
 | 16320 |  | 
 | 16321 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
 | 16322 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
 | 16323 | hardcode_action_GCJ= | 
 | 16324 | if test -n "$hardcode_libdir_flag_spec_GCJ" || \ | 
 | 16325 |    test -n "$runpath_var GCJ" || \ | 
 | 16326 |    test "X$hardcode_automatic_GCJ"="Xyes" ; then | 
 | 16327 |  | 
 | 16328 |   # We can hardcode non-existant directories. | 
 | 16329 |   if test "$hardcode_direct_GCJ" != no && | 
 | 16330 |      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
 | 16331 |      # have to relink, otherwise we might link with an installed library | 
 | 16332 |      # when we should be linking with a yet-to-be-installed one | 
 | 16333 |      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && | 
 | 16334 |      test "$hardcode_minus_L_GCJ" != no; then | 
 | 16335 |     # Linking always hardcodes the temporary library directory. | 
 | 16336 |     hardcode_action_GCJ=relink | 
 | 16337 |   else | 
 | 16338 |     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
 | 16339 |     hardcode_action_GCJ=immediate | 
 | 16340 |   fi | 
 | 16341 | else | 
 | 16342 |   # We cannot hardcode anything, or else we can only hardcode existing | 
 | 16343 |   # directories. | 
 | 16344 |   hardcode_action_GCJ=unsupported | 
 | 16345 | fi | 
 | 16346 | echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 | 
 | 16347 | echo "${ECHO_T}$hardcode_action_GCJ" >&6 | 
 | 16348 |  | 
 | 16349 | if test "$hardcode_action_GCJ" = relink; then | 
 | 16350 |   # Fast installation is not supported | 
 | 16351 |   enable_fast_install=no | 
 | 16352 | elif test "$shlibpath_overrides_runpath" = yes || | 
 | 16353 |      test "$enable_shared" = no; then | 
 | 16354 |   # Fast installation is not necessary | 
 | 16355 |   enable_fast_install=needless | 
 | 16356 | fi | 
 | 16357 |  | 
 | 16358 | striplib= | 
 | 16359 | old_striplib= | 
 | 16360 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
 | 16361 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
 | 16362 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
 | 16363 |   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
 | 16364 |   test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
 | 16365 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 16366 | echo "${ECHO_T}yes" >&6 | 
 | 16367 | else | 
 | 16368 | # FIXME - insert some real tests, host_os isn't really good enough | 
 | 16369 |   case $host_os in | 
 | 16370 |    darwin*) | 
 | 16371 |        if test -n "$STRIP" ; then | 
 | 16372 |          striplib="$STRIP -x" | 
 | 16373 |          echo "$as_me:$LINENO: result: yes" >&5 | 
 | 16374 | echo "${ECHO_T}yes" >&6 | 
 | 16375 |        else | 
 | 16376 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 16377 | echo "${ECHO_T}no" >&6 | 
 | 16378 | fi | 
 | 16379 |        ;; | 
 | 16380 |    *) | 
 | 16381 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 16382 | echo "${ECHO_T}no" >&6 | 
 | 16383 |     ;; | 
 | 16384 |   esac | 
 | 16385 | fi | 
 | 16386 |  | 
 | 16387 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
 | 16388 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
 | 16389 | library_names_spec= | 
 | 16390 | libname_spec='lib$name' | 
 | 16391 | soname_spec= | 
 | 16392 | shrext=".so" | 
 | 16393 | postinstall_cmds= | 
 | 16394 | postuninstall_cmds= | 
 | 16395 | finish_cmds= | 
 | 16396 | finish_eval= | 
 | 16397 | shlibpath_var= | 
 | 16398 | shlibpath_overrides_runpath=unknown | 
 | 16399 | version_type=none | 
 | 16400 | dynamic_linker="$host_os ld.so" | 
 | 16401 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
 | 16402 | if test "$GCC" = yes; then | 
 | 16403 |   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 16404 |   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
 | 16405 |     # if the path contains ";" then we assume it to be the separator | 
 | 16406 |     # otherwise default to the standard path separator (i.e. ":") - it is | 
 | 16407 |     # assumed that no part of a normal pathname contains ";" but that should | 
 | 16408 |     # okay in the real world where ";" in dirpaths is itself problematic. | 
 | 16409 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 16410 |   else | 
 | 16411 |     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 16412 |   fi | 
 | 16413 | else | 
 | 16414 |   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
 | 16415 | fi | 
 | 16416 | need_lib_prefix=unknown | 
 | 16417 | hardcode_into_libs=no | 
 | 16418 |  | 
 | 16419 | # when you set need_version to no, make sure it does not cause -set_version | 
 | 16420 | # flags to be left without arguments | 
 | 16421 | need_version=unknown | 
 | 16422 |  | 
 | 16423 | case $host_os in | 
 | 16424 | aix3*) | 
 | 16425 |   version_type=linux | 
 | 16426 |   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
 | 16427 |   shlibpath_var=LIBPATH | 
 | 16428 |  | 
 | 16429 |   # AIX 3 has no versioning support, so we append a major version to the name. | 
 | 16430 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16431 |   ;; | 
 | 16432 |  | 
 | 16433 | aix4* | aix5*) | 
 | 16434 |   version_type=linux | 
 | 16435 |   need_lib_prefix=no | 
 | 16436 |   need_version=no | 
 | 16437 |   hardcode_into_libs=yes | 
 | 16438 |   if test "$host_cpu" = ia64; then | 
 | 16439 |     # AIX 5 supports IA64 | 
 | 16440 |     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
 | 16441 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 16442 |   else | 
 | 16443 |     # With GCC up to 2.95.x, collect2 would create an import file | 
 | 16444 |     # for dependence libraries.  The import file would start with | 
 | 16445 |     # the line `#! .'.  This would cause the generated library to | 
 | 16446 |     # depend on `.', always an invalid library.  This was fixed in | 
 | 16447 |     # development snapshots of GCC prior to 3.0. | 
 | 16448 |     case $host_os in | 
 | 16449 |       aix4 | aix4.[01] | aix4.[01].*) | 
 | 16450 |       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
 | 16451 | 	   echo ' yes ' | 
 | 16452 | 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
 | 16453 | 	: | 
 | 16454 |       else | 
 | 16455 | 	can_build_shared=no | 
 | 16456 |       fi | 
 | 16457 |       ;; | 
 | 16458 |     esac | 
 | 16459 |     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
 | 16460 |     # soname into executable. Probably we can add versioning support to | 
 | 16461 |     # collect2, so additional links can be useful in future. | 
 | 16462 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 16463 |       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
 | 16464 |       # instead of lib<name>.a to let people know that these are not | 
 | 16465 |       # typical AIX shared libraries. | 
 | 16466 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16467 |     else | 
 | 16468 |       # We preserve .a as extension for shared libraries through AIX4.2 | 
 | 16469 |       # and later when we are not doing run time linking. | 
 | 16470 |       library_names_spec='${libname}${release}.a $libname.a' | 
 | 16471 |       soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16472 |     fi | 
 | 16473 |     shlibpath_var=LIBPATH | 
 | 16474 |   fi | 
 | 16475 |   ;; | 
 | 16476 |  | 
 | 16477 | amigaos*) | 
 | 16478 |   library_names_spec='$libname.ixlibrary $libname.a' | 
 | 16479 |   # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
 | 16480 |   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' | 
 | 16481 |   ;; | 
 | 16482 |  | 
 | 16483 | beos*) | 
 | 16484 |   library_names_spec='${libname}${shared_ext}' | 
 | 16485 |   dynamic_linker="$host_os ld.so" | 
 | 16486 |   shlibpath_var=LIBRARY_PATH | 
 | 16487 |   ;; | 
 | 16488 |  | 
 | 16489 | bsdi4*) | 
 | 16490 |   version_type=linux | 
 | 16491 |   need_version=no | 
 | 16492 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16493 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16494 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
 | 16495 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16496 |   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
 | 16497 |   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
 | 16498 |   # the default ld.so.conf also contains /usr/contrib/lib and | 
 | 16499 |   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
 | 16500 |   # libtool to hard-code these into programs | 
 | 16501 |   ;; | 
 | 16502 |  | 
 | 16503 | cygwin* | mingw* | pw32*) | 
 | 16504 |   version_type=windows | 
 | 16505 |   shrext=".dll" | 
 | 16506 |   need_version=no | 
 | 16507 |   need_lib_prefix=no | 
 | 16508 |  | 
 | 16509 |   case $GCC,$host_os in | 
 | 16510 |   yes,cygwin* | yes,mingw* | yes,pw32*) | 
 | 16511 |     library_names_spec='$libname.dll.a' | 
 | 16512 |     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
 | 16513 |     postinstall_cmds='base_file=`basename \${file}`~ | 
 | 16514 |       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
 | 16515 |       dldir=$destdir/`dirname \$dlpath`~ | 
 | 16516 |       test -d \$dldir || mkdir -p \$dldir~ | 
 | 16517 |       $install_prog $dir/$dlname \$dldir/$dlname' | 
 | 16518 |     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
 | 16519 |       dlpath=$dir/\$dldll~ | 
 | 16520 |        $rm \$dlpath' | 
 | 16521 |     shlibpath_overrides_runpath=yes | 
 | 16522 |  | 
 | 16523 |     case $host_os in | 
 | 16524 |     cygwin*) | 
 | 16525 |       # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
 | 16526 |       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 16527 |       sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
 | 16528 |       ;; | 
 | 16529 |     mingw*) | 
 | 16530 |       # MinGW DLLs use traditional 'lib' prefix | 
 | 16531 |       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
 | 16532 |       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
 | 16533 |       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
 | 16534 |         # It is most probably a Windows format PATH printed by | 
 | 16535 |         # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
 | 16536 |         # path with ; separators, and with drive letters. We can handle the | 
 | 16537 |         # drive letters (cygwin fileutils understands them), so leave them, | 
 | 16538 |         # especially as we might pass files found there to a mingw objdump, | 
 | 16539 |         # which wouldn't understand a cygwinified path. Ahh. | 
 | 16540 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
 | 16541 |       else | 
 | 16542 |         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
 | 16543 |       fi | 
 | 16544 |       ;; | 
 | 16545 |     pw32*) | 
 | 16546 |       # pw32 DLLs use 'pw' prefix rather than 'lib' | 
 | 16547 |       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
 | 16548 |       ;; | 
 | 16549 |     esac | 
 | 16550 |     ;; | 
 | 16551 |  | 
 | 16552 |   *) | 
 | 16553 |     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
 | 16554 |     ;; | 
 | 16555 |   esac | 
 | 16556 |   dynamic_linker='Win32 ld.exe' | 
 | 16557 |   # FIXME: first we should search . and the directory the executable is in | 
 | 16558 |   shlibpath_var=PATH | 
 | 16559 |   ;; | 
 | 16560 |  | 
 | 16561 | darwin* | rhapsody*) | 
 | 16562 |   dynamic_linker="$host_os dyld" | 
 | 16563 |   version_type=darwin | 
 | 16564 |   need_lib_prefix=no | 
 | 16565 |   need_version=no | 
 | 16566 |   # FIXME: Relying on posixy $() will cause problems for | 
 | 16567 |   #        cross-compilation, but unfortunately the echo tests do not | 
 | 16568 |   #        yet detect zsh echo's removal of \ escapes. | 
 | 16569 |   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
 | 16570 |   soname_spec='${libname}${release}${major}$shared_ext' | 
 | 16571 |   shlibpath_overrides_runpath=yes | 
 | 16572 |   shlibpath_var=DYLD_LIBRARY_PATH | 
 | 16573 |   shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
 | 16574 |   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
 | 16575 |   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
 | 16576 |   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"` | 
 | 16577 |   fi | 
 | 16578 |   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
 | 16579 |   ;; | 
 | 16580 |  | 
 | 16581 | dgux*) | 
 | 16582 |   version_type=linux | 
 | 16583 |   need_lib_prefix=no | 
 | 16584 |   need_version=no | 
 | 16585 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
 | 16586 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16587 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16588 |   ;; | 
 | 16589 |  | 
 | 16590 | freebsd1*) | 
 | 16591 |   dynamic_linker=no | 
 | 16592 |   ;; | 
 | 16593 |  | 
 | 16594 | freebsd*) | 
 | 16595 |   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
 | 16596 |   version_type=freebsd-$objformat | 
 | 16597 |   case $version_type in | 
 | 16598 |     freebsd-elf*) | 
 | 16599 |       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 16600 |       need_version=no | 
 | 16601 |       need_lib_prefix=no | 
 | 16602 |       ;; | 
 | 16603 |     freebsd-*) | 
 | 16604 |       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
 | 16605 |       need_version=yes | 
 | 16606 |       ;; | 
 | 16607 |   esac | 
 | 16608 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16609 |   case $host_os in | 
 | 16610 |   freebsd2*) | 
 | 16611 |     shlibpath_overrides_runpath=yes | 
 | 16612 |     ;; | 
 | 16613 |   freebsd3.01* | freebsdelf3.01*) | 
 | 16614 |     shlibpath_overrides_runpath=yes | 
 | 16615 |     hardcode_into_libs=yes | 
 | 16616 |     ;; | 
 | 16617 |   *) # from 3.2 on | 
 | 16618 |     shlibpath_overrides_runpath=no | 
 | 16619 |     hardcode_into_libs=yes | 
 | 16620 |     ;; | 
 | 16621 |   esac | 
 | 16622 |   ;; | 
 | 16623 |  | 
 | 16624 | gnu*) | 
 | 16625 |   version_type=linux | 
 | 16626 |   need_lib_prefix=no | 
 | 16627 |   need_version=no | 
 | 16628 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
 | 16629 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16630 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16631 |   hardcode_into_libs=yes | 
 | 16632 |   ;; | 
 | 16633 |  | 
 | 16634 | hpux9* | hpux10* | hpux11*) | 
 | 16635 |   # Give a soname corresponding to the major version so that dld.sl refuses to | 
 | 16636 |   # link against other versions. | 
 | 16637 |   version_type=sunos | 
 | 16638 |   need_lib_prefix=no | 
 | 16639 |   need_version=no | 
 | 16640 |   case "$host_cpu" in | 
 | 16641 |   ia64*) | 
 | 16642 |     shrext='.so' | 
 | 16643 |     hardcode_into_libs=yes | 
 | 16644 |     dynamic_linker="$host_os dld.so" | 
 | 16645 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 16646 |     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 16647 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16648 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16649 |     if test "X$HPUX_IA64_MODE" = X32; then | 
 | 16650 |       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
 | 16651 |     else | 
 | 16652 |       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
 | 16653 |     fi | 
 | 16654 |     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 16655 |     ;; | 
 | 16656 |    hppa*64*) | 
 | 16657 |      shrext='.sl' | 
 | 16658 |      hardcode_into_libs=yes | 
 | 16659 |      dynamic_linker="$host_os dld.sl" | 
 | 16660 |      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
 | 16661 |      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
 | 16662 |      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16663 |      soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16664 |      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
 | 16665 |      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
 | 16666 |      ;; | 
 | 16667 |    *) | 
 | 16668 |     shrext='.sl' | 
 | 16669 |     dynamic_linker="$host_os dld.sl" | 
 | 16670 |     shlibpath_var=SHLIB_PATH | 
 | 16671 |     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
 | 16672 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16673 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16674 |     ;; | 
 | 16675 |   esac | 
 | 16676 |   # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
 | 16677 |   postinstall_cmds='chmod 555 $lib' | 
 | 16678 |   ;; | 
 | 16679 |  | 
 | 16680 | irix5* | irix6* | nonstopux*) | 
 | 16681 |   case $host_os in | 
 | 16682 |     nonstopux*) version_type=nonstopux ;; | 
 | 16683 |     *) | 
 | 16684 | 	if test "$lt_cv_prog_gnu_ld" = yes; then | 
 | 16685 | 		version_type=linux | 
 | 16686 | 	else | 
 | 16687 | 		version_type=irix | 
 | 16688 | 	fi ;; | 
 | 16689 |   esac | 
 | 16690 |   need_lib_prefix=no | 
 | 16691 |   need_version=no | 
 | 16692 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16693 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
 | 16694 |   case $host_os in | 
 | 16695 |   irix5* | nonstopux*) | 
 | 16696 |     libsuff= shlibsuff= | 
 | 16697 |     ;; | 
 | 16698 |   *) | 
 | 16699 |     case $LD in # libtool.m4 will add one of these switches to LD | 
 | 16700 |     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
 | 16701 |       libsuff= shlibsuff= libmagic=32-bit;; | 
 | 16702 |     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
 | 16703 |       libsuff=32 shlibsuff=N32 libmagic=N32;; | 
 | 16704 |     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
 | 16705 |       libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
 | 16706 |     *) libsuff= shlibsuff= libmagic=never-match;; | 
 | 16707 |     esac | 
 | 16708 |     ;; | 
 | 16709 |   esac | 
 | 16710 |   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
 | 16711 |   shlibpath_overrides_runpath=no | 
 | 16712 |   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
 | 16713 |   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
 | 16714 |   hardcode_into_libs=yes | 
 | 16715 |   ;; | 
 | 16716 |  | 
 | 16717 | # No shared lib support for Linux oldld, aout, or coff. | 
 | 16718 | linux*oldld* | linux*aout* | linux*coff*) | 
 | 16719 |   dynamic_linker=no | 
 | 16720 |   ;; | 
 | 16721 |  | 
 | 16722 | # This must be Linux ELF. | 
 | 16723 | linux*) | 
 | 16724 |   version_type=linux | 
 | 16725 |   need_lib_prefix=no | 
 | 16726 |   need_version=no | 
 | 16727 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16728 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16729 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
 | 16730 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16731 |   shlibpath_overrides_runpath=no | 
 | 16732 |   # This implies no fast_install, which is unacceptable. | 
 | 16733 |   # Some rework will be needed to allow for fast_install | 
 | 16734 |   # before this can be enabled. | 
 | 16735 |   hardcode_into_libs=yes | 
 | 16736 |  | 
 | 16737 |   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
 | 16738 |   # powerpc, because MkLinux only supported shared libraries with the | 
 | 16739 |   # GNU dynamic linker.  Since this was broken with cross compilers, | 
 | 16740 |   # most powerpc-linux boxes support dynamic linking these days and | 
 | 16741 |   # people can always --disable-shared, the test was removed, and we | 
 | 16742 |   # assume the GNU/Linux dynamic linker is in use. | 
 | 16743 |   dynamic_linker='GNU/Linux ld.so' | 
 | 16744 |   ;; | 
 | 16745 |  | 
 | 16746 | netbsd*) | 
 | 16747 |   version_type=sunos | 
 | 16748 |   need_lib_prefix=no | 
 | 16749 |   need_version=no | 
 | 16750 |   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 16751 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 16752 |     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 16753 |     dynamic_linker='NetBSD (a.out) ld.so' | 
 | 16754 |   else | 
 | 16755 |     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
 | 16756 |     soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16757 |     dynamic_linker='NetBSD ld.elf_so' | 
 | 16758 |   fi | 
 | 16759 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16760 |   shlibpath_overrides_runpath=yes | 
 | 16761 |   hardcode_into_libs=yes | 
 | 16762 |   ;; | 
 | 16763 |  | 
 | 16764 | newsos6) | 
 | 16765 |   version_type=linux | 
 | 16766 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16767 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16768 |   shlibpath_overrides_runpath=yes | 
 | 16769 |   ;; | 
 | 16770 |  | 
 | 16771 | nto-qnx) | 
 | 16772 |   version_type=linux | 
 | 16773 |   need_lib_prefix=no | 
 | 16774 |   need_version=no | 
 | 16775 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16776 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16777 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16778 |   shlibpath_overrides_runpath=yes | 
 | 16779 |   ;; | 
 | 16780 |  | 
 | 16781 | openbsd*) | 
 | 16782 |   version_type=sunos | 
 | 16783 |   need_lib_prefix=no | 
 | 16784 |   need_version=no | 
 | 16785 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 16786 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 16787 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16788 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 16789 |     case $host_os in | 
 | 16790 |       openbsd2.[89] | openbsd2.[89].*) | 
 | 16791 | 	shlibpath_overrides_runpath=no | 
 | 16792 | 	;; | 
 | 16793 |       *) | 
 | 16794 | 	shlibpath_overrides_runpath=yes | 
 | 16795 | 	;; | 
 | 16796 |       esac | 
 | 16797 |   else | 
 | 16798 |     shlibpath_overrides_runpath=yes | 
 | 16799 |   fi | 
 | 16800 |   ;; | 
 | 16801 |  | 
 | 16802 | os2*) | 
 | 16803 |   libname_spec='$name' | 
 | 16804 |   shrext=".dll" | 
 | 16805 |   need_lib_prefix=no | 
 | 16806 |   library_names_spec='$libname${shared_ext} $libname.a' | 
 | 16807 |   dynamic_linker='OS/2 ld.exe' | 
 | 16808 |   shlibpath_var=LIBPATH | 
 | 16809 |   ;; | 
 | 16810 |  | 
 | 16811 | osf3* | osf4* | osf5*) | 
 | 16812 |   version_type=osf | 
 | 16813 |   need_lib_prefix=no | 
 | 16814 |   need_version=no | 
 | 16815 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16816 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16817 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16818 |   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
 | 16819 |   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
 | 16820 |   ;; | 
 | 16821 |  | 
 | 16822 | sco3.2v5*) | 
 | 16823 |   version_type=osf | 
 | 16824 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16825 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16826 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16827 |   ;; | 
 | 16828 |  | 
 | 16829 | solaris*) | 
 | 16830 |   version_type=linux | 
 | 16831 |   need_lib_prefix=no | 
 | 16832 |   need_version=no | 
 | 16833 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16834 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16835 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16836 |   shlibpath_overrides_runpath=yes | 
 | 16837 |   hardcode_into_libs=yes | 
 | 16838 |   # ldd complains unless libraries are executable | 
 | 16839 |   postinstall_cmds='chmod +x $lib' | 
 | 16840 |   ;; | 
 | 16841 |  | 
 | 16842 | sunos4*) | 
 | 16843 |   version_type=sunos | 
 | 16844 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
 | 16845 |   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
 | 16846 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16847 |   shlibpath_overrides_runpath=yes | 
 | 16848 |   if test "$with_gnu_ld" = yes; then | 
 | 16849 |     need_lib_prefix=no | 
 | 16850 |   fi | 
 | 16851 |   need_version=yes | 
 | 16852 |   ;; | 
 | 16853 |  | 
 | 16854 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 16855 |   version_type=linux | 
 | 16856 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16857 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16858 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16859 |   case $host_vendor in | 
 | 16860 |     sni) | 
 | 16861 |       shlibpath_overrides_runpath=no | 
 | 16862 |       need_lib_prefix=no | 
 | 16863 |       export_dynamic_flag_spec='${wl}-Blargedynsym' | 
 | 16864 |       runpath_var=LD_RUN_PATH | 
 | 16865 |       ;; | 
 | 16866 |     siemens) | 
 | 16867 |       need_lib_prefix=no | 
 | 16868 |       ;; | 
 | 16869 |     motorola) | 
 | 16870 |       need_lib_prefix=no | 
 | 16871 |       need_version=no | 
 | 16872 |       shlibpath_overrides_runpath=no | 
 | 16873 |       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
 | 16874 |       ;; | 
 | 16875 |   esac | 
 | 16876 |   ;; | 
 | 16877 |  | 
 | 16878 | sysv4*MP*) | 
 | 16879 |   if test -d /usr/nec ;then | 
 | 16880 |     version_type=linux | 
 | 16881 |     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
 | 16882 |     soname_spec='$libname${shared_ext}.$major' | 
 | 16883 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 16884 |   fi | 
 | 16885 |   ;; | 
 | 16886 |  | 
 | 16887 | uts4*) | 
 | 16888 |   version_type=linux | 
 | 16889 |   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
 | 16890 |   soname_spec='${libname}${release}${shared_ext}$major' | 
 | 16891 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 16892 |   ;; | 
 | 16893 |  | 
 | 16894 | *) | 
 | 16895 |   dynamic_linker=no | 
 | 16896 |   ;; | 
 | 16897 | esac | 
 | 16898 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
 | 16899 | echo "${ECHO_T}$dynamic_linker" >&6 | 
 | 16900 | test "$dynamic_linker" = no && can_build_shared=no | 
 | 16901 |  | 
 | 16902 | if test "x$enable_dlopen" != xyes; then | 
 | 16903 |   enable_dlopen=unknown | 
 | 16904 |   enable_dlopen_self=unknown | 
 | 16905 |   enable_dlopen_self_static=unknown | 
 | 16906 | else | 
 | 16907 |   lt_cv_dlopen=no | 
 | 16908 |   lt_cv_dlopen_libs= | 
 | 16909 |  | 
 | 16910 |   case $host_os in | 
 | 16911 |   beos*) | 
 | 16912 |     lt_cv_dlopen="load_add_on" | 
 | 16913 |     lt_cv_dlopen_libs= | 
 | 16914 |     lt_cv_dlopen_self=yes | 
 | 16915 |     ;; | 
 | 16916 |  | 
 | 16917 |   mingw* | pw32*) | 
 | 16918 |     lt_cv_dlopen="LoadLibrary" | 
 | 16919 |     lt_cv_dlopen_libs= | 
 | 16920 |    ;; | 
 | 16921 |  | 
 | 16922 |   cygwin*) | 
 | 16923 |     lt_cv_dlopen="dlopen" | 
 | 16924 |     lt_cv_dlopen_libs= | 
 | 16925 |    ;; | 
 | 16926 |  | 
 | 16927 |   darwin*) | 
 | 16928 |   # if libdl is installed we need to link against it | 
 | 16929 |     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 16930 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 16931 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 16932 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 16933 | else | 
 | 16934 |   ac_check_lib_save_LIBS=$LIBS | 
 | 16935 | LIBS="-ldl  $LIBS" | 
 | 16936 | cat >conftest.$ac_ext <<_ACEOF | 
 | 16937 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16938 | /* confdefs.h.  */ | 
 | 16939 | _ACEOF | 
 | 16940 | cat confdefs.h >>conftest.$ac_ext | 
 | 16941 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 16942 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16943 |  | 
 | 16944 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 16945 | #ifdef __cplusplus | 
 | 16946 | extern "C" | 
 | 16947 | #endif | 
 | 16948 | /* We use char because int might match the return type of a gcc2 | 
 | 16949 |    builtin and then its argument prototype would still apply.  */ | 
 | 16950 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16951 | int | 
 | 16952 | main () | 
 | 16953 | { | 
 | 16954 | dlopen (); | 
 | 16955 |   ; | 
 | 16956 |   return 0; | 
 | 16957 | } | 
 | 16958 | _ACEOF | 
 | 16959 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 16960 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 16961 |   (eval $ac_link) 2>&5 | 
 | 16962 |   ac_status=$? | 
 | 16963 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16964 |   (exit $ac_status); } && | 
 | 16965 |          { ac_try='test -s conftest$ac_exeext' | 
 | 16966 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 16967 |   (eval $ac_try) 2>&5 | 
 | 16968 |   ac_status=$? | 
 | 16969 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 16970 |   (exit $ac_status); }; }; then | 
 | 16971 |   ac_cv_lib_dl_dlopen=yes | 
 | 16972 | else | 
 | 16973 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16974 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 16975 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16976 | ac_cv_lib_dl_dlopen=no | 
 | 16977 | fi | 
 | 16978 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 16979 | LIBS=$ac_check_lib_save_LIBS | 
 | 16980 | fi | 
 | 16981 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 16982 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 16983 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 16984 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 16985 | else | 
 | 16986 |  | 
 | 16987 |     lt_cv_dlopen="dyld" | 
 | 16988 |     lt_cv_dlopen_libs= | 
 | 16989 |     lt_cv_dlopen_self=yes | 
 | 16990 |  | 
 | 16991 | fi | 
 | 16992 |  | 
 | 16993 |    ;; | 
 | 16994 |  | 
 | 16995 |   *) | 
 | 16996 |     echo "$as_me:$LINENO: checking for shl_load" >&5 | 
 | 16997 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
 | 16998 | if test "${ac_cv_func_shl_load+set}" = set; then | 
 | 16999 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 17000 | else | 
 | 17001 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 17002 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17003 | /* confdefs.h.  */ | 
 | 17004 | _ACEOF | 
 | 17005 | cat confdefs.h >>conftest.$ac_ext | 
 | 17006 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 17007 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17008 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17009 |     which can conflict with char shl_load (); below. | 
 | 17010 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 17011 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 17012 | #ifdef __STDC__ | 
 | 17013 | # include <limits.h> | 
 | 17014 | #else | 
 | 17015 | # include <assert.h> | 
 | 17016 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17017 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 17018 | #ifdef __cplusplus | 
 | 17019 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17020 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17021 | #endif | 
 | 17022 | /* We use char because int might match the return type of a gcc2 | 
 | 17023 |    builtin and then its argument prototype would still apply.  */ | 
 | 17024 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17025 | /* The GNU C library defines this for functions which it implements | 
 | 17026 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 17027 |     something starting with __ and the normal name is an alias.  */ | 
 | 17028 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
 | 17029 | choke me | 
 | 17030 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17031 | char (*f) () = shl_load; | 
 | 17032 | #endif | 
 | 17033 | #ifdef __cplusplus | 
 | 17034 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17035 | #endif | 
 | 17036 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17037 | int | 
 | 17038 | main () | 
 | 17039 | { | 
 | 17040 | return f != shl_load; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17041 |   ; | 
 | 17042 |   return 0; | 
 | 17043 | } | 
 | 17044 | _ACEOF | 
 | 17045 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 17046 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 17047 |   (eval $ac_link) 2>&5 | 
 | 17048 |   ac_status=$? | 
 | 17049 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17050 |   (exit $ac_status); } && | 
 | 17051 |          { ac_try='test -s conftest$ac_exeext' | 
 | 17052 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 17053 |   (eval $ac_try) 2>&5 | 
 | 17054 |   ac_status=$? | 
 | 17055 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17056 |   (exit $ac_status); }; }; then | 
 | 17057 |   ac_cv_func_shl_load=yes | 
 | 17058 | else | 
 | 17059 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17060 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 17061 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17062 | ac_cv_func_shl_load=no | 
 | 17063 | fi | 
 | 17064 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 17065 | fi | 
 | 17066 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 
 | 17067 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
 | 17068 | if test $ac_cv_func_shl_load = yes; then | 
 | 17069 |   lt_cv_dlopen="shl_load" | 
 | 17070 | else | 
 | 17071 |   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 
 | 17072 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
 | 17073 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
 | 17074 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 17075 | else | 
 | 17076 |   ac_check_lib_save_LIBS=$LIBS | 
 | 17077 | LIBS="-ldld  $LIBS" | 
 | 17078 | cat >conftest.$ac_ext <<_ACEOF | 
 | 17079 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17080 | /* confdefs.h.  */ | 
 | 17081 | _ACEOF | 
 | 17082 | cat confdefs.h >>conftest.$ac_ext | 
 | 17083 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 17084 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17085 |  | 
 | 17086 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 17087 | #ifdef __cplusplus | 
 | 17088 | extern "C" | 
 | 17089 | #endif | 
 | 17090 | /* We use char because int might match the return type of a gcc2 | 
 | 17091 |    builtin and then its argument prototype would still apply.  */ | 
 | 17092 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17093 | int | 
 | 17094 | main () | 
 | 17095 | { | 
 | 17096 | shl_load (); | 
 | 17097 |   ; | 
 | 17098 |   return 0; | 
 | 17099 | } | 
 | 17100 | _ACEOF | 
 | 17101 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 17102 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 17103 |   (eval $ac_link) 2>&5 | 
 | 17104 |   ac_status=$? | 
 | 17105 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17106 |   (exit $ac_status); } && | 
 | 17107 |          { ac_try='test -s conftest$ac_exeext' | 
 | 17108 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 17109 |   (eval $ac_try) 2>&5 | 
 | 17110 |   ac_status=$? | 
 | 17111 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17112 |   (exit $ac_status); }; }; then | 
 | 17113 |   ac_cv_lib_dld_shl_load=yes | 
 | 17114 | else | 
 | 17115 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17116 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 17117 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17118 | ac_cv_lib_dld_shl_load=no | 
 | 17119 | fi | 
 | 17120 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 17121 | LIBS=$ac_check_lib_save_LIBS | 
 | 17122 | fi | 
 | 17123 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 
 | 17124 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
 | 17125 | if test $ac_cv_lib_dld_shl_load = yes; then | 
 | 17126 |   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 
 | 17127 | else | 
 | 17128 |   echo "$as_me:$LINENO: checking for dlopen" >&5 | 
 | 17129 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
 | 17130 | if test "${ac_cv_func_dlopen+set}" = set; then | 
 | 17131 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 17132 | else | 
 | 17133 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 17134 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17135 | /* confdefs.h.  */ | 
 | 17136 | _ACEOF | 
 | 17137 | cat confdefs.h >>conftest.$ac_ext | 
 | 17138 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 17139 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17140 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17141 |     which can conflict with char dlopen (); below. | 
 | 17142 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 17143 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 17144 | #ifdef __STDC__ | 
 | 17145 | # include <limits.h> | 
 | 17146 | #else | 
 | 17147 | # include <assert.h> | 
 | 17148 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17149 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 17150 | #ifdef __cplusplus | 
 | 17151 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17152 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17153 | #endif | 
 | 17154 | /* We use char because int might match the return type of a gcc2 | 
 | 17155 |    builtin and then its argument prototype would still apply.  */ | 
 | 17156 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17157 | /* The GNU C library defines this for functions which it implements | 
 | 17158 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 17159 |     something starting with __ and the normal name is an alias.  */ | 
 | 17160 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
 | 17161 | choke me | 
 | 17162 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17163 | char (*f) () = dlopen; | 
 | 17164 | #endif | 
 | 17165 | #ifdef __cplusplus | 
 | 17166 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17167 | #endif | 
 | 17168 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17169 | int | 
 | 17170 | main () | 
 | 17171 | { | 
 | 17172 | return f != dlopen; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17173 |   ; | 
 | 17174 |   return 0; | 
 | 17175 | } | 
 | 17176 | _ACEOF | 
 | 17177 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 17178 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 17179 |   (eval $ac_link) 2>&5 | 
 | 17180 |   ac_status=$? | 
 | 17181 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17182 |   (exit $ac_status); } && | 
 | 17183 |          { ac_try='test -s conftest$ac_exeext' | 
 | 17184 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 17185 |   (eval $ac_try) 2>&5 | 
 | 17186 |   ac_status=$? | 
 | 17187 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17188 |   (exit $ac_status); }; }; then | 
 | 17189 |   ac_cv_func_dlopen=yes | 
 | 17190 | else | 
 | 17191 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17192 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 17193 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17194 | ac_cv_func_dlopen=no | 
 | 17195 | fi | 
 | 17196 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 17197 | fi | 
 | 17198 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 
 | 17199 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
 | 17200 | if test $ac_cv_func_dlopen = yes; then | 
 | 17201 |   lt_cv_dlopen="dlopen" | 
 | 17202 | else | 
 | 17203 |   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 17204 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 17205 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 17206 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 17207 | else | 
 | 17208 |   ac_check_lib_save_LIBS=$LIBS | 
 | 17209 | LIBS="-ldl  $LIBS" | 
 | 17210 | cat >conftest.$ac_ext <<_ACEOF | 
 | 17211 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17212 | /* confdefs.h.  */ | 
 | 17213 | _ACEOF | 
 | 17214 | cat confdefs.h >>conftest.$ac_ext | 
 | 17215 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 17216 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17217 |  | 
 | 17218 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 17219 | #ifdef __cplusplus | 
 | 17220 | extern "C" | 
 | 17221 | #endif | 
 | 17222 | /* We use char because int might match the return type of a gcc2 | 
 | 17223 |    builtin and then its argument prototype would still apply.  */ | 
 | 17224 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17225 | int | 
 | 17226 | main () | 
 | 17227 | { | 
 | 17228 | dlopen (); | 
 | 17229 |   ; | 
 | 17230 |   return 0; | 
 | 17231 | } | 
 | 17232 | _ACEOF | 
 | 17233 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 17234 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 17235 |   (eval $ac_link) 2>&5 | 
 | 17236 |   ac_status=$? | 
 | 17237 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17238 |   (exit $ac_status); } && | 
 | 17239 |          { ac_try='test -s conftest$ac_exeext' | 
 | 17240 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 17241 |   (eval $ac_try) 2>&5 | 
 | 17242 |   ac_status=$? | 
 | 17243 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17244 |   (exit $ac_status); }; }; then | 
 | 17245 |   ac_cv_lib_dl_dlopen=yes | 
 | 17246 | else | 
 | 17247 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17248 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 17249 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17250 | ac_cv_lib_dl_dlopen=no | 
 | 17251 | fi | 
 | 17252 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 17253 | LIBS=$ac_check_lib_save_LIBS | 
 | 17254 | fi | 
 | 17255 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 17256 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 17257 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 17258 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 17259 | else | 
 | 17260 |   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 
 | 17261 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
 | 17262 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
 | 17263 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 17264 | else | 
 | 17265 |   ac_check_lib_save_LIBS=$LIBS | 
 | 17266 | LIBS="-lsvld  $LIBS" | 
 | 17267 | cat >conftest.$ac_ext <<_ACEOF | 
 | 17268 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17269 | /* confdefs.h.  */ | 
 | 17270 | _ACEOF | 
 | 17271 | cat confdefs.h >>conftest.$ac_ext | 
 | 17272 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 17273 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17274 |  | 
 | 17275 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 17276 | #ifdef __cplusplus | 
 | 17277 | extern "C" | 
 | 17278 | #endif | 
 | 17279 | /* We use char because int might match the return type of a gcc2 | 
 | 17280 |    builtin and then its argument prototype would still apply.  */ | 
 | 17281 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17282 | int | 
 | 17283 | main () | 
 | 17284 | { | 
 | 17285 | dlopen (); | 
 | 17286 |   ; | 
 | 17287 |   return 0; | 
 | 17288 | } | 
 | 17289 | _ACEOF | 
 | 17290 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 17291 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 17292 |   (eval $ac_link) 2>&5 | 
 | 17293 |   ac_status=$? | 
 | 17294 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17295 |   (exit $ac_status); } && | 
 | 17296 |          { ac_try='test -s conftest$ac_exeext' | 
 | 17297 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 17298 |   (eval $ac_try) 2>&5 | 
 | 17299 |   ac_status=$? | 
 | 17300 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17301 |   (exit $ac_status); }; }; then | 
 | 17302 |   ac_cv_lib_svld_dlopen=yes | 
 | 17303 | else | 
 | 17304 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17305 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 17306 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17307 | ac_cv_lib_svld_dlopen=no | 
 | 17308 | fi | 
 | 17309 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 17310 | LIBS=$ac_check_lib_save_LIBS | 
 | 17311 | fi | 
 | 17312 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 
 | 17313 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
 | 17314 | if test $ac_cv_lib_svld_dlopen = yes; then | 
 | 17315 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
 | 17316 | else | 
 | 17317 |   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 
 | 17318 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 
 | 17319 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 
 | 17320 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 17321 | else | 
 | 17322 |   ac_check_lib_save_LIBS=$LIBS | 
 | 17323 | LIBS="-ldld  $LIBS" | 
 | 17324 | cat >conftest.$ac_ext <<_ACEOF | 
 | 17325 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17326 | /* confdefs.h.  */ | 
 | 17327 | _ACEOF | 
 | 17328 | cat confdefs.h >>conftest.$ac_ext | 
 | 17329 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 17330 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17331 |  | 
 | 17332 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 17333 | #ifdef __cplusplus | 
 | 17334 | extern "C" | 
 | 17335 | #endif | 
 | 17336 | /* We use char because int might match the return type of a gcc2 | 
 | 17337 |    builtin and then its argument prototype would still apply.  */ | 
 | 17338 | char dld_link (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17339 | int | 
 | 17340 | main () | 
 | 17341 | { | 
 | 17342 | dld_link (); | 
 | 17343 |   ; | 
 | 17344 |   return 0; | 
 | 17345 | } | 
 | 17346 | _ACEOF | 
 | 17347 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 17348 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 17349 |   (eval $ac_link) 2>&5 | 
 | 17350 |   ac_status=$? | 
 | 17351 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17352 |   (exit $ac_status); } && | 
 | 17353 |          { ac_try='test -s conftest$ac_exeext' | 
 | 17354 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 17355 |   (eval $ac_try) 2>&5 | 
 | 17356 |   ac_status=$? | 
 | 17357 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17358 |   (exit $ac_status); }; }; then | 
 | 17359 |   ac_cv_lib_dld_dld_link=yes | 
 | 17360 | else | 
 | 17361 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17362 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 17363 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17364 | ac_cv_lib_dld_dld_link=no | 
 | 17365 | fi | 
 | 17366 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 17367 | LIBS=$ac_check_lib_save_LIBS | 
 | 17368 | fi | 
 | 17369 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 
 | 17370 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 
 | 17371 | if test $ac_cv_lib_dld_dld_link = yes; then | 
 | 17372 |   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
 | 17373 | fi | 
 | 17374 |  | 
 | 17375 |  | 
 | 17376 | fi | 
 | 17377 |  | 
 | 17378 |  | 
 | 17379 | fi | 
 | 17380 |  | 
 | 17381 |  | 
 | 17382 | fi | 
 | 17383 |  | 
 | 17384 |  | 
 | 17385 | fi | 
 | 17386 |  | 
 | 17387 |  | 
 | 17388 | fi | 
 | 17389 |  | 
 | 17390 |     ;; | 
 | 17391 |   esac | 
 | 17392 |  | 
 | 17393 |   if test "x$lt_cv_dlopen" != xno; then | 
 | 17394 |     enable_dlopen=yes | 
 | 17395 |   else | 
 | 17396 |     enable_dlopen=no | 
 | 17397 |   fi | 
 | 17398 |  | 
 | 17399 |   case $lt_cv_dlopen in | 
 | 17400 |   dlopen) | 
 | 17401 |     save_CPPFLAGS="$CPPFLAGS" | 
 | 17402 |     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
 | 17403 |  | 
 | 17404 |     save_LDFLAGS="$LDFLAGS" | 
 | 17405 |     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
 | 17406 |  | 
 | 17407 |     save_LIBS="$LIBS" | 
 | 17408 |     LIBS="$lt_cv_dlopen_libs $LIBS" | 
 | 17409 |  | 
 | 17410 |     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 
 | 17411 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
 | 17412 | if test "${lt_cv_dlopen_self+set}" = set; then | 
 | 17413 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 17414 | else | 
 | 17415 |   	  if test "$cross_compiling" = yes; then : | 
 | 17416 |   lt_cv_dlopen_self=cross | 
 | 17417 | else | 
 | 17418 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 17419 |   lt_status=$lt_dlunknown | 
 | 17420 |   cat > conftest.$ac_ext <<EOF | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 17421 | #line 17421 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17422 | #include "confdefs.h" | 
 | 17423 |  | 
 | 17424 | #if HAVE_DLFCN_H | 
 | 17425 | #include <dlfcn.h> | 
 | 17426 | #endif | 
 | 17427 |  | 
 | 17428 | #include <stdio.h> | 
 | 17429 |  | 
 | 17430 | #ifdef RTLD_GLOBAL | 
 | 17431 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 17432 | #else | 
 | 17433 | #  ifdef DL_GLOBAL | 
 | 17434 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 17435 | #  else | 
 | 17436 | #    define LT_DLGLOBAL		0 | 
 | 17437 | #  endif | 
 | 17438 | #endif | 
 | 17439 |  | 
 | 17440 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 17441 |    find out it does not work in some platform. */ | 
 | 17442 | #ifndef LT_DLLAZY_OR_NOW | 
 | 17443 | #  ifdef RTLD_LAZY | 
 | 17444 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 17445 | #  else | 
 | 17446 | #    ifdef DL_LAZY | 
 | 17447 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 17448 | #    else | 
 | 17449 | #      ifdef RTLD_NOW | 
 | 17450 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 17451 | #      else | 
 | 17452 | #        ifdef DL_NOW | 
 | 17453 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 17454 | #        else | 
 | 17455 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 17456 | #        endif | 
 | 17457 | #      endif | 
 | 17458 | #    endif | 
 | 17459 | #  endif | 
 | 17460 | #endif | 
 | 17461 |  | 
 | 17462 | #ifdef __cplusplus | 
 | 17463 | extern "C" void exit (int); | 
 | 17464 | #endif | 
 | 17465 |  | 
 | 17466 | void fnord() { int i=42;} | 
 | 17467 | int main () | 
 | 17468 | { | 
 | 17469 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 17470 |   int status = $lt_dlunknown; | 
 | 17471 |  | 
 | 17472 |   if (self) | 
 | 17473 |     { | 
 | 17474 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 17475 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 17476 |       /* dlclose (self); */ | 
 | 17477 |     } | 
 | 17478 |  | 
 | 17479 |     exit (status); | 
 | 17480 | } | 
 | 17481 | EOF | 
 | 17482 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 17483 |   (eval $ac_link) 2>&5 | 
 | 17484 |   ac_status=$? | 
 | 17485 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17486 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 17487 |     (./conftest; exit; ) 2>/dev/null | 
 | 17488 |     lt_status=$? | 
 | 17489 |     case x$lt_status in | 
 | 17490 |       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
 | 17491 |       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
 | 17492 |       x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
 | 17493 |     esac | 
 | 17494 |   else : | 
 | 17495 |     # compilation failed | 
 | 17496 |     lt_cv_dlopen_self=no | 
 | 17497 |   fi | 
 | 17498 | fi | 
 | 17499 | rm -fr conftest* | 
 | 17500 |  | 
 | 17501 |  | 
 | 17502 | fi | 
 | 17503 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 
 | 17504 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
 | 17505 |  | 
 | 17506 |     if test "x$lt_cv_dlopen_self" = xyes; then | 
 | 17507 |       LDFLAGS="$LDFLAGS $link_static_flag" | 
 | 17508 |       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 
 | 17509 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
 | 17510 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
 | 17511 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 17512 | else | 
 | 17513 |   	  if test "$cross_compiling" = yes; then : | 
 | 17514 |   lt_cv_dlopen_self_static=cross | 
 | 17515 | else | 
 | 17516 |   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 17517 |   lt_status=$lt_dlunknown | 
 | 17518 |   cat > conftest.$ac_ext <<EOF | 
| Brian Gaeke | 7fe1d16 | 2003-11-17 00:31:43 +0000 | [diff] [blame] | 17519 | #line 17519 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17520 | #include "confdefs.h" | 
 | 17521 |  | 
 | 17522 | #if HAVE_DLFCN_H | 
 | 17523 | #include <dlfcn.h> | 
 | 17524 | #endif | 
 | 17525 |  | 
 | 17526 | #include <stdio.h> | 
 | 17527 |  | 
 | 17528 | #ifdef RTLD_GLOBAL | 
 | 17529 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 17530 | #else | 
 | 17531 | #  ifdef DL_GLOBAL | 
 | 17532 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 17533 | #  else | 
 | 17534 | #    define LT_DLGLOBAL		0 | 
 | 17535 | #  endif | 
 | 17536 | #endif | 
 | 17537 |  | 
 | 17538 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 17539 |    find out it does not work in some platform. */ | 
 | 17540 | #ifndef LT_DLLAZY_OR_NOW | 
 | 17541 | #  ifdef RTLD_LAZY | 
 | 17542 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 17543 | #  else | 
 | 17544 | #    ifdef DL_LAZY | 
 | 17545 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 17546 | #    else | 
 | 17547 | #      ifdef RTLD_NOW | 
 | 17548 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 17549 | #      else | 
 | 17550 | #        ifdef DL_NOW | 
 | 17551 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 17552 | #        else | 
 | 17553 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 17554 | #        endif | 
 | 17555 | #      endif | 
 | 17556 | #    endif | 
 | 17557 | #  endif | 
 | 17558 | #endif | 
 | 17559 |  | 
 | 17560 | #ifdef __cplusplus | 
 | 17561 | extern "C" void exit (int); | 
 | 17562 | #endif | 
 | 17563 |  | 
 | 17564 | void fnord() { int i=42;} | 
 | 17565 | int main () | 
 | 17566 | { | 
 | 17567 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 17568 |   int status = $lt_dlunknown; | 
 | 17569 |  | 
 | 17570 |   if (self) | 
 | 17571 |     { | 
 | 17572 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 17573 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 17574 |       /* dlclose (self); */ | 
 | 17575 |     } | 
 | 17576 |  | 
 | 17577 |     exit (status); | 
 | 17578 | } | 
 | 17579 | EOF | 
 | 17580 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 17581 |   (eval $ac_link) 2>&5 | 
 | 17582 |   ac_status=$? | 
 | 17583 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 17584 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 17585 |     (./conftest; exit; ) 2>/dev/null | 
 | 17586 |     lt_status=$? | 
 | 17587 |     case x$lt_status in | 
 | 17588 |       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 17589 |       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 17590 |       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
 | 17591 |     esac | 
 | 17592 |   else : | 
 | 17593 |     # compilation failed | 
 | 17594 |     lt_cv_dlopen_self_static=no | 
 | 17595 |   fi | 
 | 17596 | fi | 
 | 17597 | rm -fr conftest* | 
 | 17598 |  | 
 | 17599 |  | 
 | 17600 | fi | 
 | 17601 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 
 | 17602 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
 | 17603 |     fi | 
 | 17604 |  | 
 | 17605 |     CPPFLAGS="$save_CPPFLAGS" | 
 | 17606 |     LDFLAGS="$save_LDFLAGS" | 
 | 17607 |     LIBS="$save_LIBS" | 
 | 17608 |     ;; | 
 | 17609 |   esac | 
 | 17610 |  | 
 | 17611 |   case $lt_cv_dlopen_self in | 
 | 17612 |   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
 | 17613 |   *) enable_dlopen_self=unknown ;; | 
 | 17614 |   esac | 
 | 17615 |  | 
 | 17616 |   case $lt_cv_dlopen_self_static in | 
 | 17617 |   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
 | 17618 |   *) enable_dlopen_self_static=unknown ;; | 
 | 17619 |   esac | 
 | 17620 | fi | 
 | 17621 |  | 
 | 17622 |  | 
 | 17623 | # The else clause should only fire when bootstrapping the | 
 | 17624 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 17625 | # with your package, and you will get complaints that there are | 
 | 17626 | # no rules to generate ltmain.sh. | 
 | 17627 | if test -f "$ltmain"; then | 
 | 17628 |   # See if we are running on zsh, and set the options which allow our commands through | 
 | 17629 |   # without removal of \ escapes. | 
 | 17630 |   if test -n "${ZSH_VERSION+set}" ; then | 
 | 17631 |     setopt NO_GLOB_SUBST | 
 | 17632 |   fi | 
 | 17633 |   # Now quote all the things that may contain metacharacters while being | 
 | 17634 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 17635 |   # variables and quote the copies for generation of the libtool script. | 
 | 17636 |   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
 | 17637 |     libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
 | 17638 |     old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
 | 17639 |     deplibs_check_method reload_flag reload_cmds need_locks \ | 
 | 17640 |     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
 | 17641 |     lt_cv_sys_global_symbol_to_c_name_address \ | 
 | 17642 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
 | 17643 |     old_postinstall_cmds old_postuninstall_cmds \ | 
 | 17644 |     compiler_GCJ \ | 
 | 17645 |     CC_GCJ \ | 
 | 17646 |     LD_GCJ \ | 
 | 17647 |     lt_prog_compiler_wl_GCJ \ | 
 | 17648 |     lt_prog_compiler_pic_GCJ \ | 
 | 17649 |     lt_prog_compiler_static_GCJ \ | 
 | 17650 |     lt_prog_compiler_no_builtin_flag_GCJ \ | 
 | 17651 |     export_dynamic_flag_spec_GCJ \ | 
 | 17652 |     thread_safe_flag_spec_GCJ \ | 
 | 17653 |     whole_archive_flag_spec_GCJ \ | 
 | 17654 |     enable_shared_with_static_runtimes_GCJ \ | 
 | 17655 |     old_archive_cmds_GCJ \ | 
 | 17656 |     old_archive_from_new_cmds_GCJ \ | 
 | 17657 |     predep_objects_GCJ \ | 
 | 17658 |     postdep_objects_GCJ \ | 
 | 17659 |     predeps_GCJ \ | 
 | 17660 |     postdeps_GCJ \ | 
 | 17661 |     compiler_lib_search_path_GCJ \ | 
 | 17662 |     archive_cmds_GCJ \ | 
 | 17663 |     archive_expsym_cmds_GCJ \ | 
 | 17664 |     postinstall_cmds_GCJ \ | 
 | 17665 |     postuninstall_cmds_GCJ \ | 
 | 17666 |     old_archive_from_expsyms_cmds_GCJ \ | 
 | 17667 |     allow_undefined_flag_GCJ \ | 
 | 17668 |     no_undefined_flag_GCJ \ | 
 | 17669 |     export_symbols_cmds_GCJ \ | 
 | 17670 |     hardcode_libdir_flag_spec_GCJ \ | 
 | 17671 |     hardcode_libdir_flag_spec_ld_GCJ \ | 
 | 17672 |     hardcode_libdir_separator_GCJ \ | 
 | 17673 |     hardcode_automatic_GCJ \ | 
 | 17674 |     module_cmds_GCJ \ | 
 | 17675 |     module_expsym_cmds_GCJ \ | 
 | 17676 |     lt_cv_prog_compiler_c_o_GCJ \ | 
 | 17677 |     exclude_expsyms_GCJ \ | 
 | 17678 |     include_expsyms_GCJ; do | 
 | 17679 |  | 
 | 17680 |     case $var in | 
 | 17681 |     old_archive_cmds_GCJ | \ | 
 | 17682 |     old_archive_from_new_cmds_GCJ | \ | 
 | 17683 |     archive_cmds_GCJ | \ | 
 | 17684 |     archive_expsym_cmds_GCJ | \ | 
 | 17685 |     module_cmds_GCJ | \ | 
 | 17686 |     module_expsym_cmds_GCJ | \ | 
 | 17687 |     old_archive_from_expsyms_cmds_GCJ | \ | 
 | 17688 |     export_symbols_cmds_GCJ | \ | 
 | 17689 |     extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
 | 17690 |     postinstall_cmds | postuninstall_cmds | \ | 
 | 17691 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 17692 |     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
 | 17693 |       # Double-quote double-evaled strings. | 
 | 17694 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 17695 |       ;; | 
 | 17696 |     *) | 
 | 17697 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 17698 |       ;; | 
 | 17699 |     esac | 
 | 17700 |   done | 
 | 17701 |  | 
 | 17702 |   case $lt_echo in | 
 | 17703 |   *'\$0 --fallback-echo"') | 
 | 17704 |     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
 | 17705 |     ;; | 
 | 17706 |   esac | 
 | 17707 |  | 
 | 17708 | cfgfile="$ofile" | 
 | 17709 |  | 
 | 17710 |   cat <<__EOF__ >> "$cfgfile" | 
 | 17711 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
 | 17712 |  | 
 | 17713 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 17714 |  | 
 | 17715 | # Shell to use when invoking shell scripts. | 
 | 17716 | SHELL=$lt_SHELL | 
 | 17717 |  | 
 | 17718 | # Whether or not to build shared libraries. | 
 | 17719 | build_libtool_libs=$enable_shared | 
 | 17720 |  | 
 | 17721 | # Whether or not to build static libraries. | 
 | 17722 | build_old_libs=$enable_static | 
 | 17723 |  | 
 | 17724 | # Whether or not to add -lc for building shared libraries. | 
 | 17725 | build_libtool_need_lc=$archive_cmds_need_lc_GCJ | 
 | 17726 |  | 
 | 17727 | # Whether or not to disallow shared libs when runtime libs are static | 
 | 17728 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ | 
 | 17729 |  | 
 | 17730 | # Whether or not to optimize for fast installation. | 
 | 17731 | fast_install=$enable_fast_install | 
 | 17732 |  | 
 | 17733 | # The host system. | 
 | 17734 | host_alias=$host_alias | 
 | 17735 | host=$host | 
 | 17736 |  | 
 | 17737 | # An echo program that does not interpret backslashes. | 
 | 17738 | echo=$lt_echo | 
 | 17739 |  | 
 | 17740 | # The archiver. | 
 | 17741 | AR=$lt_AR | 
 | 17742 | AR_FLAGS=$lt_AR_FLAGS | 
 | 17743 |  | 
 | 17744 | # A C compiler. | 
 | 17745 | LTCC=$lt_LTCC | 
 | 17746 |  | 
 | 17747 | # A language-specific compiler. | 
 | 17748 | CC=$lt_compiler_GCJ | 
 | 17749 |  | 
 | 17750 | # Is the compiler the GNU C compiler? | 
 | 17751 | with_gcc=$GCC_GCJ | 
 | 17752 |  | 
 | 17753 | # An ERE matcher. | 
 | 17754 | EGREP=$lt_EGREP | 
 | 17755 |  | 
 | 17756 | # The linker used to build libraries. | 
 | 17757 | LD=$lt_LD_GCJ | 
 | 17758 |  | 
 | 17759 | # Whether we need hard or soft links. | 
 | 17760 | LN_S=$lt_LN_S | 
 | 17761 |  | 
 | 17762 | # A BSD-compatible nm program. | 
 | 17763 | NM=$lt_NM | 
 | 17764 |  | 
 | 17765 | # A symbol stripping program | 
 | 17766 | STRIP=$STRIP | 
 | 17767 |  | 
 | 17768 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 17769 | MAGIC_CMD=$MAGIC_CMD | 
 | 17770 |  | 
 | 17771 | # Used on cygwin: DLL creation program. | 
 | 17772 | DLLTOOL="$DLLTOOL" | 
 | 17773 |  | 
 | 17774 | # Used on cygwin: object dumper. | 
 | 17775 | OBJDUMP="$OBJDUMP" | 
 | 17776 |  | 
 | 17777 | # Used on cygwin: assembler. | 
 | 17778 | AS="$AS" | 
 | 17779 |  | 
 | 17780 | # The name of the directory that contains temporary libtool files. | 
 | 17781 | objdir=$objdir | 
 | 17782 |  | 
 | 17783 | # How to create reloadable object files. | 
 | 17784 | reload_flag=$lt_reload_flag | 
 | 17785 | reload_cmds=$lt_reload_cmds | 
 | 17786 |  | 
 | 17787 | # How to pass a linker flag through the compiler. | 
 | 17788 | wl=$lt_lt_prog_compiler_wl_GCJ | 
 | 17789 |  | 
 | 17790 | # Object file suffix (normally "o"). | 
 | 17791 | objext="$ac_objext" | 
 | 17792 |  | 
 | 17793 | # Old archive suffix (normally "a"). | 
 | 17794 | libext="$libext" | 
 | 17795 |  | 
 | 17796 | # Shared library suffix (normally ".so"). | 
 | 17797 | shrext='$shrext' | 
 | 17798 |  | 
 | 17799 | # Executable file suffix (normally ""). | 
 | 17800 | exeext="$exeext" | 
 | 17801 |  | 
 | 17802 | # Additional compiler flags for building library objects. | 
 | 17803 | pic_flag=$lt_lt_prog_compiler_pic_GCJ | 
 | 17804 | pic_mode=$pic_mode | 
 | 17805 |  | 
 | 17806 | # What is the maximum length of a command? | 
 | 17807 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
 | 17808 |  | 
 | 17809 | # Does compiler simultaneously support -c and -o options? | 
 | 17810 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ | 
 | 17811 |  | 
 | 17812 | # Must we lock files when doing compilation ? | 
 | 17813 | need_locks=$lt_need_locks | 
 | 17814 |  | 
 | 17815 | # Do we need the lib prefix for modules? | 
 | 17816 | need_lib_prefix=$need_lib_prefix | 
 | 17817 |  | 
 | 17818 | # Do we need a version for libraries? | 
 | 17819 | need_version=$need_version | 
 | 17820 |  | 
 | 17821 | # Whether dlopen is supported. | 
 | 17822 | dlopen_support=$enable_dlopen | 
 | 17823 |  | 
 | 17824 | # Whether dlopen of programs is supported. | 
 | 17825 | dlopen_self=$enable_dlopen_self | 
 | 17826 |  | 
 | 17827 | # Whether dlopen of statically linked programs is supported. | 
 | 17828 | dlopen_self_static=$enable_dlopen_self_static | 
 | 17829 |  | 
 | 17830 | # Compiler flag to prevent dynamic linking. | 
 | 17831 | link_static_flag=$lt_lt_prog_compiler_static_GCJ | 
 | 17832 |  | 
 | 17833 | # Compiler flag to turn off builtin functions. | 
 | 17834 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ | 
 | 17835 |  | 
 | 17836 | # Compiler flag to allow reflexive dlopens. | 
 | 17837 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ | 
 | 17838 |  | 
 | 17839 | # Compiler flag to generate shared objects directly from archives. | 
 | 17840 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ | 
 | 17841 |  | 
 | 17842 | # Compiler flag to generate thread-safe objects. | 
 | 17843 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ | 
 | 17844 |  | 
 | 17845 | # Library versioning type. | 
 | 17846 | version_type=$version_type | 
 | 17847 |  | 
 | 17848 | # Format of library name prefix. | 
 | 17849 | libname_spec=$lt_libname_spec | 
 | 17850 |  | 
 | 17851 | # List of archive names.  First name is the real one, the rest are links. | 
 | 17852 | # The last name is the one that the linker finds with -lNAME. | 
 | 17853 | library_names_spec=$lt_library_names_spec | 
 | 17854 |  | 
 | 17855 | # The coded name of the library, if different from the real name. | 
 | 17856 | soname_spec=$lt_soname_spec | 
 | 17857 |  | 
 | 17858 | # Commands used to build and install an old-style archive. | 
 | 17859 | RANLIB=$lt_RANLIB | 
 | 17860 | old_archive_cmds=$lt_old_archive_cmds_GCJ | 
 | 17861 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 17862 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 17863 |  | 
 | 17864 | # Create an old-style archive from a shared archive. | 
 | 17865 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ | 
 | 17866 |  | 
 | 17867 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 17868 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ | 
 | 17869 |  | 
 | 17870 | # Commands used to build and install a shared archive. | 
 | 17871 | archive_cmds=$lt_archive_cmds_GCJ | 
 | 17872 | archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ | 
 | 17873 | postinstall_cmds=$lt_postinstall_cmds | 
 | 17874 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 17875 |  | 
 | 17876 | # Commands used to build a loadable module (assumed same as above if empty) | 
 | 17877 | module_cmds=$lt_module_cmds_GCJ | 
 | 17878 | module_expsym_cmds=$lt_module_expsym_cmds_GCJ | 
 | 17879 |  | 
 | 17880 | # Commands to strip libraries. | 
 | 17881 | old_striplib=$lt_old_striplib | 
 | 17882 | striplib=$lt_striplib | 
 | 17883 |  | 
 | 17884 | # Dependencies to place before the objects being linked to create a | 
 | 17885 | # shared library. | 
 | 17886 | predep_objects=$lt_predep_objects_GCJ | 
 | 17887 |  | 
 | 17888 | # Dependencies to place after the objects being linked to create a | 
 | 17889 | # shared library. | 
 | 17890 | postdep_objects=$lt_postdep_objects_GCJ | 
 | 17891 |  | 
 | 17892 | # Dependencies to place before the objects being linked to create a | 
 | 17893 | # shared library. | 
 | 17894 | predeps=$lt_predeps_GCJ | 
 | 17895 |  | 
 | 17896 | # Dependencies to place after the objects being linked to create a | 
 | 17897 | # shared library. | 
 | 17898 | postdeps=$lt_postdeps_GCJ | 
 | 17899 |  | 
 | 17900 | # The library search path used internally by the compiler when linking | 
 | 17901 | # a shared library. | 
 | 17902 | compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ | 
 | 17903 |  | 
 | 17904 | # Method to check whether dependent libraries are shared objects. | 
 | 17905 | deplibs_check_method=$lt_deplibs_check_method | 
 | 17906 |  | 
 | 17907 | # Command to use when deplibs_check_method == file_magic. | 
 | 17908 | file_magic_cmd=$lt_file_magic_cmd | 
 | 17909 |  | 
 | 17910 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 17911 | allow_undefined_flag=$lt_allow_undefined_flag_GCJ | 
 | 17912 |  | 
 | 17913 | # Flag that forces no undefined symbols. | 
 | 17914 | no_undefined_flag=$lt_no_undefined_flag_GCJ | 
 | 17915 |  | 
 | 17916 | # Commands used to finish a libtool library installation in a directory. | 
 | 17917 | finish_cmds=$lt_finish_cmds | 
 | 17918 |  | 
 | 17919 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 17920 | finish_eval=$lt_finish_eval | 
 | 17921 |  | 
 | 17922 | # Take the output of nm and produce a listing of raw symbols and C names. | 
 | 17923 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
 | 17924 |  | 
 | 17925 | # Transform the output of nm in a proper C declaration | 
 | 17926 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
 | 17927 |  | 
 | 17928 | # Transform the output of nm in a C name address pair | 
 | 17929 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
 | 17930 |  | 
 | 17931 | # This is the shared library runtime path variable. | 
 | 17932 | runpath_var=$runpath_var | 
 | 17933 |  | 
 | 17934 | # This is the shared library path variable. | 
 | 17935 | shlibpath_var=$shlibpath_var | 
 | 17936 |  | 
 | 17937 | # Is shlibpath searched before the hard-coded library search path? | 
 | 17938 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 17939 |  | 
 | 17940 | # How to hardcode a shared library path into an executable. | 
 | 17941 | hardcode_action=$hardcode_action_GCJ | 
 | 17942 |  | 
 | 17943 | # Whether we should hardcode library paths into libraries. | 
 | 17944 | hardcode_into_libs=$hardcode_into_libs | 
 | 17945 |  | 
 | 17946 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 17947 | # This must work even if \$libdir does not exist. | 
 | 17948 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ | 
 | 17949 |  | 
 | 17950 | # If ld is used when linking, flag to hardcode \$libdir into | 
 | 17951 | # a binary during linking. This must work even if \$libdir does | 
 | 17952 | # not exist. | 
 | 17953 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ | 
 | 17954 |  | 
 | 17955 | # Whether we need a single -rpath flag with a separated argument. | 
 | 17956 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ | 
 | 17957 |  | 
 | 17958 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
 | 17959 | # resulting binary. | 
 | 17960 | hardcode_direct=$hardcode_direct_GCJ | 
 | 17961 |  | 
 | 17962 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 17963 | # resulting binary. | 
 | 17964 | hardcode_minus_L=$hardcode_minus_L_GCJ | 
 | 17965 |  | 
 | 17966 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 17967 | # the resulting binary. | 
 | 17968 | hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ | 
 | 17969 |  | 
 | 17970 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
 | 17971 | # and all subsequent libraries and executables linked against it. | 
 | 17972 | hardcode_automatic=$hardcode_automatic_GCJ | 
 | 17973 |  | 
 | 17974 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 17975 | # restored at relink time. | 
 | 17976 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 17977 |  | 
 | 17978 | # Whether libtool must link a program against all its dependency libraries. | 
 | 17979 | link_all_deplibs=$link_all_deplibs_GCJ | 
 | 17980 |  | 
 | 17981 | # Compile-time system search path for libraries | 
 | 17982 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 17983 |  | 
 | 17984 | # Run-time system search path for libraries | 
 | 17985 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 17986 |  | 
 | 17987 | # Fix the shell variable \$srcfile for the compiler. | 
 | 17988 | fix_srcfile_path="$fix_srcfile_path_GCJ" | 
 | 17989 |  | 
 | 17990 | # Set to yes if exported symbols are required. | 
 | 17991 | always_export_symbols=$always_export_symbols_GCJ | 
 | 17992 |  | 
 | 17993 | # The commands to list exported symbols. | 
 | 17994 | export_symbols_cmds=$lt_export_symbols_cmds_GCJ | 
 | 17995 |  | 
 | 17996 | # The commands to extract the exported symbol list from a shared archive. | 
 | 17997 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 17998 |  | 
 | 17999 | # Symbols that should not be listed in the preloaded symbols. | 
 | 18000 | exclude_expsyms=$lt_exclude_expsyms_GCJ | 
 | 18001 |  | 
 | 18002 | # Symbols that must always be exported. | 
 | 18003 | include_expsyms=$lt_include_expsyms_GCJ | 
 | 18004 |  | 
 | 18005 | # ### END LIBTOOL TAG CONFIG: $tagname | 
 | 18006 |  | 
 | 18007 | __EOF__ | 
 | 18008 |  | 
 | 18009 |  | 
 | 18010 | else | 
 | 18011 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 18012 |   # `config.status --recheck' to rerun these tests and create the | 
 | 18013 |   # libtool script then. | 
 | 18014 |   test -f Makefile && make "$ltmain" | 
 | 18015 | fi | 
 | 18016 |  | 
 | 18017 |  | 
 | 18018 | ac_ext=c | 
 | 18019 | ac_cpp='$CPP $CPPFLAGS' | 
 | 18020 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 18021 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 18022 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 18023 |  | 
 | 18024 | CC="$lt_save_CC" | 
 | 18025 |  | 
 | 18026 | 	else | 
 | 18027 | 	  tagname="" | 
 | 18028 | 	fi | 
 | 18029 | 	;; | 
 | 18030 |  | 
 | 18031 |       RC) | 
 | 18032 |  | 
 | 18033 |  | 
 | 18034 |  | 
 | 18035 | # Source file extension for RC test sources. | 
 | 18036 | ac_ext=rc | 
 | 18037 |  | 
 | 18038 | # Object file extension for compiled RC test sources. | 
 | 18039 | objext=o | 
 | 18040 | objext_RC=$objext | 
 | 18041 |  | 
 | 18042 | # Code to be used in simple compile tests | 
 | 18043 | lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' | 
 | 18044 |  | 
 | 18045 | # Code to be used in simple link tests | 
 | 18046 | lt_simple_link_test_code="$lt_simple_compile_test_code" | 
 | 18047 |  | 
 | 18048 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
 | 18049 |  | 
 | 18050 | # If no C compiler was specified, use CC. | 
 | 18051 | LTCC=${LTCC-"$CC"} | 
 | 18052 |  | 
 | 18053 | # Allow CC to be a program name with arguments. | 
 | 18054 | compiler=$CC | 
 | 18055 |  | 
 | 18056 |  | 
 | 18057 | # Allow CC to be a program name with arguments. | 
 | 18058 | lt_save_CC="$CC" | 
 | 18059 | CC=${RC-"windres"} | 
 | 18060 | compiler=$CC | 
 | 18061 | compiler_RC=$CC | 
 | 18062 | lt_cv_prog_compiler_c_o_RC=yes | 
 | 18063 |  | 
 | 18064 | # The else clause should only fire when bootstrapping the | 
 | 18065 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 18066 | # with your package, and you will get complaints that there are | 
 | 18067 | # no rules to generate ltmain.sh. | 
 | 18068 | if test -f "$ltmain"; then | 
 | 18069 |   # See if we are running on zsh, and set the options which allow our commands through | 
 | 18070 |   # without removal of \ escapes. | 
 | 18071 |   if test -n "${ZSH_VERSION+set}" ; then | 
 | 18072 |     setopt NO_GLOB_SUBST | 
 | 18073 |   fi | 
 | 18074 |   # Now quote all the things that may contain metacharacters while being | 
 | 18075 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 18076 |   # variables and quote the copies for generation of the libtool script. | 
 | 18077 |   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
 | 18078 |     libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
 | 18079 |     old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
 | 18080 |     deplibs_check_method reload_flag reload_cmds need_locks \ | 
 | 18081 |     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
 | 18082 |     lt_cv_sys_global_symbol_to_c_name_address \ | 
 | 18083 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
 | 18084 |     old_postinstall_cmds old_postuninstall_cmds \ | 
 | 18085 |     compiler_RC \ | 
 | 18086 |     CC_RC \ | 
 | 18087 |     LD_RC \ | 
 | 18088 |     lt_prog_compiler_wl_RC \ | 
 | 18089 |     lt_prog_compiler_pic_RC \ | 
 | 18090 |     lt_prog_compiler_static_RC \ | 
 | 18091 |     lt_prog_compiler_no_builtin_flag_RC \ | 
 | 18092 |     export_dynamic_flag_spec_RC \ | 
 | 18093 |     thread_safe_flag_spec_RC \ | 
 | 18094 |     whole_archive_flag_spec_RC \ | 
 | 18095 |     enable_shared_with_static_runtimes_RC \ | 
 | 18096 |     old_archive_cmds_RC \ | 
 | 18097 |     old_archive_from_new_cmds_RC \ | 
 | 18098 |     predep_objects_RC \ | 
 | 18099 |     postdep_objects_RC \ | 
 | 18100 |     predeps_RC \ | 
 | 18101 |     postdeps_RC \ | 
 | 18102 |     compiler_lib_search_path_RC \ | 
 | 18103 |     archive_cmds_RC \ | 
 | 18104 |     archive_expsym_cmds_RC \ | 
 | 18105 |     postinstall_cmds_RC \ | 
 | 18106 |     postuninstall_cmds_RC \ | 
 | 18107 |     old_archive_from_expsyms_cmds_RC \ | 
 | 18108 |     allow_undefined_flag_RC \ | 
 | 18109 |     no_undefined_flag_RC \ | 
 | 18110 |     export_symbols_cmds_RC \ | 
 | 18111 |     hardcode_libdir_flag_spec_RC \ | 
 | 18112 |     hardcode_libdir_flag_spec_ld_RC \ | 
 | 18113 |     hardcode_libdir_separator_RC \ | 
 | 18114 |     hardcode_automatic_RC \ | 
 | 18115 |     module_cmds_RC \ | 
 | 18116 |     module_expsym_cmds_RC \ | 
 | 18117 |     lt_cv_prog_compiler_c_o_RC \ | 
 | 18118 |     exclude_expsyms_RC \ | 
 | 18119 |     include_expsyms_RC; do | 
 | 18120 |  | 
 | 18121 |     case $var in | 
 | 18122 |     old_archive_cmds_RC | \ | 
 | 18123 |     old_archive_from_new_cmds_RC | \ | 
 | 18124 |     archive_cmds_RC | \ | 
 | 18125 |     archive_expsym_cmds_RC | \ | 
 | 18126 |     module_cmds_RC | \ | 
 | 18127 |     module_expsym_cmds_RC | \ | 
 | 18128 |     old_archive_from_expsyms_cmds_RC | \ | 
 | 18129 |     export_symbols_cmds_RC | \ | 
 | 18130 |     extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
 | 18131 |     postinstall_cmds | postuninstall_cmds | \ | 
 | 18132 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 18133 |     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
 | 18134 |       # Double-quote double-evaled strings. | 
 | 18135 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 18136 |       ;; | 
 | 18137 |     *) | 
 | 18138 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 18139 |       ;; | 
 | 18140 |     esac | 
 | 18141 |   done | 
 | 18142 |  | 
 | 18143 |   case $lt_echo in | 
 | 18144 |   *'\$0 --fallback-echo"') | 
 | 18145 |     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
 | 18146 |     ;; | 
 | 18147 |   esac | 
 | 18148 |  | 
 | 18149 | cfgfile="$ofile" | 
 | 18150 |  | 
 | 18151 |   cat <<__EOF__ >> "$cfgfile" | 
 | 18152 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
 | 18153 |  | 
 | 18154 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 18155 |  | 
 | 18156 | # Shell to use when invoking shell scripts. | 
 | 18157 | SHELL=$lt_SHELL | 
 | 18158 |  | 
 | 18159 | # Whether or not to build shared libraries. | 
 | 18160 | build_libtool_libs=$enable_shared | 
 | 18161 |  | 
 | 18162 | # Whether or not to build static libraries. | 
 | 18163 | build_old_libs=$enable_static | 
 | 18164 |  | 
 | 18165 | # Whether or not to add -lc for building shared libraries. | 
 | 18166 | build_libtool_need_lc=$archive_cmds_need_lc_RC | 
 | 18167 |  | 
 | 18168 | # Whether or not to disallow shared libs when runtime libs are static | 
 | 18169 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC | 
 | 18170 |  | 
 | 18171 | # Whether or not to optimize for fast installation. | 
 | 18172 | fast_install=$enable_fast_install | 
 | 18173 |  | 
 | 18174 | # The host system. | 
 | 18175 | host_alias=$host_alias | 
 | 18176 | host=$host | 
 | 18177 |  | 
 | 18178 | # An echo program that does not interpret backslashes. | 
 | 18179 | echo=$lt_echo | 
 | 18180 |  | 
 | 18181 | # The archiver. | 
 | 18182 | AR=$lt_AR | 
 | 18183 | AR_FLAGS=$lt_AR_FLAGS | 
 | 18184 |  | 
 | 18185 | # A C compiler. | 
 | 18186 | LTCC=$lt_LTCC | 
 | 18187 |  | 
 | 18188 | # A language-specific compiler. | 
 | 18189 | CC=$lt_compiler_RC | 
 | 18190 |  | 
 | 18191 | # Is the compiler the GNU C compiler? | 
 | 18192 | with_gcc=$GCC_RC | 
 | 18193 |  | 
 | 18194 | # An ERE matcher. | 
 | 18195 | EGREP=$lt_EGREP | 
 | 18196 |  | 
 | 18197 | # The linker used to build libraries. | 
 | 18198 | LD=$lt_LD_RC | 
 | 18199 |  | 
 | 18200 | # Whether we need hard or soft links. | 
 | 18201 | LN_S=$lt_LN_S | 
 | 18202 |  | 
 | 18203 | # A BSD-compatible nm program. | 
 | 18204 | NM=$lt_NM | 
 | 18205 |  | 
 | 18206 | # A symbol stripping program | 
 | 18207 | STRIP=$STRIP | 
 | 18208 |  | 
 | 18209 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 18210 | MAGIC_CMD=$MAGIC_CMD | 
 | 18211 |  | 
 | 18212 | # Used on cygwin: DLL creation program. | 
 | 18213 | DLLTOOL="$DLLTOOL" | 
 | 18214 |  | 
 | 18215 | # Used on cygwin: object dumper. | 
 | 18216 | OBJDUMP="$OBJDUMP" | 
 | 18217 |  | 
 | 18218 | # Used on cygwin: assembler. | 
 | 18219 | AS="$AS" | 
 | 18220 |  | 
 | 18221 | # The name of the directory that contains temporary libtool files. | 
 | 18222 | objdir=$objdir | 
 | 18223 |  | 
 | 18224 | # How to create reloadable object files. | 
 | 18225 | reload_flag=$lt_reload_flag | 
 | 18226 | reload_cmds=$lt_reload_cmds | 
 | 18227 |  | 
 | 18228 | # How to pass a linker flag through the compiler. | 
 | 18229 | wl=$lt_lt_prog_compiler_wl_RC | 
 | 18230 |  | 
 | 18231 | # Object file suffix (normally "o"). | 
 | 18232 | objext="$ac_objext" | 
 | 18233 |  | 
 | 18234 | # Old archive suffix (normally "a"). | 
 | 18235 | libext="$libext" | 
 | 18236 |  | 
 | 18237 | # Shared library suffix (normally ".so"). | 
 | 18238 | shrext='$shrext' | 
 | 18239 |  | 
 | 18240 | # Executable file suffix (normally ""). | 
 | 18241 | exeext="$exeext" | 
 | 18242 |  | 
 | 18243 | # Additional compiler flags for building library objects. | 
 | 18244 | pic_flag=$lt_lt_prog_compiler_pic_RC | 
 | 18245 | pic_mode=$pic_mode | 
 | 18246 |  | 
 | 18247 | # What is the maximum length of a command? | 
 | 18248 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
 | 18249 |  | 
 | 18250 | # Does compiler simultaneously support -c and -o options? | 
 | 18251 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC | 
 | 18252 |  | 
 | 18253 | # Must we lock files when doing compilation ? | 
 | 18254 | need_locks=$lt_need_locks | 
 | 18255 |  | 
 | 18256 | # Do we need the lib prefix for modules? | 
 | 18257 | need_lib_prefix=$need_lib_prefix | 
 | 18258 |  | 
 | 18259 | # Do we need a version for libraries? | 
 | 18260 | need_version=$need_version | 
 | 18261 |  | 
 | 18262 | # Whether dlopen is supported. | 
 | 18263 | dlopen_support=$enable_dlopen | 
 | 18264 |  | 
 | 18265 | # Whether dlopen of programs is supported. | 
 | 18266 | dlopen_self=$enable_dlopen_self | 
 | 18267 |  | 
 | 18268 | # Whether dlopen of statically linked programs is supported. | 
 | 18269 | dlopen_self_static=$enable_dlopen_self_static | 
 | 18270 |  | 
 | 18271 | # Compiler flag to prevent dynamic linking. | 
 | 18272 | link_static_flag=$lt_lt_prog_compiler_static_RC | 
 | 18273 |  | 
 | 18274 | # Compiler flag to turn off builtin functions. | 
 | 18275 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC | 
 | 18276 |  | 
 | 18277 | # Compiler flag to allow reflexive dlopens. | 
 | 18278 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC | 
 | 18279 |  | 
 | 18280 | # Compiler flag to generate shared objects directly from archives. | 
 | 18281 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC | 
 | 18282 |  | 
 | 18283 | # Compiler flag to generate thread-safe objects. | 
 | 18284 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC | 
 | 18285 |  | 
 | 18286 | # Library versioning type. | 
 | 18287 | version_type=$version_type | 
 | 18288 |  | 
 | 18289 | # Format of library name prefix. | 
 | 18290 | libname_spec=$lt_libname_spec | 
 | 18291 |  | 
 | 18292 | # List of archive names.  First name is the real one, the rest are links. | 
 | 18293 | # The last name is the one that the linker finds with -lNAME. | 
 | 18294 | library_names_spec=$lt_library_names_spec | 
 | 18295 |  | 
 | 18296 | # The coded name of the library, if different from the real name. | 
 | 18297 | soname_spec=$lt_soname_spec | 
 | 18298 |  | 
 | 18299 | # Commands used to build and install an old-style archive. | 
 | 18300 | RANLIB=$lt_RANLIB | 
 | 18301 | old_archive_cmds=$lt_old_archive_cmds_RC | 
 | 18302 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 18303 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 18304 |  | 
 | 18305 | # Create an old-style archive from a shared archive. | 
 | 18306 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC | 
 | 18307 |  | 
 | 18308 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 18309 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC | 
 | 18310 |  | 
 | 18311 | # Commands used to build and install a shared archive. | 
 | 18312 | archive_cmds=$lt_archive_cmds_RC | 
 | 18313 | archive_expsym_cmds=$lt_archive_expsym_cmds_RC | 
 | 18314 | postinstall_cmds=$lt_postinstall_cmds | 
 | 18315 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 18316 |  | 
 | 18317 | # Commands used to build a loadable module (assumed same as above if empty) | 
 | 18318 | module_cmds=$lt_module_cmds_RC | 
 | 18319 | module_expsym_cmds=$lt_module_expsym_cmds_RC | 
 | 18320 |  | 
 | 18321 | # Commands to strip libraries. | 
 | 18322 | old_striplib=$lt_old_striplib | 
 | 18323 | striplib=$lt_striplib | 
 | 18324 |  | 
 | 18325 | # Dependencies to place before the objects being linked to create a | 
 | 18326 | # shared library. | 
 | 18327 | predep_objects=$lt_predep_objects_RC | 
 | 18328 |  | 
 | 18329 | # Dependencies to place after the objects being linked to create a | 
 | 18330 | # shared library. | 
 | 18331 | postdep_objects=$lt_postdep_objects_RC | 
 | 18332 |  | 
 | 18333 | # Dependencies to place before the objects being linked to create a | 
 | 18334 | # shared library. | 
 | 18335 | predeps=$lt_predeps_RC | 
 | 18336 |  | 
 | 18337 | # Dependencies to place after the objects being linked to create a | 
 | 18338 | # shared library. | 
 | 18339 | postdeps=$lt_postdeps_RC | 
 | 18340 |  | 
 | 18341 | # The library search path used internally by the compiler when linking | 
 | 18342 | # a shared library. | 
 | 18343 | compiler_lib_search_path=$lt_compiler_lib_search_path_RC | 
 | 18344 |  | 
 | 18345 | # Method to check whether dependent libraries are shared objects. | 
 | 18346 | deplibs_check_method=$lt_deplibs_check_method | 
 | 18347 |  | 
 | 18348 | # Command to use when deplibs_check_method == file_magic. | 
 | 18349 | file_magic_cmd=$lt_file_magic_cmd | 
 | 18350 |  | 
 | 18351 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 18352 | allow_undefined_flag=$lt_allow_undefined_flag_RC | 
 | 18353 |  | 
 | 18354 | # Flag that forces no undefined symbols. | 
 | 18355 | no_undefined_flag=$lt_no_undefined_flag_RC | 
 | 18356 |  | 
 | 18357 | # Commands used to finish a libtool library installation in a directory. | 
 | 18358 | finish_cmds=$lt_finish_cmds | 
 | 18359 |  | 
 | 18360 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 18361 | finish_eval=$lt_finish_eval | 
 | 18362 |  | 
 | 18363 | # Take the output of nm and produce a listing of raw symbols and C names. | 
 | 18364 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
 | 18365 |  | 
 | 18366 | # Transform the output of nm in a proper C declaration | 
 | 18367 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
 | 18368 |  | 
 | 18369 | # Transform the output of nm in a C name address pair | 
 | 18370 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
 | 18371 |  | 
 | 18372 | # This is the shared library runtime path variable. | 
 | 18373 | runpath_var=$runpath_var | 
 | 18374 |  | 
 | 18375 | # This is the shared library path variable. | 
 | 18376 | shlibpath_var=$shlibpath_var | 
 | 18377 |  | 
 | 18378 | # Is shlibpath searched before the hard-coded library search path? | 
 | 18379 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 18380 |  | 
 | 18381 | # How to hardcode a shared library path into an executable. | 
 | 18382 | hardcode_action=$hardcode_action_RC | 
 | 18383 |  | 
 | 18384 | # Whether we should hardcode library paths into libraries. | 
 | 18385 | hardcode_into_libs=$hardcode_into_libs | 
 | 18386 |  | 
 | 18387 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 18388 | # This must work even if \$libdir does not exist. | 
 | 18389 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC | 
 | 18390 |  | 
 | 18391 | # If ld is used when linking, flag to hardcode \$libdir into | 
 | 18392 | # a binary during linking. This must work even if \$libdir does | 
 | 18393 | # not exist. | 
 | 18394 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC | 
 | 18395 |  | 
 | 18396 | # Whether we need a single -rpath flag with a separated argument. | 
 | 18397 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC | 
 | 18398 |  | 
 | 18399 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
 | 18400 | # resulting binary. | 
 | 18401 | hardcode_direct=$hardcode_direct_RC | 
 | 18402 |  | 
 | 18403 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 18404 | # resulting binary. | 
 | 18405 | hardcode_minus_L=$hardcode_minus_L_RC | 
 | 18406 |  | 
 | 18407 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 18408 | # the resulting binary. | 
 | 18409 | hardcode_shlibpath_var=$hardcode_shlibpath_var_RC | 
 | 18410 |  | 
 | 18411 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
 | 18412 | # and all subsequent libraries and executables linked against it. | 
 | 18413 | hardcode_automatic=$hardcode_automatic_RC | 
 | 18414 |  | 
 | 18415 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 18416 | # restored at relink time. | 
 | 18417 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 18418 |  | 
 | 18419 | # Whether libtool must link a program against all its dependency libraries. | 
 | 18420 | link_all_deplibs=$link_all_deplibs_RC | 
 | 18421 |  | 
 | 18422 | # Compile-time system search path for libraries | 
 | 18423 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 18424 |  | 
 | 18425 | # Run-time system search path for libraries | 
 | 18426 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 18427 |  | 
 | 18428 | # Fix the shell variable \$srcfile for the compiler. | 
 | 18429 | fix_srcfile_path="$fix_srcfile_path_RC" | 
 | 18430 |  | 
 | 18431 | # Set to yes if exported symbols are required. | 
 | 18432 | always_export_symbols=$always_export_symbols_RC | 
 | 18433 |  | 
 | 18434 | # The commands to list exported symbols. | 
 | 18435 | export_symbols_cmds=$lt_export_symbols_cmds_RC | 
 | 18436 |  | 
 | 18437 | # The commands to extract the exported symbol list from a shared archive. | 
 | 18438 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 18439 |  | 
 | 18440 | # Symbols that should not be listed in the preloaded symbols. | 
 | 18441 | exclude_expsyms=$lt_exclude_expsyms_RC | 
 | 18442 |  | 
 | 18443 | # Symbols that must always be exported. | 
 | 18444 | include_expsyms=$lt_include_expsyms_RC | 
 | 18445 |  | 
 | 18446 | # ### END LIBTOOL TAG CONFIG: $tagname | 
 | 18447 |  | 
 | 18448 | __EOF__ | 
 | 18449 |  | 
 | 18450 |  | 
 | 18451 | else | 
 | 18452 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 18453 |   # `config.status --recheck' to rerun these tests and create the | 
 | 18454 |   # libtool script then. | 
 | 18455 |   test -f Makefile && make "$ltmain" | 
 | 18456 | fi | 
 | 18457 |  | 
 | 18458 |  | 
 | 18459 | ac_ext=c | 
 | 18460 | ac_cpp='$CPP $CPPFLAGS' | 
 | 18461 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 18462 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 18463 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 18464 |  | 
 | 18465 | CC="$lt_save_CC" | 
 | 18466 |  | 
 | 18467 | 	;; | 
 | 18468 |  | 
 | 18469 |       *) | 
 | 18470 | 	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 | 
 | 18471 | echo "$as_me: error: Unsupported tag name: $tagname" >&2;} | 
 | 18472 |    { (exit 1); exit 1; }; } | 
 | 18473 | 	;; | 
 | 18474 |       esac | 
 | 18475 |  | 
 | 18476 |       # Append the new tag name to the list of available tags. | 
 | 18477 |       if test -n "$tagname" ; then | 
 | 18478 |       available_tags="$available_tags $tagname" | 
 | 18479 |     fi | 
 | 18480 |     fi | 
 | 18481 |   done | 
 | 18482 |   IFS="$lt_save_ifs" | 
 | 18483 |  | 
 | 18484 |   # Now substitute the updated list of available tags. | 
 | 18485 |   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then | 
 | 18486 |     mv "${ofile}T" "$ofile" | 
 | 18487 |     chmod +x "$ofile" | 
 | 18488 |   else | 
 | 18489 |     rm -f "${ofile}T" | 
 | 18490 |     { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 | 
 | 18491 | echo "$as_me: error: unable to update list of available tagged configurations." >&2;} | 
 | 18492 |    { (exit 1); exit 1; }; } | 
 | 18493 |   fi | 
 | 18494 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18495 |  | 
 | 18496 |  | 
 | 18497 |  | 
 | 18498 | # This can be used to rebuild libtool when needed | 
 | 18499 | LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" | 
 | 18500 |  | 
 | 18501 | # Always use our own libtool. | 
| John Criswell | 8d4221e | 2003-07-23 16:52:50 +0000 | [diff] [blame] | 18502 | LIBTOOL='$(SHELL) $(top_builddir)/mklib' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18503 |  | 
 | 18504 | # Prevent multiple expansion | 
 | 18505 |  | 
 | 18506 |  | 
 | 18507 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 18508 |  | 
 | 18509 |  | 
 | 18510 |  | 
 | 18511 |  | 
 | 18512 |  | 
 | 18513 |  | 
 | 18514 |  | 
 | 18515 |  | 
 | 18516 |  | 
 | 18517 |  | 
 | 18518 |  | 
 | 18519 |  | 
 | 18520 |  | 
 | 18521 |  | 
 | 18522 |  | 
 | 18523 |  | 
 | 18524 |  | 
 | 18525 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18526 | # Extract the first word of "pwd", so it can be a program name with args. | 
 | 18527 | set dummy pwd; ac_word=$2 | 
 | 18528 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18529 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18530 | if test "${ac_cv_path_RPWD+set}" = set; then | 
 | 18531 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18532 | else | 
 | 18533 |   case $RPWD in | 
 | 18534 |   [\\/]* | ?:[\\/]*) | 
 | 18535 |   ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path. | 
 | 18536 |   ;; | 
 | 18537 |   *) | 
 | 18538 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18539 | for as_dir in $PATH | 
 | 18540 | do | 
 | 18541 |   IFS=$as_save_IFS | 
 | 18542 |   test -z "$as_dir" && as_dir=. | 
 | 18543 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18544 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18545 |     ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext" | 
 | 18546 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18547 |     break 2 | 
 | 18548 |   fi | 
 | 18549 | done | 
 | 18550 | done | 
 | 18551 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18552 |   test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false" | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18553 |   ;; | 
 | 18554 | esac | 
 | 18555 | fi | 
 | 18556 | RPWD=$ac_cv_path_RPWD | 
 | 18557 |  | 
 | 18558 | if test -n "$RPWD"; then | 
 | 18559 |   echo "$as_me:$LINENO: result: $RPWD" >&5 | 
 | 18560 | echo "${ECHO_T}$RPWD" >&6 | 
 | 18561 | else | 
 | 18562 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18563 | echo "${ECHO_T}no" >&6 | 
 | 18564 | fi | 
 | 18565 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18566 | if test ${RPWD} = "false" | 
 | 18567 | then | 
 | 18568 | 	{ { echo "$as_me:$LINENO: error: pwd required but not found" >&5 | 
 | 18569 | echo "$as_me: error: pwd required but not found" >&2;} | 
 | 18570 |    { (exit 1); exit 1; }; } | 
 | 18571 | fi | 
 | 18572 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18573 | # Extract the first word of "ar", so it can be a program name with args. | 
 | 18574 | set dummy ar; ac_word=$2 | 
 | 18575 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18576 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18577 | if test "${ac_cv_path_AR+set}" = set; then | 
 | 18578 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18579 | else | 
 | 18580 |   case $AR in | 
 | 18581 |   [\\/]* | ?:[\\/]*) | 
 | 18582 |   ac_cv_path_AR="$AR" # Let the user override the test with a path. | 
 | 18583 |   ;; | 
 | 18584 |   *) | 
 | 18585 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18586 | for as_dir in $PATH | 
 | 18587 | do | 
 | 18588 |   IFS=$as_save_IFS | 
 | 18589 |   test -z "$as_dir" && as_dir=. | 
 | 18590 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18591 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18592 |     ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" | 
 | 18593 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18594 |     break 2 | 
 | 18595 |   fi | 
 | 18596 | done | 
 | 18597 | done | 
 | 18598 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18599 |   test -z "$ac_cv_path_AR" && ac_cv_path_AR="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18600 |   ;; | 
 | 18601 | esac | 
 | 18602 | fi | 
 | 18603 | AR=$ac_cv_path_AR | 
 | 18604 |  | 
 | 18605 | if test -n "$AR"; then | 
 | 18606 |   echo "$as_me:$LINENO: result: $AR" >&5 | 
 | 18607 | echo "${ECHO_T}$AR" >&6 | 
 | 18608 | else | 
 | 18609 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18610 | echo "${ECHO_T}no" >&6 | 
 | 18611 | fi | 
 | 18612 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18613 | if test ${AR} = "false" | 
 | 18614 | then | 
 | 18615 | 	{ { echo "$as_me:$LINENO: error: ar required but not found" >&5 | 
 | 18616 | echo "$as_me: error: ar required but not found" >&2;} | 
 | 18617 |    { (exit 1); exit 1; }; } | 
 | 18618 | fi | 
 | 18619 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18620 | # Extract the first word of "sed", so it can be a program name with args. | 
 | 18621 | set dummy sed; ac_word=$2 | 
 | 18622 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18623 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18624 | if test "${ac_cv_path_SED+set}" = set; then | 
 | 18625 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18626 | else | 
 | 18627 |   case $SED in | 
 | 18628 |   [\\/]* | ?:[\\/]*) | 
 | 18629 |   ac_cv_path_SED="$SED" # Let the user override the test with a path. | 
 | 18630 |   ;; | 
 | 18631 |   *) | 
 | 18632 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18633 | for as_dir in $PATH | 
 | 18634 | do | 
 | 18635 |   IFS=$as_save_IFS | 
 | 18636 |   test -z "$as_dir" && as_dir=. | 
 | 18637 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18638 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18639 |     ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" | 
 | 18640 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18641 |     break 2 | 
 | 18642 |   fi | 
 | 18643 | done | 
 | 18644 | done | 
 | 18645 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18646 |   test -z "$ac_cv_path_SED" && ac_cv_path_SED="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18647 |   ;; | 
 | 18648 | esac | 
 | 18649 | fi | 
 | 18650 | SED=$ac_cv_path_SED | 
 | 18651 |  | 
 | 18652 | if test -n "$SED"; then | 
 | 18653 |   echo "$as_me:$LINENO: result: $SED" >&5 | 
 | 18654 | echo "${ECHO_T}$SED" >&6 | 
 | 18655 | else | 
 | 18656 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18657 | echo "${ECHO_T}no" >&6 | 
 | 18658 | fi | 
 | 18659 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18660 | if test ${SED} = "false" | 
 | 18661 | then | 
 | 18662 | 	{ { echo "$as_me:$LINENO: error: sed required but not found" >&5 | 
 | 18663 | echo "$as_me: error: sed required but not found" >&2;} | 
 | 18664 |    { (exit 1); exit 1; }; } | 
 | 18665 | fi | 
 | 18666 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18667 | # Extract the first word of "rm", so it can be a program name with args. | 
 | 18668 | set dummy rm; ac_word=$2 | 
 | 18669 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18670 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18671 | if test "${ac_cv_path_RM+set}" = set; then | 
 | 18672 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18673 | else | 
 | 18674 |   case $RM in | 
 | 18675 |   [\\/]* | ?:[\\/]*) | 
 | 18676 |   ac_cv_path_RM="$RM" # Let the user override the test with a path. | 
 | 18677 |   ;; | 
 | 18678 |   *) | 
 | 18679 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18680 | for as_dir in $PATH | 
 | 18681 | do | 
 | 18682 |   IFS=$as_save_IFS | 
 | 18683 |   test -z "$as_dir" && as_dir=. | 
 | 18684 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18685 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18686 |     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" | 
 | 18687 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18688 |     break 2 | 
 | 18689 |   fi | 
 | 18690 | done | 
 | 18691 | done | 
 | 18692 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18693 |   test -z "$ac_cv_path_RM" && ac_cv_path_RM="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18694 |   ;; | 
 | 18695 | esac | 
 | 18696 | fi | 
 | 18697 | RM=$ac_cv_path_RM | 
 | 18698 |  | 
 | 18699 | if test -n "$RM"; then | 
 | 18700 |   echo "$as_me:$LINENO: result: $RM" >&5 | 
 | 18701 | echo "${ECHO_T}$RM" >&6 | 
 | 18702 | else | 
 | 18703 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18704 | echo "${ECHO_T}no" >&6 | 
 | 18705 | fi | 
 | 18706 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18707 | if test ${RM} = "false" | 
 | 18708 | then | 
 | 18709 | 	{ { echo "$as_me:$LINENO: error: rm required but not found" >&5 | 
 | 18710 | echo "$as_me: error: rm required but not found" >&2;} | 
 | 18711 |    { (exit 1); exit 1; }; } | 
 | 18712 | fi | 
 | 18713 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18714 | # Extract the first word of "echo", so it can be a program name with args. | 
 | 18715 | set dummy echo; ac_word=$2 | 
 | 18716 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18717 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18718 | if test "${ac_cv_path_ECHO+set}" = set; then | 
 | 18719 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18720 | else | 
 | 18721 |   case $ECHO in | 
 | 18722 |   [\\/]* | ?:[\\/]*) | 
 | 18723 |   ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. | 
 | 18724 |   ;; | 
 | 18725 |   *) | 
 | 18726 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18727 | for as_dir in $PATH | 
 | 18728 | do | 
 | 18729 |   IFS=$as_save_IFS | 
 | 18730 |   test -z "$as_dir" && as_dir=. | 
 | 18731 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18732 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18733 |     ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" | 
 | 18734 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18735 |     break 2 | 
 | 18736 |   fi | 
 | 18737 | done | 
 | 18738 | done | 
 | 18739 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18740 |   test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18741 |   ;; | 
 | 18742 | esac | 
 | 18743 | fi | 
 | 18744 | ECHO=$ac_cv_path_ECHO | 
 | 18745 |  | 
 | 18746 | if test -n "$ECHO"; then | 
 | 18747 |   echo "$as_me:$LINENO: result: $ECHO" >&5 | 
 | 18748 | echo "${ECHO_T}$ECHO" >&6 | 
 | 18749 | else | 
 | 18750 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18751 | echo "${ECHO_T}no" >&6 | 
 | 18752 | fi | 
 | 18753 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18754 | if test ${ECHO} = "false" | 
 | 18755 | then | 
 | 18756 | 	{ { echo "$as_me:$LINENO: error: echo required but not found" >&5 | 
 | 18757 | echo "$as_me: error: echo required but not found" >&2;} | 
 | 18758 |    { (exit 1); exit 1; }; } | 
 | 18759 | fi | 
 | 18760 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18761 | # Extract the first word of "mkdir", so it can be a program name with args. | 
 | 18762 | set dummy mkdir; ac_word=$2 | 
 | 18763 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18764 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18765 | if test "${ac_cv_path_MKDIR+set}" = set; then | 
 | 18766 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18767 | else | 
 | 18768 |   case $MKDIR in | 
 | 18769 |   [\\/]* | ?:[\\/]*) | 
 | 18770 |   ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. | 
 | 18771 |   ;; | 
 | 18772 |   *) | 
 | 18773 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18774 | for as_dir in $PATH | 
 | 18775 | do | 
 | 18776 |   IFS=$as_save_IFS | 
 | 18777 |   test -z "$as_dir" && as_dir=. | 
 | 18778 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18779 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18780 |     ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext" | 
 | 18781 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18782 |     break 2 | 
 | 18783 |   fi | 
 | 18784 | done | 
 | 18785 | done | 
 | 18786 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18787 |   test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18788 |   ;; | 
 | 18789 | esac | 
 | 18790 | fi | 
 | 18791 | MKDIR=$ac_cv_path_MKDIR | 
 | 18792 |  | 
 | 18793 | if test -n "$MKDIR"; then | 
 | 18794 |   echo "$as_me:$LINENO: result: $MKDIR" >&5 | 
 | 18795 | echo "${ECHO_T}$MKDIR" >&6 | 
 | 18796 | else | 
 | 18797 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18798 | echo "${ECHO_T}no" >&6 | 
 | 18799 | fi | 
 | 18800 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18801 | if test ${MKDIR} = "false" | 
 | 18802 | then | 
 | 18803 | 	{ { echo "$as_me:$LINENO: error: mkdir required but not found" >&5 | 
 | 18804 | echo "$as_me: error: mkdir required but not found" >&2;} | 
 | 18805 |    { (exit 1); exit 1; }; } | 
 | 18806 | fi | 
 | 18807 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18808 | # Extract the first word of "date", so it can be a program name with args. | 
 | 18809 | set dummy date; ac_word=$2 | 
 | 18810 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18811 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18812 | if test "${ac_cv_path_DATE+set}" = set; then | 
 | 18813 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18814 | else | 
 | 18815 |   case $DATE in | 
 | 18816 |   [\\/]* | ?:[\\/]*) | 
 | 18817 |   ac_cv_path_DATE="$DATE" # Let the user override the test with a path. | 
 | 18818 |   ;; | 
 | 18819 |   *) | 
 | 18820 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18821 | for as_dir in $PATH | 
 | 18822 | do | 
 | 18823 |   IFS=$as_save_IFS | 
 | 18824 |   test -z "$as_dir" && as_dir=. | 
 | 18825 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18826 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18827 |     ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext" | 
 | 18828 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18829 |     break 2 | 
 | 18830 |   fi | 
 | 18831 | done | 
 | 18832 | done | 
 | 18833 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18834 |   test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18835 |   ;; | 
 | 18836 | esac | 
 | 18837 | fi | 
 | 18838 | DATE=$ac_cv_path_DATE | 
 | 18839 |  | 
 | 18840 | if test -n "$DATE"; then | 
 | 18841 |   echo "$as_me:$LINENO: result: $DATE" >&5 | 
 | 18842 | echo "${ECHO_T}$DATE" >&6 | 
 | 18843 | else | 
 | 18844 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18845 | echo "${ECHO_T}no" >&6 | 
 | 18846 | fi | 
 | 18847 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18848 | if test ${DATE} = "false" | 
 | 18849 | then | 
 | 18850 | 	{ { echo "$as_me:$LINENO: error: date required but not found" >&5 | 
 | 18851 | echo "$as_me: error: date required but not found" >&2;} | 
 | 18852 |    { (exit 1); exit 1; }; } | 
 | 18853 | fi | 
 | 18854 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18855 | # Extract the first word of "mv", so it can be a program name with args. | 
 | 18856 | set dummy mv; ac_word=$2 | 
 | 18857 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18858 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18859 | if test "${ac_cv_path_MV+set}" = set; then | 
 | 18860 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18861 | else | 
 | 18862 |   case $MV in | 
 | 18863 |   [\\/]* | ?:[\\/]*) | 
 | 18864 |   ac_cv_path_MV="$MV" # Let the user override the test with a path. | 
 | 18865 |   ;; | 
 | 18866 |   *) | 
 | 18867 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18868 | for as_dir in $PATH | 
 | 18869 | do | 
 | 18870 |   IFS=$as_save_IFS | 
 | 18871 |   test -z "$as_dir" && as_dir=. | 
 | 18872 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18873 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18874 |     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" | 
 | 18875 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18876 |     break 2 | 
 | 18877 |   fi | 
 | 18878 | done | 
 | 18879 | done | 
 | 18880 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18881 |   test -z "$ac_cv_path_MV" && ac_cv_path_MV="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18882 |   ;; | 
 | 18883 | esac | 
 | 18884 | fi | 
 | 18885 | MV=$ac_cv_path_MV | 
 | 18886 |  | 
 | 18887 | if test -n "$MV"; then | 
 | 18888 |   echo "$as_me:$LINENO: result: $MV" >&5 | 
 | 18889 | echo "${ECHO_T}$MV" >&6 | 
 | 18890 | else | 
 | 18891 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18892 | echo "${ECHO_T}no" >&6 | 
 | 18893 | fi | 
 | 18894 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18895 | if test ${MV} = "false" | 
 | 18896 | then | 
 | 18897 | 	{ { echo "$as_me:$LINENO: error: mv required but not found" >&5 | 
 | 18898 | echo "$as_me: error: mv required but not found" >&2;} | 
 | 18899 |    { (exit 1); exit 1; }; } | 
 | 18900 | fi | 
 | 18901 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18902 | # Extract the first word of "dot", so it can be a program name with args. | 
 | 18903 | set dummy dot; ac_word=$2 | 
 | 18904 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18905 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18906 | if test "${ac_cv_path_DOT+set}" = set; then | 
 | 18907 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18908 | else | 
 | 18909 |   case $DOT in | 
 | 18910 |   [\\/]* | ?:[\\/]*) | 
 | 18911 |   ac_cv_path_DOT="$DOT" # Let the user override the test with a path. | 
 | 18912 |   ;; | 
 | 18913 |   *) | 
 | 18914 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18915 | for as_dir in $PATH | 
 | 18916 | do | 
 | 18917 |   IFS=$as_save_IFS | 
 | 18918 |   test -z "$as_dir" && as_dir=. | 
 | 18919 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18920 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18921 |     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" | 
 | 18922 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18923 |     break 2 | 
 | 18924 |   fi | 
 | 18925 | done | 
 | 18926 | done | 
 | 18927 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18928 |   test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18929 |   ;; | 
 | 18930 | esac | 
 | 18931 | fi | 
 | 18932 | DOT=$ac_cv_path_DOT | 
 | 18933 |  | 
 | 18934 | if test -n "$DOT"; then | 
 | 18935 |   echo "$as_me:$LINENO: result: $DOT" >&5 | 
 | 18936 | echo "${ECHO_T}$DOT" >&6 | 
 | 18937 | else | 
 | 18938 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18939 | echo "${ECHO_T}no" >&6 | 
 | 18940 | fi | 
 | 18941 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18942 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18943 | # Extract the first word of "etags", so it can be a program name with args. | 
 | 18944 | set dummy etags; ac_word=$2 | 
 | 18945 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18946 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18947 | if test "${ac_cv_path_ETAGS+set}" = set; then | 
 | 18948 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18949 | else | 
 | 18950 |   case $ETAGS in | 
 | 18951 |   [\\/]* | ?:[\\/]*) | 
 | 18952 |   ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path. | 
 | 18953 |   ;; | 
 | 18954 |   *) | 
 | 18955 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18956 | for as_dir in $PATH | 
 | 18957 | do | 
 | 18958 |   IFS=$as_save_IFS | 
 | 18959 |   test -z "$as_dir" && as_dir=. | 
 | 18960 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 18961 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 18962 |     ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext" | 
 | 18963 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 18964 |     break 2 | 
 | 18965 |   fi | 
 | 18966 | done | 
 | 18967 | done | 
 | 18968 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18969 |   test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18970 |   ;; | 
 | 18971 | esac | 
 | 18972 | fi | 
 | 18973 | ETAGS=$ac_cv_path_ETAGS | 
 | 18974 |  | 
 | 18975 | if test -n "$ETAGS"; then | 
 | 18976 |   echo "$as_me:$LINENO: result: $ETAGS" >&5 | 
 | 18977 | echo "${ECHO_T}$ETAGS" >&6 | 
 | 18978 | else | 
 | 18979 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 18980 | echo "${ECHO_T}no" >&6 | 
 | 18981 | fi | 
 | 18982 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18983 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18984 | # Extract the first word of "python", so it can be a program name with args. | 
 | 18985 | set dummy python; ac_word=$2 | 
 | 18986 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 18987 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 18988 | if test "${ac_cv_path_PYTHON+set}" = set; then | 
 | 18989 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 18990 | else | 
 | 18991 |   case $PYTHON in | 
 | 18992 |   [\\/]* | ?:[\\/]*) | 
 | 18993 |   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. | 
 | 18994 |   ;; | 
 | 18995 |   *) | 
 | 18996 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 18997 | for as_dir in $PATH | 
 | 18998 | do | 
 | 18999 |   IFS=$as_save_IFS | 
 | 19000 |   test -z "$as_dir" && as_dir=. | 
 | 19001 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 19002 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 19003 |     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" | 
 | 19004 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 19005 |     break 2 | 
 | 19006 |   fi | 
 | 19007 | done | 
 | 19008 | done | 
 | 19009 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 19010 |   test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false" | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 19011 |   ;; | 
 | 19012 | esac | 
 | 19013 | fi | 
 | 19014 | PYTHON=$ac_cv_path_PYTHON | 
 | 19015 |  | 
 | 19016 | if test -n "$PYTHON"; then | 
 | 19017 |   echo "$as_me:$LINENO: result: $PYTHON" >&5 | 
 | 19018 | echo "${ECHO_T}$PYTHON" >&6 | 
 | 19019 | else | 
 | 19020 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 19021 | echo "${ECHO_T}no" >&6 | 
 | 19022 | fi | 
 | 19023 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 19024 | if test ${PYTHON} = "false" | 
 | 19025 | then | 
| John Criswell | 6109598 | 2003-09-23 20:46:32 +0000 | [diff] [blame] | 19026 | 	{ echo "$as_me:$LINENO: WARNING: python required but not found" >&5 | 
 | 19027 | echo "$as_me: WARNING: python required but not found" >&2;} | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 19028 | fi | 
 | 19029 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 19030 | # Extract the first word of "qmtest", so it can be a program name with args. | 
 | 19031 | set dummy qmtest; ac_word=$2 | 
 | 19032 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 19033 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 19034 | if test "${ac_cv_path_QMTEST+set}" = set; then | 
 | 19035 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19036 | else | 
 | 19037 |   case $QMTEST in | 
 | 19038 |   [\\/]* | ?:[\\/]*) | 
 | 19039 |   ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path. | 
 | 19040 |   ;; | 
 | 19041 |   *) | 
 | 19042 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 19043 | for as_dir in $PATH | 
 | 19044 | do | 
 | 19045 |   IFS=$as_save_IFS | 
 | 19046 |   test -z "$as_dir" && as_dir=. | 
 | 19047 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 19048 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 19049 |     ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext" | 
 | 19050 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 19051 |     break 2 | 
 | 19052 |   fi | 
 | 19053 | done | 
 | 19054 | done | 
 | 19055 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 19056 |   test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false" | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 19057 |   ;; | 
 | 19058 | esac | 
 | 19059 | fi | 
 | 19060 | QMTEST=$ac_cv_path_QMTEST | 
 | 19061 |  | 
 | 19062 | if test -n "$QMTEST"; then | 
 | 19063 |   echo "$as_me:$LINENO: result: $QMTEST" >&5 | 
 | 19064 | echo "${ECHO_T}$QMTEST" >&6 | 
 | 19065 | else | 
 | 19066 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 19067 | echo "${ECHO_T}no" >&6 | 
 | 19068 | fi | 
 | 19069 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 19070 | if test ${QMTEST} = "false" | 
 | 19071 | then | 
| John Criswell | 6109598 | 2003-09-23 20:46:32 +0000 | [diff] [blame] | 19072 | 	{ echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5 | 
 | 19073 | echo "$as_me: WARNING: qmtest required but not found" >&2;} | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 19074 | fi | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 19075 |  | 
 | 19076 | pyversion=`$PYTHON -V 2>&1 | cut -d\  -f2` | 
 | 19077 | pymajor=`echo $pyversion | cut -d. -f1` | 
 | 19078 | pyminor=`echo $pyversion | cut -d. -f2` | 
 | 19079 |  | 
 | 19080 | if test "$pymajor" -ge "2" | 
 | 19081 | then | 
 | 19082 | 	if test "$pymajor" -eq "2" | 
 | 19083 | 	then | 
 | 19084 | 		if test "$pyminor" -lt "2" | 
 | 19085 | 		then | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 19086 | 			{ echo "$as_me:$LINENO: WARNING: Python 2.2 or greater required for qmtest" >&5 | 
 | 19087 | echo "$as_me: WARNING: Python 2.2 or greater required for qmtest" >&2;} | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 19088 | 		fi | 
 | 19089 | 	fi | 
 | 19090 | else | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 19091 | 	{ echo "$as_me:$LINENO: WARNING: Python 2.2 or greater required for qmtest" >&5 | 
 | 19092 | echo "$as_me: WARNING: Python 2.2 or greater required for qmtest" >&2;} | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 19093 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19094 |  | 
 | 19095 |  | 
 | 19096 |  | 
 | 19097 |  | 
 | 19098 |  | 
 | 19099 | echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | 
 | 19100 | echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 | 
 | 19101 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 
 | 19102 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19103 | else | 
 | 19104 |   ac_check_lib_save_LIBS=$LIBS | 
 | 19105 | LIBS="-lelf  $LIBS" | 
 | 19106 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19107 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19108 | /* confdefs.h.  */ | 
 | 19109 | _ACEOF | 
 | 19110 | cat confdefs.h >>conftest.$ac_ext | 
 | 19111 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19112 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19113 |  | 
 | 19114 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 19115 | #ifdef __cplusplus | 
 | 19116 | extern "C" | 
 | 19117 | #endif | 
 | 19118 | /* We use char because int might match the return type of a gcc2 | 
 | 19119 |    builtin and then its argument prototype would still apply.  */ | 
 | 19120 | char elf_begin (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19121 | int | 
 | 19122 | main () | 
 | 19123 | { | 
 | 19124 | elf_begin (); | 
 | 19125 |   ; | 
 | 19126 |   return 0; | 
 | 19127 | } | 
 | 19128 | _ACEOF | 
 | 19129 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 19130 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 19131 |   (eval $ac_link) 2>&5 | 
 | 19132 |   ac_status=$? | 
 | 19133 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19134 |   (exit $ac_status); } && | 
 | 19135 |          { ac_try='test -s conftest$ac_exeext' | 
 | 19136 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19137 |   (eval $ac_try) 2>&5 | 
 | 19138 |   ac_status=$? | 
 | 19139 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19140 |   (exit $ac_status); }; }; then | 
 | 19141 |   ac_cv_lib_elf_elf_begin=yes | 
 | 19142 | else | 
 | 19143 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19144 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19145 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19146 | ac_cv_lib_elf_elf_begin=no | 
 | 19147 | fi | 
 | 19148 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 19149 | LIBS=$ac_check_lib_save_LIBS | 
 | 19150 | fi | 
 | 19151 | echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | 
 | 19152 | echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 | 
 | 19153 | if test $ac_cv_lib_elf_elf_begin = yes; then | 
 | 19154 |   cat >>confdefs.h <<_ACEOF | 
 | 19155 | #define HAVE_LIBELF 1 | 
 | 19156 | _ACEOF | 
 | 19157 |  | 
 | 19158 |   LIBS="-lelf $LIBS" | 
 | 19159 |  | 
 | 19160 | fi | 
 | 19161 |  | 
 | 19162 |  | 
 | 19163 | echo "$as_me:$LINENO: checking for library containing dlopen" >&5 | 
 | 19164 | echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6 | 
 | 19165 | if test "${ac_cv_search_dlopen+set}" = set; then | 
 | 19166 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19167 | else | 
 | 19168 |   ac_func_search_save_LIBS=$LIBS | 
 | 19169 | ac_cv_search_dlopen=no | 
 | 19170 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19171 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19172 | /* confdefs.h.  */ | 
 | 19173 | _ACEOF | 
 | 19174 | cat confdefs.h >>conftest.$ac_ext | 
 | 19175 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19176 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19177 |  | 
 | 19178 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 19179 | #ifdef __cplusplus | 
 | 19180 | extern "C" | 
 | 19181 | #endif | 
 | 19182 | /* We use char because int might match the return type of a gcc2 | 
 | 19183 |    builtin and then its argument prototype would still apply.  */ | 
 | 19184 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19185 | int | 
 | 19186 | main () | 
 | 19187 | { | 
 | 19188 | dlopen (); | 
 | 19189 |   ; | 
 | 19190 |   return 0; | 
 | 19191 | } | 
 | 19192 | _ACEOF | 
 | 19193 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 19194 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 19195 |   (eval $ac_link) 2>&5 | 
 | 19196 |   ac_status=$? | 
 | 19197 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19198 |   (exit $ac_status); } && | 
 | 19199 |          { ac_try='test -s conftest$ac_exeext' | 
 | 19200 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19201 |   (eval $ac_try) 2>&5 | 
 | 19202 |   ac_status=$? | 
 | 19203 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19204 |   (exit $ac_status); }; }; then | 
 | 19205 |   ac_cv_search_dlopen="none required" | 
 | 19206 | else | 
 | 19207 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19208 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19209 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19210 | fi | 
 | 19211 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 19212 | if test "$ac_cv_search_dlopen" = no; then | 
 | 19213 |   for ac_lib in dl; do | 
 | 19214 |     LIBS="-l$ac_lib  $ac_func_search_save_LIBS" | 
 | 19215 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 19216 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19217 | /* confdefs.h.  */ | 
 | 19218 | _ACEOF | 
 | 19219 | cat confdefs.h >>conftest.$ac_ext | 
 | 19220 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19221 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19222 |  | 
 | 19223 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 19224 | #ifdef __cplusplus | 
 | 19225 | extern "C" | 
 | 19226 | #endif | 
 | 19227 | /* We use char because int might match the return type of a gcc2 | 
 | 19228 |    builtin and then its argument prototype would still apply.  */ | 
 | 19229 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19230 | int | 
 | 19231 | main () | 
 | 19232 | { | 
 | 19233 | dlopen (); | 
 | 19234 |   ; | 
 | 19235 |   return 0; | 
 | 19236 | } | 
 | 19237 | _ACEOF | 
 | 19238 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 19239 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 19240 |   (eval $ac_link) 2>&5 | 
 | 19241 |   ac_status=$? | 
 | 19242 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19243 |   (exit $ac_status); } && | 
 | 19244 |          { ac_try='test -s conftest$ac_exeext' | 
 | 19245 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19246 |   (eval $ac_try) 2>&5 | 
 | 19247 |   ac_status=$? | 
 | 19248 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19249 |   (exit $ac_status); }; }; then | 
 | 19250 |   ac_cv_search_dlopen="-l$ac_lib" | 
 | 19251 | break | 
 | 19252 | else | 
 | 19253 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19254 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19255 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19256 | fi | 
 | 19257 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 19258 |   done | 
 | 19259 | fi | 
 | 19260 | LIBS=$ac_func_search_save_LIBS | 
 | 19261 | fi | 
 | 19262 | echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 | 
 | 19263 | echo "${ECHO_T}$ac_cv_search_dlopen" >&6 | 
 | 19264 | if test "$ac_cv_search_dlopen" != no; then | 
 | 19265 |   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] | 19266 |  | 
 | 19267 | cat >>confdefs.h <<\_ACEOF | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 19268 | #define HAVE_DLOPEN 1 | 
 | 19269 | _ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19270 |  | 
 | 19271 | else | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 19272 |   { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5 | 
 | 19273 | echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19274 | fi | 
 | 19275 |  | 
 | 19276 |  | 
 | 19277 | echo "$as_me:$LINENO: checking for library containing mallinfo" >&5 | 
 | 19278 | echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6 | 
 | 19279 | if test "${ac_cv_search_mallinfo+set}" = set; then | 
 | 19280 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19281 | else | 
 | 19282 |   ac_func_search_save_LIBS=$LIBS | 
 | 19283 | ac_cv_search_mallinfo=no | 
 | 19284 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19285 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19286 | /* confdefs.h.  */ | 
 | 19287 | _ACEOF | 
 | 19288 | cat confdefs.h >>conftest.$ac_ext | 
 | 19289 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19290 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19291 |  | 
 | 19292 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 19293 | #ifdef __cplusplus | 
 | 19294 | extern "C" | 
 | 19295 | #endif | 
 | 19296 | /* We use char because int might match the return type of a gcc2 | 
 | 19297 |    builtin and then its argument prototype would still apply.  */ | 
 | 19298 | char mallinfo (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19299 | int | 
 | 19300 | main () | 
 | 19301 | { | 
 | 19302 | mallinfo (); | 
 | 19303 |   ; | 
 | 19304 |   return 0; | 
 | 19305 | } | 
 | 19306 | _ACEOF | 
 | 19307 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 19308 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 19309 |   (eval $ac_link) 2>&5 | 
 | 19310 |   ac_status=$? | 
 | 19311 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19312 |   (exit $ac_status); } && | 
 | 19313 |          { ac_try='test -s conftest$ac_exeext' | 
 | 19314 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19315 |   (eval $ac_try) 2>&5 | 
 | 19316 |   ac_status=$? | 
 | 19317 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19318 |   (exit $ac_status); }; }; then | 
 | 19319 |   ac_cv_search_mallinfo="none required" | 
 | 19320 | else | 
 | 19321 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19322 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19323 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19324 | fi | 
 | 19325 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 19326 | if test "$ac_cv_search_mallinfo" = no; then | 
 | 19327 |   for ac_lib in malloc; do | 
 | 19328 |     LIBS="-l$ac_lib  $ac_func_search_save_LIBS" | 
 | 19329 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 19330 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19331 | /* confdefs.h.  */ | 
 | 19332 | _ACEOF | 
 | 19333 | cat confdefs.h >>conftest.$ac_ext | 
 | 19334 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19335 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19336 |  | 
 | 19337 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 19338 | #ifdef __cplusplus | 
 | 19339 | extern "C" | 
 | 19340 | #endif | 
 | 19341 | /* We use char because int might match the return type of a gcc2 | 
 | 19342 |    builtin and then its argument prototype would still apply.  */ | 
 | 19343 | char mallinfo (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19344 | int | 
 | 19345 | main () | 
 | 19346 | { | 
 | 19347 | mallinfo (); | 
 | 19348 |   ; | 
 | 19349 |   return 0; | 
 | 19350 | } | 
 | 19351 | _ACEOF | 
 | 19352 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 19353 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 19354 |   (eval $ac_link) 2>&5 | 
 | 19355 |   ac_status=$? | 
 | 19356 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19357 |   (exit $ac_status); } && | 
 | 19358 |          { ac_try='test -s conftest$ac_exeext' | 
 | 19359 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19360 |   (eval $ac_try) 2>&5 | 
 | 19361 |   ac_status=$? | 
 | 19362 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19363 |   (exit $ac_status); }; }; then | 
 | 19364 |   ac_cv_search_mallinfo="-l$ac_lib" | 
 | 19365 | break | 
 | 19366 | else | 
 | 19367 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19368 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19369 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19370 | fi | 
 | 19371 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 19372 |   done | 
 | 19373 | fi | 
 | 19374 | LIBS=$ac_func_search_save_LIBS | 
 | 19375 | fi | 
 | 19376 | echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5 | 
 | 19377 | echo "${ECHO_T}$ac_cv_search_mallinfo" >&6 | 
 | 19378 | if test "$ac_cv_search_mallinfo" != no; then | 
 | 19379 |   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] | 19380 |  | 
 | 19381 | cat >>confdefs.h <<\_ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19382 | #define HAVE_MALLINFO 1 | 
 | 19383 | _ACEOF | 
 | 19384 |  | 
 | 19385 | fi | 
 | 19386 |  | 
 | 19387 |  | 
 | 19388 |  | 
 | 19389 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
 | 19390 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
 | 19391 | if test "${ac_cv_header_stdc+set}" = set; then | 
 | 19392 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19393 | else | 
 | 19394 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19395 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19396 | /* confdefs.h.  */ | 
 | 19397 | _ACEOF | 
 | 19398 | cat confdefs.h >>conftest.$ac_ext | 
 | 19399 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19400 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19401 | #include <stdlib.h> | 
 | 19402 | #include <stdarg.h> | 
 | 19403 | #include <string.h> | 
 | 19404 | #include <float.h> | 
 | 19405 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19406 | int | 
 | 19407 | main () | 
 | 19408 | { | 
 | 19409 |  | 
 | 19410 |   ; | 
 | 19411 |   return 0; | 
 | 19412 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19413 | _ACEOF | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19414 | rm -f conftest.$ac_objext | 
 | 19415 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19416 |   (eval $ac_compile) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19417 |   ac_status=$? | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19418 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19419 |   (exit $ac_status); } && | 
 | 19420 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19421 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19422 |   (eval $ac_try) 2>&5 | 
 | 19423 |   ac_status=$? | 
 | 19424 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19425 |   (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19426 |   ac_cv_header_stdc=yes | 
 | 19427 | else | 
 | 19428 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19429 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19430 |  | 
 | 19431 | ac_cv_header_stdc=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19432 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19433 | rm -f conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19434 |  | 
 | 19435 | if test $ac_cv_header_stdc = yes; then | 
 | 19436 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
 | 19437 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19438 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19439 | /* confdefs.h.  */ | 
 | 19440 | _ACEOF | 
 | 19441 | cat confdefs.h >>conftest.$ac_ext | 
 | 19442 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19443 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19444 | #include <string.h> | 
 | 19445 |  | 
 | 19446 | _ACEOF | 
 | 19447 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19448 |   $EGREP "memchr" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19449 |   : | 
 | 19450 | else | 
 | 19451 |   ac_cv_header_stdc=no | 
 | 19452 | fi | 
 | 19453 | rm -f conftest* | 
 | 19454 |  | 
 | 19455 | fi | 
 | 19456 |  | 
 | 19457 | if test $ac_cv_header_stdc = yes; then | 
 | 19458 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
 | 19459 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19460 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19461 | /* confdefs.h.  */ | 
 | 19462 | _ACEOF | 
 | 19463 | cat confdefs.h >>conftest.$ac_ext | 
 | 19464 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19465 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19466 | #include <stdlib.h> | 
 | 19467 |  | 
 | 19468 | _ACEOF | 
 | 19469 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19470 |   $EGREP "free" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19471 |   : | 
 | 19472 | else | 
 | 19473 |   ac_cv_header_stdc=no | 
 | 19474 | fi | 
 | 19475 | rm -f conftest* | 
 | 19476 |  | 
 | 19477 | fi | 
 | 19478 |  | 
 | 19479 | if test $ac_cv_header_stdc = yes; then | 
 | 19480 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
 | 19481 |   if test "$cross_compiling" = yes; then | 
 | 19482 |   : | 
 | 19483 | else | 
 | 19484 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19485 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19486 | /* confdefs.h.  */ | 
 | 19487 | _ACEOF | 
 | 19488 | cat confdefs.h >>conftest.$ac_ext | 
 | 19489 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19490 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19491 | #include <ctype.h> | 
 | 19492 | #if ((' ' & 0x0FF) == 0x020) | 
 | 19493 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
 | 19494 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
 | 19495 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19496 | # define ISLOWER(c) \ | 
 | 19497 |                    (('a' <= (c) && (c) <= 'i') \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19498 |                      || ('j' <= (c) && (c) <= 'r') \ | 
 | 19499 |                      || ('s' <= (c) && (c) <= 'z')) | 
 | 19500 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
 | 19501 | #endif | 
 | 19502 |  | 
 | 19503 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
 | 19504 | int | 
 | 19505 | main () | 
 | 19506 | { | 
 | 19507 |   int i; | 
 | 19508 |   for (i = 0; i < 256; i++) | 
 | 19509 |     if (XOR (islower (i), ISLOWER (i)) | 
 | 19510 |         || toupper (i) != TOUPPER (i)) | 
 | 19511 |       exit(2); | 
 | 19512 |   exit (0); | 
 | 19513 | } | 
 | 19514 | _ACEOF | 
 | 19515 | rm -f conftest$ac_exeext | 
 | 19516 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 19517 |   (eval $ac_link) 2>&5 | 
 | 19518 |   ac_status=$? | 
 | 19519 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19520 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 19521 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19522 |   (eval $ac_try) 2>&5 | 
 | 19523 |   ac_status=$? | 
 | 19524 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19525 |   (exit $ac_status); }; }; then | 
 | 19526 |   : | 
 | 19527 | else | 
 | 19528 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 19529 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19530 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19531 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19532 | ( exit $ac_status ) | 
 | 19533 | ac_cv_header_stdc=no | 
 | 19534 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19535 | 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] | 19536 | fi | 
 | 19537 | fi | 
 | 19538 | fi | 
 | 19539 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
 | 19540 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
 | 19541 | if test $ac_cv_header_stdc = yes; then | 
 | 19542 |  | 
 | 19543 | cat >>confdefs.h <<\_ACEOF | 
 | 19544 | #define STDC_HEADERS 1 | 
 | 19545 | _ACEOF | 
 | 19546 |  | 
 | 19547 | fi | 
 | 19548 |  | 
 | 19549 | echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 
 | 19550 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 | 
 | 19551 | if test "${ac_cv_header_sys_wait_h+set}" = set; then | 
 | 19552 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19553 | else | 
 | 19554 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 19555 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19556 | /* confdefs.h.  */ | 
 | 19557 | _ACEOF | 
 | 19558 | cat confdefs.h >>conftest.$ac_ext | 
 | 19559 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19560 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19561 | #include <sys/types.h> | 
 | 19562 | #include <sys/wait.h> | 
 | 19563 | #ifndef WEXITSTATUS | 
 | 19564 | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 
 | 19565 | #endif | 
 | 19566 | #ifndef WIFEXITED | 
 | 19567 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | 
 | 19568 | #endif | 
 | 19569 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19570 | int | 
 | 19571 | main () | 
 | 19572 | { | 
 | 19573 |   int s; | 
 | 19574 |   wait (&s); | 
 | 19575 |   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 
 | 19576 |   ; | 
 | 19577 |   return 0; | 
 | 19578 | } | 
 | 19579 | _ACEOF | 
 | 19580 | rm -f conftest.$ac_objext | 
 | 19581 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19582 |   (eval $ac_compile) 2>&5 | 
 | 19583 |   ac_status=$? | 
 | 19584 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19585 |   (exit $ac_status); } && | 
 | 19586 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19587 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19588 |   (eval $ac_try) 2>&5 | 
 | 19589 |   ac_status=$? | 
 | 19590 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19591 |   (exit $ac_status); }; }; then | 
 | 19592 |   ac_cv_header_sys_wait_h=yes | 
 | 19593 | else | 
 | 19594 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19595 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19596 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19597 | ac_cv_header_sys_wait_h=no | 
 | 19598 | fi | 
 | 19599 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19600 | fi | 
 | 19601 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 
 | 19602 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 | 
 | 19603 | if test $ac_cv_header_sys_wait_h = yes; then | 
 | 19604 |  | 
 | 19605 | cat >>confdefs.h <<\_ACEOF | 
 | 19606 | #define HAVE_SYS_WAIT_H 1 | 
 | 19607 | _ACEOF | 
 | 19608 |  | 
 | 19609 | fi | 
 | 19610 |  | 
 | 19611 |  | 
 | 19612 |  | 
 | 19613 |  | 
 | 19614 |  | 
 | 19615 |  | 
 | 19616 |  | 
 | 19617 |  | 
 | 19618 |  | 
 | 19619 |  | 
 | 19620 | for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h | 
 | 19621 | do | 
 | 19622 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 19623 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 19624 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 19625 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 19626 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 19627 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19628 | fi | 
 | 19629 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 19630 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 19631 | else | 
 | 19632 |   # Is the header compilable? | 
 | 19633 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 19634 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 19635 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19636 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19637 | /* confdefs.h.  */ | 
 | 19638 | _ACEOF | 
 | 19639 | cat confdefs.h >>conftest.$ac_ext | 
 | 19640 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19641 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19642 | $ac_includes_default | 
 | 19643 | #include <$ac_header> | 
 | 19644 | _ACEOF | 
 | 19645 | rm -f conftest.$ac_objext | 
 | 19646 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19647 |   (eval $ac_compile) 2>&5 | 
 | 19648 |   ac_status=$? | 
 | 19649 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19650 |   (exit $ac_status); } && | 
 | 19651 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19652 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19653 |   (eval $ac_try) 2>&5 | 
 | 19654 |   ac_status=$? | 
 | 19655 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19656 |   (exit $ac_status); }; }; then | 
 | 19657 |   ac_header_compiler=yes | 
 | 19658 | else | 
 | 19659 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19660 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19661 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19662 | ac_header_compiler=no | 
 | 19663 | fi | 
 | 19664 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19665 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 19666 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 19667 |  | 
 | 19668 | # Is the header present? | 
 | 19669 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 19670 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 19671 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19672 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19673 | /* confdefs.h.  */ | 
 | 19674 | _ACEOF | 
 | 19675 | cat confdefs.h >>conftest.$ac_ext | 
 | 19676 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19677 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19678 | #include <$ac_header> | 
 | 19679 | _ACEOF | 
 | 19680 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 19681 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 19682 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19683 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19684 |   rm -f conftest.er1 | 
 | 19685 |   cat conftest.err >&5 | 
 | 19686 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19687 |   (exit $ac_status); } >/dev/null; then | 
 | 19688 |   if test -s conftest.err; then | 
 | 19689 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 19690 |   else | 
 | 19691 |     ac_cpp_err= | 
 | 19692 |   fi | 
 | 19693 | else | 
 | 19694 |   ac_cpp_err=yes | 
 | 19695 | fi | 
 | 19696 | if test -z "$ac_cpp_err"; then | 
 | 19697 |   ac_header_preproc=yes | 
 | 19698 | else | 
 | 19699 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19700 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19701 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19702 |   ac_header_preproc=no | 
 | 19703 | fi | 
 | 19704 | rm -f conftest.err conftest.$ac_ext | 
 | 19705 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 19706 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 19707 |  | 
 | 19708 | # So?  What about this header? | 
 | 19709 | case $ac_header_compiler:$ac_header_preproc in | 
 | 19710 |   yes:no ) | 
 | 19711 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 19712 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 19713 |     { 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] | 19714 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 19715 |     ( | 
 | 19716 |       cat <<\_ASBOX | 
 | 19717 | ## ------------------------------------ ## | 
 | 19718 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 19719 | ## ------------------------------------ ## | 
 | 19720 | _ASBOX | 
 | 19721 |     ) | | 
 | 19722 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 19723 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19724 |   no:yes ) | 
 | 19725 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 19726 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 19727 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 19728 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 19729 |     { 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] | 19730 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 19731 |     ( | 
 | 19732 |       cat <<\_ASBOX | 
 | 19733 | ## ------------------------------------ ## | 
 | 19734 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 19735 | ## ------------------------------------ ## | 
 | 19736 | _ASBOX | 
 | 19737 |     ) | | 
 | 19738 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 19739 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19740 | esac | 
 | 19741 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 19742 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 19743 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 19744 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19745 | else | 
 | 19746 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 19747 | fi | 
 | 19748 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 19749 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 19750 |  | 
 | 19751 | fi | 
 | 19752 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 19753 |   cat >>confdefs.h <<_ACEOF | 
 | 19754 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 19755 | _ACEOF | 
 | 19756 |  | 
 | 19757 | fi | 
 | 19758 |  | 
 | 19759 | done | 
 | 19760 |  | 
 | 19761 |  | 
 | 19762 |  | 
 | 19763 |  | 
 | 19764 |  | 
| John Criswell | e8a63eb | 2003-10-23 19:16:12 +0000 | [diff] [blame] | 19765 | for ac_header in malloc.h sys/mman.h sys/resource.h | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19766 | do | 
 | 19767 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 19768 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 19769 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 19770 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 19771 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 19772 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19773 | fi | 
 | 19774 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 19775 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 19776 | else | 
 | 19777 |   # Is the header compilable? | 
 | 19778 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 19779 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 19780 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19781 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19782 | /* confdefs.h.  */ | 
 | 19783 | _ACEOF | 
 | 19784 | cat confdefs.h >>conftest.$ac_ext | 
 | 19785 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19786 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19787 | $ac_includes_default | 
 | 19788 | #include <$ac_header> | 
 | 19789 | _ACEOF | 
 | 19790 | rm -f conftest.$ac_objext | 
 | 19791 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19792 |   (eval $ac_compile) 2>&5 | 
 | 19793 |   ac_status=$? | 
 | 19794 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19795 |   (exit $ac_status); } && | 
 | 19796 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19797 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19798 |   (eval $ac_try) 2>&5 | 
 | 19799 |   ac_status=$? | 
 | 19800 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19801 |   (exit $ac_status); }; }; then | 
 | 19802 |   ac_header_compiler=yes | 
 | 19803 | else | 
 | 19804 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19805 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19806 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19807 | ac_header_compiler=no | 
 | 19808 | fi | 
 | 19809 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19810 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 19811 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 19812 |  | 
 | 19813 | # Is the header present? | 
 | 19814 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 19815 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 19816 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19817 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19818 | /* confdefs.h.  */ | 
 | 19819 | _ACEOF | 
 | 19820 | cat confdefs.h >>conftest.$ac_ext | 
 | 19821 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19822 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19823 | #include <$ac_header> | 
 | 19824 | _ACEOF | 
 | 19825 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 19826 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 19827 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19828 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19829 |   rm -f conftest.er1 | 
 | 19830 |   cat conftest.err >&5 | 
 | 19831 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19832 |   (exit $ac_status); } >/dev/null; then | 
 | 19833 |   if test -s conftest.err; then | 
 | 19834 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 19835 |   else | 
 | 19836 |     ac_cpp_err= | 
 | 19837 |   fi | 
 | 19838 | else | 
 | 19839 |   ac_cpp_err=yes | 
 | 19840 | fi | 
 | 19841 | if test -z "$ac_cpp_err"; then | 
 | 19842 |   ac_header_preproc=yes | 
 | 19843 | else | 
 | 19844 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19845 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19846 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19847 |   ac_header_preproc=no | 
 | 19848 | fi | 
 | 19849 | rm -f conftest.err conftest.$ac_ext | 
 | 19850 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 19851 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 19852 |  | 
 | 19853 | # So?  What about this header? | 
 | 19854 | case $ac_header_compiler:$ac_header_preproc in | 
 | 19855 |   yes:no ) | 
 | 19856 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 19857 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 19858 |     { 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] | 19859 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 19860 |     ( | 
 | 19861 |       cat <<\_ASBOX | 
 | 19862 | ## ------------------------------------ ## | 
 | 19863 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 19864 | ## ------------------------------------ ## | 
 | 19865 | _ASBOX | 
 | 19866 |     ) | | 
 | 19867 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 19868 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19869 |   no:yes ) | 
 | 19870 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 19871 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 19872 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 19873 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 19874 |     { 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] | 19875 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 19876 |     ( | 
 | 19877 |       cat <<\_ASBOX | 
 | 19878 | ## ------------------------------------ ## | 
 | 19879 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 19880 | ## ------------------------------------ ## | 
 | 19881 | _ASBOX | 
 | 19882 |     ) | | 
 | 19883 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 19884 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19885 | esac | 
 | 19886 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 19887 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 19888 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 19889 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19890 | else | 
 | 19891 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 19892 | fi | 
 | 19893 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 19894 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 19895 |  | 
 | 19896 | fi | 
 | 19897 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 19898 |   cat >>confdefs.h <<_ACEOF | 
 | 19899 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 19900 | _ACEOF | 
 | 19901 |  | 
 | 19902 | fi | 
 | 19903 |  | 
 | 19904 | done | 
 | 19905 |  | 
 | 19906 |  | 
 | 19907 |  | 
 | 19908 |  | 
 | 19909 | for ac_header in dlfcn.h link.h | 
 | 19910 | do | 
 | 19911 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 19912 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 19913 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 19914 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 19915 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 19916 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 19917 | fi | 
 | 19918 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 19919 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 19920 | else | 
 | 19921 |   # Is the header compilable? | 
 | 19922 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 19923 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 19924 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19925 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19926 | /* confdefs.h.  */ | 
 | 19927 | _ACEOF | 
 | 19928 | cat confdefs.h >>conftest.$ac_ext | 
 | 19929 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19930 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19931 | $ac_includes_default | 
 | 19932 | #include <$ac_header> | 
 | 19933 | _ACEOF | 
 | 19934 | rm -f conftest.$ac_objext | 
 | 19935 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 19936 |   (eval $ac_compile) 2>&5 | 
 | 19937 |   ac_status=$? | 
 | 19938 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19939 |   (exit $ac_status); } && | 
 | 19940 |          { ac_try='test -s conftest.$ac_objext' | 
 | 19941 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 19942 |   (eval $ac_try) 2>&5 | 
 | 19943 |   ac_status=$? | 
 | 19944 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19945 |   (exit $ac_status); }; }; then | 
 | 19946 |   ac_header_compiler=yes | 
 | 19947 | else | 
 | 19948 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19949 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19950 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19951 | ac_header_compiler=no | 
 | 19952 | fi | 
 | 19953 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 19954 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 19955 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 19956 |  | 
 | 19957 | # Is the header present? | 
 | 19958 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 19959 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 19960 | cat >conftest.$ac_ext <<_ACEOF | 
 | 19961 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19962 | /* confdefs.h.  */ | 
 | 19963 | _ACEOF | 
 | 19964 | cat confdefs.h >>conftest.$ac_ext | 
 | 19965 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 19966 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19967 | #include <$ac_header> | 
 | 19968 | _ACEOF | 
 | 19969 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 19970 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 19971 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19972 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19973 |   rm -f conftest.er1 | 
 | 19974 |   cat conftest.err >&5 | 
 | 19975 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 19976 |   (exit $ac_status); } >/dev/null; then | 
 | 19977 |   if test -s conftest.err; then | 
 | 19978 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 19979 |   else | 
 | 19980 |     ac_cpp_err= | 
 | 19981 |   fi | 
 | 19982 | else | 
 | 19983 |   ac_cpp_err=yes | 
 | 19984 | fi | 
 | 19985 | if test -z "$ac_cpp_err"; then | 
 | 19986 |   ac_header_preproc=yes | 
 | 19987 | else | 
 | 19988 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19989 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 19990 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19991 |   ac_header_preproc=no | 
 | 19992 | fi | 
 | 19993 | rm -f conftest.err conftest.$ac_ext | 
 | 19994 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 19995 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 19996 |  | 
 | 19997 | # So?  What about this header? | 
 | 19998 | case $ac_header_compiler:$ac_header_preproc in | 
 | 19999 |   yes:no ) | 
 | 20000 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 20001 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 20002 |     { 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] | 20003 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 20004 |     ( | 
 | 20005 |       cat <<\_ASBOX | 
 | 20006 | ## ------------------------------------ ## | 
 | 20007 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 20008 | ## ------------------------------------ ## | 
 | 20009 | _ASBOX | 
 | 20010 |     ) | | 
 | 20011 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 20012 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20013 |   no:yes ) | 
 | 20014 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 20015 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 20016 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 20017 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 20018 |     { 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] | 20019 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 20020 |     ( | 
 | 20021 |       cat <<\_ASBOX | 
 | 20022 | ## ------------------------------------ ## | 
 | 20023 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 20024 | ## ------------------------------------ ## | 
 | 20025 | _ASBOX | 
 | 20026 |     ) | | 
 | 20027 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 20028 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20029 | esac | 
 | 20030 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 20031 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 20032 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 20033 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20034 | else | 
 | 20035 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 20036 | fi | 
 | 20037 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 20038 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 20039 |  | 
 | 20040 | fi | 
 | 20041 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 20042 |   cat >>confdefs.h <<_ACEOF | 
 | 20043 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 20044 | _ACEOF | 
 | 20045 |  | 
 | 20046 | fi | 
 | 20047 |  | 
 | 20048 | done | 
 | 20049 |  | 
 | 20050 |  | 
 | 20051 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20052 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 
 | 20053 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 
 | 20054 | if test "${ac_cv_c_const+set}" = set; then | 
 | 20055 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20056 | else | 
 | 20057 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20058 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20059 | /* confdefs.h.  */ | 
 | 20060 | _ACEOF | 
 | 20061 | cat confdefs.h >>conftest.$ac_ext | 
 | 20062 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20063 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20064 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20065 | int | 
 | 20066 | main () | 
 | 20067 | { | 
 | 20068 | /* FIXME: Include the comments suggested by Paul. */ | 
 | 20069 | #ifndef __cplusplus | 
 | 20070 |   /* Ultrix mips cc rejects this.  */ | 
 | 20071 |   typedef int charset[2]; | 
 | 20072 |   const charset x; | 
 | 20073 |   /* SunOS 4.1.1 cc rejects this.  */ | 
 | 20074 |   char const *const *ccp; | 
 | 20075 |   char **p; | 
 | 20076 |   /* NEC SVR4.0.2 mips cc rejects this.  */ | 
 | 20077 |   struct point {int x, y;}; | 
 | 20078 |   static struct point const zero = {0,0}; | 
 | 20079 |   /* AIX XL C 1.02.0.0 rejects this. | 
 | 20080 |      It does not let you subtract one const X* pointer from another in | 
 | 20081 |      an arm of an if-expression whose if-part is not a constant | 
 | 20082 |      expression */ | 
 | 20083 |   const char *g = "string"; | 
 | 20084 |   ccp = &g + (g ? g-g : 0); | 
 | 20085 |   /* HPUX 7.0 cc rejects these. */ | 
 | 20086 |   ++ccp; | 
 | 20087 |   p = (char**) ccp; | 
 | 20088 |   ccp = (char const *const *) p; | 
 | 20089 |   { /* SCO 3.2v4 cc rejects this.  */ | 
 | 20090 |     char *t; | 
 | 20091 |     char const *s = 0 ? (char *) 0 : (char const *) 0; | 
 | 20092 |  | 
 | 20093 |     *t++ = 0; | 
 | 20094 |   } | 
 | 20095 |   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ | 
 | 20096 |     int x[] = {25, 17}; | 
 | 20097 |     const int *foo = &x[0]; | 
 | 20098 |     ++foo; | 
 | 20099 |   } | 
 | 20100 |   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | 
 | 20101 |     typedef const int *iptr; | 
 | 20102 |     iptr p = 0; | 
 | 20103 |     ++p; | 
 | 20104 |   } | 
 | 20105 |   { /* AIX XL C 1.02.0.0 rejects this saying | 
 | 20106 |        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | 
 | 20107 |     struct s { int j; const int *ap[3]; }; | 
 | 20108 |     struct s *b; b->j = 5; | 
 | 20109 |   } | 
 | 20110 |   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 
 | 20111 |     const int foo = 10; | 
 | 20112 |   } | 
 | 20113 | #endif | 
 | 20114 |  | 
 | 20115 |   ; | 
 | 20116 |   return 0; | 
 | 20117 | } | 
 | 20118 | _ACEOF | 
 | 20119 | rm -f conftest.$ac_objext | 
 | 20120 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20121 |   (eval $ac_compile) 2>&5 | 
 | 20122 |   ac_status=$? | 
 | 20123 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20124 |   (exit $ac_status); } && | 
 | 20125 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20126 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20127 |   (eval $ac_try) 2>&5 | 
 | 20128 |   ac_status=$? | 
 | 20129 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20130 |   (exit $ac_status); }; }; then | 
 | 20131 |   ac_cv_c_const=yes | 
 | 20132 | else | 
 | 20133 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20134 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20135 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20136 | ac_cv_c_const=no | 
 | 20137 | fi | 
 | 20138 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20139 | fi | 
 | 20140 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 
 | 20141 | echo "${ECHO_T}$ac_cv_c_const" >&6 | 
 | 20142 | if test $ac_cv_c_const = no; then | 
 | 20143 |  | 
 | 20144 | cat >>confdefs.h <<\_ACEOF | 
 | 20145 | #define const | 
 | 20146 | _ACEOF | 
 | 20147 |  | 
 | 20148 | fi | 
 | 20149 |  | 
 | 20150 | echo "$as_me:$LINENO: checking for inline" >&5 | 
 | 20151 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | 
 | 20152 | if test "${ac_cv_c_inline+set}" = set; then | 
 | 20153 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20154 | else | 
 | 20155 |   ac_cv_c_inline=no | 
 | 20156 | for ac_kw in inline __inline__ __inline; do | 
 | 20157 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20158 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20159 | /* confdefs.h.  */ | 
 | 20160 | _ACEOF | 
 | 20161 | cat confdefs.h >>conftest.$ac_ext | 
 | 20162 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20163 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20164 | #ifndef __cplusplus | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20165 | typedef int foo_t; | 
 | 20166 | static $ac_kw foo_t static_foo () {return 0; } | 
 | 20167 | $ac_kw foo_t foo () {return 0; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20168 | #endif | 
 | 20169 |  | 
 | 20170 | _ACEOF | 
 | 20171 | rm -f conftest.$ac_objext | 
 | 20172 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20173 |   (eval $ac_compile) 2>&5 | 
 | 20174 |   ac_status=$? | 
 | 20175 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20176 |   (exit $ac_status); } && | 
 | 20177 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20178 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20179 |   (eval $ac_try) 2>&5 | 
 | 20180 |   ac_status=$? | 
 | 20181 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20182 |   (exit $ac_status); }; }; then | 
 | 20183 |   ac_cv_c_inline=$ac_kw; break | 
 | 20184 | else | 
 | 20185 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20186 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20187 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20188 | fi | 
 | 20189 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20190 | done | 
 | 20191 |  | 
 | 20192 | fi | 
 | 20193 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 
 | 20194 | echo "${ECHO_T}$ac_cv_c_inline" >&6 | 
 | 20195 | case $ac_cv_c_inline in | 
 | 20196 |   inline | yes) ;; | 
 | 20197 |   no) | 
 | 20198 | cat >>confdefs.h <<\_ACEOF | 
 | 20199 | #define inline | 
 | 20200 | _ACEOF | 
 | 20201 |  ;; | 
 | 20202 |   *)  cat >>confdefs.h <<_ACEOF | 
 | 20203 | #define inline $ac_cv_c_inline | 
 | 20204 | _ACEOF | 
 | 20205 |  ;; | 
 | 20206 | esac | 
 | 20207 |  | 
 | 20208 |  | 
 | 20209 | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | 
 | 20210 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 | 
 | 20211 | if test "${ac_cv_c_bigendian+set}" = set; then | 
 | 20212 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20213 | else | 
 | 20214 |   # See if sys/param.h defines the BYTE_ORDER macro. | 
 | 20215 | cat >conftest.$ac_ext <<_ACEOF | 
 | 20216 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20217 | /* confdefs.h.  */ | 
 | 20218 | _ACEOF | 
 | 20219 | cat confdefs.h >>conftest.$ac_ext | 
 | 20220 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20221 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20222 | #include <sys/types.h> | 
 | 20223 | #include <sys/param.h> | 
 | 20224 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20225 | int | 
 | 20226 | main () | 
 | 20227 | { | 
 | 20228 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 
 | 20229 |  bogus endian macros | 
 | 20230 | #endif | 
 | 20231 |  | 
 | 20232 |   ; | 
 | 20233 |   return 0; | 
 | 20234 | } | 
 | 20235 | _ACEOF | 
 | 20236 | rm -f conftest.$ac_objext | 
 | 20237 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20238 |   (eval $ac_compile) 2>&5 | 
 | 20239 |   ac_status=$? | 
 | 20240 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20241 |   (exit $ac_status); } && | 
 | 20242 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20243 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20244 |   (eval $ac_try) 2>&5 | 
 | 20245 |   ac_status=$? | 
 | 20246 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20247 |   (exit $ac_status); }; }; then | 
 | 20248 |   # It does; now see whether it defined to BIG_ENDIAN or not. | 
 | 20249 | cat >conftest.$ac_ext <<_ACEOF | 
 | 20250 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20251 | /* confdefs.h.  */ | 
 | 20252 | _ACEOF | 
 | 20253 | cat confdefs.h >>conftest.$ac_ext | 
 | 20254 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20255 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20256 | #include <sys/types.h> | 
 | 20257 | #include <sys/param.h> | 
 | 20258 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20259 | int | 
 | 20260 | main () | 
 | 20261 | { | 
 | 20262 | #if BYTE_ORDER != BIG_ENDIAN | 
 | 20263 |  not big endian | 
 | 20264 | #endif | 
 | 20265 |  | 
 | 20266 |   ; | 
 | 20267 |   return 0; | 
 | 20268 | } | 
 | 20269 | _ACEOF | 
 | 20270 | rm -f conftest.$ac_objext | 
 | 20271 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20272 |   (eval $ac_compile) 2>&5 | 
 | 20273 |   ac_status=$? | 
 | 20274 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20275 |   (exit $ac_status); } && | 
 | 20276 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20277 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20278 |   (eval $ac_try) 2>&5 | 
 | 20279 |   ac_status=$? | 
 | 20280 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20281 |   (exit $ac_status); }; }; then | 
 | 20282 |   ac_cv_c_bigendian=yes | 
 | 20283 | else | 
 | 20284 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20285 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20286 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20287 | ac_cv_c_bigendian=no | 
 | 20288 | fi | 
 | 20289 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20290 | else | 
 | 20291 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20292 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20293 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20294 | # It does not; compile a test program. | 
 | 20295 | if test "$cross_compiling" = yes; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20296 |   # try to guess the endianness by grepping values into an object file | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20297 |   ac_cv_c_bigendian=unknown | 
 | 20298 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20299 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20300 | /* confdefs.h.  */ | 
 | 20301 | _ACEOF | 
 | 20302 | cat confdefs.h >>conftest.$ac_ext | 
 | 20303 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20304 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20305 | short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | 
 | 20306 | short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | 
 | 20307 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | 
 | 20308 | short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | 
 | 20309 | short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | 
 | 20310 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20311 | int | 
 | 20312 | main () | 
 | 20313 | { | 
 | 20314 |  _ascii (); _ebcdic (); | 
 | 20315 |   ; | 
 | 20316 |   return 0; | 
 | 20317 | } | 
 | 20318 | _ACEOF | 
 | 20319 | rm -f conftest.$ac_objext | 
 | 20320 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20321 |   (eval $ac_compile) 2>&5 | 
 | 20322 |   ac_status=$? | 
 | 20323 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20324 |   (exit $ac_status); } && | 
 | 20325 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20326 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20327 |   (eval $ac_try) 2>&5 | 
 | 20328 |   ac_status=$? | 
 | 20329 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20330 |   (exit $ac_status); }; }; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20331 |   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20332 |   ac_cv_c_bigendian=yes | 
 | 20333 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20334 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20335 |   if test "$ac_cv_c_bigendian" = unknown; then | 
 | 20336 |     ac_cv_c_bigendian=no | 
 | 20337 |   else | 
 | 20338 |     # finding both strings is unlikely to happen, but who knows? | 
 | 20339 |     ac_cv_c_bigendian=unknown | 
 | 20340 |   fi | 
 | 20341 | fi | 
 | 20342 | else | 
 | 20343 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20344 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20345 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20346 | fi | 
 | 20347 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20348 | else | 
 | 20349 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20350 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20351 | /* confdefs.h.  */ | 
 | 20352 | _ACEOF | 
 | 20353 | cat confdefs.h >>conftest.$ac_ext | 
 | 20354 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20355 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20356 | int | 
 | 20357 | main () | 
 | 20358 | { | 
 | 20359 |   /* Are we little or big endian?  From Harbison&Steele.  */ | 
 | 20360 |   union | 
 | 20361 |   { | 
 | 20362 |     long l; | 
 | 20363 |     char c[sizeof (long)]; | 
 | 20364 |   } u; | 
 | 20365 |   u.l = 1; | 
 | 20366 |   exit (u.c[sizeof (long) - 1] == 1); | 
 | 20367 | } | 
 | 20368 | _ACEOF | 
 | 20369 | rm -f conftest$ac_exeext | 
 | 20370 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 20371 |   (eval $ac_link) 2>&5 | 
 | 20372 |   ac_status=$? | 
 | 20373 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20374 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 20375 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20376 |   (eval $ac_try) 2>&5 | 
 | 20377 |   ac_status=$? | 
 | 20378 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20379 |   (exit $ac_status); }; }; then | 
 | 20380 |   ac_cv_c_bigendian=no | 
 | 20381 | else | 
 | 20382 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 20383 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20384 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20385 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20386 | ( exit $ac_status ) | 
 | 20387 | ac_cv_c_bigendian=yes | 
 | 20388 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20389 | 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] | 20390 | fi | 
 | 20391 | fi | 
 | 20392 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20393 | fi | 
 | 20394 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | 
 | 20395 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | 
 | 20396 | case $ac_cv_c_bigendian in | 
 | 20397 |   yes) | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 20398 |  | 
 | 20399 | cat >>confdefs.h <<\_ACEOF | 
 | 20400 | #define ENDIAN_BIG | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20401 | _ACEOF | 
 | 20402 |  ;; | 
 | 20403 |   no) | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 20404 |  | 
 | 20405 | cat >>confdefs.h <<\_ACEOF | 
 | 20406 | #define ENDIAN_LITTLE | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20407 | _ACEOF | 
 | 20408 |  ;; | 
 | 20409 |   *) | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20410 |     { { echo "$as_me:$LINENO: error: unknown endianness | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20411 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20412 | echo "$as_me: error: unknown endianness | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20413 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | 
 | 20414 |    { (exit 1); exit 1; }; } ;; | 
 | 20415 | esac | 
 | 20416 |  | 
 | 20417 |  | 
 | 20418 | echo "$as_me:$LINENO: checking for pid_t" >&5 | 
 | 20419 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 
 | 20420 | if test "${ac_cv_type_pid_t+set}" = set; then | 
 | 20421 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20422 | else | 
 | 20423 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20424 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20425 | /* confdefs.h.  */ | 
 | 20426 | _ACEOF | 
 | 20427 | cat confdefs.h >>conftest.$ac_ext | 
 | 20428 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20429 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20430 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20431 | int | 
 | 20432 | main () | 
 | 20433 | { | 
 | 20434 | if ((pid_t *) 0) | 
 | 20435 |   return 0; | 
 | 20436 | if (sizeof (pid_t)) | 
 | 20437 |   return 0; | 
 | 20438 |   ; | 
 | 20439 |   return 0; | 
 | 20440 | } | 
 | 20441 | _ACEOF | 
 | 20442 | rm -f conftest.$ac_objext | 
 | 20443 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20444 |   (eval $ac_compile) 2>&5 | 
 | 20445 |   ac_status=$? | 
 | 20446 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20447 |   (exit $ac_status); } && | 
 | 20448 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20449 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20450 |   (eval $ac_try) 2>&5 | 
 | 20451 |   ac_status=$? | 
 | 20452 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20453 |   (exit $ac_status); }; }; then | 
 | 20454 |   ac_cv_type_pid_t=yes | 
 | 20455 | else | 
 | 20456 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20457 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20458 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20459 | ac_cv_type_pid_t=no | 
 | 20460 | fi | 
 | 20461 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20462 | fi | 
 | 20463 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | 
 | 20464 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | 
 | 20465 | if test $ac_cv_type_pid_t = yes; then | 
 | 20466 |   : | 
 | 20467 | else | 
 | 20468 |  | 
 | 20469 | cat >>confdefs.h <<_ACEOF | 
 | 20470 | #define pid_t int | 
 | 20471 | _ACEOF | 
 | 20472 |  | 
 | 20473 | fi | 
 | 20474 |  | 
 | 20475 | echo "$as_me:$LINENO: checking for size_t" >&5 | 
 | 20476 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 
 | 20477 | if test "${ac_cv_type_size_t+set}" = set; then | 
 | 20478 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20479 | else | 
 | 20480 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20481 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20482 | /* confdefs.h.  */ | 
 | 20483 | _ACEOF | 
 | 20484 | cat confdefs.h >>conftest.$ac_ext | 
 | 20485 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20486 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20487 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20488 | int | 
 | 20489 | main () | 
 | 20490 | { | 
 | 20491 | if ((size_t *) 0) | 
 | 20492 |   return 0; | 
 | 20493 | if (sizeof (size_t)) | 
 | 20494 |   return 0; | 
 | 20495 |   ; | 
 | 20496 |   return 0; | 
 | 20497 | } | 
 | 20498 | _ACEOF | 
 | 20499 | rm -f conftest.$ac_objext | 
 | 20500 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20501 |   (eval $ac_compile) 2>&5 | 
 | 20502 |   ac_status=$? | 
 | 20503 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20504 |   (exit $ac_status); } && | 
 | 20505 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20506 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20507 |   (eval $ac_try) 2>&5 | 
 | 20508 |   ac_status=$? | 
 | 20509 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20510 |   (exit $ac_status); }; }; then | 
 | 20511 |   ac_cv_type_size_t=yes | 
 | 20512 | else | 
 | 20513 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20514 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20515 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20516 | ac_cv_type_size_t=no | 
 | 20517 | fi | 
 | 20518 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20519 | fi | 
 | 20520 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 
 | 20521 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 
 | 20522 | if test $ac_cv_type_size_t = yes; then | 
 | 20523 |   : | 
 | 20524 | else | 
 | 20525 |  | 
 | 20526 | cat >>confdefs.h <<_ACEOF | 
 | 20527 | #define size_t unsigned | 
 | 20528 | _ACEOF | 
 | 20529 |  | 
 | 20530 | fi | 
 | 20531 |  | 
 | 20532 | echo "$as_me:$LINENO: checking for int64_t" >&5 | 
 | 20533 | echo $ECHO_N "checking for int64_t... $ECHO_C" >&6 | 
 | 20534 | if test "${ac_cv_type_int64_t+set}" = set; then | 
 | 20535 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20536 | else | 
 | 20537 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20538 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20539 | /* confdefs.h.  */ | 
 | 20540 | _ACEOF | 
 | 20541 | cat confdefs.h >>conftest.$ac_ext | 
 | 20542 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20543 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20544 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20545 | int | 
 | 20546 | main () | 
 | 20547 | { | 
 | 20548 | if ((int64_t *) 0) | 
 | 20549 |   return 0; | 
 | 20550 | if (sizeof (int64_t)) | 
 | 20551 |   return 0; | 
 | 20552 |   ; | 
 | 20553 |   return 0; | 
 | 20554 | } | 
 | 20555 | _ACEOF | 
 | 20556 | rm -f conftest.$ac_objext | 
 | 20557 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20558 |   (eval $ac_compile) 2>&5 | 
 | 20559 |   ac_status=$? | 
 | 20560 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20561 |   (exit $ac_status); } && | 
 | 20562 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20563 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20564 |   (eval $ac_try) 2>&5 | 
 | 20565 |   ac_status=$? | 
 | 20566 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20567 |   (exit $ac_status); }; }; then | 
 | 20568 |   ac_cv_type_int64_t=yes | 
 | 20569 | else | 
 | 20570 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20571 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20572 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20573 | ac_cv_type_int64_t=no | 
 | 20574 | fi | 
 | 20575 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20576 | fi | 
 | 20577 | echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 | 
 | 20578 | echo "${ECHO_T}$ac_cv_type_int64_t" >&6 | 
 | 20579 | if test $ac_cv_type_int64_t = yes; then | 
 | 20580 |  | 
 | 20581 | cat >>confdefs.h <<_ACEOF | 
 | 20582 | #define HAVE_INT64_T 1 | 
 | 20583 | _ACEOF | 
 | 20584 |  | 
 | 20585 |  | 
 | 20586 | else | 
 | 20587 |   { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5 | 
 | 20588 | echo "$as_me: error: Type int64_t required but not found" >&2;} | 
 | 20589 |    { (exit 1); exit 1; }; } | 
 | 20590 | fi | 
 | 20591 |  | 
 | 20592 | echo "$as_me:$LINENO: checking for uint64_t" >&5 | 
 | 20593 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 | 
 | 20594 | if test "${ac_cv_type_uint64_t+set}" = set; then | 
 | 20595 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20596 | else | 
 | 20597 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20598 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20599 | /* confdefs.h.  */ | 
 | 20600 | _ACEOF | 
 | 20601 | cat confdefs.h >>conftest.$ac_ext | 
 | 20602 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20603 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20604 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20605 | int | 
 | 20606 | main () | 
 | 20607 | { | 
 | 20608 | if ((uint64_t *) 0) | 
 | 20609 |   return 0; | 
 | 20610 | if (sizeof (uint64_t)) | 
 | 20611 |   return 0; | 
 | 20612 |   ; | 
 | 20613 |   return 0; | 
 | 20614 | } | 
 | 20615 | _ACEOF | 
 | 20616 | rm -f conftest.$ac_objext | 
 | 20617 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20618 |   (eval $ac_compile) 2>&5 | 
 | 20619 |   ac_status=$? | 
 | 20620 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20621 |   (exit $ac_status); } && | 
 | 20622 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20623 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20624 |   (eval $ac_try) 2>&5 | 
 | 20625 |   ac_status=$? | 
 | 20626 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20627 |   (exit $ac_status); }; }; then | 
 | 20628 |   ac_cv_type_uint64_t=yes | 
 | 20629 | else | 
 | 20630 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20631 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20632 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20633 | ac_cv_type_uint64_t=no | 
 | 20634 | fi | 
 | 20635 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20636 | fi | 
 | 20637 | echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 | 
 | 20638 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 | 
 | 20639 | if test $ac_cv_type_uint64_t = yes; then | 
 | 20640 |  | 
 | 20641 | cat >>confdefs.h <<_ACEOF | 
 | 20642 | #define HAVE_UINT64_T 1 | 
 | 20643 | _ACEOF | 
 | 20644 |  | 
 | 20645 |  | 
 | 20646 | else | 
 | 20647 |   { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5 | 
 | 20648 | echo "$as_me: error: Type uint64_t required but not found" >&2;} | 
 | 20649 |    { (exit 1); exit 1; }; } | 
 | 20650 | fi | 
 | 20651 |  | 
 | 20652 | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 
 | 20653 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 
 | 20654 | if test "${ac_cv_header_time+set}" = set; then | 
 | 20655 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20656 | else | 
 | 20657 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20658 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20659 | /* confdefs.h.  */ | 
 | 20660 | _ACEOF | 
 | 20661 | cat confdefs.h >>conftest.$ac_ext | 
 | 20662 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20663 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20664 | #include <sys/types.h> | 
 | 20665 | #include <sys/time.h> | 
 | 20666 | #include <time.h> | 
 | 20667 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20668 | int | 
 | 20669 | main () | 
 | 20670 | { | 
 | 20671 | if ((struct tm *) 0) | 
 | 20672 | return 0; | 
 | 20673 |   ; | 
 | 20674 |   return 0; | 
 | 20675 | } | 
 | 20676 | _ACEOF | 
 | 20677 | rm -f conftest.$ac_objext | 
 | 20678 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20679 |   (eval $ac_compile) 2>&5 | 
 | 20680 |   ac_status=$? | 
 | 20681 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20682 |   (exit $ac_status); } && | 
 | 20683 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20684 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20685 |   (eval $ac_try) 2>&5 | 
 | 20686 |   ac_status=$? | 
 | 20687 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20688 |   (exit $ac_status); }; }; then | 
 | 20689 |   ac_cv_header_time=yes | 
 | 20690 | else | 
 | 20691 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20692 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20693 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20694 | ac_cv_header_time=no | 
 | 20695 | fi | 
 | 20696 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20697 | fi | 
 | 20698 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 
 | 20699 | echo "${ECHO_T}$ac_cv_header_time" >&6 | 
 | 20700 | if test $ac_cv_header_time = yes; then | 
 | 20701 |  | 
 | 20702 | cat >>confdefs.h <<\_ACEOF | 
 | 20703 | #define TIME_WITH_SYS_TIME 1 | 
 | 20704 | _ACEOF | 
 | 20705 |  | 
 | 20706 | fi | 
 | 20707 |  | 
 | 20708 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 | 
 | 20709 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 | 
 | 20710 | if test "${ac_cv_struct_tm+set}" = set; then | 
 | 20711 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20712 | else | 
 | 20713 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20714 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20715 | /* confdefs.h.  */ | 
 | 20716 | _ACEOF | 
 | 20717 | cat confdefs.h >>conftest.$ac_ext | 
 | 20718 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20719 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20720 | #include <sys/types.h> | 
 | 20721 | #include <time.h> | 
 | 20722 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20723 | int | 
 | 20724 | main () | 
 | 20725 | { | 
 | 20726 | struct tm *tp; tp->tm_sec; | 
 | 20727 |   ; | 
 | 20728 |   return 0; | 
 | 20729 | } | 
 | 20730 | _ACEOF | 
 | 20731 | rm -f conftest.$ac_objext | 
 | 20732 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20733 |   (eval $ac_compile) 2>&5 | 
 | 20734 |   ac_status=$? | 
 | 20735 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20736 |   (exit $ac_status); } && | 
 | 20737 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20738 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20739 |   (eval $ac_try) 2>&5 | 
 | 20740 |   ac_status=$? | 
 | 20741 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20742 |   (exit $ac_status); }; }; then | 
 | 20743 |   ac_cv_struct_tm=time.h | 
 | 20744 | else | 
 | 20745 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20746 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20747 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20748 | ac_cv_struct_tm=sys/time.h | 
 | 20749 | fi | 
 | 20750 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20751 | fi | 
 | 20752 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 | 
 | 20753 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 | 
 | 20754 | if test $ac_cv_struct_tm = sys/time.h; then | 
 | 20755 |  | 
 | 20756 | cat >>confdefs.h <<\_ACEOF | 
 | 20757 | #define TM_IN_SYS_TIME 1 | 
 | 20758 | _ACEOF | 
 | 20759 |  | 
 | 20760 | fi | 
 | 20761 |  | 
 | 20762 |  | 
| John Criswell | a0137d3 | 2003-10-13 16:22:01 +0000 | [diff] [blame] | 20763 |  | 
 | 20764 |  | 
 | 20765 |  | 
 | 20766 | 	ac_ext=c | 
 | 20767 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20768 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20769 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20770 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20771 |  | 
 | 20772 | 	if test "$cross_compiling" = yes; then | 
 | 20773 |   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 
 | 20774 | See \`config.log' for more details." >&5 | 
 | 20775 | echo "$as_me: error: cannot run test program while cross compiling | 
 | 20776 | See \`config.log' for more details." >&2;} | 
 | 20777 |    { (exit 1); exit 1; }; } | 
 | 20778 | else | 
 | 20779 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20780 | #line $LINENO "configure" | 
 | 20781 | /* confdefs.h.  */ | 
 | 20782 | _ACEOF | 
 | 20783 | cat confdefs.h >>conftest.$ac_ext | 
 | 20784 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20785 | /* end confdefs.h.  */ | 
 | 20786 | #include <stdio.h> | 
 | 20787 | 		                 #include <stdlib.h> | 
 | 20788 | int | 
 | 20789 | main () | 
 | 20790 | { | 
 | 20791 |  | 
 | 20792 | 		                 volatile double A, B; | 
 | 20793 | 		                 char Buffer[100]; | 
 | 20794 | 		                 A = 1; | 
 | 20795 | 		                 A /= 10.0; | 
 | 20796 | 		                 sprintf(Buffer, "%a", A); | 
 | 20797 | 		                 B = atof(Buffer); | 
 | 20798 | 		                 if (A != B) | 
 | 20799 | 							 return (1); | 
 | 20800 | 		                 if (A != 0x1.999999999999ap-4) | 
 | 20801 | 							 return (1); | 
 | 20802 | 		                 return (0); | 
 | 20803 |   ; | 
 | 20804 |   return 0; | 
 | 20805 | } | 
 | 20806 | _ACEOF | 
 | 20807 | rm -f conftest$ac_exeext | 
 | 20808 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 20809 |   (eval $ac_link) 2>&5 | 
 | 20810 |   ac_status=$? | 
 | 20811 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20812 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 20813 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20814 |   (eval $ac_try) 2>&5 | 
 | 20815 |   ac_status=$? | 
 | 20816 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20817 |   (exit $ac_status); }; }; then | 
 | 20818 |   ac_c_printf_a=yes | 
 | 20819 | else | 
 | 20820 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 20821 | echo "$as_me: failed program was:" >&5 | 
 | 20822 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20823 |  | 
 | 20824 | ( exit $ac_status ) | 
 | 20825 | ac_c_printf_a=no | 
 | 20826 | fi | 
 | 20827 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 20828 | fi | 
 | 20829 | 	ac_ext=c | 
 | 20830 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20831 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20832 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20833 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20834 |  | 
 | 20835 | 	if test "$ac_c_printf_a" = "yes"; then | 
 | 20836 |  | 
 | 20837 | cat >>confdefs.h <<\_ACEOF | 
 | 20838 | #define HAVE_PRINTF_A 1 | 
 | 20839 | _ACEOF | 
 | 20840 |  | 
 | 20841 | 	fi | 
 | 20842 |  | 
 | 20843 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20844 | echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 | 
 | 20845 | echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6 | 
 | 20846 | if test "${ac_cv_cxx_namespaces+set}" = set; then | 
 | 20847 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20848 | else | 
 | 20849 |  | 
 | 20850 |  | 
 | 20851 |  ac_ext=cc | 
 | 20852 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20853 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20854 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20855 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20856 |  | 
 | 20857 |  cat >conftest.$ac_ext <<_ACEOF | 
 | 20858 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20859 | /* confdefs.h.  */ | 
 | 20860 | _ACEOF | 
 | 20861 | cat confdefs.h >>conftest.$ac_ext | 
 | 20862 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20863 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20864 | namespace Outer { namespace Inner { int i = 0; }} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20865 | int | 
 | 20866 | main () | 
 | 20867 | { | 
 | 20868 | using namespace Outer::Inner; return i; | 
 | 20869 |   ; | 
 | 20870 |   return 0; | 
 | 20871 | } | 
 | 20872 | _ACEOF | 
 | 20873 | rm -f conftest.$ac_objext | 
 | 20874 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20875 |   (eval $ac_compile) 2>&5 | 
 | 20876 |   ac_status=$? | 
 | 20877 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20878 |   (exit $ac_status); } && | 
 | 20879 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20880 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20881 |   (eval $ac_try) 2>&5 | 
 | 20882 |   ac_status=$? | 
 | 20883 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20884 |   (exit $ac_status); }; }; then | 
 | 20885 |   ac_cv_cxx_namespaces=yes | 
 | 20886 | else | 
 | 20887 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20888 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20889 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20890 | ac_cv_cxx_namespaces=no | 
 | 20891 | fi | 
 | 20892 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20893 |  ac_ext=c | 
 | 20894 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20895 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20896 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20897 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20898 |  | 
 | 20899 |  | 
 | 20900 | fi | 
 | 20901 | echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 | 
 | 20902 | echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6 | 
 | 20903 | if test "$ac_cv_cxx_namespaces" = yes; then | 
 | 20904 |  | 
 | 20905 | cat >>confdefs.h <<\_ACEOF | 
 | 20906 | #define HAVE_NAMESPACES | 
 | 20907 | _ACEOF | 
 | 20908 |  | 
 | 20909 | fi | 
 | 20910 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20911 | echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class std::hash_map" >&5 | 
 | 20912 | echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class std::hash_map... $ECHO_C" >&6 | 
 | 20913 | 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] | 20914 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20915 | else | 
 | 20916 |  | 
 | 20917 |  | 
 | 20918 |  | 
 | 20919 |   ac_ext=cc | 
 | 20920 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20921 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20922 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20923 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20924 |  | 
 | 20925 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20926 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20927 | /* confdefs.h.  */ | 
 | 20928 | _ACEOF | 
 | 20929 | cat confdefs.h >>conftest.$ac_ext | 
 | 20930 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 20931 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20932 | #include <ext/hash_map> | 
 | 20933 | #ifdef HAVE_NAMESPACES | 
 | 20934 | using namespace std; | 
 | 20935 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20936 | int | 
 | 20937 | main () | 
 | 20938 | { | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20939 | hash_map<int, int> t; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20940 |   ; | 
 | 20941 |   return 0; | 
 | 20942 | } | 
 | 20943 | _ACEOF | 
 | 20944 | rm -f conftest.$ac_objext | 
 | 20945 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 20946 |   (eval $ac_compile) 2>&5 | 
 | 20947 |   ac_status=$? | 
 | 20948 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20949 |   (exit $ac_status); } && | 
 | 20950 |          { ac_try='test -s conftest.$ac_objext' | 
 | 20951 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 20952 |   (eval $ac_try) 2>&5 | 
 | 20953 |   ac_status=$? | 
 | 20954 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 20955 |   (exit $ac_status); }; }; then | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20956 |   ac_cv_cxx_have_std_ext_hash_map=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20957 | else | 
 | 20958 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20959 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 20960 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20961 | ac_cv_cxx_have_std_ext_hash_map=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20962 | fi | 
 | 20963 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 20964 |   ac_ext=c | 
 | 20965 | ac_cpp='$CPP $CPPFLAGS' | 
 | 20966 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20967 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20968 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 20969 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20970 | fi | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20971 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_map" >&5 | 
 | 20972 | echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6 | 
 | 20973 |  if test "$ac_cv_cxx_have_std_ext_hash_map" = yes; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20974 |  | 
 | 20975 | cat >>confdefs.h <<\_ACEOF | 
 | 20976 | #define HAVE_STD_EXT_HASH_MAP | 
 | 20977 | _ACEOF | 
 | 20978 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 20979 |  fi | 
 | 20980 |  echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map" >&5 | 
 | 20981 | echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map... $ECHO_C" >&6 | 
 | 20982 | if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then | 
 | 20983 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 20984 | else | 
 | 20985 |  | 
 | 20986 |  | 
 | 20987 |  | 
 | 20988 |   ac_ext=cc | 
 | 20989 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 20990 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 20991 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 20992 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 20993 |  | 
 | 20994 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 20995 | #line $LINENO "configure" | 
 | 20996 | /* confdefs.h.  */ | 
 | 20997 | _ACEOF | 
 | 20998 | cat confdefs.h >>conftest.$ac_ext | 
 | 20999 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21000 | /* end confdefs.h.  */ | 
 | 21001 | #include <ext/hash_map> | 
 | 21002 | #ifdef HAVE_NAMESPACES | 
 | 21003 | using namespace __gnu_cxx; | 
 | 21004 | #endif | 
 | 21005 | int | 
 | 21006 | main () | 
 | 21007 | { | 
 | 21008 | hash_map<int,int> t; | 
 | 21009 |   ; | 
 | 21010 |   return 0; | 
 | 21011 | } | 
 | 21012 | _ACEOF | 
 | 21013 | rm -f conftest.$ac_objext | 
 | 21014 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21015 |   (eval $ac_compile) 2>&5 | 
 | 21016 |   ac_status=$? | 
 | 21017 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21018 |   (exit $ac_status); } && | 
 | 21019 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21020 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21021 |   (eval $ac_try) 2>&5 | 
 | 21022 |   ac_status=$? | 
 | 21023 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21024 |   (exit $ac_status); }; }; then | 
 | 21025 |   ac_cv_cxx_have_gnu_ext_hash_map=yes | 
 | 21026 | else | 
 | 21027 |   echo "$as_me: failed program was:" >&5 | 
 | 21028 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21029 |  | 
 | 21030 | ac_cv_cxx_have_gnu_ext_hash_map=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21031 | fi | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21032 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21033 |   ac_ext=c | 
 | 21034 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21035 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21036 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21037 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21038 |  | 
 | 21039 | fi | 
 | 21040 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_map" >&5 | 
 | 21041 | echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6 | 
 | 21042 |  if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21043 |  | 
 | 21044 | cat >>confdefs.h <<\_ACEOF | 
 | 21045 | #define HAVE_GNU_EXT_HASH_MAP | 
 | 21046 | _ACEOF | 
 | 21047 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21048 |  fi | 
 | 21049 |  echo "$as_me:$LINENO: checking whether the compiler has <hash_map> defining template class ::hash_map" >&5 | 
 | 21050 | echo $ECHO_N "checking whether the compiler has <hash_map> defining template class ::hash_map... $ECHO_C" >&6 | 
 | 21051 | if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then | 
 | 21052 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21053 | else | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21054 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21055 |  | 
 | 21056 |  | 
 | 21057 |   ac_ext=cc | 
 | 21058 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 21059 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21060 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21061 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 21062 |  | 
 | 21063 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21064 | #line $LINENO "configure" | 
 | 21065 | /* confdefs.h.  */ | 
 | 21066 | _ACEOF | 
 | 21067 | cat confdefs.h >>conftest.$ac_ext | 
 | 21068 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21069 | /* end confdefs.h.  */ | 
 | 21070 | #include <hash_map> | 
 | 21071 | int | 
 | 21072 | main () | 
 | 21073 | { | 
 | 21074 | hash_map<int,int> t; | 
 | 21075 |   ; | 
 | 21076 |   return 0; | 
 | 21077 | } | 
 | 21078 | _ACEOF | 
 | 21079 | rm -f conftest.$ac_objext | 
 | 21080 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21081 |   (eval $ac_compile) 2>&5 | 
 | 21082 |   ac_status=$? | 
 | 21083 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21084 |   (exit $ac_status); } && | 
 | 21085 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21086 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21087 |   (eval $ac_try) 2>&5 | 
 | 21088 |   ac_status=$? | 
 | 21089 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21090 |   (exit $ac_status); }; }; then | 
 | 21091 |   ac_cv_cxx_have_global_hash_map=yes | 
 | 21092 | else | 
 | 21093 |   echo "$as_me: failed program was:" >&5 | 
 | 21094 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21095 |  | 
 | 21096 | ac_cv_cxx_have_global_hash_map=no | 
 | 21097 | fi | 
 | 21098 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21099 |   ac_ext=c | 
 | 21100 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21101 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21102 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21103 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21104 |  | 
 | 21105 | fi | 
 | 21106 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_map" >&5 | 
 | 21107 | echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6 | 
 | 21108 |  if test "$ac_cv_cxx_have_global_hash_map" = yes; then | 
 | 21109 |  | 
 | 21110 | cat >>confdefs.h <<\_ACEOF | 
 | 21111 | #define HAVE_GLOBAL_HASH_MAP | 
 | 21112 | _ACEOF | 
 | 21113 |  | 
 | 21114 |  fi | 
 | 21115 | echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class std::hash_set" >&5 | 
 | 21116 | echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class std::hash_set... $ECHO_C" >&6 | 
 | 21117 | 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] | 21118 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21119 | else | 
 | 21120 |  | 
 | 21121 |  | 
 | 21122 |  | 
 | 21123 |   ac_ext=cc | 
 | 21124 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 21125 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21126 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21127 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 21128 |  | 
 | 21129 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21130 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21131 | /* confdefs.h.  */ | 
 | 21132 | _ACEOF | 
 | 21133 | cat confdefs.h >>conftest.$ac_ext | 
 | 21134 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21135 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21136 | #include <ext/hash_set> | 
 | 21137 | #ifdef HAVE_NAMESPACES | 
 | 21138 | using namespace std; | 
 | 21139 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21140 | int | 
 | 21141 | main () | 
 | 21142 | { | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21143 | hash_set<int> t; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21144 |   ; | 
 | 21145 |   return 0; | 
 | 21146 | } | 
 | 21147 | _ACEOF | 
 | 21148 | rm -f conftest.$ac_objext | 
 | 21149 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21150 |   (eval $ac_compile) 2>&5 | 
 | 21151 |   ac_status=$? | 
 | 21152 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21153 |   (exit $ac_status); } && | 
 | 21154 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21155 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21156 |   (eval $ac_try) 2>&5 | 
 | 21157 |   ac_status=$? | 
 | 21158 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21159 |   (exit $ac_status); }; }; then | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21160 |   ac_cv_cxx_have_std_ext_hash_set=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21161 | else | 
 | 21162 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21163 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21164 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21165 | ac_cv_cxx_have_std_ext_hash_set=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21166 | fi | 
 | 21167 | rm -f conftest.$ac_objext conftest.$ac_ext | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21168 |   ac_ext=c | 
 | 21169 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21170 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21171 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21172 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21173 |  | 
 | 21174 | fi | 
 | 21175 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_set" >&5 | 
 | 21176 | echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6 | 
 | 21177 |  if test "$ac_cv_cxx_have_std_ext_hash_set" = yes; then | 
 | 21178 |  | 
 | 21179 | cat >>confdefs.h <<\_ACEOF | 
 | 21180 | #define HAVE_STD_EXT_HASH_SET | 
 | 21181 | _ACEOF | 
 | 21182 |  | 
 | 21183 |  fi | 
 | 21184 |  echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set" >&5 | 
 | 21185 | echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set... $ECHO_C" >&6 | 
 | 21186 | if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then | 
 | 21187 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21188 | else | 
 | 21189 |  | 
 | 21190 |  | 
 | 21191 |  | 
 | 21192 |   ac_ext=cc | 
 | 21193 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 21194 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21195 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21196 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 21197 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21198 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21199 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21200 | /* confdefs.h.  */ | 
 | 21201 | _ACEOF | 
 | 21202 | cat confdefs.h >>conftest.$ac_ext | 
 | 21203 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21204 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21205 | #include <ext/hash_set> | 
 | 21206 | #ifdef HAVE_NAMESPACES | 
 | 21207 | using namespace __gnu_cxx; | 
 | 21208 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21209 | int | 
 | 21210 | main () | 
 | 21211 | { | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21212 | hash_set<int> t; | 
 | 21213 |   ; | 
 | 21214 |   return 0; | 
 | 21215 | } | 
 | 21216 | _ACEOF | 
 | 21217 | rm -f conftest.$ac_objext | 
 | 21218 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21219 |   (eval $ac_compile) 2>&5 | 
 | 21220 |   ac_status=$? | 
 | 21221 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21222 |   (exit $ac_status); } && | 
 | 21223 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21224 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21225 |   (eval $ac_try) 2>&5 | 
 | 21226 |   ac_status=$? | 
 | 21227 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21228 |   (exit $ac_status); }; }; then | 
 | 21229 |   ac_cv_cxx_have_gnu_ext_hash_set=yes | 
 | 21230 | else | 
 | 21231 |   echo "$as_me: failed program was:" >&5 | 
 | 21232 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21233 |  | 
 | 21234 | ac_cv_cxx_have_gnu_ext_hash_set=no | 
 | 21235 | fi | 
 | 21236 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21237 |   ac_ext=c | 
 | 21238 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21239 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21240 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21241 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21242 |  | 
 | 21243 | fi | 
 | 21244 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_set" >&5 | 
 | 21245 | echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6 | 
 | 21246 |  if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes; then | 
 | 21247 |  | 
 | 21248 | cat >>confdefs.h <<\_ACEOF | 
 | 21249 | #define HAVE_GNU_EXT_HASH_SET | 
 | 21250 | _ACEOF | 
 | 21251 |  | 
 | 21252 |  fi | 
 | 21253 |  echo "$as_me:$LINENO: checking whether the compiler has <hash_set> defining template class ::hash_set" >&5 | 
 | 21254 | echo $ECHO_N "checking whether the compiler has <hash_set> defining template class ::hash_set... $ECHO_C" >&6 | 
 | 21255 | if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then | 
 | 21256 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21257 | else | 
 | 21258 |  | 
 | 21259 |  | 
 | 21260 |  | 
 | 21261 |   ac_ext=cc | 
 | 21262 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 21263 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21264 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21265 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 21266 |  | 
 | 21267 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21268 | #line $LINENO "configure" | 
 | 21269 | /* confdefs.h.  */ | 
 | 21270 | _ACEOF | 
 | 21271 | cat confdefs.h >>conftest.$ac_ext | 
 | 21272 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21273 | /* end confdefs.h.  */ | 
 | 21274 | #include <hash_set> | 
 | 21275 | int | 
 | 21276 | main () | 
 | 21277 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21278 | hash_set<int> t; return 0; | 
 | 21279 |   ; | 
 | 21280 |   return 0; | 
 | 21281 | } | 
 | 21282 | _ACEOF | 
 | 21283 | rm -f conftest.$ac_objext | 
 | 21284 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21285 |   (eval $ac_compile) 2>&5 | 
 | 21286 |   ac_status=$? | 
 | 21287 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21288 |   (exit $ac_status); } && | 
 | 21289 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21290 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21291 |   (eval $ac_try) 2>&5 | 
 | 21292 |   ac_status=$? | 
 | 21293 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21294 |   (exit $ac_status); }; }; then | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21295 |   ac_cv_cxx_have_global_hash_set=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21296 | else | 
 | 21297 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21298 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21299 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21300 | ac_cv_cxx_have_global_hash_set=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21301 | fi | 
 | 21302 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21303 |   ac_ext=c | 
 | 21304 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21305 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21306 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21307 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21308 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21309 | fi | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21310 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_set" >&5 | 
 | 21311 | echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6 | 
 | 21312 |  if test "$ac_cv_cxx_have_global_hash_set" = yes; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21313 |  | 
 | 21314 | cat >>confdefs.h <<\_ACEOF | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21315 | #define HAVE_GLOBAL_HASH_SET | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21316 | _ACEOF | 
 | 21317 |  | 
| Brian Gaeke | 9058349 | 2003-11-10 03:06:28 +0000 | [diff] [blame] | 21318 |  fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21319 | echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5 | 
 | 21320 | echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6 | 
 | 21321 | if test "${ac_cv_cxx_have_ext_slist+set}" = set; then | 
 | 21322 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21323 | else | 
 | 21324 |  | 
 | 21325 |  | 
 | 21326 |  | 
 | 21327 |   ac_ext=cc | 
 | 21328 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 21329 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21330 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21331 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 21332 |  | 
 | 21333 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21334 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21335 | /* confdefs.h.  */ | 
 | 21336 | _ACEOF | 
 | 21337 | cat confdefs.h >>conftest.$ac_ext | 
 | 21338 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21339 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21340 | #include <ext/slist> | 
 | 21341 | #ifdef HAVE_NAMESPACES | 
 | 21342 | using namespace std; | 
 | 21343 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21344 | int | 
 | 21345 | main () | 
 | 21346 | { | 
 | 21347 | slist<int> s; return 0; | 
 | 21348 |   ; | 
 | 21349 |   return 0; | 
 | 21350 | } | 
 | 21351 | _ACEOF | 
 | 21352 | rm -f conftest.$ac_objext | 
 | 21353 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21354 |   (eval $ac_compile) 2>&5 | 
 | 21355 |   ac_status=$? | 
 | 21356 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21357 |   (exit $ac_status); } && | 
 | 21358 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21359 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21360 |   (eval $ac_try) 2>&5 | 
 | 21361 |   ac_status=$? | 
 | 21362 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21363 |   (exit $ac_status); }; }; then | 
 | 21364 |   ac_cv_cxx_have_ext_slist=std | 
 | 21365 | else | 
 | 21366 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21367 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21368 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21369 | ac_cv_cxx_have_ext_slist=no | 
 | 21370 | fi | 
 | 21371 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21372 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21373 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21374 | /* confdefs.h.  */ | 
 | 21375 | _ACEOF | 
 | 21376 | cat confdefs.h >>conftest.$ac_ext | 
 | 21377 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21378 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21379 | #include <ext/slist> | 
 | 21380 | #ifdef HAVE_NAMESPACES | 
 | 21381 | using namespace __gnu_cxx; | 
 | 21382 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21383 | int | 
 | 21384 | main () | 
 | 21385 | { | 
 | 21386 | slist<int> s; return 0; | 
 | 21387 |   ; | 
 | 21388 |   return 0; | 
 | 21389 | } | 
 | 21390 | _ACEOF | 
 | 21391 | rm -f conftest.$ac_objext | 
 | 21392 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21393 |   (eval $ac_compile) 2>&5 | 
 | 21394 |   ac_status=$? | 
 | 21395 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21396 |   (exit $ac_status); } && | 
 | 21397 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21398 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21399 |   (eval $ac_try) 2>&5 | 
 | 21400 |   ac_status=$? | 
 | 21401 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21402 |   (exit $ac_status); }; }; then | 
 | 21403 |   ac_cv_cxx_have_ext_slist=gnu | 
 | 21404 | else | 
 | 21405 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21406 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21407 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21408 | ac_cv_cxx_have_ext_slist=no | 
 | 21409 | fi | 
 | 21410 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21411 |  | 
 | 21412 |   ac_ext=c | 
 | 21413 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21414 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21415 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21416 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21417 |  | 
 | 21418 |  | 
 | 21419 | fi | 
 | 21420 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5 | 
 | 21421 | echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6 | 
 | 21422 | if test "$ac_cv_cxx_have_ext_slist" = std; then | 
 | 21423 |  | 
 | 21424 | cat >>confdefs.h <<\_ACEOF | 
 | 21425 | #define HAVE_EXT_SLIST std | 
 | 21426 | _ACEOF | 
 | 21427 |  | 
 | 21428 | fi | 
 | 21429 | if test "$ac_cv_cxx_have_ext_slist" = gnu; then | 
 | 21430 |  | 
 | 21431 | cat >>confdefs.h <<\_ACEOF | 
 | 21432 | #define HAVE_EXT_SLIST gnu | 
 | 21433 | _ACEOF | 
 | 21434 |  | 
 | 21435 | fi | 
 | 21436 |  | 
 | 21437 | echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5 | 
 | 21438 | echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6 | 
 | 21439 | if test "${ac_cv_cxx_have_std_iterator+set}" = set; then | 
 | 21440 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21441 | else | 
 | 21442 |  | 
 | 21443 |  | 
 | 21444 |  | 
 | 21445 |   ac_ext=cc | 
 | 21446 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 21447 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21448 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21449 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 21450 |  | 
 | 21451 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21452 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21453 | /* confdefs.h.  */ | 
 | 21454 | _ACEOF | 
 | 21455 | cat confdefs.h >>conftest.$ac_ext | 
 | 21456 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21457 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21458 | #include <iterator> | 
 | 21459 | #ifdef HAVE_NAMESPACES | 
 | 21460 | using namespace std; | 
 | 21461 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21462 | int | 
 | 21463 | main () | 
 | 21464 | { | 
 | 21465 | iterator<int,int,int> t; return 0; | 
 | 21466 |   ; | 
 | 21467 |   return 0; | 
 | 21468 | } | 
 | 21469 | _ACEOF | 
 | 21470 | rm -f conftest.$ac_objext | 
 | 21471 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21472 |   (eval $ac_compile) 2>&5 | 
 | 21473 |   ac_status=$? | 
 | 21474 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21475 |   (exit $ac_status); } && | 
 | 21476 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21477 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21478 |   (eval $ac_try) 2>&5 | 
 | 21479 |   ac_status=$? | 
 | 21480 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21481 |   (exit $ac_status); }; }; then | 
 | 21482 |   ac_cv_cxx_have_std_iterator=yes | 
 | 21483 | else | 
 | 21484 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21485 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21486 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21487 | ac_cv_cxx_have_std_iterator=no | 
 | 21488 | fi | 
 | 21489 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21490 |   ac_ext=c | 
 | 21491 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21492 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21493 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21494 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21495 |  | 
 | 21496 |  | 
 | 21497 | fi | 
 | 21498 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5 | 
 | 21499 | echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6 | 
 | 21500 | if test "$ac_cv_cxx_have_std_iterator" = yes; then | 
 | 21501 |  | 
 | 21502 | cat >>confdefs.h <<\_ACEOF | 
 | 21503 | #define HAVE_STD_ITERATOR | 
 | 21504 | _ACEOF | 
 | 21505 |  | 
 | 21506 | fi | 
 | 21507 |  | 
 | 21508 | echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5 | 
 | 21509 | echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6 | 
 | 21510 | if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then | 
 | 21511 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21512 | else | 
 | 21513 |  | 
 | 21514 |  | 
 | 21515 |  | 
 | 21516 |   ac_ext=cc | 
 | 21517 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 21518 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21519 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21520 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 21521 |  | 
 | 21522 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21523 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21524 | /* confdefs.h.  */ | 
 | 21525 | _ACEOF | 
 | 21526 | cat confdefs.h >>conftest.$ac_ext | 
 | 21527 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21528 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21529 | #include <iterator> | 
 | 21530 | #ifdef HAVE_NAMESPACES | 
 | 21531 | using namespace std; | 
 | 21532 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21533 | int | 
 | 21534 | main () | 
 | 21535 | { | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 21536 | bidirectional_iterator<int,int> t; return 0; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21537 |   ; | 
 | 21538 |   return 0; | 
 | 21539 | } | 
 | 21540 | _ACEOF | 
 | 21541 | rm -f conftest.$ac_objext | 
 | 21542 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21543 |   (eval $ac_compile) 2>&5 | 
 | 21544 |   ac_status=$? | 
 | 21545 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21546 |   (exit $ac_status); } && | 
 | 21547 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21548 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21549 |   (eval $ac_try) 2>&5 | 
 | 21550 |   ac_status=$? | 
 | 21551 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21552 |   (exit $ac_status); }; }; then | 
 | 21553 |   ac_cv_cxx_have_bi_iterator=yes | 
 | 21554 | else | 
 | 21555 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21556 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21557 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21558 | ac_cv_cxx_have_bi_iterator=no | 
 | 21559 | fi | 
 | 21560 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21561 |   ac_ext=c | 
 | 21562 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21563 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21564 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21565 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21566 |  | 
 | 21567 |  | 
 | 21568 | fi | 
 | 21569 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5 | 
 | 21570 | echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6 | 
 | 21571 | if test "$ac_cv_cxx_have_bi_iterator" = yes; then | 
 | 21572 |  | 
 | 21573 | cat >>confdefs.h <<\_ACEOF | 
 | 21574 | #define HAVE_BI_ITERATOR | 
 | 21575 | _ACEOF | 
 | 21576 |  | 
 | 21577 | fi | 
 | 21578 |  | 
 | 21579 | echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5 | 
 | 21580 | echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6 | 
 | 21581 | if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then | 
 | 21582 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21583 | else | 
 | 21584 |  | 
 | 21585 |  | 
 | 21586 |  | 
 | 21587 |   ac_ext=cc | 
 | 21588 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 21589 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21590 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21591 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 21592 |  | 
 | 21593 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21594 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21595 | /* confdefs.h.  */ | 
 | 21596 | _ACEOF | 
 | 21597 | cat confdefs.h >>conftest.$ac_ext | 
 | 21598 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21599 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21600 | #include <iterator> | 
 | 21601 | #ifdef HAVE_NAMESPACES | 
 | 21602 | using namespace std; | 
 | 21603 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21604 | int | 
 | 21605 | main () | 
 | 21606 | { | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 21607 | forward_iterator<int,int> t; return 0; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21608 |   ; | 
 | 21609 |   return 0; | 
 | 21610 | } | 
 | 21611 | _ACEOF | 
 | 21612 | rm -f conftest.$ac_objext | 
 | 21613 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 21614 |   (eval $ac_compile) 2>&5 | 
 | 21615 |   ac_status=$? | 
 | 21616 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21617 |   (exit $ac_status); } && | 
 | 21618 |          { ac_try='test -s conftest.$ac_objext' | 
 | 21619 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21620 |   (eval $ac_try) 2>&5 | 
 | 21621 |   ac_status=$? | 
 | 21622 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21623 |   (exit $ac_status); }; }; then | 
 | 21624 |   ac_cv_cxx_have_fwd_iterator=yes | 
 | 21625 | else | 
 | 21626 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21627 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21628 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21629 | ac_cv_cxx_have_fwd_iterator=no | 
 | 21630 | fi | 
 | 21631 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 21632 |   ac_ext=c | 
 | 21633 | ac_cpp='$CPP $CPPFLAGS' | 
 | 21634 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 21635 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 21636 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 21637 |  | 
 | 21638 |  | 
 | 21639 | fi | 
 | 21640 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5 | 
 | 21641 | echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6 | 
 | 21642 | if test "$ac_cv_cxx_have_fwd_iterator" = yes; then | 
 | 21643 |  | 
 | 21644 | cat >>confdefs.h <<\_ACEOF | 
 | 21645 | #define HAVE_FWD_ITERATOR | 
 | 21646 | _ACEOF | 
 | 21647 |  | 
 | 21648 | fi | 
 | 21649 |  | 
 | 21650 |  | 
 | 21651 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 
 | 21652 | # for constant arguments.  Useless! | 
 | 21653 | echo "$as_me:$LINENO: checking for working alloca.h" >&5 | 
 | 21654 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 | 
 | 21655 | if test "${ac_cv_working_alloca_h+set}" = set; then | 
 | 21656 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21657 | else | 
 | 21658 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21659 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21660 | /* confdefs.h.  */ | 
 | 21661 | _ACEOF | 
 | 21662 | cat confdefs.h >>conftest.$ac_ext | 
 | 21663 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21664 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21665 | #include <alloca.h> | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21666 | int | 
 | 21667 | main () | 
 | 21668 | { | 
 | 21669 | char *p = (char *) alloca (2 * sizeof (int)); | 
 | 21670 |   ; | 
 | 21671 |   return 0; | 
 | 21672 | } | 
 | 21673 | _ACEOF | 
 | 21674 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 21675 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21676 |   (eval $ac_link) 2>&5 | 
 | 21677 |   ac_status=$? | 
 | 21678 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21679 |   (exit $ac_status); } && | 
 | 21680 |          { ac_try='test -s conftest$ac_exeext' | 
 | 21681 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21682 |   (eval $ac_try) 2>&5 | 
 | 21683 |   ac_status=$? | 
 | 21684 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21685 |   (exit $ac_status); }; }; then | 
 | 21686 |   ac_cv_working_alloca_h=yes | 
 | 21687 | else | 
 | 21688 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21689 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21690 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21691 | ac_cv_working_alloca_h=no | 
 | 21692 | fi | 
 | 21693 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 21694 | fi | 
 | 21695 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | 
 | 21696 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 | 
 | 21697 | if test $ac_cv_working_alloca_h = yes; then | 
 | 21698 |  | 
 | 21699 | cat >>confdefs.h <<\_ACEOF | 
 | 21700 | #define HAVE_ALLOCA_H 1 | 
 | 21701 | _ACEOF | 
 | 21702 |  | 
 | 21703 | fi | 
 | 21704 |  | 
 | 21705 | echo "$as_me:$LINENO: checking for alloca" >&5 | 
 | 21706 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 | 
 | 21707 | if test "${ac_cv_func_alloca_works+set}" = set; then | 
 | 21708 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21709 | else | 
 | 21710 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21711 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21712 | /* confdefs.h.  */ | 
 | 21713 | _ACEOF | 
 | 21714 | cat confdefs.h >>conftest.$ac_ext | 
 | 21715 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21716 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21717 | #ifdef __GNUC__ | 
 | 21718 | # define alloca __builtin_alloca | 
 | 21719 | #else | 
 | 21720 | # ifdef _MSC_VER | 
 | 21721 | #  include <malloc.h> | 
 | 21722 | #  define alloca _alloca | 
 | 21723 | # else | 
 | 21724 | #  if HAVE_ALLOCA_H | 
 | 21725 | #   include <alloca.h> | 
 | 21726 | #  else | 
 | 21727 | #   ifdef _AIX | 
 | 21728 |  #pragma alloca | 
 | 21729 | #   else | 
 | 21730 | #    ifndef alloca /* predefined by HP cc +Olibcalls */ | 
 | 21731 | char *alloca (); | 
 | 21732 | #    endif | 
 | 21733 | #   endif | 
 | 21734 | #  endif | 
 | 21735 | # endif | 
 | 21736 | #endif | 
 | 21737 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21738 | int | 
 | 21739 | main () | 
 | 21740 | { | 
 | 21741 | char *p = (char *) alloca (1); | 
 | 21742 |   ; | 
 | 21743 |   return 0; | 
 | 21744 | } | 
 | 21745 | _ACEOF | 
 | 21746 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 21747 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21748 |   (eval $ac_link) 2>&5 | 
 | 21749 |   ac_status=$? | 
 | 21750 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21751 |   (exit $ac_status); } && | 
 | 21752 |          { ac_try='test -s conftest$ac_exeext' | 
 | 21753 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21754 |   (eval $ac_try) 2>&5 | 
 | 21755 |   ac_status=$? | 
 | 21756 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21757 |   (exit $ac_status); }; }; then | 
 | 21758 |   ac_cv_func_alloca_works=yes | 
 | 21759 | else | 
 | 21760 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21761 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21762 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21763 | ac_cv_func_alloca_works=no | 
 | 21764 | fi | 
 | 21765 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 21766 | fi | 
 | 21767 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | 
 | 21768 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 | 
 | 21769 |  | 
 | 21770 | if test $ac_cv_func_alloca_works = yes; then | 
 | 21771 |  | 
 | 21772 | cat >>confdefs.h <<\_ACEOF | 
 | 21773 | #define HAVE_ALLOCA 1 | 
 | 21774 | _ACEOF | 
 | 21775 |  | 
 | 21776 | else | 
 | 21777 |   # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 
 | 21778 | # that cause trouble.  Some versions do not even contain alloca or | 
 | 21779 | # contain a buggy version.  If you still want to use their alloca, | 
 | 21780 | # use ar to extract alloca.o from them instead of compiling alloca.c. | 
 | 21781 |  | 
 | 21782 | ALLOCA=alloca.$ac_objext | 
 | 21783 |  | 
 | 21784 | cat >>confdefs.h <<\_ACEOF | 
 | 21785 | #define C_ALLOCA 1 | 
 | 21786 | _ACEOF | 
 | 21787 |  | 
 | 21788 |  | 
 | 21789 | echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | 
 | 21790 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 | 
 | 21791 | if test "${ac_cv_os_cray+set}" = set; then | 
 | 21792 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21793 | else | 
 | 21794 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21795 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21796 | /* confdefs.h.  */ | 
 | 21797 | _ACEOF | 
 | 21798 | cat confdefs.h >>conftest.$ac_ext | 
 | 21799 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21800 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21801 | #if defined(CRAY) && ! defined(CRAY2) | 
 | 21802 | webecray | 
 | 21803 | #else | 
 | 21804 | wenotbecray | 
 | 21805 | #endif | 
 | 21806 |  | 
 | 21807 | _ACEOF | 
 | 21808 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21809 |   $EGREP "webecray" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21810 |   ac_cv_os_cray=yes | 
 | 21811 | else | 
 | 21812 |   ac_cv_os_cray=no | 
 | 21813 | fi | 
 | 21814 | rm -f conftest* | 
 | 21815 |  | 
 | 21816 | fi | 
 | 21817 | echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 | 
 | 21818 | echo "${ECHO_T}$ac_cv_os_cray" >&6 | 
 | 21819 | if test $ac_cv_os_cray = yes; then | 
 | 21820 |   for ac_func in _getb67 GETB67 getb67; do | 
 | 21821 |     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 21822 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 21823 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 21824 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 21825 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21826 | else | 
 | 21827 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21828 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21829 | /* confdefs.h.  */ | 
 | 21830 | _ACEOF | 
 | 21831 | cat confdefs.h >>conftest.$ac_ext | 
 | 21832 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21833 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21834 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21835 |     which can conflict with char $ac_func (); below. | 
 | 21836 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 21837 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 21838 | #ifdef __STDC__ | 
 | 21839 | # include <limits.h> | 
 | 21840 | #else | 
 | 21841 | # include <assert.h> | 
 | 21842 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21843 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 21844 | #ifdef __cplusplus | 
 | 21845 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21846 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21847 | #endif | 
 | 21848 | /* We use char because int might match the return type of a gcc2 | 
 | 21849 |    builtin and then its argument prototype would still apply.  */ | 
 | 21850 | char $ac_func (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21851 | /* The GNU C library defines this for functions which it implements | 
 | 21852 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 21853 |     something starting with __ and the normal name is an alias.  */ | 
 | 21854 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 21855 | choke me | 
 | 21856 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21857 | char (*f) () = $ac_func; | 
 | 21858 | #endif | 
 | 21859 | #ifdef __cplusplus | 
 | 21860 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21861 | #endif | 
 | 21862 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21863 | int | 
 | 21864 | main () | 
 | 21865 | { | 
 | 21866 | return f != $ac_func; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21867 |   ; | 
 | 21868 |   return 0; | 
 | 21869 | } | 
 | 21870 | _ACEOF | 
 | 21871 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 21872 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21873 |   (eval $ac_link) 2>&5 | 
 | 21874 |   ac_status=$? | 
 | 21875 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21876 |   (exit $ac_status); } && | 
 | 21877 |          { ac_try='test -s conftest$ac_exeext' | 
 | 21878 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21879 |   (eval $ac_try) 2>&5 | 
 | 21880 |   ac_status=$? | 
 | 21881 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21882 |   (exit $ac_status); }; }; then | 
 | 21883 |   eval "$as_ac_var=yes" | 
 | 21884 | else | 
 | 21885 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21886 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21887 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21888 | eval "$as_ac_var=no" | 
 | 21889 | fi | 
 | 21890 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 21891 | fi | 
 | 21892 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 21893 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 21894 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 21895 |  | 
 | 21896 | cat >>confdefs.h <<_ACEOF | 
 | 21897 | #define CRAY_STACKSEG_END $ac_func | 
 | 21898 | _ACEOF | 
 | 21899 |  | 
 | 21900 |     break | 
 | 21901 | fi | 
 | 21902 |  | 
 | 21903 |   done | 
 | 21904 | fi | 
 | 21905 |  | 
 | 21906 | echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 | 
 | 21907 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 | 
 | 21908 | if test "${ac_cv_c_stack_direction+set}" = set; then | 
 | 21909 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21910 | else | 
 | 21911 |   if test "$cross_compiling" = yes; then | 
 | 21912 |   ac_cv_c_stack_direction=0 | 
 | 21913 | else | 
 | 21914 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21915 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21916 | /* confdefs.h.  */ | 
 | 21917 | _ACEOF | 
 | 21918 | cat confdefs.h >>conftest.$ac_ext | 
 | 21919 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21920 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21921 | int | 
 | 21922 | find_stack_direction () | 
 | 21923 | { | 
 | 21924 |   static char *addr = 0; | 
 | 21925 |   auto char dummy; | 
 | 21926 |   if (addr == 0) | 
 | 21927 |     { | 
 | 21928 |       addr = &dummy; | 
 | 21929 |       return find_stack_direction (); | 
 | 21930 |     } | 
 | 21931 |   else | 
 | 21932 |     return (&dummy > addr) ? 1 : -1; | 
 | 21933 | } | 
 | 21934 |  | 
 | 21935 | int | 
 | 21936 | main () | 
 | 21937 | { | 
 | 21938 |   exit (find_stack_direction () < 0); | 
 | 21939 | } | 
 | 21940 | _ACEOF | 
 | 21941 | rm -f conftest$ac_exeext | 
 | 21942 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 21943 |   (eval $ac_link) 2>&5 | 
 | 21944 |   ac_status=$? | 
 | 21945 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21946 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 21947 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 21948 |   (eval $ac_try) 2>&5 | 
 | 21949 |   ac_status=$? | 
 | 21950 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 21951 |   (exit $ac_status); }; }; then | 
 | 21952 |   ac_cv_c_stack_direction=1 | 
 | 21953 | else | 
 | 21954 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 21955 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21956 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 21957 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21958 | ( exit $ac_status ) | 
 | 21959 | ac_cv_c_stack_direction=-1 | 
 | 21960 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21961 | 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] | 21962 | fi | 
 | 21963 | fi | 
 | 21964 | echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | 
 | 21965 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 | 
 | 21966 |  | 
 | 21967 | cat >>confdefs.h <<_ACEOF | 
 | 21968 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 
 | 21969 | _ACEOF | 
 | 21970 |  | 
 | 21971 |  | 
 | 21972 | fi | 
 | 21973 |  | 
 | 21974 | if test $ac_cv_c_compiler_gnu = yes; then | 
 | 21975 |     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 | 
 | 21976 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 | 
 | 21977 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then | 
 | 21978 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 21979 | else | 
 | 21980 |     ac_pattern="Autoconf.*'x'" | 
 | 21981 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 21982 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21983 | /* confdefs.h.  */ | 
 | 21984 | _ACEOF | 
 | 21985 | cat confdefs.h >>conftest.$ac_ext | 
 | 21986 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 21987 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21988 | #include <sgtty.h> | 
 | 21989 | Autoconf TIOCGETP | 
 | 21990 | _ACEOF | 
 | 21991 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21992 |   $EGREP "$ac_pattern" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21993 |   ac_cv_prog_gcc_traditional=yes | 
 | 21994 | else | 
 | 21995 |   ac_cv_prog_gcc_traditional=no | 
 | 21996 | fi | 
 | 21997 | rm -f conftest* | 
 | 21998 |  | 
 | 21999 |  | 
 | 22000 |   if test $ac_cv_prog_gcc_traditional = no; then | 
 | 22001 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 22002 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22003 | /* confdefs.h.  */ | 
 | 22004 | _ACEOF | 
 | 22005 | cat confdefs.h >>conftest.$ac_ext | 
 | 22006 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22007 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22008 | #include <termio.h> | 
 | 22009 | Autoconf TCGETA | 
 | 22010 | _ACEOF | 
 | 22011 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22012 |   $EGREP "$ac_pattern" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22013 |   ac_cv_prog_gcc_traditional=yes | 
 | 22014 | fi | 
 | 22015 | rm -f conftest* | 
 | 22016 |  | 
 | 22017 |   fi | 
 | 22018 | fi | 
 | 22019 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 | 
 | 22020 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 | 
 | 22021 |   if test $ac_cv_prog_gcc_traditional = yes; then | 
 | 22022 |     CC="$CC -traditional" | 
 | 22023 |   fi | 
 | 22024 | fi | 
 | 22025 |  | 
 | 22026 | echo "$as_me:$LINENO: checking for working memcmp" >&5 | 
 | 22027 | echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 | 
 | 22028 | if test "${ac_cv_func_memcmp_working+set}" = set; then | 
 | 22029 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 22030 | else | 
 | 22031 |   if test "$cross_compiling" = yes; then | 
 | 22032 |   ac_cv_func_memcmp_working=no | 
 | 22033 | else | 
 | 22034 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 22035 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22036 | /* confdefs.h.  */ | 
 | 22037 | _ACEOF | 
 | 22038 | cat confdefs.h >>conftest.$ac_ext | 
 | 22039 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22040 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22041 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22042 | int | 
 | 22043 | main () | 
 | 22044 | { | 
 | 22045 |  | 
 | 22046 |   /* Some versions of memcmp are not 8-bit clean.  */ | 
 | 22047 |   char c0 = 0x40, c1 = 0x80, c2 = 0x81; | 
 | 22048 |   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) | 
 | 22049 |     exit (1); | 
 | 22050 |  | 
 | 22051 |   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes | 
 | 22052 |      or more and with at least one buffer not starting on a 4-byte boundary. | 
 | 22053 |      William Lewis provided this test program.   */ | 
 | 22054 |   { | 
 | 22055 |     char foo[21]; | 
 | 22056 |     char bar[21]; | 
 | 22057 |     int i; | 
 | 22058 |     for (i = 0; i < 4; i++) | 
 | 22059 |       { | 
 | 22060 |         char *a = foo + i; | 
 | 22061 |         char *b = bar + i; | 
 | 22062 |         strcpy (a, "--------01111111"); | 
 | 22063 |         strcpy (b, "--------10000000"); | 
 | 22064 |         if (memcmp (a, b, 16) >= 0) | 
 | 22065 |           exit (1); | 
 | 22066 |       } | 
 | 22067 |     exit (0); | 
 | 22068 |   } | 
 | 22069 |  | 
 | 22070 |   ; | 
 | 22071 |   return 0; | 
 | 22072 | } | 
 | 22073 | _ACEOF | 
 | 22074 | rm -f conftest$ac_exeext | 
 | 22075 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 22076 |   (eval $ac_link) 2>&5 | 
 | 22077 |   ac_status=$? | 
 | 22078 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22079 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 22080 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 22081 |   (eval $ac_try) 2>&5 | 
 | 22082 |   ac_status=$? | 
 | 22083 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22084 |   (exit $ac_status); }; }; then | 
 | 22085 |   ac_cv_func_memcmp_working=yes | 
 | 22086 | else | 
 | 22087 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 22088 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22089 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 22090 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22091 | ( exit $ac_status ) | 
 | 22092 | ac_cv_func_memcmp_working=no | 
 | 22093 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22094 | 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] | 22095 | fi | 
 | 22096 | fi | 
 | 22097 | echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 | 
 | 22098 | echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 | 
 | 22099 | test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext" | 
 | 22100 |  | 
 | 22101 |  | 
 | 22102 |  | 
 | 22103 | for ac_header in stdlib.h unistd.h | 
 | 22104 | do | 
 | 22105 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 22106 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 22107 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 22108 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 22109 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 22110 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 22111 | fi | 
 | 22112 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 22113 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 22114 | else | 
 | 22115 |   # Is the header compilable? | 
 | 22116 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 22117 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 22118 | cat >conftest.$ac_ext <<_ACEOF | 
 | 22119 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22120 | /* confdefs.h.  */ | 
 | 22121 | _ACEOF | 
 | 22122 | cat confdefs.h >>conftest.$ac_ext | 
 | 22123 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22124 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22125 | $ac_includes_default | 
 | 22126 | #include <$ac_header> | 
 | 22127 | _ACEOF | 
 | 22128 | rm -f conftest.$ac_objext | 
 | 22129 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 22130 |   (eval $ac_compile) 2>&5 | 
 | 22131 |   ac_status=$? | 
 | 22132 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22133 |   (exit $ac_status); } && | 
 | 22134 |          { ac_try='test -s conftest.$ac_objext' | 
 | 22135 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 22136 |   (eval $ac_try) 2>&5 | 
 | 22137 |   ac_status=$? | 
 | 22138 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22139 |   (exit $ac_status); }; }; then | 
 | 22140 |   ac_header_compiler=yes | 
 | 22141 | else | 
 | 22142 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22143 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 22144 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22145 | ac_header_compiler=no | 
 | 22146 | fi | 
 | 22147 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 22148 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 22149 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 22150 |  | 
 | 22151 | # Is the header present? | 
 | 22152 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 22153 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 22154 | cat >conftest.$ac_ext <<_ACEOF | 
 | 22155 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22156 | /* confdefs.h.  */ | 
 | 22157 | _ACEOF | 
 | 22158 | cat confdefs.h >>conftest.$ac_ext | 
 | 22159 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22160 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22161 | #include <$ac_header> | 
 | 22162 | _ACEOF | 
 | 22163 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 22164 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 22165 |   ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22166 |   grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22167 |   rm -f conftest.er1 | 
 | 22168 |   cat conftest.err >&5 | 
 | 22169 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22170 |   (exit $ac_status); } >/dev/null; then | 
 | 22171 |   if test -s conftest.err; then | 
 | 22172 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 22173 |   else | 
 | 22174 |     ac_cpp_err= | 
 | 22175 |   fi | 
 | 22176 | else | 
 | 22177 |   ac_cpp_err=yes | 
 | 22178 | fi | 
 | 22179 | if test -z "$ac_cpp_err"; then | 
 | 22180 |   ac_header_preproc=yes | 
 | 22181 | else | 
 | 22182 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22183 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 22184 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22185 |   ac_header_preproc=no | 
 | 22186 | fi | 
 | 22187 | rm -f conftest.err conftest.$ac_ext | 
 | 22188 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 22189 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 22190 |  | 
 | 22191 | # So?  What about this header? | 
 | 22192 | case $ac_header_compiler:$ac_header_preproc in | 
 | 22193 |   yes:no ) | 
 | 22194 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 22195 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 22196 |     { 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] | 22197 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 22198 |     ( | 
 | 22199 |       cat <<\_ASBOX | 
 | 22200 | ## ------------------------------------ ## | 
 | 22201 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 22202 | ## ------------------------------------ ## | 
 | 22203 | _ASBOX | 
 | 22204 |     ) | | 
 | 22205 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 22206 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22207 |   no:yes ) | 
 | 22208 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 22209 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 22210 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 22211 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 22212 |     { 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] | 22213 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
 | 22214 |     ( | 
 | 22215 |       cat <<\_ASBOX | 
 | 22216 | ## ------------------------------------ ## | 
 | 22217 | ## Report this to bug-autoconf@gnu.org. ## | 
 | 22218 | ## ------------------------------------ ## | 
 | 22219 | _ASBOX | 
 | 22220 |     ) | | 
 | 22221 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
 | 22222 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22223 | esac | 
 | 22224 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 22225 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 22226 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 22227 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 22228 | else | 
 | 22229 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 22230 | fi | 
 | 22231 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 22232 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 22233 |  | 
 | 22234 | fi | 
 | 22235 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 22236 |   cat >>confdefs.h <<_ACEOF | 
 | 22237 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 22238 | _ACEOF | 
 | 22239 |  | 
 | 22240 | fi | 
 | 22241 |  | 
 | 22242 | done | 
 | 22243 |  | 
 | 22244 |  | 
 | 22245 | for ac_func in getpagesize | 
 | 22246 | do | 
 | 22247 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 22248 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 22249 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 22250 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 22251 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 22252 | else | 
 | 22253 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 22254 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22255 | /* confdefs.h.  */ | 
 | 22256 | _ACEOF | 
 | 22257 | cat confdefs.h >>conftest.$ac_ext | 
 | 22258 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22259 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22260 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22261 |     which can conflict with char $ac_func (); below. | 
 | 22262 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 22263 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 22264 | #ifdef __STDC__ | 
 | 22265 | # include <limits.h> | 
 | 22266 | #else | 
 | 22267 | # include <assert.h> | 
 | 22268 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22269 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 22270 | #ifdef __cplusplus | 
 | 22271 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22272 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22273 | #endif | 
 | 22274 | /* We use char because int might match the return type of a gcc2 | 
 | 22275 |    builtin and then its argument prototype would still apply.  */ | 
 | 22276 | char $ac_func (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22277 | /* The GNU C library defines this for functions which it implements | 
 | 22278 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 22279 |     something starting with __ and the normal name is an alias.  */ | 
 | 22280 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 22281 | choke me | 
 | 22282 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22283 | char (*f) () = $ac_func; | 
 | 22284 | #endif | 
 | 22285 | #ifdef __cplusplus | 
 | 22286 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22287 | #endif | 
 | 22288 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22289 | int | 
 | 22290 | main () | 
 | 22291 | { | 
 | 22292 | return f != $ac_func; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22293 |   ; | 
 | 22294 |   return 0; | 
 | 22295 | } | 
 | 22296 | _ACEOF | 
 | 22297 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 22298 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 22299 |   (eval $ac_link) 2>&5 | 
 | 22300 |   ac_status=$? | 
 | 22301 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22302 |   (exit $ac_status); } && | 
 | 22303 |          { ac_try='test -s conftest$ac_exeext' | 
 | 22304 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 22305 |   (eval $ac_try) 2>&5 | 
 | 22306 |   ac_status=$? | 
 | 22307 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22308 |   (exit $ac_status); }; }; then | 
 | 22309 |   eval "$as_ac_var=yes" | 
 | 22310 | else | 
 | 22311 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22312 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 22313 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22314 | eval "$as_ac_var=no" | 
 | 22315 | fi | 
 | 22316 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 22317 | fi | 
 | 22318 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 22319 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 22320 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 22321 |   cat >>confdefs.h <<_ACEOF | 
 | 22322 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
 | 22323 | _ACEOF | 
 | 22324 |  | 
 | 22325 | fi | 
 | 22326 | done | 
 | 22327 |  | 
 | 22328 | echo "$as_me:$LINENO: checking for working mmap" >&5 | 
 | 22329 | echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 | 
 | 22330 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | 
 | 22331 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 22332 | else | 
 | 22333 |   if test "$cross_compiling" = yes; then | 
 | 22334 |   ac_cv_func_mmap_fixed_mapped=no | 
 | 22335 | else | 
 | 22336 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 22337 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22338 | /* confdefs.h.  */ | 
 | 22339 | _ACEOF | 
 | 22340 | cat confdefs.h >>conftest.$ac_ext | 
 | 22341 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22342 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22343 | $ac_includes_default | 
 | 22344 | /* malloc might have been renamed as rpl_malloc. */ | 
 | 22345 | #undef malloc | 
 | 22346 |  | 
 | 22347 | /* Thanks to Mike Haertel and Jim Avera for this test. | 
 | 22348 |    Here is a matrix of mmap possibilities: | 
 | 22349 | 	mmap private not fixed | 
 | 22350 | 	mmap private fixed at somewhere currently unmapped | 
 | 22351 | 	mmap private fixed at somewhere already mapped | 
 | 22352 | 	mmap shared not fixed | 
 | 22353 | 	mmap shared fixed at somewhere currently unmapped | 
 | 22354 | 	mmap shared fixed at somewhere already mapped | 
 | 22355 |    For private mappings, we should verify that changes cannot be read() | 
 | 22356 |    back from the file, nor mmap's back from the file at a different | 
 | 22357 |    address.  (There have been systems where private was not correctly | 
 | 22358 |    implemented like the infamous i386 svr4.0, and systems where the | 
 | 22359 |    VM page cache was not coherent with the file system buffer cache | 
 | 22360 |    like early versions of FreeBSD and possibly contemporary NetBSD.) | 
 | 22361 |    For shared mappings, we should conversely verify that changes get | 
 | 22362 |    propagated back to all the places they're supposed to be. | 
 | 22363 |  | 
 | 22364 |    Grep wants private fixed already mapped. | 
 | 22365 |    The main things grep needs to know about mmap are: | 
 | 22366 |    * does it exist and is it safe to write into the mmap'd area | 
 | 22367 |    * how to use it (BSD variants)  */ | 
 | 22368 |  | 
 | 22369 | #include <fcntl.h> | 
 | 22370 | #include <sys/mman.h> | 
 | 22371 |  | 
 | 22372 | #if !STDC_HEADERS && !HAVE_STDLIB_H | 
 | 22373 | char *malloc (); | 
 | 22374 | #endif | 
 | 22375 |  | 
 | 22376 | /* This mess was copied from the GNU getpagesize.h.  */ | 
 | 22377 | #if !HAVE_GETPAGESIZE | 
 | 22378 | /* Assume that all systems that can run configure have sys/param.h.  */ | 
 | 22379 | # if !HAVE_SYS_PARAM_H | 
 | 22380 | #  define HAVE_SYS_PARAM_H 1 | 
 | 22381 | # endif | 
 | 22382 |  | 
 | 22383 | # ifdef _SC_PAGESIZE | 
 | 22384 | #  define getpagesize() sysconf(_SC_PAGESIZE) | 
 | 22385 | # else /* no _SC_PAGESIZE */ | 
 | 22386 | #  if HAVE_SYS_PARAM_H | 
 | 22387 | #   include <sys/param.h> | 
 | 22388 | #   ifdef EXEC_PAGESIZE | 
 | 22389 | #    define getpagesize() EXEC_PAGESIZE | 
 | 22390 | #   else /* no EXEC_PAGESIZE */ | 
 | 22391 | #    ifdef NBPG | 
 | 22392 | #     define getpagesize() NBPG * CLSIZE | 
 | 22393 | #     ifndef CLSIZE | 
 | 22394 | #      define CLSIZE 1 | 
 | 22395 | #     endif /* no CLSIZE */ | 
 | 22396 | #    else /* no NBPG */ | 
 | 22397 | #     ifdef NBPC | 
 | 22398 | #      define getpagesize() NBPC | 
 | 22399 | #     else /* no NBPC */ | 
 | 22400 | #      ifdef PAGESIZE | 
 | 22401 | #       define getpagesize() PAGESIZE | 
 | 22402 | #      endif /* PAGESIZE */ | 
 | 22403 | #     endif /* no NBPC */ | 
 | 22404 | #    endif /* no NBPG */ | 
 | 22405 | #   endif /* no EXEC_PAGESIZE */ | 
 | 22406 | #  else /* no HAVE_SYS_PARAM_H */ | 
 | 22407 | #   define getpagesize() 8192	/* punt totally */ | 
 | 22408 | #  endif /* no HAVE_SYS_PARAM_H */ | 
 | 22409 | # endif /* no _SC_PAGESIZE */ | 
 | 22410 |  | 
 | 22411 | #endif /* no HAVE_GETPAGESIZE */ | 
 | 22412 |  | 
 | 22413 | int | 
 | 22414 | main () | 
 | 22415 | { | 
 | 22416 |   char *data, *data2, *data3; | 
 | 22417 |   int i, pagesize; | 
 | 22418 |   int fd; | 
 | 22419 |  | 
 | 22420 |   pagesize = getpagesize (); | 
 | 22421 |  | 
 | 22422 |   /* First, make a file with some known garbage in it. */ | 
 | 22423 |   data = (char *) malloc (pagesize); | 
 | 22424 |   if (!data) | 
 | 22425 |     exit (1); | 
 | 22426 |   for (i = 0; i < pagesize; ++i) | 
 | 22427 |     *(data + i) = rand (); | 
 | 22428 |   umask (0); | 
 | 22429 |   fd = creat ("conftest.mmap", 0600); | 
 | 22430 |   if (fd < 0) | 
 | 22431 |     exit (1); | 
 | 22432 |   if (write (fd, data, pagesize) != pagesize) | 
 | 22433 |     exit (1); | 
 | 22434 |   close (fd); | 
 | 22435 |  | 
 | 22436 |   /* Next, try to mmap the file at a fixed address which already has | 
 | 22437 |      something else allocated at it.  If we can, also make sure that | 
 | 22438 |      we see the same garbage.  */ | 
 | 22439 |   fd = open ("conftest.mmap", O_RDWR); | 
 | 22440 |   if (fd < 0) | 
 | 22441 |     exit (1); | 
 | 22442 |   data2 = (char *) malloc (2 * pagesize); | 
 | 22443 |   if (!data2) | 
 | 22444 |     exit (1); | 
 | 22445 |   data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); | 
 | 22446 |   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 
 | 22447 |                      MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 
 | 22448 |     exit (1); | 
 | 22449 |   for (i = 0; i < pagesize; ++i) | 
 | 22450 |     if (*(data + i) != *(data2 + i)) | 
 | 22451 |       exit (1); | 
 | 22452 |  | 
 | 22453 |   /* Finally, make sure that changes to the mapped area do not | 
 | 22454 |      percolate back to the file as seen by read().  (This is a bug on | 
 | 22455 |      some variants of i386 svr4.0.)  */ | 
 | 22456 |   for (i = 0; i < pagesize; ++i) | 
 | 22457 |     *(data2 + i) = *(data2 + i) + 1; | 
 | 22458 |   data3 = (char *) malloc (pagesize); | 
 | 22459 |   if (!data3) | 
 | 22460 |     exit (1); | 
 | 22461 |   if (read (fd, data3, pagesize) != pagesize) | 
 | 22462 |     exit (1); | 
 | 22463 |   for (i = 0; i < pagesize; ++i) | 
 | 22464 |     if (*(data + i) != *(data3 + i)) | 
 | 22465 |       exit (1); | 
 | 22466 |   close (fd); | 
 | 22467 |   exit (0); | 
 | 22468 | } | 
 | 22469 | _ACEOF | 
 | 22470 | rm -f conftest$ac_exeext | 
 | 22471 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 22472 |   (eval $ac_link) 2>&5 | 
 | 22473 |   ac_status=$? | 
 | 22474 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22475 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 22476 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 22477 |   (eval $ac_try) 2>&5 | 
 | 22478 |   ac_status=$? | 
 | 22479 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22480 |   (exit $ac_status); }; }; then | 
 | 22481 |   ac_cv_func_mmap_fixed_mapped=yes | 
 | 22482 | else | 
 | 22483 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 22484 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22485 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 22486 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22487 | ( exit $ac_status ) | 
 | 22488 | ac_cv_func_mmap_fixed_mapped=no | 
 | 22489 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22490 | 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] | 22491 | fi | 
 | 22492 | fi | 
 | 22493 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 
 | 22494 | echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 | 
 | 22495 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | 
 | 22496 |  | 
 | 22497 | cat >>confdefs.h <<\_ACEOF | 
 | 22498 | #define HAVE_MMAP 1 | 
 | 22499 | _ACEOF | 
 | 22500 |  | 
 | 22501 | fi | 
 | 22502 | rm -f conftest.mmap | 
 | 22503 |  | 
 | 22504 | echo "$as_me:$LINENO: checking for mmap of files" >&5 | 
 | 22505 | echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6 | 
 | 22506 | if test "${ac_cv_func_mmap_file+set}" = set; then | 
 | 22507 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 22508 | else | 
 | 22509 |  | 
 | 22510 |  | 
 | 22511 |   ac_ext=c | 
 | 22512 | ac_cpp='$CPP $CPPFLAGS' | 
 | 22513 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 22514 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 22515 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 22516 |  | 
 | 22517 |   if test "$cross_compiling" = yes; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22518 |   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 
 | 22519 | See \`config.log' for more details." >&5 | 
 | 22520 | echo "$as_me: error: cannot run test program while cross compiling | 
 | 22521 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22522 |    { (exit 1); exit 1; }; } | 
 | 22523 | else | 
 | 22524 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 22525 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22526 | /* confdefs.h.  */ | 
 | 22527 | _ACEOF | 
 | 22528 | cat confdefs.h >>conftest.$ac_ext | 
 | 22529 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22530 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22531 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22532 | #ifdef HAVE_SYS_TYPES_H | 
 | 22533 | #include <sys/types.h> | 
 | 22534 | #endif | 
 | 22535 |  | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 22536 | #ifdef HAVE_SYS_MMAN_H | 
 | 22537 | #include <sys/mman.h> | 
 | 22538 | #endif | 
 | 22539 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22540 | #ifdef HAVE_FCNTL_H | 
 | 22541 | #include <fcntl.h> | 
 | 22542 | #endif | 
 | 22543 |  | 
 | 22544 |   int fd; | 
 | 22545 |   int main () { | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 22546 |   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] | 22547 | _ACEOF | 
 | 22548 | rm -f conftest$ac_exeext | 
 | 22549 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 22550 |   (eval $ac_link) 2>&5 | 
 | 22551 |   ac_status=$? | 
 | 22552 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22553 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 22554 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 22555 |   (eval $ac_try) 2>&5 | 
 | 22556 |   ac_status=$? | 
 | 22557 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22558 |   (exit $ac_status); }; }; then | 
 | 22559 |   ac_cv_func_mmap_file=yes | 
 | 22560 | else | 
 | 22561 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 22562 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22563 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 22564 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22565 | ( exit $ac_status ) | 
 | 22566 | ac_cv_func_mmap_file=no | 
 | 22567 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22568 | 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] | 22569 | fi | 
 | 22570 |   ac_ext=c | 
 | 22571 | ac_cpp='$CPP $CPPFLAGS' | 
 | 22572 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 22573 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 22574 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 22575 |  | 
 | 22576 |  | 
 | 22577 | fi | 
 | 22578 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5 | 
 | 22579 | echo "${ECHO_T}$ac_cv_func_mmap_file" >&6 | 
 | 22580 | if test "$ac_cv_func_mmap_file" = yes; then | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 22581 |  | 
 | 22582 | cat >>confdefs.h <<\_ACEOF | 
 | 22583 | #define HAVE_MMAP_FILE | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22584 | _ACEOF | 
 | 22585 |  | 
 | 22586 |    MMAP_FILE=yes | 
 | 22587 |  | 
 | 22588 | fi | 
 | 22589 |  | 
 | 22590 | if test ${ac_cv_func_mmap_file} = "no" | 
 | 22591 | then | 
 | 22592 | 	{ { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5 | 
 | 22593 | echo "$as_me: error: mmap() of files required but not found" >&2;} | 
 | 22594 |    { (exit 1); exit 1; }; } | 
 | 22595 | fi | 
 | 22596 | echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5 | 
 | 22597 | echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6 | 
 | 22598 | if test "${ac_cv_header_mmap_anon+set}" = set; then | 
 | 22599 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 22600 | else | 
 | 22601 |  | 
 | 22602 |  | 
 | 22603 |   ac_ext=c | 
 | 22604 | ac_cpp='$CPP $CPPFLAGS' | 
 | 22605 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 22606 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 22607 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 22608 |  | 
 | 22609 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 22610 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22611 | /* confdefs.h.  */ | 
 | 22612 | _ACEOF | 
 | 22613 | cat confdefs.h >>conftest.$ac_ext | 
 | 22614 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22615 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22616 | #include <sys/mman.h> | 
 | 22617 |   #include <unistd.h> | 
 | 22618 |   #include <fcntl.h> | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22619 | int | 
 | 22620 | main () | 
 | 22621 | { | 
 | 22622 | mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0); | 
 | 22623 |   ; | 
 | 22624 |   return 0; | 
 | 22625 | } | 
 | 22626 | _ACEOF | 
 | 22627 | rm -f conftest.$ac_objext | 
 | 22628 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 22629 |   (eval $ac_compile) 2>&5 | 
 | 22630 |   ac_status=$? | 
 | 22631 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22632 |   (exit $ac_status); } && | 
 | 22633 |          { ac_try='test -s conftest.$ac_objext' | 
 | 22634 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 22635 |   (eval $ac_try) 2>&5 | 
 | 22636 |   ac_status=$? | 
 | 22637 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22638 |   (exit $ac_status); }; }; then | 
 | 22639 |   ac_cv_header_mmap_anon=yes | 
 | 22640 | else | 
 | 22641 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22642 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 22643 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22644 | ac_cv_header_mmap_anon=no | 
 | 22645 | fi | 
 | 22646 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 22647 |   ac_ext=c | 
 | 22648 | ac_cpp='$CPP $CPPFLAGS' | 
 | 22649 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 22650 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 22651 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 22652 |  | 
 | 22653 |  | 
 | 22654 | fi | 
 | 22655 | echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5 | 
 | 22656 | echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6 | 
 | 22657 | if test "$ac_cv_header_mmap_anon" = yes; then | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 22658 |  | 
 | 22659 | cat >>confdefs.h <<\_ACEOF | 
 | 22660 | #define HAVE_MMAP_ANONYMOUS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22661 | _ACEOF | 
 | 22662 |  | 
 | 22663 | fi | 
 | 22664 |  | 
 | 22665 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | 
 | 22666 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 | 
 | 22667 | if test "${ac_cv_type_signal+set}" = set; then | 
 | 22668 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 22669 | else | 
 | 22670 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 22671 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22672 | /* confdefs.h.  */ | 
 | 22673 | _ACEOF | 
 | 22674 | cat confdefs.h >>conftest.$ac_ext | 
 | 22675 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22676 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22677 | #include <sys/types.h> | 
 | 22678 | #include <signal.h> | 
 | 22679 | #ifdef signal | 
 | 22680 | # undef signal | 
 | 22681 | #endif | 
 | 22682 | #ifdef __cplusplus | 
 | 22683 | extern "C" void (*signal (int, void (*)(int)))(int); | 
 | 22684 | #else | 
 | 22685 | void (*signal ()) (); | 
 | 22686 | #endif | 
 | 22687 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22688 | int | 
 | 22689 | main () | 
 | 22690 | { | 
 | 22691 | int i; | 
 | 22692 |   ; | 
 | 22693 |   return 0; | 
 | 22694 | } | 
 | 22695 | _ACEOF | 
 | 22696 | rm -f conftest.$ac_objext | 
 | 22697 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 22698 |   (eval $ac_compile) 2>&5 | 
 | 22699 |   ac_status=$? | 
 | 22700 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22701 |   (exit $ac_status); } && | 
 | 22702 |          { ac_try='test -s conftest.$ac_objext' | 
 | 22703 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 22704 |   (eval $ac_try) 2>&5 | 
 | 22705 |   ac_status=$? | 
 | 22706 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22707 |   (exit $ac_status); }; }; then | 
 | 22708 |   ac_cv_type_signal=void | 
 | 22709 | else | 
 | 22710 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22711 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 22712 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22713 | ac_cv_type_signal=int | 
 | 22714 | fi | 
 | 22715 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 22716 | fi | 
 | 22717 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 
 | 22718 | echo "${ECHO_T}$ac_cv_type_signal" >&6 | 
 | 22719 |  | 
 | 22720 | cat >>confdefs.h <<_ACEOF | 
 | 22721 | #define RETSIGTYPE $ac_cv_type_signal | 
 | 22722 | _ACEOF | 
 | 22723 |  | 
 | 22724 |  | 
 | 22725 |  | 
 | 22726 |  | 
 | 22727 |  | 
 | 22728 |  | 
 | 22729 |  | 
 | 22730 |  | 
 | 22731 |  | 
 | 22732 |  | 
 | 22733 |  | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 22734 |  | 
 | 22735 |  | 
| John Criswell | a0137d3 | 2003-10-13 16:22:01 +0000 | [diff] [blame] | 22736 | for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22737 | do | 
 | 22738 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 22739 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 22740 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 22741 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 22742 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 22743 | else | 
 | 22744 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 22745 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22746 | /* confdefs.h.  */ | 
 | 22747 | _ACEOF | 
 | 22748 | cat confdefs.h >>conftest.$ac_ext | 
 | 22749 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22750 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22751 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22752 |     which can conflict with char $ac_func (); below. | 
 | 22753 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 22754 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 22755 | #ifdef __STDC__ | 
 | 22756 | # include <limits.h> | 
 | 22757 | #else | 
 | 22758 | # include <assert.h> | 
 | 22759 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22760 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 22761 | #ifdef __cplusplus | 
 | 22762 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22763 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22764 | #endif | 
 | 22765 | /* We use char because int might match the return type of a gcc2 | 
 | 22766 |    builtin and then its argument prototype would still apply.  */ | 
 | 22767 | char $ac_func (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22768 | /* The GNU C library defines this for functions which it implements | 
 | 22769 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 22770 |     something starting with __ and the normal name is an alias.  */ | 
 | 22771 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 22772 | choke me | 
 | 22773 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22774 | char (*f) () = $ac_func; | 
 | 22775 | #endif | 
 | 22776 | #ifdef __cplusplus | 
 | 22777 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22778 | #endif | 
 | 22779 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22780 | int | 
 | 22781 | main () | 
 | 22782 | { | 
 | 22783 | return f != $ac_func; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22784 |   ; | 
 | 22785 |   return 0; | 
 | 22786 | } | 
 | 22787 | _ACEOF | 
 | 22788 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 22789 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 22790 |   (eval $ac_link) 2>&5 | 
 | 22791 |   ac_status=$? | 
 | 22792 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22793 |   (exit $ac_status); } && | 
 | 22794 |          { ac_try='test -s conftest$ac_exeext' | 
 | 22795 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 22796 |   (eval $ac_try) 2>&5 | 
 | 22797 |   ac_status=$? | 
 | 22798 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22799 |   (exit $ac_status); }; }; then | 
 | 22800 |   eval "$as_ac_var=yes" | 
 | 22801 | else | 
 | 22802 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22803 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 22804 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22805 | eval "$as_ac_var=no" | 
 | 22806 | fi | 
 | 22807 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 22808 | fi | 
 | 22809 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 22810 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 22811 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 22812 |   cat >>confdefs.h <<_ACEOF | 
 | 22813 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
 | 22814 | _ACEOF | 
 | 22815 |  | 
 | 22816 | fi | 
 | 22817 | done | 
 | 22818 |  | 
 | 22819 |  | 
 | 22820 |  | 
 | 22821 | echo "$as_me:$LINENO: checking for mmap" >&5 | 
 | 22822 | echo $ECHO_N "checking for mmap... $ECHO_C" >&6 | 
 | 22823 | if test "${ac_cv_func_mmap+set}" = set; then | 
 | 22824 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 22825 | else | 
 | 22826 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 22827 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22828 | /* confdefs.h.  */ | 
 | 22829 | _ACEOF | 
 | 22830 | cat confdefs.h >>conftest.$ac_ext | 
 | 22831 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22832 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22833 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22834 |     which can conflict with char mmap (); below. | 
 | 22835 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 22836 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 22837 | #ifdef __STDC__ | 
 | 22838 | # include <limits.h> | 
 | 22839 | #else | 
 | 22840 | # include <assert.h> | 
 | 22841 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22842 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 22843 | #ifdef __cplusplus | 
 | 22844 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22845 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22846 | #endif | 
 | 22847 | /* We use char because int might match the return type of a gcc2 | 
 | 22848 |    builtin and then its argument prototype would still apply.  */ | 
 | 22849 | char mmap (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22850 | /* The GNU C library defines this for functions which it implements | 
 | 22851 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 22852 |     something starting with __ and the normal name is an alias.  */ | 
 | 22853 | #if defined (__stub_mmap) || defined (__stub___mmap) | 
 | 22854 | choke me | 
 | 22855 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22856 | char (*f) () = mmap; | 
 | 22857 | #endif | 
 | 22858 | #ifdef __cplusplus | 
 | 22859 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22860 | #endif | 
 | 22861 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22862 | int | 
 | 22863 | main () | 
 | 22864 | { | 
 | 22865 | return f != mmap; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22866 |   ; | 
 | 22867 |   return 0; | 
 | 22868 | } | 
 | 22869 | _ACEOF | 
 | 22870 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 22871 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 22872 |   (eval $ac_link) 2>&5 | 
 | 22873 |   ac_status=$? | 
 | 22874 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22875 |   (exit $ac_status); } && | 
 | 22876 |          { ac_try='test -s conftest$ac_exeext' | 
 | 22877 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 22878 |   (eval $ac_try) 2>&5 | 
 | 22879 |   ac_status=$? | 
 | 22880 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22881 |   (exit $ac_status); }; }; then | 
 | 22882 |   ac_cv_func_mmap=yes | 
 | 22883 | else | 
 | 22884 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22885 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 22886 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22887 | ac_cv_func_mmap=no | 
 | 22888 | fi | 
 | 22889 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 22890 | fi | 
 | 22891 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5 | 
 | 22892 | echo "${ECHO_T}$ac_cv_func_mmap" >&6 | 
 | 22893 | if test $ac_cv_func_mmap = yes; then | 
 | 22894 |   : | 
 | 22895 | else | 
 | 22896 |   { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5 | 
 | 22897 | echo "$as_me: error: Function mmap() required but not found" >&2;} | 
 | 22898 |    { (exit 1); exit 1; }; } | 
 | 22899 | fi | 
 | 22900 |  | 
 | 22901 | echo "$as_me:$LINENO: checking for mprotect" >&5 | 
 | 22902 | echo $ECHO_N "checking for mprotect... $ECHO_C" >&6 | 
 | 22903 | if test "${ac_cv_func_mprotect+set}" = set; then | 
 | 22904 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 22905 | else | 
 | 22906 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 22907 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22908 | /* confdefs.h.  */ | 
 | 22909 | _ACEOF | 
 | 22910 | cat confdefs.h >>conftest.$ac_ext | 
 | 22911 | cat >>conftest.$ac_ext <<_ACEOF | 
 | 22912 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22913 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22914 |     which can conflict with char mprotect (); below. | 
 | 22915 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
 | 22916 |     <limits.h> exists even on freestanding compilers.  */ | 
 | 22917 | #ifdef __STDC__ | 
 | 22918 | # include <limits.h> | 
 | 22919 | #else | 
 | 22920 | # include <assert.h> | 
 | 22921 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22922 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 22923 | #ifdef __cplusplus | 
 | 22924 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22925 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22926 | #endif | 
 | 22927 | /* We use char because int might match the return type of a gcc2 | 
 | 22928 |    builtin and then its argument prototype would still apply.  */ | 
 | 22929 | char mprotect (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22930 | /* The GNU C library defines this for functions which it implements | 
 | 22931 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 22932 |     something starting with __ and the normal name is an alias.  */ | 
 | 22933 | #if defined (__stub_mprotect) || defined (__stub___mprotect) | 
 | 22934 | choke me | 
 | 22935 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22936 | char (*f) () = mprotect; | 
 | 22937 | #endif | 
 | 22938 | #ifdef __cplusplus | 
 | 22939 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22940 | #endif | 
 | 22941 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22942 | int | 
 | 22943 | main () | 
 | 22944 | { | 
 | 22945 | return f != mprotect; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22946 |   ; | 
 | 22947 |   return 0; | 
 | 22948 | } | 
 | 22949 | _ACEOF | 
 | 22950 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 22951 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 22952 |   (eval $ac_link) 2>&5 | 
 | 22953 |   ac_status=$? | 
 | 22954 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22955 |   (exit $ac_status); } && | 
 | 22956 |          { ac_try='test -s conftest$ac_exeext' | 
 | 22957 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 22958 |   (eval $ac_try) 2>&5 | 
 | 22959 |   ac_status=$? | 
 | 22960 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 22961 |   (exit $ac_status); }; }; then | 
 | 22962 |   ac_cv_func_mprotect=yes | 
 | 22963 | else | 
 | 22964 |   echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22965 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 22966 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22967 | ac_cv_func_mprotect=no | 
 | 22968 | fi | 
 | 22969 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 22970 | fi | 
 | 22971 | echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5 | 
 | 22972 | echo "${ECHO_T}$ac_cv_func_mprotect" >&6 | 
 | 22973 | if test $ac_cv_func_mprotect = yes; then | 
 | 22974 |   : | 
 | 22975 | else | 
 | 22976 |   { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5 | 
 | 22977 | echo "$as_me: error: Function mprotect() required but not found" >&2;} | 
 | 22978 |    { (exit 1); exit 1; }; } | 
 | 22979 | fi | 
 | 22980 |  | 
 | 22981 |  | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22982 |  | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 22983 |  | 
 | 22984 |  | 
 | 22985 |   ac_ext=c | 
 | 22986 | ac_cpp='$CPP $CPPFLAGS' | 
 | 22987 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 22988 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 22989 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 22990 |  | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame^] | 22991 |   oldcflags="$CFLAGS" | 
 | 22992 |   CFLAGS="$CFLAGS -Wl,-R." | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 22993 |   cat >conftest.$ac_ext <<_ACEOF | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame^] | 22994 | int main() { return 0; } | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 22995 | _ACEOF | 
 | 22996 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 22997 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 22998 |   (eval $ac_link) 2>&5 | 
 | 22999 |   ac_status=$? | 
 | 23000 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 23001 |   (exit $ac_status); } && | 
 | 23002 |          { ac_try='test -s conftest$ac_exeext' | 
 | 23003 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 23004 |   (eval $ac_try) 2>&5 | 
 | 23005 |   ac_status=$? | 
 | 23006 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 23007 |   (exit $ac_status); }; }; then | 
 | 23008 |   ac_cv_link_use_r=yes | 
 | 23009 | else | 
 | 23010 |   echo "$as_me: failed program was:" >&5 | 
 | 23011 | sed 's/^/| /' conftest.$ac_ext >&5 | 
 | 23012 |  | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame^] | 23013 | ac_cv_link_use_r=no | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 23014 | fi | 
 | 23015 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame^] | 23016 |   CFLAGS="$oldcflags" | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 23017 |   ac_ext=c | 
 | 23018 | ac_cpp='$CPP $CPPFLAGS' | 
 | 23019 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 23020 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 23021 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 23022 |  | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame^] | 23023 |   if test "$ac_cv_link_use_r" = yes | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 23024 |   then | 
| Brian Gaeke | f91a15c | 2003-11-18 06:20:41 +0000 | [diff] [blame^] | 23025 |  | 
 | 23026 | cat >>confdefs.h <<\_ACEOF | 
| John Criswell | cb7a1eb | 2003-11-17 19:46:02 +0000 | [diff] [blame] | 23027 | #define HAVE_LINK_R 1 | 
 | 23028 | _ACEOF | 
 | 23029 |  | 
 | 23030 |   fi | 
 | 23031 |  | 
 | 23032 |  | 
 | 23033 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23034 | # Check whether --enable-purify or --disable-purify was given. | 
 | 23035 | if test "${enable_purify+set}" = set; then | 
 | 23036 |   enableval="$enable_purify" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23037 |  | 
 | 23038 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23039 |   enableval="no" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23040 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23041 | if test ${enableval} = "no" | 
 | 23042 | then | 
 | 23043 | 	ENABLE_PURIFY= | 
 | 23044 |  | 
 | 23045 | else | 
 | 23046 | 	ENABLE_PURIFY=ENABLE_PURIFY=1 | 
 | 23047 |  | 
 | 23048 | fi | 
 | 23049 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23050 | # Check whether --enable-optimized or --disable-optimized was given. | 
 | 23051 | if test "${enable_optimized+set}" = set; then | 
 | 23052 |   enableval="$enable_optimized" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23053 |  | 
 | 23054 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23055 |   enableval=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23056 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23057 | if test ${enableval} = "no" | 
 | 23058 | then | 
 | 23059 | 	ENABLE_OPTIMIZED= | 
 | 23060 |  | 
 | 23061 | else | 
 | 23062 | 	ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1 | 
 | 23063 |  | 
 | 23064 | fi | 
 | 23065 |  | 
| John Criswell | 5512659 | 2003-10-07 21:57:39 +0000 | [diff] [blame] | 23066 | # Check whether --enable-spec2000 or --disable-spec2000 was given. | 
 | 23067 | if test "${enable_spec2000+set}" = set; then | 
 | 23068 |   enableval="$enable_spec2000" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23069 |  | 
 | 23070 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23071 |   enableval=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23072 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23073 | if test ${enableval} = "no" | 
 | 23074 | then | 
| John Criswell | 5512659 | 2003-10-07 21:57:39 +0000 | [diff] [blame] | 23075 | 	if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec | 
 | 23076 | 	then | 
 | 23077 | 		SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23078 |  | 
| John Criswell | 5512659 | 2003-10-07 21:57:39 +0000 | [diff] [blame] | 23079 | 		USE_SPEC=USE_SPEC=1 | 
 | 23080 |  | 
 | 23081 | 	else | 
 | 23082 | 		USE_SPEC= | 
 | 23083 |  | 
 | 23084 |  | 
 | 23085 | 	fi | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23086 | else | 
| John Criswell | 5512659 | 2003-10-07 21:57:39 +0000 | [diff] [blame] | 23087 | 	if test ${enableval} = "" | 
 | 23088 | 	then | 
 | 23089 | 		SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec | 
 | 23090 |  | 
 | 23091 | 	else | 
 | 23092 | 		SPEC_ROOT=${enableval} | 
 | 23093 |  | 
 | 23094 | 	fi | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23095 | 	USE_SPEC=USE_SPEC=1 | 
 | 23096 |  | 
 | 23097 | fi | 
 | 23098 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23099 | # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given. | 
 | 23100 | if test "${enable_precompiled_bytecode+set}" = set; then | 
 | 23101 |   enableval="$enable_precompiled_bytecode" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23102 |  | 
 | 23103 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23104 |   enableval=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23105 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23106 | if test ${enableval} = "no" | 
 | 23107 | then | 
 | 23108 | 	UPB= | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 23109 |  | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23110 | else | 
 | 23111 | 	UPB=USE_PRECOMPILED_BYTECODE=1 | 
 | 23112 |  | 
 | 23113 | fi | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 23114 |  | 
 | 23115 |  | 
 | 23116 | # Check whether --enable-llc_diffs or --disable-llc_diffs was given. | 
 | 23117 | if test "${enable_llc_diffs+set}" = set; then | 
 | 23118 |   enableval="$enable_llc_diffs" | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 23119 |  | 
 | 23120 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23121 |   enableval=yes | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 23122 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23123 | if test ${enableval} = "no" | 
 | 23124 | then | 
 | 23125 | 	DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1 | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 23126 |  | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23127 | else | 
 | 23128 | 	DISABLE_LLC_DIFFS= | 
 | 23129 |  | 
 | 23130 | fi | 
 | 23131 |  | 
 | 23132 | # Check whether --enable-jit or --disable-jit was given. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23133 | if test "${enable_jit+set}" = set; then | 
 | 23134 |   enableval="$enable_jit" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23135 |  | 
 | 23136 | else | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 23137 |   enableval=default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23138 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23139 |  | 
 | 23140 | if test ${enableval} = "no" | 
 | 23141 | then | 
 | 23142 | 	JIT= | 
 | 23143 |  | 
 | 23144 | else | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 23145 | 	case $target in | 
 | 23146 | 		*i*86*) | 
 | 23147 | 			JIT=TARGET_HAS_JIT=1 | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23148 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 23149 | 			;; | 
 | 23150 | 		*sparc*) | 
 | 23151 | 			JIT=TARGET_HAS_JIT=1 | 
 | 23152 |  | 
 | 23153 | 			;; | 
 | 23154 | 		*) | 
 | 23155 | 			JIT= | 
 | 23156 |  | 
 | 23157 | 			;; | 
 | 23158 | 	esac | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 23159 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23160 |  | 
 | 23161 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 23162 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23163 | # Check whether --with-llvmgccdir or --without-llvmgccdir was given. | 
 | 23164 | if test "${with_llvmgccdir+set}" = set; then | 
 | 23165 |   withval="$with_llvmgccdir" | 
 | 23166 |   LLVMGCCDIR=$withval | 
 | 23167 |  | 
 | 23168 | fi; | 
 | 23169 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 23170 | echo "$as_me:$LINENO: checking for llvm-gcc" >&5 | 
 | 23171 | echo $ECHO_N "checking for llvm-gcc... $ECHO_C" >&6 | 
 | 23172 | LLVM_GCC_CHECK=no | 
 | 23173 | if test -d "$LLVMGCCDIR" | 
 | 23174 | then | 
 | 23175 | 	if test -x "$LLVMGCCDIR/bin/gcc" | 
 | 23176 | 	then | 
 | 23177 | 		LLVM_GCC_CHECK="$LLVMGCCDIR/bin/gcc" | 
 | 23178 | 	fi | 
 | 23179 | fi | 
 | 23180 | llvmgccwarn=no | 
 | 23181 | echo "$as_me:$LINENO: result: $LLVM_GCC_CHECK" >&5 | 
 | 23182 | echo "${ECHO_T}$LLVM_GCC_CHECK" >&6 | 
 | 23183 | if test "$LLVM_GCC_CHECK" = "no" | 
 | 23184 | then | 
 | 23185 |     llvmgccwarn=yes | 
 | 23186 | fi | 
 | 23187 |  | 
 | 23188 | echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5 | 
 | 23189 | echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6 | 
 | 23190 | LLVM_GCC_SANE=no | 
 | 23191 | if test -x "$LLVM_GCC_CHECK" | 
 | 23192 | then | 
 | 23193 | 	cp /dev/null conftest.c | 
 | 23194 |     "$LLVM_GCC_CHECK" -S -o - conftest.c | grep implementation > /dev/null 2>&1 | 
 | 23195 | 	if test $? -eq 0 | 
 | 23196 | 	then | 
 | 23197 | 		LLVM_GCC_SANE=yes | 
 | 23198 | 	fi | 
 | 23199 | 	rm conftest.c | 
 | 23200 | fi | 
 | 23201 | echo "$as_me:$LINENO: result: $LLVM_GCC_SANE" >&5 | 
 | 23202 | echo "${ECHO_T}$LLVM_GCC_SANE" >&6 | 
 | 23203 | if test "$LLVM_GCC_SANE" = "no" | 
 | 23204 | then | 
 | 23205 | 	llvmgccwarn=yes | 
 | 23206 | fi | 
 | 23207 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 23208 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23209 | # Check whether --with-bcrepos or --without-bcrepos was given. | 
 | 23210 | if test "${with_bcrepos+set}" = set; then | 
 | 23211 |   withval="$with_bcrepos" | 
 | 23212 |   BCR=$withval | 
 | 23213 |  | 
 | 23214 | else | 
 | 23215 |   BCR=/home/vadve/lattner/LLVMPrograms | 
 | 23216 |  | 
 | 23217 | fi; | 
 | 23218 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 23219 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23220 | # Check whether --with-papi or --without-papi was given. | 
 | 23221 | if test "${with_papi+set}" = set; then | 
 | 23222 |   withval="$with_papi" | 
 | 23223 |   PAPIDIR=$withval | 
 | 23224 |  | 
 | 23225 | else | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 23226 |   PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23227 |  | 
 | 23228 | fi; | 
 | 23229 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23230 |  | 
 | 23231 | # Check whether --with-purify or --without-purify was given. | 
 | 23232 | if test "${with_purify+set}" = set; then | 
 | 23233 |   withval="$with_purify" | 
 | 23234 |   PURIFY=$withval | 
 | 23235 |  | 
 | 23236 | fi; | 
 | 23237 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 23238 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23239 |           ac_config_files="$ac_config_files Makefile.config" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23240 | cat >confcache <<\_ACEOF | 
 | 23241 | # This file is a shell script that caches the results of configure | 
 | 23242 | # tests run on this system so they can be shared between configure | 
 | 23243 | # scripts and configure runs, see configure's option --config-cache. | 
 | 23244 | # It is not useful on other systems.  If it contains results you don't | 
 | 23245 | # want to keep, you may remove or edit it. | 
 | 23246 | # | 
 | 23247 | # config.status only pays attention to the cache file if you give it | 
 | 23248 | # the --recheck option to rerun configure. | 
 | 23249 | # | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23250 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23251 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
 | 23252 | # following values. | 
 | 23253 |  | 
 | 23254 | _ACEOF | 
 | 23255 |  | 
 | 23256 | # The following way of writing the cache mishandles newlines in values, | 
 | 23257 | # but we know of no workaround that is simple, portable, and efficient. | 
 | 23258 | # So, don't put newlines in cache variables' values. | 
 | 23259 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
 | 23260 | # and sets the high bit in the cache file unless we assign to the vars. | 
 | 23261 | { | 
 | 23262 |   (set) 2>&1 | | 
 | 23263 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
 | 23264 |     *ac_space=\ *) | 
 | 23265 |       # `set' does not quote correctly, so add quotes (double-quote | 
 | 23266 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
 | 23267 |       sed -n \ | 
 | 23268 |         "s/'/'\\\\''/g; | 
 | 23269 |     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
 | 23270 |       ;; | 
 | 23271 |     *) | 
 | 23272 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
 | 23273 |       sed -n \ | 
 | 23274 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
 | 23275 |       ;; | 
 | 23276 |     esac; | 
 | 23277 | } | | 
 | 23278 |   sed ' | 
 | 23279 |      t clear | 
 | 23280 |      : clear | 
 | 23281 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
 | 23282 |      t end | 
 | 23283 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
 | 23284 |      : end' >>confcache | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23285 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23286 |   if test -w $cache_file; then | 
 | 23287 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
 | 23288 |     cat confcache >$cache_file | 
 | 23289 |   else | 
 | 23290 |     echo "not updating unwritable cache $cache_file" | 
 | 23291 |   fi | 
 | 23292 | fi | 
 | 23293 | rm -f confcache | 
 | 23294 |  | 
 | 23295 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
 | 23296 | # Let make expand exec_prefix. | 
 | 23297 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
 | 23298 |  | 
 | 23299 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
 | 23300 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
 | 23301 | # trailing colons and then remove the whole line if VPATH becomes empty | 
 | 23302 | # (actually we leave an empty line to preserve line numbers). | 
 | 23303 | if test "x$srcdir" = x.; then | 
 | 23304 |   ac_vpsub='/^[ 	]*VPATH[ 	]*=/{ | 
 | 23305 | s/:*\$(srcdir):*/:/; | 
 | 23306 | s/:*\${srcdir}:*/:/; | 
 | 23307 | s/:*@srcdir@:*/:/; | 
 | 23308 | s/^\([^=]*=[ 	]*\):*/\1/; | 
 | 23309 | s/:*$//; | 
 | 23310 | s/^[^=]*=[ 	]*$//; | 
 | 23311 | }' | 
 | 23312 | fi | 
 | 23313 |  | 
 | 23314 | DEFS=-DHAVE_CONFIG_H | 
 | 23315 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23316 | ac_libobjs= | 
 | 23317 | ac_ltlibobjs= | 
 | 23318 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
 | 23319 |   # 1. Remove the extension, and $U if already installed. | 
 | 23320 |   ac_i=`echo "$ac_i" | | 
 | 23321 |          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 
 | 23322 |   # 2. Add them. | 
 | 23323 |   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 
 | 23324 |   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 
 | 23325 | done | 
 | 23326 | LIBOBJS=$ac_libobjs | 
 | 23327 |  | 
 | 23328 | LTLIBOBJS=$ac_ltlibobjs | 
 | 23329 |  | 
 | 23330 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23331 |  | 
 | 23332 | : ${CONFIG_STATUS=./config.status} | 
 | 23333 | ac_clean_files_save=$ac_clean_files | 
 | 23334 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
 | 23335 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
 | 23336 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
 | 23337 | cat >$CONFIG_STATUS <<_ACEOF | 
 | 23338 | #! $SHELL | 
 | 23339 | # Generated by $as_me. | 
 | 23340 | # Run this file to recreate the current configuration. | 
 | 23341 | # Compiler output produced by configure, useful for debugging | 
 | 23342 | # configure, is in config.log if it exists. | 
 | 23343 |  | 
 | 23344 | debug=false | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23345 | ac_cs_recheck=false | 
 | 23346 | ac_cs_silent=false | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23347 | SHELL=\${CONFIG_SHELL-$SHELL} | 
 | 23348 | _ACEOF | 
 | 23349 |  | 
 | 23350 | cat >>$CONFIG_STATUS <<\_ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23351 | ## --------------------- ## | 
 | 23352 | ## M4sh Initialization.  ## | 
 | 23353 | ## --------------------- ## | 
 | 23354 |  | 
 | 23355 | # Be Bourne compatible | 
 | 23356 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
 | 23357 |   emulate sh | 
 | 23358 |   NULLCMD=: | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23359 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
 | 23360 |   # is contrary to our usage.  Disable this feature. | 
 | 23361 |   alias -g '${1+"$@"}'='"$@"' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23362 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
 | 23363 |   set -o posix | 
 | 23364 | fi | 
 | 23365 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23366 | # Support unset when possible. | 
 | 23367 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
 | 23368 |   as_unset=unset | 
 | 23369 | else | 
 | 23370 |   as_unset=false | 
 | 23371 | fi | 
 | 23372 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23373 |  | 
 | 23374 | # Work around bugs in pre-3.0 UWIN ksh. | 
 | 23375 | $as_unset ENV MAIL MAILPATH | 
 | 23376 | PS1='$ ' | 
 | 23377 | PS2='> ' | 
 | 23378 | PS4='+ ' | 
 | 23379 |  | 
 | 23380 | # NLS nuisances. | 
 | 23381 | for as_var in \ | 
 | 23382 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
 | 23383 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
 | 23384 |   LC_TELEPHONE LC_TIME | 
 | 23385 | do | 
 | 23386 |   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
 | 23387 |     eval $as_var=C; export $as_var | 
 | 23388 |   else | 
 | 23389 |     $as_unset $as_var | 
 | 23390 |   fi | 
 | 23391 | done | 
 | 23392 |  | 
 | 23393 | # Required to use basename. | 
 | 23394 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 23395 |   as_expr=expr | 
 | 23396 | else | 
 | 23397 |   as_expr=false | 
 | 23398 | fi | 
 | 23399 |  | 
 | 23400 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
 | 23401 |   as_basename=basename | 
 | 23402 | else | 
 | 23403 |   as_basename=false | 
 | 23404 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23405 |  | 
 | 23406 |  | 
 | 23407 | # Name of the executable. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23408 | as_me=`$as_basename "$0" || | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23409 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
 | 23410 | 	 X"$0" : 'X\(//\)$' \| \ | 
 | 23411 | 	 X"$0" : 'X\(/\)$' \| \ | 
 | 23412 | 	 .     : '\(.\)' 2>/dev/null || | 
 | 23413 | echo X/"$0" | | 
 | 23414 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
 | 23415 |   	  /^X\/\(\/\/\)$/{ s//\1/; q; } | 
 | 23416 |   	  /^X\/\(\/\).*/{ s//\1/; q; } | 
 | 23417 |   	  s/.*/./; q'` | 
 | 23418 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23419 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23420 | # PATH needs CR, and LINENO needs CR and PATH. | 
 | 23421 | # Avoid depending upon Character Ranges. | 
 | 23422 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
 | 23423 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
 | 23424 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
 | 23425 | as_cr_digits='0123456789' | 
 | 23426 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
 | 23427 |  | 
 | 23428 | # The user is always right. | 
 | 23429 | if test "${PATH_SEPARATOR+set}" != set; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23430 |   echo "#! /bin/sh" >conf$$.sh | 
 | 23431 |   echo  "exit 0"   >>conf$$.sh | 
 | 23432 |   chmod +x conf$$.sh | 
 | 23433 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23434 |     PATH_SEPARATOR=';' | 
 | 23435 |   else | 
 | 23436 |     PATH_SEPARATOR=: | 
 | 23437 |   fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23438 |   rm -f conf$$.sh | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23439 | fi | 
 | 23440 |  | 
 | 23441 |  | 
 | 23442 |   as_lineno_1=$LINENO | 
 | 23443 |   as_lineno_2=$LINENO | 
 | 23444 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 23445 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 23446 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
 | 23447 |   # Find who we are.  Look in the path if we contain no path at all | 
 | 23448 |   # relative or not. | 
 | 23449 |   case $0 in | 
 | 23450 |     *[\\/]* ) as_myself=$0 ;; | 
 | 23451 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 23452 | for as_dir in $PATH | 
 | 23453 | do | 
 | 23454 |   IFS=$as_save_IFS | 
 | 23455 |   test -z "$as_dir" && as_dir=. | 
 | 23456 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
 | 23457 | done | 
 | 23458 |  | 
 | 23459 |        ;; | 
 | 23460 |   esac | 
 | 23461 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
 | 23462 |   # in which case we are not to be found in the path. | 
 | 23463 |   if test "x$as_myself" = x; then | 
 | 23464 |     as_myself=$0 | 
 | 23465 |   fi | 
 | 23466 |   if test ! -f "$as_myself"; then | 
 | 23467 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
 | 23468 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
 | 23469 |    { (exit 1); exit 1; }; } | 
 | 23470 |   fi | 
 | 23471 |   case $CONFIG_SHELL in | 
 | 23472 |   '') | 
 | 23473 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 23474 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
 | 23475 | do | 
 | 23476 |   IFS=$as_save_IFS | 
 | 23477 |   test -z "$as_dir" && as_dir=. | 
 | 23478 |   for as_base in sh bash ksh sh5; do | 
 | 23479 | 	 case $as_dir in | 
 | 23480 | 	 /*) | 
 | 23481 | 	   if ("$as_dir/$as_base" -c ' | 
 | 23482 |   as_lineno_1=$LINENO | 
 | 23483 |   as_lineno_2=$LINENO | 
 | 23484 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 23485 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 23486 |   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] | 23487 | 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
 | 23488 | 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23489 | 	     CONFIG_SHELL=$as_dir/$as_base | 
 | 23490 | 	     export CONFIG_SHELL | 
 | 23491 | 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
 | 23492 | 	   fi;; | 
 | 23493 | 	 esac | 
 | 23494 |        done | 
 | 23495 | done | 
 | 23496 | ;; | 
 | 23497 |   esac | 
 | 23498 |  | 
 | 23499 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
 | 23500 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
 | 23501 |   # line-number line before each line; the second 'sed' does the real | 
 | 23502 |   # work.  The second script uses 'N' to pair each line-number line | 
 | 23503 |   # with the numbered line, and appends trailing '-' during | 
 | 23504 |   # substitution so that $LINENO is not a special case at line end. | 
 | 23505 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
 | 23506 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
 | 23507 |   sed '=' <$as_myself | | 
 | 23508 |     sed ' | 
 | 23509 |       N | 
 | 23510 |       s,$,-, | 
 | 23511 |       : loop | 
 | 23512 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
 | 23513 |       t loop | 
 | 23514 |       s,-$,, | 
 | 23515 |       s,^['$as_cr_digits']*\n,, | 
 | 23516 |     ' >$as_me.lineno && | 
 | 23517 |   chmod +x $as_me.lineno || | 
 | 23518 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
 | 23519 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
 | 23520 |    { (exit 1); exit 1; }; } | 
 | 23521 |  | 
 | 23522 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
 | 23523 |   # (the dirname of $[0] is not the place where we might find the | 
 | 23524 |   # original and so on.  Autoconf is especially sensible to this). | 
 | 23525 |   . ./$as_me.lineno | 
 | 23526 |   # Exit status is that of the last command. | 
 | 23527 |   exit | 
 | 23528 | } | 
 | 23529 |  | 
 | 23530 |  | 
 | 23531 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
 | 23532 |   *c*,-n*) ECHO_N= ECHO_C=' | 
 | 23533 | ' ECHO_T='	' ;; | 
 | 23534 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
 | 23535 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
 | 23536 | esac | 
 | 23537 |  | 
 | 23538 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 23539 |   as_expr=expr | 
 | 23540 | else | 
 | 23541 |   as_expr=false | 
 | 23542 | fi | 
 | 23543 |  | 
 | 23544 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 23545 | echo >conf$$.file | 
 | 23546 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
 | 23547 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
 | 23548 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
 | 23549 |   if test -f conf$$.exe; then | 
 | 23550 |     # Don't use ln at all; we don't have any links | 
 | 23551 |     as_ln_s='cp -p' | 
 | 23552 |   else | 
 | 23553 |     as_ln_s='ln -s' | 
 | 23554 |   fi | 
 | 23555 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
 | 23556 |   as_ln_s=ln | 
 | 23557 | else | 
 | 23558 |   as_ln_s='cp -p' | 
 | 23559 | fi | 
 | 23560 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 23561 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23562 | if mkdir -p . 2>/dev/null; then | 
 | 23563 |   as_mkdir_p=: | 
 | 23564 | else | 
 | 23565 |   as_mkdir_p=false | 
 | 23566 | fi | 
 | 23567 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23568 | as_executable_p="test -f" | 
 | 23569 |  | 
 | 23570 | # Sed expression to map a string onto a valid CPP name. | 
 | 23571 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 
 | 23572 |  | 
 | 23573 | # Sed expression to map a string onto a valid variable name. | 
 | 23574 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 
 | 23575 |  | 
 | 23576 |  | 
 | 23577 | # IFS | 
 | 23578 | # We need space, tab and new line, in precisely that order. | 
 | 23579 | as_nl=' | 
 | 23580 | ' | 
 | 23581 | IFS=" 	$as_nl" | 
 | 23582 |  | 
 | 23583 | # CDPATH. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23584 | $as_unset CDPATH | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23585 |  | 
 | 23586 | exec 6>&1 | 
 | 23587 |  | 
 | 23588 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
 | 23589 | # report actual input values of CONFIG_FILES etc. instead of their | 
 | 23590 | # values after options handling.  Logging --version etc. is OK. | 
 | 23591 | exec 5>>config.log | 
 | 23592 | { | 
 | 23593 |   echo | 
 | 23594 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
 | 23595 | ## Running $as_me. ## | 
 | 23596 | _ASBOX | 
 | 23597 | } >&5 | 
 | 23598 | cat >&5 <<_CSEOF | 
 | 23599 |  | 
 | 23600 | This file was extended by [LLVM] $as_me [1.0], which was | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23601 | generated by GNU Autoconf 2.57.  Invocation command line was | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23602 |  | 
 | 23603 |   CONFIG_FILES    = $CONFIG_FILES | 
 | 23604 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
 | 23605 |   CONFIG_LINKS    = $CONFIG_LINKS | 
 | 23606 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
 | 23607 |   $ $0 $@ | 
 | 23608 |  | 
 | 23609 | _CSEOF | 
 | 23610 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
 | 23611 | echo >&5 | 
 | 23612 | _ACEOF | 
 | 23613 |  | 
 | 23614 | # Files that config.status was made for. | 
 | 23615 | if test -n "$ac_config_files"; then | 
 | 23616 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
 | 23617 | fi | 
 | 23618 |  | 
 | 23619 | if test -n "$ac_config_headers"; then | 
 | 23620 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
 | 23621 | fi | 
 | 23622 |  | 
 | 23623 | if test -n "$ac_config_links"; then | 
 | 23624 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
 | 23625 | fi | 
 | 23626 |  | 
 | 23627 | if test -n "$ac_config_commands"; then | 
 | 23628 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
 | 23629 | fi | 
 | 23630 |  | 
 | 23631 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 23632 |  | 
 | 23633 | ac_cs_usage="\ | 
 | 23634 | \`$as_me' instantiates files from templates according to the | 
 | 23635 | current configuration. | 
 | 23636 |  | 
 | 23637 | Usage: $0 [OPTIONS] [FILE]... | 
 | 23638 |  | 
 | 23639 |   -h, --help       print this help, then exit | 
 | 23640 |   -V, --version    print version number, then exit | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23641 |   -q, --quiet      do not print progress messages | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23642 |   -d, --debug      don't remove temporary files | 
 | 23643 |       --recheck    update $as_me by reconfiguring in the same conditions | 
 | 23644 |   --file=FILE[:TEMPLATE] | 
 | 23645 |                    instantiate the configuration file FILE | 
 | 23646 |   --header=FILE[:TEMPLATE] | 
 | 23647 |                    instantiate the configuration header FILE | 
 | 23648 |  | 
 | 23649 | Configuration files: | 
 | 23650 | $config_files | 
 | 23651 |  | 
 | 23652 | Configuration headers: | 
 | 23653 | $config_headers | 
 | 23654 |  | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23655 | Configuration commands: | 
 | 23656 | $config_commands | 
 | 23657 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23658 | Report bugs to <bug-autoconf@gnu.org>." | 
 | 23659 | _ACEOF | 
 | 23660 |  | 
 | 23661 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 23662 | ac_cs_version="\\ | 
 | 23663 | [LLVM] config.status [1.0] | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23664 | configured by $0, generated by GNU Autoconf 2.57, | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23665 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
 | 23666 |  | 
 | 23667 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 
 | 23668 | Free Software Foundation, Inc. | 
 | 23669 | This config.status script is free software; the Free Software Foundation | 
 | 23670 | gives unlimited permission to copy, distribute and modify it." | 
 | 23671 | srcdir=$srcdir | 
 | 23672 | INSTALL="$INSTALL" | 
 | 23673 | _ACEOF | 
 | 23674 |  | 
 | 23675 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 23676 | # If no file are specified by the user, then we need to provide default | 
 | 23677 | # value.  By we need to know if files were specified by the user. | 
 | 23678 | ac_need_defaults=: | 
 | 23679 | while test $# != 0 | 
 | 23680 | do | 
 | 23681 |   case $1 in | 
 | 23682 |   --*=*) | 
 | 23683 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
 | 23684 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23685 |     ac_shift=: | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23686 |     ;; | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23687 |   -*) | 
 | 23688 |     ac_option=$1 | 
 | 23689 |     ac_optarg=$2 | 
 | 23690 |     ac_shift=shift | 
 | 23691 |     ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23692 |   *) # This is not an option, so the user has probably given explicit | 
 | 23693 |      # arguments. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23694 |      ac_option=$1 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23695 |      ac_need_defaults=false;; | 
 | 23696 |   esac | 
 | 23697 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23698 |   case $ac_option in | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23699 |   # Handling of the options. | 
 | 23700 | _ACEOF | 
| John Criswell | d9cd144 | 2003-09-09 20:52:17 +0000 | [diff] [blame] | 23701 | cat >>$CONFIG_STATUS <<\_ACEOF | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23702 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
 | 23703 |     ac_cs_recheck=: ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23704 |   --version | --vers* | -V ) | 
 | 23705 |     echo "$ac_cs_version"; exit 0 ;; | 
 | 23706 |   --he | --h) | 
 | 23707 |     # Conflict between --help and --header | 
 | 23708 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
 | 23709 | Try \`$0 --help' for more information." >&5 | 
 | 23710 | echo "$as_me: error: ambiguous option: $1 | 
 | 23711 | Try \`$0 --help' for more information." >&2;} | 
 | 23712 |    { (exit 1); exit 1; }; };; | 
 | 23713 |   --help | --hel | -h ) | 
 | 23714 |     echo "$ac_cs_usage"; exit 0 ;; | 
 | 23715 |   --debug | --d* | -d ) | 
 | 23716 |     debug=: ;; | 
 | 23717 |   --file | --fil | --fi | --f ) | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23718 |     $ac_shift | 
 | 23719 |     CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23720 |     ac_need_defaults=false;; | 
 | 23721 |   --header | --heade | --head | --hea ) | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23722 |     $ac_shift | 
 | 23723 |     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23724 |     ac_need_defaults=false;; | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23725 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
 | 23726 |   | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
 | 23727 |     ac_cs_silent=: ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23728 |  | 
 | 23729 |   # This is an error. | 
 | 23730 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
 | 23731 | Try \`$0 --help' for more information." >&5 | 
 | 23732 | echo "$as_me: error: unrecognized option: $1 | 
 | 23733 | Try \`$0 --help' for more information." >&2;} | 
 | 23734 |    { (exit 1); exit 1; }; } ;; | 
 | 23735 |  | 
 | 23736 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
 | 23737 |  | 
 | 23738 |   esac | 
 | 23739 |   shift | 
 | 23740 | done | 
 | 23741 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23742 | ac_configure_extra_args= | 
 | 23743 |  | 
 | 23744 | if $ac_cs_silent; then | 
 | 23745 |   exec 6>/dev/null | 
 | 23746 |   ac_configure_extra_args="$ac_configure_extra_args --silent" | 
 | 23747 | fi | 
 | 23748 |  | 
 | 23749 | _ACEOF | 
 | 23750 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 23751 | if \$ac_cs_recheck; then | 
 | 23752 |   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 
 | 23753 |   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
 | 23754 | fi | 
 | 23755 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23756 | _ACEOF | 
 | 23757 |  | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23758 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 23759 | # | 
 | 23760 | # INIT-COMMANDS section. | 
 | 23761 | # | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23762 |  | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23763 | ${srcdir}/autoconf/mkinstalldirs `dirname Makefile` | 
 | 23764 | ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common` | 
 | 23765 | ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules` | 
 | 23766 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile` | 
 | 23767 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile` | 
 | 23768 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile` | 
 | 23769 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile` | 
 | 23770 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile` | 
 | 23771 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile` | 
 | 23772 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile` | 
 | 23773 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile` | 
 | 23774 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile` | 
 | 23775 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile` | 
 | 23776 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile` | 
 | 23777 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile` | 
 | 23778 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile` | 
 | 23779 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23780 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile` | 
 | 23781 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile` | 
 | 23782 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile` | 
 | 23783 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile` | 
 | 23784 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile` | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 23785 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23786 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile` | 
 | 23787 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile` | 
 | 23788 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile` | 
 | 23789 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile` | 
 | 23790 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile` | 
 | 23791 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile` | 
 | 23792 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile` | 
 | 23793 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile` | 
 | 23794 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile` | 
 | 23795 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile` | 
 | 23796 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile` | 
 | 23797 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile` | 
 | 23798 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile` | 
 | 23799 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile` | 
 | 23800 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile` | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23801 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23802 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile` | 
 | 23803 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile` | 
 | 23804 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile` | 
 | 23805 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile` | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23806 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23807 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile` | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23808 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile` | 
 | 23809 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23810 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile` | 
 | 23811 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile` | 
| John Criswell | 759c3ed | 2003-10-28 19:21:11 +0000 | [diff] [blame] | 23812 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libprofile/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23813 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile` | 
 | 23814 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests` | 
| John Criswell | f424d74 | 2003-10-07 21:13:47 +0000 | [diff] [blame] | 23815 | ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py` | 
 | 23816 | ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23817 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile` | 
 | 23818 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs` | 
 | 23819 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile` | 
 | 23820 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report` | 
 | 23821 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report` | 
 | 23822 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report` | 
 | 23823 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile` | 
 | 23824 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile` | 
 | 23825 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile` | 
 | 23826 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile` | 
 | 23827 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report` | 
 | 23828 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile` | 
 | 23829 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report` | 
 | 23830 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile` | 
 | 23831 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot` | 
 | 23832 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile` | 
 | 23833 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile` | 
 | 23834 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile` | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23835 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23836 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile` | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 23837 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/177.mesa/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23838 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile` | 
 | 23839 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile` | 
 | 23840 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile` | 
 | 23841 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile` | 
 | 23842 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile` | 
 | 23843 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile` | 
 | 23844 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile` | 
 | 23845 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile` | 
 | 23846 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile` | 
 | 23847 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile` | 
| John Criswell | 987e49c | 2003-10-10 01:11:54 +0000 | [diff] [blame] | 23848 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/252.eon/Makefile` | 
 | 23849 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23850 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile` | 
 | 23851 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile` | 
 | 23852 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile` | 
 | 23853 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile` | 
 | 23854 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile` | 
 | 23855 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile` | 
 | 23856 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc` | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23857 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile` | 
 | 23858 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile` | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 23859 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile` | 
 | 23860 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile` | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23861 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile` | 
 | 23862 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile` | 
| Misha Brukman | 811ce9f | 2003-11-12 22:16:51 +0000 | [diff] [blame] | 23863 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/Makefile` | 
 | 23864 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile` | 
 | 23865 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in` | 
 | 23866 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile` | 
 | 23867 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in` | 
 | 23868 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile` | 
 | 23869 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in` | 
 | 23870 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile` | 
 | 23871 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in` | 
 | 23872 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile` | 
 | 23873 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in` | 
 | 23874 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile` | 
 | 23875 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in` | 
 | 23876 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile` | 
 | 23877 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in` | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23878 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile` | 
 | 23879 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile` | 
 | 23880 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile` | 
 | 23881 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile` | 
 | 23882 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile` | 
 | 23883 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile` | 
 | 23884 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile` | 
 | 23885 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile` | 
 | 23886 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile` | 
 | 23887 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile` | 
 | 23888 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile` | 
 | 23889 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile` | 
 | 23890 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile` | 
 | 23891 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile` | 
 | 23892 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile` | 
 | 23893 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile` | 
 | 23894 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile` | 
 | 23895 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile` | 
 | 23896 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile` | 
 | 23897 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile` | 
 | 23898 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile` | 
 | 23899 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile` | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 23900 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile` | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23901 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile` | 
 | 23902 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile` | 
 | 23903 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile` | 
 | 23904 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile` | 
 | 23905 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile` | 
 | 23906 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile` | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23907 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile` | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23908 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23909 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile` | 
 | 23910 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc` | 
| John Criswell | ffaaf3b | 2003-09-10 18:38:44 +0000 | [diff] [blame] | 23911 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile` | 
 | 23912 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile` | 
 | 23913 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile` | 
 | 23914 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile` | 
 | 23915 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile` | 
 | 23916 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23917 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23918 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile` | 
| John Criswell | 0afe825 | 2003-09-11 20:53:48 +0000 | [diff] [blame] | 23919 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile` | 
| John Criswell | 67181ca | 2003-09-26 14:53:17 +0000 | [diff] [blame] | 23920 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile` | 
| John Criswell | 68886d4 | 2003-09-26 19:51:42 +0000 | [diff] [blame] | 23921 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile` | 
 | 23922 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile` | 
| John Criswell | c66bbd5 | 2003-09-29 21:35:32 +0000 | [diff] [blame] | 23923 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23924 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile` | 
 | 23925 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23926 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23927 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile` | 
 | 23928 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile` | 
 | 23929 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23930 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23931 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile` | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 23932 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile` | 
| Chris Lattner | ebd7030 | 2003-09-13 03:29:53 +0000 | [diff] [blame] | 23933 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile` | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 23934 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23935 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile` | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 23936 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile` | 
| Alkis Evlogimenos | e7d4022 | 2003-10-17 00:50:38 +0000 | [diff] [blame] | 23937 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-nm/Makefile` | 
| John Criswell | 759c3ed | 2003-10-28 19:21:11 +0000 | [diff] [blame] | 23938 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-prof/Makefile` | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 23939 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile` | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 23940 | ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile` | 
 | 23941 | ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile` | 
 | 23942 | ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile` | 
 | 23943 | ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23944 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23945 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile` | 
 | 23946 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common` | 
 | 23947 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile` | 
 | 23948 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile` | 
 | 23949 |  | 
 | 23950 | _ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23951 |  | 
 | 23952 |  | 
 | 23953 |  | 
 | 23954 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 23955 | for ac_config_target in $ac_config_targets | 
 | 23956 | do | 
 | 23957 |   case "$ac_config_target" in | 
 | 23958 |   # Handling of arguments. | 
 | 23959 |   "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23960 |   "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;; | 
 | 23961 |   "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;; | 
 | 23962 |   "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;; | 
 | 23963 |   "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;; | 
 | 23964 |   "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;; | 
 | 23965 |   "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;; | 
 | 23966 |   "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;; | 
 | 23967 |   "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;; | 
 | 23968 |   "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;; | 
 | 23969 |   "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;; | 
 | 23970 |   "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;; | 
 | 23971 |   "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;; | 
 | 23972 |   "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;; | 
 | 23973 |   "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;; | 
 | 23974 |   "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;; | 
 | 23975 |   "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;; | 
 | 23976 |   "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23977 |   "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;; | 
 | 23978 |   "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;; | 
 | 23979 |   "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;; | 
 | 23980 |   "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;; | 
 | 23981 |   "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;; | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 23982 |   "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23983 |   "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;; | 
 | 23984 |   "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;; | 
 | 23985 |   "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;; | 
 | 23986 |   "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;; | 
 | 23987 |   "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;; | 
 | 23988 |   "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;; | 
 | 23989 |   "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;; | 
 | 23990 |   "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;; | 
 | 23991 |   "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;; | 
 | 23992 |   "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;; | 
 | 23993 |   "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;; | 
 | 23994 |   "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;; | 
 | 23995 |   "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;; | 
 | 23996 |   "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;; | 
 | 23997 |   "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23998 |   "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23999 |   "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;; | 
 | 24000 |   "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;; | 
 | 24001 |   "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;; | 
 | 24002 |   "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 24003 |   "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24004 |   "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 24005 |   "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;; | 
 | 24006 |   "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24007 |   "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;; | 
 | 24008 |   "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;; | 
| John Criswell | 759c3ed | 2003-10-28 19:21:11 +0000 | [diff] [blame] | 24009 |   "runtime/libprofile/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libprofile/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24010 |   "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;; | 
 | 24011 |   "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;; | 
| John Criswell | f424d74 | 2003-10-07 21:13:47 +0000 | [diff] [blame] | 24012 |   "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;; | 
 | 24013 |   "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24014 |   "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;; | 
 | 24015 |   "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;; | 
 | 24016 |   "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;; | 
 | 24017 |   "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;; | 
 | 24018 |   "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;; | 
 | 24019 |   "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;; | 
 | 24020 |   "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;; | 
 | 24021 |   "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;; | 
 | 24022 |   "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;; | 
 | 24023 |   "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;; | 
 | 24024 |   "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;; | 
 | 24025 |   "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;; | 
 | 24026 |   "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;; | 
 | 24027 |   "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;; | 
 | 24028 |   "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;; | 
 | 24029 |   "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;; | 
 | 24030 |   "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;; | 
 | 24031 |   "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] | 24032 |   "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24033 |   "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;; | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 24034 |   "test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24035 |   "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;; | 
 | 24036 |   "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;; | 
 | 24037 |   "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;; | 
 | 24038 |   "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;; | 
 | 24039 |   "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;; | 
 | 24040 |   "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;; | 
 | 24041 |   "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;; | 
 | 24042 |   "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;; | 
 | 24043 |   "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;; | 
 | 24044 |   "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;; | 
| John Criswell | 987e49c | 2003-10-10 01:11:54 +0000 | [diff] [blame] | 24045 |   "test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ;; | 
 | 24046 |   "test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24047 |   "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;; | 
 | 24048 |   "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;; | 
 | 24049 |   "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;; | 
 | 24050 |   "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;; | 
 | 24051 |   "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;; | 
 | 24052 |   "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;; | 
 | 24053 |   "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24054 |   "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;; | 
 | 24055 |   "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;; | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 24056 |   "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;; | 
 | 24057 |   "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24058 |   "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;; | 
 | 24059 |   "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;; | 
| Misha Brukman | 811ce9f | 2003-11-12 22:16:51 +0000 | [diff] [blame] | 24060 |   "test/Programs/MultiSource/Benchmarks/FreeBench/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/Makefile" ;; | 
 | 24061 |   "test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile" ;; | 
 | 24062 |   "test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ;; | 
 | 24063 |   "test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ;; | 
 | 24064 |   "test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ;; | 
 | 24065 |   "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ;; | 
 | 24066 |   "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ;; | 
 | 24067 |   "test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ;; | 
 | 24068 |   "test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ;; | 
 | 24069 |   "test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ;; | 
 | 24070 |   "test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ;; | 
 | 24071 |   "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ;; | 
 | 24072 |   "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ;; | 
 | 24073 |   "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ;; | 
 | 24074 |   "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24075 |   "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;; | 
 | 24076 |   "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;; | 
 | 24077 |   "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;; | 
 | 24078 |   "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;; | 
 | 24079 |   "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;; | 
 | 24080 |   "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;; | 
 | 24081 |   "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;; | 
 | 24082 |   "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;; | 
 | 24083 |   "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;; | 
 | 24084 |   "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;; | 
 | 24085 |   "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;; | 
 | 24086 |   "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;; | 
 | 24087 |   "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;; | 
 | 24088 |   "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;; | 
 | 24089 |   "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;; | 
 | 24090 |   "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;; | 
 | 24091 |   "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;; | 
 | 24092 |   "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;; | 
 | 24093 |   "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;; | 
 | 24094 |   "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;; | 
 | 24095 |   "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;; | 
 | 24096 |   "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;; | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 24097 |   "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24098 |   "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;; | 
 | 24099 |   "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;; | 
 | 24100 |   "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;; | 
 | 24101 |   "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;; | 
 | 24102 |   "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;; | 
 | 24103 |   "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24104 |   "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24105 |   "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24106 |   "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;; | 
 | 24107 |   "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;; | 
| John Criswell | ffaaf3b | 2003-09-10 18:38:44 +0000 | [diff] [blame] | 24108 |   "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;; | 
 | 24109 |   "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;; | 
 | 24110 |   "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;; | 
 | 24111 |   "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;; | 
 | 24112 |   "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;; | 
 | 24113 |   "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24114 |   "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24115 |   "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;; | 
| John Criswell | 0afe825 | 2003-09-11 20:53:48 +0000 | [diff] [blame] | 24116 |   "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;; | 
| John Criswell | 67181ca | 2003-09-26 14:53:17 +0000 | [diff] [blame] | 24117 |   "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;; | 
| John Criswell | 68886d4 | 2003-09-26 19:51:42 +0000 | [diff] [blame] | 24118 |   "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;; | 
 | 24119 |   "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;; | 
| John Criswell | c66bbd5 | 2003-09-29 21:35:32 +0000 | [diff] [blame] | 24120 |   "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24121 |   "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;; | 
 | 24122 |   "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24123 |   "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24124 |   "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;; | 
 | 24125 |   "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;; | 
 | 24126 |   "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24127 |   "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24128 |   "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 24129 |   "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;; | 
| Chris Lattner | ebd7030 | 2003-09-13 03:29:53 +0000 | [diff] [blame] | 24130 |   "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 24131 |   "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24132 |   "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 24133 |   "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;; | 
| Alkis Evlogimenos | e7d4022 | 2003-10-17 00:50:38 +0000 | [diff] [blame] | 24134 |   "tools/llvm-nm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-nm/Makefile" ;; | 
| John Criswell | 759c3ed | 2003-10-28 19:21:11 +0000 | [diff] [blame] | 24135 |   "tools/llvm-prof/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-prof/Makefile" ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 24136 |   "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;; | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 24137 |   "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;; | 
 | 24138 |   "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;; | 
 | 24139 |   "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;; | 
 | 24140 |   "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24141 |   "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24142 |   "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;; | 
 | 24143 |   "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;; | 
 | 24144 |   "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;; | 
 | 24145 |   "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24146 |   "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;; | 
 | 24147 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
 | 24148 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
 | 24149 |    { (exit 1); exit 1; }; };; | 
 | 24150 |   esac | 
 | 24151 | done | 
 | 24152 |  | 
 | 24153 | # If the user did not use the arguments to specify the items to instantiate, | 
 | 24154 | # then the envvar interface is used.  Set only those that are not. | 
 | 24155 | # We use the long form for the default assignment because of an extremely | 
 | 24156 | # bizarre bug on SunOS 4.1.3. | 
 | 24157 | if $ac_need_defaults; then | 
 | 24158 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
 | 24159 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24160 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24161 | fi | 
 | 24162 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24163 | # Have a temporary directory for convenience.  Make it in the build tree | 
 | 24164 | # simply because there is no reason to put it here, and in addition, | 
 | 24165 | # creating and moving files from /tmp can sometimes cause problems. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24166 | # Create a temporary directory, and hook for its removal unless debugging. | 
 | 24167 | $debug || | 
 | 24168 | { | 
 | 24169 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
 | 24170 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
 | 24171 | } | 
 | 24172 |  | 
 | 24173 | # Create a (secure) tmp directory for tmp files. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24174 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24175 | { | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24176 |   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24177 |   test -n "$tmp" && test -d "$tmp" | 
 | 24178 | }  || | 
 | 24179 | { | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24180 |   tmp=./confstat$$-$RANDOM | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24181 |   (umask 077 && mkdir $tmp) | 
 | 24182 | } || | 
 | 24183 | { | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24184 |    echo "$me: cannot create a temporary directory in ." >&2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24185 |    { (exit 1); exit 1; } | 
 | 24186 | } | 
 | 24187 |  | 
 | 24188 | _ACEOF | 
 | 24189 |  | 
 | 24190 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 24191 |  | 
 | 24192 | # | 
 | 24193 | # CONFIG_FILES section. | 
 | 24194 | # | 
 | 24195 |  | 
 | 24196 | # No need to generate the scripts if there are no CONFIG_FILES. | 
 | 24197 | # This happens for instance when ./config.status config.h | 
 | 24198 | if test -n "\$CONFIG_FILES"; then | 
 | 24199 |   # Protect against being on the right side of a sed subst in config.status. | 
 | 24200 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
 | 24201 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
 | 24202 | s,@SHELL@,$SHELL,;t t | 
 | 24203 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
 | 24204 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
 | 24205 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
 | 24206 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
 | 24207 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
 | 24208 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
 | 24209 | s,@exec_prefix@,$exec_prefix,;t t | 
 | 24210 | s,@prefix@,$prefix,;t t | 
 | 24211 | s,@program_transform_name@,$program_transform_name,;t t | 
 | 24212 | s,@bindir@,$bindir,;t t | 
 | 24213 | s,@sbindir@,$sbindir,;t t | 
 | 24214 | s,@libexecdir@,$libexecdir,;t t | 
 | 24215 | s,@datadir@,$datadir,;t t | 
 | 24216 | s,@sysconfdir@,$sysconfdir,;t t | 
 | 24217 | s,@sharedstatedir@,$sharedstatedir,;t t | 
 | 24218 | s,@localstatedir@,$localstatedir,;t t | 
 | 24219 | s,@libdir@,$libdir,;t t | 
 | 24220 | s,@includedir@,$includedir,;t t | 
 | 24221 | s,@oldincludedir@,$oldincludedir,;t t | 
 | 24222 | s,@infodir@,$infodir,;t t | 
 | 24223 | s,@mandir@,$mandir,;t t | 
 | 24224 | s,@build_alias@,$build_alias,;t t | 
 | 24225 | s,@host_alias@,$host_alias,;t t | 
 | 24226 | s,@target_alias@,$target_alias,;t t | 
 | 24227 | s,@DEFS@,$DEFS,;t t | 
 | 24228 | s,@ECHO_C@,$ECHO_C,;t t | 
 | 24229 | s,@ECHO_N@,$ECHO_N,;t t | 
 | 24230 | s,@ECHO_T@,$ECHO_T,;t t | 
 | 24231 | s,@LIBS@,$LIBS,;t t | 
| John Criswell | 12399a1 | 2003-09-30 15:55:44 +0000 | [diff] [blame] | 24232 | s,@subdirs@,$subdirs,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24233 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
 | 24234 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
 | 24235 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
 | 24236 | s,@build@,$build,;t t | 
 | 24237 | s,@build_cpu@,$build_cpu,;t t | 
 | 24238 | s,@build_vendor@,$build_vendor,;t t | 
 | 24239 | s,@build_os@,$build_os,;t t | 
 | 24240 | s,@host@,$host,;t t | 
 | 24241 | s,@host_cpu@,$host_cpu,;t t | 
 | 24242 | s,@host_vendor@,$host_vendor,;t t | 
 | 24243 | s,@host_os@,$host_os,;t t | 
 | 24244 | s,@target@,$target,;t t | 
 | 24245 | s,@target_cpu@,$target_cpu,;t t | 
 | 24246 | s,@target_vendor@,$target_vendor,;t t | 
 | 24247 | s,@target_os@,$target_os,;t t | 
 | 24248 | s,@OS@,$OS,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24249 | s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 24250 | s,@ARCH@,$ARCH,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24251 | s,@CXX@,$CXX,;t t | 
 | 24252 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
 | 24253 | s,@LDFLAGS@,$LDFLAGS,;t t | 
 | 24254 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
 | 24255 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
 | 24256 | s,@EXEEXT@,$EXEEXT,;t t | 
 | 24257 | s,@OBJEXT@,$OBJEXT,;t t | 
 | 24258 | s,@CC@,$CC,;t t | 
 | 24259 | s,@CFLAGS@,$CFLAGS,;t t | 
 | 24260 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
 | 24261 | s,@CPP@,$CPP,;t t | 
 | 24262 | s,@ifGNUmake@,$ifGNUmake,;t t | 
 | 24263 | s,@LEX@,$LEX,;t t | 
 | 24264 | s,@LEXLIB@,$LEXLIB,;t t | 
 | 24265 | s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t | 
 | 24266 | s,@YACC@,$YACC,;t t | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 24267 | s,@EGREP@,$EGREP,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24268 | s,@LN_S@,$LN_S,;t t | 
 | 24269 | s,@ECHO@,$ECHO,;t t | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 24270 | s,@AR@,$AR,;t t | 
 | 24271 | s,@ac_ct_AR@,$ac_ct_AR,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24272 | s,@RANLIB@,$RANLIB,;t t | 
 | 24273 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 
 | 24274 | s,@STRIP@,$STRIP,;t t | 
 | 24275 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 24276 | s,@CXXCPP@,$CXXCPP,;t t | 
 | 24277 | s,@F77@,$F77,;t t | 
 | 24278 | s,@FFLAGS@,$FFLAGS,;t t | 
 | 24279 | s,@ac_ct_F77@,$ac_ct_F77,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24280 | s,@LIBTOOL@,$LIBTOOL,;t t | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 24281 | s,@RPWD@,$RPWD,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24282 | s,@SED@,$SED,;t t | 
 | 24283 | s,@RM@,$RM,;t t | 
 | 24284 | s,@MKDIR@,$MKDIR,;t t | 
 | 24285 | s,@DATE@,$DATE,;t t | 
 | 24286 | s,@MV@,$MV,;t t | 
 | 24287 | s,@DOT@,$DOT,;t t | 
 | 24288 | s,@ETAGS@,$ETAGS,;t t | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 24289 | s,@PYTHON@,$PYTHON,;t t | 
 | 24290 | s,@QMTEST@,$QMTEST,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24291 | s,@ALLOCA@,$ALLOCA,;t t | 
 | 24292 | s,@LIBOBJS@,$LIBOBJS,;t t | 
 | 24293 | s,@MMAP_FILE@,$MMAP_FILE,;t t | 
 | 24294 | s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24295 | s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t | 
| John Criswell | 5512659 | 2003-10-07 21:57:39 +0000 | [diff] [blame] | 24296 | s,@SPEC_ROOT@,$SPEC_ROOT,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24297 | s,@USE_SPEC@,$USE_SPEC,;t t | 
 | 24298 | s,@UPB@,$UPB,;t t | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 24299 | s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24300 | s,@JIT@,$JIT,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24301 | s,@BCR@,$BCR,;t t | 
 | 24302 | s,@PAPIDIR@,$PAPIDIR,;t t | 
| John Criswell | ce2141f | 2003-10-02 19:02:30 +0000 | [diff] [blame] | 24303 | s,@PURIFY@,$PURIFY,;t t | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24304 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24305 | CEOF | 
 | 24306 |  | 
 | 24307 | _ACEOF | 
 | 24308 |  | 
 | 24309 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 24310 |   # Split the substitutions into bite-sized pieces for seds with | 
 | 24311 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
 | 24312 |   ac_max_sed_lines=48 | 
 | 24313 |   ac_sed_frag=1 # Number of current file. | 
 | 24314 |   ac_beg=1 # First line for current file. | 
 | 24315 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
 | 24316 |   ac_more_lines=: | 
 | 24317 |   ac_sed_cmds= | 
 | 24318 |   while $ac_more_lines; do | 
 | 24319 |     if test $ac_beg -gt 1; then | 
 | 24320 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
 | 24321 |     else | 
 | 24322 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
 | 24323 |     fi | 
 | 24324 |     if test ! -s $tmp/subs.frag; then | 
 | 24325 |       ac_more_lines=false | 
 | 24326 |     else | 
 | 24327 |       # The purpose of the label and of the branching condition is to | 
 | 24328 |       # speed up the sed processing (if there are no `@' at all, there | 
 | 24329 |       # is no need to browse any of the substitutions). | 
 | 24330 |       # These are the two extra sed commands mentioned above. | 
 | 24331 |       (echo ':t | 
 | 24332 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
 | 24333 |       if test -z "$ac_sed_cmds"; then | 
 | 24334 |   	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
 | 24335 |       else | 
 | 24336 |   	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
 | 24337 |       fi | 
 | 24338 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
 | 24339 |       ac_beg=$ac_end | 
 | 24340 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
 | 24341 |     fi | 
 | 24342 |   done | 
 | 24343 |   if test -z "$ac_sed_cmds"; then | 
 | 24344 |     ac_sed_cmds=cat | 
 | 24345 |   fi | 
 | 24346 | fi # test -n "$CONFIG_FILES" | 
 | 24347 |  | 
 | 24348 | _ACEOF | 
 | 24349 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 24350 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
 | 24351 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
 | 24352 |   case $ac_file in | 
 | 24353 |   - | *:- | *:-:* ) # input from stdin | 
 | 24354 |         cat >$tmp/stdin | 
 | 24355 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 24356 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 24357 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 24358 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 24359 |   * )   ac_file_in=$ac_file.in ;; | 
 | 24360 |   esac | 
 | 24361 |  | 
 | 24362 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
 | 24363 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
 | 24364 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 24365 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
 | 24366 |          X"$ac_file" : 'X\(//\)$' \| \ | 
 | 24367 |          X"$ac_file" : 'X\(/\)' \| \ | 
 | 24368 |          .     : '\(.\)' 2>/dev/null || | 
 | 24369 | echo X"$ac_file" | | 
 | 24370 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 24371 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 24372 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 24373 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 24374 |   	  s/.*/./; q'` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24375 |   { if $as_mkdir_p; then | 
 | 24376 |     mkdir -p "$ac_dir" | 
 | 24377 |   else | 
 | 24378 |     as_dir="$ac_dir" | 
 | 24379 |     as_dirs= | 
 | 24380 |     while test ! -d "$as_dir"; do | 
 | 24381 |       as_dirs="$as_dir $as_dirs" | 
 | 24382 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
 | 24383 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 24384 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
 | 24385 |          X"$as_dir" : 'X\(//\)$' \| \ | 
 | 24386 |          X"$as_dir" : 'X\(/\)' \| \ | 
 | 24387 |          .     : '\(.\)' 2>/dev/null || | 
 | 24388 | echo X"$as_dir" | | 
 | 24389 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 24390 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 24391 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 24392 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 24393 |   	  s/.*/./; q'` | 
 | 24394 |     done | 
 | 24395 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
 | 24396 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
 | 24397 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
 | 24398 |    { (exit 1); exit 1; }; }; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24399 |  | 
 | 24400 |   ac_builddir=. | 
 | 24401 |  | 
 | 24402 | if test "$ac_dir" != .; then | 
 | 24403 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 24404 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 24405 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 24406 | else | 
 | 24407 |   ac_dir_suffix= ac_top_builddir= | 
 | 24408 | fi | 
 | 24409 |  | 
 | 24410 | case $srcdir in | 
 | 24411 |   .)  # No --srcdir option.  We are building in place. | 
 | 24412 |     ac_srcdir=. | 
 | 24413 |     if test -z "$ac_top_builddir"; then | 
 | 24414 |        ac_top_srcdir=. | 
 | 24415 |     else | 
 | 24416 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 24417 |     fi ;; | 
 | 24418 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 24419 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 24420 |     ac_top_srcdir=$srcdir ;; | 
 | 24421 |   *) # Relative path. | 
 | 24422 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 24423 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 24424 | esac | 
 | 24425 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 24426 | # absolute. | 
 | 24427 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24428 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24429 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 24430 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 24431 |  | 
 | 24432 |  | 
 | 24433 |   case $INSTALL in | 
 | 24434 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
 | 24435 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
 | 24436 |   esac | 
 | 24437 |  | 
 | 24438 |   if test x"$ac_file" != x-; then | 
 | 24439 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
 | 24440 | echo "$as_me: creating $ac_file" >&6;} | 
 | 24441 |     rm -f "$ac_file" | 
 | 24442 |   fi | 
 | 24443 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
 | 24444 |   # use $as_me), people would be surprised to read: | 
 | 24445 |   #    /* config.h.  Generated by config.status.  */ | 
 | 24446 |   if test x"$ac_file" = x-; then | 
 | 24447 |     configure_input= | 
 | 24448 |   else | 
 | 24449 |     configure_input="$ac_file.  " | 
 | 24450 |   fi | 
 | 24451 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
 | 24452 |                                      sed 's,.*/,,'` by configure." | 
 | 24453 |  | 
 | 24454 |   # First look for the input files in the build tree, otherwise in the | 
 | 24455 |   # src tree. | 
 | 24456 |   ac_file_inputs=`IFS=: | 
 | 24457 |     for f in $ac_file_in; do | 
 | 24458 |       case $f in | 
 | 24459 |       -) echo $tmp/stdin ;; | 
 | 24460 |       [\\/$]*) | 
 | 24461 |          # Absolute (can't be DOS-style, as IFS=:) | 
 | 24462 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 24463 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 24464 |    { (exit 1); exit 1; }; } | 
 | 24465 |          echo $f;; | 
 | 24466 |       *) # Relative | 
 | 24467 |          if test -f "$f"; then | 
 | 24468 |            # Build tree | 
 | 24469 |            echo $f | 
 | 24470 |          elif test -f "$srcdir/$f"; then | 
 | 24471 |            # Source tree | 
 | 24472 |            echo $srcdir/$f | 
 | 24473 |          else | 
 | 24474 |            # /dev/null tree | 
 | 24475 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 24476 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 24477 |    { (exit 1); exit 1; }; } | 
 | 24478 |          fi;; | 
 | 24479 |       esac | 
 | 24480 |     done` || { (exit 1); exit 1; } | 
 | 24481 | _ACEOF | 
 | 24482 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 24483 |   sed "$ac_vpsub | 
 | 24484 | $extrasub | 
 | 24485 | _ACEOF | 
 | 24486 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 24487 | :t | 
 | 24488 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
 | 24489 | s,@configure_input@,$configure_input,;t t | 
 | 24490 | s,@srcdir@,$ac_srcdir,;t t | 
 | 24491 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
 | 24492 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
 | 24493 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
 | 24494 | s,@builddir@,$ac_builddir,;t t | 
 | 24495 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
 | 24496 | s,@top_builddir@,$ac_top_builddir,;t t | 
 | 24497 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
 | 24498 | s,@INSTALL@,$ac_INSTALL,;t t | 
 | 24499 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
 | 24500 |   rm -f $tmp/stdin | 
 | 24501 |   if test x"$ac_file" != x-; then | 
 | 24502 |     mv $tmp/out $ac_file | 
 | 24503 |   else | 
 | 24504 |     cat $tmp/out | 
 | 24505 |     rm -f $tmp/out | 
 | 24506 |   fi | 
 | 24507 |  | 
 | 24508 | done | 
 | 24509 | _ACEOF | 
 | 24510 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 24511 |  | 
 | 24512 | # | 
 | 24513 | # CONFIG_HEADER section. | 
 | 24514 | # | 
 | 24515 |  | 
 | 24516 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
 | 24517 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
 | 24518 | # | 
 | 24519 | # ac_d sets the value in "#define NAME VALUE" lines. | 
 | 24520 | ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)' | 
 | 24521 | ac_dB='[ 	].*$,\1#\2' | 
 | 24522 | ac_dC=' ' | 
 | 24523 | ac_dD=',;t' | 
 | 24524 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
 | 24525 | ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)' | 
 | 24526 | ac_uB='$,\1#\2define\3' | 
 | 24527 | ac_uC=' ' | 
 | 24528 | ac_uD=',;t' | 
 | 24529 |  | 
 | 24530 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
 | 24531 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
 | 24532 |   case $ac_file in | 
 | 24533 |   - | *:- | *:-:* ) # input from stdin | 
 | 24534 |         cat >$tmp/stdin | 
 | 24535 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 24536 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 24537 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 24538 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 24539 |   * )   ac_file_in=$ac_file.in ;; | 
 | 24540 |   esac | 
 | 24541 |  | 
 | 24542 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
 | 24543 | echo "$as_me: creating $ac_file" >&6;} | 
 | 24544 |  | 
 | 24545 |   # First look for the input files in the build tree, otherwise in the | 
 | 24546 |   # src tree. | 
 | 24547 |   ac_file_inputs=`IFS=: | 
 | 24548 |     for f in $ac_file_in; do | 
 | 24549 |       case $f in | 
 | 24550 |       -) echo $tmp/stdin ;; | 
 | 24551 |       [\\/$]*) | 
 | 24552 |          # Absolute (can't be DOS-style, as IFS=:) | 
 | 24553 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 24554 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 24555 |    { (exit 1); exit 1; }; } | 
 | 24556 |          echo $f;; | 
 | 24557 |       *) # Relative | 
 | 24558 |          if test -f "$f"; then | 
 | 24559 |            # Build tree | 
 | 24560 |            echo $f | 
 | 24561 |          elif test -f "$srcdir/$f"; then | 
 | 24562 |            # Source tree | 
 | 24563 |            echo $srcdir/$f | 
 | 24564 |          else | 
 | 24565 |            # /dev/null tree | 
 | 24566 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 24567 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 24568 |    { (exit 1); exit 1; }; } | 
 | 24569 |          fi;; | 
 | 24570 |       esac | 
 | 24571 |     done` || { (exit 1); exit 1; } | 
 | 24572 |   # Remove the trailing spaces. | 
 | 24573 |   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in | 
 | 24574 |  | 
 | 24575 | _ACEOF | 
 | 24576 |  | 
 | 24577 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
 | 24578 | # `conftest.undefs', that substitutes the proper values into | 
 | 24579 | # config.h.in to produce config.h.  The first handles `#define' | 
 | 24580 | # templates, and the second `#undef' templates. | 
 | 24581 | # And first: Protect against being on the right side of a sed subst in | 
 | 24582 | # config.status.  Protect against being in an unquoted here document | 
 | 24583 | # in config.status. | 
 | 24584 | rm -f conftest.defines conftest.undefs | 
 | 24585 | # Using a here document instead of a string reduces the quoting nightmare. | 
 | 24586 | # Putting comments in sed scripts is not portable. | 
 | 24587 | # | 
 | 24588 | # `end' is used to avoid that the second main sed command (meant for | 
 | 24589 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
 | 24590 | # See the Autoconf documentation for `clear'. | 
 | 24591 | cat >confdef2sed.sed <<\_ACEOF | 
 | 24592 | s/[\\&,]/\\&/g | 
 | 24593 | s,[\\$`],\\&,g | 
 | 24594 | t clear | 
 | 24595 | : clear | 
 | 24596 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
 | 24597 | t end | 
 | 24598 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
 | 24599 | : end | 
 | 24600 | _ACEOF | 
 | 24601 | # If some macros were called several times there might be several times | 
 | 24602 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
 | 24603 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
 | 24604 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
 | 24605 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
 | 24606 | rm -f confdef2sed.sed | 
 | 24607 |  | 
 | 24608 | # This sed command replaces #undef with comments.  This is necessary, for | 
 | 24609 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
 | 24610 | # on some systems where configure will not decide to define it. | 
 | 24611 | cat >>conftest.undefs <<\_ACEOF | 
 | 24612 | s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
 | 24613 | _ACEOF | 
 | 24614 |  | 
 | 24615 | # Break up conftest.defines because some shells have a limit on the size | 
 | 24616 | # of here documents, and old seds have small limits too (100 cmds). | 
 | 24617 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24618 | echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24619 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
 | 24620 | echo '  :' >>$CONFIG_STATUS | 
 | 24621 | rm -f conftest.tail | 
 | 24622 | while grep . conftest.defines >/dev/null | 
 | 24623 | do | 
 | 24624 |   # Write a limited-size here document to $tmp/defines.sed. | 
 | 24625 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
 | 24626 |   # Speed up: don't consider the non `#define' lines. | 
 | 24627 |   echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS | 
 | 24628 |   # Work around the forget-to-reset-the-flag bug. | 
 | 24629 |   echo 't clr' >>$CONFIG_STATUS | 
 | 24630 |   echo ': clr' >>$CONFIG_STATUS | 
 | 24631 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
 | 24632 |   echo 'CEOF | 
 | 24633 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
 | 24634 |   rm -f $tmp/in | 
 | 24635 |   mv $tmp/out $tmp/in | 
 | 24636 | ' >>$CONFIG_STATUS | 
 | 24637 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
 | 24638 |   rm -f conftest.defines | 
 | 24639 |   mv conftest.tail conftest.defines | 
 | 24640 | done | 
 | 24641 | rm -f conftest.defines | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24642 | echo '  fi # grep' >>$CONFIG_STATUS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24643 | echo >>$CONFIG_STATUS | 
 | 24644 |  | 
 | 24645 | # Break up conftest.undefs because some shells have a limit on the size | 
 | 24646 | # of here documents, and old seds have small limits too (100 cmds). | 
 | 24647 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
 | 24648 | rm -f conftest.tail | 
 | 24649 | while grep . conftest.undefs >/dev/null | 
 | 24650 | do | 
 | 24651 |   # Write a limited-size here document to $tmp/undefs.sed. | 
 | 24652 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
 | 24653 |   # Speed up: don't consider the non `#undef' | 
 | 24654 |   echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS | 
 | 24655 |   # Work around the forget-to-reset-the-flag bug. | 
 | 24656 |   echo 't clr' >>$CONFIG_STATUS | 
 | 24657 |   echo ': clr' >>$CONFIG_STATUS | 
 | 24658 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
 | 24659 |   echo 'CEOF | 
 | 24660 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
 | 24661 |   rm -f $tmp/in | 
 | 24662 |   mv $tmp/out $tmp/in | 
 | 24663 | ' >>$CONFIG_STATUS | 
 | 24664 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
 | 24665 |   rm -f conftest.undefs | 
 | 24666 |   mv conftest.tail conftest.undefs | 
 | 24667 | done | 
 | 24668 | rm -f conftest.undefs | 
 | 24669 |  | 
 | 24670 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 24671 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
 | 24672 |   # use $as_me), people would be surprised to read: | 
 | 24673 |   #    /* config.h.  Generated by config.status.  */ | 
 | 24674 |   if test x"$ac_file" = x-; then | 
 | 24675 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
 | 24676 |   else | 
 | 24677 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
 | 24678 |   fi | 
 | 24679 |   cat $tmp/in >>$tmp/config.h | 
 | 24680 |   rm -f $tmp/in | 
 | 24681 |   if test x"$ac_file" != x-; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24682 |     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24683 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
 | 24684 | echo "$as_me: $ac_file is unchanged" >&6;} | 
 | 24685 |     else | 
 | 24686 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
 | 24687 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 24688 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
 | 24689 |          X"$ac_file" : 'X\(//\)$' \| \ | 
 | 24690 |          X"$ac_file" : 'X\(/\)' \| \ | 
 | 24691 |          .     : '\(.\)' 2>/dev/null || | 
 | 24692 | echo X"$ac_file" | | 
 | 24693 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 24694 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 24695 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 24696 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 24697 |   	  s/.*/./; q'` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24698 |       { if $as_mkdir_p; then | 
 | 24699 |     mkdir -p "$ac_dir" | 
 | 24700 |   else | 
 | 24701 |     as_dir="$ac_dir" | 
 | 24702 |     as_dirs= | 
 | 24703 |     while test ! -d "$as_dir"; do | 
 | 24704 |       as_dirs="$as_dir $as_dirs" | 
 | 24705 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
 | 24706 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 24707 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
 | 24708 |          X"$as_dir" : 'X\(//\)$' \| \ | 
 | 24709 |          X"$as_dir" : 'X\(/\)' \| \ | 
 | 24710 |          .     : '\(.\)' 2>/dev/null || | 
 | 24711 | echo X"$as_dir" | | 
 | 24712 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 24713 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 24714 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 24715 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 24716 |   	  s/.*/./; q'` | 
 | 24717 |     done | 
 | 24718 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
 | 24719 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
 | 24720 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
 | 24721 |    { (exit 1); exit 1; }; }; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24722 |  | 
 | 24723 |       rm -f $ac_file | 
 | 24724 |       mv $tmp/config.h $ac_file | 
 | 24725 |     fi | 
 | 24726 |   else | 
 | 24727 |     cat $tmp/config.h | 
 | 24728 |     rm -f $tmp/config.h | 
 | 24729 |   fi | 
 | 24730 | done | 
 | 24731 | _ACEOF | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24732 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 24733 |  | 
 | 24734 | # | 
 | 24735 | # CONFIG_COMMANDS section. | 
 | 24736 | # | 
 | 24737 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
 | 24738 |   ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
 | 24739 |   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 24740 |   ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 
 | 24741 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 24742 |          X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
 | 24743 |          X"$ac_dest" : 'X\(//\)$' \| \ | 
 | 24744 |          X"$ac_dest" : 'X\(/\)' \| \ | 
 | 24745 |          .     : '\(.\)' 2>/dev/null || | 
 | 24746 | echo X"$ac_dest" | | 
 | 24747 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 24748 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 24749 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 24750 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 24751 |   	  s/.*/./; q'` | 
 | 24752 |   ac_builddir=. | 
 | 24753 |  | 
 | 24754 | if test "$ac_dir" != .; then | 
 | 24755 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 24756 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 24757 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 24758 | else | 
 | 24759 |   ac_dir_suffix= ac_top_builddir= | 
 | 24760 | fi | 
 | 24761 |  | 
 | 24762 | case $srcdir in | 
 | 24763 |   .)  # No --srcdir option.  We are building in place. | 
 | 24764 |     ac_srcdir=. | 
 | 24765 |     if test -z "$ac_top_builddir"; then | 
 | 24766 |        ac_top_srcdir=. | 
 | 24767 |     else | 
 | 24768 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 24769 |     fi ;; | 
 | 24770 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 24771 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 24772 |     ac_top_srcdir=$srcdir ;; | 
 | 24773 |   *) # Relative path. | 
 | 24774 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 24775 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 24776 | esac | 
 | 24777 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 24778 | # absolute. | 
 | 24779 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24780 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24781 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 24782 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 24783 |  | 
 | 24784 |  | 
 | 24785 |   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 
 | 24786 | echo "$as_me: executing $ac_dest commands" >&6;} | 
 | 24787 |   case $ac_dest in | 
 | 24788 |     Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;; | 
 | 24789 |     Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;; | 
 | 24790 |     Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;; | 
 | 24791 |     lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;; | 
 | 24792 |     lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;; | 
 | 24793 |     lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;; | 
 | 24794 |     lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;; | 
 | 24795 |     lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;; | 
 | 24796 |     lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;; | 
 | 24797 |     lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;; | 
 | 24798 |     lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;; | 
 | 24799 |     lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;; | 
 | 24800 |     lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;; | 
 | 24801 |     lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;; | 
 | 24802 |     lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;; | 
 | 24803 |     lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;; | 
 | 24804 |     lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24805 |     lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;; | 
 | 24806 |     lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;; | 
 | 24807 |     lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;; | 
 | 24808 |     lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;; | 
 | 24809 |     lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;; | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 24810 |     lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24811 |     lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;; | 
 | 24812 |     lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;; | 
 | 24813 |     lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;; | 
 | 24814 |     lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;; | 
 | 24815 |     lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;; | 
 | 24816 |     lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;; | 
 | 24817 |     lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;; | 
 | 24818 |     lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;; | 
 | 24819 |     lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;; | 
 | 24820 |     lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;; | 
 | 24821 |     lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;; | 
 | 24822 |     runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;; | 
 | 24823 |     runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;; | 
 | 24824 |     runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;; | 
 | 24825 |     runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 24826 |     runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24827 |     runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;; | 
 | 24828 |     runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;; | 
 | 24829 |     runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;; | 
 | 24830 |     runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 24831 |     runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24832 |     runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 24833 |     runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;; | 
 | 24834 |     runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24835 |     runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;; | 
 | 24836 |     runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;; | 
| John Criswell | 759c3ed | 2003-10-28 19:21:11 +0000 | [diff] [blame] | 24837 |     runtime/libprofile/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libprofile/Makefile runtime/libprofile/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24838 |     test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;; | 
 | 24839 |     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] | 24840 |     test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;; | 
 | 24841 |     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] | 24842 |     test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;; | 
 | 24843 |     test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;; | 
 | 24844 |     test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;; | 
 | 24845 |     test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;; | 
 | 24846 |     test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;; | 
 | 24847 |     test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;; | 
 | 24848 |     test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;; | 
 | 24849 |     test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;; | 
 | 24850 |     test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;; | 
 | 24851 |     test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;; | 
 | 24852 |     test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;; | 
 | 24853 |     test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;; | 
 | 24854 |     test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;; | 
 | 24855 |     test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;; | 
 | 24856 |     test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;; | 
 | 24857 |     test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;; | 
 | 24858 |     test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;; | 
 | 24859 |     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] | 24860 |     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 ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24861 |     test/Programs/External/SPEC/CFP2000/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/Makefile test/Programs/External/SPEC/CFP2000/Makefile ;; | 
| John Criswell | 5ab7346 | 2003-10-09 15:44:28 +0000 | [diff] [blame] | 24862 |     test/Programs/External/SPEC/CFP2000/177.mesa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/177.mesa/Makefile test/Programs/External/SPEC/CFP2000/177.mesa/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24863 |     test/Programs/External/SPEC/CFP2000/179.art/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/179.art/Makefile test/Programs/External/SPEC/CFP2000/179.art/Makefile ;; | 
 | 24864 |     test/Programs/External/SPEC/CFP2000/183.equake/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/183.equake/Makefile test/Programs/External/SPEC/CFP2000/183.equake/Makefile ;; | 
 | 24865 |     test/Programs/External/SPEC/CFP2000/188.ammp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/188.ammp/Makefile test/Programs/External/SPEC/CFP2000/188.ammp/Makefile ;; | 
 | 24866 |     test/Programs/External/SPEC/CINT2000/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/Makefile test/Programs/External/SPEC/CINT2000/Makefile ;; | 
 | 24867 |     test/Programs/External/SPEC/CINT2000/164.gzip/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/164.gzip/Makefile test/Programs/External/SPEC/CINT2000/164.gzip/Makefile ;; | 
 | 24868 |     test/Programs/External/SPEC/CINT2000/175.vpr/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/175.vpr/Makefile test/Programs/External/SPEC/CINT2000/175.vpr/Makefile ;; | 
 | 24869 |     test/Programs/External/SPEC/CINT2000/176.gcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/176.gcc/Makefile test/Programs/External/SPEC/CINT2000/176.gcc/Makefile ;; | 
 | 24870 |     test/Programs/External/SPEC/CINT2000/181.mcf/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/181.mcf/Makefile test/Programs/External/SPEC/CINT2000/181.mcf/Makefile ;; | 
 | 24871 |     test/Programs/External/SPEC/CINT2000/186.crafty/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/186.crafty/Makefile test/Programs/External/SPEC/CINT2000/186.crafty/Makefile ;; | 
 | 24872 |     test/Programs/External/SPEC/CINT2000/197.parser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/197.parser/Makefile test/Programs/External/SPEC/CINT2000/197.parser/Makefile ;; | 
| John Criswell | 987e49c | 2003-10-10 01:11:54 +0000 | [diff] [blame] | 24873 |     test/Programs/External/SPEC/CINT2000/252.eon/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/252.eon/Makefile test/Programs/External/SPEC/CINT2000/252.eon/Makefile ;; | 
 | 24874 |     test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24875 |     test/Programs/External/SPEC/CINT2000/254.gap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/254.gap/Makefile test/Programs/External/SPEC/CINT2000/254.gap/Makefile ;; | 
 | 24876 |     test/Programs/External/SPEC/CINT2000/255.vortex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/255.vortex/Makefile test/Programs/External/SPEC/CINT2000/255.vortex/Makefile ;; | 
 | 24877 |     test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile ;; | 
 | 24878 |     test/Programs/External/SPEC/CINT2000/300.twolf/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/300.twolf/Makefile test/Programs/External/SPEC/CINT2000/300.twolf/Makefile ;; | 
 | 24879 |     test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;; | 
 | 24880 |     test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;; | 
 | 24881 |     test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24882 |     test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;; | 
 | 24883 |     test/Programs/MultiSource/Applications/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Burg/Makefile test/Programs/MultiSource/Applications/Burg/Makefile ;; | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 24884 |     test/Programs/MultiSource/Applications/aha/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/aha/Makefile test/Programs/MultiSource/Applications/aha/Makefile ;; | 
 | 24885 |     test/Programs/MultiSource/Applications/sgefa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/sgefa/Makefile test/Programs/MultiSource/Applications/sgefa/Makefile ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24886 |     test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;; | 
 | 24887 |     test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile ;; | 
| Misha Brukman | 811ce9f | 2003-11-12 22:16:51 +0000 | [diff] [blame] | 24888 |     test/Programs/MultiSource/Benchmarks/FreeBench/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/Makefile ;; | 
 | 24889 |     test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile ;; | 
 | 24890 |     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 ;; | 
 | 24891 |     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 ;; | 
 | 24892 |     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 ;; | 
 | 24893 |     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 ;; | 
 | 24894 |     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 ;; | 
 | 24895 |     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 ;; | 
 | 24896 |     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 ;; | 
 | 24897 |     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 ;; | 
 | 24898 |     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 ;; | 
 | 24899 |     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 ;; | 
 | 24900 |     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 ;; | 
 | 24901 |     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 ;; | 
 | 24902 |     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 | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24903 |     test/Programs/MultiSource/Benchmarks/McCat/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/Makefile test/Programs/MultiSource/Benchmarks/McCat/Makefile ;; | 
 | 24904 |     test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile ;; | 
 | 24905 |     test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile ;; | 
 | 24906 |     test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile ;; | 
 | 24907 |     test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile ;; | 
 | 24908 |     test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile ;; | 
 | 24909 |     test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile ;; | 
 | 24910 |     test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile ;; | 
 | 24911 |     test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile ;; | 
 | 24912 |     test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile ;; | 
 | 24913 |     test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile ;; | 
 | 24914 |     test/Programs/MultiSource/Benchmarks/Olden/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/Makefile test/Programs/MultiSource/Benchmarks/Olden/Makefile ;; | 
 | 24915 |     test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile ;; | 
 | 24916 |     test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile ;; | 
 | 24917 |     test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile ;; | 
 | 24918 |     test/Programs/MultiSource/Benchmarks/Olden/health/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/health/Makefile test/Programs/MultiSource/Benchmarks/Olden/health/Makefile ;; | 
 | 24919 |     test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile ;; | 
 | 24920 |     test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile ;; | 
 | 24921 |     test/Programs/MultiSource/Benchmarks/Olden/power/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/power/Makefile test/Programs/MultiSource/Benchmarks/Olden/power/Makefile ;; | 
 | 24922 |     test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile ;; | 
 | 24923 |     test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile ;; | 
 | 24924 |     test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile ;; | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 24925 |     test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24926 |     test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile ;; | 
 | 24927 |     test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile ;; | 
 | 24928 |     test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile ;; | 
 | 24929 |     test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile ;; | 
 | 24930 |     test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile ;; | 
 | 24931 |     test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24932 |     test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24933 |     test/Programs/MultiSource/Benchmarks/sim/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/sim/Makefile test/Programs/MultiSource/Benchmarks/sim/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24934 |     test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;; | 
 | 24935 |     test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;; | 
| John Criswell | ffaaf3b | 2003-09-10 18:38:44 +0000 | [diff] [blame] | 24936 |     test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;; | 
 | 24937 |     test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;; | 
 | 24938 |     test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile ;; | 
 | 24939 |     test/Programs/SingleSource/Benchmarks/Shootout/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Shootout/Makefile test/Programs/SingleSource/Benchmarks/Shootout/Makefile ;; | 
 | 24940 |     test/Programs/SingleSource/Benchmarks/Stanford/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Stanford/Makefile test/Programs/SingleSource/Benchmarks/Stanford/Makefile ;; | 
 | 24941 |     test/Programs/SingleSource/Benchmarks/Misc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Misc/Makefile test/Programs/SingleSource/Benchmarks/Misc/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24942 |     test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24943 |     test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;; | 
| John Criswell | 0afe825 | 2003-09-11 20:53:48 +0000 | [diff] [blame] | 24944 |     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 | 67181ca | 2003-09-26 14:53:17 +0000 | [diff] [blame] | 24945 |     test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;; | 
| John Criswell | 68886d4 | 2003-09-26 19:51:42 +0000 | [diff] [blame] | 24946 |     test/Programs/SingleSource/Regression/C/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C/Makefile test/Programs/SingleSource/Regression/C/Makefile ;; | 
 | 24947 |     test/Programs/SingleSource/Regression/C++/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/Makefile test/Programs/SingleSource/Regression/C++/Makefile ;; | 
| John Criswell | c66bbd5 | 2003-09-29 21:35:32 +0000 | [diff] [blame] | 24948 |     test/Programs/SingleSource/Regression/C++/EH/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/EH/Makefile test/Programs/SingleSource/Regression/C++/EH/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24949 |     tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;; | 
 | 24950 |     tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24951 |     tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24952 |     tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;; | 
 | 24953 |     tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;; | 
 | 24954 |     tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24955 |     tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24956 |     tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 24957 |     tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;; | 
| Chris Lattner | ebd7030 | 2003-09-13 03:29:53 +0000 | [diff] [blame] | 24958 |     tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 24959 |     tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24960 |     tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 24961 |     tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;; | 
| Alkis Evlogimenos | e7d4022 | 2003-10-17 00:50:38 +0000 | [diff] [blame] | 24962 |     tools/llvm-nm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-nm/Makefile tools/llvm-nm/Makefile ;; | 
| John Criswell | 759c3ed | 2003-10-28 19:21:11 +0000 | [diff] [blame] | 24963 |     tools/llvm-prof/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-prof/Makefile tools/llvm-prof/Makefile ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 24964 |     tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;; | 
| Brian Gaeke | c45be04 | 2003-10-07 06:01:34 +0000 | [diff] [blame] | 24965 |     utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;; | 
 | 24966 |     utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;; | 
 | 24967 |     utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;; | 
 | 24968 |     utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24969 |     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] | 24970 |     projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;; | 
 | 24971 |     projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;; | 
 | 24972 |     projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;; | 
 | 24973 |     projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;; | 
 | 24974 |   esac | 
 | 24975 | done | 
 | 24976 | _ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24977 |  | 
 | 24978 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 24979 |  | 
 | 24980 | { (exit 0); exit 0; } | 
 | 24981 | _ACEOF | 
 | 24982 | chmod +x $CONFIG_STATUS | 
 | 24983 | ac_clean_files=$ac_clean_files_save | 
 | 24984 |  | 
 | 24985 |  | 
 | 24986 | # configure is writing to config.log, and then calls config.status. | 
 | 24987 | # config.status does its own redirection, appending to config.log. | 
 | 24988 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
 | 24989 | # by configure, so config.status won't be able to write to it; its | 
 | 24990 | # output is simply discarded.  So we exec the FD to /dev/null, | 
 | 24991 | # effectively closing config.log, so it can be properly (re)opened and | 
 | 24992 | # appended to by config.status.  When coming back to configure, we | 
 | 24993 | # need to make the FD available again. | 
 | 24994 | if test "$no_create" != yes; then | 
 | 24995 |   ac_cs_success=: | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24996 |   ac_config_status_args= | 
 | 24997 |   test "$silent" = yes && | 
 | 24998 |     ac_config_status_args="$ac_config_status_args --quiet" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24999 |   exec 5>/dev/null | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 25000 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 25001 |   exec 5>>config.log | 
 | 25002 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
 | 25003 |   # would make configure fail if this is the last instruction. | 
 | 25004 |   $ac_cs_success || { (exit 1); exit 1; } | 
 | 25005 | fi | 
 | 25006 |  | 
| John Criswell | 12399a1 | 2003-09-30 15:55:44 +0000 | [diff] [blame] | 25007 | # | 
 | 25008 | # CONFIG_SUBDIRS section. | 
 | 25009 | # | 
 | 25010 | if test "$no_recursion" != yes; then | 
 | 25011 |  | 
 | 25012 |   # Remove --cache-file and --srcdir arguments so they do not pile up. | 
 | 25013 |   ac_sub_configure_args= | 
 | 25014 |   ac_prev= | 
 | 25015 |   for ac_arg in $ac_configure_args; do | 
 | 25016 |     if test -n "$ac_prev"; then | 
 | 25017 |       ac_prev= | 
 | 25018 |       continue | 
 | 25019 |     fi | 
 | 25020 |     case $ac_arg in | 
 | 25021 |     -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
 | 25022 |     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
 | 25023 |       ac_prev=cache_file ;; | 
 | 25024 |     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
 | 25025 |     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ | 
 | 25026 |     | --c=*) | 
 | 25027 |       ;; | 
 | 25028 |     --config-cache | -C) | 
 | 25029 |       ;; | 
 | 25030 |     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
 | 25031 |       ac_prev=srcdir ;; | 
 | 25032 |     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
 | 25033 |       ;; | 
 | 25034 |     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
 | 25035 |       ac_prev=prefix ;; | 
 | 25036 |     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
 | 25037 |       ;; | 
 | 25038 |     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; | 
 | 25039 |     esac | 
 | 25040 |   done | 
 | 25041 |  | 
 | 25042 |   # Always prepend --prefix to ensure using the same prefix | 
 | 25043 |   # in subdir configurations. | 
 | 25044 |   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" | 
 | 25045 |  | 
 | 25046 |   ac_popdir=`pwd` | 
 | 25047 |   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue | 
 | 25048 |  | 
 | 25049 |     # Do not complain, so a configure script can configure whichever | 
 | 25050 |     # parts of a large source tree are present. | 
 | 25051 |     test -d $srcdir/$ac_dir || continue | 
 | 25052 |  | 
 | 25053 |     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 | 
 | 25054 | echo "$as_me: configuring in $ac_dir" >&6;} | 
 | 25055 |     { if $as_mkdir_p; then | 
 | 25056 |     mkdir -p "$ac_dir" | 
 | 25057 |   else | 
 | 25058 |     as_dir="$ac_dir" | 
 | 25059 |     as_dirs= | 
 | 25060 |     while test ! -d "$as_dir"; do | 
 | 25061 |       as_dirs="$as_dir $as_dirs" | 
 | 25062 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
 | 25063 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 25064 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
 | 25065 |          X"$as_dir" : 'X\(//\)$' \| \ | 
 | 25066 |          X"$as_dir" : 'X\(/\)' \| \ | 
 | 25067 |          .     : '\(.\)' 2>/dev/null || | 
 | 25068 | echo X"$as_dir" | | 
 | 25069 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 25070 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 25071 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 25072 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 25073 |   	  s/.*/./; q'` | 
 | 25074 |     done | 
 | 25075 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
 | 25076 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
 | 25077 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
 | 25078 |    { (exit 1); exit 1; }; }; } | 
 | 25079 |  | 
 | 25080 |     ac_builddir=. | 
 | 25081 |  | 
 | 25082 | if test "$ac_dir" != .; then | 
 | 25083 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 25084 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 25085 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 25086 | else | 
 | 25087 |   ac_dir_suffix= ac_top_builddir= | 
 | 25088 | fi | 
 | 25089 |  | 
 | 25090 | case $srcdir in | 
 | 25091 |   .)  # No --srcdir option.  We are building in place. | 
 | 25092 |     ac_srcdir=. | 
 | 25093 |     if test -z "$ac_top_builddir"; then | 
 | 25094 |        ac_top_srcdir=. | 
 | 25095 |     else | 
 | 25096 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 25097 |     fi ;; | 
 | 25098 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 25099 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 25100 |     ac_top_srcdir=$srcdir ;; | 
 | 25101 |   *) # Relative path. | 
 | 25102 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 25103 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 25104 | esac | 
 | 25105 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 25106 | # absolute. | 
 | 25107 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
 | 25108 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
 | 25109 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 25110 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 25111 |  | 
 | 25112 |  | 
 | 25113 |     cd $ac_dir | 
 | 25114 |  | 
 | 25115 |     # Check for guested configure; otherwise get Cygnus style configure. | 
 | 25116 |     if test -f $ac_srcdir/configure.gnu; then | 
 | 25117 |       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" | 
 | 25118 |     elif test -f $ac_srcdir/configure; then | 
 | 25119 |       ac_sub_configure="$SHELL '$ac_srcdir/configure'" | 
 | 25120 |     elif test -f $ac_srcdir/configure.in; then | 
 | 25121 |       ac_sub_configure=$ac_configure | 
 | 25122 |     else | 
 | 25123 |       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 | 
 | 25124 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} | 
 | 25125 |       ac_sub_configure= | 
 | 25126 |     fi | 
 | 25127 |  | 
 | 25128 |     # The recursion is here. | 
 | 25129 |     if test -n "$ac_sub_configure"; then | 
 | 25130 |       # Make the cache file name correct relative to the subdirectory. | 
 | 25131 |       case $cache_file in | 
 | 25132 |       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; | 
 | 25133 |       *) # Relative path. | 
 | 25134 |         ac_sub_cache_file=$ac_top_builddir$cache_file ;; | 
 | 25135 |       esac | 
 | 25136 |  | 
 | 25137 |       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 | 
 | 25138 | echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} | 
 | 25139 |       # The eval makes quoting arguments work. | 
 | 25140 |       eval $ac_sub_configure $ac_sub_configure_args \ | 
 | 25141 |            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || | 
 | 25142 |         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 | 
 | 25143 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} | 
 | 25144 |    { (exit 1); exit 1; }; } | 
 | 25145 |     fi | 
 | 25146 |  | 
 | 25147 |     cd $ac_popdir | 
 | 25148 |   done | 
 | 25149 | fi | 
 | 25150 |  | 
| Brian Gaeke | f3b2410 | 2003-11-16 18:38:14 +0000 | [diff] [blame] | 25151 |  | 
 | 25152 | if test $llvmgccwarn = yes | 
 | 25153 | then | 
 | 25154 | 	{ echo "$as_me:$LINENO: WARNING: ***** llvm C/C++ front end was not found, or does not" >&5 | 
 | 25155 | echo "$as_me: WARNING: ***** llvm C/C++ front end was not found, or does not" >&2;} | 
 | 25156 | 	{ echo "$as_me:$LINENO: WARNING: ***** appear to be working." >&5 | 
 | 25157 | echo "$as_me: WARNING: ***** appear to be working." >&2;} | 
 | 25158 | 	{ echo "$as_me:$LINENO: WARNING: ***** " >&5 | 
 | 25159 | echo "$as_me: WARNING: ***** " >&2;} | 
 | 25160 | 	{ echo "$as_me:$LINENO: WARNING: ***** Please check configure's --with-llvmgccdir option." >&5 | 
 | 25161 | echo "$as_me: WARNING: ***** Please check configure's --with-llvmgccdir option." >&2;} | 
 | 25162 | 	{ echo "$as_me:$LINENO: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&5 | 
 | 25163 | echo "$as_me: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&2;} | 
 | 25164 | 	{ echo "$as_me:$LINENO: WARNING: ***** but you should be able to build the llvm tools." >&5 | 
 | 25165 | echo "$as_me: WARNING: ***** but you should be able to build the llvm tools." >&2;} | 
 | 25166 | fi |