| 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. | 
 | 3 | # Generated by GNU Autoconf 2.53 for [LLVM] [1.0]. | 
 | 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. | 
 | 11 |  | 
 | 12 | # Find the correct PATH separator.  Usually this is `:', but | 
 | 13 | # DJGPP uses `;' like DOS. | 
 | 14 | if test "X${PATH_SEPARATOR+set}" != Xset; then | 
 | 15 |   UNAME=${UNAME-`uname 2>/dev/null`} | 
 | 16 |   case X$UNAME in | 
 | 17 |     *-DOS) lt_cv_sys_path_separator=';' ;; | 
 | 18 |     *)     lt_cv_sys_path_separator=':' ;; | 
 | 19 |   esac | 
 | 20 |   PATH_SEPARATOR=$lt_cv_sys_path_separator | 
 | 21 | fi | 
 | 22 |  | 
 | 23 |  | 
 | 24 | # Check that we are running under the correct shell. | 
 | 25 | SHELL=${CONFIG_SHELL-/bin/sh} | 
 | 26 |  | 
 | 27 | case X$ECHO in | 
 | 28 | X*--fallback-echo) | 
 | 29 |   # Remove one level of quotation (which was required for Make). | 
 | 30 |   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` | 
 | 31 |   ;; | 
 | 32 | esac | 
 | 33 |  | 
 | 34 | echo=${ECHO-echo} | 
 | 35 | if test "X$1" = X--no-reexec; then | 
 | 36 |   # Discard the --no-reexec flag, and continue. | 
 | 37 |   shift | 
 | 38 | elif test "X$1" = X--fallback-echo; then | 
 | 39 |   # Avoid inline document here, it may be left over | 
 | 40 |   : | 
 | 41 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then | 
 | 42 |   # Yippee, $echo works! | 
 | 43 |   : | 
 | 44 | else | 
 | 45 |   # Restart under the correct shell. | 
 | 46 |   exec $SHELL "$0" --no-reexec ${1+"$@"} | 
 | 47 | fi | 
 | 48 |  | 
 | 49 | if test "X$1" = X--fallback-echo; then | 
 | 50 |   # used as fallback echo | 
 | 51 |   shift | 
 | 52 |   cat <<EOF | 
 | 53 |  | 
 | 54 | EOF | 
 | 55 |   exit 0 | 
 | 56 | fi | 
 | 57 |  | 
 | 58 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 
 | 59 | # if CDPATH is set. | 
 | 60 | if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 
 | 61 |  | 
 | 62 | if test -z "$ECHO"; then | 
 | 63 | if test "X${echo_test_string+set}" != Xset; then | 
 | 64 | # find a string as large as possible, as long as the shell can cope with it | 
 | 65 |   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do | 
 | 66 |     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | 
 | 67 |     if (echo_test_string="`eval $cmd`") 2>/dev/null && | 
 | 68 |        echo_test_string="`eval $cmd`" && | 
 | 69 |        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | 
 | 70 |     then | 
 | 71 |       break | 
 | 72 |     fi | 
 | 73 |   done | 
 | 74 | fi | 
 | 75 |  | 
 | 76 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | 
 | 77 |    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | 
 | 78 |    test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 79 |   : | 
 | 80 | else | 
 | 81 |   # The Solaris, AIX, and Digital Unix default echo programs unquote | 
 | 82 |   # backslashes.  This makes it impossible to quote backslashes using | 
 | 83 |   #   echo "$something" | sed 's/\\/\\\\/g' | 
 | 84 |   # | 
 | 85 |   # So, first we look for a working echo in the user's PATH. | 
 | 86 |  | 
 | 87 |   IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 88 |   for dir in $PATH /usr/ucb; do | 
 | 89 |     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | 
 | 90 |        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | 
 | 91 |        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | 
 | 92 |        test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 93 |       echo="$dir/echo" | 
 | 94 |       break | 
 | 95 |     fi | 
 | 96 |   done | 
 | 97 |   IFS="$save_ifs" | 
 | 98 |  | 
 | 99 |   if test "X$echo" = Xecho; then | 
 | 100 |     # We didn't find a better echo, so look for alternatives. | 
 | 101 |     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && | 
 | 102 |        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && | 
 | 103 |        test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 104 |       # This shell has a builtin print -r that does the trick. | 
 | 105 |       echo='print -r' | 
 | 106 |     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && | 
 | 107 | 	 test "X$CONFIG_SHELL" != X/bin/ksh; then | 
 | 108 |       # If we have ksh, try running configure again with it. | 
 | 109 |       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | 
 | 110 |       export ORIGINAL_CONFIG_SHELL | 
 | 111 |       CONFIG_SHELL=/bin/ksh | 
 | 112 |       export CONFIG_SHELL | 
 | 113 |       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} | 
 | 114 |     else | 
 | 115 |       # Try using printf. | 
 | 116 |       echo='printf %s\n' | 
 | 117 |       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | 
 | 118 | 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | 
 | 119 | 	 test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 120 | 	# Cool, printf works | 
 | 121 | 	: | 
 | 122 |       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | 
 | 123 | 	   test "X$echo_testing_string" = 'X\t' && | 
 | 124 | 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | 
 | 125 | 	   test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 126 | 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | 
 | 127 | 	export CONFIG_SHELL | 
 | 128 | 	SHELL="$CONFIG_SHELL" | 
 | 129 | 	export SHELL | 
 | 130 | 	echo="$CONFIG_SHELL $0 --fallback-echo" | 
 | 131 |       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | 
 | 132 | 	   test "X$echo_testing_string" = 'X\t' && | 
 | 133 | 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | 
 | 134 | 	   test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 135 | 	echo="$CONFIG_SHELL $0 --fallback-echo" | 
 | 136 |       else | 
 | 137 | 	# maybe with a smaller string... | 
 | 138 | 	prev=: | 
 | 139 |  | 
 | 140 | 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do | 
 | 141 | 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null | 
 | 142 | 	  then | 
 | 143 | 	    break | 
 | 144 | 	  fi | 
 | 145 | 	  prev="$cmd" | 
 | 146 | 	done | 
 | 147 |  | 
 | 148 | 	if test "$prev" != 'sed 50q "$0"'; then | 
 | 149 | 	  echo_test_string=`eval $prev` | 
 | 150 | 	  export echo_test_string | 
 | 151 | 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} | 
 | 152 | 	else | 
 | 153 | 	  # Oops.  We lost completely, so just stick with echo. | 
 | 154 | 	  echo=echo | 
 | 155 | 	fi | 
 | 156 |       fi | 
 | 157 |     fi | 
 | 158 |   fi | 
 | 159 | fi | 
 | 160 | fi | 
 | 161 |  | 
 | 162 | # Copy echo and quote the copy suitably for passing to libtool from | 
 | 163 | # the Makefile, instead of quoting the original, which is used later. | 
 | 164 | ECHO=$echo | 
 | 165 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then | 
 | 166 |    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | 
 | 167 | fi | 
 | 168 |  | 
 | 169 |  | 
 | 170 |  | 
 | 171 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 172 |   as_expr=expr | 
 | 173 | else | 
 | 174 |   as_expr=false | 
 | 175 | fi | 
 | 176 |  | 
 | 177 |  | 
 | 178 | ## --------------------- ## | 
 | 179 | ## M4sh Initialization.  ## | 
 | 180 | ## --------------------- ## | 
 | 181 |  | 
 | 182 | # Be Bourne compatible | 
 | 183 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
 | 184 |   emulate sh | 
 | 185 |   NULLCMD=: | 
 | 186 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
 | 187 |   set -o posix | 
 | 188 | fi | 
 | 189 |  | 
 | 190 | # NLS nuisances. | 
 | 191 | # Support unset when possible. | 
 | 192 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
 | 193 |   as_unset=unset | 
 | 194 | else | 
 | 195 |   as_unset=false | 
 | 196 | fi | 
 | 197 |  | 
 | 198 | (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | 
 | 199 |     { $as_unset LANG || test "${LANG+set}" != set; } || | 
 | 200 |       { LANG=C; export LANG; } | 
 | 201 | (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | 
 | 202 |     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | 
 | 203 |       { LC_ALL=C; export LC_ALL; } | 
 | 204 | (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | 
 | 205 |     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | 
 | 206 |       { LC_TIME=C; export LC_TIME; } | 
 | 207 | (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | 
 | 208 |     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | 
 | 209 |       { LC_CTYPE=C; export LC_CTYPE; } | 
 | 210 | (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | 
 | 211 |     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | 
 | 212 |       { LANGUAGE=C; export LANGUAGE; } | 
 | 213 | (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | 
 | 214 |     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | 
 | 215 |       { LC_COLLATE=C; export LC_COLLATE; } | 
 | 216 | (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | 
 | 217 |     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | 
 | 218 |       { LC_NUMERIC=C; export LC_NUMERIC; } | 
 | 219 | (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | 
 | 220 |     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | 
 | 221 |       { LC_MESSAGES=C; export LC_MESSAGES; } | 
 | 222 |  | 
 | 223 |  | 
 | 224 | # Name of the executable. | 
 | 225 | as_me=`(basename "$0") 2>/dev/null || | 
 | 226 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
 | 227 | 	 X"$0" : 'X\(//\)$' \| \ | 
 | 228 | 	 X"$0" : 'X\(/\)$' \| \ | 
 | 229 | 	 .     : '\(.\)' 2>/dev/null || | 
 | 230 | echo X/"$0" | | 
 | 231 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
 | 232 |   	  /^X\/\(\/\/\)$/{ s//\1/; q; } | 
 | 233 |   	  /^X\/\(\/\).*/{ s//\1/; q; } | 
 | 234 |   	  s/.*/./; q'` | 
 | 235 |  | 
 | 236 | # PATH needs CR, and LINENO needs CR and PATH. | 
 | 237 | # Avoid depending upon Character Ranges. | 
 | 238 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
 | 239 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
 | 240 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
 | 241 | as_cr_digits='0123456789' | 
 | 242 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
 | 243 |  | 
 | 244 | # The user is always right. | 
 | 245 | if test "${PATH_SEPARATOR+set}" != set; then | 
 | 246 |   echo "#! /bin/sh" >conftest.sh | 
 | 247 |   echo  "exit 0"   >>conftest.sh | 
 | 248 |   chmod +x conftest.sh | 
 | 249 |   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | 
 | 250 |     PATH_SEPARATOR=';' | 
 | 251 |   else | 
 | 252 |     PATH_SEPARATOR=: | 
 | 253 |   fi | 
 | 254 |   rm -f conftest.sh | 
 | 255 | fi | 
 | 256 |  | 
 | 257 |  | 
 | 258 |   as_lineno_1=$LINENO | 
 | 259 |   as_lineno_2=$LINENO | 
 | 260 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 261 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 262 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
 | 263 |   # Find who we are.  Look in the path if we contain no path at all | 
 | 264 |   # relative or not. | 
 | 265 |   case $0 in | 
 | 266 |     *[\\/]* ) as_myself=$0 ;; | 
 | 267 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 268 | for as_dir in $PATH | 
 | 269 | do | 
 | 270 |   IFS=$as_save_IFS | 
 | 271 |   test -z "$as_dir" && as_dir=. | 
 | 272 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
 | 273 | done | 
 | 274 |  | 
 | 275 |        ;; | 
 | 276 |   esac | 
 | 277 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
 | 278 |   # in which case we are not to be found in the path. | 
 | 279 |   if test "x$as_myself" = x; then | 
 | 280 |     as_myself=$0 | 
 | 281 |   fi | 
 | 282 |   if test ! -f "$as_myself"; then | 
 | 283 |     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 
 | 284 |    { (exit 1); exit 1; }; } | 
 | 285 |   fi | 
 | 286 |   case $CONFIG_SHELL in | 
 | 287 |   '') | 
 | 288 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 289 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
 | 290 | do | 
 | 291 |   IFS=$as_save_IFS | 
 | 292 |   test -z "$as_dir" && as_dir=. | 
 | 293 |   for as_base in sh bash ksh sh5; do | 
 | 294 | 	 case $as_dir in | 
 | 295 | 	 /*) | 
 | 296 | 	   if ("$as_dir/$as_base" -c ' | 
 | 297 |   as_lineno_1=$LINENO | 
 | 298 |   as_lineno_2=$LINENO | 
 | 299 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 300 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 301 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
 | 302 | 	     CONFIG_SHELL=$as_dir/$as_base | 
 | 303 | 	     export CONFIG_SHELL | 
 | 304 | 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
 | 305 | 	   fi;; | 
 | 306 | 	 esac | 
 | 307 |        done | 
 | 308 | done | 
 | 309 | ;; | 
 | 310 |   esac | 
 | 311 |  | 
 | 312 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
 | 313 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
 | 314 |   # line-number line before each line; the second 'sed' does the real | 
 | 315 |   # work.  The second script uses 'N' to pair each line-number line | 
 | 316 |   # with the numbered line, and appends trailing '-' during | 
 | 317 |   # substitution so that $LINENO is not a special case at line end. | 
 | 318 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
 | 319 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
 | 320 |   sed '=' <$as_myself | | 
 | 321 |     sed ' | 
 | 322 |       N | 
 | 323 |       s,$,-, | 
 | 324 |       : loop | 
 | 325 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
 | 326 |       t loop | 
 | 327 |       s,-$,, | 
 | 328 |       s,^['$as_cr_digits']*\n,, | 
 | 329 |     ' >$as_me.lineno && | 
 | 330 |   chmod +x $as_me.lineno || | 
 | 331 |     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 
 | 332 |    { (exit 1); exit 1; }; } | 
 | 333 |  | 
 | 334 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
 | 335 |   # (the dirname of $[0] is not the place where we might find the | 
 | 336 |   # original and so on.  Autoconf is especially sensible to this). | 
 | 337 |   . ./$as_me.lineno | 
 | 338 |   # Exit status is that of the last command. | 
 | 339 |   exit | 
 | 340 | } | 
 | 341 |  | 
 | 342 |  | 
 | 343 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
 | 344 |   *c*,-n*) ECHO_N= ECHO_C=' | 
 | 345 | ' ECHO_T='	' ;; | 
 | 346 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
 | 347 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
 | 348 | esac | 
 | 349 |  | 
 | 350 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 351 |   as_expr=expr | 
 | 352 | else | 
 | 353 |   as_expr=false | 
 | 354 | fi | 
 | 355 |  | 
 | 356 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 357 | echo >conf$$.file | 
 | 358 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
 | 359 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
 | 360 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
 | 361 |   if test -f conf$$.exe; then | 
 | 362 |     # Don't use ln at all; we don't have any links | 
 | 363 |     as_ln_s='cp -p' | 
 | 364 |   else | 
 | 365 |     as_ln_s='ln -s' | 
 | 366 |   fi | 
 | 367 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
 | 368 |   as_ln_s=ln | 
 | 369 | else | 
 | 370 |   as_ln_s='cp -p' | 
 | 371 | fi | 
 | 372 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 373 |  | 
 | 374 | as_executable_p="test -f" | 
 | 375 |  | 
 | 376 | # Sed expression to map a string onto a valid CPP name. | 
 | 377 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 
 | 378 |  | 
 | 379 | # Sed expression to map a string onto a valid variable name. | 
 | 380 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 
 | 381 |  | 
 | 382 |  | 
 | 383 | # IFS | 
 | 384 | # We need space, tab and new line, in precisely that order. | 
 | 385 | as_nl=' | 
 | 386 | ' | 
 | 387 | IFS=" 	$as_nl" | 
 | 388 |  | 
 | 389 | # CDPATH. | 
 | 390 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | 
 | 391 |  | 
 | 392 |  | 
 | 393 | # Name of the host. | 
 | 394 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 
 | 395 | # so uname gets run too. | 
 | 396 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 
 | 397 |  | 
 | 398 | exec 6>&1 | 
 | 399 |  | 
 | 400 | # | 
 | 401 | # Initializations. | 
 | 402 | # | 
 | 403 | ac_default_prefix=/usr/local | 
 | 404 | cross_compiling=no | 
 | 405 | subdirs= | 
 | 406 | MFLAGS= | 
 | 407 | MAKEFLAGS= | 
 | 408 | SHELL=${CONFIG_SHELL-/bin/sh} | 
 | 409 |  | 
 | 410 | # Maximum number of lines to put in a shell here document. | 
 | 411 | # This variable seems obsolete.  It should probably be removed, and | 
 | 412 | # only ac_max_sed_lines should be used. | 
 | 413 | : ${ac_max_here_lines=38} | 
 | 414 |  | 
 | 415 | # Identity of this package. | 
 | 416 | PACKAGE_NAME='[LLVM]' | 
 | 417 | PACKAGE_TARNAME='--llvm--' | 
 | 418 | PACKAGE_VERSION='[1.0]' | 
 | 419 | PACKAGE_STRING='[LLVM] [1.0]' | 
 | 420 | PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu' | 
 | 421 |  | 
 | 422 | # Factoring default headers for most tests. | 
 | 423 | ac_includes_default="\ | 
 | 424 | #include <stdio.h> | 
 | 425 | #if HAVE_SYS_TYPES_H | 
 | 426 | # include <sys/types.h> | 
 | 427 | #endif | 
 | 428 | #if HAVE_SYS_STAT_H | 
 | 429 | # include <sys/stat.h> | 
 | 430 | #endif | 
 | 431 | #if STDC_HEADERS | 
 | 432 | # include <stdlib.h> | 
 | 433 | # include <stddef.h> | 
 | 434 | #else | 
 | 435 | # if HAVE_STDLIB_H | 
 | 436 | #  include <stdlib.h> | 
 | 437 | # endif | 
 | 438 | #endif | 
 | 439 | #if HAVE_STRING_H | 
 | 440 | # if !STDC_HEADERS && HAVE_MEMORY_H | 
 | 441 | #  include <memory.h> | 
 | 442 | # endif | 
 | 443 | # include <string.h> | 
 | 444 | #endif | 
 | 445 | #if HAVE_STRINGS_H | 
 | 446 | # include <strings.h> | 
 | 447 | #endif | 
 | 448 | #if HAVE_INTTYPES_H | 
 | 449 | # include <inttypes.h> | 
 | 450 | #else | 
 | 451 | # if HAVE_STDINT_H | 
 | 452 | #  include <stdint.h> | 
 | 453 | # endif | 
 | 454 | #endif | 
 | 455 | #if HAVE_UNISTD_H | 
 | 456 | # include <unistd.h> | 
 | 457 | #endif" | 
 | 458 |  | 
 | 459 | ac_unique_file=""Makefile.config.in"" | 
 | 460 |  | 
 | 461 | # Initialize some variables set by options. | 
 | 462 | ac_init_help= | 
 | 463 | ac_init_version=false | 
 | 464 | # The variables have the same names as the options, with | 
 | 465 | # dashes changed to underlines. | 
 | 466 | cache_file=/dev/null | 
 | 467 | exec_prefix=NONE | 
 | 468 | no_create= | 
 | 469 | no_recursion= | 
 | 470 | prefix=NONE | 
 | 471 | program_prefix=NONE | 
 | 472 | program_suffix=NONE | 
 | 473 | program_transform_name=s,x,x, | 
 | 474 | silent= | 
 | 475 | site= | 
 | 476 | srcdir= | 
 | 477 | verbose= | 
 | 478 | x_includes=NONE | 
 | 479 | x_libraries=NONE | 
 | 480 |  | 
 | 481 | # Installation directory options. | 
 | 482 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
 | 483 | # and all the variables that are supposed to be based on exec_prefix | 
 | 484 | # by default will actually change. | 
 | 485 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
 | 486 | bindir='${exec_prefix}/bin' | 
 | 487 | sbindir='${exec_prefix}/sbin' | 
 | 488 | libexecdir='${exec_prefix}/libexec' | 
 | 489 | datadir='${prefix}/share' | 
 | 490 | sysconfdir='${prefix}/etc' | 
 | 491 | sharedstatedir='${prefix}/com' | 
 | 492 | localstatedir='${prefix}/var' | 
 | 493 | libdir='${exec_prefix}/lib' | 
 | 494 | includedir='${prefix}/include' | 
 | 495 | oldincludedir='/usr/include' | 
 | 496 | infodir='${prefix}/info' | 
 | 497 | mandir='${prefix}/man' | 
 | 498 |  | 
 | 499 | ac_prev= | 
 | 500 | for ac_option | 
 | 501 | do | 
 | 502 |   # If the previous option needs an argument, assign it. | 
 | 503 |   if test -n "$ac_prev"; then | 
 | 504 |     eval "$ac_prev=\$ac_option" | 
 | 505 |     ac_prev= | 
 | 506 |     continue | 
 | 507 |   fi | 
 | 508 |  | 
 | 509 |   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 
 | 510 |  | 
 | 511 |   # Accept the important Cygnus configure options, so we can diagnose typos. | 
 | 512 |  | 
 | 513 |   case $ac_option in | 
 | 514 |  | 
 | 515 |   -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
 | 516 |     ac_prev=bindir ;; | 
 | 517 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
 | 518 |     bindir=$ac_optarg ;; | 
 | 519 |  | 
 | 520 |   -build | --build | --buil | --bui | --bu) | 
 | 521 |     ac_prev=build_alias ;; | 
 | 522 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
 | 523 |     build_alias=$ac_optarg ;; | 
 | 524 |  | 
 | 525 |   -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
 | 526 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
 | 527 |     ac_prev=cache_file ;; | 
 | 528 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
 | 529 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
 | 530 |     cache_file=$ac_optarg ;; | 
 | 531 |  | 
 | 532 |   --config-cache | -C) | 
 | 533 |     cache_file=config.cache ;; | 
 | 534 |  | 
 | 535 |   -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 
 | 536 |     ac_prev=datadir ;; | 
 | 537 |   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 
 | 538 |   | --da=*) | 
 | 539 |     datadir=$ac_optarg ;; | 
 | 540 |  | 
 | 541 |   -disable-* | --disable-*) | 
 | 542 |     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
 | 543 |     # Reject names that are not valid shell variable names. | 
 | 544 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 545 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
 | 546 |    { (exit 1); exit 1; }; } | 
 | 547 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
 | 548 |     eval "enable_$ac_feature=no" ;; | 
 | 549 |  | 
 | 550 |   -enable-* | --enable-*) | 
 | 551 |     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
 | 552 |     # Reject names that are not valid shell variable names. | 
 | 553 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 554 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
 | 555 |    { (exit 1); exit 1; }; } | 
 | 556 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
 | 557 |     case $ac_option in | 
 | 558 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
 | 559 |       *) ac_optarg=yes ;; | 
 | 560 |     esac | 
 | 561 |     eval "enable_$ac_feature='$ac_optarg'" ;; | 
 | 562 |  | 
 | 563 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
 | 564 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
 | 565 |   | --exec | --exe | --ex) | 
 | 566 |     ac_prev=exec_prefix ;; | 
 | 567 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
 | 568 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
 | 569 |   | --exec=* | --exe=* | --ex=*) | 
 | 570 |     exec_prefix=$ac_optarg ;; | 
 | 571 |  | 
 | 572 |   -gas | --gas | --ga | --g) | 
 | 573 |     # Obsolete; use --with-gas. | 
 | 574 |     with_gas=yes ;; | 
 | 575 |  | 
 | 576 |   -help | --help | --hel | --he | -h) | 
 | 577 |     ac_init_help=long ;; | 
 | 578 |   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
 | 579 |     ac_init_help=recursive ;; | 
 | 580 |   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
 | 581 |     ac_init_help=short ;; | 
 | 582 |  | 
 | 583 |   -host | --host | --hos | --ho) | 
 | 584 |     ac_prev=host_alias ;; | 
 | 585 |   -host=* | --host=* | --hos=* | --ho=*) | 
 | 586 |     host_alias=$ac_optarg ;; | 
 | 587 |  | 
 | 588 |   -includedir | --includedir | --includedi | --included | --include \ | 
 | 589 |   | --includ | --inclu | --incl | --inc) | 
 | 590 |     ac_prev=includedir ;; | 
 | 591 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
 | 592 |   | --includ=* | --inclu=* | --incl=* | --inc=*) | 
 | 593 |     includedir=$ac_optarg ;; | 
 | 594 |  | 
 | 595 |   -infodir | --infodir | --infodi | --infod | --info | --inf) | 
 | 596 |     ac_prev=infodir ;; | 
 | 597 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
 | 598 |     infodir=$ac_optarg ;; | 
 | 599 |  | 
 | 600 |   -libdir | --libdir | --libdi | --libd) | 
 | 601 |     ac_prev=libdir ;; | 
 | 602 |   -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
 | 603 |     libdir=$ac_optarg ;; | 
 | 604 |  | 
 | 605 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
 | 606 |   | --libexe | --libex | --libe) | 
 | 607 |     ac_prev=libexecdir ;; | 
 | 608 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
 | 609 |   | --libexe=* | --libex=* | --libe=*) | 
 | 610 |     libexecdir=$ac_optarg ;; | 
 | 611 |  | 
 | 612 |   -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
 | 613 |   | --localstate | --localstat | --localsta | --localst \ | 
 | 614 |   | --locals | --local | --loca | --loc | --lo) | 
 | 615 |     ac_prev=localstatedir ;; | 
 | 616 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
 | 617 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 
 | 618 |   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 
 | 619 |     localstatedir=$ac_optarg ;; | 
 | 620 |  | 
 | 621 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
 | 622 |     ac_prev=mandir ;; | 
 | 623 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
 | 624 |     mandir=$ac_optarg ;; | 
 | 625 |  | 
 | 626 |   -nfp | --nfp | --nf) | 
 | 627 |     # Obsolete; use --without-fp. | 
 | 628 |     with_fp=no ;; | 
 | 629 |  | 
 | 630 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
 | 631 |   | --no-cr | --no-c | -n) | 
 | 632 |     no_create=yes ;; | 
 | 633 |  | 
 | 634 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
 | 635 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
 | 636 |     no_recursion=yes ;; | 
 | 637 |  | 
 | 638 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
 | 639 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
 | 640 |   | --oldin | --oldi | --old | --ol | --o) | 
 | 641 |     ac_prev=oldincludedir ;; | 
 | 642 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
 | 643 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
 | 644 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
 | 645 |     oldincludedir=$ac_optarg ;; | 
 | 646 |  | 
 | 647 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
 | 648 |     ac_prev=prefix ;; | 
 | 649 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
 | 650 |     prefix=$ac_optarg ;; | 
 | 651 |  | 
 | 652 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
 | 653 |   | --program-pre | --program-pr | --program-p) | 
 | 654 |     ac_prev=program_prefix ;; | 
 | 655 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
 | 656 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
 | 657 |     program_prefix=$ac_optarg ;; | 
 | 658 |  | 
 | 659 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
 | 660 |   | --program-suf | --program-su | --program-s) | 
 | 661 |     ac_prev=program_suffix ;; | 
 | 662 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
 | 663 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
 | 664 |     program_suffix=$ac_optarg ;; | 
 | 665 |  | 
 | 666 |   -program-transform-name | --program-transform-name \ | 
 | 667 |   | --program-transform-nam | --program-transform-na \ | 
 | 668 |   | --program-transform-n | --program-transform- \ | 
 | 669 |   | --program-transform | --program-transfor \ | 
 | 670 |   | --program-transfo | --program-transf \ | 
 | 671 |   | --program-trans | --program-tran \ | 
 | 672 |   | --progr-tra | --program-tr | --program-t) | 
 | 673 |     ac_prev=program_transform_name ;; | 
 | 674 |   -program-transform-name=* | --program-transform-name=* \ | 
 | 675 |   | --program-transform-nam=* | --program-transform-na=* \ | 
 | 676 |   | --program-transform-n=* | --program-transform-=* \ | 
 | 677 |   | --program-transform=* | --program-transfor=* \ | 
 | 678 |   | --program-transfo=* | --program-transf=* \ | 
 | 679 |   | --program-trans=* | --program-tran=* \ | 
 | 680 |   | --progr-tra=* | --program-tr=* | --program-t=*) | 
 | 681 |     program_transform_name=$ac_optarg ;; | 
 | 682 |  | 
 | 683 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
 | 684 |   | -silent | --silent | --silen | --sile | --sil) | 
 | 685 |     silent=yes ;; | 
 | 686 |  | 
 | 687 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
 | 688 |     ac_prev=sbindir ;; | 
 | 689 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
 | 690 |   | --sbi=* | --sb=*) | 
 | 691 |     sbindir=$ac_optarg ;; | 
 | 692 |  | 
 | 693 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
 | 694 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
 | 695 |   | --sharedst | --shareds | --shared | --share | --shar \ | 
 | 696 |   | --sha | --sh) | 
 | 697 |     ac_prev=sharedstatedir ;; | 
 | 698 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
 | 699 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
 | 700 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
 | 701 |   | --sha=* | --sh=*) | 
 | 702 |     sharedstatedir=$ac_optarg ;; | 
 | 703 |  | 
 | 704 |   -site | --site | --sit) | 
 | 705 |     ac_prev=site ;; | 
 | 706 |   -site=* | --site=* | --sit=*) | 
 | 707 |     site=$ac_optarg ;; | 
 | 708 |  | 
 | 709 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
 | 710 |     ac_prev=srcdir ;; | 
 | 711 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
 | 712 |     srcdir=$ac_optarg ;; | 
 | 713 |  | 
 | 714 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
 | 715 |   | --syscon | --sysco | --sysc | --sys | --sy) | 
 | 716 |     ac_prev=sysconfdir ;; | 
 | 717 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
 | 718 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
 | 719 |     sysconfdir=$ac_optarg ;; | 
 | 720 |  | 
 | 721 |   -target | --target | --targe | --targ | --tar | --ta | --t) | 
 | 722 |     ac_prev=target_alias ;; | 
 | 723 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
 | 724 |     target_alias=$ac_optarg ;; | 
 | 725 |  | 
 | 726 |   -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
 | 727 |     verbose=yes ;; | 
 | 728 |  | 
 | 729 |   -version | --version | --versio | --versi | --vers | -V) | 
 | 730 |     ac_init_version=: ;; | 
 | 731 |  | 
 | 732 |   -with-* | --with-*) | 
 | 733 |     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
 | 734 |     # Reject names that are not valid shell variable names. | 
 | 735 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 736 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
 | 737 |    { (exit 1); exit 1; }; } | 
 | 738 |     ac_package=`echo $ac_package| sed 's/-/_/g'` | 
 | 739 |     case $ac_option in | 
 | 740 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
 | 741 |       *) ac_optarg=yes ;; | 
 | 742 |     esac | 
 | 743 |     eval "with_$ac_package='$ac_optarg'" ;; | 
 | 744 |  | 
 | 745 |   -without-* | --without-*) | 
 | 746 |     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
 | 747 |     # Reject names that are not valid shell variable names. | 
 | 748 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 749 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
 | 750 |    { (exit 1); exit 1; }; } | 
 | 751 |     ac_package=`echo $ac_package | sed 's/-/_/g'` | 
 | 752 |     eval "with_$ac_package=no" ;; | 
 | 753 |  | 
 | 754 |   --x) | 
 | 755 |     # Obsolete; use --with-x. | 
 | 756 |     with_x=yes ;; | 
 | 757 |  | 
 | 758 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
 | 759 |   | --x-incl | --x-inc | --x-in | --x-i) | 
 | 760 |     ac_prev=x_includes ;; | 
 | 761 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
 | 762 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
 | 763 |     x_includes=$ac_optarg ;; | 
 | 764 |  | 
 | 765 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
 | 766 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
 | 767 |     ac_prev=x_libraries ;; | 
 | 768 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
 | 769 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
 | 770 |     x_libraries=$ac_optarg ;; | 
 | 771 |  | 
 | 772 |   -*) { echo "$as_me: error: unrecognized option: $ac_option | 
 | 773 | Try \`$0 --help' for more information." >&2 | 
 | 774 |    { (exit 1); exit 1; }; } | 
 | 775 |     ;; | 
 | 776 |  | 
 | 777 |   *=*) | 
 | 778 |     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
 | 779 |     # Reject names that are not valid shell variable names. | 
 | 780 |     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 
 | 781 |       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 
 | 782 |    { (exit 1); exit 1; }; } | 
 | 783 |     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 
 | 784 |     eval "$ac_envvar='$ac_optarg'" | 
 | 785 |     export $ac_envvar ;; | 
 | 786 |  | 
 | 787 |   *) | 
 | 788 |     # FIXME: should be removed in autoconf 3.0. | 
 | 789 |     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
 | 790 |     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
 | 791 |       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
 | 792 |     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 
 | 793 |     ;; | 
 | 794 |  | 
 | 795 |   esac | 
 | 796 | done | 
 | 797 |  | 
 | 798 | if test -n "$ac_prev"; then | 
 | 799 |   ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
 | 800 |   { echo "$as_me: error: missing argument to $ac_option" >&2 | 
 | 801 |    { (exit 1); exit 1; }; } | 
 | 802 | fi | 
 | 803 |  | 
 | 804 | # Be sure to have absolute paths. | 
 | 805 | for ac_var in exec_prefix prefix | 
 | 806 | do | 
 | 807 |   eval ac_val=$`echo $ac_var` | 
 | 808 |   case $ac_val in | 
 | 809 |     [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 
 | 810 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
 | 811 |    { (exit 1); exit 1; }; };; | 
 | 812 |   esac | 
 | 813 | done | 
 | 814 |  | 
 | 815 | # Be sure to have absolute paths. | 
 | 816 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 
 | 817 |               localstatedir libdir includedir oldincludedir infodir mandir | 
 | 818 | do | 
 | 819 |   eval ac_val=$`echo $ac_var` | 
 | 820 |   case $ac_val in | 
 | 821 |     [\\/$]* | ?:[\\/]* ) ;; | 
 | 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 | # There might be people who depend on the old broken behavior: `$host' | 
 | 828 | # used to hold the argument of --host etc. | 
 | 829 | # FIXME: To remove some day. | 
 | 830 | build=$build_alias | 
 | 831 | host=$host_alias | 
 | 832 | target=$target_alias | 
 | 833 |  | 
 | 834 | # FIXME: To remove some day. | 
 | 835 | if test "x$host_alias" != x; then | 
 | 836 |   if test "x$build_alias" = x; then | 
 | 837 |     cross_compiling=maybe | 
 | 838 |     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 
 | 839 |     If a cross compiler is detected then cross compile mode will be used." >&2 | 
 | 840 |   elif test "x$build_alias" != "x$host_alias"; then | 
 | 841 |     cross_compiling=yes | 
 | 842 |   fi | 
 | 843 | fi | 
 | 844 |  | 
 | 845 | ac_tool_prefix= | 
 | 846 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
 | 847 |  | 
 | 848 | test "$silent" = yes && exec 6>/dev/null | 
 | 849 |  | 
 | 850 |  | 
 | 851 | # Find the source files, if location was not specified. | 
 | 852 | if test -z "$srcdir"; then | 
 | 853 |   ac_srcdir_defaulted=yes | 
 | 854 |   # Try the directory containing this script, then its parent. | 
 | 855 |   ac_confdir=`(dirname "$0") 2>/dev/null || | 
 | 856 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 857 |          X"$0" : 'X\(//\)[^/]' \| \ | 
 | 858 |          X"$0" : 'X\(//\)$' \| \ | 
 | 859 |          X"$0" : 'X\(/\)' \| \ | 
 | 860 |          .     : '\(.\)' 2>/dev/null || | 
 | 861 | echo X"$0" | | 
 | 862 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 863 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 864 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 865 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 866 |   	  s/.*/./; q'` | 
 | 867 |   srcdir=$ac_confdir | 
 | 868 |   if test ! -r $srcdir/$ac_unique_file; then | 
 | 869 |     srcdir=.. | 
 | 870 |   fi | 
 | 871 | else | 
 | 872 |   ac_srcdir_defaulted=no | 
 | 873 | fi | 
 | 874 | if test ! -r $srcdir/$ac_unique_file; then | 
 | 875 |   if test "$ac_srcdir_defaulted" = yes; then | 
 | 876 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 
 | 877 |    { (exit 1); exit 1; }; } | 
 | 878 |   else | 
 | 879 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 
 | 880 |    { (exit 1); exit 1; }; } | 
 | 881 |   fi | 
 | 882 | fi | 
 | 883 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 
 | 884 | ac_env_build_alias_set=${build_alias+set} | 
 | 885 | ac_env_build_alias_value=$build_alias | 
 | 886 | ac_cv_env_build_alias_set=${build_alias+set} | 
 | 887 | ac_cv_env_build_alias_value=$build_alias | 
 | 888 | ac_env_host_alias_set=${host_alias+set} | 
 | 889 | ac_env_host_alias_value=$host_alias | 
 | 890 | ac_cv_env_host_alias_set=${host_alias+set} | 
 | 891 | ac_cv_env_host_alias_value=$host_alias | 
 | 892 | ac_env_target_alias_set=${target_alias+set} | 
 | 893 | ac_env_target_alias_value=$target_alias | 
 | 894 | ac_cv_env_target_alias_set=${target_alias+set} | 
 | 895 | ac_cv_env_target_alias_value=$target_alias | 
 | 896 | ac_env_CXX_set=${CXX+set} | 
 | 897 | ac_env_CXX_value=$CXX | 
 | 898 | ac_cv_env_CXX_set=${CXX+set} | 
 | 899 | ac_cv_env_CXX_value=$CXX | 
 | 900 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | 
 | 901 | ac_env_CXXFLAGS_value=$CXXFLAGS | 
 | 902 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | 
 | 903 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | 
 | 904 | ac_env_LDFLAGS_set=${LDFLAGS+set} | 
 | 905 | ac_env_LDFLAGS_value=$LDFLAGS | 
 | 906 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | 
 | 907 | ac_cv_env_LDFLAGS_value=$LDFLAGS | 
 | 908 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | 
 | 909 | ac_env_CPPFLAGS_value=$CPPFLAGS | 
 | 910 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | 
 | 911 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | 
 | 912 | ac_env_CC_set=${CC+set} | 
 | 913 | ac_env_CC_value=$CC | 
 | 914 | ac_cv_env_CC_set=${CC+set} | 
 | 915 | ac_cv_env_CC_value=$CC | 
 | 916 | ac_env_CFLAGS_set=${CFLAGS+set} | 
 | 917 | ac_env_CFLAGS_value=$CFLAGS | 
 | 918 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | 
 | 919 | ac_cv_env_CFLAGS_value=$CFLAGS | 
 | 920 | ac_env_CPP_set=${CPP+set} | 
 | 921 | ac_env_CPP_value=$CPP | 
 | 922 | ac_cv_env_CPP_set=${CPP+set} | 
 | 923 | ac_cv_env_CPP_value=$CPP | 
 | 924 |  | 
 | 925 | # | 
 | 926 | # Report the --help message. | 
 | 927 | # | 
 | 928 | if test "$ac_init_help" = "long"; then | 
 | 929 |   # Omit some internal or obsolete options to make the list less imposing. | 
 | 930 |   # This message is too long to be a string in the A/UX 3.1 sh. | 
 | 931 |   cat <<_ACEOF | 
 | 932 | \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems. | 
 | 933 |  | 
 | 934 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
 | 935 |  | 
 | 936 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
 | 937 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
 | 938 |  | 
 | 939 | Defaults for the options are specified in brackets. | 
 | 940 |  | 
 | 941 | Configuration: | 
 | 942 |   -h, --help              display this help and exit | 
 | 943 |       --help=short        display options specific to this package | 
 | 944 |       --help=recursive    display the short help of all the included packages | 
 | 945 |   -V, --version           display version information and exit | 
 | 946 |   -q, --quiet, --silent   do not print \`checking...' messages | 
 | 947 |       --cache-file=FILE   cache test results in FILE [disabled] | 
 | 948 |   -C, --config-cache      alias for \`--cache-file=config.cache' | 
 | 949 |   -n, --no-create         do not create output files | 
 | 950 |       --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
 | 951 |  | 
 | 952 | _ACEOF | 
 | 953 |  | 
 | 954 |   cat <<_ACEOF | 
 | 955 | Installation directories: | 
 | 956 |   --prefix=PREFIX         install architecture-independent files in PREFIX | 
 | 957 |                           [$ac_default_prefix] | 
 | 958 |   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
 | 959 |                           [PREFIX] | 
 | 960 |  | 
 | 961 | By default, \`make install' will install all the files in | 
 | 962 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
 | 963 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
 | 964 | for instance \`--prefix=\$HOME'. | 
 | 965 |  | 
 | 966 | For better control, use the options below. | 
 | 967 |  | 
 | 968 | Fine tuning of the installation directories: | 
 | 969 |   --bindir=DIR           user executables [EPREFIX/bin] | 
 | 970 |   --sbindir=DIR          system admin executables [EPREFIX/sbin] | 
 | 971 |   --libexecdir=DIR       program executables [EPREFIX/libexec] | 
 | 972 |   --datadir=DIR          read-only architecture-independent data [PREFIX/share] | 
 | 973 |   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] | 
 | 974 |   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] | 
 | 975 |   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] | 
 | 976 |   --libdir=DIR           object code libraries [EPREFIX/lib] | 
 | 977 |   --includedir=DIR       C header files [PREFIX/include] | 
 | 978 |   --oldincludedir=DIR    C header files for non-gcc [/usr/include] | 
 | 979 |   --infodir=DIR          info documentation [PREFIX/info] | 
 | 980 |   --mandir=DIR           man documentation [PREFIX/man] | 
 | 981 | _ACEOF | 
 | 982 |  | 
 | 983 |   cat <<\_ACEOF | 
 | 984 |  | 
 | 985 | System types: | 
 | 986 |   --build=BUILD     configure for building on BUILD [guessed] | 
 | 987 |   --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
 | 988 |   --target=TARGET   configure for building compilers for TARGET [HOST] | 
 | 989 | _ACEOF | 
 | 990 | fi | 
 | 991 |  | 
 | 992 | if test -n "$ac_init_help"; then | 
 | 993 |   case $ac_init_help in | 
 | 994 |      short | recursive ) echo "Configuration of [LLVM] [1.0]:";; | 
 | 995 |    esac | 
 | 996 |   cat <<\_ACEOF | 
 | 997 |  | 
 | 998 | Optional Features: | 
 | 999 |   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
 | 1000 |   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
 | 1001 |   --enable-shared=PKGS  build shared libraries default=yes | 
 | 1002 |   --enable-static=PKGS  build static libraries default=yes | 
 | 1003 |   --enable-fast-install=PKGS  optimize for fast installation default=yes | 
 | 1004 |   --disable-libtool-lock  avoid locking (might break parallel builds) | 
 | 1005 |   --enable-purify         Compile with purify (default is NO) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1006 |   --enable-profiling      Compile with profiling information (default is NO) | 
 | 1007 |   --enable-optimized      Compile with optimizations enabled (default is NO) | 
 | 1008 |   --enable-spec           Compile SPEC benchmarks (default is NO) | 
 | 1009 |   --enable-precompiled_bytecode | 
 | 1010 |                           Use pre-compiled bytecode (default is NO) | 
 | 1011 |   --enable-jit            Enable Just In Time Compiling (default is NO) | 
 | 1012 |  | 
 | 1013 | Optional Packages: | 
 | 1014 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
 | 1015 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
 | 1016 |   --with-gnu-ld           assume the C compiler uses GNU ld default=no | 
 | 1017 |   --with-pic              try to use only PIC/non-PIC objects default=use both | 
 | 1018 |   --with-spec             Location of SPEC benchmarks | 
 | 1019 |   --with-llvmgccdir       Location of LLVM GCC front-end | 
 | 1020 |   --with-bcrepos          Location of Bytecode Repository | 
 | 1021 |   --with-papi             Location of PAPI | 
 | 1022 |   --with-objroot          Location where object files should be placed | 
 | 1023 |                           (default is .) | 
 | 1024 |   --with-purify           Location of purify program | 
 | 1025 |  | 
 | 1026 | Some influential environment variables: | 
 | 1027 |   CXX         C++ compiler command | 
 | 1028 |   CXXFLAGS    C++ compiler flags | 
 | 1029 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
 | 1030 |               nonstandard directory <lib dir> | 
 | 1031 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
 | 1032 |               headers in a nonstandard directory <include dir> | 
 | 1033 |   CC          C compiler command | 
 | 1034 |   CFLAGS      C compiler flags | 
 | 1035 |   CPP         C preprocessor | 
 | 1036 |  | 
 | 1037 | Use these variables to override the choices made by `configure' or to help | 
 | 1038 | it to find libraries and programs with nonstandard names/locations. | 
 | 1039 |  | 
 | 1040 | Report bugs to <llvmbugs@cs.uiuc.edu>. | 
 | 1041 | _ACEOF | 
 | 1042 | fi | 
 | 1043 |  | 
 | 1044 | if test "$ac_init_help" = "recursive"; then | 
 | 1045 |   # If there are subdirs, report their specific --help. | 
 | 1046 |   ac_popdir=`pwd` | 
 | 1047 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
 | 1048 |     test -d $ac_dir || continue | 
 | 1049 |     ac_builddir=. | 
 | 1050 |  | 
 | 1051 | if test "$ac_dir" != .; then | 
 | 1052 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 1053 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 1054 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 1055 | else | 
 | 1056 |   ac_dir_suffix= ac_top_builddir= | 
 | 1057 | fi | 
 | 1058 |  | 
 | 1059 | case $srcdir in | 
 | 1060 |   .)  # No --srcdir option.  We are building in place. | 
 | 1061 |     ac_srcdir=. | 
 | 1062 |     if test -z "$ac_top_builddir"; then | 
 | 1063 |        ac_top_srcdir=. | 
 | 1064 |     else | 
 | 1065 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 1066 |     fi ;; | 
 | 1067 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 1068 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 1069 |     ac_top_srcdir=$srcdir ;; | 
 | 1070 |   *) # Relative path. | 
 | 1071 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 1072 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 1073 | esac | 
 | 1074 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 1075 | # absolute. | 
 | 1076 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
 | 1077 | ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | 
 | 1078 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 1079 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 1080 |  | 
 | 1081 |     cd $ac_dir | 
 | 1082 |     # Check for guested configure; otherwise get Cygnus style configure. | 
 | 1083 |     if test -f $ac_srcdir/configure.gnu; then | 
 | 1084 |       echo | 
 | 1085 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
 | 1086 |     elif test -f $ac_srcdir/configure; then | 
 | 1087 |       echo | 
 | 1088 |       $SHELL $ac_srcdir/configure  --help=recursive | 
 | 1089 |     elif test -f $ac_srcdir/configure.ac || | 
 | 1090 |            test -f $ac_srcdir/configure.in; then | 
 | 1091 |       echo | 
 | 1092 |       $ac_configure --help | 
 | 1093 |     else | 
 | 1094 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
 | 1095 |     fi | 
 | 1096 |     cd $ac_popdir | 
 | 1097 |   done | 
 | 1098 | fi | 
 | 1099 |  | 
 | 1100 | test -n "$ac_init_help" && exit 0 | 
 | 1101 | if $ac_init_version; then | 
 | 1102 |   cat <<\_ACEOF | 
 | 1103 | [LLVM] configure [1.0] | 
 | 1104 | generated by GNU Autoconf 2.53 | 
 | 1105 |  | 
 | 1106 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 
 | 1107 | Free Software Foundation, Inc. | 
 | 1108 | This configure script is free software; the Free Software Foundation | 
 | 1109 | gives unlimited permission to copy, distribute and modify it. | 
 | 1110 | _ACEOF | 
 | 1111 |   exit 0 | 
 | 1112 | fi | 
 | 1113 | exec 5>config.log | 
 | 1114 | cat >&5 <<_ACEOF | 
 | 1115 | This file contains any messages produced by compilers while | 
 | 1116 | running configure, to aid debugging if configure makes a mistake. | 
 | 1117 |  | 
 | 1118 | It was created by [LLVM] $as_me [1.0], which was | 
 | 1119 | generated by GNU Autoconf 2.53.  Invocation command line was | 
 | 1120 |  | 
 | 1121 |   $ $0 $@ | 
 | 1122 |  | 
 | 1123 | _ACEOF | 
 | 1124 | { | 
 | 1125 | cat <<_ASUNAME | 
 | 1126 | ## --------- ## | 
 | 1127 | ## Platform. ## | 
 | 1128 | ## --------- ## | 
 | 1129 |  | 
 | 1130 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
 | 1131 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
 | 1132 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
 | 1133 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
 | 1134 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
 | 1135 |  | 
 | 1136 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
 | 1137 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
 | 1138 |  | 
 | 1139 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
 | 1140 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
 | 1141 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
 | 1142 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
 | 1143 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
 | 1144 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
 | 1145 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
 | 1146 |  | 
 | 1147 | _ASUNAME | 
 | 1148 |  | 
 | 1149 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1150 | for as_dir in $PATH | 
 | 1151 | do | 
 | 1152 |   IFS=$as_save_IFS | 
 | 1153 |   test -z "$as_dir" && as_dir=. | 
 | 1154 |   echo "PATH: $as_dir" | 
 | 1155 | done | 
 | 1156 |  | 
 | 1157 | } >&5 | 
 | 1158 |  | 
 | 1159 | cat >&5 <<_ACEOF | 
 | 1160 |  | 
 | 1161 |  | 
 | 1162 | ## ----------- ## | 
 | 1163 | ## Core tests. ## | 
 | 1164 | ## ----------- ## | 
 | 1165 |  | 
 | 1166 | _ACEOF | 
 | 1167 |  | 
 | 1168 |  | 
 | 1169 | # Keep a trace of the command line. | 
 | 1170 | # Strip out --no-create and --no-recursion so they do not pile up. | 
 | 1171 | # Also quote any args containing shell meta-characters. | 
 | 1172 | ac_configure_args= | 
 | 1173 | ac_sep= | 
 | 1174 | for ac_arg | 
 | 1175 | do | 
 | 1176 |   case $ac_arg in | 
 | 1177 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
 | 1178 |   | --no-cr | --no-c | -n ) continue ;; | 
 | 1179 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
 | 1180 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
 | 1181 |     continue ;; | 
 | 1182 |   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
 | 1183 |     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
 | 1184 |   esac | 
 | 1185 |   case " $ac_configure_args " in | 
 | 1186 |     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
 | 1187 |     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
 | 1188 |        ac_sep=" " ;; | 
 | 1189 |   esac | 
 | 1190 |   # Get rid of the leading space. | 
 | 1191 | done | 
 | 1192 |  | 
 | 1193 | # When interrupted or exit'd, cleanup temporary files, and complete | 
 | 1194 | # config.log.  We remove comments because anyway the quotes in there | 
 | 1195 | # would cause problems or look ugly. | 
 | 1196 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
 | 1197 | # such as our DU 5.0 friend, will then `close' the trap. | 
 | 1198 | trap 'exit_status=$? | 
 | 1199 |   # Save into config.log some information that might help in debugging. | 
 | 1200 |   { | 
 | 1201 |     echo | 
 | 1202 |     cat <<\_ASBOX | 
 | 1203 | ## ---------------- ## | 
 | 1204 | ## Cache variables. ## | 
 | 1205 | ## ---------------- ## | 
 | 1206 | _ASBOX | 
 | 1207 |     echo | 
 | 1208 |     # The following way of writing the cache mishandles newlines in values, | 
 | 1209 | { | 
 | 1210 |   (set) 2>&1 | | 
 | 1211 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
 | 1212 |     *ac_space=\ *) | 
 | 1213 |       sed -n \ | 
 | 1214 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
 | 1215 |     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
 | 1216 |       ;; | 
 | 1217 |     *) | 
 | 1218 |       sed -n \ | 
 | 1219 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
 | 1220 |       ;; | 
 | 1221 |     esac; | 
 | 1222 | } | 
 | 1223 |     echo | 
 | 1224 |     if test -s confdefs.h; then | 
 | 1225 |       cat <<\_ASBOX | 
 | 1226 | ## ----------- ## | 
 | 1227 | ## confdefs.h. ## | 
 | 1228 | ## ----------- ## | 
 | 1229 | _ASBOX | 
 | 1230 |       echo | 
 | 1231 |       sed "/^$/d" confdefs.h | 
 | 1232 |       echo | 
 | 1233 |     fi | 
 | 1234 |     test "$ac_signal" != 0 && | 
 | 1235 |       echo "$as_me: caught signal $ac_signal" | 
 | 1236 |     echo "$as_me: exit $exit_status" | 
 | 1237 |   } >&5 | 
 | 1238 |   rm -f core core.* *.core && | 
 | 1239 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
 | 1240 |     exit $exit_status | 
 | 1241 |      ' 0 | 
 | 1242 | for ac_signal in 1 2 13 15; do | 
 | 1243 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
 | 1244 | done | 
 | 1245 | ac_signal=0 | 
 | 1246 |  | 
 | 1247 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
 | 1248 | rm -rf conftest* confdefs.h | 
 | 1249 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
 | 1250 | echo >confdefs.h | 
 | 1251 |  | 
 | 1252 | # Predefined preprocessor variables. | 
 | 1253 |  | 
 | 1254 | cat >>confdefs.h <<_ACEOF | 
 | 1255 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
 | 1256 | _ACEOF | 
 | 1257 |  | 
 | 1258 |  | 
 | 1259 | cat >>confdefs.h <<_ACEOF | 
 | 1260 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
 | 1261 | _ACEOF | 
 | 1262 |  | 
 | 1263 |  | 
 | 1264 | cat >>confdefs.h <<_ACEOF | 
 | 1265 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
 | 1266 | _ACEOF | 
 | 1267 |  | 
 | 1268 |  | 
 | 1269 | cat >>confdefs.h <<_ACEOF | 
 | 1270 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
 | 1271 | _ACEOF | 
 | 1272 |  | 
 | 1273 |  | 
 | 1274 | cat >>confdefs.h <<_ACEOF | 
 | 1275 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
 | 1276 | _ACEOF | 
 | 1277 |  | 
 | 1278 |  | 
 | 1279 | # Let the site file select an alternate cache file if it wants to. | 
 | 1280 | # Prefer explicitly selected file to automatically selected ones. | 
 | 1281 | if test -z "$CONFIG_SITE"; then | 
 | 1282 |   if test "x$prefix" != xNONE; then | 
 | 1283 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
 | 1284 |   else | 
 | 1285 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
 | 1286 |   fi | 
 | 1287 | fi | 
 | 1288 | for ac_site_file in $CONFIG_SITE; do | 
 | 1289 |   if test -r "$ac_site_file"; then | 
 | 1290 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
 | 1291 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
 | 1292 |     sed 's/^/| /' "$ac_site_file" >&5 | 
 | 1293 |     . "$ac_site_file" | 
 | 1294 |   fi | 
 | 1295 | done | 
 | 1296 |  | 
 | 1297 | if test -r "$cache_file"; then | 
 | 1298 |   # Some versions of bash will fail to source /dev/null (special | 
 | 1299 |   # files actually), so we avoid doing that. | 
 | 1300 |   if test -f "$cache_file"; then | 
 | 1301 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
 | 1302 | echo "$as_me: loading cache $cache_file" >&6;} | 
 | 1303 |     case $cache_file in | 
 | 1304 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
 | 1305 |       *)                      . ./$cache_file;; | 
 | 1306 |     esac | 
 | 1307 |   fi | 
 | 1308 | else | 
 | 1309 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
 | 1310 | echo "$as_me: creating cache $cache_file" >&6;} | 
 | 1311 |   >$cache_file | 
 | 1312 | fi | 
 | 1313 |  | 
 | 1314 | # Check that the precious variables saved in the cache have kept the same | 
 | 1315 | # value. | 
 | 1316 | ac_cache_corrupted=false | 
 | 1317 | for ac_var in `(set) 2>&1 | | 
 | 1318 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
 | 1319 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
 | 1320 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
 | 1321 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
 | 1322 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
 | 1323 |   case $ac_old_set,$ac_new_set in | 
 | 1324 |     set,) | 
 | 1325 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
 | 1326 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
 | 1327 |       ac_cache_corrupted=: ;; | 
 | 1328 |     ,set) | 
 | 1329 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
 | 1330 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
 | 1331 |       ac_cache_corrupted=: ;; | 
 | 1332 |     ,);; | 
 | 1333 |     *) | 
 | 1334 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
 | 1335 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
 | 1336 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
 | 1337 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
 | 1338 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
 | 1339 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
 | 1340 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
 | 1341 |         ac_cache_corrupted=: | 
 | 1342 |       fi;; | 
 | 1343 |   esac | 
 | 1344 |   # Pass precious variables to config.status. | 
 | 1345 |   if test "$ac_new_set" = set; then | 
 | 1346 |     case $ac_new_val in | 
 | 1347 |     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
 | 1348 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
 | 1349 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
 | 1350 |     esac | 
 | 1351 |     case " $ac_configure_args " in | 
 | 1352 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
 | 1353 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
 | 1354 |     esac | 
 | 1355 |   fi | 
 | 1356 | done | 
 | 1357 | if $ac_cache_corrupted; then | 
 | 1358 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
 | 1359 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
 | 1360 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
 | 1361 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
 | 1362 |    { (exit 1); exit 1; }; } | 
 | 1363 | fi | 
 | 1364 |  | 
 | 1365 | ac_ext=c | 
 | 1366 | ac_cpp='$CPP $CPPFLAGS' | 
 | 1367 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 1368 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 1369 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 1370 |  | 
 | 1371 |  | 
 | 1372 |  | 
 | 1373 |  | 
 | 1374 |  | 
 | 1375 |  | 
 | 1376 |  | 
 | 1377 |  | 
 | 1378 |  | 
 | 1379 |  | 
 | 1380 |  | 
 | 1381 |  | 
 | 1382 |  | 
 | 1383 |  | 
 | 1384 |  | 
 | 1385 |  | 
 | 1386 |  | 
 | 1387 |  | 
 | 1388 |  | 
 | 1389 |  | 
 | 1390 |  | 
 | 1391 |  | 
 | 1392 |  | 
 | 1393 |  | 
 | 1394 |  | 
 | 1395 |  | 
 | 1396 |  | 
 | 1397 | ac_config_headers="$ac_config_headers include/Config/config.h" | 
 | 1398 |  | 
 | 1399 |  | 
 | 1400 |  | 
 | 1401 | ac_aux_dir= | 
 | 1402 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 
 | 1403 |   if test -f $ac_dir/install-sh; then | 
 | 1404 |     ac_aux_dir=$ac_dir | 
 | 1405 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
 | 1406 |     break | 
 | 1407 |   elif test -f $ac_dir/install.sh; then | 
 | 1408 |     ac_aux_dir=$ac_dir | 
 | 1409 |     ac_install_sh="$ac_aux_dir/install.sh -c" | 
 | 1410 |     break | 
 | 1411 |   elif test -f $ac_dir/shtool; then | 
 | 1412 |     ac_aux_dir=$ac_dir | 
 | 1413 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
 | 1414 |     break | 
 | 1415 |   fi | 
 | 1416 | done | 
 | 1417 | if test -z "$ac_aux_dir"; then | 
 | 1418 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 
 | 1419 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 
 | 1420 |    { (exit 1); exit 1; }; } | 
 | 1421 | fi | 
 | 1422 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
 | 1423 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
 | 1424 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
 | 1425 |  | 
 | 1426 | # Find a good install program.  We prefer a C program (faster), | 
 | 1427 | # so one script is as good as another.  But avoid the broken or | 
 | 1428 | # incompatible versions: | 
 | 1429 | # SysV /etc/install, /usr/sbin/install | 
 | 1430 | # SunOS /usr/etc/install | 
 | 1431 | # IRIX /sbin/install | 
 | 1432 | # AIX /bin/install | 
 | 1433 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
 | 1434 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
 | 1435 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
 | 1436 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
 | 1437 | # ./install, which can be erroneously created by make from ./install.sh. | 
 | 1438 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
 | 1439 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
 | 1440 | if test -z "$INSTALL"; then | 
 | 1441 | if test "${ac_cv_path_install+set}" = set; then | 
 | 1442 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1443 | else | 
 | 1444 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1445 | for as_dir in $PATH | 
 | 1446 | do | 
 | 1447 |   IFS=$as_save_IFS | 
 | 1448 |   test -z "$as_dir" && as_dir=. | 
 | 1449 |   # Account for people who put trailing slashes in PATH elements. | 
 | 1450 | case $as_dir/ in | 
 | 1451 |   ./ | .// | /cC/* | \ | 
 | 1452 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
 | 1453 |   /usr/ucb/* ) ;; | 
 | 1454 |   *) | 
 | 1455 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
 | 1456 |     # Don't use installbsd from OSF since it installs stuff as root | 
 | 1457 |     # by default. | 
 | 1458 |     for ac_prog in ginstall scoinst install; do | 
 | 1459 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 1460 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
 | 1461 |           if test $ac_prog = install && | 
 | 1462 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
 | 1463 |             # AIX install.  It has an incompatible calling convention. | 
 | 1464 |             : | 
 | 1465 |           elif test $ac_prog = install && | 
 | 1466 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
 | 1467 |             # program-specific install script used by HP pwplus--don't use. | 
 | 1468 |             : | 
 | 1469 |           else | 
 | 1470 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
 | 1471 |             break 3 | 
 | 1472 |           fi | 
 | 1473 |         fi | 
 | 1474 |       done | 
 | 1475 |     done | 
 | 1476 |     ;; | 
 | 1477 | esac | 
 | 1478 | done | 
 | 1479 |  | 
 | 1480 |  | 
 | 1481 | fi | 
 | 1482 |   if test "${ac_cv_path_install+set}" = set; then | 
 | 1483 |     INSTALL=$ac_cv_path_install | 
 | 1484 |   else | 
 | 1485 |     # As a last resort, use the slow shell script.  We don't cache a | 
 | 1486 |     # path for INSTALL within a source directory, because that will | 
 | 1487 |     # break other packages using the cache if that directory is | 
 | 1488 |     # removed, or if the path is relative. | 
 | 1489 |     INSTALL=$ac_install_sh | 
 | 1490 |   fi | 
 | 1491 | fi | 
 | 1492 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
 | 1493 | echo "${ECHO_T}$INSTALL" >&6 | 
 | 1494 |  | 
 | 1495 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
 | 1496 | # It thinks the first close brace ends the variable substitution. | 
 | 1497 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
 | 1498 |  | 
 | 1499 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
 | 1500 |  | 
 | 1501 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
 | 1502 |  | 
 | 1503 |  | 
 | 1504 | # Make sure we can run config.sub. | 
 | 1505 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
 | 1506 |   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
 | 1507 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
 | 1508 |    { (exit 1); exit 1; }; } | 
 | 1509 |  | 
 | 1510 | echo "$as_me:$LINENO: checking build system type" >&5 | 
 | 1511 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
 | 1512 | if test "${ac_cv_build+set}" = set; then | 
 | 1513 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1514 | else | 
 | 1515 |   ac_cv_build_alias=$build_alias | 
 | 1516 | test -z "$ac_cv_build_alias" && | 
 | 1517 |   ac_cv_build_alias=`$ac_config_guess` | 
 | 1518 | test -z "$ac_cv_build_alias" && | 
 | 1519 |   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
 | 1520 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
 | 1521 |    { (exit 1); exit 1; }; } | 
 | 1522 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
 | 1523 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
 | 1524 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
 | 1525 |    { (exit 1); exit 1; }; } | 
 | 1526 |  | 
 | 1527 | fi | 
 | 1528 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
 | 1529 | echo "${ECHO_T}$ac_cv_build" >&6 | 
 | 1530 | build=$ac_cv_build | 
 | 1531 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 1532 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 1533 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 1534 |  | 
 | 1535 |  | 
 | 1536 | echo "$as_me:$LINENO: checking host system type" >&5 | 
 | 1537 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
 | 1538 | if test "${ac_cv_host+set}" = set; then | 
 | 1539 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1540 | else | 
 | 1541 |   ac_cv_host_alias=$host_alias | 
 | 1542 | test -z "$ac_cv_host_alias" && | 
 | 1543 |   ac_cv_host_alias=$ac_cv_build_alias | 
 | 1544 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
 | 1545 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
 | 1546 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
 | 1547 |    { (exit 1); exit 1; }; } | 
 | 1548 |  | 
 | 1549 | fi | 
 | 1550 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
 | 1551 | echo "${ECHO_T}$ac_cv_host" >&6 | 
 | 1552 | host=$ac_cv_host | 
 | 1553 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 1554 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 1555 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 1556 |  | 
 | 1557 |  | 
 | 1558 | echo "$as_me:$LINENO: checking target system type" >&5 | 
 | 1559 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
 | 1560 | if test "${ac_cv_target+set}" = set; then | 
 | 1561 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1562 | else | 
 | 1563 |   ac_cv_target_alias=$target_alias | 
 | 1564 | test "x$ac_cv_target_alias" = "x" && | 
 | 1565 |   ac_cv_target_alias=$ac_cv_host_alias | 
 | 1566 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
 | 1567 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
 | 1568 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
 | 1569 |    { (exit 1); exit 1; }; } | 
 | 1570 |  | 
 | 1571 | fi | 
 | 1572 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
 | 1573 | echo "${ECHO_T}$ac_cv_target" >&6 | 
 | 1574 | target=$ac_cv_target | 
 | 1575 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 1576 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 1577 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 1578 |  | 
 | 1579 |  | 
 | 1580 | # The aliases save the names the user supplied, while $host etc. | 
 | 1581 | # will get canonicalized. | 
 | 1582 | test -n "$target_alias" && | 
 | 1583 |   test "$program_prefix$program_suffix$program_transform_name" = \ | 
 | 1584 |     NONENONEs,x,x, && | 
 | 1585 |   program_prefix=${target_alias}- | 
 | 1586 |  | 
 | 1587 | case $build in | 
 | 1588 | 	*i*86*)  OS=Linux | 
 | 1589 |  | 
 | 1590 | 	         DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1 | 
 | 1591 |  | 
 | 1592 | 	         LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/ | 
 | 1593 |  | 
 | 1594 | 	         ;; | 
 | 1595 |  | 
 | 1596 | 	*sparc*) OS=SunOS | 
 | 1597 |  | 
 | 1598 | 	         LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/ | 
 | 1599 |  | 
 | 1600 | 	         ;; | 
 | 1601 |  | 
 | 1602 | 	*)       OS=Unknown | 
 | 1603 |  | 
 | 1604 | 	         ;; | 
 | 1605 | esac | 
 | 1606 |  | 
 | 1607 | case $target in | 
 | 1608 | 	*sparc*solaris*)  target=sparcv9-sun-solaris2.8 | 
 | 1609 |  | 
 | 1610 | 	                  ;; | 
 | 1611 | esac | 
 | 1612 |  | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame^] | 1613 | case $target in | 
 | 1614 | 	*i*86*)           ARCH=x86 | 
 | 1615 |  | 
 | 1616 | 	                  ;; | 
 | 1617 | 	*sparc*solaris*)  ARCH=Sparc | 
 | 1618 |  | 
 | 1619 | 	                  ;; | 
 | 1620 | esac | 
 | 1621 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1622 |  | 
 | 1623 | ac_ext=cc | 
 | 1624 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 1625 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 1626 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 1627 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 1628 | if test -n "$ac_tool_prefix"; then | 
 | 1629 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
 | 1630 |   do | 
 | 1631 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
 | 1632 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
 | 1633 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 1634 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 1635 | if test "${ac_cv_prog_CXX+set}" = set; then | 
 | 1636 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1637 | else | 
 | 1638 |   if test -n "$CXX"; then | 
 | 1639 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
 | 1640 | else | 
 | 1641 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1642 | for as_dir in $PATH | 
 | 1643 | do | 
 | 1644 |   IFS=$as_save_IFS | 
 | 1645 |   test -z "$as_dir" && as_dir=. | 
 | 1646 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 1647 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 1648 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
 | 1649 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 1650 |     break 2 | 
 | 1651 |   fi | 
 | 1652 | done | 
 | 1653 | done | 
 | 1654 |  | 
 | 1655 | fi | 
 | 1656 | fi | 
 | 1657 | CXX=$ac_cv_prog_CXX | 
 | 1658 | if test -n "$CXX"; then | 
 | 1659 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
 | 1660 | echo "${ECHO_T}$CXX" >&6 | 
 | 1661 | else | 
 | 1662 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 1663 | echo "${ECHO_T}no" >&6 | 
 | 1664 | fi | 
 | 1665 |  | 
 | 1666 |     test -n "$CXX" && break | 
 | 1667 |   done | 
 | 1668 | fi | 
 | 1669 | if test -z "$CXX"; then | 
 | 1670 |   ac_ct_CXX=$CXX | 
 | 1671 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
 | 1672 | do | 
 | 1673 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 1674 | set dummy $ac_prog; ac_word=$2 | 
 | 1675 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 1676 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 1677 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
 | 1678 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1679 | else | 
 | 1680 |   if test -n "$ac_ct_CXX"; then | 
 | 1681 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
 | 1682 | else | 
 | 1683 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1684 | for as_dir in $PATH | 
 | 1685 | do | 
 | 1686 |   IFS=$as_save_IFS | 
 | 1687 |   test -z "$as_dir" && as_dir=. | 
 | 1688 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 1689 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 1690 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
 | 1691 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 1692 |     break 2 | 
 | 1693 |   fi | 
 | 1694 | done | 
 | 1695 | done | 
 | 1696 |  | 
 | 1697 | fi | 
 | 1698 | fi | 
 | 1699 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
 | 1700 | if test -n "$ac_ct_CXX"; then | 
 | 1701 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
 | 1702 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
 | 1703 | else | 
 | 1704 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 1705 | echo "${ECHO_T}no" >&6 | 
 | 1706 | fi | 
 | 1707 |  | 
 | 1708 |   test -n "$ac_ct_CXX" && break | 
 | 1709 | done | 
 | 1710 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
 | 1711 |  | 
 | 1712 |   CXX=$ac_ct_CXX | 
 | 1713 | fi | 
 | 1714 |  | 
 | 1715 |  | 
 | 1716 | # Provide some information about the compiler. | 
 | 1717 | echo "$as_me:$LINENO:" \ | 
 | 1718 |      "checking for C++ compiler version" >&5 | 
 | 1719 | ac_compiler=`set X $ac_compile; echo $2` | 
 | 1720 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
 | 1721 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
 | 1722 |   ac_status=$? | 
 | 1723 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1724 |   (exit $ac_status); } | 
 | 1725 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
 | 1726 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
 | 1727 |   ac_status=$? | 
 | 1728 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1729 |   (exit $ac_status); } | 
 | 1730 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
 | 1731 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
 | 1732 |   ac_status=$? | 
 | 1733 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1734 |   (exit $ac_status); } | 
 | 1735 |  | 
 | 1736 | cat >conftest.$ac_ext <<_ACEOF | 
 | 1737 | #line $LINENO "configure" | 
 | 1738 | #include "confdefs.h" | 
 | 1739 |  | 
 | 1740 | #ifdef F77_DUMMY_MAIN | 
 | 1741 | #  ifdef __cplusplus | 
 | 1742 |      extern "C" | 
 | 1743 | #  endif | 
 | 1744 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 1745 | #endif | 
 | 1746 | int | 
 | 1747 | main () | 
 | 1748 | { | 
 | 1749 |  | 
 | 1750 |   ; | 
 | 1751 |   return 0; | 
 | 1752 | } | 
 | 1753 | _ACEOF | 
 | 1754 | ac_clean_files_save=$ac_clean_files | 
 | 1755 | ac_clean_files="$ac_clean_files a.out a.exe" | 
 | 1756 | # Try to create an executable without -o first, disregard a.out. | 
 | 1757 | # It will help us diagnose broken compilers, and finding out an intuition | 
 | 1758 | # of exeext. | 
 | 1759 | echo "$as_me:$LINENO: checking for C++ compiler default output" >&5 | 
 | 1760 | echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 | 
 | 1761 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
 | 1762 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
 | 1763 |   (eval $ac_link_default) 2>&5 | 
 | 1764 |   ac_status=$? | 
 | 1765 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1766 |   (exit $ac_status); }; then | 
 | 1767 |   # Find the output, starting from the most likely.  This scheme is | 
 | 1768 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
 | 1769 | # resort. | 
 | 1770 |  | 
 | 1771 | # Be careful to initialize this variable, since it used to be cached. | 
 | 1772 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
 | 1773 | ac_cv_exeext= | 
 | 1774 | for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; | 
 | 1775 |                 ls a.out conftest 2>/dev/null; | 
 | 1776 |                 ls a.* conftest.* 2>/dev/null`; do | 
 | 1777 |   case $ac_file in | 
 | 1778 |     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; | 
 | 1779 |     a.out ) # We found the default executable, but exeext='' is most | 
 | 1780 |             # certainly right. | 
 | 1781 |             break;; | 
 | 1782 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
 | 1783 |           # FIXME: I believe we export ac_cv_exeext for Libtool --akim. | 
 | 1784 |           export ac_cv_exeext | 
 | 1785 |           break;; | 
 | 1786 |     * ) break;; | 
 | 1787 |   esac | 
 | 1788 | done | 
 | 1789 | else | 
 | 1790 |   echo "$as_me: failed program was:" >&5 | 
 | 1791 | cat conftest.$ac_ext >&5 | 
 | 1792 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables" >&5 | 
 | 1793 | echo "$as_me: error: C++ compiler cannot create executables" >&2;} | 
 | 1794 |    { (exit 77); exit 77; }; } | 
 | 1795 | fi | 
 | 1796 |  | 
 | 1797 | ac_exeext=$ac_cv_exeext | 
 | 1798 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
 | 1799 | echo "${ECHO_T}$ac_file" >&6 | 
 | 1800 |  | 
 | 1801 | # Check the compiler produces executables we can run.  If not, either | 
 | 1802 | # the compiler is broken, or we cross compile. | 
 | 1803 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
 | 1804 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
 | 1805 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
 | 1806 | # If not cross compiling, check that we can run a simple program. | 
 | 1807 | if test "$cross_compiling" != yes; then | 
 | 1808 |   if { ac_try='./$ac_file' | 
 | 1809 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 1810 |   (eval $ac_try) 2>&5 | 
 | 1811 |   ac_status=$? | 
 | 1812 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1813 |   (exit $ac_status); }; }; then | 
 | 1814 |     cross_compiling=no | 
 | 1815 |   else | 
 | 1816 |     if test "$cross_compiling" = maybe; then | 
 | 1817 | 	cross_compiling=yes | 
 | 1818 |     else | 
 | 1819 | 	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
 | 1820 | If you meant to cross compile, use \`--host'." >&5 | 
 | 1821 | echo "$as_me: error: cannot run C++ compiled programs. | 
 | 1822 | If you meant to cross compile, use \`--host'." >&2;} | 
 | 1823 |    { (exit 1); exit 1; }; } | 
 | 1824 |     fi | 
 | 1825 |   fi | 
 | 1826 | fi | 
 | 1827 | echo "$as_me:$LINENO: result: yes" >&5 | 
 | 1828 | echo "${ECHO_T}yes" >&6 | 
 | 1829 |  | 
 | 1830 | rm -f a.out a.exe conftest$ac_cv_exeext | 
 | 1831 | ac_clean_files=$ac_clean_files_save | 
 | 1832 | # Check the compiler produces executables we can run.  If not, either | 
 | 1833 | # the compiler is broken, or we cross compile. | 
 | 1834 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
 | 1835 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
 | 1836 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
 | 1837 | echo "${ECHO_T}$cross_compiling" >&6 | 
 | 1838 |  | 
 | 1839 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
 | 1840 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
 | 1841 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 1842 |   (eval $ac_link) 2>&5 | 
 | 1843 |   ac_status=$? | 
 | 1844 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1845 |   (exit $ac_status); }; then | 
 | 1846 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
 | 1847 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
 | 1848 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
 | 1849 | # `rm'. | 
 | 1850 | for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | 
 | 1851 |   case $ac_file in | 
 | 1852 |     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | 
 | 1853 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
 | 1854 |           export ac_cv_exeext | 
 | 1855 |           break;; | 
 | 1856 |     * ) break;; | 
 | 1857 |   esac | 
 | 1858 | done | 
 | 1859 | else | 
 | 1860 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 | 
 | 1861 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} | 
 | 1862 |    { (exit 1); exit 1; }; } | 
 | 1863 | fi | 
 | 1864 |  | 
 | 1865 | rm -f conftest$ac_cv_exeext | 
 | 1866 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
 | 1867 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
 | 1868 |  | 
 | 1869 | rm -f conftest.$ac_ext | 
 | 1870 | EXEEXT=$ac_cv_exeext | 
 | 1871 | ac_exeext=$EXEEXT | 
 | 1872 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
 | 1873 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
 | 1874 | if test "${ac_cv_objext+set}" = set; then | 
 | 1875 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1876 | else | 
 | 1877 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 1878 | #line $LINENO "configure" | 
 | 1879 | #include "confdefs.h" | 
 | 1880 |  | 
 | 1881 | #ifdef F77_DUMMY_MAIN | 
 | 1882 | #  ifdef __cplusplus | 
 | 1883 |      extern "C" | 
 | 1884 | #  endif | 
 | 1885 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 1886 | #endif | 
 | 1887 | int | 
 | 1888 | main () | 
 | 1889 | { | 
 | 1890 |  | 
 | 1891 |   ; | 
 | 1892 |   return 0; | 
 | 1893 | } | 
 | 1894 | _ACEOF | 
 | 1895 | rm -f conftest.o conftest.obj | 
 | 1896 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 1897 |   (eval $ac_compile) 2>&5 | 
 | 1898 |   ac_status=$? | 
 | 1899 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1900 |   (exit $ac_status); }; then | 
 | 1901 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
 | 1902 |   case $ac_file in | 
 | 1903 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | 
 | 1904 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
 | 1905 |        break;; | 
 | 1906 |   esac | 
 | 1907 | done | 
 | 1908 | else | 
 | 1909 |   echo "$as_me: failed program was:" >&5 | 
 | 1910 | cat conftest.$ac_ext >&5 | 
 | 1911 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 | 
 | 1912 | echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} | 
 | 1913 |    { (exit 1); exit 1; }; } | 
 | 1914 | fi | 
 | 1915 |  | 
 | 1916 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
 | 1917 | fi | 
 | 1918 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
 | 1919 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
 | 1920 | OBJEXT=$ac_cv_objext | 
 | 1921 | ac_objext=$OBJEXT | 
 | 1922 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
 | 1923 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
 | 1924 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
 | 1925 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1926 | else | 
 | 1927 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 1928 | #line $LINENO "configure" | 
 | 1929 | #include "confdefs.h" | 
 | 1930 |  | 
 | 1931 | #ifdef F77_DUMMY_MAIN | 
 | 1932 | #  ifdef __cplusplus | 
 | 1933 |      extern "C" | 
 | 1934 | #  endif | 
 | 1935 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 1936 | #endif | 
 | 1937 | int | 
 | 1938 | main () | 
 | 1939 | { | 
 | 1940 | #ifndef __GNUC__ | 
 | 1941 |        choke me | 
 | 1942 | #endif | 
 | 1943 |  | 
 | 1944 |   ; | 
 | 1945 |   return 0; | 
 | 1946 | } | 
 | 1947 | _ACEOF | 
 | 1948 | rm -f conftest.$ac_objext | 
 | 1949 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 1950 |   (eval $ac_compile) 2>&5 | 
 | 1951 |   ac_status=$? | 
 | 1952 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1953 |   (exit $ac_status); } && | 
 | 1954 |          { ac_try='test -s conftest.$ac_objext' | 
 | 1955 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 1956 |   (eval $ac_try) 2>&5 | 
 | 1957 |   ac_status=$? | 
 | 1958 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1959 |   (exit $ac_status); }; }; then | 
 | 1960 |   ac_compiler_gnu=yes | 
 | 1961 | else | 
 | 1962 |   echo "$as_me: failed program was:" >&5 | 
 | 1963 | cat conftest.$ac_ext >&5 | 
 | 1964 | ac_compiler_gnu=no | 
 | 1965 | fi | 
 | 1966 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 1967 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
 | 1968 |  | 
 | 1969 | fi | 
 | 1970 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
 | 1971 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
 | 1972 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
 | 1973 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
 | 1974 | ac_save_CXXFLAGS=$CXXFLAGS | 
 | 1975 | CXXFLAGS="-g" | 
 | 1976 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
 | 1977 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
 | 1978 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
 | 1979 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1980 | else | 
 | 1981 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 1982 | #line $LINENO "configure" | 
 | 1983 | #include "confdefs.h" | 
 | 1984 |  | 
 | 1985 | #ifdef F77_DUMMY_MAIN | 
 | 1986 | #  ifdef __cplusplus | 
 | 1987 |      extern "C" | 
 | 1988 | #  endif | 
 | 1989 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 1990 | #endif | 
 | 1991 | int | 
 | 1992 | main () | 
 | 1993 | { | 
 | 1994 |  | 
 | 1995 |   ; | 
 | 1996 |   return 0; | 
 | 1997 | } | 
 | 1998 | _ACEOF | 
 | 1999 | rm -f conftest.$ac_objext | 
 | 2000 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2001 |   (eval $ac_compile) 2>&5 | 
 | 2002 |   ac_status=$? | 
 | 2003 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2004 |   (exit $ac_status); } && | 
 | 2005 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2006 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2007 |   (eval $ac_try) 2>&5 | 
 | 2008 |   ac_status=$? | 
 | 2009 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2010 |   (exit $ac_status); }; }; then | 
 | 2011 |   ac_cv_prog_cxx_g=yes | 
 | 2012 | else | 
 | 2013 |   echo "$as_me: failed program was:" >&5 | 
 | 2014 | cat conftest.$ac_ext >&5 | 
 | 2015 | ac_cv_prog_cxx_g=no | 
 | 2016 | fi | 
 | 2017 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2018 | fi | 
 | 2019 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
 | 2020 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
 | 2021 | if test "$ac_test_CXXFLAGS" = set; then | 
 | 2022 |   CXXFLAGS=$ac_save_CXXFLAGS | 
 | 2023 | elif test $ac_cv_prog_cxx_g = yes; then | 
 | 2024 |   if test "$GXX" = yes; then | 
 | 2025 |     CXXFLAGS="-g -O2" | 
 | 2026 |   else | 
 | 2027 |     CXXFLAGS="-g" | 
 | 2028 |   fi | 
 | 2029 | else | 
 | 2030 |   if test "$GXX" = yes; then | 
 | 2031 |     CXXFLAGS="-O2" | 
 | 2032 |   else | 
 | 2033 |     CXXFLAGS= | 
 | 2034 |   fi | 
 | 2035 | fi | 
 | 2036 | for ac_declaration in \ | 
 | 2037 |    ''\ | 
 | 2038 |    '#include <stdlib.h>' \ | 
 | 2039 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
 | 2040 |    'extern "C" void std::exit (int); using std::exit;' \ | 
 | 2041 |    'extern "C" void exit (int) throw ();' \ | 
 | 2042 |    'extern "C" void exit (int);' \ | 
 | 2043 |    'void exit (int);' | 
 | 2044 | do | 
 | 2045 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2046 | #line $LINENO "configure" | 
 | 2047 | #include "confdefs.h" | 
 | 2048 | #include <stdlib.h> | 
 | 2049 | $ac_declaration | 
 | 2050 | #ifdef F77_DUMMY_MAIN | 
 | 2051 | #  ifdef __cplusplus | 
 | 2052 |      extern "C" | 
 | 2053 | #  endif | 
 | 2054 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2055 | #endif | 
 | 2056 | int | 
 | 2057 | main () | 
 | 2058 | { | 
 | 2059 | exit (42); | 
 | 2060 |   ; | 
 | 2061 |   return 0; | 
 | 2062 | } | 
 | 2063 | _ACEOF | 
 | 2064 | rm -f conftest.$ac_objext | 
 | 2065 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2066 |   (eval $ac_compile) 2>&5 | 
 | 2067 |   ac_status=$? | 
 | 2068 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2069 |   (exit $ac_status); } && | 
 | 2070 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2071 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2072 |   (eval $ac_try) 2>&5 | 
 | 2073 |   ac_status=$? | 
 | 2074 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2075 |   (exit $ac_status); }; }; then | 
 | 2076 |   : | 
 | 2077 | else | 
 | 2078 |   echo "$as_me: failed program was:" >&5 | 
 | 2079 | cat conftest.$ac_ext >&5 | 
 | 2080 | continue | 
 | 2081 | fi | 
 | 2082 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2083 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2084 | #line $LINENO "configure" | 
 | 2085 | #include "confdefs.h" | 
 | 2086 | $ac_declaration | 
 | 2087 | #ifdef F77_DUMMY_MAIN | 
 | 2088 | #  ifdef __cplusplus | 
 | 2089 |      extern "C" | 
 | 2090 | #  endif | 
 | 2091 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2092 | #endif | 
 | 2093 | int | 
 | 2094 | main () | 
 | 2095 | { | 
 | 2096 | exit (42); | 
 | 2097 |   ; | 
 | 2098 |   return 0; | 
 | 2099 | } | 
 | 2100 | _ACEOF | 
 | 2101 | rm -f conftest.$ac_objext | 
 | 2102 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2103 |   (eval $ac_compile) 2>&5 | 
 | 2104 |   ac_status=$? | 
 | 2105 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2106 |   (exit $ac_status); } && | 
 | 2107 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2108 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2109 |   (eval $ac_try) 2>&5 | 
 | 2110 |   ac_status=$? | 
 | 2111 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2112 |   (exit $ac_status); }; }; then | 
 | 2113 |   break | 
 | 2114 | else | 
 | 2115 |   echo "$as_me: failed program was:" >&5 | 
 | 2116 | cat conftest.$ac_ext >&5 | 
 | 2117 | fi | 
 | 2118 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2119 | done | 
 | 2120 | rm -f conftest* | 
 | 2121 | if test -n "$ac_declaration"; then | 
 | 2122 |   echo '#ifdef __cplusplus' >>confdefs.h | 
 | 2123 |   echo $ac_declaration      >>confdefs.h | 
 | 2124 |   echo '#endif'             >>confdefs.h | 
 | 2125 | fi | 
 | 2126 |  | 
 | 2127 | ac_ext=c | 
 | 2128 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2129 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2130 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2131 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2132 |  | 
 | 2133 | ac_ext=c | 
 | 2134 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2135 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2136 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2137 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2138 | if test -n "$ac_tool_prefix"; then | 
 | 2139 |   for ac_prog in gcc | 
 | 2140 |   do | 
 | 2141 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
 | 2142 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
 | 2143 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2144 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2145 | if test "${ac_cv_prog_CC+set}" = set; then | 
 | 2146 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2147 | else | 
 | 2148 |   if test -n "$CC"; then | 
 | 2149 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
 | 2150 | else | 
 | 2151 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2152 | for as_dir in $PATH | 
 | 2153 | do | 
 | 2154 |   IFS=$as_save_IFS | 
 | 2155 |   test -z "$as_dir" && as_dir=. | 
 | 2156 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2157 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2158 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
 | 2159 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2160 |     break 2 | 
 | 2161 |   fi | 
 | 2162 | done | 
 | 2163 | done | 
 | 2164 |  | 
 | 2165 | fi | 
 | 2166 | fi | 
 | 2167 | CC=$ac_cv_prog_CC | 
 | 2168 | if test -n "$CC"; then | 
 | 2169 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
 | 2170 | echo "${ECHO_T}$CC" >&6 | 
 | 2171 | else | 
 | 2172 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2173 | echo "${ECHO_T}no" >&6 | 
 | 2174 | fi | 
 | 2175 |  | 
 | 2176 |     test -n "$CC" && break | 
 | 2177 |   done | 
 | 2178 | fi | 
 | 2179 | if test -z "$CC"; then | 
 | 2180 |   ac_ct_CC=$CC | 
 | 2181 |   for ac_prog in gcc | 
 | 2182 | do | 
 | 2183 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 2184 | set dummy $ac_prog; ac_word=$2 | 
 | 2185 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2186 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2187 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
 | 2188 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2189 | else | 
 | 2190 |   if test -n "$ac_ct_CC"; then | 
 | 2191 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
 | 2192 | else | 
 | 2193 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2194 | for as_dir in $PATH | 
 | 2195 | do | 
 | 2196 |   IFS=$as_save_IFS | 
 | 2197 |   test -z "$as_dir" && as_dir=. | 
 | 2198 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2199 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2200 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
 | 2201 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2202 |     break 2 | 
 | 2203 |   fi | 
 | 2204 | done | 
 | 2205 | done | 
 | 2206 |  | 
 | 2207 | fi | 
 | 2208 | fi | 
 | 2209 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
 | 2210 | if test -n "$ac_ct_CC"; then | 
 | 2211 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
 | 2212 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
 | 2213 | else | 
 | 2214 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2215 | echo "${ECHO_T}no" >&6 | 
 | 2216 | fi | 
 | 2217 |  | 
 | 2218 |   test -n "$ac_ct_CC" && break | 
 | 2219 | done | 
 | 2220 |  | 
 | 2221 |   CC=$ac_ct_CC | 
 | 2222 | fi | 
 | 2223 |  | 
 | 2224 |  | 
 | 2225 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 | 
 | 2226 | echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} | 
 | 2227 |    { (exit 1); exit 1; }; } | 
 | 2228 |  | 
 | 2229 | # Provide some information about the compiler. | 
 | 2230 | echo "$as_me:$LINENO:" \ | 
 | 2231 |      "checking for C compiler version" >&5 | 
 | 2232 | ac_compiler=`set X $ac_compile; echo $2` | 
 | 2233 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
 | 2234 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
 | 2235 |   ac_status=$? | 
 | 2236 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2237 |   (exit $ac_status); } | 
 | 2238 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
 | 2239 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
 | 2240 |   ac_status=$? | 
 | 2241 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2242 |   (exit $ac_status); } | 
 | 2243 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
 | 2244 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
 | 2245 |   ac_status=$? | 
 | 2246 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2247 |   (exit $ac_status); } | 
 | 2248 |  | 
 | 2249 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
 | 2250 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
 | 2251 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
 | 2252 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2253 | else | 
 | 2254 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2255 | #line $LINENO "configure" | 
 | 2256 | #include "confdefs.h" | 
 | 2257 |  | 
 | 2258 | #ifdef F77_DUMMY_MAIN | 
 | 2259 | #  ifdef __cplusplus | 
 | 2260 |      extern "C" | 
 | 2261 | #  endif | 
 | 2262 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2263 | #endif | 
 | 2264 | int | 
 | 2265 | main () | 
 | 2266 | { | 
 | 2267 | #ifndef __GNUC__ | 
 | 2268 |        choke me | 
 | 2269 | #endif | 
 | 2270 |  | 
 | 2271 |   ; | 
 | 2272 |   return 0; | 
 | 2273 | } | 
 | 2274 | _ACEOF | 
 | 2275 | rm -f conftest.$ac_objext | 
 | 2276 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2277 |   (eval $ac_compile) 2>&5 | 
 | 2278 |   ac_status=$? | 
 | 2279 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2280 |   (exit $ac_status); } && | 
 | 2281 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2282 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2283 |   (eval $ac_try) 2>&5 | 
 | 2284 |   ac_status=$? | 
 | 2285 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2286 |   (exit $ac_status); }; }; then | 
 | 2287 |   ac_compiler_gnu=yes | 
 | 2288 | else | 
 | 2289 |   echo "$as_me: failed program was:" >&5 | 
 | 2290 | cat conftest.$ac_ext >&5 | 
 | 2291 | ac_compiler_gnu=no | 
 | 2292 | fi | 
 | 2293 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2294 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
 | 2295 |  | 
 | 2296 | fi | 
 | 2297 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
 | 2298 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
 | 2299 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
 | 2300 | ac_test_CFLAGS=${CFLAGS+set} | 
 | 2301 | ac_save_CFLAGS=$CFLAGS | 
 | 2302 | CFLAGS="-g" | 
 | 2303 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
 | 2304 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
 | 2305 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
 | 2306 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2307 | else | 
 | 2308 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2309 | #line $LINENO "configure" | 
 | 2310 | #include "confdefs.h" | 
 | 2311 |  | 
 | 2312 | #ifdef F77_DUMMY_MAIN | 
 | 2313 | #  ifdef __cplusplus | 
 | 2314 |      extern "C" | 
 | 2315 | #  endif | 
 | 2316 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2317 | #endif | 
 | 2318 | int | 
 | 2319 | main () | 
 | 2320 | { | 
 | 2321 |  | 
 | 2322 |   ; | 
 | 2323 |   return 0; | 
 | 2324 | } | 
 | 2325 | _ACEOF | 
 | 2326 | rm -f conftest.$ac_objext | 
 | 2327 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2328 |   (eval $ac_compile) 2>&5 | 
 | 2329 |   ac_status=$? | 
 | 2330 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2331 |   (exit $ac_status); } && | 
 | 2332 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2333 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2334 |   (eval $ac_try) 2>&5 | 
 | 2335 |   ac_status=$? | 
 | 2336 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2337 |   (exit $ac_status); }; }; then | 
 | 2338 |   ac_cv_prog_cc_g=yes | 
 | 2339 | else | 
 | 2340 |   echo "$as_me: failed program was:" >&5 | 
 | 2341 | cat conftest.$ac_ext >&5 | 
 | 2342 | ac_cv_prog_cc_g=no | 
 | 2343 | fi | 
 | 2344 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2345 | fi | 
 | 2346 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
 | 2347 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
 | 2348 | if test "$ac_test_CFLAGS" = set; then | 
 | 2349 |   CFLAGS=$ac_save_CFLAGS | 
 | 2350 | elif test $ac_cv_prog_cc_g = yes; then | 
 | 2351 |   if test "$GCC" = yes; then | 
 | 2352 |     CFLAGS="-g -O2" | 
 | 2353 |   else | 
 | 2354 |     CFLAGS="-g" | 
 | 2355 |   fi | 
 | 2356 | else | 
 | 2357 |   if test "$GCC" = yes; then | 
 | 2358 |     CFLAGS="-O2" | 
 | 2359 |   else | 
 | 2360 |     CFLAGS= | 
 | 2361 |   fi | 
 | 2362 | fi | 
 | 2363 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
 | 2364 | # in C++ we need to declare it.  In case someone uses the same compiler | 
 | 2365 | # for both compiling C and C++ we need to have the C++ compiler decide | 
 | 2366 | # the declaration of exit, since it's the most demanding environment. | 
 | 2367 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2368 | #ifndef __cplusplus | 
 | 2369 |   choke me | 
 | 2370 | #endif | 
 | 2371 | _ACEOF | 
 | 2372 | rm -f conftest.$ac_objext | 
 | 2373 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2374 |   (eval $ac_compile) 2>&5 | 
 | 2375 |   ac_status=$? | 
 | 2376 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2377 |   (exit $ac_status); } && | 
 | 2378 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2379 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2380 |   (eval $ac_try) 2>&5 | 
 | 2381 |   ac_status=$? | 
 | 2382 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2383 |   (exit $ac_status); }; }; then | 
 | 2384 |   for ac_declaration in \ | 
 | 2385 |    ''\ | 
 | 2386 |    '#include <stdlib.h>' \ | 
 | 2387 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
 | 2388 |    'extern "C" void std::exit (int); using std::exit;' \ | 
 | 2389 |    'extern "C" void exit (int) throw ();' \ | 
 | 2390 |    'extern "C" void exit (int);' \ | 
 | 2391 |    'void exit (int);' | 
 | 2392 | do | 
 | 2393 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2394 | #line $LINENO "configure" | 
 | 2395 | #include "confdefs.h" | 
 | 2396 | #include <stdlib.h> | 
 | 2397 | $ac_declaration | 
 | 2398 | #ifdef F77_DUMMY_MAIN | 
 | 2399 | #  ifdef __cplusplus | 
 | 2400 |      extern "C" | 
 | 2401 | #  endif | 
 | 2402 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2403 | #endif | 
 | 2404 | int | 
 | 2405 | main () | 
 | 2406 | { | 
 | 2407 | exit (42); | 
 | 2408 |   ; | 
 | 2409 |   return 0; | 
 | 2410 | } | 
 | 2411 | _ACEOF | 
 | 2412 | rm -f conftest.$ac_objext | 
 | 2413 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2414 |   (eval $ac_compile) 2>&5 | 
 | 2415 |   ac_status=$? | 
 | 2416 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2417 |   (exit $ac_status); } && | 
 | 2418 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2419 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2420 |   (eval $ac_try) 2>&5 | 
 | 2421 |   ac_status=$? | 
 | 2422 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2423 |   (exit $ac_status); }; }; then | 
 | 2424 |   : | 
 | 2425 | else | 
 | 2426 |   echo "$as_me: failed program was:" >&5 | 
 | 2427 | cat conftest.$ac_ext >&5 | 
 | 2428 | continue | 
 | 2429 | fi | 
 | 2430 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2431 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2432 | #line $LINENO "configure" | 
 | 2433 | #include "confdefs.h" | 
 | 2434 | $ac_declaration | 
 | 2435 | #ifdef F77_DUMMY_MAIN | 
 | 2436 | #  ifdef __cplusplus | 
 | 2437 |      extern "C" | 
 | 2438 | #  endif | 
 | 2439 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2440 | #endif | 
 | 2441 | int | 
 | 2442 | main () | 
 | 2443 | { | 
 | 2444 | exit (42); | 
 | 2445 |   ; | 
 | 2446 |   return 0; | 
 | 2447 | } | 
 | 2448 | _ACEOF | 
 | 2449 | rm -f conftest.$ac_objext | 
 | 2450 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2451 |   (eval $ac_compile) 2>&5 | 
 | 2452 |   ac_status=$? | 
 | 2453 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2454 |   (exit $ac_status); } && | 
 | 2455 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2456 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2457 |   (eval $ac_try) 2>&5 | 
 | 2458 |   ac_status=$? | 
 | 2459 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2460 |   (exit $ac_status); }; }; then | 
 | 2461 |   break | 
 | 2462 | else | 
 | 2463 |   echo "$as_me: failed program was:" >&5 | 
 | 2464 | cat conftest.$ac_ext >&5 | 
 | 2465 | fi | 
 | 2466 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2467 | done | 
 | 2468 | rm -f conftest* | 
 | 2469 | if test -n "$ac_declaration"; then | 
 | 2470 |   echo '#ifdef __cplusplus' >>confdefs.h | 
 | 2471 |   echo $ac_declaration      >>confdefs.h | 
 | 2472 |   echo '#endif'             >>confdefs.h | 
 | 2473 | fi | 
 | 2474 |  | 
 | 2475 | else | 
 | 2476 |   echo "$as_me: failed program was:" >&5 | 
 | 2477 | cat conftest.$ac_ext >&5 | 
 | 2478 | fi | 
 | 2479 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2480 | ac_ext=c | 
 | 2481 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2482 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2483 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2484 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2485 |  | 
 | 2486 | ac_ext=c | 
 | 2487 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2488 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2489 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2490 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2491 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
 | 2492 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
 | 2493 | # On Suns, sometimes $CPP names a directory. | 
 | 2494 | if test -n "$CPP" && test -d "$CPP"; then | 
 | 2495 |   CPP= | 
 | 2496 | fi | 
 | 2497 | if test -z "$CPP"; then | 
 | 2498 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
 | 2499 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2500 | else | 
 | 2501 |       # Double quotes because CPP needs to be expanded | 
 | 2502 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
 | 2503 |     do | 
 | 2504 |       ac_preproc_ok=false | 
 | 2505 | for ac_c_preproc_warn_flag in '' yes | 
 | 2506 | do | 
 | 2507 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 2508 |   # with a fresh cross-compiler works. | 
 | 2509 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 2510 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 2511 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2512 | #line $LINENO "configure" | 
 | 2513 | #include "confdefs.h" | 
 | 2514 | #include <assert.h> | 
 | 2515 |                      Syntax error | 
 | 2516 | _ACEOF | 
 | 2517 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 2518 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 2519 |   ac_status=$? | 
 | 2520 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 2521 |   rm -f conftest.er1 | 
 | 2522 |   cat conftest.err >&5 | 
 | 2523 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2524 |   (exit $ac_status); } >/dev/null; then | 
 | 2525 |   if test -s conftest.err; then | 
 | 2526 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 2527 |   else | 
 | 2528 |     ac_cpp_err= | 
 | 2529 |   fi | 
 | 2530 | else | 
 | 2531 |   ac_cpp_err=yes | 
 | 2532 | fi | 
 | 2533 | if test -z "$ac_cpp_err"; then | 
 | 2534 |   : | 
 | 2535 | else | 
 | 2536 |   echo "$as_me: failed program was:" >&5 | 
 | 2537 |   cat conftest.$ac_ext >&5 | 
 | 2538 |   # Broken: fails on valid input. | 
 | 2539 | continue | 
 | 2540 | fi | 
 | 2541 | rm -f conftest.err conftest.$ac_ext | 
 | 2542 |  | 
 | 2543 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 2544 |   # can be detected and how. | 
 | 2545 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2546 | #line $LINENO "configure" | 
 | 2547 | #include "confdefs.h" | 
 | 2548 | #include <ac_nonexistent.h> | 
 | 2549 | _ACEOF | 
 | 2550 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 2551 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 2552 |   ac_status=$? | 
 | 2553 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 2554 |   rm -f conftest.er1 | 
 | 2555 |   cat conftest.err >&5 | 
 | 2556 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2557 |   (exit $ac_status); } >/dev/null; then | 
 | 2558 |   if test -s conftest.err; then | 
 | 2559 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 2560 |   else | 
 | 2561 |     ac_cpp_err= | 
 | 2562 |   fi | 
 | 2563 | else | 
 | 2564 |   ac_cpp_err=yes | 
 | 2565 | fi | 
 | 2566 | if test -z "$ac_cpp_err"; then | 
 | 2567 |   # Broken: success on invalid input. | 
 | 2568 | continue | 
 | 2569 | else | 
 | 2570 |   echo "$as_me: failed program was:" >&5 | 
 | 2571 |   cat conftest.$ac_ext >&5 | 
 | 2572 |   # Passes both tests. | 
 | 2573 | ac_preproc_ok=: | 
 | 2574 | break | 
 | 2575 | fi | 
 | 2576 | rm -f conftest.err conftest.$ac_ext | 
 | 2577 |  | 
 | 2578 | done | 
 | 2579 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 2580 | rm -f conftest.err conftest.$ac_ext | 
 | 2581 | if $ac_preproc_ok; then | 
 | 2582 |   break | 
 | 2583 | fi | 
 | 2584 |  | 
 | 2585 |     done | 
 | 2586 |     ac_cv_prog_CPP=$CPP | 
 | 2587 |  | 
 | 2588 | fi | 
 | 2589 |   CPP=$ac_cv_prog_CPP | 
 | 2590 | else | 
 | 2591 |   ac_cv_prog_CPP=$CPP | 
 | 2592 | fi | 
 | 2593 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
 | 2594 | echo "${ECHO_T}$CPP" >&6 | 
 | 2595 | ac_preproc_ok=false | 
 | 2596 | for ac_c_preproc_warn_flag in '' yes | 
 | 2597 | do | 
 | 2598 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 2599 |   # with a fresh cross-compiler works. | 
 | 2600 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 2601 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 2602 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2603 | #line $LINENO "configure" | 
 | 2604 | #include "confdefs.h" | 
 | 2605 | #include <assert.h> | 
 | 2606 |                      Syntax error | 
 | 2607 | _ACEOF | 
 | 2608 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 2609 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 2610 |   ac_status=$? | 
 | 2611 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 2612 |   rm -f conftest.er1 | 
 | 2613 |   cat conftest.err >&5 | 
 | 2614 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2615 |   (exit $ac_status); } >/dev/null; then | 
 | 2616 |   if test -s conftest.err; then | 
 | 2617 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 2618 |   else | 
 | 2619 |     ac_cpp_err= | 
 | 2620 |   fi | 
 | 2621 | else | 
 | 2622 |   ac_cpp_err=yes | 
 | 2623 | fi | 
 | 2624 | if test -z "$ac_cpp_err"; then | 
 | 2625 |   : | 
 | 2626 | else | 
 | 2627 |   echo "$as_me: failed program was:" >&5 | 
 | 2628 |   cat conftest.$ac_ext >&5 | 
 | 2629 |   # Broken: fails on valid input. | 
 | 2630 | continue | 
 | 2631 | fi | 
 | 2632 | rm -f conftest.err conftest.$ac_ext | 
 | 2633 |  | 
 | 2634 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 2635 |   # can be detected and how. | 
 | 2636 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2637 | #line $LINENO "configure" | 
 | 2638 | #include "confdefs.h" | 
 | 2639 | #include <ac_nonexistent.h> | 
 | 2640 | _ACEOF | 
 | 2641 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 2642 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 2643 |   ac_status=$? | 
 | 2644 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 2645 |   rm -f conftest.er1 | 
 | 2646 |   cat conftest.err >&5 | 
 | 2647 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2648 |   (exit $ac_status); } >/dev/null; then | 
 | 2649 |   if test -s conftest.err; then | 
 | 2650 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 2651 |   else | 
 | 2652 |     ac_cpp_err= | 
 | 2653 |   fi | 
 | 2654 | else | 
 | 2655 |   ac_cpp_err=yes | 
 | 2656 | fi | 
 | 2657 | if test -z "$ac_cpp_err"; then | 
 | 2658 |   # Broken: success on invalid input. | 
 | 2659 | continue | 
 | 2660 | else | 
 | 2661 |   echo "$as_me: failed program was:" >&5 | 
 | 2662 |   cat conftest.$ac_ext >&5 | 
 | 2663 |   # Passes both tests. | 
 | 2664 | ac_preproc_ok=: | 
 | 2665 | break | 
 | 2666 | fi | 
 | 2667 | rm -f conftest.err conftest.$ac_ext | 
 | 2668 |  | 
 | 2669 | done | 
 | 2670 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 2671 | rm -f conftest.err conftest.$ac_ext | 
 | 2672 | if $ac_preproc_ok; then | 
 | 2673 |   : | 
 | 2674 | else | 
 | 2675 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 | 
 | 2676 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | 
 | 2677 |    { (exit 1); exit 1; }; } | 
 | 2678 | fi | 
 | 2679 |  | 
 | 2680 | ac_ext=c | 
 | 2681 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2682 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2683 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2684 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2685 |  | 
 | 2686 |  | 
 | 2687 | if test "$GCC" != "yes" | 
 | 2688 | then | 
 | 2689 | 	{ { echo "$as_me:$LINENO: error: gcc required but not found" >&5 | 
 | 2690 | echo "$as_me: error: gcc required but not found" >&2;} | 
 | 2691 |    { (exit 1); exit 1; }; } | 
 | 2692 | fi | 
 | 2693 |  | 
 | 2694 | if test "$GXX" != "yes" | 
 | 2695 | then | 
 | 2696 | 	{ { echo "$as_me:$LINENO: error: g++ required but not found" >&5 | 
 | 2697 | echo "$as_me: error: g++ required but not found" >&2;} | 
 | 2698 |    { (exit 1); exit 1; }; } | 
 | 2699 | fi | 
 | 2700 |  | 
 | 2701 |  echo "$as_me:$LINENO: checking for GNU make" >&5 | 
 | 2702 | echo $ECHO_N "checking for GNU make... $ECHO_C" >&6 | 
 | 2703 | if test "${_cv_gnu_make_command+set}" = set; then | 
 | 2704 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2705 | else | 
 | 2706 |   _cv_gnu_make_command='' ; | 
 | 2707 |                 for a in "$MAKE" make gmake gnumake ; do | 
 | 2708 |                         if test -z "$a" ; then continue ; fi ; | 
 | 2709 |                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then | 
 | 2710 |                                 _cv_gnu_make_command=$a ; | 
 | 2711 |                                 break; | 
 | 2712 |                         fi | 
 | 2713 |                 done ; | 
 | 2714 |  | 
 | 2715 | fi | 
 | 2716 | echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5 | 
 | 2717 | echo "${ECHO_T}$_cv_gnu_make_command" >&6 ; | 
 | 2718 |         if test  "x$_cv_gnu_make_command" != "x"  ; then | 
 | 2719 |                 ifGNUmake='' ; | 
 | 2720 |         else | 
 | 2721 |                 ifGNUmake='#' ; | 
 | 2722 |                 echo "$as_me:$LINENO: result: \"Not found\"" >&5 | 
 | 2723 | echo "${ECHO_T}\"Not found\"" >&6; | 
 | 2724 |         fi | 
 | 2725 |  | 
 | 2726 |  | 
 | 2727 | if test -z "$_cv_gnu_make_command" | 
 | 2728 | then | 
 | 2729 | 	{ { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5 | 
 | 2730 | echo "$as_me: error: GNU Make required but not found" >&2;} | 
 | 2731 |    { (exit 1); exit 1; }; } | 
 | 2732 | fi | 
 | 2733 |  | 
 | 2734 |  | 
 | 2735 | echo "$as_me:$LINENO: checking " >&5 | 
 | 2736 | echo $ECHO_N "checking ... $ECHO_C" >&6 | 
 | 2737 | if test "${ac_cv_has_flex+set}" = set; then | 
 | 2738 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2739 | else | 
 | 2740 |   for ac_prog in flex lex | 
 | 2741 | do | 
 | 2742 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 2743 | set dummy $ac_prog; ac_word=$2 | 
 | 2744 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2745 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2746 | if test "${ac_cv_prog_LEX+set}" = set; then | 
 | 2747 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2748 | else | 
 | 2749 |   if test -n "$LEX"; then | 
 | 2750 |   ac_cv_prog_LEX="$LEX" # Let the user override the test. | 
 | 2751 | else | 
 | 2752 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2753 | for as_dir in $PATH | 
 | 2754 | do | 
 | 2755 |   IFS=$as_save_IFS | 
 | 2756 |   test -z "$as_dir" && as_dir=. | 
 | 2757 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2758 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2759 |     ac_cv_prog_LEX="$ac_prog" | 
 | 2760 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2761 |     break 2 | 
 | 2762 |   fi | 
 | 2763 | done | 
 | 2764 | done | 
 | 2765 |  | 
 | 2766 | fi | 
 | 2767 | fi | 
 | 2768 | LEX=$ac_cv_prog_LEX | 
 | 2769 | if test -n "$LEX"; then | 
 | 2770 |   echo "$as_me:$LINENO: result: $LEX" >&5 | 
 | 2771 | echo "${ECHO_T}$LEX" >&6 | 
 | 2772 | else | 
 | 2773 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2774 | echo "${ECHO_T}no" >&6 | 
 | 2775 | fi | 
 | 2776 |  | 
 | 2777 |   test -n "$LEX" && break | 
 | 2778 | done | 
 | 2779 | test -n "$LEX" || LEX=":" | 
 | 2780 |  | 
 | 2781 | if test -z "$LEXLIB" | 
 | 2782 | then | 
 | 2783 |   echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 | 
 | 2784 | echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 | 
 | 2785 | if test "${ac_cv_lib_fl_yywrap+set}" = set; then | 
 | 2786 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2787 | else | 
 | 2788 |   ac_check_lib_save_LIBS=$LIBS | 
 | 2789 | LIBS="-lfl  $LIBS" | 
 | 2790 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2791 | #line $LINENO "configure" | 
 | 2792 | #include "confdefs.h" | 
 | 2793 |  | 
 | 2794 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 2795 | #ifdef __cplusplus | 
 | 2796 | extern "C" | 
 | 2797 | #endif | 
 | 2798 | /* We use char because int might match the return type of a gcc2 | 
 | 2799 |    builtin and then its argument prototype would still apply.  */ | 
 | 2800 | char yywrap (); | 
 | 2801 | #ifdef F77_DUMMY_MAIN | 
 | 2802 | #  ifdef __cplusplus | 
 | 2803 |      extern "C" | 
 | 2804 | #  endif | 
 | 2805 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2806 | #endif | 
 | 2807 | int | 
 | 2808 | main () | 
 | 2809 | { | 
 | 2810 | yywrap (); | 
 | 2811 |   ; | 
 | 2812 |   return 0; | 
 | 2813 | } | 
 | 2814 | _ACEOF | 
 | 2815 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 2816 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 2817 |   (eval $ac_link) 2>&5 | 
 | 2818 |   ac_status=$? | 
 | 2819 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2820 |   (exit $ac_status); } && | 
 | 2821 |          { ac_try='test -s conftest$ac_exeext' | 
 | 2822 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2823 |   (eval $ac_try) 2>&5 | 
 | 2824 |   ac_status=$? | 
 | 2825 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2826 |   (exit $ac_status); }; }; then | 
 | 2827 |   ac_cv_lib_fl_yywrap=yes | 
 | 2828 | else | 
 | 2829 |   echo "$as_me: failed program was:" >&5 | 
 | 2830 | cat conftest.$ac_ext >&5 | 
 | 2831 | ac_cv_lib_fl_yywrap=no | 
 | 2832 | fi | 
 | 2833 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 2834 | LIBS=$ac_check_lib_save_LIBS | 
 | 2835 | fi | 
 | 2836 | echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 | 
 | 2837 | echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 | 
 | 2838 | if test $ac_cv_lib_fl_yywrap = yes; then | 
 | 2839 |   LEXLIB="-lfl" | 
 | 2840 | else | 
 | 2841 |   echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 | 
 | 2842 | echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 | 
 | 2843 | if test "${ac_cv_lib_l_yywrap+set}" = set; then | 
 | 2844 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2845 | else | 
 | 2846 |   ac_check_lib_save_LIBS=$LIBS | 
 | 2847 | LIBS="-ll  $LIBS" | 
 | 2848 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2849 | #line $LINENO "configure" | 
 | 2850 | #include "confdefs.h" | 
 | 2851 |  | 
 | 2852 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 2853 | #ifdef __cplusplus | 
 | 2854 | extern "C" | 
 | 2855 | #endif | 
 | 2856 | /* We use char because int might match the return type of a gcc2 | 
 | 2857 |    builtin and then its argument prototype would still apply.  */ | 
 | 2858 | char yywrap (); | 
 | 2859 | #ifdef F77_DUMMY_MAIN | 
 | 2860 | #  ifdef __cplusplus | 
 | 2861 |      extern "C" | 
 | 2862 | #  endif | 
 | 2863 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2864 | #endif | 
 | 2865 | int | 
 | 2866 | main () | 
 | 2867 | { | 
 | 2868 | yywrap (); | 
 | 2869 |   ; | 
 | 2870 |   return 0; | 
 | 2871 | } | 
 | 2872 | _ACEOF | 
 | 2873 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 2874 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 2875 |   (eval $ac_link) 2>&5 | 
 | 2876 |   ac_status=$? | 
 | 2877 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2878 |   (exit $ac_status); } && | 
 | 2879 |          { ac_try='test -s conftest$ac_exeext' | 
 | 2880 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2881 |   (eval $ac_try) 2>&5 | 
 | 2882 |   ac_status=$? | 
 | 2883 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2884 |   (exit $ac_status); }; }; then | 
 | 2885 |   ac_cv_lib_l_yywrap=yes | 
 | 2886 | else | 
 | 2887 |   echo "$as_me: failed program was:" >&5 | 
 | 2888 | cat conftest.$ac_ext >&5 | 
 | 2889 | ac_cv_lib_l_yywrap=no | 
 | 2890 | fi | 
 | 2891 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 2892 | LIBS=$ac_check_lib_save_LIBS | 
 | 2893 | fi | 
 | 2894 | echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 | 
 | 2895 | echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 | 
 | 2896 | if test $ac_cv_lib_l_yywrap = yes; then | 
 | 2897 |   LEXLIB="-ll" | 
 | 2898 | fi | 
 | 2899 |  | 
 | 2900 | fi | 
 | 2901 |  | 
 | 2902 | fi | 
 | 2903 |  | 
 | 2904 | if test "x$LEX" != "x:"; then | 
 | 2905 |   echo "$as_me:$LINENO: checking lex output file root" >&5 | 
 | 2906 | echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 | 
 | 2907 | if test "${ac_cv_prog_lex_root+set}" = set; then | 
 | 2908 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2909 | else | 
 | 2910 |   # The minimal lex program is just a single line: %%.  But some broken lexes | 
 | 2911 | # (Solaris, I think it was) want two %% lines, so accommodate them. | 
 | 2912 | cat >conftest.l <<_ACEOF | 
 | 2913 | %% | 
 | 2914 | %% | 
 | 2915 | _ACEOF | 
 | 2916 | { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 | 
 | 2917 |   (eval $LEX conftest.l) 2>&5 | 
 | 2918 |   ac_status=$? | 
 | 2919 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2920 |   (exit $ac_status); } | 
 | 2921 | if test -f lex.yy.c; then | 
 | 2922 |   ac_cv_prog_lex_root=lex.yy | 
 | 2923 | elif test -f lexyy.c; then | 
 | 2924 |   ac_cv_prog_lex_root=lexyy | 
 | 2925 | else | 
 | 2926 |   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 | 
 | 2927 | echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} | 
 | 2928 |    { (exit 1); exit 1; }; } | 
 | 2929 | fi | 
 | 2930 | fi | 
 | 2931 | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 | 
 | 2932 | echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 | 
 | 2933 | rm -f conftest.l | 
 | 2934 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root | 
 | 2935 |  | 
 | 2936 | echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 | 
 | 2937 | echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 | 
 | 2938 | if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then | 
 | 2939 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2940 | else | 
 | 2941 |   # POSIX says lex can declare yytext either as a pointer or an array; the | 
 | 2942 | # default is implementation-dependent. Figure out which it is, since | 
 | 2943 | # not all implementations provide the %pointer and %array declarations. | 
 | 2944 | ac_cv_prog_lex_yytext_pointer=no | 
 | 2945 | echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c | 
 | 2946 | ac_save_LIBS=$LIBS | 
 | 2947 | LIBS="$LIBS $LEXLIB" | 
 | 2948 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2949 | `cat $LEX_OUTPUT_ROOT.c` | 
 | 2950 | _ACEOF | 
 | 2951 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 2952 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 2953 |   (eval $ac_link) 2>&5 | 
 | 2954 |   ac_status=$? | 
 | 2955 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2956 |   (exit $ac_status); } && | 
 | 2957 |          { ac_try='test -s conftest$ac_exeext' | 
 | 2958 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2959 |   (eval $ac_try) 2>&5 | 
 | 2960 |   ac_status=$? | 
 | 2961 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2962 |   (exit $ac_status); }; }; then | 
 | 2963 |   ac_cv_prog_lex_yytext_pointer=yes | 
 | 2964 | else | 
 | 2965 |   echo "$as_me: failed program was:" >&5 | 
 | 2966 | cat conftest.$ac_ext >&5 | 
 | 2967 | fi | 
 | 2968 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 2969 | LIBS=$ac_save_LIBS | 
 | 2970 | rm -f "${LEX_OUTPUT_ROOT}.c" | 
 | 2971 |  | 
 | 2972 | fi | 
 | 2973 | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 | 
 | 2974 | echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 | 
 | 2975 | if test $ac_cv_prog_lex_yytext_pointer = yes; then | 
 | 2976 |  | 
 | 2977 | cat >>confdefs.h <<\_ACEOF | 
 | 2978 | #define YYTEXT_POINTER 1 | 
 | 2979 | _ACEOF | 
 | 2980 |  | 
 | 2981 | fi | 
 | 2982 |  | 
 | 2983 | fi | 
 | 2984 |  | 
 | 2985 | fi | 
 | 2986 | echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5 | 
 | 2987 | echo "${ECHO_T}$ac_cv_has_flex" >&6 | 
 | 2988 | if test "$LEX" != "flex"; then | 
 | 2989 |   { { echo "$as_me:$LINENO: error: flex not found but required" >&5 | 
 | 2990 | echo "$as_me: error: flex not found but required" >&2;} | 
 | 2991 |    { (exit 1); exit 1; }; } | 
 | 2992 | fi | 
 | 2993 |  | 
 | 2994 | echo "$as_me:$LINENO: checking " >&5 | 
 | 2995 | echo $ECHO_N "checking ... $ECHO_C" >&6 | 
 | 2996 | if test "${ac_cv_has_bison+set}" = set; then | 
 | 2997 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2998 | else | 
 | 2999 |   for ac_prog in 'bison -y' byacc | 
 | 3000 | do | 
 | 3001 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 3002 | set dummy $ac_prog; ac_word=$2 | 
 | 3003 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 3004 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 3005 | if test "${ac_cv_prog_YACC+set}" = set; then | 
 | 3006 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3007 | else | 
 | 3008 |   if test -n "$YACC"; then | 
 | 3009 |   ac_cv_prog_YACC="$YACC" # Let the user override the test. | 
 | 3010 | else | 
 | 3011 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 3012 | for as_dir in $PATH | 
 | 3013 | do | 
 | 3014 |   IFS=$as_save_IFS | 
 | 3015 |   test -z "$as_dir" && as_dir=. | 
 | 3016 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 3017 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 3018 |     ac_cv_prog_YACC="$ac_prog" | 
 | 3019 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 3020 |     break 2 | 
 | 3021 |   fi | 
 | 3022 | done | 
 | 3023 | done | 
 | 3024 |  | 
 | 3025 | fi | 
 | 3026 | fi | 
 | 3027 | YACC=$ac_cv_prog_YACC | 
 | 3028 | if test -n "$YACC"; then | 
 | 3029 |   echo "$as_me:$LINENO: result: $YACC" >&5 | 
 | 3030 | echo "${ECHO_T}$YACC" >&6 | 
 | 3031 | else | 
 | 3032 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 3033 | echo "${ECHO_T}no" >&6 | 
 | 3034 | fi | 
 | 3035 |  | 
 | 3036 |   test -n "$YACC" && break | 
 | 3037 | done | 
 | 3038 | test -n "$YACC" || YACC="yacc" | 
 | 3039 |  | 
 | 3040 |  | 
 | 3041 | fi | 
 | 3042 | echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5 | 
 | 3043 | echo "${ECHO_T}$ac_cv_has_bison" >&6 | 
 | 3044 | if test "$YACC" != "bison -y"; then | 
 | 3045 |   { { echo "$as_me:$LINENO: error: bison not found but required" >&5 | 
 | 3046 | echo "$as_me: error: bison not found but required" >&2;} | 
 | 3047 |    { (exit 1); exit 1; }; } | 
 | 3048 | else | 
 | 3049 |   YACC=bison | 
 | 3050 |  | 
 | 3051 | fi | 
 | 3052 |  | 
 | 3053 |  | 
 | 3054 | # Check whether --enable-shared or --disable-shared was given. | 
 | 3055 | if test "${enable_shared+set}" = set; then | 
 | 3056 |   enableval="$enable_shared" | 
 | 3057 |   p=${PACKAGE-default} | 
 | 3058 | case $enableval in | 
 | 3059 | yes) enable_shared=yes ;; | 
 | 3060 | no) enable_shared=no ;; | 
 | 3061 | *) | 
 | 3062 |   enable_shared=no | 
 | 3063 |   # Look at the argument we got.  We use all the common list separators. | 
 | 3064 |   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:," | 
 | 3065 |   for pkg in $enableval; do | 
 | 3066 |     if test "X$pkg" = "X$p"; then | 
 | 3067 |       enable_shared=yes | 
 | 3068 |     fi | 
 | 3069 |   done | 
 | 3070 |   IFS="$ac_save_ifs" | 
 | 3071 |   ;; | 
 | 3072 | esac | 
 | 3073 | else | 
 | 3074 |   enable_shared=yes | 
 | 3075 | fi; | 
 | 3076 | # Check whether --enable-static or --disable-static was given. | 
 | 3077 | if test "${enable_static+set}" = set; then | 
 | 3078 |   enableval="$enable_static" | 
 | 3079 |   p=${PACKAGE-default} | 
 | 3080 | case $enableval in | 
 | 3081 | yes) enable_static=yes ;; | 
 | 3082 | no) enable_static=no ;; | 
 | 3083 | *) | 
 | 3084 |   enable_static=no | 
 | 3085 |   # Look at the argument we got.  We use all the common list separators. | 
 | 3086 |   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:," | 
 | 3087 |   for pkg in $enableval; do | 
 | 3088 |     if test "X$pkg" = "X$p"; then | 
 | 3089 |       enable_static=yes | 
 | 3090 |     fi | 
 | 3091 |   done | 
 | 3092 |   IFS="$ac_save_ifs" | 
 | 3093 |   ;; | 
 | 3094 | esac | 
 | 3095 | else | 
 | 3096 |   enable_static=yes | 
 | 3097 | fi; | 
 | 3098 | # Check whether --enable-fast-install or --disable-fast-install was given. | 
 | 3099 | if test "${enable_fast_install+set}" = set; then | 
 | 3100 |   enableval="$enable_fast_install" | 
 | 3101 |   p=${PACKAGE-default} | 
 | 3102 | case $enableval in | 
 | 3103 | yes) enable_fast_install=yes ;; | 
 | 3104 | no) enable_fast_install=no ;; | 
 | 3105 | *) | 
 | 3106 |   enable_fast_install=no | 
 | 3107 |   # Look at the argument we got.  We use all the common list separators. | 
 | 3108 |   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:," | 
 | 3109 |   for pkg in $enableval; do | 
 | 3110 |     if test "X$pkg" = "X$p"; then | 
 | 3111 |       enable_fast_install=yes | 
 | 3112 |     fi | 
 | 3113 |   done | 
 | 3114 |   IFS="$ac_save_ifs" | 
 | 3115 |   ;; | 
 | 3116 | esac | 
 | 3117 | else | 
 | 3118 |   enable_fast_install=yes | 
 | 3119 | fi; | 
 | 3120 | # Find the correct PATH separator.  Usually this is `:', but | 
 | 3121 | # DJGPP uses `;' like DOS. | 
 | 3122 | if test "X${PATH_SEPARATOR+set}" != Xset; then | 
 | 3123 |   UNAME=${UNAME-`uname 2>/dev/null`} | 
 | 3124 |   case X$UNAME in | 
 | 3125 |     *-DOS) lt_cv_sys_path_separator=';' ;; | 
 | 3126 |     *)     lt_cv_sys_path_separator=':' ;; | 
 | 3127 |   esac | 
 | 3128 |   PATH_SEPARATOR=$lt_cv_sys_path_separator | 
 | 3129 | fi | 
 | 3130 |  | 
 | 3131 |  | 
 | 3132 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | 
 | 3133 | if test "${with_gnu_ld+set}" = set; then | 
 | 3134 |   withval="$with_gnu_ld" | 
 | 3135 |   test "$withval" = no || with_gnu_ld=yes | 
 | 3136 | else | 
 | 3137 |   with_gnu_ld=no | 
 | 3138 | fi; | 
 | 3139 | ac_prog=ld | 
 | 3140 | if test "$GCC" = yes; then | 
 | 3141 |   # Check if gcc -print-prog-name=ld gives a path. | 
 | 3142 |   echo "$as_me:$LINENO: checking for ld used by GCC" >&5 | 
 | 3143 | echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 | 
 | 3144 |   case $host in | 
 | 3145 |   *-*-mingw*) | 
 | 3146 |     # gcc leaves a trailing carriage return which upsets mingw | 
 | 3147 |     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
 | 3148 |   *) | 
 | 3149 |     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
 | 3150 |   esac | 
 | 3151 |   case $ac_prog in | 
 | 3152 |     # Accept absolute paths. | 
 | 3153 |     [\\/]* | [A-Za-z]:[\\/]*) | 
 | 3154 |       re_direlt='/[^/][^/]*/\.\./' | 
 | 3155 |       # Canonicalize the path of ld | 
 | 3156 |       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | 
 | 3157 |       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 
 | 3158 | 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | 
 | 3159 |       done | 
 | 3160 |       test -z "$LD" && LD="$ac_prog" | 
 | 3161 |       ;; | 
 | 3162 |   "") | 
 | 3163 |     # If it fails, then pretend we aren't using GCC. | 
 | 3164 |     ac_prog=ld | 
 | 3165 |     ;; | 
 | 3166 |   *) | 
 | 3167 |     # If it is relative, then search for the first ld in PATH. | 
 | 3168 |     with_gnu_ld=unknown | 
 | 3169 |     ;; | 
 | 3170 |   esac | 
 | 3171 | elif test "$with_gnu_ld" = yes; then | 
 | 3172 |   echo "$as_me:$LINENO: checking for GNU ld" >&5 | 
 | 3173 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | 
 | 3174 | else | 
 | 3175 |   echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | 
 | 3176 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | 
 | 3177 | fi | 
 | 3178 | if test "${lt_cv_path_LD+set}" = set; then | 
 | 3179 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3180 | else | 
 | 3181 |   if test -z "$LD"; then | 
 | 3182 |   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 3183 |   for ac_dir in $PATH; do | 
 | 3184 |     test -z "$ac_dir" && ac_dir=. | 
 | 3185 |     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
 | 3186 |       lt_cv_path_LD="$ac_dir/$ac_prog" | 
 | 3187 |       # Check to see if the program is GNU ld.  I'd rather use --version, | 
 | 3188 |       # but apparently some GNU ld's only accept -v. | 
 | 3189 |       # Break only if it was the GNU/non-GNU ld that we prefer. | 
 | 3190 |       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | 
 | 3191 | 	test "$with_gnu_ld" != no && break | 
 | 3192 |       else | 
 | 3193 | 	test "$with_gnu_ld" != yes && break | 
 | 3194 |       fi | 
 | 3195 |     fi | 
 | 3196 |   done | 
 | 3197 |   IFS="$ac_save_ifs" | 
 | 3198 | else | 
 | 3199 |   lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
 | 3200 | fi | 
 | 3201 | fi | 
 | 3202 |  | 
 | 3203 | LD="$lt_cv_path_LD" | 
 | 3204 | if test -n "$LD"; then | 
 | 3205 |   echo "$as_me:$LINENO: result: $LD" >&5 | 
 | 3206 | echo "${ECHO_T}$LD" >&6 | 
 | 3207 | else | 
 | 3208 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 3209 | echo "${ECHO_T}no" >&6 | 
 | 3210 | fi | 
 | 3211 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | 
 | 3212 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 
 | 3213 |    { (exit 1); exit 1; }; } | 
 | 3214 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | 
 | 3215 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | 
 | 3216 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | 
 | 3217 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3218 | else | 
 | 3219 |   # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 
 | 3220 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 
 | 3221 |   lt_cv_prog_gnu_ld=yes | 
 | 3222 | else | 
 | 3223 |   lt_cv_prog_gnu_ld=no | 
 | 3224 | fi | 
 | 3225 | fi | 
 | 3226 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | 
 | 3227 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | 
 | 3228 | with_gnu_ld=$lt_cv_prog_gnu_ld | 
 | 3229 |  | 
 | 3230 |  | 
 | 3231 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 | 
 | 3232 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 | 
 | 3233 | if test "${lt_cv_ld_reload_flag+set}" = set; then | 
 | 3234 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3235 | else | 
 | 3236 |   lt_cv_ld_reload_flag='-r' | 
 | 3237 | fi | 
 | 3238 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 | 
 | 3239 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | 
 | 3240 | reload_flag=$lt_cv_ld_reload_flag | 
 | 3241 | test -n "$reload_flag" && reload_flag=" $reload_flag" | 
 | 3242 |  | 
 | 3243 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 | 
 | 3244 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | 
 | 3245 | if test "${lt_cv_path_NM+set}" = set; then | 
 | 3246 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3247 | else | 
 | 3248 |   if test -n "$NM"; then | 
 | 3249 |   # Let the user override the test. | 
 | 3250 |   lt_cv_path_NM="$NM" | 
 | 3251 | else | 
 | 3252 |   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 3253 |   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | 
 | 3254 |     test -z "$ac_dir" && ac_dir=. | 
 | 3255 |     tmp_nm=$ac_dir/${ac_tool_prefix}nm | 
 | 3256 |     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then | 
 | 3257 |       # Check to see if the nm accepts a BSD-compat flag. | 
 | 3258 |       # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 
 | 3259 |       #   nm: unknown option "B" ignored | 
 | 3260 |       # Tru64's nm complains that /dev/null is an invalid object file | 
 | 3261 |       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then | 
 | 3262 | 	lt_cv_path_NM="$tmp_nm -B" | 
 | 3263 | 	break | 
 | 3264 |       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | 
 | 3265 | 	lt_cv_path_NM="$tmp_nm -p" | 
 | 3266 | 	break | 
 | 3267 |       else | 
 | 3268 | 	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 
 | 3269 | 	continue # so that we can try to find one that supports BSD flags | 
 | 3270 |       fi | 
 | 3271 |     fi | 
 | 3272 |   done | 
 | 3273 |   IFS="$ac_save_ifs" | 
 | 3274 |   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | 
 | 3275 | fi | 
 | 3276 | fi | 
 | 3277 |  | 
 | 3278 | NM="$lt_cv_path_NM" | 
 | 3279 | echo "$as_me:$LINENO: result: $NM" >&5 | 
 | 3280 | echo "${ECHO_T}$NM" >&6 | 
 | 3281 |  | 
 | 3282 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 
 | 3283 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 
 | 3284 | LN_S=$as_ln_s | 
 | 3285 | if test "$LN_S" = "ln -s"; then | 
 | 3286 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 3287 | echo "${ECHO_T}yes" >&6 | 
 | 3288 | else | 
 | 3289 |   echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 
 | 3290 | echo "${ECHO_T}no, using $LN_S" >&6 | 
 | 3291 | fi | 
 | 3292 |  | 
 | 3293 | echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 | 
 | 3294 | echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 | 
 | 3295 | if test "${lt_cv_deplibs_check_method+set}" = set; then | 
 | 3296 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3297 | else | 
 | 3298 |   lt_cv_file_magic_cmd='$MAGIC_CMD' | 
 | 3299 | lt_cv_file_magic_test_file= | 
 | 3300 | lt_cv_deplibs_check_method='unknown' | 
 | 3301 | # Need to set the preceding variable on all platforms that support | 
 | 3302 | # interlibrary dependencies. | 
 | 3303 | # 'none' -- dependencies not supported. | 
 | 3304 | # `unknown' -- same as none, but documents that we really don't know. | 
 | 3305 | # 'pass_all' -- all dependencies passed with no checks. | 
 | 3306 | # 'test_compile' -- check by making test program. | 
 | 3307 | # 'file_magic [[regex]]' -- check by looking for files in library path | 
 | 3308 | # which responds to the $file_magic_cmd with a given egrep regex. | 
 | 3309 | # If you have `file' or equivalent on your system and you're not sure | 
 | 3310 | # whether `pass_all' will *always* work, you probably want this one. | 
 | 3311 |  | 
 | 3312 | case $host_os in | 
 | 3313 | aix4* | aix5*) | 
 | 3314 |   lt_cv_deplibs_check_method=pass_all | 
 | 3315 |   ;; | 
 | 3316 |  | 
 | 3317 | beos*) | 
 | 3318 |   lt_cv_deplibs_check_method=pass_all | 
 | 3319 |   ;; | 
 | 3320 |  | 
 | 3321 | bsdi4*) | 
 | 3322 |   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | 
 | 3323 |   lt_cv_file_magic_cmd='/usr/bin/file -L' | 
 | 3324 |   lt_cv_file_magic_test_file=/shlib/libc.so | 
 | 3325 |   ;; | 
 | 3326 |  | 
 | 3327 | cygwin* | mingw* | pw32*) | 
 | 3328 |   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | 
 | 3329 |   lt_cv_file_magic_cmd='$OBJDUMP -f' | 
 | 3330 |   ;; | 
 | 3331 |  | 
 | 3332 | darwin* | rhapsody*) | 
 | 3333 |   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | 
 | 3334 |   lt_cv_file_magic_cmd='/usr/bin/file -L' | 
 | 3335 |   case "$host_os" in | 
 | 3336 |   rhapsody* | darwin1.[012]) | 
 | 3337 |     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` | 
 | 3338 |     ;; | 
 | 3339 |   *) # Darwin 1.3 on | 
 | 3340 |     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | 
 | 3341 |     ;; | 
 | 3342 |   esac | 
 | 3343 |   ;; | 
 | 3344 |  | 
 | 3345 | freebsd*) | 
 | 3346 |   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
 | 3347 |     case $host_cpu in | 
 | 3348 |     i*86 ) | 
 | 3349 |       # Not sure whether the presence of OpenBSD here was a mistake. | 
 | 3350 |       # Let's accept both of them until this is cleared up. | 
 | 3351 |       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | 
 | 3352 |       lt_cv_file_magic_cmd=/usr/bin/file | 
 | 3353 |       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
 | 3354 |       ;; | 
 | 3355 |     esac | 
 | 3356 |   else | 
 | 3357 |     lt_cv_deplibs_check_method=pass_all | 
 | 3358 |   fi | 
 | 3359 |   ;; | 
 | 3360 |  | 
 | 3361 | gnu*) | 
 | 3362 |   lt_cv_deplibs_check_method=pass_all | 
 | 3363 |   ;; | 
 | 3364 |  | 
 | 3365 | hpux10.20*|hpux11*) | 
 | 3366 |   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' | 
 | 3367 |   lt_cv_file_magic_cmd=/usr/bin/file | 
 | 3368 |   lt_cv_file_magic_test_file=/usr/lib/libc.sl | 
 | 3369 |   ;; | 
 | 3370 |  | 
 | 3371 | irix5* | irix6*) | 
 | 3372 |   case $host_os in | 
 | 3373 |   irix5*) | 
 | 3374 |     # this will be overridden with pass_all, but let us keep it just in case | 
 | 3375 |     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | 
 | 3376 |     ;; | 
 | 3377 |   *) | 
 | 3378 |     case $LD in | 
 | 3379 |     *-32|*"-32 ") libmagic=32-bit;; | 
 | 3380 |     *-n32|*"-n32 ") libmagic=N32;; | 
 | 3381 |     *-64|*"-64 ") libmagic=64-bit;; | 
 | 3382 |     *) libmagic=never-match;; | 
 | 3383 |     esac | 
 | 3384 |     # this will be overridden with pass_all, but let us keep it just in case | 
 | 3385 |     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | 
 | 3386 |     ;; | 
 | 3387 |   esac | 
 | 3388 |   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | 
 | 3389 |   lt_cv_deplibs_check_method=pass_all | 
 | 3390 |   ;; | 
 | 3391 |  | 
 | 3392 | # This must be Linux ELF. | 
 | 3393 | linux-gnu*) | 
 | 3394 |   case $host_cpu in | 
 | 3395 |   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* ) | 
 | 3396 |     lt_cv_deplibs_check_method=pass_all ;; | 
 | 3397 |   *) | 
 | 3398 |     # glibc up to 2.1.1 does not perform some relocations on ARM | 
 | 3399 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | 
 | 3400 |   esac | 
 | 3401 |   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | 
 | 3402 |   ;; | 
 | 3403 |  | 
 | 3404 | netbsd*) | 
 | 3405 |   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
 | 3406 |     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | 
 | 3407 |   else | 
 | 3408 |     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' | 
 | 3409 |   fi | 
 | 3410 |   ;; | 
 | 3411 |  | 
 | 3412 | newos6*) | 
 | 3413 |   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | 
 | 3414 |   lt_cv_file_magic_cmd=/usr/bin/file | 
 | 3415 |   lt_cv_file_magic_test_file=/usr/lib/libnls.so | 
 | 3416 |   ;; | 
 | 3417 |  | 
 | 3418 | openbsd*) | 
 | 3419 |   lt_cv_file_magic_cmd=/usr/bin/file | 
 | 3420 |   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
 | 3421 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 3422 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' | 
 | 3423 |   else | 
 | 3424 |     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' | 
 | 3425 |   fi | 
 | 3426 |   ;; | 
 | 3427 |  | 
 | 3428 | osf3* | osf4* | osf5*) | 
 | 3429 |   # this will be overridden with pass_all, but let us keep it just in case | 
 | 3430 |   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | 
 | 3431 |   lt_cv_file_magic_test_file=/shlib/libc.so | 
 | 3432 |   lt_cv_deplibs_check_method=pass_all | 
 | 3433 |   ;; | 
 | 3434 |  | 
 | 3435 | sco3.2v5*) | 
 | 3436 |   lt_cv_deplibs_check_method=pass_all | 
 | 3437 |   ;; | 
 | 3438 |  | 
 | 3439 | solaris*) | 
 | 3440 |   lt_cv_deplibs_check_method=pass_all | 
 | 3441 |   lt_cv_file_magic_test_file=/lib/libc.so | 
 | 3442 |   ;; | 
 | 3443 |  | 
 | 3444 | sysv5uw[78]* | sysv4*uw2*) | 
 | 3445 |   lt_cv_deplibs_check_method=pass_all | 
 | 3446 |   ;; | 
 | 3447 |  | 
 | 3448 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 3449 |   case $host_vendor in | 
 | 3450 |   motorola) | 
 | 3451 |     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]' | 
 | 3452 |     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | 
 | 3453 |     ;; | 
 | 3454 |   ncr) | 
 | 3455 |     lt_cv_deplibs_check_method=pass_all | 
 | 3456 |     ;; | 
 | 3457 |   sequent) | 
 | 3458 |     lt_cv_file_magic_cmd='/bin/file' | 
 | 3459 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | 
 | 3460 |     ;; | 
 | 3461 |   sni) | 
 | 3462 |     lt_cv_file_magic_cmd='/bin/file' | 
 | 3463 |     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | 
 | 3464 |     lt_cv_file_magic_test_file=/lib/libc.so | 
 | 3465 |     ;; | 
 | 3466 |   esac | 
 | 3467 |   ;; | 
 | 3468 | esac | 
 | 3469 |  | 
 | 3470 | fi | 
 | 3471 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 | 
 | 3472 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 | 
 | 3473 | file_magic_cmd=$lt_cv_file_magic_cmd | 
 | 3474 | deplibs_check_method=$lt_cv_deplibs_check_method | 
 | 3475 |  | 
 | 3476 |  | 
 | 3477 |  | 
 | 3478 |  | 
 | 3479 |  | 
 | 3480 |  | 
 | 3481 |  | 
 | 3482 | # Check for command to grab the raw symbol name followed by C symbol from nm. | 
 | 3483 | echo "$as_me:$LINENO: checking command to parse $NM output" >&5 | 
 | 3484 | echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 | 
 | 3485 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then | 
 | 3486 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3487 | else | 
 | 3488 |  | 
 | 3489 | # These are sane defaults that work on at least a few old systems. | 
 | 3490 | # [They come from Ultrix.  What could be older than Ultrix?!! ;)] | 
 | 3491 |  | 
 | 3492 | # Character class describing NM global symbol codes. | 
 | 3493 | symcode='[BCDEGRST]' | 
 | 3494 |  | 
 | 3495 | # Regexp to match symbols that can be accessed directly from C. | 
 | 3496 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | 
 | 3497 |  | 
 | 3498 | # Transform the above into a raw symbol and a C symbol. | 
 | 3499 | symxfrm='\1 \2\3 \3' | 
 | 3500 |  | 
 | 3501 | # Transform an extracted symbol line into a proper C declaration | 
 | 3502 | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" | 
 | 3503 |  | 
 | 3504 | # Transform an extracted symbol line into symbol name and symbol address | 
 | 3505 | lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'" | 
 | 3506 |  | 
 | 3507 | # Define system-specific variables. | 
 | 3508 | case $host_os in | 
 | 3509 | aix*) | 
 | 3510 |   symcode='[BCDT]' | 
 | 3511 |   ;; | 
 | 3512 | cygwin* | mingw* | pw32*) | 
 | 3513 |   symcode='[ABCDGISTW]' | 
 | 3514 |   ;; | 
 | 3515 | hpux*) # Its linker distinguishes data from code symbols | 
 | 3516 |   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | 
 | 3517 |   lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'" | 
 | 3518 |   ;; | 
 | 3519 | irix*) | 
 | 3520 |   symcode='[BCDEGRST]' | 
 | 3521 |   ;; | 
 | 3522 | solaris* | sysv5*) | 
 | 3523 |   symcode='[BDT]' | 
 | 3524 |   ;; | 
 | 3525 | sysv4) | 
 | 3526 |   symcode='[DFNSTU]' | 
 | 3527 |   ;; | 
 | 3528 | esac | 
 | 3529 |  | 
 | 3530 | # Handle CRLF in mingw tool chain | 
 | 3531 | opt_cr= | 
 | 3532 | case $host_os in | 
 | 3533 | mingw*) | 
 | 3534 |   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp | 
 | 3535 |   ;; | 
 | 3536 | esac | 
 | 3537 |  | 
 | 3538 | # If we're using GNU nm, then use its standard symbol codes. | 
 | 3539 | if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then | 
 | 3540 |   symcode='[ABCDGISTW]' | 
 | 3541 | fi | 
 | 3542 |  | 
 | 3543 | # Try without a prefix undercore, then with it. | 
 | 3544 | for ac_symprfx in "" "_"; do | 
 | 3545 |  | 
 | 3546 |   # Write the raw and C identifiers. | 
 | 3547 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" | 
 | 3548 |  | 
 | 3549 |   # Check to see that the pipe works correctly. | 
 | 3550 |   pipe_works=no | 
 | 3551 |   rm -f conftest* | 
 | 3552 |   cat > conftest.$ac_ext <<EOF | 
 | 3553 | #ifdef __cplusplus | 
 | 3554 | extern "C" { | 
 | 3555 | #endif | 
 | 3556 | char nm_test_var; | 
 | 3557 | void nm_test_func(){} | 
 | 3558 | #ifdef __cplusplus | 
 | 3559 | } | 
 | 3560 | #endif | 
 | 3561 | int main(){nm_test_var='a';nm_test_func();return(0);} | 
 | 3562 | EOF | 
 | 3563 |  | 
 | 3564 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 3565 |   (eval $ac_compile) 2>&5 | 
 | 3566 |   ac_status=$? | 
 | 3567 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3568 |   (exit $ac_status); }; then | 
 | 3569 |     # Now try to grab the symbols. | 
 | 3570 |     nlist=conftest.nm | 
 | 3571 |     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 | 
 | 3572 |   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 | 
 | 3573 |   ac_status=$? | 
 | 3574 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3575 |   (exit $ac_status); } && test -s "$nlist"; then | 
 | 3576 |       # Try sorting and uniquifying the output. | 
 | 3577 |       if sort "$nlist" | uniq > "$nlist"T; then | 
 | 3578 | 	mv -f "$nlist"T "$nlist" | 
 | 3579 |       else | 
 | 3580 | 	rm -f "$nlist"T | 
 | 3581 |       fi | 
 | 3582 |  | 
 | 3583 |       # Make sure that we snagged all the symbols we need. | 
 | 3584 |       if egrep ' nm_test_var$' "$nlist" >/dev/null; then | 
 | 3585 | 	if egrep ' nm_test_func$' "$nlist" >/dev/null; then | 
 | 3586 | 	  cat <<EOF > conftest.$ac_ext | 
 | 3587 | #ifdef __cplusplus | 
 | 3588 | extern "C" { | 
 | 3589 | #endif | 
 | 3590 |  | 
 | 3591 | EOF | 
 | 3592 | 	  # Now generate the symbol file. | 
 | 3593 | 	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' | 
 | 3594 |  | 
 | 3595 | 	  cat <<EOF >> conftest.$ac_ext | 
 | 3596 | #if defined (__STDC__) && __STDC__ | 
 | 3597 | # define lt_ptr void * | 
 | 3598 | #else | 
 | 3599 | # define lt_ptr char * | 
 | 3600 | # define const | 
 | 3601 | #endif | 
 | 3602 |  | 
 | 3603 | /* The mapping between symbol names and symbols. */ | 
 | 3604 | const struct { | 
 | 3605 |   const char *name; | 
 | 3606 |   lt_ptr address; | 
 | 3607 | } | 
 | 3608 | lt_preloaded_symbols[] = | 
 | 3609 | { | 
 | 3610 | EOF | 
 | 3611 | 	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext | 
 | 3612 | 	  cat <<\EOF >> conftest.$ac_ext | 
 | 3613 |   {0, (lt_ptr) 0} | 
 | 3614 | }; | 
 | 3615 |  | 
 | 3616 | #ifdef __cplusplus | 
 | 3617 | } | 
 | 3618 | #endif | 
 | 3619 | EOF | 
 | 3620 | 	  # Now try linking the two files. | 
 | 3621 | 	  mv conftest.$ac_objext conftstm.$ac_objext | 
 | 3622 | 	  save_LIBS="$LIBS" | 
 | 3623 | 	  save_CFLAGS="$CFLAGS" | 
 | 3624 | 	  LIBS="conftstm.$ac_objext" | 
 | 3625 | 	  CFLAGS="$CFLAGS$no_builtin_flag" | 
 | 3626 | 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 3627 |   (eval $ac_link) 2>&5 | 
 | 3628 |   ac_status=$? | 
 | 3629 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3630 |   (exit $ac_status); } && test -s conftest; then | 
 | 3631 | 	    pipe_works=yes | 
 | 3632 | 	  fi | 
 | 3633 | 	  LIBS="$save_LIBS" | 
 | 3634 | 	  CFLAGS="$save_CFLAGS" | 
 | 3635 | 	else | 
 | 3636 | 	  echo "cannot find nm_test_func in $nlist" >&5 | 
 | 3637 | 	fi | 
 | 3638 |       else | 
 | 3639 | 	echo "cannot find nm_test_var in $nlist" >&5 | 
 | 3640 |       fi | 
 | 3641 |     else | 
 | 3642 |       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | 
 | 3643 |     fi | 
 | 3644 |   else | 
 | 3645 |     echo "$progname: failed program was:" >&5 | 
 | 3646 |     cat conftest.$ac_ext >&5 | 
 | 3647 |   fi | 
 | 3648 |   rm -f conftest* conftst* | 
 | 3649 |  | 
 | 3650 |   # Do not use the global_symbol_pipe unless it works. | 
 | 3651 |   if test "$pipe_works" = yes; then | 
 | 3652 |     break | 
 | 3653 |   else | 
 | 3654 |     lt_cv_sys_global_symbol_pipe= | 
 | 3655 |   fi | 
 | 3656 | done | 
 | 3657 |  | 
 | 3658 | fi | 
 | 3659 |  | 
 | 3660 | global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" | 
 | 3661 | if test -z "$lt_cv_sys_global_symbol_pipe"; then | 
 | 3662 |   global_symbol_to_cdecl= | 
 | 3663 |   global_symbol_to_c_name_address= | 
 | 3664 | else | 
 | 3665 |   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" | 
 | 3666 |   global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" | 
 | 3667 | fi | 
 | 3668 | if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; | 
 | 3669 | then | 
 | 3670 |   echo "$as_me:$LINENO: result: failed" >&5 | 
 | 3671 | echo "${ECHO_T}failed" >&6 | 
 | 3672 | else | 
 | 3673 |   echo "$as_me:$LINENO: result: ok" >&5 | 
 | 3674 | echo "${ECHO_T}ok" >&6 | 
 | 3675 | fi | 
 | 3676 |  | 
 | 3677 |  | 
 | 3678 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
 | 3679 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
 | 3680 | if test "${ac_cv_header_stdc+set}" = set; then | 
 | 3681 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3682 | else | 
 | 3683 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3684 | #line $LINENO "configure" | 
 | 3685 | #include "confdefs.h" | 
 | 3686 | #include <stdlib.h> | 
 | 3687 | #include <stdarg.h> | 
 | 3688 | #include <string.h> | 
 | 3689 | #include <float.h> | 
 | 3690 |  | 
 | 3691 | _ACEOF | 
 | 3692 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 3693 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 3694 |   ac_status=$? | 
 | 3695 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 3696 |   rm -f conftest.er1 | 
 | 3697 |   cat conftest.err >&5 | 
 | 3698 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3699 |   (exit $ac_status); } >/dev/null; then | 
 | 3700 |   if test -s conftest.err; then | 
 | 3701 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 3702 |   else | 
 | 3703 |     ac_cpp_err= | 
 | 3704 |   fi | 
 | 3705 | else | 
 | 3706 |   ac_cpp_err=yes | 
 | 3707 | fi | 
 | 3708 | if test -z "$ac_cpp_err"; then | 
 | 3709 |   ac_cv_header_stdc=yes | 
 | 3710 | else | 
 | 3711 |   echo "$as_me: failed program was:" >&5 | 
 | 3712 |   cat conftest.$ac_ext >&5 | 
 | 3713 |   ac_cv_header_stdc=no | 
 | 3714 | fi | 
 | 3715 | rm -f conftest.err conftest.$ac_ext | 
 | 3716 |  | 
 | 3717 | if test $ac_cv_header_stdc = yes; then | 
 | 3718 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
 | 3719 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3720 | #line $LINENO "configure" | 
 | 3721 | #include "confdefs.h" | 
 | 3722 | #include <string.h> | 
 | 3723 |  | 
 | 3724 | _ACEOF | 
 | 3725 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 3726 |   egrep "memchr" >/dev/null 2>&1; then | 
 | 3727 |   : | 
 | 3728 | else | 
 | 3729 |   ac_cv_header_stdc=no | 
 | 3730 | fi | 
 | 3731 | rm -f conftest* | 
 | 3732 |  | 
 | 3733 | fi | 
 | 3734 |  | 
 | 3735 | if test $ac_cv_header_stdc = yes; then | 
 | 3736 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
 | 3737 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3738 | #line $LINENO "configure" | 
 | 3739 | #include "confdefs.h" | 
 | 3740 | #include <stdlib.h> | 
 | 3741 |  | 
 | 3742 | _ACEOF | 
 | 3743 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 3744 |   egrep "free" >/dev/null 2>&1; then | 
 | 3745 |   : | 
 | 3746 | else | 
 | 3747 |   ac_cv_header_stdc=no | 
 | 3748 | fi | 
 | 3749 | rm -f conftest* | 
 | 3750 |  | 
 | 3751 | fi | 
 | 3752 |  | 
 | 3753 | if test $ac_cv_header_stdc = yes; then | 
 | 3754 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
 | 3755 |   if test "$cross_compiling" = yes; then | 
 | 3756 |   : | 
 | 3757 | else | 
 | 3758 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3759 | #line $LINENO "configure" | 
 | 3760 | #include "confdefs.h" | 
 | 3761 | #include <ctype.h> | 
 | 3762 | #if ((' ' & 0x0FF) == 0x020) | 
 | 3763 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
 | 3764 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
 | 3765 | #else | 
 | 3766 | # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | 
 | 3767 |                      || ('j' <= (c) && (c) <= 'r') \ | 
 | 3768 |                      || ('s' <= (c) && (c) <= 'z')) | 
 | 3769 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
 | 3770 | #endif | 
 | 3771 |  | 
 | 3772 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
 | 3773 | int | 
 | 3774 | main () | 
 | 3775 | { | 
 | 3776 |   int i; | 
 | 3777 |   for (i = 0; i < 256; i++) | 
 | 3778 |     if (XOR (islower (i), ISLOWER (i)) | 
 | 3779 |         || toupper (i) != TOUPPER (i)) | 
 | 3780 |       exit(2); | 
 | 3781 |   exit (0); | 
 | 3782 | } | 
 | 3783 | _ACEOF | 
 | 3784 | rm -f conftest$ac_exeext | 
 | 3785 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 3786 |   (eval $ac_link) 2>&5 | 
 | 3787 |   ac_status=$? | 
 | 3788 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3789 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 3790 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3791 |   (eval $ac_try) 2>&5 | 
 | 3792 |   ac_status=$? | 
 | 3793 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3794 |   (exit $ac_status); }; }; then | 
 | 3795 |   : | 
 | 3796 | else | 
 | 3797 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 3798 | echo "$as_me: failed program was:" >&5 | 
 | 3799 | cat conftest.$ac_ext >&5 | 
 | 3800 | ( exit $ac_status ) | 
 | 3801 | ac_cv_header_stdc=no | 
 | 3802 | fi | 
 | 3803 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 3804 | fi | 
 | 3805 | fi | 
 | 3806 | fi | 
 | 3807 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
 | 3808 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
 | 3809 | if test $ac_cv_header_stdc = yes; then | 
 | 3810 |  | 
 | 3811 | cat >>confdefs.h <<\_ACEOF | 
 | 3812 | #define STDC_HEADERS 1 | 
 | 3813 | _ACEOF | 
 | 3814 |  | 
 | 3815 | fi | 
 | 3816 |  | 
 | 3817 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
 | 3818 |  | 
 | 3819 |  | 
 | 3820 |  | 
 | 3821 |  | 
 | 3822 |  | 
 | 3823 |  | 
 | 3824 |  | 
 | 3825 |  | 
 | 3826 |  | 
 | 3827 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
 | 3828 |                   inttypes.h stdint.h unistd.h | 
 | 3829 | do | 
 | 3830 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 3831 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 3832 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 3833 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 3834 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3835 | else | 
 | 3836 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3837 | #line $LINENO "configure" | 
 | 3838 | #include "confdefs.h" | 
 | 3839 | $ac_includes_default | 
 | 3840 |  | 
 | 3841 | #include <$ac_header> | 
 | 3842 | _ACEOF | 
 | 3843 | rm -f conftest.$ac_objext | 
 | 3844 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 3845 |   (eval $ac_compile) 2>&5 | 
 | 3846 |   ac_status=$? | 
 | 3847 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3848 |   (exit $ac_status); } && | 
 | 3849 |          { ac_try='test -s conftest.$ac_objext' | 
 | 3850 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3851 |   (eval $ac_try) 2>&5 | 
 | 3852 |   ac_status=$? | 
 | 3853 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3854 |   (exit $ac_status); }; }; then | 
 | 3855 |   eval "$as_ac_Header=yes" | 
 | 3856 | else | 
 | 3857 |   echo "$as_me: failed program was:" >&5 | 
 | 3858 | cat conftest.$ac_ext >&5 | 
 | 3859 | eval "$as_ac_Header=no" | 
 | 3860 | fi | 
 | 3861 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 3862 | fi | 
 | 3863 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 3864 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 3865 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 3866 |   cat >>confdefs.h <<_ACEOF | 
 | 3867 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 3868 | _ACEOF | 
 | 3869 |  | 
 | 3870 | fi | 
 | 3871 |  | 
 | 3872 | done | 
 | 3873 |  | 
 | 3874 |  | 
 | 3875 |  | 
 | 3876 | for ac_header in dlfcn.h | 
 | 3877 | do | 
 | 3878 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 3879 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 3880 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 3881 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 3882 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 3883 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3884 | fi | 
 | 3885 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 3886 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 3887 | else | 
 | 3888 |   # Is the header compilable? | 
 | 3889 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 3890 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 3891 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3892 | #line $LINENO "configure" | 
 | 3893 | #include "confdefs.h" | 
 | 3894 | $ac_includes_default | 
 | 3895 | #include <$ac_header> | 
 | 3896 | _ACEOF | 
 | 3897 | rm -f conftest.$ac_objext | 
 | 3898 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 3899 |   (eval $ac_compile) 2>&5 | 
 | 3900 |   ac_status=$? | 
 | 3901 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3902 |   (exit $ac_status); } && | 
 | 3903 |          { ac_try='test -s conftest.$ac_objext' | 
 | 3904 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3905 |   (eval $ac_try) 2>&5 | 
 | 3906 |   ac_status=$? | 
 | 3907 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3908 |   (exit $ac_status); }; }; then | 
 | 3909 |   ac_header_compiler=yes | 
 | 3910 | else | 
 | 3911 |   echo "$as_me: failed program was:" >&5 | 
 | 3912 | cat conftest.$ac_ext >&5 | 
 | 3913 | ac_header_compiler=no | 
 | 3914 | fi | 
 | 3915 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 3916 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 3917 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 3918 |  | 
 | 3919 | # Is the header present? | 
 | 3920 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 3921 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 3922 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3923 | #line $LINENO "configure" | 
 | 3924 | #include "confdefs.h" | 
 | 3925 | #include <$ac_header> | 
 | 3926 | _ACEOF | 
 | 3927 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 3928 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 3929 |   ac_status=$? | 
 | 3930 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 3931 |   rm -f conftest.er1 | 
 | 3932 |   cat conftest.err >&5 | 
 | 3933 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3934 |   (exit $ac_status); } >/dev/null; then | 
 | 3935 |   if test -s conftest.err; then | 
 | 3936 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 3937 |   else | 
 | 3938 |     ac_cpp_err= | 
 | 3939 |   fi | 
 | 3940 | else | 
 | 3941 |   ac_cpp_err=yes | 
 | 3942 | fi | 
 | 3943 | if test -z "$ac_cpp_err"; then | 
 | 3944 |   ac_header_preproc=yes | 
 | 3945 | else | 
 | 3946 |   echo "$as_me: failed program was:" >&5 | 
 | 3947 |   cat conftest.$ac_ext >&5 | 
 | 3948 |   ac_header_preproc=no | 
 | 3949 | fi | 
 | 3950 | rm -f conftest.err conftest.$ac_ext | 
 | 3951 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 3952 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 3953 |  | 
 | 3954 | # So?  What about this header? | 
 | 3955 | case $ac_header_compiler:$ac_header_preproc in | 
 | 3956 |   yes:no ) | 
 | 3957 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 3958 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 3959 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 3960 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 3961 |   no:yes ) | 
 | 3962 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 3963 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 3964 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 3965 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 3966 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 3967 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 3968 | esac | 
 | 3969 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 3970 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 3971 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 3972 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3973 | else | 
 | 3974 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 3975 | fi | 
 | 3976 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 3977 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 3978 |  | 
 | 3979 | fi | 
 | 3980 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 3981 |   cat >>confdefs.h <<_ACEOF | 
 | 3982 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 3983 | _ACEOF | 
 | 3984 |  | 
 | 3985 | fi | 
 | 3986 |  | 
 | 3987 | done | 
 | 3988 |  | 
 | 3989 |  | 
 | 3990 |  | 
 | 3991 |  | 
 | 3992 |  | 
 | 3993 | # Only perform the check for file, if the check method requires it | 
 | 3994 | case $deplibs_check_method in | 
 | 3995 | file_magic*) | 
 | 3996 |   if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 
 | 3997 |     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 | 
 | 3998 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 | 
 | 3999 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
 | 4000 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4001 | else | 
 | 4002 |   case $MAGIC_CMD in | 
 | 4003 |   /*) | 
 | 4004 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
 | 4005 |   ;; | 
 | 4006 |   ?:/*) | 
 | 4007 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. | 
 | 4008 |   ;; | 
 | 4009 |   *) | 
 | 4010 |   ac_save_MAGIC_CMD="$MAGIC_CMD" | 
 | 4011 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
 | 4012 |   ac_dummy="/usr/bin:$PATH" | 
 | 4013 |   for ac_dir in $ac_dummy; do | 
 | 4014 |     test -z "$ac_dir" && ac_dir=. | 
 | 4015 |     if test -f $ac_dir/${ac_tool_prefix}file; then | 
 | 4016 |       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | 
 | 4017 |       if test -n "$file_magic_test_file"; then | 
 | 4018 | 	case $deplibs_check_method in | 
 | 4019 | 	"file_magic "*) | 
 | 4020 | 	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
 | 4021 | 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 4022 | 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
 | 4023 | 	    egrep "$file_magic_regex" > /dev/null; then | 
 | 4024 | 	    : | 
 | 4025 | 	  else | 
 | 4026 | 	    cat <<EOF 1>&2 | 
 | 4027 |  | 
 | 4028 | *** Warning: the command libtool uses to detect shared libraries, | 
 | 4029 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
 | 4030 | *** The result is that libtool may fail to recognize shared libraries | 
 | 4031 | *** as such.  This will affect the creation of libtool libraries that | 
 | 4032 | *** depend on shared libraries, but programs linked with such libtool | 
 | 4033 | *** libraries will work regardless of this problem.  Nevertheless, you | 
 | 4034 | *** may want to report the problem to your system manager and/or to | 
 | 4035 | *** bug-libtool@gnu.org | 
 | 4036 |  | 
 | 4037 | EOF | 
 | 4038 | 	  fi ;; | 
 | 4039 | 	esac | 
 | 4040 |       fi | 
 | 4041 |       break | 
 | 4042 |     fi | 
 | 4043 |   done | 
 | 4044 |   IFS="$ac_save_ifs" | 
 | 4045 |   MAGIC_CMD="$ac_save_MAGIC_CMD" | 
 | 4046 |   ;; | 
 | 4047 | esac | 
 | 4048 | fi | 
 | 4049 |  | 
 | 4050 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 4051 | if test -n "$MAGIC_CMD"; then | 
 | 4052 |   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 
 | 4053 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
 | 4054 | else | 
 | 4055 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4056 | echo "${ECHO_T}no" >&6 | 
 | 4057 | fi | 
 | 4058 |  | 
 | 4059 | if test -z "$lt_cv_path_MAGIC_CMD"; then | 
 | 4060 |   if test -n "$ac_tool_prefix"; then | 
 | 4061 |     echo "$as_me:$LINENO: checking for file" >&5 | 
 | 4062 | echo $ECHO_N "checking for file... $ECHO_C" >&6 | 
 | 4063 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
 | 4064 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4065 | else | 
 | 4066 |   case $MAGIC_CMD in | 
 | 4067 |   /*) | 
 | 4068 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
 | 4069 |   ;; | 
 | 4070 |   ?:/*) | 
 | 4071 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. | 
 | 4072 |   ;; | 
 | 4073 |   *) | 
 | 4074 |   ac_save_MAGIC_CMD="$MAGIC_CMD" | 
 | 4075 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
 | 4076 |   ac_dummy="/usr/bin:$PATH" | 
 | 4077 |   for ac_dir in $ac_dummy; do | 
 | 4078 |     test -z "$ac_dir" && ac_dir=. | 
 | 4079 |     if test -f $ac_dir/file; then | 
 | 4080 |       lt_cv_path_MAGIC_CMD="$ac_dir/file" | 
 | 4081 |       if test -n "$file_magic_test_file"; then | 
 | 4082 | 	case $deplibs_check_method in | 
 | 4083 | 	"file_magic "*) | 
 | 4084 | 	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
 | 4085 | 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 4086 | 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
 | 4087 | 	    egrep "$file_magic_regex" > /dev/null; then | 
 | 4088 | 	    : | 
 | 4089 | 	  else | 
 | 4090 | 	    cat <<EOF 1>&2 | 
 | 4091 |  | 
 | 4092 | *** Warning: the command libtool uses to detect shared libraries, | 
 | 4093 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
 | 4094 | *** The result is that libtool may fail to recognize shared libraries | 
 | 4095 | *** as such.  This will affect the creation of libtool libraries that | 
 | 4096 | *** depend on shared libraries, but programs linked with such libtool | 
 | 4097 | *** libraries will work regardless of this problem.  Nevertheless, you | 
 | 4098 | *** may want to report the problem to your system manager and/or to | 
 | 4099 | *** bug-libtool@gnu.org | 
 | 4100 |  | 
 | 4101 | EOF | 
 | 4102 | 	  fi ;; | 
 | 4103 | 	esac | 
 | 4104 |       fi | 
 | 4105 |       break | 
 | 4106 |     fi | 
 | 4107 |   done | 
 | 4108 |   IFS="$ac_save_ifs" | 
 | 4109 |   MAGIC_CMD="$ac_save_MAGIC_CMD" | 
 | 4110 |   ;; | 
 | 4111 | esac | 
 | 4112 | fi | 
 | 4113 |  | 
 | 4114 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 4115 | if test -n "$MAGIC_CMD"; then | 
 | 4116 |   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 
 | 4117 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
 | 4118 | else | 
 | 4119 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4120 | echo "${ECHO_T}no" >&6 | 
 | 4121 | fi | 
 | 4122 |  | 
 | 4123 |   else | 
 | 4124 |     MAGIC_CMD=: | 
 | 4125 |   fi | 
 | 4126 | fi | 
 | 4127 |  | 
 | 4128 |   fi | 
 | 4129 |   ;; | 
 | 4130 | esac | 
 | 4131 |  | 
 | 4132 | if test -n "$ac_tool_prefix"; then | 
 | 4133 |   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
 | 4134 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
 | 4135 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 4136 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 4137 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 
 | 4138 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4139 | else | 
 | 4140 |   if test -n "$RANLIB"; then | 
 | 4141 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
 | 4142 | else | 
 | 4143 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 4144 | for as_dir in $PATH | 
 | 4145 | do | 
 | 4146 |   IFS=$as_save_IFS | 
 | 4147 |   test -z "$as_dir" && as_dir=. | 
 | 4148 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 4149 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 4150 |     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
 | 4151 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 4152 |     break 2 | 
 | 4153 |   fi | 
 | 4154 | done | 
 | 4155 | done | 
 | 4156 |  | 
 | 4157 | fi | 
 | 4158 | fi | 
 | 4159 | RANLIB=$ac_cv_prog_RANLIB | 
 | 4160 | if test -n "$RANLIB"; then | 
 | 4161 |   echo "$as_me:$LINENO: result: $RANLIB" >&5 | 
 | 4162 | echo "${ECHO_T}$RANLIB" >&6 | 
 | 4163 | else | 
 | 4164 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4165 | echo "${ECHO_T}no" >&6 | 
 | 4166 | fi | 
 | 4167 |  | 
 | 4168 | fi | 
 | 4169 | if test -z "$ac_cv_prog_RANLIB"; then | 
 | 4170 |   ac_ct_RANLIB=$RANLIB | 
 | 4171 |   # Extract the first word of "ranlib", so it can be a program name with args. | 
 | 4172 | set dummy ranlib; ac_word=$2 | 
 | 4173 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 4174 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 4175 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 
 | 4176 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4177 | else | 
 | 4178 |   if test -n "$ac_ct_RANLIB"; then | 
 | 4179 |   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
 | 4180 | else | 
 | 4181 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 4182 | for as_dir in $PATH | 
 | 4183 | do | 
 | 4184 |   IFS=$as_save_IFS | 
 | 4185 |   test -z "$as_dir" && as_dir=. | 
 | 4186 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 4187 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 4188 |     ac_cv_prog_ac_ct_RANLIB="ranlib" | 
 | 4189 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 4190 |     break 2 | 
 | 4191 |   fi | 
 | 4192 | done | 
 | 4193 | done | 
 | 4194 |  | 
 | 4195 |   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 
 | 4196 | fi | 
 | 4197 | fi | 
 | 4198 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
 | 4199 | if test -n "$ac_ct_RANLIB"; then | 
 | 4200 |   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 
 | 4201 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 
 | 4202 | else | 
 | 4203 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4204 | echo "${ECHO_T}no" >&6 | 
 | 4205 | fi | 
 | 4206 |  | 
 | 4207 |   RANLIB=$ac_ct_RANLIB | 
 | 4208 | else | 
 | 4209 |   RANLIB="$ac_cv_prog_RANLIB" | 
 | 4210 | fi | 
 | 4211 |  | 
 | 4212 | if test -n "$ac_tool_prefix"; then | 
 | 4213 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
 | 4214 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
 | 4215 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 4216 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 4217 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
 | 4218 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4219 | else | 
 | 4220 |   if test -n "$STRIP"; then | 
 | 4221 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
 | 4222 | else | 
 | 4223 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 4224 | for as_dir in $PATH | 
 | 4225 | do | 
 | 4226 |   IFS=$as_save_IFS | 
 | 4227 |   test -z "$as_dir" && as_dir=. | 
 | 4228 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 4229 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 4230 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
 | 4231 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 4232 |     break 2 | 
 | 4233 |   fi | 
 | 4234 | done | 
 | 4235 | done | 
 | 4236 |  | 
 | 4237 | fi | 
 | 4238 | fi | 
 | 4239 | STRIP=$ac_cv_prog_STRIP | 
 | 4240 | if test -n "$STRIP"; then | 
 | 4241 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
 | 4242 | echo "${ECHO_T}$STRIP" >&6 | 
 | 4243 | else | 
 | 4244 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4245 | echo "${ECHO_T}no" >&6 | 
 | 4246 | fi | 
 | 4247 |  | 
 | 4248 | fi | 
 | 4249 | if test -z "$ac_cv_prog_STRIP"; then | 
 | 4250 |   ac_ct_STRIP=$STRIP | 
 | 4251 |   # Extract the first word of "strip", so it can be a program name with args. | 
 | 4252 | set dummy strip; ac_word=$2 | 
 | 4253 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 4254 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 4255 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
 | 4256 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4257 | else | 
 | 4258 |   if test -n "$ac_ct_STRIP"; then | 
 | 4259 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
 | 4260 | else | 
 | 4261 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 4262 | for as_dir in $PATH | 
 | 4263 | do | 
 | 4264 |   IFS=$as_save_IFS | 
 | 4265 |   test -z "$as_dir" && as_dir=. | 
 | 4266 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 4267 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 4268 |     ac_cv_prog_ac_ct_STRIP="strip" | 
 | 4269 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 4270 |     break 2 | 
 | 4271 |   fi | 
 | 4272 | done | 
 | 4273 | done | 
 | 4274 |  | 
 | 4275 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
 | 4276 | fi | 
 | 4277 | fi | 
 | 4278 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
 | 4279 | if test -n "$ac_ct_STRIP"; then | 
 | 4280 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
 | 4281 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
 | 4282 | else | 
 | 4283 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4284 | echo "${ECHO_T}no" >&6 | 
 | 4285 | fi | 
 | 4286 |  | 
 | 4287 |   STRIP=$ac_ct_STRIP | 
 | 4288 | else | 
 | 4289 |   STRIP="$ac_cv_prog_STRIP" | 
 | 4290 | fi | 
 | 4291 |  | 
 | 4292 |  | 
 | 4293 | enable_dlopen=no | 
 | 4294 | enable_win32_dll=no | 
 | 4295 |  | 
 | 4296 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 
 | 4297 | if test "${enable_libtool_lock+set}" = set; then | 
 | 4298 |   enableval="$enable_libtool_lock" | 
 | 4299 |  | 
 | 4300 | fi; | 
 | 4301 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 
 | 4302 |  | 
 | 4303 | # Some flags need to be propagated to the compiler or linker for good | 
 | 4304 | # libtool support. | 
 | 4305 | case $host in | 
 | 4306 | *-*-irix6*) | 
 | 4307 |   # Find out which ABI we are using. | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame^] | 4308 |   echo '#line 4308 "configure"' > conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4309 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4310 |   (eval $ac_compile) 2>&5 | 
 | 4311 |   ac_status=$? | 
 | 4312 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4313 |   (exit $ac_status); }; then | 
 | 4314 |     case `/usr/bin/file conftest.$ac_objext` in | 
 | 4315 |     *32-bit*) | 
 | 4316 |       LD="${LD-ld} -32" | 
 | 4317 |       ;; | 
 | 4318 |     *N32*) | 
 | 4319 |       LD="${LD-ld} -n32" | 
 | 4320 |       ;; | 
 | 4321 |     *64-bit*) | 
 | 4322 |       LD="${LD-ld} -64" | 
 | 4323 |       ;; | 
 | 4324 |     esac | 
 | 4325 |   fi | 
 | 4326 |   rm -rf conftest* | 
 | 4327 |   ;; | 
 | 4328 |  | 
 | 4329 | *-*-sco3.2v5*) | 
 | 4330 |   # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 
 | 4331 |   SAVE_CFLAGS="$CFLAGS" | 
 | 4332 |   CFLAGS="$CFLAGS -belf" | 
 | 4333 |   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 | 
 | 4334 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 | 
 | 4335 | if test "${lt_cv_cc_needs_belf+set}" = set; then | 
 | 4336 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4337 | else | 
 | 4338 |  | 
 | 4339 |  | 
 | 4340 |      ac_ext=c | 
 | 4341 | ac_cpp='$CPP $CPPFLAGS' | 
 | 4342 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 4343 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4344 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 4345 |  | 
 | 4346 |      cat >conftest.$ac_ext <<_ACEOF | 
 | 4347 | #line $LINENO "configure" | 
 | 4348 | #include "confdefs.h" | 
 | 4349 |  | 
 | 4350 | #ifdef F77_DUMMY_MAIN | 
 | 4351 | #  ifdef __cplusplus | 
 | 4352 |      extern "C" | 
 | 4353 | #  endif | 
 | 4354 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 4355 | #endif | 
 | 4356 | int | 
 | 4357 | main () | 
 | 4358 | { | 
 | 4359 |  | 
 | 4360 |   ; | 
 | 4361 |   return 0; | 
 | 4362 | } | 
 | 4363 | _ACEOF | 
 | 4364 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 4365 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 4366 |   (eval $ac_link) 2>&5 | 
 | 4367 |   ac_status=$? | 
 | 4368 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4369 |   (exit $ac_status); } && | 
 | 4370 |          { ac_try='test -s conftest$ac_exeext' | 
 | 4371 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4372 |   (eval $ac_try) 2>&5 | 
 | 4373 |   ac_status=$? | 
 | 4374 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4375 |   (exit $ac_status); }; }; then | 
 | 4376 |   lt_cv_cc_needs_belf=yes | 
 | 4377 | else | 
 | 4378 |   echo "$as_me: failed program was:" >&5 | 
 | 4379 | cat conftest.$ac_ext >&5 | 
 | 4380 | lt_cv_cc_needs_belf=no | 
 | 4381 | fi | 
 | 4382 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 4383 |      ac_ext=c | 
 | 4384 | ac_cpp='$CPP $CPPFLAGS' | 
 | 4385 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 4386 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4387 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 4388 |  | 
 | 4389 | fi | 
 | 4390 | echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 | 
 | 4391 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 | 
 | 4392 |   if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 
 | 4393 |     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 
 | 4394 |     CFLAGS="$SAVE_CFLAGS" | 
 | 4395 |   fi | 
 | 4396 |   ;; | 
 | 4397 |  | 
 | 4398 |  | 
 | 4399 | esac | 
 | 4400 |  | 
 | 4401 | # Sed substitution that helps us do robust quoting.  It backslashifies | 
 | 4402 | # metacharacters that are still active within double-quoted strings. | 
 | 4403 | Xsed='sed -e s/^X//' | 
 | 4404 | sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' | 
 | 4405 |  | 
 | 4406 | # Same as above, but do not quote variable references. | 
 | 4407 | double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' | 
 | 4408 |  | 
 | 4409 | # Sed substitution to delay expansion of an escaped shell variable in a | 
 | 4410 | # double_quote_subst'ed string. | 
 | 4411 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | 
 | 4412 |  | 
 | 4413 | # Constants: | 
 | 4414 | rm="rm -f" | 
 | 4415 |  | 
 | 4416 | # Global variables: | 
 | 4417 | default_ofile=libtool | 
 | 4418 | can_build_shared=yes | 
 | 4419 |  | 
 | 4420 | # All known linkers require a `.a' archive for static linking (except M$VC, | 
 | 4421 | # which needs '.lib'). | 
 | 4422 | libext=a | 
 | 4423 | ltmain="$ac_aux_dir/ltmain.sh" | 
 | 4424 | ofile="$default_ofile" | 
 | 4425 | with_gnu_ld="$lt_cv_prog_gnu_ld" | 
 | 4426 | need_locks="$enable_libtool_lock" | 
 | 4427 |  | 
 | 4428 | old_CC="$CC" | 
 | 4429 | old_CFLAGS="$CFLAGS" | 
 | 4430 |  | 
 | 4431 | # Set sane defaults for various variables | 
 | 4432 | test -z "$AR" && AR=ar | 
 | 4433 | test -z "$AR_FLAGS" && AR_FLAGS=cru | 
 | 4434 | test -z "$AS" && AS=as | 
 | 4435 | test -z "$CC" && CC=cc | 
 | 4436 | test -z "$DLLTOOL" && DLLTOOL=dlltool | 
 | 4437 | test -z "$LD" && LD=ld | 
 | 4438 | test -z "$LN_S" && LN_S="ln -s" | 
 | 4439 | test -z "$MAGIC_CMD" && MAGIC_CMD=file | 
 | 4440 | test -z "$NM" && NM=nm | 
 | 4441 | test -z "$OBJDUMP" && OBJDUMP=objdump | 
 | 4442 | test -z "$RANLIB" && RANLIB=: | 
 | 4443 | test -z "$STRIP" && STRIP=: | 
 | 4444 | test -z "$ac_objext" && ac_objext=o | 
 | 4445 |  | 
 | 4446 | if test x"$host" != x"$build"; then | 
 | 4447 |   ac_tool_prefix=${host_alias}- | 
 | 4448 | else | 
 | 4449 |   ac_tool_prefix= | 
 | 4450 | fi | 
 | 4451 |  | 
 | 4452 | # Transform linux* to *-*-linux-gnu*, to support old configure scripts. | 
 | 4453 | case $host_os in | 
 | 4454 | linux-gnu*) ;; | 
 | 4455 | linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 
 | 4456 | esac | 
 | 4457 |  | 
 | 4458 | case $host_os in | 
 | 4459 | aix3*) | 
 | 4460 |   # AIX sometimes has problems with the GCC collect2 program.  For some | 
 | 4461 |   # reason, if we set the COLLECT_NAMES environment variable, the problems | 
 | 4462 |   # vanish in a puff of smoke. | 
 | 4463 |   if test "X${COLLECT_NAMES+set}" != Xset; then | 
 | 4464 |     COLLECT_NAMES= | 
 | 4465 |     export COLLECT_NAMES | 
 | 4466 |   fi | 
 | 4467 |   ;; | 
 | 4468 | esac | 
 | 4469 |  | 
 | 4470 | # Determine commands to create old-style static archives. | 
 | 4471 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' | 
 | 4472 | old_postinstall_cmds='chmod 644 $oldlib' | 
 | 4473 | old_postuninstall_cmds= | 
 | 4474 |  | 
 | 4475 | if test -n "$RANLIB"; then | 
 | 4476 |   case $host_os in | 
 | 4477 |   openbsd*) | 
 | 4478 |     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" | 
 | 4479 |     ;; | 
 | 4480 |   *) | 
 | 4481 |     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" | 
 | 4482 |     ;; | 
 | 4483 |   esac | 
 | 4484 |   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | 
 | 4485 | fi | 
 | 4486 |  | 
 | 4487 | # Allow CC to be a program name with arguments. | 
 | 4488 | set dummy $CC | 
 | 4489 | compiler="$2" | 
 | 4490 |  | 
 | 4491 | ## FIXME: this should be a separate macro | 
 | 4492 | ## | 
 | 4493 | echo "$as_me:$LINENO: checking for objdir" >&5 | 
 | 4494 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6 | 
 | 4495 | rm -f .libs 2>/dev/null | 
 | 4496 | mkdir .libs 2>/dev/null | 
 | 4497 | if test -d .libs; then | 
 | 4498 |   objdir=.libs | 
 | 4499 | else | 
 | 4500 |   # MS-DOS does not allow filenames that begin with a dot. | 
 | 4501 |   objdir=_libs | 
 | 4502 | fi | 
 | 4503 | rmdir .libs 2>/dev/null | 
 | 4504 | echo "$as_me:$LINENO: result: $objdir" >&5 | 
 | 4505 | echo "${ECHO_T}$objdir" >&6 | 
 | 4506 | ## | 
 | 4507 | ## END FIXME | 
 | 4508 |  | 
 | 4509 |  | 
 | 4510 | ## FIXME: this should be a separate macro | 
 | 4511 | ## | 
 | 4512 |  | 
 | 4513 | # Check whether --with-pic or --without-pic was given. | 
 | 4514 | if test "${with_pic+set}" = set; then | 
 | 4515 |   withval="$with_pic" | 
 | 4516 |   pic_mode="$withval" | 
 | 4517 | else | 
 | 4518 |   pic_mode=default | 
 | 4519 | fi; | 
 | 4520 | test -z "$pic_mode" && pic_mode=default | 
 | 4521 |  | 
 | 4522 | # We assume here that the value for lt_cv_prog_cc_pic will not be cached | 
 | 4523 | # in isolation, and that seeing it set (from the cache) indicates that | 
 | 4524 | # the associated values are set (in the cache) correctly too. | 
 | 4525 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
 | 4526 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
 | 4527 | if test "${lt_cv_prog_cc_pic+set}" = set; then | 
 | 4528 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4529 | else | 
 | 4530 |    lt_cv_prog_cc_pic= | 
 | 4531 |   lt_cv_prog_cc_shlib= | 
 | 4532 |   lt_cv_prog_cc_wl= | 
 | 4533 |   lt_cv_prog_cc_static= | 
 | 4534 |   lt_cv_prog_cc_no_builtin= | 
 | 4535 |   lt_cv_prog_cc_can_build_shared=$can_build_shared | 
 | 4536 |  | 
 | 4537 |   if test "$GCC" = yes; then | 
 | 4538 |     lt_cv_prog_cc_wl='-Wl,' | 
 | 4539 |     lt_cv_prog_cc_static='-static' | 
 | 4540 |  | 
 | 4541 |     case $host_os in | 
 | 4542 |     aix*) | 
 | 4543 |       # Below there is a dirty hack to force normal static linking with -ldl | 
 | 4544 |       # The problem is because libdl dynamically linked with both libc and | 
 | 4545 |       # libC (AIX C++ library), which obviously doesn't included in libraries | 
 | 4546 |       # list by gcc. This cause undefined symbols with -static flags. | 
 | 4547 |       # This hack allows C programs to be linked with "-static -ldl", but | 
 | 4548 |       # not sure about C++ programs. | 
 | 4549 |       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" | 
 | 4550 |       ;; | 
 | 4551 |     amigaos*) | 
 | 4552 |       # FIXME: we need at least 68020 code to build shared libraries, but | 
 | 4553 |       # adding the `-m68020' flag to GCC prevents building anything better, | 
 | 4554 |       # like `-m68040'. | 
 | 4555 |       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' | 
 | 4556 |       ;; | 
 | 4557 |     beos* | irix5* | irix6* | osf3* | osf4* | osf5*) | 
 | 4558 |       # PIC is the default for these OSes. | 
 | 4559 |       ;; | 
 | 4560 |     darwin* | rhapsody*) | 
 | 4561 |       # PIC is the default on this platform | 
 | 4562 |       # Common symbols not allowed in MH_DYLIB files | 
 | 4563 |       lt_cv_prog_cc_pic='-fno-common' | 
 | 4564 |       ;; | 
 | 4565 |     cygwin* | mingw* | pw32* | os2*) | 
 | 4566 |       # This hack is so that the source file can tell whether it is being | 
 | 4567 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 4568 |       lt_cv_prog_cc_pic='-DDLL_EXPORT' | 
 | 4569 |       ;; | 
 | 4570 |     sysv4*MP*) | 
 | 4571 |       if test -d /usr/nec; then | 
 | 4572 | 	 lt_cv_prog_cc_pic=-Kconform_pic | 
 | 4573 |       fi | 
 | 4574 |       ;; | 
 | 4575 |     *) | 
 | 4576 |       lt_cv_prog_cc_pic='-fPIC' | 
 | 4577 |       ;; | 
 | 4578 |     esac | 
 | 4579 |   else | 
 | 4580 |     # PORTME Check for PIC flags for the system compiler. | 
 | 4581 |     case $host_os in | 
 | 4582 |     aix3* | aix4* | aix5*) | 
 | 4583 |       lt_cv_prog_cc_wl='-Wl,' | 
 | 4584 |       # All AIX code is PIC. | 
 | 4585 |       if test "$host_cpu" = ia64; then | 
 | 4586 | 	# AIX 5 now supports IA64 processor | 
 | 4587 | 	lt_cv_prog_cc_static='-Bstatic' | 
 | 4588 |       else | 
 | 4589 | 	lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' | 
 | 4590 |       fi | 
 | 4591 |       ;; | 
 | 4592 |  | 
 | 4593 |     hpux9* | hpux10* | hpux11*) | 
 | 4594 |       # Is there a better lt_cv_prog_cc_static that works with the bundled CC? | 
 | 4595 |       lt_cv_prog_cc_wl='-Wl,' | 
 | 4596 |       lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" | 
 | 4597 |       lt_cv_prog_cc_pic='+Z' | 
 | 4598 |       ;; | 
 | 4599 |  | 
 | 4600 |     irix5* | irix6*) | 
 | 4601 |       lt_cv_prog_cc_wl='-Wl,' | 
 | 4602 |       lt_cv_prog_cc_static='-non_shared' | 
 | 4603 |       # PIC (with -KPIC) is the default. | 
 | 4604 |       ;; | 
 | 4605 |  | 
 | 4606 |     cygwin* | mingw* | pw32* | os2*) | 
 | 4607 |       # This hack is so that the source file can tell whether it is being | 
 | 4608 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 4609 |       lt_cv_prog_cc_pic='-DDLL_EXPORT' | 
 | 4610 |       ;; | 
 | 4611 |  | 
 | 4612 |     newsos6) | 
 | 4613 |       lt_cv_prog_cc_pic='-KPIC' | 
 | 4614 |       lt_cv_prog_cc_static='-Bstatic' | 
 | 4615 |       ;; | 
 | 4616 |  | 
 | 4617 |     osf3* | osf4* | osf5*) | 
 | 4618 |       # All OSF/1 code is PIC. | 
 | 4619 |       lt_cv_prog_cc_wl='-Wl,' | 
 | 4620 |       lt_cv_prog_cc_static='-non_shared' | 
 | 4621 |       ;; | 
 | 4622 |  | 
 | 4623 |     sco3.2v5*) | 
 | 4624 |       lt_cv_prog_cc_pic='-Kpic' | 
 | 4625 |       lt_cv_prog_cc_static='-dn' | 
 | 4626 |       lt_cv_prog_cc_shlib='-belf' | 
 | 4627 |       ;; | 
 | 4628 |  | 
 | 4629 |     solaris*) | 
 | 4630 |       lt_cv_prog_cc_pic='-KPIC' | 
 | 4631 |       lt_cv_prog_cc_static='-Bstatic' | 
 | 4632 |       lt_cv_prog_cc_wl='-Wl,' | 
 | 4633 |       ;; | 
 | 4634 |  | 
 | 4635 |     sunos4*) | 
 | 4636 |       lt_cv_prog_cc_pic='-PIC' | 
 | 4637 |       lt_cv_prog_cc_static='-Bstatic' | 
 | 4638 |       lt_cv_prog_cc_wl='-Qoption ld ' | 
 | 4639 |       ;; | 
 | 4640 |  | 
 | 4641 |     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 4642 |       lt_cv_prog_cc_pic='-KPIC' | 
 | 4643 |       lt_cv_prog_cc_static='-Bstatic' | 
 | 4644 |       if test "x$host_vendor" = xsni; then | 
 | 4645 | 	lt_cv_prog_cc_wl='-LD' | 
 | 4646 |       else | 
 | 4647 | 	lt_cv_prog_cc_wl='-Wl,' | 
 | 4648 |       fi | 
 | 4649 |       ;; | 
 | 4650 |  | 
 | 4651 |     uts4*) | 
 | 4652 |       lt_cv_prog_cc_pic='-pic' | 
 | 4653 |       lt_cv_prog_cc_static='-Bstatic' | 
 | 4654 |       ;; | 
 | 4655 |  | 
 | 4656 |     sysv4*MP*) | 
 | 4657 |       if test -d /usr/nec ;then | 
 | 4658 | 	lt_cv_prog_cc_pic='-Kconform_pic' | 
 | 4659 | 	lt_cv_prog_cc_static='-Bstatic' | 
 | 4660 |       fi | 
 | 4661 |       ;; | 
 | 4662 |  | 
 | 4663 |     *) | 
 | 4664 |       lt_cv_prog_cc_can_build_shared=no | 
 | 4665 |       ;; | 
 | 4666 |     esac | 
 | 4667 |   fi | 
 | 4668 |  | 
 | 4669 | fi | 
 | 4670 |  | 
 | 4671 | if test -z "$lt_cv_prog_cc_pic"; then | 
 | 4672 |   echo "$as_me:$LINENO: result: none" >&5 | 
 | 4673 | echo "${ECHO_T}none" >&6 | 
 | 4674 | else | 
 | 4675 |   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 | 
 | 4676 | echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 | 
 | 4677 |  | 
 | 4678 |   # Check to make sure the pic_flag actually works. | 
 | 4679 |   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 | 
 | 4680 | echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 | 
 | 4681 |   if test "${lt_cv_prog_cc_pic_works+set}" = set; then | 
 | 4682 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4683 | else | 
 | 4684 |       save_CFLAGS="$CFLAGS" | 
 | 4685 |     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" | 
 | 4686 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 4687 | #line $LINENO "configure" | 
 | 4688 | #include "confdefs.h" | 
 | 4689 |  | 
 | 4690 | #ifdef F77_DUMMY_MAIN | 
 | 4691 | #  ifdef __cplusplus | 
 | 4692 |      extern "C" | 
 | 4693 | #  endif | 
 | 4694 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 4695 | #endif | 
 | 4696 | int | 
 | 4697 | main () | 
 | 4698 | { | 
 | 4699 |  | 
 | 4700 |   ; | 
 | 4701 |   return 0; | 
 | 4702 | } | 
 | 4703 | _ACEOF | 
 | 4704 | rm -f conftest.$ac_objext | 
 | 4705 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4706 |   (eval $ac_compile) 2>&5 | 
 | 4707 |   ac_status=$? | 
 | 4708 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4709 |   (exit $ac_status); } && | 
 | 4710 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4711 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4712 |   (eval $ac_try) 2>&5 | 
 | 4713 |   ac_status=$? | 
 | 4714 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4715 |   (exit $ac_status); }; }; then | 
 | 4716 |         case $host_os in | 
 | 4717 |       hpux9* | hpux10* | hpux11*) | 
 | 4718 | 	# On HP-UX, both CC and GCC only warn that PIC is supported... then | 
 | 4719 | 	# they create non-PIC objects.  So, if there were any warnings, we | 
 | 4720 | 	# assume that PIC is not supported. | 
 | 4721 | 	if test -s conftest.err; then | 
 | 4722 | 	  lt_cv_prog_cc_pic_works=no | 
 | 4723 | 	else | 
 | 4724 | 	  lt_cv_prog_cc_pic_works=yes | 
 | 4725 | 	fi | 
 | 4726 | 	;; | 
 | 4727 |       *) | 
 | 4728 | 	lt_cv_prog_cc_pic_works=yes | 
 | 4729 | 	;; | 
 | 4730 |       esac | 
 | 4731 |  | 
 | 4732 | else | 
 | 4733 |   echo "$as_me: failed program was:" >&5 | 
 | 4734 | cat conftest.$ac_ext >&5 | 
 | 4735 |       lt_cv_prog_cc_pic_works=no | 
 | 4736 |  | 
 | 4737 | fi | 
 | 4738 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 4739 |     CFLAGS="$save_CFLAGS" | 
 | 4740 |  | 
 | 4741 | fi | 
 | 4742 |  | 
 | 4743 |  | 
 | 4744 |   if test "X$lt_cv_prog_cc_pic_works" = Xno; then | 
 | 4745 |     lt_cv_prog_cc_pic= | 
 | 4746 |     lt_cv_prog_cc_can_build_shared=no | 
 | 4747 |   else | 
 | 4748 |     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" | 
 | 4749 |   fi | 
 | 4750 |  | 
 | 4751 |   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 | 
 | 4752 | echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 | 
 | 4753 | fi | 
 | 4754 | ## | 
 | 4755 | ## END FIXME | 
 | 4756 |  | 
 | 4757 | # Check for any special shared library compilation flags. | 
 | 4758 | if test -n "$lt_cv_prog_cc_shlib"; then | 
 | 4759 |   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 | 
 | 4760 | echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} | 
 | 4761 |   if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then : | 
 | 4762 |   else | 
 | 4763 |    { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 | 
 | 4764 | echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} | 
 | 4765 |     lt_cv_prog_cc_can_build_shared=no | 
 | 4766 |   fi | 
 | 4767 | fi | 
 | 4768 |  | 
 | 4769 | ## FIXME: this should be a separate macro | 
 | 4770 | ## | 
 | 4771 | echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 | 
 | 4772 | echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 | 
 | 4773 | if test "${lt_cv_prog_cc_static_works+set}" = set; then | 
 | 4774 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4775 | else | 
 | 4776 |     lt_cv_prog_cc_static_works=no | 
 | 4777 |   save_LDFLAGS="$LDFLAGS" | 
 | 4778 |   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" | 
 | 4779 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4780 | #line $LINENO "configure" | 
 | 4781 | #include "confdefs.h" | 
 | 4782 |  | 
 | 4783 | #ifdef F77_DUMMY_MAIN | 
 | 4784 | #  ifdef __cplusplus | 
 | 4785 |      extern "C" | 
 | 4786 | #  endif | 
 | 4787 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 4788 | #endif | 
 | 4789 | int | 
 | 4790 | main () | 
 | 4791 | { | 
 | 4792 |  | 
 | 4793 |   ; | 
 | 4794 |   return 0; | 
 | 4795 | } | 
 | 4796 | _ACEOF | 
 | 4797 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 4798 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 4799 |   (eval $ac_link) 2>&5 | 
 | 4800 |   ac_status=$? | 
 | 4801 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4802 |   (exit $ac_status); } && | 
 | 4803 |          { ac_try='test -s conftest$ac_exeext' | 
 | 4804 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4805 |   (eval $ac_try) 2>&5 | 
 | 4806 |   ac_status=$? | 
 | 4807 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4808 |   (exit $ac_status); }; }; then | 
 | 4809 |   lt_cv_prog_cc_static_works=yes | 
 | 4810 | else | 
 | 4811 |   echo "$as_me: failed program was:" >&5 | 
 | 4812 | cat conftest.$ac_ext >&5 | 
 | 4813 | fi | 
 | 4814 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 4815 |   LDFLAGS="$save_LDFLAGS" | 
 | 4816 |  | 
 | 4817 | fi | 
 | 4818 |  | 
 | 4819 |  | 
 | 4820 | # Belt *and* braces to stop my trousers falling down: | 
 | 4821 | test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= | 
 | 4822 | echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 | 
 | 4823 | echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 | 
 | 4824 |  | 
 | 4825 | pic_flag="$lt_cv_prog_cc_pic" | 
 | 4826 | special_shlib_compile_flags="$lt_cv_prog_cc_shlib" | 
 | 4827 | wl="$lt_cv_prog_cc_wl" | 
 | 4828 | link_static_flag="$lt_cv_prog_cc_static" | 
 | 4829 | no_builtin_flag="$lt_cv_prog_cc_no_builtin" | 
 | 4830 | can_build_shared="$lt_cv_prog_cc_can_build_shared" | 
 | 4831 | ## | 
 | 4832 | ## END FIXME | 
 | 4833 |  | 
 | 4834 |  | 
 | 4835 | ## FIXME: this should be a separate macro | 
 | 4836 | ## | 
 | 4837 | # Check to see if options -o and -c are simultaneously supported by compiler | 
 | 4838 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
 | 4839 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
 | 4840 | if test "${lt_cv_compiler_c_o+set}" = set; then | 
 | 4841 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4842 | else | 
 | 4843 |  | 
 | 4844 | $rm -r conftest 2>/dev/null | 
 | 4845 | mkdir conftest | 
 | 4846 | cd conftest | 
 | 4847 | echo "int some_variable = 0;" > conftest.$ac_ext | 
 | 4848 | mkdir out | 
 | 4849 | # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
 | 4850 | # that will create temporary files in the current directory regardless of | 
 | 4851 | # the output directory.  Thus, making CWD read-only will cause this test | 
 | 4852 | # to fail, enabling locking or at least warning the user not to do parallel | 
 | 4853 | # builds. | 
 | 4854 | chmod -w . | 
 | 4855 | save_CFLAGS="$CFLAGS" | 
 | 4856 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" | 
 | 4857 | compiler_c_o=no | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame^] | 4858 | if { (eval echo configure:4858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4859 |   # The compiler can only warn and ignore the option if not recognized | 
 | 4860 |   # So say no if there are warnings | 
 | 4861 |   if test -s out/conftest.err; then | 
 | 4862 |     lt_cv_compiler_c_o=no | 
 | 4863 |   else | 
 | 4864 |     lt_cv_compiler_c_o=yes | 
 | 4865 |   fi | 
 | 4866 | else | 
 | 4867 |   # Append any errors to the config.log. | 
 | 4868 |   cat out/conftest.err 1>&5 | 
 | 4869 |   lt_cv_compiler_c_o=no | 
 | 4870 | fi | 
 | 4871 | CFLAGS="$save_CFLAGS" | 
 | 4872 | chmod u+w . | 
 | 4873 | $rm conftest* out/* | 
 | 4874 | rmdir out | 
 | 4875 | cd .. | 
 | 4876 | rmdir conftest | 
 | 4877 | $rm -r conftest 2>/dev/null | 
 | 4878 |  | 
 | 4879 | fi | 
 | 4880 |  | 
 | 4881 | compiler_c_o=$lt_cv_compiler_c_o | 
 | 4882 | echo "$as_me:$LINENO: result: $compiler_c_o" >&5 | 
 | 4883 | echo "${ECHO_T}$compiler_c_o" >&6 | 
 | 4884 |  | 
 | 4885 | if test x"$compiler_c_o" = x"yes"; then | 
 | 4886 |   # Check to see if we can write to a .lo | 
 | 4887 |   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 | 
 | 4888 | echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 | 
 | 4889 |   if test "${lt_cv_compiler_o_lo+set}" = set; then | 
 | 4890 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4891 | else | 
 | 4892 |  | 
 | 4893 |   lt_cv_compiler_o_lo=no | 
 | 4894 |   save_CFLAGS="$CFLAGS" | 
 | 4895 |   CFLAGS="$CFLAGS -c -o conftest.lo" | 
 | 4896 |   save_objext="$ac_objext" | 
 | 4897 |   ac_objext=lo | 
 | 4898 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4899 | #line $LINENO "configure" | 
 | 4900 | #include "confdefs.h" | 
 | 4901 |  | 
 | 4902 | #ifdef F77_DUMMY_MAIN | 
 | 4903 | #  ifdef __cplusplus | 
 | 4904 |      extern "C" | 
 | 4905 | #  endif | 
 | 4906 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 4907 | #endif | 
 | 4908 | int | 
 | 4909 | main () | 
 | 4910 | { | 
 | 4911 | int some_variable = 0; | 
 | 4912 |   ; | 
 | 4913 |   return 0; | 
 | 4914 | } | 
 | 4915 | _ACEOF | 
 | 4916 | rm -f conftest.$ac_objext | 
 | 4917 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4918 |   (eval $ac_compile) 2>&5 | 
 | 4919 |   ac_status=$? | 
 | 4920 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4921 |   (exit $ac_status); } && | 
 | 4922 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4923 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4924 |   (eval $ac_try) 2>&5 | 
 | 4925 |   ac_status=$? | 
 | 4926 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4927 |   (exit $ac_status); }; }; then | 
 | 4928 |       # The compiler can only warn and ignore the option if not recognized | 
 | 4929 |     # So say no if there are warnings | 
 | 4930 |     if test -s conftest.err; then | 
 | 4931 |       lt_cv_compiler_o_lo=no | 
 | 4932 |     else | 
 | 4933 |       lt_cv_compiler_o_lo=yes | 
 | 4934 |     fi | 
 | 4935 |  | 
 | 4936 | else | 
 | 4937 |   echo "$as_me: failed program was:" >&5 | 
 | 4938 | cat conftest.$ac_ext >&5 | 
 | 4939 | fi | 
 | 4940 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 4941 |   ac_objext="$save_objext" | 
 | 4942 |   CFLAGS="$save_CFLAGS" | 
 | 4943 |  | 
 | 4944 | fi | 
 | 4945 |  | 
 | 4946 |   compiler_o_lo=$lt_cv_compiler_o_lo | 
 | 4947 |   echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 | 
 | 4948 | echo "${ECHO_T}$compiler_o_lo" >&6 | 
 | 4949 | else | 
 | 4950 |   compiler_o_lo=no | 
 | 4951 | fi | 
 | 4952 | ## | 
 | 4953 | ## END FIXME | 
 | 4954 |  | 
 | 4955 | ## FIXME: this should be a separate macro | 
 | 4956 | ## | 
 | 4957 | # Check to see if we can do hard links to lock some files if needed | 
 | 4958 | hard_links="nottested" | 
 | 4959 | if test "$compiler_c_o" = no && test "$need_locks" != no; then | 
 | 4960 |   # do not overwrite the value of need_locks provided by the user | 
 | 4961 |   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
 | 4962 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
 | 4963 |   hard_links=yes | 
 | 4964 |   $rm conftest* | 
 | 4965 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 4966 |   touch conftest.a | 
 | 4967 |   ln conftest.a conftest.b 2>&5 || hard_links=no | 
 | 4968 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 4969 |   echo "$as_me:$LINENO: result: $hard_links" >&5 | 
 | 4970 | echo "${ECHO_T}$hard_links" >&6 | 
 | 4971 |   if test "$hard_links" = no; then | 
 | 4972 |     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
 | 4973 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
 | 4974 |     need_locks=warn | 
 | 4975 |   fi | 
 | 4976 | else | 
 | 4977 |   need_locks=no | 
 | 4978 | fi | 
 | 4979 | ## | 
 | 4980 | ## END FIXME | 
 | 4981 |  | 
 | 4982 | ## FIXME: this should be a separate macro | 
 | 4983 | ## | 
 | 4984 | if test "$GCC" = yes; then | 
 | 4985 |   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler | 
 | 4986 |   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 
 | 4987 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | 
 | 4988 |   echo "int some_variable = 0;" > conftest.$ac_ext | 
 | 4989 |   save_CFLAGS="$CFLAGS" | 
 | 4990 |   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" | 
 | 4991 |   compiler_rtti_exceptions=no | 
 | 4992 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4993 | #line $LINENO "configure" | 
 | 4994 | #include "confdefs.h" | 
 | 4995 |  | 
 | 4996 | #ifdef F77_DUMMY_MAIN | 
 | 4997 | #  ifdef __cplusplus | 
 | 4998 |      extern "C" | 
 | 4999 | #  endif | 
 | 5000 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 5001 | #endif | 
 | 5002 | int | 
 | 5003 | main () | 
 | 5004 | { | 
 | 5005 | int some_variable = 0; | 
 | 5006 |   ; | 
 | 5007 |   return 0; | 
 | 5008 | } | 
 | 5009 | _ACEOF | 
 | 5010 | rm -f conftest.$ac_objext | 
 | 5011 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 5012 |   (eval $ac_compile) 2>&5 | 
 | 5013 |   ac_status=$? | 
 | 5014 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5015 |   (exit $ac_status); } && | 
 | 5016 |          { ac_try='test -s conftest.$ac_objext' | 
 | 5017 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 5018 |   (eval $ac_try) 2>&5 | 
 | 5019 |   ac_status=$? | 
 | 5020 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5021 |   (exit $ac_status); }; }; then | 
 | 5022 |       # The compiler can only warn and ignore the option if not recognized | 
 | 5023 |     # So say no if there are warnings | 
 | 5024 |     if test -s conftest.err; then | 
 | 5025 |       compiler_rtti_exceptions=no | 
 | 5026 |     else | 
 | 5027 |       compiler_rtti_exceptions=yes | 
 | 5028 |     fi | 
 | 5029 |  | 
 | 5030 | else | 
 | 5031 |   echo "$as_me: failed program was:" >&5 | 
 | 5032 | cat conftest.$ac_ext >&5 | 
 | 5033 | fi | 
 | 5034 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 5035 |   CFLAGS="$save_CFLAGS" | 
 | 5036 |   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 | 
 | 5037 | echo "${ECHO_T}$compiler_rtti_exceptions" >&6 | 
 | 5038 |  | 
 | 5039 |   if test "$compiler_rtti_exceptions" = "yes"; then | 
 | 5040 |     no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' | 
 | 5041 |   else | 
 | 5042 |     no_builtin_flag=' -fno-builtin' | 
 | 5043 |   fi | 
 | 5044 | fi | 
 | 5045 | ## | 
 | 5046 | ## END FIXME | 
 | 5047 |  | 
 | 5048 | ## FIXME: this should be a separate macro | 
 | 5049 | ## | 
 | 5050 | # See if the linker supports building shared libraries. | 
 | 5051 | echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 | 
 | 5052 | echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 5053 |  | 
 | 5054 | allow_undefined_flag= | 
 | 5055 | no_undefined_flag= | 
 | 5056 | need_lib_prefix=unknown | 
 | 5057 | need_version=unknown | 
 | 5058 | # when you set need_version to no, make sure it does not cause -set_version | 
 | 5059 | # flags to be left without arguments | 
 | 5060 | archive_cmds= | 
 | 5061 | archive_expsym_cmds= | 
 | 5062 | old_archive_from_new_cmds= | 
 | 5063 | old_archive_from_expsyms_cmds= | 
 | 5064 | export_dynamic_flag_spec= | 
 | 5065 | whole_archive_flag_spec= | 
 | 5066 | thread_safe_flag_spec= | 
 | 5067 | hardcode_into_libs=no | 
 | 5068 | hardcode_libdir_flag_spec= | 
 | 5069 | hardcode_libdir_separator= | 
 | 5070 | hardcode_direct=no | 
 | 5071 | hardcode_minus_L=no | 
 | 5072 | hardcode_shlibpath_var=unsupported | 
 | 5073 | runpath_var= | 
 | 5074 | link_all_deplibs=unknown | 
 | 5075 | always_export_symbols=no | 
 | 5076 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 5077 | # include_expsyms should be a list of space-separated symbols to be *always* | 
 | 5078 | # included in the symbol list | 
 | 5079 | include_expsyms= | 
 | 5080 | # exclude_expsyms can be an egrep regular expression of symbols to exclude | 
 | 5081 | # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
 | 5082 | # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
 | 5083 | # as well as any symbol that contains `d'. | 
 | 5084 | exclude_expsyms="_GLOBAL_OFFSET_TABLE_" | 
 | 5085 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
 | 5086 | # platforms (ab)use it in PIC code, but their linkers get confused if | 
 | 5087 | # the symbol is explicitly referenced.  Since portable code cannot | 
 | 5088 | # rely on this symbol name, it's probably fine to never include it in | 
 | 5089 | # preloaded symbol tables. | 
 | 5090 | extract_expsyms_cmds= | 
 | 5091 |  | 
 | 5092 | case $host_os in | 
 | 5093 | cygwin* | mingw* | pw32*) | 
 | 5094 |   # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
 | 5095 |   # When not using gcc, we currently assume that we are using | 
 | 5096 |   # Microsoft Visual C++. | 
 | 5097 |   if test "$GCC" != yes; then | 
 | 5098 |     with_gnu_ld=no | 
 | 5099 |   fi | 
 | 5100 |   ;; | 
 | 5101 | openbsd*) | 
 | 5102 |   with_gnu_ld=no | 
 | 5103 |   ;; | 
 | 5104 | esac | 
 | 5105 |  | 
 | 5106 | ld_shlibs=yes | 
 | 5107 | if test "$with_gnu_ld" = yes; then | 
 | 5108 |   # If archive_cmds runs LD, not CC, wlarc should be empty | 
 | 5109 |   wlarc='${wl}' | 
 | 5110 |  | 
 | 5111 |   # See if GNU ld supports shared libraries. | 
 | 5112 |   case $host_os in | 
 | 5113 |   aix3* | aix4* | aix5*) | 
 | 5114 |     # On AIX, the GNU linker is very broken | 
 | 5115 |     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. | 
 | 5116 |     ld_shlibs=no | 
 | 5117 |     cat <<EOF 1>&2 | 
 | 5118 |  | 
 | 5119 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
 | 5120 | *** to be unable to reliably create shared libraries on AIX. | 
 | 5121 | *** Therefore, libtool is disabling shared libraries support.  If you | 
 | 5122 | *** really care for shared libraries, you may want to modify your PATH | 
 | 5123 | *** so that a non-GNU linker is found, and then restart. | 
 | 5124 |  | 
 | 5125 | EOF | 
 | 5126 |     ;; | 
 | 5127 |  | 
 | 5128 |   amigaos*) | 
 | 5129 |     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)' | 
 | 5130 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5131 |     hardcode_minus_L=yes | 
 | 5132 |  | 
 | 5133 |     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
 | 5134 |     # that the semantics of dynamic libraries on AmigaOS, at least up | 
 | 5135 |     # to version 4, is to share data among multiple programs linked | 
 | 5136 |     # with the same dynamic library.  Since this doesn't match the | 
 | 5137 |     # behavior of shared libraries on other platforms, we can use | 
 | 5138 |     # them. | 
 | 5139 |     ld_shlibs=no | 
 | 5140 |     ;; | 
 | 5141 |  | 
 | 5142 |   beos*) | 
 | 5143 |     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | 
 | 5144 |       allow_undefined_flag=unsupported | 
 | 5145 |       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
 | 5146 |       # support --undefined.  This deserves some investigation.  FIXME | 
 | 5147 |       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 5148 |     else | 
 | 5149 |       ld_shlibs=no | 
 | 5150 |     fi | 
 | 5151 |     ;; | 
 | 5152 |  | 
 | 5153 |   cygwin* | mingw* | pw32*) | 
 | 5154 |     # hardcode_libdir_flag_spec is actually meaningless, as there is | 
 | 5155 |     # no search path for DLLs. | 
 | 5156 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5157 |     allow_undefined_flag=unsupported | 
 | 5158 |     always_export_symbols=yes | 
 | 5159 |  | 
 | 5160 |     extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ | 
 | 5161 |       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ | 
 | 5162 |       test -f $output_objdir/impgen.exe || (cd $output_objdir && \ | 
 | 5163 |       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ | 
 | 5164 |       else $CC -o impgen impgen.c ; fi)~ | 
 | 5165 |       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' | 
 | 5166 |  | 
 | 5167 |     old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' | 
 | 5168 |  | 
 | 5169 |     # cygwin and mingw dlls have different entry points and sets of symbols | 
 | 5170 |     # to exclude. | 
 | 5171 |     # FIXME: what about values for MSVC? | 
 | 5172 |     dll_entry=__cygwin_dll_entry@12 | 
 | 5173 |     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ | 
 | 5174 |     case $host_os in | 
 | 5175 |     mingw*) | 
 | 5176 |       # mingw values | 
 | 5177 |       dll_entry=_DllMainCRTStartup@12 | 
 | 5178 |       dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ | 
 | 5179 |       ;; | 
 | 5180 |     esac | 
 | 5181 |  | 
 | 5182 |     # mingw and cygwin differ, and it's simplest to just exclude the union | 
 | 5183 |     # of the two symbol sets. | 
 | 5184 |     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 | 
 | 5185 |  | 
 | 5186 |     # recent cygwin and mingw systems supply a stub DllMain which the user | 
 | 5187 |     # can override, but on older systems we have to supply one (in ltdll.c) | 
 | 5188 |     if test "x$lt_cv_need_dllmain" = "xyes"; then | 
 | 5189 |       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " | 
 | 5190 |       ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ | 
 | 5191 | 	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' | 
 | 5192 |     else | 
 | 5193 |       ltdll_obj= | 
 | 5194 |       ltdll_cmds= | 
 | 5195 |     fi | 
 | 5196 |  | 
 | 5197 |     # Extract the symbol export list from an `--export-all' def file, | 
 | 5198 |     # then regenerate the def file from the symbol export list, so that | 
 | 5199 |     # the compiled dll only exports the symbol export list. | 
 | 5200 |     # Be careful not to strip the DATA tag left be newer dlltools. | 
 | 5201 |     export_symbols_cmds="$ltdll_cmds"' | 
 | 5202 |       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ | 
 | 5203 |       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' | 
 | 5204 |  | 
 | 5205 |     # If the export-symbols file already is a .def file (1st line | 
 | 5206 |     # is EXPORTS), use it as is. | 
 | 5207 |     # If DATA tags from a recent dlltool are present, honour them! | 
 | 5208 |     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then | 
 | 5209 | 	cp $export_symbols $output_objdir/$soname-def; | 
 | 5210 |       else | 
 | 5211 | 	echo EXPORTS > $output_objdir/$soname-def; | 
 | 5212 | 	_lt_hint=1; | 
 | 5213 | 	cat $export_symbols | while read symbol; do | 
 | 5214 | 	 set dummy \$symbol; | 
 | 5215 | 	 case \$# in | 
 | 5216 | 	   2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; | 
 | 5217 | 	   *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; | 
 | 5218 | 	 esac; | 
 | 5219 | 	 _lt_hint=`expr 1 + \$_lt_hint`; | 
 | 5220 | 	done; | 
 | 5221 |       fi~ | 
 | 5222 |       '"$ltdll_cmds"' | 
 | 5223 |       $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ | 
 | 5224 |       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ | 
 | 5225 |       $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ | 
 | 5226 |       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ | 
 | 5227 |       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' | 
 | 5228 |     ;; | 
 | 5229 |  | 
 | 5230 |   netbsd*) | 
 | 5231 |     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 5232 |       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
 | 5233 |       wlarc= | 
 | 5234 |     else | 
 | 5235 |       archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 5236 |       archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 5237 |     fi | 
 | 5238 |     ;; | 
 | 5239 |  | 
 | 5240 |   solaris* | sysv5*) | 
 | 5241 |     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then | 
 | 5242 |       ld_shlibs=no | 
 | 5243 |       cat <<EOF 1>&2 | 
 | 5244 |  | 
 | 5245 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
 | 5246 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
 | 5247 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
 | 5248 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
 | 5249 | *** your PATH or compiler configuration so that the native linker is | 
 | 5250 | *** used, and then restart. | 
 | 5251 |  | 
 | 5252 | EOF | 
 | 5253 |     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | 
 | 5254 |       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 5255 |       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 5256 |     else | 
 | 5257 |       ld_shlibs=no | 
 | 5258 |     fi | 
 | 5259 |     ;; | 
 | 5260 |  | 
 | 5261 |   sunos4*) | 
 | 5262 |     archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 5263 |     wlarc= | 
 | 5264 |     hardcode_direct=yes | 
 | 5265 |     hardcode_shlibpath_var=no | 
 | 5266 |     ;; | 
 | 5267 |  | 
 | 5268 |   *) | 
 | 5269 |     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | 
 | 5270 |       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 5271 |       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 5272 |     else | 
 | 5273 |       ld_shlibs=no | 
 | 5274 |     fi | 
 | 5275 |     ;; | 
 | 5276 |   esac | 
 | 5277 |  | 
 | 5278 |   if test "$ld_shlibs" = yes; then | 
 | 5279 |     runpath_var=LD_RUN_PATH | 
 | 5280 |     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' | 
 | 5281 |     export_dynamic_flag_spec='${wl}--export-dynamic' | 
 | 5282 |     case $host_os in | 
 | 5283 |     cygwin* | mingw* | pw32*) | 
 | 5284 |       # dlltool doesn't understand --whole-archive et. al. | 
 | 5285 |       whole_archive_flag_spec= | 
 | 5286 |       ;; | 
 | 5287 |     *) | 
 | 5288 |       # ancient GNU ld didn't support --whole-archive et. al. | 
 | 5289 |       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then | 
 | 5290 | 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
 | 5291 |       else | 
 | 5292 | 	whole_archive_flag_spec= | 
 | 5293 |       fi | 
 | 5294 |       ;; | 
 | 5295 |     esac | 
 | 5296 |   fi | 
 | 5297 | else | 
 | 5298 |   # PORTME fill in a description of your system's linker (not GNU ld) | 
 | 5299 |   case $host_os in | 
 | 5300 |   aix3*) | 
 | 5301 |     allow_undefined_flag=unsupported | 
 | 5302 |     always_export_symbols=yes | 
 | 5303 |     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' | 
 | 5304 |     # Note: this linker hardcodes the directories in LIBPATH if there | 
 | 5305 |     # are no directories specified by -L. | 
 | 5306 |     hardcode_minus_L=yes | 
 | 5307 |     if test "$GCC" = yes && test -z "$link_static_flag"; then | 
 | 5308 |       # Neither direct hardcoding nor static linking is supported with a | 
 | 5309 |       # broken collect2. | 
 | 5310 |       hardcode_direct=unsupported | 
 | 5311 |     fi | 
 | 5312 |     ;; | 
 | 5313 |  | 
 | 5314 |   aix4* | aix5*) | 
 | 5315 |     if test "$host_cpu" = ia64; then | 
 | 5316 |       # On IA64, the linker does run time linking by default, so we don't | 
 | 5317 |       # have to do anything special. | 
 | 5318 |       aix_use_runtimelinking=no | 
 | 5319 |       exp_sym_flag='-Bexport' | 
 | 5320 |       no_entry_flag="" | 
 | 5321 |     else | 
 | 5322 |       aix_use_runtimelinking=no | 
 | 5323 |  | 
 | 5324 |       # Test if we are trying to use run time linking or normal | 
 | 5325 |       # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
 | 5326 |       # need to do runtime linking. | 
 | 5327 |       case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
 | 5328 | 	for ld_flag in $LDFLAGS; do | 
 | 5329 | 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
 | 5330 | 	    aix_use_runtimelinking=yes | 
 | 5331 | 	    break | 
 | 5332 | 	  fi | 
 | 5333 | 	done | 
 | 5334 |       esac | 
 | 5335 |  | 
 | 5336 |       exp_sym_flag='-bexport' | 
 | 5337 |       no_entry_flag='-bnoentry' | 
 | 5338 |     fi | 
 | 5339 |  | 
 | 5340 |     # When large executables or shared objects are built, AIX ld can | 
 | 5341 |     # have problems creating the table of contents.  If linking a library | 
 | 5342 |     # or program results in "error TOC overflow" add -mminimal-toc to | 
 | 5343 |     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
 | 5344 |     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
 | 5345 |  | 
 | 5346 |     hardcode_direct=yes | 
 | 5347 |     archive_cmds='' | 
 | 5348 |     hardcode_libdir_separator=':' | 
 | 5349 |     if test "$GCC" = yes; then | 
 | 5350 |       case $host_os in aix4.[012]|aix4.[012].*) | 
 | 5351 | 	collect2name=`${CC} -print-prog-name=collect2` | 
 | 5352 | 	if test -f "$collect2name" && \ | 
 | 5353 | 	  strings "$collect2name" | grep resolve_lib_name >/dev/null | 
 | 5354 | 	then | 
 | 5355 | 	  # We have reworked collect2 | 
 | 5356 | 	  hardcode_direct=yes | 
 | 5357 | 	else | 
 | 5358 | 	  # We have old collect2 | 
 | 5359 | 	  hardcode_direct=unsupported | 
 | 5360 | 	  # It fails to find uninstalled libraries when the uninstalled | 
 | 5361 | 	  # path is not listed in the libpath.  Setting hardcode_minus_L | 
 | 5362 | 	  # to unsupported forces relinking | 
 | 5363 | 	  hardcode_minus_L=yes | 
 | 5364 | 	  hardcode_libdir_flag_spec='-L$libdir' | 
 | 5365 | 	  hardcode_libdir_separator= | 
 | 5366 | 	fi | 
 | 5367 |       esac | 
 | 5368 |  | 
 | 5369 |       shared_flag='-shared' | 
 | 5370 |     else | 
 | 5371 |       # not using gcc | 
 | 5372 |       if test "$host_cpu" = ia64; then | 
 | 5373 | 	shared_flag='${wl}-G' | 
 | 5374 |       else | 
 | 5375 | 	if test "$aix_use_runtimelinking" = yes; then | 
 | 5376 | 	  shared_flag='${wl}-G' | 
 | 5377 | 	else | 
 | 5378 | 	  shared_flag='${wl}-bM:SRE' | 
 | 5379 | 	fi | 
 | 5380 |       fi | 
 | 5381 |     fi | 
 | 5382 |  | 
 | 5383 |     # It seems that -bexpall can do strange things, so it is better to | 
 | 5384 |     # generate a list of symbols to export. | 
 | 5385 |     always_export_symbols=yes | 
 | 5386 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 5387 |       # Warning - without using the other runtime loading flags (-brtl), | 
 | 5388 |       # -berok will link without error, but may produce a broken library. | 
 | 5389 |       allow_undefined_flag='-berok' | 
 | 5390 |       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' | 
 | 5391 |       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" | 
 | 5392 |     else | 
 | 5393 |       if test "$host_cpu" = ia64; then | 
 | 5394 | 	hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | 
 | 5395 | 	allow_undefined_flag="-z nodefs" | 
 | 5396 | 	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 
 | 5397 |       else | 
 | 5398 | 	hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' | 
 | 5399 | 	# Warning - without using the other run time loading flags, | 
 | 5400 | 	# -berok will link without error, but may produce a broken library. | 
 | 5401 | 	allow_undefined_flag='${wl}-berok' | 
 | 5402 | 	# This is a bit strange, but is similar to how AIX traditionally builds | 
 | 5403 | 	# it's shared libraries. | 
 | 5404 | 	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' | 
 | 5405 |       fi | 
 | 5406 |     fi | 
 | 5407 |     ;; | 
 | 5408 |  | 
 | 5409 |   amigaos*) | 
 | 5410 |     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)' | 
 | 5411 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5412 |     hardcode_minus_L=yes | 
 | 5413 |     # see comment about different semantics on the GNU ld section | 
 | 5414 |     ld_shlibs=no | 
 | 5415 |     ;; | 
 | 5416 |  | 
 | 5417 |   cygwin* | mingw* | pw32*) | 
 | 5418 |     # When not using gcc, we currently assume that we are using | 
 | 5419 |     # Microsoft Visual C++. | 
 | 5420 |     # hardcode_libdir_flag_spec is actually meaningless, as there is | 
 | 5421 |     # no search path for DLLs. | 
 | 5422 |     hardcode_libdir_flag_spec=' ' | 
 | 5423 |     allow_undefined_flag=unsupported | 
 | 5424 |     # Tell ltmain to make .lib files, not .a files. | 
 | 5425 |     libext=lib | 
 | 5426 |     # FIXME: Setting linknames here is a bad hack. | 
 | 5427 |     archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
 | 5428 |     # The linker will automatically build a .lib file if we build a DLL. | 
 | 5429 |     old_archive_from_new_cmds='true' | 
 | 5430 |     # FIXME: Should let the user specify the lib program. | 
 | 5431 |     old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
 | 5432 |     fix_srcfile_path='`cygpath -w "$srcfile"`' | 
 | 5433 |     ;; | 
 | 5434 |  | 
 | 5435 |   darwin* | rhapsody*) | 
 | 5436 |     case "$host_os" in | 
 | 5437 |     rhapsody* | darwin1.[012]) | 
 | 5438 |       allow_undefined_flag='-undefined suppress' | 
 | 5439 |       ;; | 
 | 5440 |     *) # Darwin 1.3 on | 
 | 5441 |       allow_undefined_flag='-flat_namespace -undefined suppress' | 
 | 5442 |       ;; | 
 | 5443 |     esac | 
 | 5444 |     # FIXME: Relying on posixy $() will cause problems for | 
 | 5445 |     #        cross-compilation, but unfortunately the echo tests do not | 
 | 5446 |     #        yet detect zsh echo's removal of \ escapes. | 
 | 5447 |     archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' | 
 | 5448 |     # We need to add '_' to the symbols in $export_symbols first | 
 | 5449 |     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' | 
 | 5450 |     hardcode_direct=yes | 
 | 5451 |     hardcode_shlibpath_var=no | 
 | 5452 |     whole_archive_flag_spec='-all_load $convenience' | 
 | 5453 |     ;; | 
 | 5454 |  | 
 | 5455 |   freebsd1*) | 
 | 5456 |     ld_shlibs=no | 
 | 5457 |     ;; | 
 | 5458 |  | 
 | 5459 |   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
 | 5460 |   # support.  Future versions do this automatically, but an explicit c++rt0.o | 
 | 5461 |   # does not break anything, and helps significantly (at the cost of a little | 
 | 5462 |   # extra space). | 
 | 5463 |   freebsd2.2*) | 
 | 5464 |     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
 | 5465 |     hardcode_libdir_flag_spec='-R$libdir' | 
 | 5466 |     hardcode_direct=yes | 
 | 5467 |     hardcode_shlibpath_var=no | 
 | 5468 |     ;; | 
 | 5469 |  | 
 | 5470 |   # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
 | 5471 |   freebsd2*) | 
 | 5472 |     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 5473 |     hardcode_direct=yes | 
 | 5474 |     hardcode_minus_L=yes | 
 | 5475 |     hardcode_shlibpath_var=no | 
 | 5476 |     ;; | 
 | 5477 |  | 
 | 5478 |   # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
 | 5479 |   freebsd*) | 
 | 5480 |     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
 | 5481 |     hardcode_libdir_flag_spec='-R$libdir' | 
 | 5482 |     hardcode_direct=yes | 
 | 5483 |     hardcode_shlibpath_var=no | 
 | 5484 |     ;; | 
 | 5485 |  | 
 | 5486 |   hpux9* | hpux10* | hpux11*) | 
 | 5487 |     case $host_os in | 
 | 5488 |     hpux9*) 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' ;; | 
 | 5489 |     *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; | 
 | 5490 |     esac | 
 | 5491 |     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
 | 5492 |     hardcode_libdir_separator=: | 
 | 5493 |     hardcode_direct=yes | 
 | 5494 |     hardcode_minus_L=yes # Not in the search PATH, but as the default | 
 | 5495 | 			 # location of the library. | 
 | 5496 |     export_dynamic_flag_spec='${wl}-E' | 
 | 5497 |     ;; | 
 | 5498 |  | 
 | 5499 |   irix5* | irix6*) | 
 | 5500 |     if test "$GCC" = yes; then | 
 | 5501 |       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' | 
 | 5502 |     else | 
 | 5503 |       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' | 
 | 5504 |     fi | 
 | 5505 |     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 5506 |     hardcode_libdir_separator=: | 
 | 5507 |     link_all_deplibs=yes | 
 | 5508 |     ;; | 
 | 5509 |  | 
 | 5510 |   netbsd*) | 
 | 5511 |     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 5512 |       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
 | 5513 |     else | 
 | 5514 |       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
 | 5515 |     fi | 
 | 5516 |     hardcode_libdir_flag_spec='-R$libdir' | 
 | 5517 |     hardcode_direct=yes | 
 | 5518 |     hardcode_shlibpath_var=no | 
 | 5519 |     ;; | 
 | 5520 |  | 
 | 5521 |   newsos6) | 
 | 5522 |     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5523 |     hardcode_direct=yes | 
 | 5524 |     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 5525 |     hardcode_libdir_separator=: | 
 | 5526 |     hardcode_shlibpath_var=no | 
 | 5527 |     ;; | 
 | 5528 |  | 
 | 5529 |   openbsd*) | 
 | 5530 |     hardcode_direct=yes | 
 | 5531 |     hardcode_shlibpath_var=no | 
 | 5532 |     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 5533 |       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' | 
 | 5534 |       hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
 | 5535 |       export_dynamic_flag_spec='${wl}-E' | 
 | 5536 |     else | 
 | 5537 |       case "$host_os" in | 
 | 5538 |       openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
 | 5539 | 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 5540 | 	hardcode_libdir_flag_spec='-R$libdir' | 
 | 5541 |         ;; | 
 | 5542 |       *) | 
 | 5543 |         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' | 
 | 5544 |         hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
 | 5545 |         ;; | 
 | 5546 |       esac | 
 | 5547 |     fi | 
 | 5548 |     ;; | 
 | 5549 |  | 
 | 5550 |   os2*) | 
 | 5551 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5552 |     hardcode_minus_L=yes | 
 | 5553 |     allow_undefined_flag=unsupported | 
 | 5554 |     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' | 
 | 5555 |     old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
 | 5556 |     ;; | 
 | 5557 |  | 
 | 5558 |   osf3*) | 
 | 5559 |     if test "$GCC" = yes; then | 
 | 5560 |       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
 | 5561 |       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' | 
 | 5562 |     else | 
 | 5563 |       allow_undefined_flag=' -expect_unresolved \*' | 
 | 5564 |       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' | 
 | 5565 |     fi | 
 | 5566 |     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 5567 |     hardcode_libdir_separator=: | 
 | 5568 |     ;; | 
 | 5569 |  | 
 | 5570 |   osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
 | 5571 |     if test "$GCC" = yes; then | 
 | 5572 |       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
 | 5573 |       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' | 
 | 5574 |       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 5575 |     else | 
 | 5576 |       allow_undefined_flag=' -expect_unresolved \*' | 
 | 5577 |       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' | 
 | 5578 |       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 
 | 5579 |       $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' | 
 | 5580 |  | 
 | 5581 |       #Both c and cxx compiler support -rpath directly | 
 | 5582 |       hardcode_libdir_flag_spec='-rpath $libdir' | 
 | 5583 |     fi | 
 | 5584 |     hardcode_libdir_separator=: | 
 | 5585 |     ;; | 
 | 5586 |  | 
 | 5587 |   sco3.2v5*) | 
 | 5588 |     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5589 |     hardcode_shlibpath_var=no | 
 | 5590 |     runpath_var=LD_RUN_PATH | 
 | 5591 |     hardcode_runpath_var=yes | 
 | 5592 |     export_dynamic_flag_spec='${wl}-Bexport' | 
 | 5593 |     ;; | 
 | 5594 |  | 
 | 5595 |   solaris*) | 
 | 5596 |     # gcc --version < 3.0 without binutils cannot create self contained | 
 | 5597 |     # shared libraries reliably, requiring libgcc.a to resolve some of | 
 | 5598 |     # the object symbols generated in some cases.  Libraries that use | 
 | 5599 |     # assert need libgcc.a to resolve __eprintf, for example.  Linking | 
 | 5600 |     # a copy of libgcc.a into every shared library to guarantee resolving | 
 | 5601 |     # such symbols causes other problems:  According to Tim Van Holder | 
 | 5602 |     # <tim.van.holder@pandora.be>, C++ libraries end up with a separate | 
 | 5603 |     # (to the application) exception stack for one thing. | 
 | 5604 |     no_undefined_flag=' -z defs' | 
 | 5605 |     if test "$GCC" = yes; then | 
 | 5606 |       case `$CC --version 2>/dev/null` in | 
 | 5607 |       [12].*) | 
 | 5608 | 	cat <<EOF 1>&2 | 
 | 5609 |  | 
 | 5610 | *** Warning: Releases of GCC earlier than version 3.0 cannot reliably | 
 | 5611 | *** create self contained shared libraries on Solaris systems, without | 
 | 5612 | *** introducing a dependency on libgcc.a.  Therefore, libtool is disabling | 
 | 5613 | *** -no-undefined support, which will at least allow you to build shared | 
 | 5614 | *** libraries.  However, you may find that when you link such libraries | 
 | 5615 | *** into an application without using GCC, you have to manually add | 
 | 5616 | *** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to | 
 | 5617 | *** upgrade to a newer version of GCC.  Another option is to rebuild your | 
 | 5618 | *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. | 
 | 5619 |  | 
 | 5620 | EOF | 
 | 5621 |         no_undefined_flag= | 
 | 5622 | 	;; | 
 | 5623 |       esac | 
 | 5624 |     fi | 
 | 5625 |     # $CC -shared without GNU ld will not create a library from C++ | 
 | 5626 |     # object files and a static libstdc++, better avoid it by now | 
 | 5627 |     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5628 |     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 5629 | 		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 5630 |     hardcode_libdir_flag_spec='-R$libdir' | 
 | 5631 |     hardcode_shlibpath_var=no | 
 | 5632 |     case $host_os in | 
 | 5633 |     solaris2.[0-5] | solaris2.[0-5].*) ;; | 
 | 5634 |     *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
 | 5635 |       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; | 
 | 5636 |     esac | 
 | 5637 |     link_all_deplibs=yes | 
 | 5638 |     ;; | 
 | 5639 |  | 
 | 5640 |   sunos4*) | 
 | 5641 |     if test "x$host_vendor" = xsequent; then | 
 | 5642 |       # Use $CC to link under sequent, because it throws in some extra .o | 
 | 5643 |       # files that make .init and .fini sections work. | 
 | 5644 |       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 5645 |     else | 
 | 5646 |       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
 | 5647 |     fi | 
 | 5648 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5649 |     hardcode_direct=yes | 
 | 5650 |     hardcode_minus_L=yes | 
 | 5651 |     hardcode_shlibpath_var=no | 
 | 5652 |     ;; | 
 | 5653 |  | 
 | 5654 |   sysv4) | 
 | 5655 |     if test "x$host_vendor" = xsno; then | 
 | 5656 |       archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5657 |       hardcode_direct=yes # is this really true??? | 
 | 5658 |     else | 
 | 5659 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5660 |       hardcode_direct=no #Motorola manual says yes, but my tests say they lie | 
 | 5661 |     fi | 
 | 5662 |     runpath_var='LD_RUN_PATH' | 
 | 5663 |     hardcode_shlibpath_var=no | 
 | 5664 |     ;; | 
 | 5665 |  | 
 | 5666 |   sysv4.3*) | 
 | 5667 |     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5668 |     hardcode_shlibpath_var=no | 
 | 5669 |     export_dynamic_flag_spec='-Bexport' | 
 | 5670 |     ;; | 
 | 5671 |  | 
 | 5672 |   sysv5*) | 
 | 5673 |     no_undefined_flag=' -z text' | 
 | 5674 |     # $CC -shared without GNU ld will not create a library from C++ | 
 | 5675 |     # object files and a static libstdc++, better avoid it by now | 
 | 5676 |     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5677 |     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 5678 | 		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 5679 |     hardcode_libdir_flag_spec= | 
 | 5680 |     hardcode_shlibpath_var=no | 
 | 5681 |     runpath_var='LD_RUN_PATH' | 
 | 5682 |     ;; | 
 | 5683 |  | 
 | 5684 |   uts4*) | 
 | 5685 |     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5686 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5687 |     hardcode_shlibpath_var=no | 
 | 5688 |     ;; | 
 | 5689 |  | 
 | 5690 |   dgux*) | 
 | 5691 |     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5692 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5693 |     hardcode_shlibpath_var=no | 
 | 5694 |     ;; | 
 | 5695 |  | 
 | 5696 |   sysv4*MP*) | 
 | 5697 |     if test -d /usr/nec; then | 
 | 5698 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5699 |       hardcode_shlibpath_var=no | 
 | 5700 |       runpath_var=LD_RUN_PATH | 
 | 5701 |       hardcode_runpath_var=yes | 
 | 5702 |       ld_shlibs=yes | 
 | 5703 |     fi | 
 | 5704 |     ;; | 
 | 5705 |  | 
 | 5706 |   sysv4.2uw2*) | 
 | 5707 |     archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 5708 |     hardcode_direct=yes | 
 | 5709 |     hardcode_minus_L=no | 
 | 5710 |     hardcode_shlibpath_var=no | 
 | 5711 |     hardcode_runpath_var=yes | 
 | 5712 |     runpath_var=LD_RUN_PATH | 
 | 5713 |     ;; | 
 | 5714 |  | 
 | 5715 |   sysv5uw7* | unixware7*) | 
 | 5716 |     no_undefined_flag='${wl}-z ${wl}text' | 
 | 5717 |     if test "$GCC" = yes; then | 
 | 5718 |       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 5719 |     else | 
 | 5720 |       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 5721 |     fi | 
 | 5722 |     runpath_var='LD_RUN_PATH' | 
 | 5723 |     hardcode_shlibpath_var=no | 
 | 5724 |     ;; | 
 | 5725 |  | 
 | 5726 |   *) | 
 | 5727 |     ld_shlibs=no | 
 | 5728 |     ;; | 
 | 5729 |   esac | 
 | 5730 | fi | 
 | 5731 | echo "$as_me:$LINENO: result: $ld_shlibs" >&5 | 
 | 5732 | echo "${ECHO_T}$ld_shlibs" >&6 | 
 | 5733 | test "$ld_shlibs" = no && can_build_shared=no | 
 | 5734 | ## | 
 | 5735 | ## END FIXME | 
 | 5736 |  | 
 | 5737 | ## FIXME: this should be a separate macro | 
 | 5738 | ## | 
 | 5739 | # Check hardcoding attributes. | 
 | 5740 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
 | 5741 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
 | 5742 | hardcode_action= | 
 | 5743 | if test -n "$hardcode_libdir_flag_spec" || \ | 
 | 5744 |    test -n "$runpath_var"; then | 
 | 5745 |  | 
 | 5746 |   # We can hardcode non-existant directories. | 
 | 5747 |   if test "$hardcode_direct" != no && | 
 | 5748 |      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
 | 5749 |      # have to relink, otherwise we might link with an installed library | 
 | 5750 |      # when we should be linking with a yet-to-be-installed one | 
 | 5751 |      ## test "$hardcode_shlibpath_var" != no && | 
 | 5752 |      test "$hardcode_minus_L" != no; then | 
 | 5753 |     # Linking always hardcodes the temporary library directory. | 
 | 5754 |     hardcode_action=relink | 
 | 5755 |   else | 
 | 5756 |     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
 | 5757 |     hardcode_action=immediate | 
 | 5758 |   fi | 
 | 5759 | else | 
 | 5760 |   # We cannot hardcode anything, or else we can only hardcode existing | 
 | 5761 |   # directories. | 
 | 5762 |   hardcode_action=unsupported | 
 | 5763 | fi | 
 | 5764 | echo "$as_me:$LINENO: result: $hardcode_action" >&5 | 
 | 5765 | echo "${ECHO_T}$hardcode_action" >&6 | 
 | 5766 | ## | 
 | 5767 | ## END FIXME | 
 | 5768 |  | 
 | 5769 | ## FIXME: this should be a separate macro | 
 | 5770 | ## | 
 | 5771 | striplib= | 
 | 5772 | old_striplib= | 
 | 5773 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
 | 5774 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
 | 5775 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
 | 5776 |   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
 | 5777 |   test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
 | 5778 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 5779 | echo "${ECHO_T}yes" >&6 | 
 | 5780 | else | 
 | 5781 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5782 | echo "${ECHO_T}no" >&6 | 
 | 5783 | fi | 
 | 5784 | ## | 
 | 5785 | ## END FIXME | 
 | 5786 |  | 
 | 5787 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | 
 | 5788 | test -z "$deplibs_check_method" && deplibs_check_method=unknown | 
 | 5789 |  | 
 | 5790 | ## FIXME: this should be a separate macro | 
 | 5791 | ## | 
 | 5792 | # PORTME Fill in your ld.so characteristics | 
 | 5793 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
 | 5794 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
 | 5795 | library_names_spec= | 
 | 5796 | libname_spec='lib$name' | 
 | 5797 | soname_spec= | 
 | 5798 | postinstall_cmds= | 
 | 5799 | postuninstall_cmds= | 
 | 5800 | finish_cmds= | 
 | 5801 | finish_eval= | 
 | 5802 | shlibpath_var= | 
 | 5803 | shlibpath_overrides_runpath=unknown | 
 | 5804 | version_type=none | 
 | 5805 | dynamic_linker="$host_os ld.so" | 
 | 5806 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
 | 5807 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
 | 5808 |  | 
 | 5809 | case $host_os in | 
 | 5810 | aix3*) | 
 | 5811 |   version_type=linux | 
 | 5812 |   library_names_spec='${libname}${release}.so$versuffix $libname.a' | 
 | 5813 |   shlibpath_var=LIBPATH | 
 | 5814 |  | 
 | 5815 |   # AIX has no versioning support, so we append a major version to the name. | 
 | 5816 |   soname_spec='${libname}${release}.so$major' | 
 | 5817 |   ;; | 
 | 5818 |  | 
 | 5819 | aix4* | aix5*) | 
 | 5820 |   version_type=linux | 
 | 5821 |   if test "$host_cpu" = ia64; then | 
 | 5822 |     # AIX 5 supports IA64 | 
 | 5823 |     library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' | 
 | 5824 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 5825 |   else | 
 | 5826 |     # With GCC up to 2.95.x, collect2 would create an import file | 
 | 5827 |     # for dependence libraries.  The import file would start with | 
 | 5828 |     # the line `#! .'.  This would cause the generated library to | 
 | 5829 |     # depend on `.', always an invalid library.  This was fixed in | 
 | 5830 |     # development snapshots of GCC prior to 3.0. | 
 | 5831 |     case $host_os in | 
 | 5832 |       aix4 | aix4.[01] | aix4.[01].*) | 
 | 5833 | 	if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
 | 5834 | 	     echo ' yes ' | 
 | 5835 | 	     echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
 | 5836 | 	  : | 
 | 5837 | 	else | 
 | 5838 | 	  can_build_shared=no | 
 | 5839 | 	fi | 
 | 5840 | 	;; | 
 | 5841 |     esac | 
 | 5842 |     # AIX (on Power*) has no versioning support, so currently we can | 
 | 5843 |     # not hardcode correct soname into executable. Probably we can | 
 | 5844 |     # add versioning support to collect2, so additional links can | 
 | 5845 |     # be useful in future. | 
 | 5846 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 5847 |       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
 | 5848 |       # instead of lib<name>.a to let people know that these are not | 
 | 5849 |       # typical AIX shared libraries. | 
 | 5850 |       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 5851 |     else | 
 | 5852 |       # We preserve .a as extension for shared libraries through AIX4.2 | 
 | 5853 |       # and later when we are not doing run time linking. | 
 | 5854 |       library_names_spec='${libname}${release}.a $libname.a' | 
 | 5855 |       soname_spec='${libname}${release}.so$major' | 
 | 5856 |     fi | 
 | 5857 |     shlibpath_var=LIBPATH | 
 | 5858 |   fi | 
 | 5859 |   ;; | 
 | 5860 |  | 
 | 5861 | amigaos*) | 
 | 5862 |   library_names_spec='$libname.ixlibrary $libname.a' | 
 | 5863 |   # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
 | 5864 |   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' | 
 | 5865 |   ;; | 
 | 5866 |  | 
 | 5867 | beos*) | 
 | 5868 |   library_names_spec='${libname}.so' | 
 | 5869 |   dynamic_linker="$host_os ld.so" | 
 | 5870 |   shlibpath_var=LIBRARY_PATH | 
 | 5871 |   ;; | 
 | 5872 |  | 
 | 5873 | bsdi4*) | 
 | 5874 |   version_type=linux | 
 | 5875 |   need_version=no | 
 | 5876 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 5877 |   soname_spec='${libname}${release}.so$major' | 
 | 5878 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
 | 5879 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 5880 |   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
 | 5881 |   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
 | 5882 |   export_dynamic_flag_spec=-rdynamic | 
 | 5883 |   # the default ld.so.conf also contains /usr/contrib/lib and | 
 | 5884 |   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
 | 5885 |   # libtool to hard-code these into programs | 
 | 5886 |   ;; | 
 | 5887 |  | 
 | 5888 | cygwin* | mingw* | pw32*) | 
 | 5889 |   version_type=windows | 
 | 5890 |   need_version=no | 
 | 5891 |   need_lib_prefix=no | 
 | 5892 |   case $GCC,$host_os in | 
 | 5893 |   yes,cygwin*) | 
 | 5894 |     library_names_spec='$libname.dll.a' | 
 | 5895 |     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' | 
 | 5896 |     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ | 
 | 5897 |       dldir=$destdir/`dirname \$dlpath`~ | 
 | 5898 |       test -d \$dldir || mkdir -p \$dldir~ | 
 | 5899 |       $install_prog .libs/$dlname \$dldir/$dlname' | 
 | 5900 |     postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
 | 5901 |       dlpath=$dir/\$dldll~ | 
 | 5902 |        $rm \$dlpath' | 
 | 5903 |     ;; | 
 | 5904 |   yes,mingw*) | 
 | 5905 |     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' | 
 | 5906 |     sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` | 
 | 5907 |     ;; | 
 | 5908 |   yes,pw32*) | 
 | 5909 |     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' | 
 | 5910 |     ;; | 
 | 5911 |   *) | 
 | 5912 |     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' | 
 | 5913 |     ;; | 
 | 5914 |   esac | 
 | 5915 |   dynamic_linker='Win32 ld.exe' | 
 | 5916 |   # FIXME: first we should search . and the directory the executable is in | 
 | 5917 |   shlibpath_var=PATH | 
 | 5918 |   ;; | 
 | 5919 |  | 
 | 5920 | darwin* | rhapsody*) | 
 | 5921 |   dynamic_linker="$host_os dyld" | 
 | 5922 |   version_type=darwin | 
 | 5923 |   need_lib_prefix=no | 
 | 5924 |   need_version=no | 
 | 5925 |   # FIXME: Relying on posixy $() will cause problems for | 
 | 5926 |   #        cross-compilation, but unfortunately the echo tests do not | 
 | 5927 |   #        yet detect zsh echo's removal of \ escapes. | 
 | 5928 |   library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' | 
 | 5929 |   soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' | 
 | 5930 |   shlibpath_overrides_runpath=yes | 
 | 5931 |   shlibpath_var=DYLD_LIBRARY_PATH | 
 | 5932 |   ;; | 
 | 5933 |  | 
 | 5934 | freebsd1*) | 
 | 5935 |   dynamic_linker=no | 
 | 5936 |   ;; | 
 | 5937 |  | 
 | 5938 | freebsd*) | 
 | 5939 |   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
 | 5940 |   version_type=freebsd-$objformat | 
 | 5941 |   case $version_type in | 
 | 5942 |     freebsd-elf*) | 
 | 5943 |       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' | 
 | 5944 |       need_version=no | 
 | 5945 |       need_lib_prefix=no | 
 | 5946 |       ;; | 
 | 5947 |     freebsd-*) | 
 | 5948 |       library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' | 
 | 5949 |       need_version=yes | 
 | 5950 |       ;; | 
 | 5951 |   esac | 
 | 5952 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 5953 |   case $host_os in | 
 | 5954 |   freebsd2*) | 
 | 5955 |     shlibpath_overrides_runpath=yes | 
 | 5956 |     ;; | 
 | 5957 |   *) | 
 | 5958 |     shlibpath_overrides_runpath=no | 
 | 5959 |     hardcode_into_libs=yes | 
 | 5960 |     ;; | 
 | 5961 |   esac | 
 | 5962 |   ;; | 
 | 5963 |  | 
 | 5964 | gnu*) | 
 | 5965 |   version_type=linux | 
 | 5966 |   need_lib_prefix=no | 
 | 5967 |   need_version=no | 
 | 5968 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' | 
 | 5969 |   soname_spec='${libname}${release}.so$major' | 
 | 5970 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 5971 |   hardcode_into_libs=yes | 
 | 5972 |   ;; | 
 | 5973 |  | 
 | 5974 | hpux9* | hpux10* | hpux11*) | 
 | 5975 |   # Give a soname corresponding to the major version so that dld.sl refuses to | 
 | 5976 |   # link against other versions. | 
 | 5977 |   dynamic_linker="$host_os dld.sl" | 
 | 5978 |   version_type=sunos | 
 | 5979 |   need_lib_prefix=no | 
 | 5980 |   need_version=no | 
 | 5981 |   shlibpath_var=SHLIB_PATH | 
 | 5982 |   shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
 | 5983 |   library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' | 
 | 5984 |   soname_spec='${libname}${release}.sl$major' | 
 | 5985 |   # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
 | 5986 |   postinstall_cmds='chmod 555 $lib' | 
 | 5987 |   ;; | 
 | 5988 |  | 
 | 5989 | irix5* | irix6*) | 
 | 5990 |   version_type=irix | 
 | 5991 |   need_lib_prefix=no | 
 | 5992 |   need_version=no | 
 | 5993 |   soname_spec='${libname}${release}.so$major' | 
 | 5994 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' | 
 | 5995 |   case $host_os in | 
 | 5996 |   irix5*) | 
 | 5997 |     libsuff= shlibsuff= | 
 | 5998 |     ;; | 
 | 5999 |   *) | 
 | 6000 |     case $LD in # libtool.m4 will add one of these switches to LD | 
 | 6001 |     *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; | 
 | 6002 |     *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; | 
 | 6003 |     *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
 | 6004 |     *) libsuff= shlibsuff= libmagic=never-match;; | 
 | 6005 |     esac | 
 | 6006 |     ;; | 
 | 6007 |   esac | 
 | 6008 |   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
 | 6009 |   shlibpath_overrides_runpath=no | 
 | 6010 |   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
 | 6011 |   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
 | 6012 |   ;; | 
 | 6013 |  | 
 | 6014 | # No shared lib support for Linux oldld, aout, or coff. | 
 | 6015 | linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) | 
 | 6016 |   dynamic_linker=no | 
 | 6017 |   ;; | 
 | 6018 |  | 
 | 6019 | # This must be Linux ELF. | 
 | 6020 | linux-gnu*) | 
 | 6021 |   version_type=linux | 
 | 6022 |   need_lib_prefix=no | 
 | 6023 |   need_version=no | 
 | 6024 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6025 |   soname_spec='${libname}${release}.so$major' | 
 | 6026 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
 | 6027 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6028 |   shlibpath_overrides_runpath=no | 
 | 6029 |   # This implies no fast_install, which is unacceptable. | 
 | 6030 |   # Some rework will be needed to allow for fast_install | 
 | 6031 |   # before this can be enabled. | 
 | 6032 |   hardcode_into_libs=yes | 
 | 6033 |  | 
 | 6034 |   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
 | 6035 |   # powerpc, because MkLinux only supported shared libraries with the | 
 | 6036 |   # GNU dynamic linker.  Since this was broken with cross compilers, | 
 | 6037 |   # most powerpc-linux boxes support dynamic linking these days and | 
 | 6038 |   # people can always --disable-shared, the test was removed, and we | 
 | 6039 |   # assume the GNU/Linux dynamic linker is in use. | 
 | 6040 |   dynamic_linker='GNU/Linux ld.so' | 
 | 6041 |   ;; | 
 | 6042 |  | 
 | 6043 | netbsd*) | 
 | 6044 |   version_type=sunos | 
 | 6045 |   need_lib_prefix=no | 
 | 6046 |   need_version=no | 
 | 6047 |   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 6048 |     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' | 
 | 6049 |     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 6050 |     dynamic_linker='NetBSD (a.out) ld.so' | 
 | 6051 |   else | 
 | 6052 |     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' | 
 | 6053 |     soname_spec='${libname}${release}.so$major' | 
 | 6054 |     dynamic_linker='NetBSD ld.elf_so' | 
 | 6055 |   fi | 
 | 6056 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6057 |   shlibpath_overrides_runpath=yes | 
 | 6058 |   hardcode_into_libs=yes | 
 | 6059 |   ;; | 
 | 6060 |  | 
 | 6061 | newsos6) | 
 | 6062 |   version_type=linux | 
 | 6063 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6064 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6065 |   shlibpath_overrides_runpath=yes | 
 | 6066 |   ;; | 
 | 6067 |  | 
 | 6068 | openbsd*) | 
 | 6069 |   version_type=sunos | 
 | 6070 |   need_lib_prefix=no | 
 | 6071 |   need_version=no | 
 | 6072 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 6073 |     case "$host_os" in | 
 | 6074 |     openbsd2.[89] | openbsd2.[89].*) | 
 | 6075 |       shlibpath_overrides_runpath=no | 
 | 6076 |       ;; | 
 | 6077 |     *) | 
 | 6078 |       shlibpath_overrides_runpath=yes | 
 | 6079 |       ;; | 
 | 6080 |     esac | 
 | 6081 |   else | 
 | 6082 |     shlibpath_overrides_runpath=yes | 
 | 6083 |   fi | 
 | 6084 |   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' | 
 | 6085 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 6086 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6087 |   ;; | 
 | 6088 |  | 
 | 6089 | os2*) | 
 | 6090 |   libname_spec='$name' | 
 | 6091 |   need_lib_prefix=no | 
 | 6092 |   library_names_spec='$libname.dll $libname.a' | 
 | 6093 |   dynamic_linker='OS/2 ld.exe' | 
 | 6094 |   shlibpath_var=LIBPATH | 
 | 6095 |   ;; | 
 | 6096 |  | 
 | 6097 | osf3* | osf4* | osf5*) | 
 | 6098 |   version_type=osf | 
 | 6099 |   need_version=no | 
 | 6100 |   soname_spec='${libname}${release}.so' | 
 | 6101 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' | 
 | 6102 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6103 |   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
 | 6104 |   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
 | 6105 |   ;; | 
 | 6106 |  | 
 | 6107 | sco3.2v5*) | 
 | 6108 |   version_type=osf | 
 | 6109 |   soname_spec='${libname}${release}.so$major' | 
 | 6110 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6111 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6112 |   ;; | 
 | 6113 |  | 
 | 6114 | solaris*) | 
 | 6115 |   version_type=linux | 
 | 6116 |   need_lib_prefix=no | 
 | 6117 |   need_version=no | 
 | 6118 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6119 |   soname_spec='${libname}${release}.so$major' | 
 | 6120 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6121 |   shlibpath_overrides_runpath=yes | 
 | 6122 |   hardcode_into_libs=yes | 
 | 6123 |   # ldd complains unless libraries are executable | 
 | 6124 |   postinstall_cmds='chmod +x $lib' | 
 | 6125 |   ;; | 
 | 6126 |  | 
 | 6127 | sunos4*) | 
 | 6128 |   version_type=sunos | 
 | 6129 |   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' | 
 | 6130 |   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
 | 6131 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6132 |   shlibpath_overrides_runpath=yes | 
 | 6133 |   if test "$with_gnu_ld" = yes; then | 
 | 6134 |     need_lib_prefix=no | 
 | 6135 |   fi | 
 | 6136 |   need_version=yes | 
 | 6137 |   ;; | 
 | 6138 |  | 
 | 6139 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 6140 |   version_type=linux | 
 | 6141 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6142 |   soname_spec='${libname}${release}.so$major' | 
 | 6143 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6144 |   case $host_vendor in | 
 | 6145 |     sni) | 
 | 6146 |       shlibpath_overrides_runpath=no | 
 | 6147 |       ;; | 
 | 6148 |     motorola) | 
 | 6149 |       need_lib_prefix=no | 
 | 6150 |       need_version=no | 
 | 6151 |       shlibpath_overrides_runpath=no | 
 | 6152 |       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
 | 6153 |       ;; | 
 | 6154 |   esac | 
 | 6155 |   ;; | 
 | 6156 |  | 
 | 6157 | uts4*) | 
 | 6158 |   version_type=linux | 
 | 6159 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6160 |   soname_spec='${libname}${release}.so$major' | 
 | 6161 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6162 |   ;; | 
 | 6163 |  | 
 | 6164 | dgux*) | 
 | 6165 |   version_type=linux | 
 | 6166 |   need_lib_prefix=no | 
 | 6167 |   need_version=no | 
 | 6168 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6169 |   soname_spec='${libname}${release}.so$major' | 
 | 6170 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6171 |   ;; | 
 | 6172 |  | 
 | 6173 | sysv4*MP*) | 
 | 6174 |   if test -d /usr/nec ;then | 
 | 6175 |     version_type=linux | 
 | 6176 |     library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' | 
 | 6177 |     soname_spec='$libname.so.$major' | 
 | 6178 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 6179 |   fi | 
 | 6180 |   ;; | 
 | 6181 |  | 
 | 6182 | *) | 
 | 6183 |   dynamic_linker=no | 
 | 6184 |   ;; | 
 | 6185 | esac | 
 | 6186 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
 | 6187 | echo "${ECHO_T}$dynamic_linker" >&6 | 
 | 6188 | test "$dynamic_linker" = no && can_build_shared=no | 
 | 6189 | ## | 
 | 6190 | ## END FIXME | 
 | 6191 |  | 
 | 6192 | ## FIXME: this should be a separate macro | 
 | 6193 | ## | 
 | 6194 | # Report the final consequences. | 
 | 6195 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 | 
 | 6196 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | 
 | 6197 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 | 
 | 6198 | echo "${ECHO_T}$can_build_shared" >&6 | 
 | 6199 | ## | 
 | 6200 | ## END FIXME | 
 | 6201 |  | 
 | 6202 | ## FIXME: this should be a separate macro | 
 | 6203 | ## | 
 | 6204 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 | 
 | 6205 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 | 
 | 6206 | test "$can_build_shared" = "no" && enable_shared=no | 
 | 6207 |  | 
 | 6208 | # On AIX, shared libraries and static libraries use the same namespace, and | 
 | 6209 | # are all built from PIC. | 
 | 6210 | case "$host_os" in | 
 | 6211 | aix3*) | 
 | 6212 |   test "$enable_shared" = yes && enable_static=no | 
 | 6213 |   if test -n "$RANLIB"; then | 
 | 6214 |     archive_cmds="$archive_cmds~\$RANLIB \$lib" | 
 | 6215 |     postinstall_cmds='$RANLIB $lib' | 
 | 6216 |   fi | 
 | 6217 |   ;; | 
 | 6218 |  | 
 | 6219 | aix4*) | 
 | 6220 |   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | 
 | 6221 |     test "$enable_shared" = yes && enable_static=no | 
 | 6222 |   fi | 
 | 6223 |   ;; | 
 | 6224 | esac | 
 | 6225 | echo "$as_me:$LINENO: result: $enable_shared" >&5 | 
 | 6226 | echo "${ECHO_T}$enable_shared" >&6 | 
 | 6227 | ## | 
 | 6228 | ## END FIXME | 
 | 6229 |  | 
 | 6230 | ## FIXME: this should be a separate macro | 
 | 6231 | ## | 
 | 6232 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 | 
 | 6233 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 | 
 | 6234 | # Make sure either enable_shared or enable_static is yes. | 
 | 6235 | test "$enable_shared" = yes || enable_static=yes | 
 | 6236 | echo "$as_me:$LINENO: result: $enable_static" >&5 | 
 | 6237 | echo "${ECHO_T}$enable_static" >&6 | 
 | 6238 | ## | 
 | 6239 | ## END FIXME | 
 | 6240 |  | 
 | 6241 | if test "$hardcode_action" = relink; then | 
 | 6242 |   # Fast installation is not supported | 
 | 6243 |   enable_fast_install=no | 
 | 6244 | elif test "$shlibpath_overrides_runpath" = yes || | 
 | 6245 |      test "$enable_shared" = no; then | 
 | 6246 |   # Fast installation is not necessary | 
 | 6247 |   enable_fast_install=needless | 
 | 6248 | fi | 
 | 6249 |  | 
 | 6250 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
 | 6251 | if test "$GCC" = yes; then | 
 | 6252 |   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
 | 6253 | fi | 
 | 6254 |  | 
 | 6255 | if test "x$enable_dlopen" != xyes; then | 
 | 6256 |   enable_dlopen=unknown | 
 | 6257 |   enable_dlopen_self=unknown | 
 | 6258 |   enable_dlopen_self_static=unknown | 
 | 6259 | else | 
 | 6260 |   lt_cv_dlopen=no | 
 | 6261 |   lt_cv_dlopen_libs= | 
 | 6262 |  | 
 | 6263 |   case $host_os in | 
 | 6264 |   beos*) | 
 | 6265 |     lt_cv_dlopen="load_add_on" | 
 | 6266 |     lt_cv_dlopen_libs= | 
 | 6267 |     lt_cv_dlopen_self=yes | 
 | 6268 |     ;; | 
 | 6269 |  | 
 | 6270 |   cygwin* | mingw* | pw32*) | 
 | 6271 |     lt_cv_dlopen="LoadLibrary" | 
 | 6272 |     lt_cv_dlopen_libs= | 
 | 6273 |    ;; | 
 | 6274 |  | 
 | 6275 |   *) | 
 | 6276 |     echo "$as_me:$LINENO: checking for shl_load" >&5 | 
 | 6277 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
 | 6278 | if test "${ac_cv_func_shl_load+set}" = set; then | 
 | 6279 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6280 | else | 
 | 6281 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 6282 | #line $LINENO "configure" | 
 | 6283 | #include "confdefs.h" | 
 | 6284 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 6285 |     which can conflict with char shl_load (); below.  */ | 
 | 6286 | #include <assert.h> | 
 | 6287 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6288 | #ifdef __cplusplus | 
 | 6289 | extern "C" | 
 | 6290 | #endif | 
 | 6291 | /* We use char because int might match the return type of a gcc2 | 
 | 6292 |    builtin and then its argument prototype would still apply.  */ | 
 | 6293 | char shl_load (); | 
 | 6294 | char (*f) (); | 
 | 6295 |  | 
 | 6296 | #ifdef F77_DUMMY_MAIN | 
 | 6297 | #  ifdef __cplusplus | 
 | 6298 |      extern "C" | 
 | 6299 | #  endif | 
 | 6300 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6301 | #endif | 
 | 6302 | int | 
 | 6303 | main () | 
 | 6304 | { | 
 | 6305 | /* The GNU C library defines this for functions which it implements | 
 | 6306 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 6307 |     something starting with __ and the normal name is an alias.  */ | 
 | 6308 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
 | 6309 | choke me | 
 | 6310 | #else | 
 | 6311 | f = shl_load; | 
 | 6312 | #endif | 
 | 6313 |  | 
 | 6314 |   ; | 
 | 6315 |   return 0; | 
 | 6316 | } | 
 | 6317 | _ACEOF | 
 | 6318 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6319 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6320 |   (eval $ac_link) 2>&5 | 
 | 6321 |   ac_status=$? | 
 | 6322 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6323 |   (exit $ac_status); } && | 
 | 6324 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6325 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6326 |   (eval $ac_try) 2>&5 | 
 | 6327 |   ac_status=$? | 
 | 6328 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6329 |   (exit $ac_status); }; }; then | 
 | 6330 |   ac_cv_func_shl_load=yes | 
 | 6331 | else | 
 | 6332 |   echo "$as_me: failed program was:" >&5 | 
 | 6333 | cat conftest.$ac_ext >&5 | 
 | 6334 | ac_cv_func_shl_load=no | 
 | 6335 | fi | 
 | 6336 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6337 | fi | 
 | 6338 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 
 | 6339 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
 | 6340 | if test $ac_cv_func_shl_load = yes; then | 
 | 6341 |   lt_cv_dlopen="shl_load" | 
 | 6342 | else | 
 | 6343 |   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 
 | 6344 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
 | 6345 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
 | 6346 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6347 | else | 
 | 6348 |   ac_check_lib_save_LIBS=$LIBS | 
 | 6349 | LIBS="-ldld  $LIBS" | 
 | 6350 | cat >conftest.$ac_ext <<_ACEOF | 
 | 6351 | #line $LINENO "configure" | 
 | 6352 | #include "confdefs.h" | 
 | 6353 |  | 
 | 6354 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6355 | #ifdef __cplusplus | 
 | 6356 | extern "C" | 
 | 6357 | #endif | 
 | 6358 | /* We use char because int might match the return type of a gcc2 | 
 | 6359 |    builtin and then its argument prototype would still apply.  */ | 
 | 6360 | char shl_load (); | 
 | 6361 | #ifdef F77_DUMMY_MAIN | 
 | 6362 | #  ifdef __cplusplus | 
 | 6363 |      extern "C" | 
 | 6364 | #  endif | 
 | 6365 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6366 | #endif | 
 | 6367 | int | 
 | 6368 | main () | 
 | 6369 | { | 
 | 6370 | shl_load (); | 
 | 6371 |   ; | 
 | 6372 |   return 0; | 
 | 6373 | } | 
 | 6374 | _ACEOF | 
 | 6375 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6376 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6377 |   (eval $ac_link) 2>&5 | 
 | 6378 |   ac_status=$? | 
 | 6379 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6380 |   (exit $ac_status); } && | 
 | 6381 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6382 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6383 |   (eval $ac_try) 2>&5 | 
 | 6384 |   ac_status=$? | 
 | 6385 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6386 |   (exit $ac_status); }; }; then | 
 | 6387 |   ac_cv_lib_dld_shl_load=yes | 
 | 6388 | else | 
 | 6389 |   echo "$as_me: failed program was:" >&5 | 
 | 6390 | cat conftest.$ac_ext >&5 | 
 | 6391 | ac_cv_lib_dld_shl_load=no | 
 | 6392 | fi | 
 | 6393 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6394 | LIBS=$ac_check_lib_save_LIBS | 
 | 6395 | fi | 
 | 6396 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 
 | 6397 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
 | 6398 | if test $ac_cv_lib_dld_shl_load = yes; then | 
 | 6399 |   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 
 | 6400 | else | 
 | 6401 |   echo "$as_me:$LINENO: checking for dlopen" >&5 | 
 | 6402 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
 | 6403 | if test "${ac_cv_func_dlopen+set}" = set; then | 
 | 6404 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6405 | else | 
 | 6406 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 6407 | #line $LINENO "configure" | 
 | 6408 | #include "confdefs.h" | 
 | 6409 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 6410 |     which can conflict with char dlopen (); below.  */ | 
 | 6411 | #include <assert.h> | 
 | 6412 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6413 | #ifdef __cplusplus | 
 | 6414 | extern "C" | 
 | 6415 | #endif | 
 | 6416 | /* We use char because int might match the return type of a gcc2 | 
 | 6417 |    builtin and then its argument prototype would still apply.  */ | 
 | 6418 | char dlopen (); | 
 | 6419 | char (*f) (); | 
 | 6420 |  | 
 | 6421 | #ifdef F77_DUMMY_MAIN | 
 | 6422 | #  ifdef __cplusplus | 
 | 6423 |      extern "C" | 
 | 6424 | #  endif | 
 | 6425 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6426 | #endif | 
 | 6427 | int | 
 | 6428 | main () | 
 | 6429 | { | 
 | 6430 | /* The GNU C library defines this for functions which it implements | 
 | 6431 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 6432 |     something starting with __ and the normal name is an alias.  */ | 
 | 6433 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
 | 6434 | choke me | 
 | 6435 | #else | 
 | 6436 | f = dlopen; | 
 | 6437 | #endif | 
 | 6438 |  | 
 | 6439 |   ; | 
 | 6440 |   return 0; | 
 | 6441 | } | 
 | 6442 | _ACEOF | 
 | 6443 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6444 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6445 |   (eval $ac_link) 2>&5 | 
 | 6446 |   ac_status=$? | 
 | 6447 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6448 |   (exit $ac_status); } && | 
 | 6449 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6450 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6451 |   (eval $ac_try) 2>&5 | 
 | 6452 |   ac_status=$? | 
 | 6453 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6454 |   (exit $ac_status); }; }; then | 
 | 6455 |   ac_cv_func_dlopen=yes | 
 | 6456 | else | 
 | 6457 |   echo "$as_me: failed program was:" >&5 | 
 | 6458 | cat conftest.$ac_ext >&5 | 
 | 6459 | ac_cv_func_dlopen=no | 
 | 6460 | fi | 
 | 6461 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6462 | fi | 
 | 6463 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 
 | 6464 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
 | 6465 | if test $ac_cv_func_dlopen = yes; then | 
 | 6466 |   lt_cv_dlopen="dlopen" | 
 | 6467 | else | 
 | 6468 |   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 6469 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 6470 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 6471 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6472 | else | 
 | 6473 |   ac_check_lib_save_LIBS=$LIBS | 
 | 6474 | LIBS="-ldl  $LIBS" | 
 | 6475 | cat >conftest.$ac_ext <<_ACEOF | 
 | 6476 | #line $LINENO "configure" | 
 | 6477 | #include "confdefs.h" | 
 | 6478 |  | 
 | 6479 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6480 | #ifdef __cplusplus | 
 | 6481 | extern "C" | 
 | 6482 | #endif | 
 | 6483 | /* We use char because int might match the return type of a gcc2 | 
 | 6484 |    builtin and then its argument prototype would still apply.  */ | 
 | 6485 | char dlopen (); | 
 | 6486 | #ifdef F77_DUMMY_MAIN | 
 | 6487 | #  ifdef __cplusplus | 
 | 6488 |      extern "C" | 
 | 6489 | #  endif | 
 | 6490 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6491 | #endif | 
 | 6492 | int | 
 | 6493 | main () | 
 | 6494 | { | 
 | 6495 | dlopen (); | 
 | 6496 |   ; | 
 | 6497 |   return 0; | 
 | 6498 | } | 
 | 6499 | _ACEOF | 
 | 6500 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6501 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6502 |   (eval $ac_link) 2>&5 | 
 | 6503 |   ac_status=$? | 
 | 6504 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6505 |   (exit $ac_status); } && | 
 | 6506 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6507 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6508 |   (eval $ac_try) 2>&5 | 
 | 6509 |   ac_status=$? | 
 | 6510 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6511 |   (exit $ac_status); }; }; then | 
 | 6512 |   ac_cv_lib_dl_dlopen=yes | 
 | 6513 | else | 
 | 6514 |   echo "$as_me: failed program was:" >&5 | 
 | 6515 | cat conftest.$ac_ext >&5 | 
 | 6516 | ac_cv_lib_dl_dlopen=no | 
 | 6517 | fi | 
 | 6518 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6519 | LIBS=$ac_check_lib_save_LIBS | 
 | 6520 | fi | 
 | 6521 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 6522 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 6523 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 6524 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 6525 | else | 
 | 6526 |   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 
 | 6527 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
 | 6528 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
 | 6529 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6530 | else | 
 | 6531 |   ac_check_lib_save_LIBS=$LIBS | 
 | 6532 | LIBS="-lsvld  $LIBS" | 
 | 6533 | cat >conftest.$ac_ext <<_ACEOF | 
 | 6534 | #line $LINENO "configure" | 
 | 6535 | #include "confdefs.h" | 
 | 6536 |  | 
 | 6537 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6538 | #ifdef __cplusplus | 
 | 6539 | extern "C" | 
 | 6540 | #endif | 
 | 6541 | /* We use char because int might match the return type of a gcc2 | 
 | 6542 |    builtin and then its argument prototype would still apply.  */ | 
 | 6543 | char dlopen (); | 
 | 6544 | #ifdef F77_DUMMY_MAIN | 
 | 6545 | #  ifdef __cplusplus | 
 | 6546 |      extern "C" | 
 | 6547 | #  endif | 
 | 6548 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6549 | #endif | 
 | 6550 | int | 
 | 6551 | main () | 
 | 6552 | { | 
 | 6553 | dlopen (); | 
 | 6554 |   ; | 
 | 6555 |   return 0; | 
 | 6556 | } | 
 | 6557 | _ACEOF | 
 | 6558 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6559 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6560 |   (eval $ac_link) 2>&5 | 
 | 6561 |   ac_status=$? | 
 | 6562 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6563 |   (exit $ac_status); } && | 
 | 6564 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6565 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6566 |   (eval $ac_try) 2>&5 | 
 | 6567 |   ac_status=$? | 
 | 6568 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6569 |   (exit $ac_status); }; }; then | 
 | 6570 |   ac_cv_lib_svld_dlopen=yes | 
 | 6571 | else | 
 | 6572 |   echo "$as_me: failed program was:" >&5 | 
 | 6573 | cat conftest.$ac_ext >&5 | 
 | 6574 | ac_cv_lib_svld_dlopen=no | 
 | 6575 | fi | 
 | 6576 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6577 | LIBS=$ac_check_lib_save_LIBS | 
 | 6578 | fi | 
 | 6579 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 
 | 6580 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
 | 6581 | if test $ac_cv_lib_svld_dlopen = yes; then | 
 | 6582 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
 | 6583 | else | 
 | 6584 |   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 
 | 6585 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 
 | 6586 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 
 | 6587 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6588 | else | 
 | 6589 |   ac_check_lib_save_LIBS=$LIBS | 
 | 6590 | LIBS="-ldld  $LIBS" | 
 | 6591 | cat >conftest.$ac_ext <<_ACEOF | 
 | 6592 | #line $LINENO "configure" | 
 | 6593 | #include "confdefs.h" | 
 | 6594 |  | 
 | 6595 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6596 | #ifdef __cplusplus | 
 | 6597 | extern "C" | 
 | 6598 | #endif | 
 | 6599 | /* We use char because int might match the return type of a gcc2 | 
 | 6600 |    builtin and then its argument prototype would still apply.  */ | 
 | 6601 | char dld_link (); | 
 | 6602 | #ifdef F77_DUMMY_MAIN | 
 | 6603 | #  ifdef __cplusplus | 
 | 6604 |      extern "C" | 
 | 6605 | #  endif | 
 | 6606 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6607 | #endif | 
 | 6608 | int | 
 | 6609 | main () | 
 | 6610 | { | 
 | 6611 | dld_link (); | 
 | 6612 |   ; | 
 | 6613 |   return 0; | 
 | 6614 | } | 
 | 6615 | _ACEOF | 
 | 6616 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6617 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6618 |   (eval $ac_link) 2>&5 | 
 | 6619 |   ac_status=$? | 
 | 6620 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6621 |   (exit $ac_status); } && | 
 | 6622 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6623 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6624 |   (eval $ac_try) 2>&5 | 
 | 6625 |   ac_status=$? | 
 | 6626 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6627 |   (exit $ac_status); }; }; then | 
 | 6628 |   ac_cv_lib_dld_dld_link=yes | 
 | 6629 | else | 
 | 6630 |   echo "$as_me: failed program was:" >&5 | 
 | 6631 | cat conftest.$ac_ext >&5 | 
 | 6632 | ac_cv_lib_dld_dld_link=no | 
 | 6633 | fi | 
 | 6634 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6635 | LIBS=$ac_check_lib_save_LIBS | 
 | 6636 | fi | 
 | 6637 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 
 | 6638 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 
 | 6639 | if test $ac_cv_lib_dld_dld_link = yes; then | 
 | 6640 |   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
 | 6641 | fi | 
 | 6642 |  | 
 | 6643 |  | 
 | 6644 | fi | 
 | 6645 |  | 
 | 6646 |  | 
 | 6647 | fi | 
 | 6648 |  | 
 | 6649 |  | 
 | 6650 | fi | 
 | 6651 |  | 
 | 6652 |  | 
 | 6653 | fi | 
 | 6654 |  | 
 | 6655 |  | 
 | 6656 | fi | 
 | 6657 |  | 
 | 6658 |     ;; | 
 | 6659 |   esac | 
 | 6660 |  | 
 | 6661 |   if test "x$lt_cv_dlopen" != xno; then | 
 | 6662 |     enable_dlopen=yes | 
 | 6663 |   else | 
 | 6664 |     enable_dlopen=no | 
 | 6665 |   fi | 
 | 6666 |  | 
 | 6667 |   case $lt_cv_dlopen in | 
 | 6668 |   dlopen) | 
 | 6669 |     save_CPPFLAGS="$CPPFLAGS" | 
 | 6670 |         test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
 | 6671 |  | 
 | 6672 |     save_LDFLAGS="$LDFLAGS" | 
 | 6673 |     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
 | 6674 |  | 
 | 6675 |     save_LIBS="$LIBS" | 
 | 6676 |     LIBS="$lt_cv_dlopen_libs $LIBS" | 
 | 6677 |  | 
 | 6678 |     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 
 | 6679 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
 | 6680 | if test "${lt_cv_dlopen_self+set}" = set; then | 
 | 6681 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6682 | else | 
 | 6683 |   	  if test "$cross_compiling" = yes; then : | 
 | 6684 |   lt_cv_dlopen_self=cross | 
 | 6685 | else | 
 | 6686 |     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 6687 |   lt_status=$lt_dlunknown | 
 | 6688 |   cat > conftest.$ac_ext <<EOF | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame^] | 6689 | #line 6689 "configure" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6690 | #include "confdefs.h" | 
 | 6691 |  | 
 | 6692 | #if HAVE_DLFCN_H | 
 | 6693 | #include <dlfcn.h> | 
 | 6694 | #endif | 
 | 6695 |  | 
 | 6696 | #include <stdio.h> | 
 | 6697 |  | 
 | 6698 | #ifdef RTLD_GLOBAL | 
 | 6699 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 6700 | #else | 
 | 6701 | #  ifdef DL_GLOBAL | 
 | 6702 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 6703 | #  else | 
 | 6704 | #    define LT_DLGLOBAL		0 | 
 | 6705 | #  endif | 
 | 6706 | #endif | 
 | 6707 |  | 
 | 6708 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 6709 |    find out it does not work in some platform. */ | 
 | 6710 | #ifndef LT_DLLAZY_OR_NOW | 
 | 6711 | #  ifdef RTLD_LAZY | 
 | 6712 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 6713 | #  else | 
 | 6714 | #    ifdef DL_LAZY | 
 | 6715 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 6716 | #    else | 
 | 6717 | #      ifdef RTLD_NOW | 
 | 6718 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 6719 | #      else | 
 | 6720 | #        ifdef DL_NOW | 
 | 6721 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 6722 | #        else | 
 | 6723 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 6724 | #        endif | 
 | 6725 | #      endif | 
 | 6726 | #    endif | 
 | 6727 | #  endif | 
 | 6728 | #endif | 
 | 6729 |  | 
 | 6730 | #ifdef __cplusplus | 
 | 6731 | extern "C" void exit (int); | 
 | 6732 | #endif | 
 | 6733 |  | 
 | 6734 | void fnord() { int i=42;} | 
 | 6735 | int main () | 
 | 6736 | { | 
 | 6737 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 6738 |   int status = $lt_dlunknown; | 
 | 6739 |  | 
 | 6740 |   if (self) | 
 | 6741 |     { | 
 | 6742 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 6743 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 6744 |       /* dlclose (self); */ | 
 | 6745 |     } | 
 | 6746 |  | 
 | 6747 |     exit (status); | 
 | 6748 | } | 
 | 6749 | EOF | 
 | 6750 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6751 |   (eval $ac_link) 2>&5 | 
 | 6752 |   ac_status=$? | 
 | 6753 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6754 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 6755 |     (./conftest; exit; ) 2>/dev/null | 
 | 6756 |     lt_status=$? | 
 | 6757 |     case x$lt_status in | 
 | 6758 |       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
 | 6759 |       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
 | 6760 |       x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
 | 6761 |     esac | 
 | 6762 |   else : | 
 | 6763 |     # compilation failed | 
 | 6764 |     lt_cv_dlopen_self=no | 
 | 6765 |   fi | 
 | 6766 | fi | 
 | 6767 | rm -fr conftest* | 
 | 6768 |  | 
 | 6769 |  | 
 | 6770 | fi | 
 | 6771 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 
 | 6772 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
 | 6773 |  | 
 | 6774 |     if test "x$lt_cv_dlopen_self" = xyes; then | 
 | 6775 |       LDFLAGS="$LDFLAGS $link_static_flag" | 
 | 6776 |       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 
 | 6777 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
 | 6778 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
 | 6779 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6780 | else | 
 | 6781 |   	  if test "$cross_compiling" = yes; then : | 
 | 6782 |   lt_cv_dlopen_self_static=cross | 
 | 6783 | else | 
 | 6784 |     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 6785 |   lt_status=$lt_dlunknown | 
 | 6786 |   cat > conftest.$ac_ext <<EOF | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame^] | 6787 | #line 6787 "configure" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6788 | #include "confdefs.h" | 
 | 6789 |  | 
 | 6790 | #if HAVE_DLFCN_H | 
 | 6791 | #include <dlfcn.h> | 
 | 6792 | #endif | 
 | 6793 |  | 
 | 6794 | #include <stdio.h> | 
 | 6795 |  | 
 | 6796 | #ifdef RTLD_GLOBAL | 
 | 6797 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 6798 | #else | 
 | 6799 | #  ifdef DL_GLOBAL | 
 | 6800 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 6801 | #  else | 
 | 6802 | #    define LT_DLGLOBAL		0 | 
 | 6803 | #  endif | 
 | 6804 | #endif | 
 | 6805 |  | 
 | 6806 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 6807 |    find out it does not work in some platform. */ | 
 | 6808 | #ifndef LT_DLLAZY_OR_NOW | 
 | 6809 | #  ifdef RTLD_LAZY | 
 | 6810 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 6811 | #  else | 
 | 6812 | #    ifdef DL_LAZY | 
 | 6813 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 6814 | #    else | 
 | 6815 | #      ifdef RTLD_NOW | 
 | 6816 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 6817 | #      else | 
 | 6818 | #        ifdef DL_NOW | 
 | 6819 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 6820 | #        else | 
 | 6821 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 6822 | #        endif | 
 | 6823 | #      endif | 
 | 6824 | #    endif | 
 | 6825 | #  endif | 
 | 6826 | #endif | 
 | 6827 |  | 
 | 6828 | #ifdef __cplusplus | 
 | 6829 | extern "C" void exit (int); | 
 | 6830 | #endif | 
 | 6831 |  | 
 | 6832 | void fnord() { int i=42;} | 
 | 6833 | int main () | 
 | 6834 | { | 
 | 6835 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 6836 |   int status = $lt_dlunknown; | 
 | 6837 |  | 
 | 6838 |   if (self) | 
 | 6839 |     { | 
 | 6840 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 6841 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 6842 |       /* dlclose (self); */ | 
 | 6843 |     } | 
 | 6844 |  | 
 | 6845 |     exit (status); | 
 | 6846 | } | 
 | 6847 | EOF | 
 | 6848 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6849 |   (eval $ac_link) 2>&5 | 
 | 6850 |   ac_status=$? | 
 | 6851 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6852 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 6853 |     (./conftest; exit; ) 2>/dev/null | 
 | 6854 |     lt_status=$? | 
 | 6855 |     case x$lt_status in | 
 | 6856 |       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 6857 |       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 6858 |       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
 | 6859 |     esac | 
 | 6860 |   else : | 
 | 6861 |     # compilation failed | 
 | 6862 |     lt_cv_dlopen_self_static=no | 
 | 6863 |   fi | 
 | 6864 | fi | 
 | 6865 | rm -fr conftest* | 
 | 6866 |  | 
 | 6867 |  | 
 | 6868 | fi | 
 | 6869 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 
 | 6870 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
 | 6871 |     fi | 
 | 6872 |  | 
 | 6873 |     CPPFLAGS="$save_CPPFLAGS" | 
 | 6874 |     LDFLAGS="$save_LDFLAGS" | 
 | 6875 |     LIBS="$save_LIBS" | 
 | 6876 |     ;; | 
 | 6877 |   esac | 
 | 6878 |  | 
 | 6879 |   case $lt_cv_dlopen_self in | 
 | 6880 |   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
 | 6881 |   *) enable_dlopen_self=unknown ;; | 
 | 6882 |   esac | 
 | 6883 |  | 
 | 6884 |   case $lt_cv_dlopen_self_static in | 
 | 6885 |   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
 | 6886 |   *) enable_dlopen_self_static=unknown ;; | 
 | 6887 |   esac | 
 | 6888 | fi | 
 | 6889 |  | 
 | 6890 |  | 
 | 6891 | ## FIXME: this should be a separate macro | 
 | 6892 | ## | 
 | 6893 | if test "$enable_shared" = yes && test "$GCC" = yes; then | 
 | 6894 |   case $archive_cmds in | 
 | 6895 |   *'~'*) | 
 | 6896 |     # FIXME: we may have to deal with multi-command sequences. | 
 | 6897 |     ;; | 
 | 6898 |   '$CC '*) | 
 | 6899 |     # Test whether the compiler implicitly links with -lc since on some | 
 | 6900 |     # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
 | 6901 |     # to ld, don't add -lc before -lgcc. | 
 | 6902 |     echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
 | 6903 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
 | 6904 |     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then | 
 | 6905 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6906 | else | 
 | 6907 |   $rm conftest* | 
 | 6908 |     echo 'static int dummy;' > conftest.$ac_ext | 
 | 6909 |  | 
 | 6910 |     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 6911 |   (eval $ac_compile) 2>&5 | 
 | 6912 |   ac_status=$? | 
 | 6913 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6914 |   (exit $ac_status); }; then | 
 | 6915 |       soname=conftest | 
 | 6916 |       lib=conftest | 
 | 6917 |       libobjs=conftest.$ac_objext | 
 | 6918 |       deplibs= | 
 | 6919 |       wl=$lt_cv_prog_cc_wl | 
 | 6920 |       compiler_flags=-v | 
 | 6921 |       linker_flags=-v | 
 | 6922 |       verstring= | 
 | 6923 |       output_objdir=. | 
 | 6924 |       libname=conftest | 
 | 6925 |       save_allow_undefined_flag=$allow_undefined_flag | 
 | 6926 |       allow_undefined_flag= | 
 | 6927 |       if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
 | 6928 |   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
 | 6929 |   ac_status=$? | 
 | 6930 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6931 |   (exit $ac_status); } | 
 | 6932 |       then | 
 | 6933 | 	lt_cv_archive_cmds_need_lc=no | 
 | 6934 |       else | 
 | 6935 | 	lt_cv_archive_cmds_need_lc=yes | 
 | 6936 |       fi | 
 | 6937 |       allow_undefined_flag=$save_allow_undefined_flag | 
 | 6938 |     else | 
 | 6939 |       cat conftest.err 1>&5 | 
 | 6940 |     fi | 
 | 6941 | fi | 
 | 6942 |  | 
 | 6943 |     echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 | 
 | 6944 | echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 | 
 | 6945 |     ;; | 
 | 6946 |   esac | 
 | 6947 | fi | 
 | 6948 | need_lc=${lt_cv_archive_cmds_need_lc-yes} | 
 | 6949 | ## | 
 | 6950 | ## END FIXME | 
 | 6951 |  | 
 | 6952 | ## FIXME: this should be a separate macro | 
 | 6953 | ## | 
 | 6954 | # The second clause should only fire when bootstrapping the | 
 | 6955 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 6956 | # with your package, and you will get complaints that there are | 
 | 6957 | # no rules to generate ltmain.sh. | 
 | 6958 | if test -f "$ltmain"; then | 
 | 6959 |   : | 
 | 6960 | else | 
 | 6961 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 6962 |   # `config.status --recheck' to rerun these tests and create the | 
 | 6963 |   # libtool script then. | 
 | 6964 |   test -f Makefile && make "$ltmain" | 
 | 6965 | fi | 
 | 6966 |  | 
 | 6967 | if test -f "$ltmain"; then | 
 | 6968 |   trap "$rm \"${ofile}T\"; exit 1" 1 2 15 | 
 | 6969 |   $rm -f "${ofile}T" | 
 | 6970 |  | 
 | 6971 |   echo creating $ofile | 
 | 6972 |  | 
 | 6973 |   # Now quote all the things that may contain metacharacters while being | 
 | 6974 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 6975 |   # variables and quote the copies for generation of the libtool script. | 
 | 6976 |   for var in echo old_CC old_CFLAGS \ | 
 | 6977 |     AR AR_FLAGS CC LD LN_S NM SHELL \ | 
 | 6978 |     reload_flag reload_cmds wl \ | 
 | 6979 |     pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ | 
 | 6980 |     thread_safe_flag_spec whole_archive_flag_spec libname_spec \ | 
 | 6981 |     library_names_spec soname_spec \ | 
 | 6982 |     RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ | 
 | 6983 |     old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ | 
 | 6984 |     postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ | 
 | 6985 |     old_striplib striplib file_magic_cmd export_symbols_cmds \ | 
 | 6986 |     deplibs_check_method allow_undefined_flag no_undefined_flag \ | 
 | 6987 |     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ | 
 | 6988 |     global_symbol_to_c_name_address \ | 
 | 6989 |     hardcode_libdir_flag_spec hardcode_libdir_separator  \ | 
 | 6990 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
 | 6991 |     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do | 
 | 6992 |  | 
 | 6993 |     case $var in | 
 | 6994 |     reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ | 
 | 6995 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 6996 |     export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ | 
 | 6997 |     extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ | 
 | 6998 |     postinstall_cmds | postuninstall_cmds | \ | 
 | 6999 |     finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
 | 7000 |       # Double-quote double-evaled strings. | 
 | 7001 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 7002 |       ;; | 
 | 7003 |     *) | 
 | 7004 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 7005 |       ;; | 
 | 7006 |     esac | 
 | 7007 |   done | 
 | 7008 |  | 
 | 7009 |   cat <<__EOF__ > "${ofile}T" | 
 | 7010 | #! $SHELL | 
 | 7011 |  | 
 | 7012 | # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. | 
 | 7013 | # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) | 
 | 7014 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. | 
 | 7015 | # | 
 | 7016 | # Copyright (C) 1996-2000 Free Software Foundation, Inc. | 
 | 7017 | # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 | 
 | 7018 | # | 
 | 7019 | # This program is free software; you can redistribute it and/or modify | 
 | 7020 | # it under the terms of the GNU General Public License as published by | 
 | 7021 | # the Free Software Foundation; either version 2 of the License, or | 
 | 7022 | # (at your option) any later version. | 
 | 7023 | # | 
 | 7024 | # This program is distributed in the hope that it will be useful, but | 
 | 7025 | # WITHOUT ANY WARRANTY; without even the implied warranty of | 
 | 7026 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
 | 7027 | # General Public License for more details. | 
 | 7028 | # | 
 | 7029 | # You should have received a copy of the GNU General Public License | 
 | 7030 | # along with this program; if not, write to the Free Software | 
 | 7031 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 
 | 7032 | # | 
 | 7033 | # As a special exception to the GNU General Public License, if you | 
 | 7034 | # distribute this file as part of a program that contains a | 
 | 7035 | # configuration script generated by Autoconf, you may include it under | 
 | 7036 | # the same distribution terms that you use for the rest of that program. | 
 | 7037 |  | 
 | 7038 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. | 
 | 7039 | Xsed="sed -e s/^X//" | 
 | 7040 |  | 
 | 7041 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 
 | 7042 | # if CDPATH is set. | 
 | 7043 | if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 
 | 7044 |  | 
 | 7045 | # ### BEGIN LIBTOOL CONFIG | 
 | 7046 |  | 
 | 7047 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 7048 |  | 
 | 7049 | # Shell to use when invoking shell scripts. | 
 | 7050 | SHELL=$lt_SHELL | 
 | 7051 |  | 
 | 7052 | # Whether or not to build shared libraries. | 
 | 7053 | build_libtool_libs=$enable_shared | 
 | 7054 |  | 
 | 7055 | # Whether or not to build static libraries. | 
 | 7056 | build_old_libs=$enable_static | 
 | 7057 |  | 
 | 7058 | # Whether or not to add -lc for building shared libraries. | 
 | 7059 | build_libtool_need_lc=$need_lc | 
 | 7060 |  | 
 | 7061 | # Whether or not to optimize for fast installation. | 
 | 7062 | fast_install=$enable_fast_install | 
 | 7063 |  | 
 | 7064 | # The host system. | 
 | 7065 | host_alias=$host_alias | 
 | 7066 | host=$host | 
 | 7067 |  | 
 | 7068 | # An echo program that does not interpret backslashes. | 
 | 7069 | echo=$lt_echo | 
 | 7070 |  | 
 | 7071 | # The archiver. | 
 | 7072 | AR=$lt_AR | 
 | 7073 | AR_FLAGS=$lt_AR_FLAGS | 
 | 7074 |  | 
 | 7075 | # The default C compiler. | 
 | 7076 | CC=$lt_CC | 
 | 7077 |  | 
 | 7078 | # Is the compiler the GNU C compiler? | 
 | 7079 | with_gcc=$GCC | 
 | 7080 |  | 
 | 7081 | # The linker used to build libraries. | 
 | 7082 | LD=$lt_LD | 
 | 7083 |  | 
 | 7084 | # Whether we need hard or soft links. | 
 | 7085 | LN_S=$lt_LN_S | 
 | 7086 |  | 
 | 7087 | # A BSD-compatible nm program. | 
 | 7088 | NM=$lt_NM | 
 | 7089 |  | 
 | 7090 | # A symbol stripping program | 
 | 7091 | STRIP=$STRIP | 
 | 7092 |  | 
 | 7093 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 7094 | MAGIC_CMD=$MAGIC_CMD | 
 | 7095 |  | 
 | 7096 | # Used on cygwin: DLL creation program. | 
 | 7097 | DLLTOOL="$DLLTOOL" | 
 | 7098 |  | 
 | 7099 | # Used on cygwin: object dumper. | 
 | 7100 | OBJDUMP="$OBJDUMP" | 
 | 7101 |  | 
 | 7102 | # Used on cygwin: assembler. | 
 | 7103 | AS="$AS" | 
 | 7104 |  | 
 | 7105 | # The name of the directory that contains temporary libtool files. | 
 | 7106 | objdir=$objdir | 
 | 7107 |  | 
 | 7108 | # How to create reloadable object files. | 
 | 7109 | reload_flag=$lt_reload_flag | 
 | 7110 | reload_cmds=$lt_reload_cmds | 
 | 7111 |  | 
 | 7112 | # How to pass a linker flag through the compiler. | 
 | 7113 | wl=$lt_wl | 
 | 7114 |  | 
 | 7115 | # Object file suffix (normally "o"). | 
 | 7116 | objext="$ac_objext" | 
 | 7117 |  | 
 | 7118 | # Old archive suffix (normally "a"). | 
 | 7119 | libext="$libext" | 
 | 7120 |  | 
 | 7121 | # Executable file suffix (normally ""). | 
 | 7122 | exeext="$exeext" | 
 | 7123 |  | 
 | 7124 | # Additional compiler flags for building library objects. | 
 | 7125 | pic_flag=$lt_pic_flag | 
 | 7126 | pic_mode=$pic_mode | 
 | 7127 |  | 
 | 7128 | # Does compiler simultaneously support -c and -o options? | 
 | 7129 | compiler_c_o=$lt_compiler_c_o | 
 | 7130 |  | 
 | 7131 | # Can we write directly to a .lo ? | 
 | 7132 | compiler_o_lo=$lt_compiler_o_lo | 
 | 7133 |  | 
 | 7134 | # Must we lock files when doing compilation ? | 
 | 7135 | need_locks=$lt_need_locks | 
 | 7136 |  | 
 | 7137 | # Do we need the lib prefix for modules? | 
 | 7138 | need_lib_prefix=$need_lib_prefix | 
 | 7139 |  | 
 | 7140 | # Do we need a version for libraries? | 
 | 7141 | need_version=$need_version | 
 | 7142 |  | 
 | 7143 | # Whether dlopen is supported. | 
 | 7144 | dlopen_support=$enable_dlopen | 
 | 7145 |  | 
 | 7146 | # Whether dlopen of programs is supported. | 
 | 7147 | dlopen_self=$enable_dlopen_self | 
 | 7148 |  | 
 | 7149 | # Whether dlopen of statically linked programs is supported. | 
 | 7150 | dlopen_self_static=$enable_dlopen_self_static | 
 | 7151 |  | 
 | 7152 | # Compiler flag to prevent dynamic linking. | 
 | 7153 | link_static_flag=$lt_link_static_flag | 
 | 7154 |  | 
 | 7155 | # Compiler flag to turn off builtin functions. | 
 | 7156 | no_builtin_flag=$lt_no_builtin_flag | 
 | 7157 |  | 
 | 7158 | # Compiler flag to allow reflexive dlopens. | 
 | 7159 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec | 
 | 7160 |  | 
 | 7161 | # Compiler flag to generate shared objects directly from archives. | 
 | 7162 | whole_archive_flag_spec=$lt_whole_archive_flag_spec | 
 | 7163 |  | 
 | 7164 | # Compiler flag to generate thread-safe objects. | 
 | 7165 | thread_safe_flag_spec=$lt_thread_safe_flag_spec | 
 | 7166 |  | 
 | 7167 | # Library versioning type. | 
 | 7168 | version_type=$version_type | 
 | 7169 |  | 
 | 7170 | # Format of library name prefix. | 
 | 7171 | libname_spec=$lt_libname_spec | 
 | 7172 |  | 
 | 7173 | # List of archive names.  First name is the real one, the rest are links. | 
 | 7174 | # The last name is the one that the linker finds with -lNAME. | 
 | 7175 | library_names_spec=$lt_library_names_spec | 
 | 7176 |  | 
 | 7177 | # The coded name of the library, if different from the real name. | 
 | 7178 | soname_spec=$lt_soname_spec | 
 | 7179 |  | 
 | 7180 | # Commands used to build and install an old-style archive. | 
 | 7181 | RANLIB=$lt_RANLIB | 
 | 7182 | old_archive_cmds=$lt_old_archive_cmds | 
 | 7183 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 7184 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 7185 |  | 
 | 7186 | # Create an old-style archive from a shared archive. | 
 | 7187 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds | 
 | 7188 |  | 
 | 7189 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 7190 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds | 
 | 7191 |  | 
 | 7192 | # Commands used to build and install a shared archive. | 
 | 7193 | archive_cmds=$lt_archive_cmds | 
 | 7194 | archive_expsym_cmds=$lt_archive_expsym_cmds | 
 | 7195 | postinstall_cmds=$lt_postinstall_cmds | 
 | 7196 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 7197 |  | 
 | 7198 | # Commands to strip libraries. | 
 | 7199 | old_striplib=$lt_old_striplib | 
 | 7200 | striplib=$lt_striplib | 
 | 7201 |  | 
 | 7202 | # Method to check whether dependent libraries are shared objects. | 
 | 7203 | deplibs_check_method=$lt_deplibs_check_method | 
 | 7204 |  | 
 | 7205 | # Command to use when deplibs_check_method == file_magic. | 
 | 7206 | file_magic_cmd=$lt_file_magic_cmd | 
 | 7207 |  | 
 | 7208 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 7209 | allow_undefined_flag=$lt_allow_undefined_flag | 
 | 7210 |  | 
 | 7211 | # Flag that forces no undefined symbols. | 
 | 7212 | no_undefined_flag=$lt_no_undefined_flag | 
 | 7213 |  | 
 | 7214 | # Commands used to finish a libtool library installation in a directory. | 
 | 7215 | finish_cmds=$lt_finish_cmds | 
 | 7216 |  | 
 | 7217 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 7218 | finish_eval=$lt_finish_eval | 
 | 7219 |  | 
 | 7220 | # Take the output of nm and produce a listing of raw symbols and C names. | 
 | 7221 | global_symbol_pipe=$lt_global_symbol_pipe | 
 | 7222 |  | 
 | 7223 | # Transform the output of nm in a proper C declaration | 
 | 7224 | global_symbol_to_cdecl=$lt_global_symbol_to_cdecl | 
 | 7225 |  | 
 | 7226 | # Transform the output of nm in a C name address pair | 
 | 7227 | global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address | 
 | 7228 |  | 
 | 7229 | # This is the shared library runtime path variable. | 
 | 7230 | runpath_var=$runpath_var | 
 | 7231 |  | 
 | 7232 | # This is the shared library path variable. | 
 | 7233 | shlibpath_var=$shlibpath_var | 
 | 7234 |  | 
 | 7235 | # Is shlibpath searched before the hard-coded library search path? | 
 | 7236 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 7237 |  | 
 | 7238 | # How to hardcode a shared library path into an executable. | 
 | 7239 | hardcode_action=$hardcode_action | 
 | 7240 |  | 
 | 7241 | # Whether we should hardcode library paths into libraries. | 
 | 7242 | hardcode_into_libs=$hardcode_into_libs | 
 | 7243 |  | 
 | 7244 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 7245 | # This must work even if \$libdir does not exist. | 
 | 7246 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | 
 | 7247 |  | 
 | 7248 | # Whether we need a single -rpath flag with a separated argument. | 
 | 7249 | hardcode_libdir_separator=$lt_hardcode_libdir_separator | 
 | 7250 |  | 
 | 7251 | # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the | 
 | 7252 | # resulting binary. | 
 | 7253 | hardcode_direct=$hardcode_direct | 
 | 7254 |  | 
 | 7255 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 7256 | # resulting binary. | 
 | 7257 | hardcode_minus_L=$hardcode_minus_L | 
 | 7258 |  | 
 | 7259 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 7260 | # the resulting binary. | 
 | 7261 | hardcode_shlibpath_var=$hardcode_shlibpath_var | 
 | 7262 |  | 
 | 7263 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 7264 | # restored at relink time. | 
 | 7265 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 7266 |  | 
 | 7267 | # Whether libtool must link a program against all its dependency libraries. | 
 | 7268 | link_all_deplibs=$link_all_deplibs | 
 | 7269 |  | 
 | 7270 | # Compile-time system search path for libraries | 
 | 7271 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 7272 |  | 
 | 7273 | # Run-time system search path for libraries | 
 | 7274 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 7275 |  | 
 | 7276 | # Fix the shell variable \$srcfile for the compiler. | 
 | 7277 | fix_srcfile_path="$fix_srcfile_path" | 
 | 7278 |  | 
 | 7279 | # Set to yes if exported symbols are required. | 
 | 7280 | always_export_symbols=$always_export_symbols | 
 | 7281 |  | 
 | 7282 | # The commands to list exported symbols. | 
 | 7283 | export_symbols_cmds=$lt_export_symbols_cmds | 
 | 7284 |  | 
 | 7285 | # The commands to extract the exported symbol list from a shared archive. | 
 | 7286 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 7287 |  | 
 | 7288 | # Symbols that should not be listed in the preloaded symbols. | 
 | 7289 | exclude_expsyms=$lt_exclude_expsyms | 
 | 7290 |  | 
 | 7291 | # Symbols that must always be exported. | 
 | 7292 | include_expsyms=$lt_include_expsyms | 
 | 7293 |  | 
 | 7294 | # ### END LIBTOOL CONFIG | 
 | 7295 |  | 
 | 7296 | __EOF__ | 
 | 7297 |  | 
 | 7298 |   case $host_os in | 
 | 7299 |   aix3*) | 
 | 7300 |     cat <<\EOF >> "${ofile}T" | 
 | 7301 |  | 
 | 7302 | # AIX sometimes has problems with the GCC collect2 program.  For some | 
 | 7303 | # reason, if we set the COLLECT_NAMES environment variable, the problems | 
 | 7304 | # vanish in a puff of smoke. | 
 | 7305 | if test "X${COLLECT_NAMES+set}" != Xset; then | 
 | 7306 |   COLLECT_NAMES= | 
 | 7307 |   export COLLECT_NAMES | 
 | 7308 | fi | 
 | 7309 | EOF | 
 | 7310 |     ;; | 
 | 7311 |   esac | 
 | 7312 |  | 
 | 7313 |   case $host_os in | 
 | 7314 |   cygwin* | mingw* | pw32* | os2*) | 
 | 7315 |     cat <<'EOF' >> "${ofile}T" | 
 | 7316 |       # This is a source program that is used to create dlls on Windows | 
 | 7317 |       # Don't remove nor modify the starting and closing comments | 
 | 7318 | # /* ltdll.c starts here */ | 
 | 7319 | # #define WIN32_LEAN_AND_MEAN | 
 | 7320 | # #include <windows.h> | 
 | 7321 | # #undef WIN32_LEAN_AND_MEAN | 
 | 7322 | # #include <stdio.h> | 
 | 7323 | # | 
 | 7324 | # #ifndef __CYGWIN__ | 
 | 7325 | # #  ifdef __CYGWIN32__ | 
 | 7326 | # #    define __CYGWIN__ __CYGWIN32__ | 
 | 7327 | # #  endif | 
 | 7328 | # #endif | 
 | 7329 | # | 
 | 7330 | # #ifdef __cplusplus | 
 | 7331 | # extern "C" { | 
 | 7332 | # #endif | 
 | 7333 | # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); | 
 | 7334 | # #ifdef __cplusplus | 
 | 7335 | # } | 
 | 7336 | # #endif | 
 | 7337 | # | 
 | 7338 | # #ifdef __CYGWIN__ | 
 | 7339 | # #include <cygwin/cygwin_dll.h> | 
 | 7340 | # DECLARE_CYGWIN_DLL( DllMain ); | 
 | 7341 | # #endif | 
 | 7342 | # HINSTANCE __hDllInstance_base; | 
 | 7343 | # | 
 | 7344 | # BOOL APIENTRY | 
 | 7345 | # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) | 
 | 7346 | # { | 
 | 7347 | #   __hDllInstance_base = hInst; | 
 | 7348 | #   return TRUE; | 
 | 7349 | # } | 
 | 7350 | # /* ltdll.c ends here */ | 
 | 7351 | 	# This is a source program that is used to create import libraries | 
 | 7352 | 	# on Windows for dlls which lack them. Don't remove nor modify the | 
 | 7353 | 	# starting and closing comments | 
 | 7354 | # /* impgen.c starts here */ | 
 | 7355 | # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc. | 
 | 7356 | # | 
 | 7357 | #  This file is part of GNU libtool. | 
 | 7358 | # | 
 | 7359 | #  This program is free software; you can redistribute it and/or modify | 
 | 7360 | #  it under the terms of the GNU General Public License as published by | 
 | 7361 | #  the Free Software Foundation; either version 2 of the License, or | 
 | 7362 | #  (at your option) any later version. | 
 | 7363 | # | 
 | 7364 | #  This program is distributed in the hope that it will be useful, | 
 | 7365 | #  but WITHOUT ANY WARRANTY; without even the implied warranty of | 
 | 7366 | #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
 | 7367 | #  GNU General Public License for more details. | 
 | 7368 | # | 
 | 7369 | #  You should have received a copy of the GNU General Public License | 
 | 7370 | #  along with this program; if not, write to the Free Software | 
 | 7371 | #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 
 | 7372 | #  */ | 
 | 7373 | # | 
 | 7374 | # #include <stdio.h>		/* for printf() */ | 
 | 7375 | # #include <unistd.h>		/* for open(), lseek(), read() */ | 
 | 7376 | # #include <fcntl.h>		/* for O_RDONLY, O_BINARY */ | 
 | 7377 | # #include <string.h>		/* for strdup() */ | 
 | 7378 | # | 
 | 7379 | # /* O_BINARY isn't required (or even defined sometimes) under Unix */ | 
 | 7380 | # #ifndef O_BINARY | 
 | 7381 | # #define O_BINARY 0 | 
 | 7382 | # #endif | 
 | 7383 | # | 
 | 7384 | # static unsigned int | 
 | 7385 | # pe_get16 (fd, offset) | 
 | 7386 | #      int fd; | 
 | 7387 | #      int offset; | 
 | 7388 | # { | 
 | 7389 | #   unsigned char b[2]; | 
 | 7390 | #   lseek (fd, offset, SEEK_SET); | 
 | 7391 | #   read (fd, b, 2); | 
 | 7392 | #   return b[0] + (b[1]<<8); | 
 | 7393 | # } | 
 | 7394 | # | 
 | 7395 | # static unsigned int | 
 | 7396 | # pe_get32 (fd, offset) | 
 | 7397 | #     int fd; | 
 | 7398 | #     int offset; | 
 | 7399 | # { | 
 | 7400 | #   unsigned char b[4]; | 
 | 7401 | #   lseek (fd, offset, SEEK_SET); | 
 | 7402 | #   read (fd, b, 4); | 
 | 7403 | #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); | 
 | 7404 | # } | 
 | 7405 | # | 
 | 7406 | # static unsigned int | 
 | 7407 | # pe_as32 (ptr) | 
 | 7408 | #      void *ptr; | 
 | 7409 | # { | 
 | 7410 | #   unsigned char *b = ptr; | 
 | 7411 | #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); | 
 | 7412 | # } | 
 | 7413 | # | 
 | 7414 | # int | 
 | 7415 | # main (argc, argv) | 
 | 7416 | #     int argc; | 
 | 7417 | #     char *argv[]; | 
 | 7418 | # { | 
 | 7419 | #     int dll; | 
 | 7420 | #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i; | 
 | 7421 | #     unsigned long export_rva, export_size, nsections, secptr, expptr; | 
 | 7422 | #     unsigned long name_rvas, nexp; | 
 | 7423 | #     unsigned char *expdata, *erva; | 
 | 7424 | #     char *filename, *dll_name; | 
 | 7425 | # | 
 | 7426 | #     filename = argv[1]; | 
 | 7427 | # | 
 | 7428 | #     dll = open(filename, O_RDONLY|O_BINARY); | 
 | 7429 | #     if (dll < 1) | 
 | 7430 | # 	return 1; | 
 | 7431 | # | 
 | 7432 | #     dll_name = filename; | 
 | 7433 | # | 
 | 7434 | #     for (i=0; filename[i]; i++) | 
 | 7435 | # 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':') | 
 | 7436 | # 	    dll_name = filename + i +1; | 
 | 7437 | # | 
 | 7438 | #     pe_header_offset = pe_get32 (dll, 0x3c); | 
 | 7439 | #     opthdr_ofs = pe_header_offset + 4 + 20; | 
 | 7440 | #     num_entries = pe_get32 (dll, opthdr_ofs + 92); | 
 | 7441 | # | 
 | 7442 | #     if (num_entries < 1) /* no exports */ | 
 | 7443 | # 	return 1; | 
 | 7444 | # | 
 | 7445 | #     export_rva = pe_get32 (dll, opthdr_ofs + 96); | 
 | 7446 | #     export_size = pe_get32 (dll, opthdr_ofs + 100); | 
 | 7447 | #     nsections = pe_get16 (dll, pe_header_offset + 4 +2); | 
 | 7448 | #     secptr = (pe_header_offset + 4 + 20 + | 
 | 7449 | # 	      pe_get16 (dll, pe_header_offset + 4 + 16)); | 
 | 7450 | # | 
 | 7451 | #     expptr = 0; | 
 | 7452 | #     for (i = 0; i < nsections; i++) | 
 | 7453 | #     { | 
 | 7454 | # 	char sname[8]; | 
 | 7455 | # 	unsigned long secptr1 = secptr + 40 * i; | 
 | 7456 | # 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12); | 
 | 7457 | # 	unsigned long vsize = pe_get32 (dll, secptr1 + 16); | 
 | 7458 | # 	unsigned long fptr = pe_get32 (dll, secptr1 + 20); | 
 | 7459 | # 	lseek(dll, secptr1, SEEK_SET); | 
 | 7460 | # 	read(dll, sname, 8); | 
 | 7461 | # 	if (vaddr <= export_rva && vaddr+vsize > export_rva) | 
 | 7462 | # 	{ | 
 | 7463 | # 	    expptr = fptr + (export_rva - vaddr); | 
 | 7464 | # 	    if (export_rva + export_size > vaddr + vsize) | 
 | 7465 | # 		export_size = vsize - (export_rva - vaddr); | 
 | 7466 | # 	    break; | 
 | 7467 | # 	} | 
 | 7468 | #     } | 
 | 7469 | # | 
 | 7470 | #     expdata = (unsigned char*)malloc(export_size); | 
 | 7471 | #     lseek (dll, expptr, SEEK_SET); | 
 | 7472 | #     read (dll, expdata, export_size); | 
 | 7473 | #     erva = expdata - export_rva; | 
 | 7474 | # | 
 | 7475 | #     nexp = pe_as32 (expdata+24); | 
 | 7476 | #     name_rvas = pe_as32 (expdata+32); | 
 | 7477 | # | 
 | 7478 | #     printf ("EXPORTS\n"); | 
 | 7479 | #     for (i = 0; i<nexp; i++) | 
 | 7480 | #     { | 
 | 7481 | # 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4); | 
 | 7482 | # 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i); | 
 | 7483 | #     } | 
 | 7484 | # | 
 | 7485 | #     return 0; | 
 | 7486 | # } | 
 | 7487 | # /* impgen.c ends here */ | 
 | 7488 |  | 
 | 7489 | EOF | 
 | 7490 |     ;; | 
 | 7491 |   esac | 
 | 7492 |  | 
 | 7493 |   # We use sed instead of cat because bash on DJGPP gets confused if | 
 | 7494 |   # if finds mixed CR/LF and LF-only lines.  Since sed operates in | 
 | 7495 |   # text mode, it properly converts lines to CR/LF.  This bash problem | 
 | 7496 |   # is reportedly fixed, but why not run on old versions too? | 
 | 7497 |   sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1) | 
 | 7498 |  | 
 | 7499 |   mv -f "${ofile}T" "$ofile" || \ | 
 | 7500 |     (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") | 
 | 7501 |   chmod +x "$ofile" | 
 | 7502 | fi | 
 | 7503 | ## | 
 | 7504 | ## END FIXME | 
 | 7505 |  | 
 | 7506 |  | 
 | 7507 |  | 
 | 7508 |  | 
 | 7509 |  | 
 | 7510 | # This can be used to rebuild libtool when needed | 
 | 7511 | LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" | 
 | 7512 |  | 
 | 7513 | # Always use our own libtool. | 
 | 7514 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' | 
 | 7515 |  | 
 | 7516 | # Prevent multiple expansion | 
 | 7517 |  | 
 | 7518 |  | 
 | 7519 |  | 
 | 7520 | # Extract the first word of "ar", so it can be a program name with args. | 
 | 7521 | set dummy ar; ac_word=$2 | 
 | 7522 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7523 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7524 | if test "${ac_cv_path_AR+set}" = set; then | 
 | 7525 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7526 | else | 
 | 7527 |   case $AR in | 
 | 7528 |   [\\/]* | ?:[\\/]*) | 
 | 7529 |   ac_cv_path_AR="$AR" # Let the user override the test with a path. | 
 | 7530 |   ;; | 
 | 7531 |   *) | 
 | 7532 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7533 | for as_dir in $PATH | 
 | 7534 | do | 
 | 7535 |   IFS=$as_save_IFS | 
 | 7536 |   test -z "$as_dir" && as_dir=. | 
 | 7537 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7538 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7539 |     ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" | 
 | 7540 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7541 |     break 2 | 
 | 7542 |   fi | 
 | 7543 | done | 
 | 7544 | done | 
 | 7545 |  | 
 | 7546 |   ;; | 
 | 7547 | esac | 
 | 7548 | fi | 
 | 7549 | AR=$ac_cv_path_AR | 
 | 7550 |  | 
 | 7551 | if test -n "$AR"; then | 
 | 7552 |   echo "$as_me:$LINENO: result: $AR" >&5 | 
 | 7553 | echo "${ECHO_T}$AR" >&6 | 
 | 7554 | else | 
 | 7555 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7556 | echo "${ECHO_T}no" >&6 | 
 | 7557 | fi | 
 | 7558 |  | 
 | 7559 | # Extract the first word of "sed", so it can be a program name with args. | 
 | 7560 | set dummy sed; ac_word=$2 | 
 | 7561 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7562 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7563 | if test "${ac_cv_path_SED+set}" = set; then | 
 | 7564 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7565 | else | 
 | 7566 |   case $SED in | 
 | 7567 |   [\\/]* | ?:[\\/]*) | 
 | 7568 |   ac_cv_path_SED="$SED" # Let the user override the test with a path. | 
 | 7569 |   ;; | 
 | 7570 |   *) | 
 | 7571 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7572 | for as_dir in $PATH | 
 | 7573 | do | 
 | 7574 |   IFS=$as_save_IFS | 
 | 7575 |   test -z "$as_dir" && as_dir=. | 
 | 7576 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7577 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7578 |     ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" | 
 | 7579 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7580 |     break 2 | 
 | 7581 |   fi | 
 | 7582 | done | 
 | 7583 | done | 
 | 7584 |  | 
 | 7585 |   ;; | 
 | 7586 | esac | 
 | 7587 | fi | 
 | 7588 | SED=$ac_cv_path_SED | 
 | 7589 |  | 
 | 7590 | if test -n "$SED"; then | 
 | 7591 |   echo "$as_me:$LINENO: result: $SED" >&5 | 
 | 7592 | echo "${ECHO_T}$SED" >&6 | 
 | 7593 | else | 
 | 7594 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7595 | echo "${ECHO_T}no" >&6 | 
 | 7596 | fi | 
 | 7597 |  | 
 | 7598 | # Extract the first word of "rm", so it can be a program name with args. | 
 | 7599 | set dummy rm; ac_word=$2 | 
 | 7600 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7601 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7602 | if test "${ac_cv_path_RM+set}" = set; then | 
 | 7603 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7604 | else | 
 | 7605 |   case $RM in | 
 | 7606 |   [\\/]* | ?:[\\/]*) | 
 | 7607 |   ac_cv_path_RM="$RM" # Let the user override the test with a path. | 
 | 7608 |   ;; | 
 | 7609 |   *) | 
 | 7610 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7611 | for as_dir in $PATH | 
 | 7612 | do | 
 | 7613 |   IFS=$as_save_IFS | 
 | 7614 |   test -z "$as_dir" && as_dir=. | 
 | 7615 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7616 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7617 |     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" | 
 | 7618 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7619 |     break 2 | 
 | 7620 |   fi | 
 | 7621 | done | 
 | 7622 | done | 
 | 7623 |  | 
 | 7624 |   ;; | 
 | 7625 | esac | 
 | 7626 | fi | 
 | 7627 | RM=$ac_cv_path_RM | 
 | 7628 |  | 
 | 7629 | if test -n "$RM"; then | 
 | 7630 |   echo "$as_me:$LINENO: result: $RM" >&5 | 
 | 7631 | echo "${ECHO_T}$RM" >&6 | 
 | 7632 | else | 
 | 7633 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7634 | echo "${ECHO_T}no" >&6 | 
 | 7635 | fi | 
 | 7636 |  | 
 | 7637 | # Extract the first word of "echo", so it can be a program name with args. | 
 | 7638 | set dummy echo; ac_word=$2 | 
 | 7639 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7640 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7641 | if test "${ac_cv_path_ECHO+set}" = set; then | 
 | 7642 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7643 | else | 
 | 7644 |   case $ECHO in | 
 | 7645 |   [\\/]* | ?:[\\/]*) | 
 | 7646 |   ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. | 
 | 7647 |   ;; | 
 | 7648 |   *) | 
 | 7649 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7650 | for as_dir in $PATH | 
 | 7651 | do | 
 | 7652 |   IFS=$as_save_IFS | 
 | 7653 |   test -z "$as_dir" && as_dir=. | 
 | 7654 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7655 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7656 |     ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" | 
 | 7657 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7658 |     break 2 | 
 | 7659 |   fi | 
 | 7660 | done | 
 | 7661 | done | 
 | 7662 |  | 
 | 7663 |   ;; | 
 | 7664 | esac | 
 | 7665 | fi | 
 | 7666 | ECHO=$ac_cv_path_ECHO | 
 | 7667 |  | 
 | 7668 | if test -n "$ECHO"; then | 
 | 7669 |   echo "$as_me:$LINENO: result: $ECHO" >&5 | 
 | 7670 | echo "${ECHO_T}$ECHO" >&6 | 
 | 7671 | else | 
 | 7672 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7673 | echo "${ECHO_T}no" >&6 | 
 | 7674 | fi | 
 | 7675 |  | 
 | 7676 | # Extract the first word of "mkdir", so it can be a program name with args. | 
 | 7677 | set dummy mkdir; ac_word=$2 | 
 | 7678 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7679 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7680 | if test "${ac_cv_path_MKDIR+set}" = set; then | 
 | 7681 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7682 | else | 
 | 7683 |   case $MKDIR in | 
 | 7684 |   [\\/]* | ?:[\\/]*) | 
 | 7685 |   ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. | 
 | 7686 |   ;; | 
 | 7687 |   *) | 
 | 7688 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7689 | for as_dir in $PATH | 
 | 7690 | do | 
 | 7691 |   IFS=$as_save_IFS | 
 | 7692 |   test -z "$as_dir" && as_dir=. | 
 | 7693 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7694 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7695 |     ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext" | 
 | 7696 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7697 |     break 2 | 
 | 7698 |   fi | 
 | 7699 | done | 
 | 7700 | done | 
 | 7701 |  | 
 | 7702 |   ;; | 
 | 7703 | esac | 
 | 7704 | fi | 
 | 7705 | MKDIR=$ac_cv_path_MKDIR | 
 | 7706 |  | 
 | 7707 | if test -n "$MKDIR"; then | 
 | 7708 |   echo "$as_me:$LINENO: result: $MKDIR" >&5 | 
 | 7709 | echo "${ECHO_T}$MKDIR" >&6 | 
 | 7710 | else | 
 | 7711 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7712 | echo "${ECHO_T}no" >&6 | 
 | 7713 | fi | 
 | 7714 |  | 
 | 7715 | # Extract the first word of "date", so it can be a program name with args. | 
 | 7716 | set dummy date; ac_word=$2 | 
 | 7717 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7718 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7719 | if test "${ac_cv_path_DATE+set}" = set; then | 
 | 7720 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7721 | else | 
 | 7722 |   case $DATE in | 
 | 7723 |   [\\/]* | ?:[\\/]*) | 
 | 7724 |   ac_cv_path_DATE="$DATE" # Let the user override the test with a path. | 
 | 7725 |   ;; | 
 | 7726 |   *) | 
 | 7727 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7728 | for as_dir in $PATH | 
 | 7729 | do | 
 | 7730 |   IFS=$as_save_IFS | 
 | 7731 |   test -z "$as_dir" && as_dir=. | 
 | 7732 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7733 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7734 |     ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext" | 
 | 7735 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7736 |     break 2 | 
 | 7737 |   fi | 
 | 7738 | done | 
 | 7739 | done | 
 | 7740 |  | 
 | 7741 |   ;; | 
 | 7742 | esac | 
 | 7743 | fi | 
 | 7744 | DATE=$ac_cv_path_DATE | 
 | 7745 |  | 
 | 7746 | if test -n "$DATE"; then | 
 | 7747 |   echo "$as_me:$LINENO: result: $DATE" >&5 | 
 | 7748 | echo "${ECHO_T}$DATE" >&6 | 
 | 7749 | else | 
 | 7750 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7751 | echo "${ECHO_T}no" >&6 | 
 | 7752 | fi | 
 | 7753 |  | 
 | 7754 | # Extract the first word of "mv", so it can be a program name with args. | 
 | 7755 | set dummy mv; ac_word=$2 | 
 | 7756 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7757 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7758 | if test "${ac_cv_path_MV+set}" = set; then | 
 | 7759 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7760 | else | 
 | 7761 |   case $MV in | 
 | 7762 |   [\\/]* | ?:[\\/]*) | 
 | 7763 |   ac_cv_path_MV="$MV" # Let the user override the test with a path. | 
 | 7764 |   ;; | 
 | 7765 |   *) | 
 | 7766 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7767 | for as_dir in $PATH | 
 | 7768 | do | 
 | 7769 |   IFS=$as_save_IFS | 
 | 7770 |   test -z "$as_dir" && as_dir=. | 
 | 7771 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7772 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7773 |     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" | 
 | 7774 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7775 |     break 2 | 
 | 7776 |   fi | 
 | 7777 | done | 
 | 7778 | done | 
 | 7779 |  | 
 | 7780 |   ;; | 
 | 7781 | esac | 
 | 7782 | fi | 
 | 7783 | MV=$ac_cv_path_MV | 
 | 7784 |  | 
 | 7785 | if test -n "$MV"; then | 
 | 7786 |   echo "$as_me:$LINENO: result: $MV" >&5 | 
 | 7787 | echo "${ECHO_T}$MV" >&6 | 
 | 7788 | else | 
 | 7789 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7790 | echo "${ECHO_T}no" >&6 | 
 | 7791 | fi | 
 | 7792 |  | 
 | 7793 | # Extract the first word of "dot", so it can be a program name with args. | 
 | 7794 | set dummy dot; ac_word=$2 | 
 | 7795 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7796 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7797 | if test "${ac_cv_path_DOT+set}" = set; then | 
 | 7798 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7799 | else | 
 | 7800 |   case $DOT in | 
 | 7801 |   [\\/]* | ?:[\\/]*) | 
 | 7802 |   ac_cv_path_DOT="$DOT" # Let the user override the test with a path. | 
 | 7803 |   ;; | 
 | 7804 |   *) | 
 | 7805 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7806 | for as_dir in $PATH | 
 | 7807 | do | 
 | 7808 |   IFS=$as_save_IFS | 
 | 7809 |   test -z "$as_dir" && as_dir=. | 
 | 7810 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7811 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7812 |     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" | 
 | 7813 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7814 |     break 2 | 
 | 7815 |   fi | 
 | 7816 | done | 
 | 7817 | done | 
 | 7818 |  | 
 | 7819 |   ;; | 
 | 7820 | esac | 
 | 7821 | fi | 
 | 7822 | DOT=$ac_cv_path_DOT | 
 | 7823 |  | 
 | 7824 | if test -n "$DOT"; then | 
 | 7825 |   echo "$as_me:$LINENO: result: $DOT" >&5 | 
 | 7826 | echo "${ECHO_T}$DOT" >&6 | 
 | 7827 | else | 
 | 7828 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7829 | echo "${ECHO_T}no" >&6 | 
 | 7830 | fi | 
 | 7831 |  | 
 | 7832 | # Extract the first word of "etags", so it can be a program name with args. | 
 | 7833 | set dummy etags; ac_word=$2 | 
 | 7834 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7835 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7836 | if test "${ac_cv_path_ETAGS+set}" = set; then | 
 | 7837 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7838 | else | 
 | 7839 |   case $ETAGS in | 
 | 7840 |   [\\/]* | ?:[\\/]*) | 
 | 7841 |   ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path. | 
 | 7842 |   ;; | 
 | 7843 |   *) | 
 | 7844 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7845 | for as_dir in $PATH | 
 | 7846 | do | 
 | 7847 |   IFS=$as_save_IFS | 
 | 7848 |   test -z "$as_dir" && as_dir=. | 
 | 7849 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7850 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7851 |     ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext" | 
 | 7852 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7853 |     break 2 | 
 | 7854 |   fi | 
 | 7855 | done | 
 | 7856 | done | 
 | 7857 |  | 
 | 7858 |   ;; | 
 | 7859 | esac | 
 | 7860 | fi | 
 | 7861 | ETAGS=$ac_cv_path_ETAGS | 
 | 7862 |  | 
 | 7863 | if test -n "$ETAGS"; then | 
 | 7864 |   echo "$as_me:$LINENO: result: $ETAGS" >&5 | 
 | 7865 | echo "${ECHO_T}$ETAGS" >&6 | 
 | 7866 | else | 
 | 7867 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7868 | echo "${ECHO_T}no" >&6 | 
 | 7869 | fi | 
 | 7870 |  | 
 | 7871 | # Extract the first word of "purify", so it can be a program name with args. | 
 | 7872 | set dummy purify; ac_word=$2 | 
 | 7873 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7874 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7875 | if test "${ac_cv_path_PURIFY+set}" = set; then | 
 | 7876 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7877 | else | 
 | 7878 |   case $PURIFY in | 
 | 7879 |   [\\/]* | ?:[\\/]*) | 
 | 7880 |   ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path. | 
 | 7881 |   ;; | 
 | 7882 |   *) | 
 | 7883 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7884 | for as_dir in $PATH | 
 | 7885 | do | 
 | 7886 |   IFS=$as_save_IFS | 
 | 7887 |   test -z "$as_dir" && as_dir=. | 
 | 7888 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7889 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7890 |     ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext" | 
 | 7891 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7892 |     break 2 | 
 | 7893 |   fi | 
 | 7894 | done | 
 | 7895 | done | 
 | 7896 |  | 
 | 7897 |   ;; | 
 | 7898 | esac | 
 | 7899 | fi | 
 | 7900 | PURIFY=$ac_cv_path_PURIFY | 
 | 7901 |  | 
 | 7902 | if test -n "$PURIFY"; then | 
 | 7903 |   echo "$as_me:$LINENO: result: $PURIFY" >&5 | 
 | 7904 | echo "${ECHO_T}$PURIFY" >&6 | 
 | 7905 | else | 
 | 7906 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7907 | echo "${ECHO_T}no" >&6 | 
 | 7908 | fi | 
 | 7909 |  | 
 | 7910 |  | 
 | 7911 |  | 
 | 7912 |  | 
 | 7913 |  | 
 | 7914 |  | 
 | 7915 | echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | 
 | 7916 | echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 | 
 | 7917 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 
 | 7918 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7919 | else | 
 | 7920 |   ac_check_lib_save_LIBS=$LIBS | 
 | 7921 | LIBS="-lelf  $LIBS" | 
 | 7922 | cat >conftest.$ac_ext <<_ACEOF | 
 | 7923 | #line $LINENO "configure" | 
 | 7924 | #include "confdefs.h" | 
 | 7925 |  | 
 | 7926 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 7927 | #ifdef __cplusplus | 
 | 7928 | extern "C" | 
 | 7929 | #endif | 
 | 7930 | /* We use char because int might match the return type of a gcc2 | 
 | 7931 |    builtin and then its argument prototype would still apply.  */ | 
 | 7932 | char elf_begin (); | 
 | 7933 | #ifdef F77_DUMMY_MAIN | 
 | 7934 | #  ifdef __cplusplus | 
 | 7935 |      extern "C" | 
 | 7936 | #  endif | 
 | 7937 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 7938 | #endif | 
 | 7939 | int | 
 | 7940 | main () | 
 | 7941 | { | 
 | 7942 | elf_begin (); | 
 | 7943 |   ; | 
 | 7944 |   return 0; | 
 | 7945 | } | 
 | 7946 | _ACEOF | 
 | 7947 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 7948 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 7949 |   (eval $ac_link) 2>&5 | 
 | 7950 |   ac_status=$? | 
 | 7951 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7952 |   (exit $ac_status); } && | 
 | 7953 |          { ac_try='test -s conftest$ac_exeext' | 
 | 7954 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 7955 |   (eval $ac_try) 2>&5 | 
 | 7956 |   ac_status=$? | 
 | 7957 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7958 |   (exit $ac_status); }; }; then | 
 | 7959 |   ac_cv_lib_elf_elf_begin=yes | 
 | 7960 | else | 
 | 7961 |   echo "$as_me: failed program was:" >&5 | 
 | 7962 | cat conftest.$ac_ext >&5 | 
 | 7963 | ac_cv_lib_elf_elf_begin=no | 
 | 7964 | fi | 
 | 7965 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 7966 | LIBS=$ac_check_lib_save_LIBS | 
 | 7967 | fi | 
 | 7968 | echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | 
 | 7969 | echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 | 
 | 7970 | if test $ac_cv_lib_elf_elf_begin = yes; then | 
 | 7971 |   cat >>confdefs.h <<_ACEOF | 
 | 7972 | #define HAVE_LIBELF 1 | 
 | 7973 | _ACEOF | 
 | 7974 |  | 
 | 7975 |   LIBS="-lelf $LIBS" | 
 | 7976 |  | 
 | 7977 | fi | 
 | 7978 |  | 
 | 7979 |  | 
 | 7980 | echo "$as_me:$LINENO: checking for library containing dlopen" >&5 | 
 | 7981 | echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6 | 
 | 7982 | if test "${ac_cv_search_dlopen+set}" = set; then | 
 | 7983 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7984 | else | 
 | 7985 |   ac_func_search_save_LIBS=$LIBS | 
 | 7986 | ac_cv_search_dlopen=no | 
 | 7987 | cat >conftest.$ac_ext <<_ACEOF | 
 | 7988 | #line $LINENO "configure" | 
 | 7989 | #include "confdefs.h" | 
 | 7990 |  | 
 | 7991 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 7992 | #ifdef __cplusplus | 
 | 7993 | extern "C" | 
 | 7994 | #endif | 
 | 7995 | /* We use char because int might match the return type of a gcc2 | 
 | 7996 |    builtin and then its argument prototype would still apply.  */ | 
 | 7997 | char dlopen (); | 
 | 7998 | #ifdef F77_DUMMY_MAIN | 
 | 7999 | #  ifdef __cplusplus | 
 | 8000 |      extern "C" | 
 | 8001 | #  endif | 
 | 8002 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8003 | #endif | 
 | 8004 | int | 
 | 8005 | main () | 
 | 8006 | { | 
 | 8007 | dlopen (); | 
 | 8008 |   ; | 
 | 8009 |   return 0; | 
 | 8010 | } | 
 | 8011 | _ACEOF | 
 | 8012 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8013 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8014 |   (eval $ac_link) 2>&5 | 
 | 8015 |   ac_status=$? | 
 | 8016 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8017 |   (exit $ac_status); } && | 
 | 8018 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8019 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8020 |   (eval $ac_try) 2>&5 | 
 | 8021 |   ac_status=$? | 
 | 8022 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8023 |   (exit $ac_status); }; }; then | 
 | 8024 |   ac_cv_search_dlopen="none required" | 
 | 8025 | else | 
 | 8026 |   echo "$as_me: failed program was:" >&5 | 
 | 8027 | cat conftest.$ac_ext >&5 | 
 | 8028 | fi | 
 | 8029 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8030 | if test "$ac_cv_search_dlopen" = no; then | 
 | 8031 |   for ac_lib in dl; do | 
 | 8032 |     LIBS="-l$ac_lib  $ac_func_search_save_LIBS" | 
 | 8033 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 8034 | #line $LINENO "configure" | 
 | 8035 | #include "confdefs.h" | 
 | 8036 |  | 
 | 8037 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8038 | #ifdef __cplusplus | 
 | 8039 | extern "C" | 
 | 8040 | #endif | 
 | 8041 | /* We use char because int might match the return type of a gcc2 | 
 | 8042 |    builtin and then its argument prototype would still apply.  */ | 
 | 8043 | char dlopen (); | 
 | 8044 | #ifdef F77_DUMMY_MAIN | 
 | 8045 | #  ifdef __cplusplus | 
 | 8046 |      extern "C" | 
 | 8047 | #  endif | 
 | 8048 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8049 | #endif | 
 | 8050 | int | 
 | 8051 | main () | 
 | 8052 | { | 
 | 8053 | dlopen (); | 
 | 8054 |   ; | 
 | 8055 |   return 0; | 
 | 8056 | } | 
 | 8057 | _ACEOF | 
 | 8058 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8059 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8060 |   (eval $ac_link) 2>&5 | 
 | 8061 |   ac_status=$? | 
 | 8062 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8063 |   (exit $ac_status); } && | 
 | 8064 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8065 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8066 |   (eval $ac_try) 2>&5 | 
 | 8067 |   ac_status=$? | 
 | 8068 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8069 |   (exit $ac_status); }; }; then | 
 | 8070 |   ac_cv_search_dlopen="-l$ac_lib" | 
 | 8071 | break | 
 | 8072 | else | 
 | 8073 |   echo "$as_me: failed program was:" >&5 | 
 | 8074 | cat conftest.$ac_ext >&5 | 
 | 8075 | fi | 
 | 8076 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8077 |   done | 
 | 8078 | fi | 
 | 8079 | LIBS=$ac_func_search_save_LIBS | 
 | 8080 | fi | 
 | 8081 | echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 | 
 | 8082 | echo "${ECHO_T}$ac_cv_search_dlopen" >&6 | 
 | 8083 | if test "$ac_cv_search_dlopen" != no; then | 
 | 8084 |   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS" | 
 | 8085 |  | 
 | 8086 | else | 
 | 8087 |   { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5 | 
 | 8088 | echo "$as_me: error: dlopen() required but not found" >&2;} | 
 | 8089 |    { (exit 1); exit 1; }; } | 
 | 8090 | fi | 
 | 8091 |  | 
 | 8092 |  | 
 | 8093 | echo "$as_me:$LINENO: checking for library containing mallinfo" >&5 | 
 | 8094 | echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6 | 
 | 8095 | if test "${ac_cv_search_mallinfo+set}" = set; then | 
 | 8096 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8097 | else | 
 | 8098 |   ac_func_search_save_LIBS=$LIBS | 
 | 8099 | ac_cv_search_mallinfo=no | 
 | 8100 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8101 | #line $LINENO "configure" | 
 | 8102 | #include "confdefs.h" | 
 | 8103 |  | 
 | 8104 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8105 | #ifdef __cplusplus | 
 | 8106 | extern "C" | 
 | 8107 | #endif | 
 | 8108 | /* We use char because int might match the return type of a gcc2 | 
 | 8109 |    builtin and then its argument prototype would still apply.  */ | 
 | 8110 | char mallinfo (); | 
 | 8111 | #ifdef F77_DUMMY_MAIN | 
 | 8112 | #  ifdef __cplusplus | 
 | 8113 |      extern "C" | 
 | 8114 | #  endif | 
 | 8115 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8116 | #endif | 
 | 8117 | int | 
 | 8118 | main () | 
 | 8119 | { | 
 | 8120 | mallinfo (); | 
 | 8121 |   ; | 
 | 8122 |   return 0; | 
 | 8123 | } | 
 | 8124 | _ACEOF | 
 | 8125 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8126 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8127 |   (eval $ac_link) 2>&5 | 
 | 8128 |   ac_status=$? | 
 | 8129 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8130 |   (exit $ac_status); } && | 
 | 8131 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8132 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8133 |   (eval $ac_try) 2>&5 | 
 | 8134 |   ac_status=$? | 
 | 8135 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8136 |   (exit $ac_status); }; }; then | 
 | 8137 |   ac_cv_search_mallinfo="none required" | 
 | 8138 | else | 
 | 8139 |   echo "$as_me: failed program was:" >&5 | 
 | 8140 | cat conftest.$ac_ext >&5 | 
 | 8141 | fi | 
 | 8142 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8143 | if test "$ac_cv_search_mallinfo" = no; then | 
 | 8144 |   for ac_lib in malloc; do | 
 | 8145 |     LIBS="-l$ac_lib  $ac_func_search_save_LIBS" | 
 | 8146 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 8147 | #line $LINENO "configure" | 
 | 8148 | #include "confdefs.h" | 
 | 8149 |  | 
 | 8150 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8151 | #ifdef __cplusplus | 
 | 8152 | extern "C" | 
 | 8153 | #endif | 
 | 8154 | /* We use char because int might match the return type of a gcc2 | 
 | 8155 |    builtin and then its argument prototype would still apply.  */ | 
 | 8156 | char mallinfo (); | 
 | 8157 | #ifdef F77_DUMMY_MAIN | 
 | 8158 | #  ifdef __cplusplus | 
 | 8159 |      extern "C" | 
 | 8160 | #  endif | 
 | 8161 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8162 | #endif | 
 | 8163 | int | 
 | 8164 | main () | 
 | 8165 | { | 
 | 8166 | mallinfo (); | 
 | 8167 |   ; | 
 | 8168 |   return 0; | 
 | 8169 | } | 
 | 8170 | _ACEOF | 
 | 8171 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8172 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8173 |   (eval $ac_link) 2>&5 | 
 | 8174 |   ac_status=$? | 
 | 8175 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8176 |   (exit $ac_status); } && | 
 | 8177 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8178 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8179 |   (eval $ac_try) 2>&5 | 
 | 8180 |   ac_status=$? | 
 | 8181 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8182 |   (exit $ac_status); }; }; then | 
 | 8183 |   ac_cv_search_mallinfo="-l$ac_lib" | 
 | 8184 | break | 
 | 8185 | else | 
 | 8186 |   echo "$as_me: failed program was:" >&5 | 
 | 8187 | cat conftest.$ac_ext >&5 | 
 | 8188 | fi | 
 | 8189 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8190 |   done | 
 | 8191 | fi | 
 | 8192 | LIBS=$ac_func_search_save_LIBS | 
 | 8193 | fi | 
 | 8194 | echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5 | 
 | 8195 | echo "${ECHO_T}$ac_cv_search_mallinfo" >&6 | 
 | 8196 | if test "$ac_cv_search_mallinfo" != no; then | 
 | 8197 |   test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS" | 
 | 8198 |   cat >>confdefs.h <<\_ACEOF | 
 | 8199 | #define HAVE_MALLINFO 1 | 
 | 8200 | _ACEOF | 
 | 8201 |  | 
 | 8202 | fi | 
 | 8203 |  | 
 | 8204 |  | 
 | 8205 |  | 
 | 8206 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
 | 8207 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
 | 8208 | if test "${ac_cv_header_stdc+set}" = set; then | 
 | 8209 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8210 | else | 
 | 8211 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8212 | #line $LINENO "configure" | 
 | 8213 | #include "confdefs.h" | 
 | 8214 | #include <stdlib.h> | 
 | 8215 | #include <stdarg.h> | 
 | 8216 | #include <string.h> | 
 | 8217 | #include <float.h> | 
 | 8218 |  | 
 | 8219 | _ACEOF | 
 | 8220 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 8221 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 8222 |   ac_status=$? | 
 | 8223 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 8224 |   rm -f conftest.er1 | 
 | 8225 |   cat conftest.err >&5 | 
 | 8226 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8227 |   (exit $ac_status); } >/dev/null; then | 
 | 8228 |   if test -s conftest.err; then | 
 | 8229 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 8230 |   else | 
 | 8231 |     ac_cpp_err= | 
 | 8232 |   fi | 
 | 8233 | else | 
 | 8234 |   ac_cpp_err=yes | 
 | 8235 | fi | 
 | 8236 | if test -z "$ac_cpp_err"; then | 
 | 8237 |   ac_cv_header_stdc=yes | 
 | 8238 | else | 
 | 8239 |   echo "$as_me: failed program was:" >&5 | 
 | 8240 |   cat conftest.$ac_ext >&5 | 
 | 8241 |   ac_cv_header_stdc=no | 
 | 8242 | fi | 
 | 8243 | rm -f conftest.err conftest.$ac_ext | 
 | 8244 |  | 
 | 8245 | if test $ac_cv_header_stdc = yes; then | 
 | 8246 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
 | 8247 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8248 | #line $LINENO "configure" | 
 | 8249 | #include "confdefs.h" | 
 | 8250 | #include <string.h> | 
 | 8251 |  | 
 | 8252 | _ACEOF | 
 | 8253 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 8254 |   egrep "memchr" >/dev/null 2>&1; then | 
 | 8255 |   : | 
 | 8256 | else | 
 | 8257 |   ac_cv_header_stdc=no | 
 | 8258 | fi | 
 | 8259 | rm -f conftest* | 
 | 8260 |  | 
 | 8261 | fi | 
 | 8262 |  | 
 | 8263 | if test $ac_cv_header_stdc = yes; then | 
 | 8264 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
 | 8265 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8266 | #line $LINENO "configure" | 
 | 8267 | #include "confdefs.h" | 
 | 8268 | #include <stdlib.h> | 
 | 8269 |  | 
 | 8270 | _ACEOF | 
 | 8271 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 8272 |   egrep "free" >/dev/null 2>&1; then | 
 | 8273 |   : | 
 | 8274 | else | 
 | 8275 |   ac_cv_header_stdc=no | 
 | 8276 | fi | 
 | 8277 | rm -f conftest* | 
 | 8278 |  | 
 | 8279 | fi | 
 | 8280 |  | 
 | 8281 | if test $ac_cv_header_stdc = yes; then | 
 | 8282 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
 | 8283 |   if test "$cross_compiling" = yes; then | 
 | 8284 |   : | 
 | 8285 | else | 
 | 8286 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8287 | #line $LINENO "configure" | 
 | 8288 | #include "confdefs.h" | 
 | 8289 | #include <ctype.h> | 
 | 8290 | #if ((' ' & 0x0FF) == 0x020) | 
 | 8291 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
 | 8292 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
 | 8293 | #else | 
 | 8294 | # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | 
 | 8295 |                      || ('j' <= (c) && (c) <= 'r') \ | 
 | 8296 |                      || ('s' <= (c) && (c) <= 'z')) | 
 | 8297 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
 | 8298 | #endif | 
 | 8299 |  | 
 | 8300 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
 | 8301 | int | 
 | 8302 | main () | 
 | 8303 | { | 
 | 8304 |   int i; | 
 | 8305 |   for (i = 0; i < 256; i++) | 
 | 8306 |     if (XOR (islower (i), ISLOWER (i)) | 
 | 8307 |         || toupper (i) != TOUPPER (i)) | 
 | 8308 |       exit(2); | 
 | 8309 |   exit (0); | 
 | 8310 | } | 
 | 8311 | _ACEOF | 
 | 8312 | rm -f conftest$ac_exeext | 
 | 8313 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8314 |   (eval $ac_link) 2>&5 | 
 | 8315 |   ac_status=$? | 
 | 8316 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8317 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 8318 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8319 |   (eval $ac_try) 2>&5 | 
 | 8320 |   ac_status=$? | 
 | 8321 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8322 |   (exit $ac_status); }; }; then | 
 | 8323 |   : | 
 | 8324 | else | 
 | 8325 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 8326 | echo "$as_me: failed program was:" >&5 | 
 | 8327 | cat conftest.$ac_ext >&5 | 
 | 8328 | ( exit $ac_status ) | 
 | 8329 | ac_cv_header_stdc=no | 
 | 8330 | fi | 
 | 8331 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 8332 | fi | 
 | 8333 | fi | 
 | 8334 | fi | 
 | 8335 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
 | 8336 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
 | 8337 | if test $ac_cv_header_stdc = yes; then | 
 | 8338 |  | 
 | 8339 | cat >>confdefs.h <<\_ACEOF | 
 | 8340 | #define STDC_HEADERS 1 | 
 | 8341 | _ACEOF | 
 | 8342 |  | 
 | 8343 | fi | 
 | 8344 |  | 
 | 8345 | echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 
 | 8346 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 | 
 | 8347 | if test "${ac_cv_header_sys_wait_h+set}" = set; then | 
 | 8348 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8349 | else | 
 | 8350 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8351 | #line $LINENO "configure" | 
 | 8352 | #include "confdefs.h" | 
 | 8353 | #include <sys/types.h> | 
 | 8354 | #include <sys/wait.h> | 
 | 8355 | #ifndef WEXITSTATUS | 
 | 8356 | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 
 | 8357 | #endif | 
 | 8358 | #ifndef WIFEXITED | 
 | 8359 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | 
 | 8360 | #endif | 
 | 8361 |  | 
 | 8362 | #ifdef F77_DUMMY_MAIN | 
 | 8363 | #  ifdef __cplusplus | 
 | 8364 |      extern "C" | 
 | 8365 | #  endif | 
 | 8366 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8367 | #endif | 
 | 8368 | int | 
 | 8369 | main () | 
 | 8370 | { | 
 | 8371 |   int s; | 
 | 8372 |   wait (&s); | 
 | 8373 |   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 
 | 8374 |   ; | 
 | 8375 |   return 0; | 
 | 8376 | } | 
 | 8377 | _ACEOF | 
 | 8378 | rm -f conftest.$ac_objext | 
 | 8379 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8380 |   (eval $ac_compile) 2>&5 | 
 | 8381 |   ac_status=$? | 
 | 8382 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8383 |   (exit $ac_status); } && | 
 | 8384 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8385 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8386 |   (eval $ac_try) 2>&5 | 
 | 8387 |   ac_status=$? | 
 | 8388 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8389 |   (exit $ac_status); }; }; then | 
 | 8390 |   ac_cv_header_sys_wait_h=yes | 
 | 8391 | else | 
 | 8392 |   echo "$as_me: failed program was:" >&5 | 
 | 8393 | cat conftest.$ac_ext >&5 | 
 | 8394 | ac_cv_header_sys_wait_h=no | 
 | 8395 | fi | 
 | 8396 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8397 | fi | 
 | 8398 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 
 | 8399 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 | 
 | 8400 | if test $ac_cv_header_sys_wait_h = yes; then | 
 | 8401 |  | 
 | 8402 | cat >>confdefs.h <<\_ACEOF | 
 | 8403 | #define HAVE_SYS_WAIT_H 1 | 
 | 8404 | _ACEOF | 
 | 8405 |  | 
 | 8406 | fi | 
 | 8407 |  | 
 | 8408 |  | 
 | 8409 |  | 
 | 8410 |  | 
 | 8411 |  | 
 | 8412 |  | 
 | 8413 |  | 
 | 8414 |  | 
 | 8415 |  | 
 | 8416 |  | 
 | 8417 | for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h | 
 | 8418 | do | 
 | 8419 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 8420 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8421 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8422 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8423 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8424 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8425 | fi | 
 | 8426 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8427 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8428 | else | 
 | 8429 |   # Is the header compilable? | 
 | 8430 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 8431 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 8432 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8433 | #line $LINENO "configure" | 
 | 8434 | #include "confdefs.h" | 
 | 8435 | $ac_includes_default | 
 | 8436 | #include <$ac_header> | 
 | 8437 | _ACEOF | 
 | 8438 | rm -f conftest.$ac_objext | 
 | 8439 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8440 |   (eval $ac_compile) 2>&5 | 
 | 8441 |   ac_status=$? | 
 | 8442 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8443 |   (exit $ac_status); } && | 
 | 8444 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8445 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8446 |   (eval $ac_try) 2>&5 | 
 | 8447 |   ac_status=$? | 
 | 8448 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8449 |   (exit $ac_status); }; }; then | 
 | 8450 |   ac_header_compiler=yes | 
 | 8451 | else | 
 | 8452 |   echo "$as_me: failed program was:" >&5 | 
 | 8453 | cat conftest.$ac_ext >&5 | 
 | 8454 | ac_header_compiler=no | 
 | 8455 | fi | 
 | 8456 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8457 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 8458 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 8459 |  | 
 | 8460 | # Is the header present? | 
 | 8461 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 8462 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 8463 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8464 | #line $LINENO "configure" | 
 | 8465 | #include "confdefs.h" | 
 | 8466 | #include <$ac_header> | 
 | 8467 | _ACEOF | 
 | 8468 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 8469 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 8470 |   ac_status=$? | 
 | 8471 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 8472 |   rm -f conftest.er1 | 
 | 8473 |   cat conftest.err >&5 | 
 | 8474 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8475 |   (exit $ac_status); } >/dev/null; then | 
 | 8476 |   if test -s conftest.err; then | 
 | 8477 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 8478 |   else | 
 | 8479 |     ac_cpp_err= | 
 | 8480 |   fi | 
 | 8481 | else | 
 | 8482 |   ac_cpp_err=yes | 
 | 8483 | fi | 
 | 8484 | if test -z "$ac_cpp_err"; then | 
 | 8485 |   ac_header_preproc=yes | 
 | 8486 | else | 
 | 8487 |   echo "$as_me: failed program was:" >&5 | 
 | 8488 |   cat conftest.$ac_ext >&5 | 
 | 8489 |   ac_header_preproc=no | 
 | 8490 | fi | 
 | 8491 | rm -f conftest.err conftest.$ac_ext | 
 | 8492 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 8493 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 8494 |  | 
 | 8495 | # So?  What about this header? | 
 | 8496 | case $ac_header_compiler:$ac_header_preproc in | 
 | 8497 |   yes:no ) | 
 | 8498 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 8499 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 8500 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8501 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8502 |   no:yes ) | 
 | 8503 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 8504 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 8505 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 8506 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 8507 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8508 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8509 | esac | 
 | 8510 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8511 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8512 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8513 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8514 | else | 
 | 8515 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 8516 | fi | 
 | 8517 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8518 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8519 |  | 
 | 8520 | fi | 
 | 8521 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 8522 |   cat >>confdefs.h <<_ACEOF | 
 | 8523 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 8524 | _ACEOF | 
 | 8525 |  | 
 | 8526 | fi | 
 | 8527 |  | 
 | 8528 | done | 
 | 8529 |  | 
 | 8530 |  | 
 | 8531 |  | 
 | 8532 |  | 
 | 8533 |  | 
 | 8534 |  | 
 | 8535 | for ac_header in malloc.h strings.h sys/mman.h sys/resource.h | 
 | 8536 | do | 
 | 8537 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 8538 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8539 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8540 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8541 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8542 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8543 | fi | 
 | 8544 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8545 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8546 | else | 
 | 8547 |   # Is the header compilable? | 
 | 8548 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 8549 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 8550 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8551 | #line $LINENO "configure" | 
 | 8552 | #include "confdefs.h" | 
 | 8553 | $ac_includes_default | 
 | 8554 | #include <$ac_header> | 
 | 8555 | _ACEOF | 
 | 8556 | rm -f conftest.$ac_objext | 
 | 8557 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8558 |   (eval $ac_compile) 2>&5 | 
 | 8559 |   ac_status=$? | 
 | 8560 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8561 |   (exit $ac_status); } && | 
 | 8562 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8563 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8564 |   (eval $ac_try) 2>&5 | 
 | 8565 |   ac_status=$? | 
 | 8566 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8567 |   (exit $ac_status); }; }; then | 
 | 8568 |   ac_header_compiler=yes | 
 | 8569 | else | 
 | 8570 |   echo "$as_me: failed program was:" >&5 | 
 | 8571 | cat conftest.$ac_ext >&5 | 
 | 8572 | ac_header_compiler=no | 
 | 8573 | fi | 
 | 8574 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8575 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 8576 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 8577 |  | 
 | 8578 | # Is the header present? | 
 | 8579 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 8580 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 8581 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8582 | #line $LINENO "configure" | 
 | 8583 | #include "confdefs.h" | 
 | 8584 | #include <$ac_header> | 
 | 8585 | _ACEOF | 
 | 8586 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 8587 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 8588 |   ac_status=$? | 
 | 8589 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 8590 |   rm -f conftest.er1 | 
 | 8591 |   cat conftest.err >&5 | 
 | 8592 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8593 |   (exit $ac_status); } >/dev/null; then | 
 | 8594 |   if test -s conftest.err; then | 
 | 8595 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 8596 |   else | 
 | 8597 |     ac_cpp_err= | 
 | 8598 |   fi | 
 | 8599 | else | 
 | 8600 |   ac_cpp_err=yes | 
 | 8601 | fi | 
 | 8602 | if test -z "$ac_cpp_err"; then | 
 | 8603 |   ac_header_preproc=yes | 
 | 8604 | else | 
 | 8605 |   echo "$as_me: failed program was:" >&5 | 
 | 8606 |   cat conftest.$ac_ext >&5 | 
 | 8607 |   ac_header_preproc=no | 
 | 8608 | fi | 
 | 8609 | rm -f conftest.err conftest.$ac_ext | 
 | 8610 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 8611 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 8612 |  | 
 | 8613 | # So?  What about this header? | 
 | 8614 | case $ac_header_compiler:$ac_header_preproc in | 
 | 8615 |   yes:no ) | 
 | 8616 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 8617 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 8618 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8619 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8620 |   no:yes ) | 
 | 8621 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 8622 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 8623 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 8624 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 8625 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8626 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8627 | esac | 
 | 8628 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8629 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8630 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8631 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8632 | else | 
 | 8633 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 8634 | fi | 
 | 8635 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8636 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8637 |  | 
 | 8638 | fi | 
 | 8639 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 8640 |   cat >>confdefs.h <<_ACEOF | 
 | 8641 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 8642 | _ACEOF | 
 | 8643 |  | 
 | 8644 | fi | 
 | 8645 |  | 
 | 8646 | done | 
 | 8647 |  | 
 | 8648 |  | 
 | 8649 |  | 
 | 8650 |  | 
 | 8651 | for ac_header in dlfcn.h link.h | 
 | 8652 | do | 
 | 8653 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 8654 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8655 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8656 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8657 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8658 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8659 | fi | 
 | 8660 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8661 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8662 | else | 
 | 8663 |   # Is the header compilable? | 
 | 8664 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 8665 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 8666 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8667 | #line $LINENO "configure" | 
 | 8668 | #include "confdefs.h" | 
 | 8669 | $ac_includes_default | 
 | 8670 | #include <$ac_header> | 
 | 8671 | _ACEOF | 
 | 8672 | rm -f conftest.$ac_objext | 
 | 8673 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8674 |   (eval $ac_compile) 2>&5 | 
 | 8675 |   ac_status=$? | 
 | 8676 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8677 |   (exit $ac_status); } && | 
 | 8678 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8679 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8680 |   (eval $ac_try) 2>&5 | 
 | 8681 |   ac_status=$? | 
 | 8682 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8683 |   (exit $ac_status); }; }; then | 
 | 8684 |   ac_header_compiler=yes | 
 | 8685 | else | 
 | 8686 |   echo "$as_me: failed program was:" >&5 | 
 | 8687 | cat conftest.$ac_ext >&5 | 
 | 8688 | ac_header_compiler=no | 
 | 8689 | fi | 
 | 8690 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8691 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 8692 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 8693 |  | 
 | 8694 | # Is the header present? | 
 | 8695 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 8696 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 8697 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8698 | #line $LINENO "configure" | 
 | 8699 | #include "confdefs.h" | 
 | 8700 | #include <$ac_header> | 
 | 8701 | _ACEOF | 
 | 8702 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 8703 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 8704 |   ac_status=$? | 
 | 8705 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 8706 |   rm -f conftest.er1 | 
 | 8707 |   cat conftest.err >&5 | 
 | 8708 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8709 |   (exit $ac_status); } >/dev/null; then | 
 | 8710 |   if test -s conftest.err; then | 
 | 8711 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 8712 |   else | 
 | 8713 |     ac_cpp_err= | 
 | 8714 |   fi | 
 | 8715 | else | 
 | 8716 |   ac_cpp_err=yes | 
 | 8717 | fi | 
 | 8718 | if test -z "$ac_cpp_err"; then | 
 | 8719 |   ac_header_preproc=yes | 
 | 8720 | else | 
 | 8721 |   echo "$as_me: failed program was:" >&5 | 
 | 8722 |   cat conftest.$ac_ext >&5 | 
 | 8723 |   ac_header_preproc=no | 
 | 8724 | fi | 
 | 8725 | rm -f conftest.err conftest.$ac_ext | 
 | 8726 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 8727 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 8728 |  | 
 | 8729 | # So?  What about this header? | 
 | 8730 | case $ac_header_compiler:$ac_header_preproc in | 
 | 8731 |   yes:no ) | 
 | 8732 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 8733 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 8734 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8735 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8736 |   no:yes ) | 
 | 8737 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 8738 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 8739 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 8740 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 8741 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8742 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8743 | esac | 
 | 8744 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8745 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8746 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8747 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8748 | else | 
 | 8749 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 8750 | fi | 
 | 8751 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8752 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8753 |  | 
 | 8754 | fi | 
 | 8755 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 8756 |   cat >>confdefs.h <<_ACEOF | 
 | 8757 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 8758 | _ACEOF | 
 | 8759 |  | 
 | 8760 | fi | 
 | 8761 |  | 
 | 8762 | done | 
 | 8763 |  | 
 | 8764 |  | 
 | 8765 |  | 
 | 8766 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
 | 8767 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
 | 8768 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
 | 8769 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8770 | else | 
 | 8771 |   ac_cv_prog_cc_stdc=no | 
 | 8772 | ac_save_CC=$CC | 
 | 8773 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8774 | #line $LINENO "configure" | 
 | 8775 | #include "confdefs.h" | 
 | 8776 | #include <stdarg.h> | 
 | 8777 | #include <stdio.h> | 
 | 8778 | #include <sys/types.h> | 
 | 8779 | #include <sys/stat.h> | 
 | 8780 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
 | 8781 | struct buf { int x; }; | 
 | 8782 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
 | 8783 | static char *e (p, i) | 
 | 8784 |      char **p; | 
 | 8785 |      int i; | 
 | 8786 | { | 
 | 8787 |   return p[i]; | 
 | 8788 | } | 
 | 8789 | static char *f (char * (*g) (char **, int), char **p, ...) | 
 | 8790 | { | 
 | 8791 |   char *s; | 
 | 8792 |   va_list v; | 
 | 8793 |   va_start (v,p); | 
 | 8794 |   s = g (p, va_arg (v,int)); | 
 | 8795 |   va_end (v); | 
 | 8796 |   return s; | 
 | 8797 | } | 
 | 8798 | int test (int i, double x); | 
 | 8799 | struct s1 {int (*f) (int a);}; | 
 | 8800 | struct s2 {int (*f) (double a);}; | 
 | 8801 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
 | 8802 | int argc; | 
 | 8803 | char **argv; | 
 | 8804 | #ifdef F77_DUMMY_MAIN | 
 | 8805 | #  ifdef __cplusplus | 
 | 8806 |      extern "C" | 
 | 8807 | #  endif | 
 | 8808 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8809 | #endif | 
 | 8810 | int | 
 | 8811 | main () | 
 | 8812 | { | 
 | 8813 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
 | 8814 |   ; | 
 | 8815 |   return 0; | 
 | 8816 | } | 
 | 8817 | _ACEOF | 
 | 8818 | # Don't try gcc -ansi; that turns off useful extensions and | 
 | 8819 | # breaks some systems' header files. | 
 | 8820 | # AIX			-qlanglvl=ansi | 
 | 8821 | # Ultrix and OSF/1	-std1 | 
 | 8822 | # HP-UX 10.20 and later	-Ae | 
 | 8823 | # HP-UX older versions	-Aa -D_HPUX_SOURCE | 
 | 8824 | # SVR4			-Xc -D__EXTENSIONS__ | 
 | 8825 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
 | 8826 | do | 
 | 8827 |   CC="$ac_save_CC $ac_arg" | 
 | 8828 |   rm -f conftest.$ac_objext | 
 | 8829 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8830 |   (eval $ac_compile) 2>&5 | 
 | 8831 |   ac_status=$? | 
 | 8832 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8833 |   (exit $ac_status); } && | 
 | 8834 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8835 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8836 |   (eval $ac_try) 2>&5 | 
 | 8837 |   ac_status=$? | 
 | 8838 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8839 |   (exit $ac_status); }; }; then | 
 | 8840 |   ac_cv_prog_cc_stdc=$ac_arg | 
 | 8841 | break | 
 | 8842 | else | 
 | 8843 |   echo "$as_me: failed program was:" >&5 | 
 | 8844 | cat conftest.$ac_ext >&5 | 
 | 8845 | fi | 
 | 8846 | rm -f conftest.$ac_objext | 
 | 8847 | done | 
 | 8848 | rm -f conftest.$ac_ext conftest.$ac_objext | 
 | 8849 | CC=$ac_save_CC | 
 | 8850 |  | 
 | 8851 | fi | 
 | 8852 |  | 
 | 8853 | case "x$ac_cv_prog_cc_stdc" in | 
 | 8854 |   x|xno) | 
 | 8855 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
 | 8856 | echo "${ECHO_T}none needed" >&6 ;; | 
 | 8857 |   *) | 
 | 8858 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
 | 8859 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
 | 8860 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
 | 8861 | esac | 
 | 8862 |  | 
 | 8863 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 
 | 8864 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 
 | 8865 | if test "${ac_cv_c_const+set}" = set; then | 
 | 8866 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8867 | else | 
 | 8868 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8869 | #line $LINENO "configure" | 
 | 8870 | #include "confdefs.h" | 
 | 8871 |  | 
 | 8872 | #ifdef F77_DUMMY_MAIN | 
 | 8873 | #  ifdef __cplusplus | 
 | 8874 |      extern "C" | 
 | 8875 | #  endif | 
 | 8876 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8877 | #endif | 
 | 8878 | int | 
 | 8879 | main () | 
 | 8880 | { | 
 | 8881 | /* FIXME: Include the comments suggested by Paul. */ | 
 | 8882 | #ifndef __cplusplus | 
 | 8883 |   /* Ultrix mips cc rejects this.  */ | 
 | 8884 |   typedef int charset[2]; | 
 | 8885 |   const charset x; | 
 | 8886 |   /* SunOS 4.1.1 cc rejects this.  */ | 
 | 8887 |   char const *const *ccp; | 
 | 8888 |   char **p; | 
 | 8889 |   /* NEC SVR4.0.2 mips cc rejects this.  */ | 
 | 8890 |   struct point {int x, y;}; | 
 | 8891 |   static struct point const zero = {0,0}; | 
 | 8892 |   /* AIX XL C 1.02.0.0 rejects this. | 
 | 8893 |      It does not let you subtract one const X* pointer from another in | 
 | 8894 |      an arm of an if-expression whose if-part is not a constant | 
 | 8895 |      expression */ | 
 | 8896 |   const char *g = "string"; | 
 | 8897 |   ccp = &g + (g ? g-g : 0); | 
 | 8898 |   /* HPUX 7.0 cc rejects these. */ | 
 | 8899 |   ++ccp; | 
 | 8900 |   p = (char**) ccp; | 
 | 8901 |   ccp = (char const *const *) p; | 
 | 8902 |   { /* SCO 3.2v4 cc rejects this.  */ | 
 | 8903 |     char *t; | 
 | 8904 |     char const *s = 0 ? (char *) 0 : (char const *) 0; | 
 | 8905 |  | 
 | 8906 |     *t++ = 0; | 
 | 8907 |   } | 
 | 8908 |   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ | 
 | 8909 |     int x[] = {25, 17}; | 
 | 8910 |     const int *foo = &x[0]; | 
 | 8911 |     ++foo; | 
 | 8912 |   } | 
 | 8913 |   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | 
 | 8914 |     typedef const int *iptr; | 
 | 8915 |     iptr p = 0; | 
 | 8916 |     ++p; | 
 | 8917 |   } | 
 | 8918 |   { /* AIX XL C 1.02.0.0 rejects this saying | 
 | 8919 |        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | 
 | 8920 |     struct s { int j; const int *ap[3]; }; | 
 | 8921 |     struct s *b; b->j = 5; | 
 | 8922 |   } | 
 | 8923 |   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 
 | 8924 |     const int foo = 10; | 
 | 8925 |   } | 
 | 8926 | #endif | 
 | 8927 |  | 
 | 8928 |   ; | 
 | 8929 |   return 0; | 
 | 8930 | } | 
 | 8931 | _ACEOF | 
 | 8932 | rm -f conftest.$ac_objext | 
 | 8933 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8934 |   (eval $ac_compile) 2>&5 | 
 | 8935 |   ac_status=$? | 
 | 8936 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8937 |   (exit $ac_status); } && | 
 | 8938 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8939 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8940 |   (eval $ac_try) 2>&5 | 
 | 8941 |   ac_status=$? | 
 | 8942 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8943 |   (exit $ac_status); }; }; then | 
 | 8944 |   ac_cv_c_const=yes | 
 | 8945 | else | 
 | 8946 |   echo "$as_me: failed program was:" >&5 | 
 | 8947 | cat conftest.$ac_ext >&5 | 
 | 8948 | ac_cv_c_const=no | 
 | 8949 | fi | 
 | 8950 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8951 | fi | 
 | 8952 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 
 | 8953 | echo "${ECHO_T}$ac_cv_c_const" >&6 | 
 | 8954 | if test $ac_cv_c_const = no; then | 
 | 8955 |  | 
 | 8956 | cat >>confdefs.h <<\_ACEOF | 
 | 8957 | #define const | 
 | 8958 | _ACEOF | 
 | 8959 |  | 
 | 8960 | fi | 
 | 8961 |  | 
 | 8962 | echo "$as_me:$LINENO: checking for inline" >&5 | 
 | 8963 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | 
 | 8964 | if test "${ac_cv_c_inline+set}" = set; then | 
 | 8965 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8966 | else | 
 | 8967 |   ac_cv_c_inline=no | 
 | 8968 | for ac_kw in inline __inline__ __inline; do | 
 | 8969 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8970 | #line $LINENO "configure" | 
 | 8971 | #include "confdefs.h" | 
 | 8972 | #ifndef __cplusplus | 
 | 8973 | static $ac_kw int static_foo () {return 0; } | 
 | 8974 | $ac_kw int foo () {return 0; } | 
 | 8975 | #endif | 
 | 8976 |  | 
 | 8977 | _ACEOF | 
 | 8978 | rm -f conftest.$ac_objext | 
 | 8979 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8980 |   (eval $ac_compile) 2>&5 | 
 | 8981 |   ac_status=$? | 
 | 8982 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8983 |   (exit $ac_status); } && | 
 | 8984 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8985 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8986 |   (eval $ac_try) 2>&5 | 
 | 8987 |   ac_status=$? | 
 | 8988 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8989 |   (exit $ac_status); }; }; then | 
 | 8990 |   ac_cv_c_inline=$ac_kw; break | 
 | 8991 | else | 
 | 8992 |   echo "$as_me: failed program was:" >&5 | 
 | 8993 | cat conftest.$ac_ext >&5 | 
 | 8994 | fi | 
 | 8995 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8996 | done | 
 | 8997 |  | 
 | 8998 | fi | 
 | 8999 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 
 | 9000 | echo "${ECHO_T}$ac_cv_c_inline" >&6 | 
 | 9001 | case $ac_cv_c_inline in | 
 | 9002 |   inline | yes) ;; | 
 | 9003 |   no) | 
 | 9004 | cat >>confdefs.h <<\_ACEOF | 
 | 9005 | #define inline | 
 | 9006 | _ACEOF | 
 | 9007 |  ;; | 
 | 9008 |   *)  cat >>confdefs.h <<_ACEOF | 
 | 9009 | #define inline $ac_cv_c_inline | 
 | 9010 | _ACEOF | 
 | 9011 |  ;; | 
 | 9012 | esac | 
 | 9013 |  | 
 | 9014 |  | 
 | 9015 | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | 
 | 9016 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 | 
 | 9017 | if test "${ac_cv_c_bigendian+set}" = set; then | 
 | 9018 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9019 | else | 
 | 9020 |   # See if sys/param.h defines the BYTE_ORDER macro. | 
 | 9021 | cat >conftest.$ac_ext <<_ACEOF | 
 | 9022 | #line $LINENO "configure" | 
 | 9023 | #include "confdefs.h" | 
 | 9024 | #include <sys/types.h> | 
 | 9025 | #include <sys/param.h> | 
 | 9026 |  | 
 | 9027 | #ifdef F77_DUMMY_MAIN | 
 | 9028 | #  ifdef __cplusplus | 
 | 9029 |      extern "C" | 
 | 9030 | #  endif | 
 | 9031 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9032 | #endif | 
 | 9033 | int | 
 | 9034 | main () | 
 | 9035 | { | 
 | 9036 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 
 | 9037 |  bogus endian macros | 
 | 9038 | #endif | 
 | 9039 |  | 
 | 9040 |   ; | 
 | 9041 |   return 0; | 
 | 9042 | } | 
 | 9043 | _ACEOF | 
 | 9044 | rm -f conftest.$ac_objext | 
 | 9045 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9046 |   (eval $ac_compile) 2>&5 | 
 | 9047 |   ac_status=$? | 
 | 9048 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9049 |   (exit $ac_status); } && | 
 | 9050 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9051 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9052 |   (eval $ac_try) 2>&5 | 
 | 9053 |   ac_status=$? | 
 | 9054 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9055 |   (exit $ac_status); }; }; then | 
 | 9056 |   # It does; now see whether it defined to BIG_ENDIAN or not. | 
 | 9057 | cat >conftest.$ac_ext <<_ACEOF | 
 | 9058 | #line $LINENO "configure" | 
 | 9059 | #include "confdefs.h" | 
 | 9060 | #include <sys/types.h> | 
 | 9061 | #include <sys/param.h> | 
 | 9062 |  | 
 | 9063 | #ifdef F77_DUMMY_MAIN | 
 | 9064 | #  ifdef __cplusplus | 
 | 9065 |      extern "C" | 
 | 9066 | #  endif | 
 | 9067 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9068 | #endif | 
 | 9069 | int | 
 | 9070 | main () | 
 | 9071 | { | 
 | 9072 | #if BYTE_ORDER != BIG_ENDIAN | 
 | 9073 |  not big endian | 
 | 9074 | #endif | 
 | 9075 |  | 
 | 9076 |   ; | 
 | 9077 |   return 0; | 
 | 9078 | } | 
 | 9079 | _ACEOF | 
 | 9080 | rm -f conftest.$ac_objext | 
 | 9081 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9082 |   (eval $ac_compile) 2>&5 | 
 | 9083 |   ac_status=$? | 
 | 9084 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9085 |   (exit $ac_status); } && | 
 | 9086 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9087 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9088 |   (eval $ac_try) 2>&5 | 
 | 9089 |   ac_status=$? | 
 | 9090 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9091 |   (exit $ac_status); }; }; then | 
 | 9092 |   ac_cv_c_bigendian=yes | 
 | 9093 | else | 
 | 9094 |   echo "$as_me: failed program was:" >&5 | 
 | 9095 | cat conftest.$ac_ext >&5 | 
 | 9096 | ac_cv_c_bigendian=no | 
 | 9097 | fi | 
 | 9098 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9099 | else | 
 | 9100 |   echo "$as_me: failed program was:" >&5 | 
 | 9101 | cat conftest.$ac_ext >&5 | 
 | 9102 | # It does not; compile a test program. | 
 | 9103 | if test "$cross_compiling" = yes; then | 
 | 9104 |   # try to guess the endianess by grep'ing values into an object file | 
 | 9105 |   ac_cv_c_bigendian=unknown | 
 | 9106 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9107 | #line $LINENO "configure" | 
 | 9108 | #include "confdefs.h" | 
 | 9109 | short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | 
 | 9110 | short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | 
 | 9111 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | 
 | 9112 | short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | 
 | 9113 | short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | 
 | 9114 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | 
 | 9115 | #ifdef F77_DUMMY_MAIN | 
 | 9116 | #  ifdef __cplusplus | 
 | 9117 |      extern "C" | 
 | 9118 | #  endif | 
 | 9119 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9120 | #endif | 
 | 9121 | int | 
 | 9122 | main () | 
 | 9123 | { | 
 | 9124 |  _ascii (); _ebcdic (); | 
 | 9125 |   ; | 
 | 9126 |   return 0; | 
 | 9127 | } | 
 | 9128 | _ACEOF | 
 | 9129 | rm -f conftest.$ac_objext | 
 | 9130 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9131 |   (eval $ac_compile) 2>&5 | 
 | 9132 |   ac_status=$? | 
 | 9133 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9134 |   (exit $ac_status); } && | 
 | 9135 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9136 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9137 |   (eval $ac_try) 2>&5 | 
 | 9138 |   ac_status=$? | 
 | 9139 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9140 |   (exit $ac_status); }; }; then | 
 | 9141 |   if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | 
 | 9142 |   ac_cv_c_bigendian=yes | 
 | 9143 | fi | 
 | 9144 | if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | 
 | 9145 |   if test "$ac_cv_c_bigendian" = unknown; then | 
 | 9146 |     ac_cv_c_bigendian=no | 
 | 9147 |   else | 
 | 9148 |     # finding both strings is unlikely to happen, but who knows? | 
 | 9149 |     ac_cv_c_bigendian=unknown | 
 | 9150 |   fi | 
 | 9151 | fi | 
 | 9152 | else | 
 | 9153 |   echo "$as_me: failed program was:" >&5 | 
 | 9154 | cat conftest.$ac_ext >&5 | 
 | 9155 | fi | 
 | 9156 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9157 | else | 
 | 9158 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9159 | #line $LINENO "configure" | 
 | 9160 | #include "confdefs.h" | 
 | 9161 | int | 
 | 9162 | main () | 
 | 9163 | { | 
 | 9164 |   /* Are we little or big endian?  From Harbison&Steele.  */ | 
 | 9165 |   union | 
 | 9166 |   { | 
 | 9167 |     long l; | 
 | 9168 |     char c[sizeof (long)]; | 
 | 9169 |   } u; | 
 | 9170 |   u.l = 1; | 
 | 9171 |   exit (u.c[sizeof (long) - 1] == 1); | 
 | 9172 | } | 
 | 9173 | _ACEOF | 
 | 9174 | rm -f conftest$ac_exeext | 
 | 9175 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 9176 |   (eval $ac_link) 2>&5 | 
 | 9177 |   ac_status=$? | 
 | 9178 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9179 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 9180 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9181 |   (eval $ac_try) 2>&5 | 
 | 9182 |   ac_status=$? | 
 | 9183 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9184 |   (exit $ac_status); }; }; then | 
 | 9185 |   ac_cv_c_bigendian=no | 
 | 9186 | else | 
 | 9187 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 9188 | echo "$as_me: failed program was:" >&5 | 
 | 9189 | cat conftest.$ac_ext >&5 | 
 | 9190 | ( exit $ac_status ) | 
 | 9191 | ac_cv_c_bigendian=yes | 
 | 9192 | fi | 
 | 9193 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 9194 | fi | 
 | 9195 | fi | 
 | 9196 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9197 | fi | 
 | 9198 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | 
 | 9199 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | 
 | 9200 | case $ac_cv_c_bigendian in | 
 | 9201 |   yes) | 
 | 9202 |     cat >>confdefs.h <<\_ACEOF | 
 | 9203 | #define ENDIAN_BIG 1 | 
 | 9204 | _ACEOF | 
 | 9205 |  ;; | 
 | 9206 |   no) | 
 | 9207 |     cat >>confdefs.h <<\_ACEOF | 
 | 9208 | #define ENDIAN_LITTLE 1 | 
 | 9209 | _ACEOF | 
 | 9210 |  ;; | 
 | 9211 |   *) | 
 | 9212 |     { { echo "$as_me:$LINENO: error: unknown endianess | 
 | 9213 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | 
 | 9214 | echo "$as_me: error: unknown endianess | 
 | 9215 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | 
 | 9216 |    { (exit 1); exit 1; }; } ;; | 
 | 9217 | esac | 
 | 9218 |  | 
 | 9219 |  | 
 | 9220 | echo "$as_me:$LINENO: checking for pid_t" >&5 | 
 | 9221 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 
 | 9222 | if test "${ac_cv_type_pid_t+set}" = set; then | 
 | 9223 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9224 | else | 
 | 9225 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9226 | #line $LINENO "configure" | 
 | 9227 | #include "confdefs.h" | 
 | 9228 | $ac_includes_default | 
 | 9229 | #ifdef F77_DUMMY_MAIN | 
 | 9230 | #  ifdef __cplusplus | 
 | 9231 |      extern "C" | 
 | 9232 | #  endif | 
 | 9233 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9234 | #endif | 
 | 9235 | int | 
 | 9236 | main () | 
 | 9237 | { | 
 | 9238 | if ((pid_t *) 0) | 
 | 9239 |   return 0; | 
 | 9240 | if (sizeof (pid_t)) | 
 | 9241 |   return 0; | 
 | 9242 |   ; | 
 | 9243 |   return 0; | 
 | 9244 | } | 
 | 9245 | _ACEOF | 
 | 9246 | rm -f conftest.$ac_objext | 
 | 9247 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9248 |   (eval $ac_compile) 2>&5 | 
 | 9249 |   ac_status=$? | 
 | 9250 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9251 |   (exit $ac_status); } && | 
 | 9252 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9253 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9254 |   (eval $ac_try) 2>&5 | 
 | 9255 |   ac_status=$? | 
 | 9256 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9257 |   (exit $ac_status); }; }; then | 
 | 9258 |   ac_cv_type_pid_t=yes | 
 | 9259 | else | 
 | 9260 |   echo "$as_me: failed program was:" >&5 | 
 | 9261 | cat conftest.$ac_ext >&5 | 
 | 9262 | ac_cv_type_pid_t=no | 
 | 9263 | fi | 
 | 9264 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9265 | fi | 
 | 9266 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | 
 | 9267 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | 
 | 9268 | if test $ac_cv_type_pid_t = yes; then | 
 | 9269 |   : | 
 | 9270 | else | 
 | 9271 |  | 
 | 9272 | cat >>confdefs.h <<_ACEOF | 
 | 9273 | #define pid_t int | 
 | 9274 | _ACEOF | 
 | 9275 |  | 
 | 9276 | fi | 
 | 9277 |  | 
 | 9278 | echo "$as_me:$LINENO: checking for size_t" >&5 | 
 | 9279 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 
 | 9280 | if test "${ac_cv_type_size_t+set}" = set; then | 
 | 9281 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9282 | else | 
 | 9283 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9284 | #line $LINENO "configure" | 
 | 9285 | #include "confdefs.h" | 
 | 9286 | $ac_includes_default | 
 | 9287 | #ifdef F77_DUMMY_MAIN | 
 | 9288 | #  ifdef __cplusplus | 
 | 9289 |      extern "C" | 
 | 9290 | #  endif | 
 | 9291 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9292 | #endif | 
 | 9293 | int | 
 | 9294 | main () | 
 | 9295 | { | 
 | 9296 | if ((size_t *) 0) | 
 | 9297 |   return 0; | 
 | 9298 | if (sizeof (size_t)) | 
 | 9299 |   return 0; | 
 | 9300 |   ; | 
 | 9301 |   return 0; | 
 | 9302 | } | 
 | 9303 | _ACEOF | 
 | 9304 | rm -f conftest.$ac_objext | 
 | 9305 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9306 |   (eval $ac_compile) 2>&5 | 
 | 9307 |   ac_status=$? | 
 | 9308 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9309 |   (exit $ac_status); } && | 
 | 9310 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9311 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9312 |   (eval $ac_try) 2>&5 | 
 | 9313 |   ac_status=$? | 
 | 9314 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9315 |   (exit $ac_status); }; }; then | 
 | 9316 |   ac_cv_type_size_t=yes | 
 | 9317 | else | 
 | 9318 |   echo "$as_me: failed program was:" >&5 | 
 | 9319 | cat conftest.$ac_ext >&5 | 
 | 9320 | ac_cv_type_size_t=no | 
 | 9321 | fi | 
 | 9322 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9323 | fi | 
 | 9324 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 
 | 9325 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 
 | 9326 | if test $ac_cv_type_size_t = yes; then | 
 | 9327 |   : | 
 | 9328 | else | 
 | 9329 |  | 
 | 9330 | cat >>confdefs.h <<_ACEOF | 
 | 9331 | #define size_t unsigned | 
 | 9332 | _ACEOF | 
 | 9333 |  | 
 | 9334 | fi | 
 | 9335 |  | 
 | 9336 | echo "$as_me:$LINENO: checking for int64_t" >&5 | 
 | 9337 | echo $ECHO_N "checking for int64_t... $ECHO_C" >&6 | 
 | 9338 | if test "${ac_cv_type_int64_t+set}" = set; then | 
 | 9339 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9340 | else | 
 | 9341 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9342 | #line $LINENO "configure" | 
 | 9343 | #include "confdefs.h" | 
 | 9344 | $ac_includes_default | 
 | 9345 | #ifdef F77_DUMMY_MAIN | 
 | 9346 | #  ifdef __cplusplus | 
 | 9347 |      extern "C" | 
 | 9348 | #  endif | 
 | 9349 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9350 | #endif | 
 | 9351 | int | 
 | 9352 | main () | 
 | 9353 | { | 
 | 9354 | if ((int64_t *) 0) | 
 | 9355 |   return 0; | 
 | 9356 | if (sizeof (int64_t)) | 
 | 9357 |   return 0; | 
 | 9358 |   ; | 
 | 9359 |   return 0; | 
 | 9360 | } | 
 | 9361 | _ACEOF | 
 | 9362 | rm -f conftest.$ac_objext | 
 | 9363 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9364 |   (eval $ac_compile) 2>&5 | 
 | 9365 |   ac_status=$? | 
 | 9366 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9367 |   (exit $ac_status); } && | 
 | 9368 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9369 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9370 |   (eval $ac_try) 2>&5 | 
 | 9371 |   ac_status=$? | 
 | 9372 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9373 |   (exit $ac_status); }; }; then | 
 | 9374 |   ac_cv_type_int64_t=yes | 
 | 9375 | else | 
 | 9376 |   echo "$as_me: failed program was:" >&5 | 
 | 9377 | cat conftest.$ac_ext >&5 | 
 | 9378 | ac_cv_type_int64_t=no | 
 | 9379 | fi | 
 | 9380 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9381 | fi | 
 | 9382 | echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 | 
 | 9383 | echo "${ECHO_T}$ac_cv_type_int64_t" >&6 | 
 | 9384 | if test $ac_cv_type_int64_t = yes; then | 
 | 9385 |  | 
 | 9386 | cat >>confdefs.h <<_ACEOF | 
 | 9387 | #define HAVE_INT64_T 1 | 
 | 9388 | _ACEOF | 
 | 9389 |  | 
 | 9390 |  | 
 | 9391 | else | 
 | 9392 |   { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5 | 
 | 9393 | echo "$as_me: error: Type int64_t required but not found" >&2;} | 
 | 9394 |    { (exit 1); exit 1; }; } | 
 | 9395 | fi | 
 | 9396 |  | 
 | 9397 | echo "$as_me:$LINENO: checking for uint64_t" >&5 | 
 | 9398 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 | 
 | 9399 | if test "${ac_cv_type_uint64_t+set}" = set; then | 
 | 9400 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9401 | else | 
 | 9402 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9403 | #line $LINENO "configure" | 
 | 9404 | #include "confdefs.h" | 
 | 9405 | $ac_includes_default | 
 | 9406 | #ifdef F77_DUMMY_MAIN | 
 | 9407 | #  ifdef __cplusplus | 
 | 9408 |      extern "C" | 
 | 9409 | #  endif | 
 | 9410 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9411 | #endif | 
 | 9412 | int | 
 | 9413 | main () | 
 | 9414 | { | 
 | 9415 | if ((uint64_t *) 0) | 
 | 9416 |   return 0; | 
 | 9417 | if (sizeof (uint64_t)) | 
 | 9418 |   return 0; | 
 | 9419 |   ; | 
 | 9420 |   return 0; | 
 | 9421 | } | 
 | 9422 | _ACEOF | 
 | 9423 | rm -f conftest.$ac_objext | 
 | 9424 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9425 |   (eval $ac_compile) 2>&5 | 
 | 9426 |   ac_status=$? | 
 | 9427 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9428 |   (exit $ac_status); } && | 
 | 9429 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9430 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9431 |   (eval $ac_try) 2>&5 | 
 | 9432 |   ac_status=$? | 
 | 9433 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9434 |   (exit $ac_status); }; }; then | 
 | 9435 |   ac_cv_type_uint64_t=yes | 
 | 9436 | else | 
 | 9437 |   echo "$as_me: failed program was:" >&5 | 
 | 9438 | cat conftest.$ac_ext >&5 | 
 | 9439 | ac_cv_type_uint64_t=no | 
 | 9440 | fi | 
 | 9441 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9442 | fi | 
 | 9443 | echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 | 
 | 9444 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 | 
 | 9445 | if test $ac_cv_type_uint64_t = yes; then | 
 | 9446 |  | 
 | 9447 | cat >>confdefs.h <<_ACEOF | 
 | 9448 | #define HAVE_UINT64_T 1 | 
 | 9449 | _ACEOF | 
 | 9450 |  | 
 | 9451 |  | 
 | 9452 | else | 
 | 9453 |   { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5 | 
 | 9454 | echo "$as_me: error: Type uint64_t required but not found" >&2;} | 
 | 9455 |    { (exit 1); exit 1; }; } | 
 | 9456 | fi | 
 | 9457 |  | 
 | 9458 | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 
 | 9459 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 
 | 9460 | if test "${ac_cv_header_time+set}" = set; then | 
 | 9461 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9462 | else | 
 | 9463 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9464 | #line $LINENO "configure" | 
 | 9465 | #include "confdefs.h" | 
 | 9466 | #include <sys/types.h> | 
 | 9467 | #include <sys/time.h> | 
 | 9468 | #include <time.h> | 
 | 9469 |  | 
 | 9470 | #ifdef F77_DUMMY_MAIN | 
 | 9471 | #  ifdef __cplusplus | 
 | 9472 |      extern "C" | 
 | 9473 | #  endif | 
 | 9474 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9475 | #endif | 
 | 9476 | int | 
 | 9477 | main () | 
 | 9478 | { | 
 | 9479 | if ((struct tm *) 0) | 
 | 9480 | return 0; | 
 | 9481 |   ; | 
 | 9482 |   return 0; | 
 | 9483 | } | 
 | 9484 | _ACEOF | 
 | 9485 | rm -f conftest.$ac_objext | 
 | 9486 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9487 |   (eval $ac_compile) 2>&5 | 
 | 9488 |   ac_status=$? | 
 | 9489 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9490 |   (exit $ac_status); } && | 
 | 9491 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9492 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9493 |   (eval $ac_try) 2>&5 | 
 | 9494 |   ac_status=$? | 
 | 9495 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9496 |   (exit $ac_status); }; }; then | 
 | 9497 |   ac_cv_header_time=yes | 
 | 9498 | else | 
 | 9499 |   echo "$as_me: failed program was:" >&5 | 
 | 9500 | cat conftest.$ac_ext >&5 | 
 | 9501 | ac_cv_header_time=no | 
 | 9502 | fi | 
 | 9503 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9504 | fi | 
 | 9505 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 
 | 9506 | echo "${ECHO_T}$ac_cv_header_time" >&6 | 
 | 9507 | if test $ac_cv_header_time = yes; then | 
 | 9508 |  | 
 | 9509 | cat >>confdefs.h <<\_ACEOF | 
 | 9510 | #define TIME_WITH_SYS_TIME 1 | 
 | 9511 | _ACEOF | 
 | 9512 |  | 
 | 9513 | fi | 
 | 9514 |  | 
 | 9515 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 | 
 | 9516 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 | 
 | 9517 | if test "${ac_cv_struct_tm+set}" = set; then | 
 | 9518 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9519 | else | 
 | 9520 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9521 | #line $LINENO "configure" | 
 | 9522 | #include "confdefs.h" | 
 | 9523 | #include <sys/types.h> | 
 | 9524 | #include <time.h> | 
 | 9525 |  | 
 | 9526 | #ifdef F77_DUMMY_MAIN | 
 | 9527 | #  ifdef __cplusplus | 
 | 9528 |      extern "C" | 
 | 9529 | #  endif | 
 | 9530 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9531 | #endif | 
 | 9532 | int | 
 | 9533 | main () | 
 | 9534 | { | 
 | 9535 | struct tm *tp; tp->tm_sec; | 
 | 9536 |   ; | 
 | 9537 |   return 0; | 
 | 9538 | } | 
 | 9539 | _ACEOF | 
 | 9540 | rm -f conftest.$ac_objext | 
 | 9541 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9542 |   (eval $ac_compile) 2>&5 | 
 | 9543 |   ac_status=$? | 
 | 9544 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9545 |   (exit $ac_status); } && | 
 | 9546 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9547 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9548 |   (eval $ac_try) 2>&5 | 
 | 9549 |   ac_status=$? | 
 | 9550 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9551 |   (exit $ac_status); }; }; then | 
 | 9552 |   ac_cv_struct_tm=time.h | 
 | 9553 | else | 
 | 9554 |   echo "$as_me: failed program was:" >&5 | 
 | 9555 | cat conftest.$ac_ext >&5 | 
 | 9556 | ac_cv_struct_tm=sys/time.h | 
 | 9557 | fi | 
 | 9558 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9559 | fi | 
 | 9560 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 | 
 | 9561 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 | 
 | 9562 | if test $ac_cv_struct_tm = sys/time.h; then | 
 | 9563 |  | 
 | 9564 | cat >>confdefs.h <<\_ACEOF | 
 | 9565 | #define TM_IN_SYS_TIME 1 | 
 | 9566 | _ACEOF | 
 | 9567 |  | 
 | 9568 | fi | 
 | 9569 |  | 
 | 9570 |  | 
 | 9571 |  | 
 | 9572 | echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 | 
 | 9573 | echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6 | 
 | 9574 | if test "${ac_cv_cxx_namespaces+set}" = set; then | 
 | 9575 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9576 | else | 
 | 9577 |  | 
 | 9578 |  | 
 | 9579 |  ac_ext=cc | 
 | 9580 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 9581 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9582 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9583 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 9584 |  | 
 | 9585 |  cat >conftest.$ac_ext <<_ACEOF | 
 | 9586 | #line $LINENO "configure" | 
 | 9587 | #include "confdefs.h" | 
 | 9588 | namespace Outer { namespace Inner { int i = 0; }} | 
 | 9589 | #ifdef F77_DUMMY_MAIN | 
 | 9590 | #  ifdef __cplusplus | 
 | 9591 |      extern "C" | 
 | 9592 | #  endif | 
 | 9593 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9594 | #endif | 
 | 9595 | int | 
 | 9596 | main () | 
 | 9597 | { | 
 | 9598 | using namespace Outer::Inner; return i; | 
 | 9599 |   ; | 
 | 9600 |   return 0; | 
 | 9601 | } | 
 | 9602 | _ACEOF | 
 | 9603 | rm -f conftest.$ac_objext | 
 | 9604 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9605 |   (eval $ac_compile) 2>&5 | 
 | 9606 |   ac_status=$? | 
 | 9607 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9608 |   (exit $ac_status); } && | 
 | 9609 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9610 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9611 |   (eval $ac_try) 2>&5 | 
 | 9612 |   ac_status=$? | 
 | 9613 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9614 |   (exit $ac_status); }; }; then | 
 | 9615 |   ac_cv_cxx_namespaces=yes | 
 | 9616 | else | 
 | 9617 |   echo "$as_me: failed program was:" >&5 | 
 | 9618 | cat conftest.$ac_ext >&5 | 
 | 9619 | ac_cv_cxx_namespaces=no | 
 | 9620 | fi | 
 | 9621 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9622 |  ac_ext=c | 
 | 9623 | ac_cpp='$CPP $CPPFLAGS' | 
 | 9624 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9625 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9626 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 9627 |  | 
 | 9628 |  | 
 | 9629 | fi | 
 | 9630 | echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 | 
 | 9631 | echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6 | 
 | 9632 | if test "$ac_cv_cxx_namespaces" = yes; then | 
 | 9633 |  | 
 | 9634 | cat >>confdefs.h <<\_ACEOF | 
 | 9635 | #define HAVE_NAMESPACES | 
 | 9636 | _ACEOF | 
 | 9637 |  | 
 | 9638 | fi | 
 | 9639 |  | 
 | 9640 | echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5 | 
 | 9641 | echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6 | 
 | 9642 | if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then | 
 | 9643 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9644 | else | 
 | 9645 |  | 
 | 9646 |  | 
 | 9647 |  | 
 | 9648 |   ac_ext=cc | 
 | 9649 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 9650 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9651 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9652 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 9653 |  | 
 | 9654 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9655 | #line $LINENO "configure" | 
 | 9656 | #include "confdefs.h" | 
 | 9657 | #include <ext/hash_map> | 
 | 9658 | #ifdef HAVE_NAMESPACES | 
 | 9659 | using namespace std; | 
 | 9660 | #endif | 
 | 9661 | #ifdef F77_DUMMY_MAIN | 
 | 9662 | #  ifdef __cplusplus | 
 | 9663 |      extern "C" | 
 | 9664 | #  endif | 
 | 9665 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9666 | #endif | 
 | 9667 | int | 
 | 9668 | main () | 
 | 9669 | { | 
 | 9670 | hash_map<int, int> t; return 0; | 
 | 9671 |   ; | 
 | 9672 |   return 0; | 
 | 9673 | } | 
 | 9674 | _ACEOF | 
 | 9675 | rm -f conftest.$ac_objext | 
 | 9676 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9677 |   (eval $ac_compile) 2>&5 | 
 | 9678 |   ac_status=$? | 
 | 9679 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9680 |   (exit $ac_status); } && | 
 | 9681 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9682 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9683 |   (eval $ac_try) 2>&5 | 
 | 9684 |   ac_status=$? | 
 | 9685 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9686 |   (exit $ac_status); }; }; then | 
 | 9687 |   ac_cv_cxx_have_ext_hash_map=std | 
 | 9688 | else | 
 | 9689 |   echo "$as_me: failed program was:" >&5 | 
 | 9690 | cat conftest.$ac_ext >&5 | 
 | 9691 | ac_cv_cxx_have_ext_hash_map=no | 
 | 9692 | fi | 
 | 9693 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9694 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9695 | #line $LINENO "configure" | 
 | 9696 | #include "confdefs.h" | 
 | 9697 | #include <ext/hash_map> | 
 | 9698 | #ifdef HAVE_NAMESPACES | 
 | 9699 | using namespace __gnu_cxx; | 
 | 9700 | #endif | 
 | 9701 | #ifdef F77_DUMMY_MAIN | 
 | 9702 | #  ifdef __cplusplus | 
 | 9703 |      extern "C" | 
 | 9704 | #  endif | 
 | 9705 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9706 | #endif | 
 | 9707 | int | 
 | 9708 | main () | 
 | 9709 | { | 
 | 9710 | hash_map<int, int> t; return 0; | 
 | 9711 |   ; | 
 | 9712 |   return 0; | 
 | 9713 | } | 
 | 9714 | _ACEOF | 
 | 9715 | rm -f conftest.$ac_objext | 
 | 9716 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9717 |   (eval $ac_compile) 2>&5 | 
 | 9718 |   ac_status=$? | 
 | 9719 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9720 |   (exit $ac_status); } && | 
 | 9721 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9722 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9723 |   (eval $ac_try) 2>&5 | 
 | 9724 |   ac_status=$? | 
 | 9725 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9726 |   (exit $ac_status); }; }; then | 
 | 9727 |   ac_cv_cxx_have_ext_hash_map=gnu | 
 | 9728 | else | 
 | 9729 |   echo "$as_me: failed program was:" >&5 | 
 | 9730 | cat conftest.$ac_ext >&5 | 
 | 9731 | ac_cv_cxx_have_ext_hash_map=no | 
 | 9732 | fi | 
 | 9733 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9734 |   ac_ext=c | 
 | 9735 | ac_cpp='$CPP $CPPFLAGS' | 
 | 9736 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9737 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9738 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 9739 |  | 
 | 9740 |  | 
 | 9741 | fi | 
 | 9742 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5 | 
 | 9743 | echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6 | 
 | 9744 | if test "$ac_cv_cxx_have_ext_hash_map" = std; then | 
 | 9745 |  | 
 | 9746 | cat >>confdefs.h <<\_ACEOF | 
 | 9747 | #define HAVE_STD_EXT_HASH_MAP | 
 | 9748 | _ACEOF | 
 | 9749 |  | 
 | 9750 | fi | 
 | 9751 | if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then | 
 | 9752 |  | 
 | 9753 | cat >>confdefs.h <<\_ACEOF | 
 | 9754 | #define HAVE_GNU_EXT_HASH_MAP | 
 | 9755 | _ACEOF | 
 | 9756 |  | 
 | 9757 | fi | 
 | 9758 |  | 
 | 9759 | echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5 | 
 | 9760 | echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6 | 
 | 9761 | if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then | 
 | 9762 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9763 | else | 
 | 9764 |  | 
 | 9765 |  | 
 | 9766 |  | 
 | 9767 |   ac_ext=cc | 
 | 9768 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 9769 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9770 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9771 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 9772 |  | 
 | 9773 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9774 | #line $LINENO "configure" | 
 | 9775 | #include "confdefs.h" | 
 | 9776 | #include <ext/hash_set> | 
 | 9777 | #ifdef HAVE_NAMESPACES | 
 | 9778 | using namespace std; | 
 | 9779 | #endif | 
 | 9780 | #ifdef F77_DUMMY_MAIN | 
 | 9781 | #  ifdef __cplusplus | 
 | 9782 |      extern "C" | 
 | 9783 | #  endif | 
 | 9784 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9785 | #endif | 
 | 9786 | int | 
 | 9787 | main () | 
 | 9788 | { | 
 | 9789 | hash_set<int> t; return 0; | 
 | 9790 |   ; | 
 | 9791 |   return 0; | 
 | 9792 | } | 
 | 9793 | _ACEOF | 
 | 9794 | rm -f conftest.$ac_objext | 
 | 9795 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9796 |   (eval $ac_compile) 2>&5 | 
 | 9797 |   ac_status=$? | 
 | 9798 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9799 |   (exit $ac_status); } && | 
 | 9800 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9801 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9802 |   (eval $ac_try) 2>&5 | 
 | 9803 |   ac_status=$? | 
 | 9804 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9805 |   (exit $ac_status); }; }; then | 
 | 9806 |   ac_cv_cxx_have_ext_hash_set=std | 
 | 9807 | else | 
 | 9808 |   echo "$as_me: failed program was:" >&5 | 
 | 9809 | cat conftest.$ac_ext >&5 | 
 | 9810 | ac_cv_cxx_have_ext_hash_set=no | 
 | 9811 | fi | 
 | 9812 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9813 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9814 | #line $LINENO "configure" | 
 | 9815 | #include "confdefs.h" | 
 | 9816 | #include <ext/hash_set> | 
 | 9817 | #ifdef HAVE_NAMESPACES | 
 | 9818 | using namespace __gnu_cxx; | 
 | 9819 | #endif | 
 | 9820 | #ifdef F77_DUMMY_MAIN | 
 | 9821 | #  ifdef __cplusplus | 
 | 9822 |      extern "C" | 
 | 9823 | #  endif | 
 | 9824 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9825 | #endif | 
 | 9826 | int | 
 | 9827 | main () | 
 | 9828 | { | 
 | 9829 | hash_set<int> t; return 0; | 
 | 9830 |   ; | 
 | 9831 |   return 0; | 
 | 9832 | } | 
 | 9833 | _ACEOF | 
 | 9834 | rm -f conftest.$ac_objext | 
 | 9835 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9836 |   (eval $ac_compile) 2>&5 | 
 | 9837 |   ac_status=$? | 
 | 9838 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9839 |   (exit $ac_status); } && | 
 | 9840 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9841 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9842 |   (eval $ac_try) 2>&5 | 
 | 9843 |   ac_status=$? | 
 | 9844 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9845 |   (exit $ac_status); }; }; then | 
 | 9846 |   ac_cv_cxx_have_ext_hash_set=gnu | 
 | 9847 | else | 
 | 9848 |   echo "$as_me: failed program was:" >&5 | 
 | 9849 | cat conftest.$ac_ext >&5 | 
 | 9850 | ac_cv_cxx_have_ext_hash_set=no | 
 | 9851 | fi | 
 | 9852 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9853 |   ac_ext=c | 
 | 9854 | ac_cpp='$CPP $CPPFLAGS' | 
 | 9855 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9856 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9857 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 9858 |  | 
 | 9859 |  | 
 | 9860 | fi | 
 | 9861 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5 | 
 | 9862 | echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6 | 
 | 9863 | if test "$ac_cv_cxx_have_ext_hash_set" = std; then | 
 | 9864 |  | 
 | 9865 | cat >>confdefs.h <<\_ACEOF | 
 | 9866 | #define HAVE_STD_EXT_HASH_SET | 
 | 9867 | _ACEOF | 
 | 9868 |  | 
 | 9869 | fi | 
 | 9870 | if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then | 
 | 9871 |  | 
 | 9872 | cat >>confdefs.h <<\_ACEOF | 
 | 9873 | #define HAVE_GNU_EXT_HASH_SET | 
 | 9874 | _ACEOF | 
 | 9875 |  | 
 | 9876 | fi | 
 | 9877 |  | 
 | 9878 | echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5 | 
 | 9879 | echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6 | 
 | 9880 | if test "${ac_cv_cxx_have_ext_slist+set}" = set; then | 
 | 9881 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9882 | else | 
 | 9883 |  | 
 | 9884 |  | 
 | 9885 |  | 
 | 9886 |   ac_ext=cc | 
 | 9887 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 9888 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9889 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9890 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 9891 |  | 
 | 9892 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9893 | #line $LINENO "configure" | 
 | 9894 | #include "confdefs.h" | 
 | 9895 | #include <ext/slist> | 
 | 9896 | #ifdef HAVE_NAMESPACES | 
 | 9897 | using namespace std; | 
 | 9898 | #endif | 
 | 9899 | #ifdef F77_DUMMY_MAIN | 
 | 9900 | #  ifdef __cplusplus | 
 | 9901 |      extern "C" | 
 | 9902 | #  endif | 
 | 9903 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9904 | #endif | 
 | 9905 | int | 
 | 9906 | main () | 
 | 9907 | { | 
 | 9908 | slist<int> s; return 0; | 
 | 9909 |   ; | 
 | 9910 |   return 0; | 
 | 9911 | } | 
 | 9912 | _ACEOF | 
 | 9913 | rm -f conftest.$ac_objext | 
 | 9914 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9915 |   (eval $ac_compile) 2>&5 | 
 | 9916 |   ac_status=$? | 
 | 9917 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9918 |   (exit $ac_status); } && | 
 | 9919 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9920 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9921 |   (eval $ac_try) 2>&5 | 
 | 9922 |   ac_status=$? | 
 | 9923 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9924 |   (exit $ac_status); }; }; then | 
 | 9925 |   ac_cv_cxx_have_ext_slist=std | 
 | 9926 | else | 
 | 9927 |   echo "$as_me: failed program was:" >&5 | 
 | 9928 | cat conftest.$ac_ext >&5 | 
 | 9929 | ac_cv_cxx_have_ext_slist=no | 
 | 9930 | fi | 
 | 9931 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9932 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9933 | #line $LINENO "configure" | 
 | 9934 | #include "confdefs.h" | 
 | 9935 | #include <ext/slist> | 
 | 9936 | #ifdef HAVE_NAMESPACES | 
 | 9937 | using namespace __gnu_cxx; | 
 | 9938 | #endif | 
 | 9939 | #ifdef F77_DUMMY_MAIN | 
 | 9940 | #  ifdef __cplusplus | 
 | 9941 |      extern "C" | 
 | 9942 | #  endif | 
 | 9943 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9944 | #endif | 
 | 9945 | int | 
 | 9946 | main () | 
 | 9947 | { | 
 | 9948 | slist<int> s; return 0; | 
 | 9949 |   ; | 
 | 9950 |   return 0; | 
 | 9951 | } | 
 | 9952 | _ACEOF | 
 | 9953 | rm -f conftest.$ac_objext | 
 | 9954 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9955 |   (eval $ac_compile) 2>&5 | 
 | 9956 |   ac_status=$? | 
 | 9957 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9958 |   (exit $ac_status); } && | 
 | 9959 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9960 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9961 |   (eval $ac_try) 2>&5 | 
 | 9962 |   ac_status=$? | 
 | 9963 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9964 |   (exit $ac_status); }; }; then | 
 | 9965 |   ac_cv_cxx_have_ext_slist=gnu | 
 | 9966 | else | 
 | 9967 |   echo "$as_me: failed program was:" >&5 | 
 | 9968 | cat conftest.$ac_ext >&5 | 
 | 9969 | ac_cv_cxx_have_ext_slist=no | 
 | 9970 | fi | 
 | 9971 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9972 |  | 
 | 9973 |   ac_ext=c | 
 | 9974 | ac_cpp='$CPP $CPPFLAGS' | 
 | 9975 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9976 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9977 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 9978 |  | 
 | 9979 |  | 
 | 9980 | fi | 
 | 9981 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5 | 
 | 9982 | echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6 | 
 | 9983 | if test "$ac_cv_cxx_have_ext_slist" = std; then | 
 | 9984 |  | 
 | 9985 | cat >>confdefs.h <<\_ACEOF | 
 | 9986 | #define HAVE_EXT_SLIST std | 
 | 9987 | _ACEOF | 
 | 9988 |  | 
 | 9989 | fi | 
 | 9990 | if test "$ac_cv_cxx_have_ext_slist" = gnu; then | 
 | 9991 |  | 
 | 9992 | cat >>confdefs.h <<\_ACEOF | 
 | 9993 | #define HAVE_EXT_SLIST gnu | 
 | 9994 | _ACEOF | 
 | 9995 |  | 
 | 9996 | fi | 
 | 9997 |  | 
 | 9998 | echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5 | 
 | 9999 | echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6 | 
 | 10000 | if test "${ac_cv_cxx_have_std_iterator+set}" = set; then | 
 | 10001 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10002 | else | 
 | 10003 |  | 
 | 10004 |  | 
 | 10005 |  | 
 | 10006 |   ac_ext=cc | 
 | 10007 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 10008 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10009 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10010 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 10011 |  | 
 | 10012 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10013 | #line $LINENO "configure" | 
 | 10014 | #include "confdefs.h" | 
 | 10015 | #include <iterator> | 
 | 10016 | #ifdef HAVE_NAMESPACES | 
 | 10017 | using namespace std; | 
 | 10018 | #endif | 
 | 10019 | #ifdef F77_DUMMY_MAIN | 
 | 10020 | #  ifdef __cplusplus | 
 | 10021 |      extern "C" | 
 | 10022 | #  endif | 
 | 10023 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10024 | #endif | 
 | 10025 | int | 
 | 10026 | main () | 
 | 10027 | { | 
 | 10028 | iterator<int,int,int> t; return 0; | 
 | 10029 |   ; | 
 | 10030 |   return 0; | 
 | 10031 | } | 
 | 10032 | _ACEOF | 
 | 10033 | rm -f conftest.$ac_objext | 
 | 10034 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 10035 |   (eval $ac_compile) 2>&5 | 
 | 10036 |   ac_status=$? | 
 | 10037 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10038 |   (exit $ac_status); } && | 
 | 10039 |          { ac_try='test -s conftest.$ac_objext' | 
 | 10040 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10041 |   (eval $ac_try) 2>&5 | 
 | 10042 |   ac_status=$? | 
 | 10043 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10044 |   (exit $ac_status); }; }; then | 
 | 10045 |   ac_cv_cxx_have_std_iterator=yes | 
 | 10046 | else | 
 | 10047 |   echo "$as_me: failed program was:" >&5 | 
 | 10048 | cat conftest.$ac_ext >&5 | 
 | 10049 | ac_cv_cxx_have_std_iterator=no | 
 | 10050 | fi | 
 | 10051 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 10052 |   ac_ext=c | 
 | 10053 | ac_cpp='$CPP $CPPFLAGS' | 
 | 10054 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10055 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10056 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 10057 |  | 
 | 10058 |  | 
 | 10059 | fi | 
 | 10060 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5 | 
 | 10061 | echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6 | 
 | 10062 | if test "$ac_cv_cxx_have_std_iterator" = yes; then | 
 | 10063 |  | 
 | 10064 | cat >>confdefs.h <<\_ACEOF | 
 | 10065 | #define HAVE_STD_ITERATOR | 
 | 10066 | _ACEOF | 
 | 10067 |  | 
 | 10068 | fi | 
 | 10069 |  | 
 | 10070 | echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5 | 
 | 10071 | echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6 | 
 | 10072 | if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then | 
 | 10073 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10074 | else | 
 | 10075 |  | 
 | 10076 |  | 
 | 10077 |  | 
 | 10078 |   ac_ext=cc | 
 | 10079 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 10080 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10081 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10082 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 10083 |  | 
 | 10084 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10085 | #line $LINENO "configure" | 
 | 10086 | #include "confdefs.h" | 
 | 10087 | #include <iterator> | 
 | 10088 | #ifdef HAVE_NAMESPACES | 
 | 10089 | using namespace std; | 
 | 10090 | #endif | 
 | 10091 | #ifdef F77_DUMMY_MAIN | 
 | 10092 | #  ifdef __cplusplus | 
 | 10093 |      extern "C" | 
 | 10094 | #  endif | 
 | 10095 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10096 | #endif | 
 | 10097 | int | 
 | 10098 | main () | 
 | 10099 | { | 
 | 10100 | bidirectional_iterator<int,int,int> t; return 0; | 
 | 10101 |   ; | 
 | 10102 |   return 0; | 
 | 10103 | } | 
 | 10104 | _ACEOF | 
 | 10105 | rm -f conftest.$ac_objext | 
 | 10106 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 10107 |   (eval $ac_compile) 2>&5 | 
 | 10108 |   ac_status=$? | 
 | 10109 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10110 |   (exit $ac_status); } && | 
 | 10111 |          { ac_try='test -s conftest.$ac_objext' | 
 | 10112 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10113 |   (eval $ac_try) 2>&5 | 
 | 10114 |   ac_status=$? | 
 | 10115 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10116 |   (exit $ac_status); }; }; then | 
 | 10117 |   ac_cv_cxx_have_bi_iterator=yes | 
 | 10118 | else | 
 | 10119 |   echo "$as_me: failed program was:" >&5 | 
 | 10120 | cat conftest.$ac_ext >&5 | 
 | 10121 | ac_cv_cxx_have_bi_iterator=no | 
 | 10122 | fi | 
 | 10123 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 10124 |   ac_ext=c | 
 | 10125 | ac_cpp='$CPP $CPPFLAGS' | 
 | 10126 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10127 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10128 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 10129 |  | 
 | 10130 |  | 
 | 10131 | fi | 
 | 10132 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5 | 
 | 10133 | echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6 | 
 | 10134 | if test "$ac_cv_cxx_have_bi_iterator" = yes; then | 
 | 10135 |  | 
 | 10136 | cat >>confdefs.h <<\_ACEOF | 
 | 10137 | #define HAVE_BI_ITERATOR | 
 | 10138 | _ACEOF | 
 | 10139 |  | 
 | 10140 | fi | 
 | 10141 |  | 
 | 10142 | echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5 | 
 | 10143 | echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6 | 
 | 10144 | if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then | 
 | 10145 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10146 | else | 
 | 10147 |  | 
 | 10148 |  | 
 | 10149 |  | 
 | 10150 |   ac_ext=cc | 
 | 10151 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 10152 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10153 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10154 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 10155 |  | 
 | 10156 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10157 | #line $LINENO "configure" | 
 | 10158 | #include "confdefs.h" | 
 | 10159 | #include <iterator> | 
 | 10160 | #ifdef HAVE_NAMESPACES | 
 | 10161 | using namespace std; | 
 | 10162 | #endif | 
 | 10163 | #ifdef F77_DUMMY_MAIN | 
 | 10164 | #  ifdef __cplusplus | 
 | 10165 |      extern "C" | 
 | 10166 | #  endif | 
 | 10167 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10168 | #endif | 
 | 10169 | int | 
 | 10170 | main () | 
 | 10171 | { | 
 | 10172 | forward_iterator<int,int,int> t; return 0; | 
 | 10173 |   ; | 
 | 10174 |   return 0; | 
 | 10175 | } | 
 | 10176 | _ACEOF | 
 | 10177 | rm -f conftest.$ac_objext | 
 | 10178 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 10179 |   (eval $ac_compile) 2>&5 | 
 | 10180 |   ac_status=$? | 
 | 10181 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10182 |   (exit $ac_status); } && | 
 | 10183 |          { ac_try='test -s conftest.$ac_objext' | 
 | 10184 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10185 |   (eval $ac_try) 2>&5 | 
 | 10186 |   ac_status=$? | 
 | 10187 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10188 |   (exit $ac_status); }; }; then | 
 | 10189 |   ac_cv_cxx_have_fwd_iterator=yes | 
 | 10190 | else | 
 | 10191 |   echo "$as_me: failed program was:" >&5 | 
 | 10192 | cat conftest.$ac_ext >&5 | 
 | 10193 | ac_cv_cxx_have_fwd_iterator=no | 
 | 10194 | fi | 
 | 10195 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 10196 |   ac_ext=c | 
 | 10197 | ac_cpp='$CPP $CPPFLAGS' | 
 | 10198 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10199 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10200 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 10201 |  | 
 | 10202 |  | 
 | 10203 | fi | 
 | 10204 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5 | 
 | 10205 | echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6 | 
 | 10206 | if test "$ac_cv_cxx_have_fwd_iterator" = yes; then | 
 | 10207 |  | 
 | 10208 | cat >>confdefs.h <<\_ACEOF | 
 | 10209 | #define HAVE_FWD_ITERATOR | 
 | 10210 | _ACEOF | 
 | 10211 |  | 
 | 10212 | fi | 
 | 10213 |  | 
 | 10214 |  | 
 | 10215 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 
 | 10216 | # for constant arguments.  Useless! | 
 | 10217 | echo "$as_me:$LINENO: checking for working alloca.h" >&5 | 
 | 10218 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 | 
 | 10219 | if test "${ac_cv_working_alloca_h+set}" = set; then | 
 | 10220 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10221 | else | 
 | 10222 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10223 | #line $LINENO "configure" | 
 | 10224 | #include "confdefs.h" | 
 | 10225 | #include <alloca.h> | 
 | 10226 | #ifdef F77_DUMMY_MAIN | 
 | 10227 | #  ifdef __cplusplus | 
 | 10228 |      extern "C" | 
 | 10229 | #  endif | 
 | 10230 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10231 | #endif | 
 | 10232 | int | 
 | 10233 | main () | 
 | 10234 | { | 
 | 10235 | char *p = (char *) alloca (2 * sizeof (int)); | 
 | 10236 |   ; | 
 | 10237 |   return 0; | 
 | 10238 | } | 
 | 10239 | _ACEOF | 
 | 10240 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 10241 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10242 |   (eval $ac_link) 2>&5 | 
 | 10243 |   ac_status=$? | 
 | 10244 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10245 |   (exit $ac_status); } && | 
 | 10246 |          { ac_try='test -s conftest$ac_exeext' | 
 | 10247 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10248 |   (eval $ac_try) 2>&5 | 
 | 10249 |   ac_status=$? | 
 | 10250 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10251 |   (exit $ac_status); }; }; then | 
 | 10252 |   ac_cv_working_alloca_h=yes | 
 | 10253 | else | 
 | 10254 |   echo "$as_me: failed program was:" >&5 | 
 | 10255 | cat conftest.$ac_ext >&5 | 
 | 10256 | ac_cv_working_alloca_h=no | 
 | 10257 | fi | 
 | 10258 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 10259 | fi | 
 | 10260 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | 
 | 10261 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 | 
 | 10262 | if test $ac_cv_working_alloca_h = yes; then | 
 | 10263 |  | 
 | 10264 | cat >>confdefs.h <<\_ACEOF | 
 | 10265 | #define HAVE_ALLOCA_H 1 | 
 | 10266 | _ACEOF | 
 | 10267 |  | 
 | 10268 | fi | 
 | 10269 |  | 
 | 10270 | echo "$as_me:$LINENO: checking for alloca" >&5 | 
 | 10271 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 | 
 | 10272 | if test "${ac_cv_func_alloca_works+set}" = set; then | 
 | 10273 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10274 | else | 
 | 10275 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10276 | #line $LINENO "configure" | 
 | 10277 | #include "confdefs.h" | 
 | 10278 | #ifdef __GNUC__ | 
 | 10279 | # define alloca __builtin_alloca | 
 | 10280 | #else | 
 | 10281 | # ifdef _MSC_VER | 
 | 10282 | #  include <malloc.h> | 
 | 10283 | #  define alloca _alloca | 
 | 10284 | # else | 
 | 10285 | #  if HAVE_ALLOCA_H | 
 | 10286 | #   include <alloca.h> | 
 | 10287 | #  else | 
 | 10288 | #   ifdef _AIX | 
 | 10289 |  #pragma alloca | 
 | 10290 | #   else | 
 | 10291 | #    ifndef alloca /* predefined by HP cc +Olibcalls */ | 
 | 10292 | char *alloca (); | 
 | 10293 | #    endif | 
 | 10294 | #   endif | 
 | 10295 | #  endif | 
 | 10296 | # endif | 
 | 10297 | #endif | 
 | 10298 |  | 
 | 10299 | #ifdef F77_DUMMY_MAIN | 
 | 10300 | #  ifdef __cplusplus | 
 | 10301 |      extern "C" | 
 | 10302 | #  endif | 
 | 10303 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10304 | #endif | 
 | 10305 | int | 
 | 10306 | main () | 
 | 10307 | { | 
 | 10308 | char *p = (char *) alloca (1); | 
 | 10309 |   ; | 
 | 10310 |   return 0; | 
 | 10311 | } | 
 | 10312 | _ACEOF | 
 | 10313 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 10314 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10315 |   (eval $ac_link) 2>&5 | 
 | 10316 |   ac_status=$? | 
 | 10317 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10318 |   (exit $ac_status); } && | 
 | 10319 |          { ac_try='test -s conftest$ac_exeext' | 
 | 10320 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10321 |   (eval $ac_try) 2>&5 | 
 | 10322 |   ac_status=$? | 
 | 10323 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10324 |   (exit $ac_status); }; }; then | 
 | 10325 |   ac_cv_func_alloca_works=yes | 
 | 10326 | else | 
 | 10327 |   echo "$as_me: failed program was:" >&5 | 
 | 10328 | cat conftest.$ac_ext >&5 | 
 | 10329 | ac_cv_func_alloca_works=no | 
 | 10330 | fi | 
 | 10331 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 10332 | fi | 
 | 10333 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | 
 | 10334 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 | 
 | 10335 |  | 
 | 10336 | if test $ac_cv_func_alloca_works = yes; then | 
 | 10337 |  | 
 | 10338 | cat >>confdefs.h <<\_ACEOF | 
 | 10339 | #define HAVE_ALLOCA 1 | 
 | 10340 | _ACEOF | 
 | 10341 |  | 
 | 10342 | else | 
 | 10343 |   # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 
 | 10344 | # that cause trouble.  Some versions do not even contain alloca or | 
 | 10345 | # contain a buggy version.  If you still want to use their alloca, | 
 | 10346 | # use ar to extract alloca.o from them instead of compiling alloca.c. | 
 | 10347 |  | 
 | 10348 | ALLOCA=alloca.$ac_objext | 
 | 10349 |  | 
 | 10350 | cat >>confdefs.h <<\_ACEOF | 
 | 10351 | #define C_ALLOCA 1 | 
 | 10352 | _ACEOF | 
 | 10353 |  | 
 | 10354 |  | 
 | 10355 | echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | 
 | 10356 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 | 
 | 10357 | if test "${ac_cv_os_cray+set}" = set; then | 
 | 10358 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10359 | else | 
 | 10360 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10361 | #line $LINENO "configure" | 
 | 10362 | #include "confdefs.h" | 
 | 10363 | #if defined(CRAY) && ! defined(CRAY2) | 
 | 10364 | webecray | 
 | 10365 | #else | 
 | 10366 | wenotbecray | 
 | 10367 | #endif | 
 | 10368 |  | 
 | 10369 | _ACEOF | 
 | 10370 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 10371 |   egrep "webecray" >/dev/null 2>&1; then | 
 | 10372 |   ac_cv_os_cray=yes | 
 | 10373 | else | 
 | 10374 |   ac_cv_os_cray=no | 
 | 10375 | fi | 
 | 10376 | rm -f conftest* | 
 | 10377 |  | 
 | 10378 | fi | 
 | 10379 | echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 | 
 | 10380 | echo "${ECHO_T}$ac_cv_os_cray" >&6 | 
 | 10381 | if test $ac_cv_os_cray = yes; then | 
 | 10382 |   for ac_func in _getb67 GETB67 getb67; do | 
 | 10383 |     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 10384 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 10385 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 10386 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 10387 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10388 | else | 
 | 10389 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10390 | #line $LINENO "configure" | 
 | 10391 | #include "confdefs.h" | 
 | 10392 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 10393 |     which can conflict with char $ac_func (); below.  */ | 
 | 10394 | #include <assert.h> | 
 | 10395 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 10396 | #ifdef __cplusplus | 
 | 10397 | extern "C" | 
 | 10398 | #endif | 
 | 10399 | /* We use char because int might match the return type of a gcc2 | 
 | 10400 |    builtin and then its argument prototype would still apply.  */ | 
 | 10401 | char $ac_func (); | 
 | 10402 | char (*f) (); | 
 | 10403 |  | 
 | 10404 | #ifdef F77_DUMMY_MAIN | 
 | 10405 | #  ifdef __cplusplus | 
 | 10406 |      extern "C" | 
 | 10407 | #  endif | 
 | 10408 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10409 | #endif | 
 | 10410 | int | 
 | 10411 | main () | 
 | 10412 | { | 
 | 10413 | /* The GNU C library defines this for functions which it implements | 
 | 10414 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 10415 |     something starting with __ and the normal name is an alias.  */ | 
 | 10416 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 10417 | choke me | 
 | 10418 | #else | 
 | 10419 | f = $ac_func; | 
 | 10420 | #endif | 
 | 10421 |  | 
 | 10422 |   ; | 
 | 10423 |   return 0; | 
 | 10424 | } | 
 | 10425 | _ACEOF | 
 | 10426 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 10427 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10428 |   (eval $ac_link) 2>&5 | 
 | 10429 |   ac_status=$? | 
 | 10430 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10431 |   (exit $ac_status); } && | 
 | 10432 |          { ac_try='test -s conftest$ac_exeext' | 
 | 10433 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10434 |   (eval $ac_try) 2>&5 | 
 | 10435 |   ac_status=$? | 
 | 10436 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10437 |   (exit $ac_status); }; }; then | 
 | 10438 |   eval "$as_ac_var=yes" | 
 | 10439 | else | 
 | 10440 |   echo "$as_me: failed program was:" >&5 | 
 | 10441 | cat conftest.$ac_ext >&5 | 
 | 10442 | eval "$as_ac_var=no" | 
 | 10443 | fi | 
 | 10444 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 10445 | fi | 
 | 10446 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 10447 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 10448 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 10449 |  | 
 | 10450 | cat >>confdefs.h <<_ACEOF | 
 | 10451 | #define CRAY_STACKSEG_END $ac_func | 
 | 10452 | _ACEOF | 
 | 10453 |  | 
 | 10454 |     break | 
 | 10455 | fi | 
 | 10456 |  | 
 | 10457 |   done | 
 | 10458 | fi | 
 | 10459 |  | 
 | 10460 | echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 | 
 | 10461 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 | 
 | 10462 | if test "${ac_cv_c_stack_direction+set}" = set; then | 
 | 10463 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10464 | else | 
 | 10465 |   if test "$cross_compiling" = yes; then | 
 | 10466 |   ac_cv_c_stack_direction=0 | 
 | 10467 | else | 
 | 10468 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10469 | #line $LINENO "configure" | 
 | 10470 | #include "confdefs.h" | 
 | 10471 | int | 
 | 10472 | find_stack_direction () | 
 | 10473 | { | 
 | 10474 |   static char *addr = 0; | 
 | 10475 |   auto char dummy; | 
 | 10476 |   if (addr == 0) | 
 | 10477 |     { | 
 | 10478 |       addr = &dummy; | 
 | 10479 |       return find_stack_direction (); | 
 | 10480 |     } | 
 | 10481 |   else | 
 | 10482 |     return (&dummy > addr) ? 1 : -1; | 
 | 10483 | } | 
 | 10484 |  | 
 | 10485 | int | 
 | 10486 | main () | 
 | 10487 | { | 
 | 10488 |   exit (find_stack_direction () < 0); | 
 | 10489 | } | 
 | 10490 | _ACEOF | 
 | 10491 | rm -f conftest$ac_exeext | 
 | 10492 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10493 |   (eval $ac_link) 2>&5 | 
 | 10494 |   ac_status=$? | 
 | 10495 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10496 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 10497 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10498 |   (eval $ac_try) 2>&5 | 
 | 10499 |   ac_status=$? | 
 | 10500 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10501 |   (exit $ac_status); }; }; then | 
 | 10502 |   ac_cv_c_stack_direction=1 | 
 | 10503 | else | 
 | 10504 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 10505 | echo "$as_me: failed program was:" >&5 | 
 | 10506 | cat conftest.$ac_ext >&5 | 
 | 10507 | ( exit $ac_status ) | 
 | 10508 | ac_cv_c_stack_direction=-1 | 
 | 10509 | fi | 
 | 10510 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 10511 | fi | 
 | 10512 | fi | 
 | 10513 | echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | 
 | 10514 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 | 
 | 10515 |  | 
 | 10516 | cat >>confdefs.h <<_ACEOF | 
 | 10517 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 
 | 10518 | _ACEOF | 
 | 10519 |  | 
 | 10520 |  | 
 | 10521 | fi | 
 | 10522 |  | 
 | 10523 | if test $ac_cv_c_compiler_gnu = yes; then | 
 | 10524 |     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 | 
 | 10525 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 | 
 | 10526 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then | 
 | 10527 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10528 | else | 
 | 10529 |     ac_pattern="Autoconf.*'x'" | 
 | 10530 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10531 | #line $LINENO "configure" | 
 | 10532 | #include "confdefs.h" | 
 | 10533 | #include <sgtty.h> | 
 | 10534 | Autoconf TIOCGETP | 
 | 10535 | _ACEOF | 
 | 10536 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 10537 |   egrep "$ac_pattern" >/dev/null 2>&1; then | 
 | 10538 |   ac_cv_prog_gcc_traditional=yes | 
 | 10539 | else | 
 | 10540 |   ac_cv_prog_gcc_traditional=no | 
 | 10541 | fi | 
 | 10542 | rm -f conftest* | 
 | 10543 |  | 
 | 10544 |  | 
 | 10545 |   if test $ac_cv_prog_gcc_traditional = no; then | 
 | 10546 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 10547 | #line $LINENO "configure" | 
 | 10548 | #include "confdefs.h" | 
 | 10549 | #include <termio.h> | 
 | 10550 | Autoconf TCGETA | 
 | 10551 | _ACEOF | 
 | 10552 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 10553 |   egrep "$ac_pattern" >/dev/null 2>&1; then | 
 | 10554 |   ac_cv_prog_gcc_traditional=yes | 
 | 10555 | fi | 
 | 10556 | rm -f conftest* | 
 | 10557 |  | 
 | 10558 |   fi | 
 | 10559 | fi | 
 | 10560 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 | 
 | 10561 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 | 
 | 10562 |   if test $ac_cv_prog_gcc_traditional = yes; then | 
 | 10563 |     CC="$CC -traditional" | 
 | 10564 |   fi | 
 | 10565 | fi | 
 | 10566 |  | 
 | 10567 | echo "$as_me:$LINENO: checking for working memcmp" >&5 | 
 | 10568 | echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 | 
 | 10569 | if test "${ac_cv_func_memcmp_working+set}" = set; then | 
 | 10570 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10571 | else | 
 | 10572 |   if test "$cross_compiling" = yes; then | 
 | 10573 |   ac_cv_func_memcmp_working=no | 
 | 10574 | else | 
 | 10575 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10576 | #line $LINENO "configure" | 
 | 10577 | #include "confdefs.h" | 
 | 10578 |  | 
 | 10579 | #ifdef F77_DUMMY_MAIN | 
 | 10580 | #  ifdef __cplusplus | 
 | 10581 |      extern "C" | 
 | 10582 | #  endif | 
 | 10583 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10584 | #endif | 
 | 10585 | int | 
 | 10586 | main () | 
 | 10587 | { | 
 | 10588 |  | 
 | 10589 |   /* Some versions of memcmp are not 8-bit clean.  */ | 
 | 10590 |   char c0 = 0x40, c1 = 0x80, c2 = 0x81; | 
 | 10591 |   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) | 
 | 10592 |     exit (1); | 
 | 10593 |  | 
 | 10594 |   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes | 
 | 10595 |      or more and with at least one buffer not starting on a 4-byte boundary. | 
 | 10596 |      William Lewis provided this test program.   */ | 
 | 10597 |   { | 
 | 10598 |     char foo[21]; | 
 | 10599 |     char bar[21]; | 
 | 10600 |     int i; | 
 | 10601 |     for (i = 0; i < 4; i++) | 
 | 10602 |       { | 
 | 10603 |         char *a = foo + i; | 
 | 10604 |         char *b = bar + i; | 
 | 10605 |         strcpy (a, "--------01111111"); | 
 | 10606 |         strcpy (b, "--------10000000"); | 
 | 10607 |         if (memcmp (a, b, 16) >= 0) | 
 | 10608 |           exit (1); | 
 | 10609 |       } | 
 | 10610 |     exit (0); | 
 | 10611 |   } | 
 | 10612 |  | 
 | 10613 |   ; | 
 | 10614 |   return 0; | 
 | 10615 | } | 
 | 10616 | _ACEOF | 
 | 10617 | rm -f conftest$ac_exeext | 
 | 10618 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10619 |   (eval $ac_link) 2>&5 | 
 | 10620 |   ac_status=$? | 
 | 10621 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10622 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 10623 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10624 |   (eval $ac_try) 2>&5 | 
 | 10625 |   ac_status=$? | 
 | 10626 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10627 |   (exit $ac_status); }; }; then | 
 | 10628 |   ac_cv_func_memcmp_working=yes | 
 | 10629 | else | 
 | 10630 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 10631 | echo "$as_me: failed program was:" >&5 | 
 | 10632 | cat conftest.$ac_ext >&5 | 
 | 10633 | ( exit $ac_status ) | 
 | 10634 | ac_cv_func_memcmp_working=no | 
 | 10635 | fi | 
 | 10636 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 10637 | fi | 
 | 10638 | fi | 
 | 10639 | echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 | 
 | 10640 | echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 | 
 | 10641 | test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext" | 
 | 10642 |  | 
 | 10643 |  | 
 | 10644 |  | 
 | 10645 | for ac_header in stdlib.h unistd.h | 
 | 10646 | do | 
 | 10647 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 10648 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 10649 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 10650 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 10651 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 10652 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10653 | fi | 
 | 10654 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 10655 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 10656 | else | 
 | 10657 |   # Is the header compilable? | 
 | 10658 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 10659 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 10660 | cat >conftest.$ac_ext <<_ACEOF | 
 | 10661 | #line $LINENO "configure" | 
 | 10662 | #include "confdefs.h" | 
 | 10663 | $ac_includes_default | 
 | 10664 | #include <$ac_header> | 
 | 10665 | _ACEOF | 
 | 10666 | rm -f conftest.$ac_objext | 
 | 10667 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 10668 |   (eval $ac_compile) 2>&5 | 
 | 10669 |   ac_status=$? | 
 | 10670 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10671 |   (exit $ac_status); } && | 
 | 10672 |          { ac_try='test -s conftest.$ac_objext' | 
 | 10673 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10674 |   (eval $ac_try) 2>&5 | 
 | 10675 |   ac_status=$? | 
 | 10676 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10677 |   (exit $ac_status); }; }; then | 
 | 10678 |   ac_header_compiler=yes | 
 | 10679 | else | 
 | 10680 |   echo "$as_me: failed program was:" >&5 | 
 | 10681 | cat conftest.$ac_ext >&5 | 
 | 10682 | ac_header_compiler=no | 
 | 10683 | fi | 
 | 10684 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 10685 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 10686 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 10687 |  | 
 | 10688 | # Is the header present? | 
 | 10689 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 10690 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 10691 | cat >conftest.$ac_ext <<_ACEOF | 
 | 10692 | #line $LINENO "configure" | 
 | 10693 | #include "confdefs.h" | 
 | 10694 | #include <$ac_header> | 
 | 10695 | _ACEOF | 
 | 10696 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 10697 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 10698 |   ac_status=$? | 
 | 10699 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 10700 |   rm -f conftest.er1 | 
 | 10701 |   cat conftest.err >&5 | 
 | 10702 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10703 |   (exit $ac_status); } >/dev/null; then | 
 | 10704 |   if test -s conftest.err; then | 
 | 10705 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 10706 |   else | 
 | 10707 |     ac_cpp_err= | 
 | 10708 |   fi | 
 | 10709 | else | 
 | 10710 |   ac_cpp_err=yes | 
 | 10711 | fi | 
 | 10712 | if test -z "$ac_cpp_err"; then | 
 | 10713 |   ac_header_preproc=yes | 
 | 10714 | else | 
 | 10715 |   echo "$as_me: failed program was:" >&5 | 
 | 10716 |   cat conftest.$ac_ext >&5 | 
 | 10717 |   ac_header_preproc=no | 
 | 10718 | fi | 
 | 10719 | rm -f conftest.err conftest.$ac_ext | 
 | 10720 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 10721 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 10722 |  | 
 | 10723 | # So?  What about this header? | 
 | 10724 | case $ac_header_compiler:$ac_header_preproc in | 
 | 10725 |   yes:no ) | 
 | 10726 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 10727 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 10728 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 10729 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 10730 |   no:yes ) | 
 | 10731 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 10732 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 10733 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 10734 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 10735 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 10736 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 10737 | esac | 
 | 10738 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 10739 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 10740 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 10741 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10742 | else | 
 | 10743 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 10744 | fi | 
 | 10745 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 10746 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 10747 |  | 
 | 10748 | fi | 
 | 10749 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 10750 |   cat >>confdefs.h <<_ACEOF | 
 | 10751 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 10752 | _ACEOF | 
 | 10753 |  | 
 | 10754 | fi | 
 | 10755 |  | 
 | 10756 | done | 
 | 10757 |  | 
 | 10758 |  | 
 | 10759 | for ac_func in getpagesize | 
 | 10760 | do | 
 | 10761 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 10762 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 10763 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 10764 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 10765 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10766 | else | 
 | 10767 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10768 | #line $LINENO "configure" | 
 | 10769 | #include "confdefs.h" | 
 | 10770 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 10771 |     which can conflict with char $ac_func (); below.  */ | 
 | 10772 | #include <assert.h> | 
 | 10773 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 10774 | #ifdef __cplusplus | 
 | 10775 | extern "C" | 
 | 10776 | #endif | 
 | 10777 | /* We use char because int might match the return type of a gcc2 | 
 | 10778 |    builtin and then its argument prototype would still apply.  */ | 
 | 10779 | char $ac_func (); | 
 | 10780 | char (*f) (); | 
 | 10781 |  | 
 | 10782 | #ifdef F77_DUMMY_MAIN | 
 | 10783 | #  ifdef __cplusplus | 
 | 10784 |      extern "C" | 
 | 10785 | #  endif | 
 | 10786 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10787 | #endif | 
 | 10788 | int | 
 | 10789 | main () | 
 | 10790 | { | 
 | 10791 | /* The GNU C library defines this for functions which it implements | 
 | 10792 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 10793 |     something starting with __ and the normal name is an alias.  */ | 
 | 10794 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 10795 | choke me | 
 | 10796 | #else | 
 | 10797 | f = $ac_func; | 
 | 10798 | #endif | 
 | 10799 |  | 
 | 10800 |   ; | 
 | 10801 |   return 0; | 
 | 10802 | } | 
 | 10803 | _ACEOF | 
 | 10804 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 10805 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10806 |   (eval $ac_link) 2>&5 | 
 | 10807 |   ac_status=$? | 
 | 10808 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10809 |   (exit $ac_status); } && | 
 | 10810 |          { ac_try='test -s conftest$ac_exeext' | 
 | 10811 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10812 |   (eval $ac_try) 2>&5 | 
 | 10813 |   ac_status=$? | 
 | 10814 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10815 |   (exit $ac_status); }; }; then | 
 | 10816 |   eval "$as_ac_var=yes" | 
 | 10817 | else | 
 | 10818 |   echo "$as_me: failed program was:" >&5 | 
 | 10819 | cat conftest.$ac_ext >&5 | 
 | 10820 | eval "$as_ac_var=no" | 
 | 10821 | fi | 
 | 10822 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 10823 | fi | 
 | 10824 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 10825 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 10826 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 10827 |   cat >>confdefs.h <<_ACEOF | 
 | 10828 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
 | 10829 | _ACEOF | 
 | 10830 |  | 
 | 10831 | fi | 
 | 10832 | done | 
 | 10833 |  | 
 | 10834 | echo "$as_me:$LINENO: checking for working mmap" >&5 | 
 | 10835 | echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 | 
 | 10836 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | 
 | 10837 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10838 | else | 
 | 10839 |   if test "$cross_compiling" = yes; then | 
 | 10840 |   ac_cv_func_mmap_fixed_mapped=no | 
 | 10841 | else | 
 | 10842 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10843 | #line $LINENO "configure" | 
 | 10844 | #include "confdefs.h" | 
 | 10845 | $ac_includes_default | 
 | 10846 | /* malloc might have been renamed as rpl_malloc. */ | 
 | 10847 | #undef malloc | 
 | 10848 |  | 
 | 10849 | /* Thanks to Mike Haertel and Jim Avera for this test. | 
 | 10850 |    Here is a matrix of mmap possibilities: | 
 | 10851 | 	mmap private not fixed | 
 | 10852 | 	mmap private fixed at somewhere currently unmapped | 
 | 10853 | 	mmap private fixed at somewhere already mapped | 
 | 10854 | 	mmap shared not fixed | 
 | 10855 | 	mmap shared fixed at somewhere currently unmapped | 
 | 10856 | 	mmap shared fixed at somewhere already mapped | 
 | 10857 |    For private mappings, we should verify that changes cannot be read() | 
 | 10858 |    back from the file, nor mmap's back from the file at a different | 
 | 10859 |    address.  (There have been systems where private was not correctly | 
 | 10860 |    implemented like the infamous i386 svr4.0, and systems where the | 
 | 10861 |    VM page cache was not coherent with the file system buffer cache | 
 | 10862 |    like early versions of FreeBSD and possibly contemporary NetBSD.) | 
 | 10863 |    For shared mappings, we should conversely verify that changes get | 
 | 10864 |    propagated back to all the places they're supposed to be. | 
 | 10865 |  | 
 | 10866 |    Grep wants private fixed already mapped. | 
 | 10867 |    The main things grep needs to know about mmap are: | 
 | 10868 |    * does it exist and is it safe to write into the mmap'd area | 
 | 10869 |    * how to use it (BSD variants)  */ | 
 | 10870 |  | 
 | 10871 | #include <fcntl.h> | 
 | 10872 | #include <sys/mman.h> | 
 | 10873 |  | 
 | 10874 | #if !STDC_HEADERS && !HAVE_STDLIB_H | 
 | 10875 | char *malloc (); | 
 | 10876 | #endif | 
 | 10877 |  | 
 | 10878 | /* This mess was copied from the GNU getpagesize.h.  */ | 
 | 10879 | #if !HAVE_GETPAGESIZE | 
 | 10880 | /* Assume that all systems that can run configure have sys/param.h.  */ | 
 | 10881 | # if !HAVE_SYS_PARAM_H | 
 | 10882 | #  define HAVE_SYS_PARAM_H 1 | 
 | 10883 | # endif | 
 | 10884 |  | 
 | 10885 | # ifdef _SC_PAGESIZE | 
 | 10886 | #  define getpagesize() sysconf(_SC_PAGESIZE) | 
 | 10887 | # else /* no _SC_PAGESIZE */ | 
 | 10888 | #  if HAVE_SYS_PARAM_H | 
 | 10889 | #   include <sys/param.h> | 
 | 10890 | #   ifdef EXEC_PAGESIZE | 
 | 10891 | #    define getpagesize() EXEC_PAGESIZE | 
 | 10892 | #   else /* no EXEC_PAGESIZE */ | 
 | 10893 | #    ifdef NBPG | 
 | 10894 | #     define getpagesize() NBPG * CLSIZE | 
 | 10895 | #     ifndef CLSIZE | 
 | 10896 | #      define CLSIZE 1 | 
 | 10897 | #     endif /* no CLSIZE */ | 
 | 10898 | #    else /* no NBPG */ | 
 | 10899 | #     ifdef NBPC | 
 | 10900 | #      define getpagesize() NBPC | 
 | 10901 | #     else /* no NBPC */ | 
 | 10902 | #      ifdef PAGESIZE | 
 | 10903 | #       define getpagesize() PAGESIZE | 
 | 10904 | #      endif /* PAGESIZE */ | 
 | 10905 | #     endif /* no NBPC */ | 
 | 10906 | #    endif /* no NBPG */ | 
 | 10907 | #   endif /* no EXEC_PAGESIZE */ | 
 | 10908 | #  else /* no HAVE_SYS_PARAM_H */ | 
 | 10909 | #   define getpagesize() 8192	/* punt totally */ | 
 | 10910 | #  endif /* no HAVE_SYS_PARAM_H */ | 
 | 10911 | # endif /* no _SC_PAGESIZE */ | 
 | 10912 |  | 
 | 10913 | #endif /* no HAVE_GETPAGESIZE */ | 
 | 10914 |  | 
 | 10915 | int | 
 | 10916 | main () | 
 | 10917 | { | 
 | 10918 |   char *data, *data2, *data3; | 
 | 10919 |   int i, pagesize; | 
 | 10920 |   int fd; | 
 | 10921 |  | 
 | 10922 |   pagesize = getpagesize (); | 
 | 10923 |  | 
 | 10924 |   /* First, make a file with some known garbage in it. */ | 
 | 10925 |   data = (char *) malloc (pagesize); | 
 | 10926 |   if (!data) | 
 | 10927 |     exit (1); | 
 | 10928 |   for (i = 0; i < pagesize; ++i) | 
 | 10929 |     *(data + i) = rand (); | 
 | 10930 |   umask (0); | 
 | 10931 |   fd = creat ("conftest.mmap", 0600); | 
 | 10932 |   if (fd < 0) | 
 | 10933 |     exit (1); | 
 | 10934 |   if (write (fd, data, pagesize) != pagesize) | 
 | 10935 |     exit (1); | 
 | 10936 |   close (fd); | 
 | 10937 |  | 
 | 10938 |   /* Next, try to mmap the file at a fixed address which already has | 
 | 10939 |      something else allocated at it.  If we can, also make sure that | 
 | 10940 |      we see the same garbage.  */ | 
 | 10941 |   fd = open ("conftest.mmap", O_RDWR); | 
 | 10942 |   if (fd < 0) | 
 | 10943 |     exit (1); | 
 | 10944 |   data2 = (char *) malloc (2 * pagesize); | 
 | 10945 |   if (!data2) | 
 | 10946 |     exit (1); | 
 | 10947 |   data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); | 
 | 10948 |   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 
 | 10949 |                      MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 
 | 10950 |     exit (1); | 
 | 10951 |   for (i = 0; i < pagesize; ++i) | 
 | 10952 |     if (*(data + i) != *(data2 + i)) | 
 | 10953 |       exit (1); | 
 | 10954 |  | 
 | 10955 |   /* Finally, make sure that changes to the mapped area do not | 
 | 10956 |      percolate back to the file as seen by read().  (This is a bug on | 
 | 10957 |      some variants of i386 svr4.0.)  */ | 
 | 10958 |   for (i = 0; i < pagesize; ++i) | 
 | 10959 |     *(data2 + i) = *(data2 + i) + 1; | 
 | 10960 |   data3 = (char *) malloc (pagesize); | 
 | 10961 |   if (!data3) | 
 | 10962 |     exit (1); | 
 | 10963 |   if (read (fd, data3, pagesize) != pagesize) | 
 | 10964 |     exit (1); | 
 | 10965 |   for (i = 0; i < pagesize; ++i) | 
 | 10966 |     if (*(data + i) != *(data3 + i)) | 
 | 10967 |       exit (1); | 
 | 10968 |   close (fd); | 
 | 10969 |   exit (0); | 
 | 10970 | } | 
 | 10971 | _ACEOF | 
 | 10972 | rm -f conftest$ac_exeext | 
 | 10973 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10974 |   (eval $ac_link) 2>&5 | 
 | 10975 |   ac_status=$? | 
 | 10976 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10977 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 10978 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10979 |   (eval $ac_try) 2>&5 | 
 | 10980 |   ac_status=$? | 
 | 10981 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10982 |   (exit $ac_status); }; }; then | 
 | 10983 |   ac_cv_func_mmap_fixed_mapped=yes | 
 | 10984 | else | 
 | 10985 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 10986 | echo "$as_me: failed program was:" >&5 | 
 | 10987 | cat conftest.$ac_ext >&5 | 
 | 10988 | ( exit $ac_status ) | 
 | 10989 | ac_cv_func_mmap_fixed_mapped=no | 
 | 10990 | fi | 
 | 10991 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 10992 | fi | 
 | 10993 | fi | 
 | 10994 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 
 | 10995 | echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 | 
 | 10996 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | 
 | 10997 |  | 
 | 10998 | cat >>confdefs.h <<\_ACEOF | 
 | 10999 | #define HAVE_MMAP 1 | 
 | 11000 | _ACEOF | 
 | 11001 |  | 
 | 11002 | fi | 
 | 11003 | rm -f conftest.mmap | 
 | 11004 |  | 
 | 11005 | echo "$as_me:$LINENO: checking for mmap of files" >&5 | 
 | 11006 | echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6 | 
 | 11007 | if test "${ac_cv_func_mmap_file+set}" = set; then | 
 | 11008 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11009 | else | 
 | 11010 |  | 
 | 11011 |  | 
 | 11012 |   ac_ext=c | 
 | 11013 | ac_cpp='$CPP $CPPFLAGS' | 
 | 11014 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 11015 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 11016 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 11017 |  | 
 | 11018 |   if test "$cross_compiling" = yes; then | 
 | 11019 |   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | 
 | 11020 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 
 | 11021 |    { (exit 1); exit 1; }; } | 
 | 11022 | else | 
 | 11023 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11024 | #line $LINENO "configure" | 
 | 11025 | #include "confdefs.h" | 
 | 11026 |  | 
 | 11027 | #ifdef HAVE_SYS_MMAN_H | 
 | 11028 | #include <sys/mman.h> | 
 | 11029 | #endif | 
 | 11030 |  | 
 | 11031 | #ifdef HAVE_SYS_TYPES_H | 
 | 11032 | #include <sys/types.h> | 
 | 11033 | #endif | 
 | 11034 |  | 
 | 11035 | #ifdef HAVE_FCNTL_H | 
 | 11036 | #include <fcntl.h> | 
 | 11037 | #endif | 
 | 11038 |  | 
 | 11039 |   int fd; | 
 | 11040 |   int main () { | 
 | 11041 |   fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);} | 
 | 11042 | _ACEOF | 
 | 11043 | rm -f conftest$ac_exeext | 
 | 11044 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11045 |   (eval $ac_link) 2>&5 | 
 | 11046 |   ac_status=$? | 
 | 11047 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11048 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 11049 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11050 |   (eval $ac_try) 2>&5 | 
 | 11051 |   ac_status=$? | 
 | 11052 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11053 |   (exit $ac_status); }; }; then | 
 | 11054 |   ac_cv_func_mmap_file=yes | 
 | 11055 | else | 
 | 11056 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 11057 | echo "$as_me: failed program was:" >&5 | 
 | 11058 | cat conftest.$ac_ext >&5 | 
 | 11059 | ( exit $ac_status ) | 
 | 11060 | ac_cv_func_mmap_file=no | 
 | 11061 | fi | 
 | 11062 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 11063 | fi | 
 | 11064 |   ac_ext=c | 
 | 11065 | ac_cpp='$CPP $CPPFLAGS' | 
 | 11066 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 11067 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 11068 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 11069 |  | 
 | 11070 |  | 
 | 11071 | fi | 
 | 11072 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5 | 
 | 11073 | echo "${ECHO_T}$ac_cv_func_mmap_file" >&6 | 
 | 11074 | if test "$ac_cv_func_mmap_file" = yes; then | 
 | 11075 |    cat >>confdefs.h <<\_ACEOF | 
 | 11076 | #define HAVE_MMAP_FILE 1 | 
 | 11077 | _ACEOF | 
 | 11078 |  | 
 | 11079 |    MMAP_FILE=yes | 
 | 11080 |  | 
 | 11081 | fi | 
 | 11082 |  | 
 | 11083 | if test ${ac_cv_func_mmap_file} = "no" | 
 | 11084 | then | 
 | 11085 | 	{ { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5 | 
 | 11086 | echo "$as_me: error: mmap() of files required but not found" >&2;} | 
 | 11087 |    { (exit 1); exit 1; }; } | 
 | 11088 | fi | 
 | 11089 | echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5 | 
 | 11090 | echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6 | 
 | 11091 | if test "${ac_cv_header_mmap_anon+set}" = set; then | 
 | 11092 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11093 | else | 
 | 11094 |  | 
 | 11095 |  | 
 | 11096 |   ac_ext=c | 
 | 11097 | ac_cpp='$CPP $CPPFLAGS' | 
 | 11098 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 11099 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 11100 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 11101 |  | 
 | 11102 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11103 | #line $LINENO "configure" | 
 | 11104 | #include "confdefs.h" | 
 | 11105 | #include <sys/mman.h> | 
 | 11106 |   #include <unistd.h> | 
 | 11107 |   #include <fcntl.h> | 
 | 11108 | #ifdef F77_DUMMY_MAIN | 
 | 11109 | #  ifdef __cplusplus | 
 | 11110 |      extern "C" | 
 | 11111 | #  endif | 
 | 11112 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 11113 | #endif | 
 | 11114 | int | 
 | 11115 | main () | 
 | 11116 | { | 
 | 11117 | mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0); | 
 | 11118 |   ; | 
 | 11119 |   return 0; | 
 | 11120 | } | 
 | 11121 | _ACEOF | 
 | 11122 | rm -f conftest.$ac_objext | 
 | 11123 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 11124 |   (eval $ac_compile) 2>&5 | 
 | 11125 |   ac_status=$? | 
 | 11126 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11127 |   (exit $ac_status); } && | 
 | 11128 |          { ac_try='test -s conftest.$ac_objext' | 
 | 11129 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11130 |   (eval $ac_try) 2>&5 | 
 | 11131 |   ac_status=$? | 
 | 11132 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11133 |   (exit $ac_status); }; }; then | 
 | 11134 |   ac_cv_header_mmap_anon=yes | 
 | 11135 | else | 
 | 11136 |   echo "$as_me: failed program was:" >&5 | 
 | 11137 | cat conftest.$ac_ext >&5 | 
 | 11138 | ac_cv_header_mmap_anon=no | 
 | 11139 | fi | 
 | 11140 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 11141 |   ac_ext=c | 
 | 11142 | ac_cpp='$CPP $CPPFLAGS' | 
 | 11143 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 11144 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 11145 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 11146 |  | 
 | 11147 |  | 
 | 11148 | fi | 
 | 11149 | echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5 | 
 | 11150 | echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6 | 
 | 11151 | if test "$ac_cv_header_mmap_anon" = yes; then | 
 | 11152 |    cat >>confdefs.h <<\_ACEOF | 
 | 11153 | #define HAVE_MMAP_ANONYMOUS 1 | 
 | 11154 | _ACEOF | 
 | 11155 |  | 
 | 11156 | fi | 
 | 11157 |  | 
 | 11158 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | 
 | 11159 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 | 
 | 11160 | if test "${ac_cv_type_signal+set}" = set; then | 
 | 11161 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11162 | else | 
 | 11163 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11164 | #line $LINENO "configure" | 
 | 11165 | #include "confdefs.h" | 
 | 11166 | #include <sys/types.h> | 
 | 11167 | #include <signal.h> | 
 | 11168 | #ifdef signal | 
 | 11169 | # undef signal | 
 | 11170 | #endif | 
 | 11171 | #ifdef __cplusplus | 
 | 11172 | extern "C" void (*signal (int, void (*)(int)))(int); | 
 | 11173 | #else | 
 | 11174 | void (*signal ()) (); | 
 | 11175 | #endif | 
 | 11176 |  | 
 | 11177 | #ifdef F77_DUMMY_MAIN | 
 | 11178 | #  ifdef __cplusplus | 
 | 11179 |      extern "C" | 
 | 11180 | #  endif | 
 | 11181 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 11182 | #endif | 
 | 11183 | int | 
 | 11184 | main () | 
 | 11185 | { | 
 | 11186 | int i; | 
 | 11187 |   ; | 
 | 11188 |   return 0; | 
 | 11189 | } | 
 | 11190 | _ACEOF | 
 | 11191 | rm -f conftest.$ac_objext | 
 | 11192 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 11193 |   (eval $ac_compile) 2>&5 | 
 | 11194 |   ac_status=$? | 
 | 11195 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11196 |   (exit $ac_status); } && | 
 | 11197 |          { ac_try='test -s conftest.$ac_objext' | 
 | 11198 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11199 |   (eval $ac_try) 2>&5 | 
 | 11200 |   ac_status=$? | 
 | 11201 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11202 |   (exit $ac_status); }; }; then | 
 | 11203 |   ac_cv_type_signal=void | 
 | 11204 | else | 
 | 11205 |   echo "$as_me: failed program was:" >&5 | 
 | 11206 | cat conftest.$ac_ext >&5 | 
 | 11207 | ac_cv_type_signal=int | 
 | 11208 | fi | 
 | 11209 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 11210 | fi | 
 | 11211 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 
 | 11212 | echo "${ECHO_T}$ac_cv_type_signal" >&6 | 
 | 11213 |  | 
 | 11214 | cat >>confdefs.h <<_ACEOF | 
 | 11215 | #define RETSIGTYPE $ac_cv_type_signal | 
 | 11216 | _ACEOF | 
 | 11217 |  | 
 | 11218 |  | 
 | 11219 |  | 
 | 11220 |  | 
 | 11221 |  | 
 | 11222 |  | 
 | 11223 |  | 
 | 11224 |  | 
 | 11225 |  | 
 | 11226 |  | 
 | 11227 |  | 
 | 11228 | for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol | 
 | 11229 | do | 
 | 11230 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 11231 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 11232 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 11233 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 11234 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11235 | else | 
 | 11236 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11237 | #line $LINENO "configure" | 
 | 11238 | #include "confdefs.h" | 
 | 11239 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 11240 |     which can conflict with char $ac_func (); below.  */ | 
 | 11241 | #include <assert.h> | 
 | 11242 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11243 | #ifdef __cplusplus | 
 | 11244 | extern "C" | 
 | 11245 | #endif | 
 | 11246 | /* We use char because int might match the return type of a gcc2 | 
 | 11247 |    builtin and then its argument prototype would still apply.  */ | 
 | 11248 | char $ac_func (); | 
 | 11249 | char (*f) (); | 
 | 11250 |  | 
 | 11251 | #ifdef F77_DUMMY_MAIN | 
 | 11252 | #  ifdef __cplusplus | 
 | 11253 |      extern "C" | 
 | 11254 | #  endif | 
 | 11255 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 11256 | #endif | 
 | 11257 | int | 
 | 11258 | main () | 
 | 11259 | { | 
 | 11260 | /* The GNU C library defines this for functions which it implements | 
 | 11261 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 11262 |     something starting with __ and the normal name is an alias.  */ | 
 | 11263 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 11264 | choke me | 
 | 11265 | #else | 
 | 11266 | f = $ac_func; | 
 | 11267 | #endif | 
 | 11268 |  | 
 | 11269 |   ; | 
 | 11270 |   return 0; | 
 | 11271 | } | 
 | 11272 | _ACEOF | 
 | 11273 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11274 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11275 |   (eval $ac_link) 2>&5 | 
 | 11276 |   ac_status=$? | 
 | 11277 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11278 |   (exit $ac_status); } && | 
 | 11279 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11280 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11281 |   (eval $ac_try) 2>&5 | 
 | 11282 |   ac_status=$? | 
 | 11283 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11284 |   (exit $ac_status); }; }; then | 
 | 11285 |   eval "$as_ac_var=yes" | 
 | 11286 | else | 
 | 11287 |   echo "$as_me: failed program was:" >&5 | 
 | 11288 | cat conftest.$ac_ext >&5 | 
 | 11289 | eval "$as_ac_var=no" | 
 | 11290 | fi | 
 | 11291 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11292 | fi | 
 | 11293 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 11294 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 11295 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 11296 |   cat >>confdefs.h <<_ACEOF | 
 | 11297 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
 | 11298 | _ACEOF | 
 | 11299 |  | 
 | 11300 | fi | 
 | 11301 | done | 
 | 11302 |  | 
 | 11303 |  | 
 | 11304 |  | 
 | 11305 | echo "$as_me:$LINENO: checking for mmap" >&5 | 
 | 11306 | echo $ECHO_N "checking for mmap... $ECHO_C" >&6 | 
 | 11307 | if test "${ac_cv_func_mmap+set}" = set; then | 
 | 11308 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11309 | else | 
 | 11310 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11311 | #line $LINENO "configure" | 
 | 11312 | #include "confdefs.h" | 
 | 11313 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 11314 |     which can conflict with char mmap (); below.  */ | 
 | 11315 | #include <assert.h> | 
 | 11316 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11317 | #ifdef __cplusplus | 
 | 11318 | extern "C" | 
 | 11319 | #endif | 
 | 11320 | /* We use char because int might match the return type of a gcc2 | 
 | 11321 |    builtin and then its argument prototype would still apply.  */ | 
 | 11322 | char mmap (); | 
 | 11323 | char (*f) (); | 
 | 11324 |  | 
 | 11325 | #ifdef F77_DUMMY_MAIN | 
 | 11326 | #  ifdef __cplusplus | 
 | 11327 |      extern "C" | 
 | 11328 | #  endif | 
 | 11329 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 11330 | #endif | 
 | 11331 | int | 
 | 11332 | main () | 
 | 11333 | { | 
 | 11334 | /* The GNU C library defines this for functions which it implements | 
 | 11335 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 11336 |     something starting with __ and the normal name is an alias.  */ | 
 | 11337 | #if defined (__stub_mmap) || defined (__stub___mmap) | 
 | 11338 | choke me | 
 | 11339 | #else | 
 | 11340 | f = mmap; | 
 | 11341 | #endif | 
 | 11342 |  | 
 | 11343 |   ; | 
 | 11344 |   return 0; | 
 | 11345 | } | 
 | 11346 | _ACEOF | 
 | 11347 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11348 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11349 |   (eval $ac_link) 2>&5 | 
 | 11350 |   ac_status=$? | 
 | 11351 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11352 |   (exit $ac_status); } && | 
 | 11353 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11354 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11355 |   (eval $ac_try) 2>&5 | 
 | 11356 |   ac_status=$? | 
 | 11357 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11358 |   (exit $ac_status); }; }; then | 
 | 11359 |   ac_cv_func_mmap=yes | 
 | 11360 | else | 
 | 11361 |   echo "$as_me: failed program was:" >&5 | 
 | 11362 | cat conftest.$ac_ext >&5 | 
 | 11363 | ac_cv_func_mmap=no | 
 | 11364 | fi | 
 | 11365 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11366 | fi | 
 | 11367 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5 | 
 | 11368 | echo "${ECHO_T}$ac_cv_func_mmap" >&6 | 
 | 11369 | if test $ac_cv_func_mmap = yes; then | 
 | 11370 |   : | 
 | 11371 | else | 
 | 11372 |   { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5 | 
 | 11373 | echo "$as_me: error: Function mmap() required but not found" >&2;} | 
 | 11374 |    { (exit 1); exit 1; }; } | 
 | 11375 | fi | 
 | 11376 |  | 
 | 11377 | echo "$as_me:$LINENO: checking for mprotect" >&5 | 
 | 11378 | echo $ECHO_N "checking for mprotect... $ECHO_C" >&6 | 
 | 11379 | if test "${ac_cv_func_mprotect+set}" = set; then | 
 | 11380 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11381 | else | 
 | 11382 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11383 | #line $LINENO "configure" | 
 | 11384 | #include "confdefs.h" | 
 | 11385 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 11386 |     which can conflict with char mprotect (); below.  */ | 
 | 11387 | #include <assert.h> | 
 | 11388 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11389 | #ifdef __cplusplus | 
 | 11390 | extern "C" | 
 | 11391 | #endif | 
 | 11392 | /* We use char because int might match the return type of a gcc2 | 
 | 11393 |    builtin and then its argument prototype would still apply.  */ | 
 | 11394 | char mprotect (); | 
 | 11395 | char (*f) (); | 
 | 11396 |  | 
 | 11397 | #ifdef F77_DUMMY_MAIN | 
 | 11398 | #  ifdef __cplusplus | 
 | 11399 |      extern "C" | 
 | 11400 | #  endif | 
 | 11401 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 11402 | #endif | 
 | 11403 | int | 
 | 11404 | main () | 
 | 11405 | { | 
 | 11406 | /* The GNU C library defines this for functions which it implements | 
 | 11407 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 11408 |     something starting with __ and the normal name is an alias.  */ | 
 | 11409 | #if defined (__stub_mprotect) || defined (__stub___mprotect) | 
 | 11410 | choke me | 
 | 11411 | #else | 
 | 11412 | f = mprotect; | 
 | 11413 | #endif | 
 | 11414 |  | 
 | 11415 |   ; | 
 | 11416 |   return 0; | 
 | 11417 | } | 
 | 11418 | _ACEOF | 
 | 11419 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11420 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11421 |   (eval $ac_link) 2>&5 | 
 | 11422 |   ac_status=$? | 
 | 11423 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11424 |   (exit $ac_status); } && | 
 | 11425 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11426 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11427 |   (eval $ac_try) 2>&5 | 
 | 11428 |   ac_status=$? | 
 | 11429 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11430 |   (exit $ac_status); }; }; then | 
 | 11431 |   ac_cv_func_mprotect=yes | 
 | 11432 | else | 
 | 11433 |   echo "$as_me: failed program was:" >&5 | 
 | 11434 | cat conftest.$ac_ext >&5 | 
 | 11435 | ac_cv_func_mprotect=no | 
 | 11436 | fi | 
 | 11437 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11438 | fi | 
 | 11439 | echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5 | 
 | 11440 | echo "${ECHO_T}$ac_cv_func_mprotect" >&6 | 
 | 11441 | if test $ac_cv_func_mprotect = yes; then | 
 | 11442 |   : | 
 | 11443 | else | 
 | 11444 |   { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5 | 
 | 11445 | echo "$as_me: error: Function mprotect() required but not found" >&2;} | 
 | 11446 |    { (exit 1); exit 1; }; } | 
 | 11447 | fi | 
 | 11448 |  | 
 | 11449 |  | 
 | 11450 | # Check whether --enable-purify or --disable-purify was given. | 
 | 11451 | if test "${enable_purify+set}" = set; then | 
 | 11452 |   enableval="$enable_purify" | 
 | 11453 |   ENABLE_PURIFY=ENABLE_PURIFY=1 | 
 | 11454 |  | 
 | 11455 | else | 
 | 11456 |   ENABLE_PURIFY= | 
 | 11457 |  | 
 | 11458 | fi; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 11459 | # Check whether --enable-profiling or --disable-profiling was given. | 
 | 11460 | if test "${enable_profiling+set}" = set; then | 
 | 11461 |   enableval="$enable_profiling" | 
 | 11462 |   ENABLE_PROFILING=ENABLE_PROFILING=1 | 
 | 11463 |  | 
 | 11464 | else | 
 | 11465 |   ENABLE_PROFILING= | 
 | 11466 |  | 
 | 11467 | fi; | 
 | 11468 | # Check whether --enable-optimized or --disable-optimized was given. | 
 | 11469 | if test "${enable_optimized+set}" = set; then | 
 | 11470 |   enableval="$enable_optimized" | 
 | 11471 |   ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1 | 
 | 11472 |  | 
 | 11473 | else | 
 | 11474 |   ENABLE_OPTIMIZED= | 
 | 11475 |  | 
 | 11476 | fi; | 
 | 11477 | # Check whether --enable-spec or --disable-spec was given. | 
 | 11478 | if test "${enable_spec+set}" = set; then | 
 | 11479 |   enableval="$enable_spec" | 
 | 11480 |   USE_SPEC=USE_SPEC=1 | 
 | 11481 |  | 
 | 11482 | else | 
 | 11483 |   USE_SPEC= | 
 | 11484 |  | 
 | 11485 | fi; | 
 | 11486 | # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given. | 
 | 11487 | if test "${enable_precompiled_bytecode+set}" = set; then | 
 | 11488 |   enableval="$enable_precompiled_bytecode" | 
 | 11489 |   UPB=USE_PRECOMPILED_BYTECODE=1 | 
 | 11490 |  | 
 | 11491 | else | 
 | 11492 |   UPB= | 
 | 11493 |  | 
 | 11494 | fi; | 
 | 11495 | case $build in | 
 | 11496 | 	*i*86*)  # Check whether --enable-jit or --disable-jit was given. | 
 | 11497 | if test "${enable_jit+set}" = set; then | 
 | 11498 |   enableval="$enable_jit" | 
 | 11499 |   JIT=TARGET_HAS_JIT=1 | 
 | 11500 |  | 
 | 11501 | else | 
 | 11502 |   JIT= | 
 | 11503 |  | 
 | 11504 | fi; | 
 | 11505 | 	         ;; | 
 | 11506 | 	*) | 
 | 11507 | 	         ;; | 
 | 11508 | esac | 
 | 11509 |  | 
 | 11510 |  | 
 | 11511 | # Check whether --with-spec or --without-spec was given. | 
 | 11512 | if test "${with_spec+set}" = set; then | 
 | 11513 |   withval="$with_spec" | 
 | 11514 |   SPEC_ROOT=$withval | 
 | 11515 |  | 
 | 11516 | else | 
 | 11517 |   SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec | 
 | 11518 |  | 
 | 11519 | fi; | 
 | 11520 |  | 
 | 11521 | # Check whether --with-llvmgccdir or --without-llvmgccdir was given. | 
 | 11522 | if test "${with_llvmgccdir+set}" = set; then | 
 | 11523 |   withval="$with_llvmgccdir" | 
 | 11524 |   LLVMGCCDIR=$withval | 
 | 11525 |  | 
 | 11526 | fi; | 
 | 11527 |  | 
 | 11528 | # Check whether --with-bcrepos or --without-bcrepos was given. | 
 | 11529 | if test "${with_bcrepos+set}" = set; then | 
 | 11530 |   withval="$with_bcrepos" | 
 | 11531 |   BCR=$withval | 
 | 11532 |  | 
 | 11533 | else | 
 | 11534 |   BCR=/home/vadve/lattner/LLVMPrograms | 
 | 11535 |  | 
 | 11536 | fi; | 
 | 11537 |  | 
 | 11538 | # Check whether --with-papi or --without-papi was given. | 
 | 11539 | if test "${with_papi+set}" = set; then | 
 | 11540 |   withval="$with_papi" | 
 | 11541 |   PAPIDIR=$withval | 
 | 11542 |  | 
 | 11543 | else | 
 | 11544 |   PAPIDIR=/home/vadve/shared/papi-2.3.4.1 | 
 | 11545 |  | 
 | 11546 | fi; | 
 | 11547 |  | 
 | 11548 | # Check whether --with-objroot or --without-objroot was given. | 
 | 11549 | if test "${with_objroot+set}" = set; then | 
 | 11550 |   withval="$with_objroot" | 
 | 11551 |   OBJROOT=$withval | 
 | 11552 |  | 
 | 11553 | else | 
 | 11554 |   OBJROOT=. | 
 | 11555 |  | 
 | 11556 | fi; | 
 | 11557 |  | 
 | 11558 | # Check whether --with-purify or --without-purify was given. | 
 | 11559 | if test "${with_purify+set}" = set; then | 
 | 11560 |   withval="$with_purify" | 
 | 11561 |   PURIFY=$withval | 
 | 11562 |  | 
 | 11563 | fi; | 
 | 11564 |  | 
 | 11565 | ac_config_files="$ac_config_files Makefile.config" | 
 | 11566 | cat >confcache <<\_ACEOF | 
 | 11567 | # This file is a shell script that caches the results of configure | 
 | 11568 | # tests run on this system so they can be shared between configure | 
 | 11569 | # scripts and configure runs, see configure's option --config-cache. | 
 | 11570 | # It is not useful on other systems.  If it contains results you don't | 
 | 11571 | # want to keep, you may remove or edit it. | 
 | 11572 | # | 
 | 11573 | # config.status only pays attention to the cache file if you give it | 
 | 11574 | # the --recheck option to rerun configure. | 
 | 11575 | # | 
 | 11576 | # `ac_cv_env_foo' variables (set or unset) will be overriden when | 
 | 11577 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
 | 11578 | # following values. | 
 | 11579 |  | 
 | 11580 | _ACEOF | 
 | 11581 |  | 
 | 11582 | # The following way of writing the cache mishandles newlines in values, | 
 | 11583 | # but we know of no workaround that is simple, portable, and efficient. | 
 | 11584 | # So, don't put newlines in cache variables' values. | 
 | 11585 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
 | 11586 | # and sets the high bit in the cache file unless we assign to the vars. | 
 | 11587 | { | 
 | 11588 |   (set) 2>&1 | | 
 | 11589 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
 | 11590 |     *ac_space=\ *) | 
 | 11591 |       # `set' does not quote correctly, so add quotes (double-quote | 
 | 11592 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
 | 11593 |       sed -n \ | 
 | 11594 |         "s/'/'\\\\''/g; | 
 | 11595 |     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
 | 11596 |       ;; | 
 | 11597 |     *) | 
 | 11598 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
 | 11599 |       sed -n \ | 
 | 11600 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
 | 11601 |       ;; | 
 | 11602 |     esac; | 
 | 11603 | } | | 
 | 11604 |   sed ' | 
 | 11605 |      t clear | 
 | 11606 |      : clear | 
 | 11607 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
 | 11608 |      t end | 
 | 11609 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
 | 11610 |      : end' >>confcache | 
 | 11611 | if cmp -s $cache_file confcache; then :; else | 
 | 11612 |   if test -w $cache_file; then | 
 | 11613 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
 | 11614 |     cat confcache >$cache_file | 
 | 11615 |   else | 
 | 11616 |     echo "not updating unwritable cache $cache_file" | 
 | 11617 |   fi | 
 | 11618 | fi | 
 | 11619 | rm -f confcache | 
 | 11620 |  | 
 | 11621 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
 | 11622 | # Let make expand exec_prefix. | 
 | 11623 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
 | 11624 |  | 
 | 11625 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
 | 11626 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
 | 11627 | # trailing colons and then remove the whole line if VPATH becomes empty | 
 | 11628 | # (actually we leave an empty line to preserve line numbers). | 
 | 11629 | if test "x$srcdir" = x.; then | 
 | 11630 |   ac_vpsub='/^[ 	]*VPATH[ 	]*=/{ | 
 | 11631 | s/:*\$(srcdir):*/:/; | 
 | 11632 | s/:*\${srcdir}:*/:/; | 
 | 11633 | s/:*@srcdir@:*/:/; | 
 | 11634 | s/^\([^=]*=[ 	]*\):*/\1/; | 
 | 11635 | s/:*$//; | 
 | 11636 | s/^[^=]*=[ 	]*$//; | 
 | 11637 | }' | 
 | 11638 | fi | 
 | 11639 |  | 
 | 11640 | DEFS=-DHAVE_CONFIG_H | 
 | 11641 |  | 
 | 11642 |  | 
 | 11643 | : ${CONFIG_STATUS=./config.status} | 
 | 11644 | ac_clean_files_save=$ac_clean_files | 
 | 11645 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
 | 11646 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
 | 11647 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
 | 11648 | cat >$CONFIG_STATUS <<_ACEOF | 
 | 11649 | #! $SHELL | 
 | 11650 | # Generated by $as_me. | 
 | 11651 | # Run this file to recreate the current configuration. | 
 | 11652 | # Compiler output produced by configure, useful for debugging | 
 | 11653 | # configure, is in config.log if it exists. | 
 | 11654 |  | 
 | 11655 | debug=false | 
 | 11656 | SHELL=\${CONFIG_SHELL-$SHELL} | 
 | 11657 | _ACEOF | 
 | 11658 |  | 
 | 11659 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 11660 |  | 
 | 11661 | ## --------------------- ## | 
 | 11662 | ## M4sh Initialization.  ## | 
 | 11663 | ## --------------------- ## | 
 | 11664 |  | 
 | 11665 | # Be Bourne compatible | 
 | 11666 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
 | 11667 |   emulate sh | 
 | 11668 |   NULLCMD=: | 
 | 11669 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
 | 11670 |   set -o posix | 
 | 11671 | fi | 
 | 11672 |  | 
 | 11673 | # NLS nuisances. | 
 | 11674 | # Support unset when possible. | 
 | 11675 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
 | 11676 |   as_unset=unset | 
 | 11677 | else | 
 | 11678 |   as_unset=false | 
 | 11679 | fi | 
 | 11680 |  | 
 | 11681 | (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | 
 | 11682 |     { $as_unset LANG || test "${LANG+set}" != set; } || | 
 | 11683 |       { LANG=C; export LANG; } | 
 | 11684 | (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | 
 | 11685 |     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | 
 | 11686 |       { LC_ALL=C; export LC_ALL; } | 
 | 11687 | (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | 
 | 11688 |     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | 
 | 11689 |       { LC_TIME=C; export LC_TIME; } | 
 | 11690 | (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | 
 | 11691 |     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | 
 | 11692 |       { LC_CTYPE=C; export LC_CTYPE; } | 
 | 11693 | (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | 
 | 11694 |     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | 
 | 11695 |       { LANGUAGE=C; export LANGUAGE; } | 
 | 11696 | (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | 
 | 11697 |     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | 
 | 11698 |       { LC_COLLATE=C; export LC_COLLATE; } | 
 | 11699 | (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | 
 | 11700 |     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | 
 | 11701 |       { LC_NUMERIC=C; export LC_NUMERIC; } | 
 | 11702 | (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | 
 | 11703 |     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | 
 | 11704 |       { LC_MESSAGES=C; export LC_MESSAGES; } | 
 | 11705 |  | 
 | 11706 |  | 
 | 11707 | # Name of the executable. | 
 | 11708 | as_me=`(basename "$0") 2>/dev/null || | 
 | 11709 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
 | 11710 | 	 X"$0" : 'X\(//\)$' \| \ | 
 | 11711 | 	 X"$0" : 'X\(/\)$' \| \ | 
 | 11712 | 	 .     : '\(.\)' 2>/dev/null || | 
 | 11713 | echo X/"$0" | | 
 | 11714 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
 | 11715 |   	  /^X\/\(\/\/\)$/{ s//\1/; q; } | 
 | 11716 |   	  /^X\/\(\/\).*/{ s//\1/; q; } | 
 | 11717 |   	  s/.*/./; q'` | 
 | 11718 |  | 
 | 11719 | # PATH needs CR, and LINENO needs CR and PATH. | 
 | 11720 | # Avoid depending upon Character Ranges. | 
 | 11721 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
 | 11722 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
 | 11723 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
 | 11724 | as_cr_digits='0123456789' | 
 | 11725 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
 | 11726 |  | 
 | 11727 | # The user is always right. | 
 | 11728 | if test "${PATH_SEPARATOR+set}" != set; then | 
 | 11729 |   echo "#! /bin/sh" >conftest.sh | 
 | 11730 |   echo  "exit 0"   >>conftest.sh | 
 | 11731 |   chmod +x conftest.sh | 
 | 11732 |   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | 
 | 11733 |     PATH_SEPARATOR=';' | 
 | 11734 |   else | 
 | 11735 |     PATH_SEPARATOR=: | 
 | 11736 |   fi | 
 | 11737 |   rm -f conftest.sh | 
 | 11738 | fi | 
 | 11739 |  | 
 | 11740 |  | 
 | 11741 |   as_lineno_1=$LINENO | 
 | 11742 |   as_lineno_2=$LINENO | 
 | 11743 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 11744 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 11745 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
 | 11746 |   # Find who we are.  Look in the path if we contain no path at all | 
 | 11747 |   # relative or not. | 
 | 11748 |   case $0 in | 
 | 11749 |     *[\\/]* ) as_myself=$0 ;; | 
 | 11750 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 11751 | for as_dir in $PATH | 
 | 11752 | do | 
 | 11753 |   IFS=$as_save_IFS | 
 | 11754 |   test -z "$as_dir" && as_dir=. | 
 | 11755 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
 | 11756 | done | 
 | 11757 |  | 
 | 11758 |        ;; | 
 | 11759 |   esac | 
 | 11760 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
 | 11761 |   # in which case we are not to be found in the path. | 
 | 11762 |   if test "x$as_myself" = x; then | 
 | 11763 |     as_myself=$0 | 
 | 11764 |   fi | 
 | 11765 |   if test ! -f "$as_myself"; then | 
 | 11766 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
 | 11767 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
 | 11768 |    { (exit 1); exit 1; }; } | 
 | 11769 |   fi | 
 | 11770 |   case $CONFIG_SHELL in | 
 | 11771 |   '') | 
 | 11772 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 11773 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
 | 11774 | do | 
 | 11775 |   IFS=$as_save_IFS | 
 | 11776 |   test -z "$as_dir" && as_dir=. | 
 | 11777 |   for as_base in sh bash ksh sh5; do | 
 | 11778 | 	 case $as_dir in | 
 | 11779 | 	 /*) | 
 | 11780 | 	   if ("$as_dir/$as_base" -c ' | 
 | 11781 |   as_lineno_1=$LINENO | 
 | 11782 |   as_lineno_2=$LINENO | 
 | 11783 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 11784 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 11785 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
 | 11786 | 	     CONFIG_SHELL=$as_dir/$as_base | 
 | 11787 | 	     export CONFIG_SHELL | 
 | 11788 | 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
 | 11789 | 	   fi;; | 
 | 11790 | 	 esac | 
 | 11791 |        done | 
 | 11792 | done | 
 | 11793 | ;; | 
 | 11794 |   esac | 
 | 11795 |  | 
 | 11796 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
 | 11797 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
 | 11798 |   # line-number line before each line; the second 'sed' does the real | 
 | 11799 |   # work.  The second script uses 'N' to pair each line-number line | 
 | 11800 |   # with the numbered line, and appends trailing '-' during | 
 | 11801 |   # substitution so that $LINENO is not a special case at line end. | 
 | 11802 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
 | 11803 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
 | 11804 |   sed '=' <$as_myself | | 
 | 11805 |     sed ' | 
 | 11806 |       N | 
 | 11807 |       s,$,-, | 
 | 11808 |       : loop | 
 | 11809 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
 | 11810 |       t loop | 
 | 11811 |       s,-$,, | 
 | 11812 |       s,^['$as_cr_digits']*\n,, | 
 | 11813 |     ' >$as_me.lineno && | 
 | 11814 |   chmod +x $as_me.lineno || | 
 | 11815 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
 | 11816 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
 | 11817 |    { (exit 1); exit 1; }; } | 
 | 11818 |  | 
 | 11819 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
 | 11820 |   # (the dirname of $[0] is not the place where we might find the | 
 | 11821 |   # original and so on.  Autoconf is especially sensible to this). | 
 | 11822 |   . ./$as_me.lineno | 
 | 11823 |   # Exit status is that of the last command. | 
 | 11824 |   exit | 
 | 11825 | } | 
 | 11826 |  | 
 | 11827 |  | 
 | 11828 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
 | 11829 |   *c*,-n*) ECHO_N= ECHO_C=' | 
 | 11830 | ' ECHO_T='	' ;; | 
 | 11831 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
 | 11832 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
 | 11833 | esac | 
 | 11834 |  | 
 | 11835 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 11836 |   as_expr=expr | 
 | 11837 | else | 
 | 11838 |   as_expr=false | 
 | 11839 | fi | 
 | 11840 |  | 
 | 11841 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 11842 | echo >conf$$.file | 
 | 11843 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
 | 11844 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
 | 11845 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
 | 11846 |   if test -f conf$$.exe; then | 
 | 11847 |     # Don't use ln at all; we don't have any links | 
 | 11848 |     as_ln_s='cp -p' | 
 | 11849 |   else | 
 | 11850 |     as_ln_s='ln -s' | 
 | 11851 |   fi | 
 | 11852 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
 | 11853 |   as_ln_s=ln | 
 | 11854 | else | 
 | 11855 |   as_ln_s='cp -p' | 
 | 11856 | fi | 
 | 11857 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 11858 |  | 
 | 11859 | as_executable_p="test -f" | 
 | 11860 |  | 
 | 11861 | # Sed expression to map a string onto a valid CPP name. | 
 | 11862 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 
 | 11863 |  | 
 | 11864 | # Sed expression to map a string onto a valid variable name. | 
 | 11865 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 
 | 11866 |  | 
 | 11867 |  | 
 | 11868 | # IFS | 
 | 11869 | # We need space, tab and new line, in precisely that order. | 
 | 11870 | as_nl=' | 
 | 11871 | ' | 
 | 11872 | IFS=" 	$as_nl" | 
 | 11873 |  | 
 | 11874 | # CDPATH. | 
 | 11875 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | 
 | 11876 |  | 
 | 11877 | exec 6>&1 | 
 | 11878 |  | 
 | 11879 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
 | 11880 | # report actual input values of CONFIG_FILES etc. instead of their | 
 | 11881 | # values after options handling.  Logging --version etc. is OK. | 
 | 11882 | exec 5>>config.log | 
 | 11883 | { | 
 | 11884 |   echo | 
 | 11885 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
 | 11886 | ## Running $as_me. ## | 
 | 11887 | _ASBOX | 
 | 11888 | } >&5 | 
 | 11889 | cat >&5 <<_CSEOF | 
 | 11890 |  | 
 | 11891 | This file was extended by [LLVM] $as_me [1.0], which was | 
 | 11892 | generated by GNU Autoconf 2.53.  Invocation command line was | 
 | 11893 |  | 
 | 11894 |   CONFIG_FILES    = $CONFIG_FILES | 
 | 11895 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
 | 11896 |   CONFIG_LINKS    = $CONFIG_LINKS | 
 | 11897 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
 | 11898 |   $ $0 $@ | 
 | 11899 |  | 
 | 11900 | _CSEOF | 
 | 11901 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
 | 11902 | echo >&5 | 
 | 11903 | _ACEOF | 
 | 11904 |  | 
 | 11905 | # Files that config.status was made for. | 
 | 11906 | if test -n "$ac_config_files"; then | 
 | 11907 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
 | 11908 | fi | 
 | 11909 |  | 
 | 11910 | if test -n "$ac_config_headers"; then | 
 | 11911 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
 | 11912 | fi | 
 | 11913 |  | 
 | 11914 | if test -n "$ac_config_links"; then | 
 | 11915 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
 | 11916 | fi | 
 | 11917 |  | 
 | 11918 | if test -n "$ac_config_commands"; then | 
 | 11919 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
 | 11920 | fi | 
 | 11921 |  | 
 | 11922 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 11923 |  | 
 | 11924 | ac_cs_usage="\ | 
 | 11925 | \`$as_me' instantiates files from templates according to the | 
 | 11926 | current configuration. | 
 | 11927 |  | 
 | 11928 | Usage: $0 [OPTIONS] [FILE]... | 
 | 11929 |  | 
 | 11930 |   -h, --help       print this help, then exit | 
 | 11931 |   -V, --version    print version number, then exit | 
 | 11932 |   -d, --debug      don't remove temporary files | 
 | 11933 |       --recheck    update $as_me by reconfiguring in the same conditions | 
 | 11934 |   --file=FILE[:TEMPLATE] | 
 | 11935 |                    instantiate the configuration file FILE | 
 | 11936 |   --header=FILE[:TEMPLATE] | 
 | 11937 |                    instantiate the configuration header FILE | 
 | 11938 |  | 
 | 11939 | Configuration files: | 
 | 11940 | $config_files | 
 | 11941 |  | 
 | 11942 | Configuration headers: | 
 | 11943 | $config_headers | 
 | 11944 |  | 
 | 11945 | Report bugs to <bug-autoconf@gnu.org>." | 
 | 11946 | _ACEOF | 
 | 11947 |  | 
 | 11948 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 11949 | ac_cs_version="\\ | 
 | 11950 | [LLVM] config.status [1.0] | 
 | 11951 | configured by $0, generated by GNU Autoconf 2.53, | 
 | 11952 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
 | 11953 |  | 
 | 11954 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 
 | 11955 | Free Software Foundation, Inc. | 
 | 11956 | This config.status script is free software; the Free Software Foundation | 
 | 11957 | gives unlimited permission to copy, distribute and modify it." | 
 | 11958 | srcdir=$srcdir | 
 | 11959 | INSTALL="$INSTALL" | 
 | 11960 | _ACEOF | 
 | 11961 |  | 
 | 11962 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 11963 | # If no file are specified by the user, then we need to provide default | 
 | 11964 | # value.  By we need to know if files were specified by the user. | 
 | 11965 | ac_need_defaults=: | 
 | 11966 | while test $# != 0 | 
 | 11967 | do | 
 | 11968 |   case $1 in | 
 | 11969 |   --*=*) | 
 | 11970 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
 | 11971 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
 | 11972 |     shift | 
 | 11973 |     set dummy "$ac_option" "$ac_optarg" ${1+"$@"} | 
 | 11974 |     shift | 
 | 11975 |     ;; | 
 | 11976 |   -*);; | 
 | 11977 |   *) # This is not an option, so the user has probably given explicit | 
 | 11978 |      # arguments. | 
 | 11979 |      ac_need_defaults=false;; | 
 | 11980 |   esac | 
 | 11981 |  | 
 | 11982 |   case $1 in | 
 | 11983 |   # Handling of the options. | 
 | 11984 | _ACEOF | 
 | 11985 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 11986 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
 | 11987 |     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | 
 | 11988 |     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | 
 | 11989 | _ACEOF | 
 | 11990 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 11991 |   --version | --vers* | -V ) | 
 | 11992 |     echo "$ac_cs_version"; exit 0 ;; | 
 | 11993 |   --he | --h) | 
 | 11994 |     # Conflict between --help and --header | 
 | 11995 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
 | 11996 | Try \`$0 --help' for more information." >&5 | 
 | 11997 | echo "$as_me: error: ambiguous option: $1 | 
 | 11998 | Try \`$0 --help' for more information." >&2;} | 
 | 11999 |    { (exit 1); exit 1; }; };; | 
 | 12000 |   --help | --hel | -h ) | 
 | 12001 |     echo "$ac_cs_usage"; exit 0 ;; | 
 | 12002 |   --debug | --d* | -d ) | 
 | 12003 |     debug=: ;; | 
 | 12004 |   --file | --fil | --fi | --f ) | 
 | 12005 |     shift | 
 | 12006 |     CONFIG_FILES="$CONFIG_FILES $1" | 
 | 12007 |     ac_need_defaults=false;; | 
 | 12008 |   --header | --heade | --head | --hea ) | 
 | 12009 |     shift | 
 | 12010 |     CONFIG_HEADERS="$CONFIG_HEADERS $1" | 
 | 12011 |     ac_need_defaults=false;; | 
 | 12012 |  | 
 | 12013 |   # This is an error. | 
 | 12014 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
 | 12015 | Try \`$0 --help' for more information." >&5 | 
 | 12016 | echo "$as_me: error: unrecognized option: $1 | 
 | 12017 | Try \`$0 --help' for more information." >&2;} | 
 | 12018 |    { (exit 1); exit 1; }; } ;; | 
 | 12019 |  | 
 | 12020 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
 | 12021 |  | 
 | 12022 |   esac | 
 | 12023 |   shift | 
 | 12024 | done | 
 | 12025 |  | 
 | 12026 | _ACEOF | 
 | 12027 |  | 
 | 12028 |  | 
 | 12029 |  | 
 | 12030 |  | 
 | 12031 |  | 
 | 12032 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12033 | for ac_config_target in $ac_config_targets | 
 | 12034 | do | 
 | 12035 |   case "$ac_config_target" in | 
 | 12036 |   # Handling of arguments. | 
 | 12037 |   "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;; | 
 | 12038 |   "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;; | 
 | 12039 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
 | 12040 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
 | 12041 |    { (exit 1); exit 1; }; };; | 
 | 12042 |   esac | 
 | 12043 | done | 
 | 12044 |  | 
 | 12045 | # If the user did not use the arguments to specify the items to instantiate, | 
 | 12046 | # then the envvar interface is used.  Set only those that are not. | 
 | 12047 | # We use the long form for the default assignment because of an extremely | 
 | 12048 | # bizarre bug on SunOS 4.1.3. | 
 | 12049 | if $ac_need_defaults; then | 
 | 12050 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
 | 12051 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
 | 12052 | fi | 
 | 12053 |  | 
 | 12054 | # Create a temporary directory, and hook for its removal unless debugging. | 
 | 12055 | $debug || | 
 | 12056 | { | 
 | 12057 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
 | 12058 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
 | 12059 | } | 
 | 12060 |  | 
 | 12061 | # Create a (secure) tmp directory for tmp files. | 
 | 12062 | : ${TMPDIR=/tmp} | 
 | 12063 | { | 
 | 12064 |   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | 
 | 12065 |   test -n "$tmp" && test -d "$tmp" | 
 | 12066 | }  || | 
 | 12067 | { | 
 | 12068 |   tmp=$TMPDIR/cs$$-$RANDOM | 
 | 12069 |   (umask 077 && mkdir $tmp) | 
 | 12070 | } || | 
 | 12071 | { | 
 | 12072 |    echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | 
 | 12073 |    { (exit 1); exit 1; } | 
 | 12074 | } | 
 | 12075 |  | 
 | 12076 | _ACEOF | 
 | 12077 |  | 
 | 12078 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 12079 |  | 
 | 12080 | # | 
 | 12081 | # CONFIG_FILES section. | 
 | 12082 | # | 
 | 12083 |  | 
 | 12084 | # No need to generate the scripts if there are no CONFIG_FILES. | 
 | 12085 | # This happens for instance when ./config.status config.h | 
 | 12086 | if test -n "\$CONFIG_FILES"; then | 
 | 12087 |   # Protect against being on the right side of a sed subst in config.status. | 
 | 12088 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
 | 12089 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
 | 12090 | s,@SHELL@,$SHELL,;t t | 
 | 12091 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
 | 12092 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
 | 12093 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
 | 12094 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
 | 12095 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
 | 12096 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
 | 12097 | s,@exec_prefix@,$exec_prefix,;t t | 
 | 12098 | s,@prefix@,$prefix,;t t | 
 | 12099 | s,@program_transform_name@,$program_transform_name,;t t | 
 | 12100 | s,@bindir@,$bindir,;t t | 
 | 12101 | s,@sbindir@,$sbindir,;t t | 
 | 12102 | s,@libexecdir@,$libexecdir,;t t | 
 | 12103 | s,@datadir@,$datadir,;t t | 
 | 12104 | s,@sysconfdir@,$sysconfdir,;t t | 
 | 12105 | s,@sharedstatedir@,$sharedstatedir,;t t | 
 | 12106 | s,@localstatedir@,$localstatedir,;t t | 
 | 12107 | s,@libdir@,$libdir,;t t | 
 | 12108 | s,@includedir@,$includedir,;t t | 
 | 12109 | s,@oldincludedir@,$oldincludedir,;t t | 
 | 12110 | s,@infodir@,$infodir,;t t | 
 | 12111 | s,@mandir@,$mandir,;t t | 
 | 12112 | s,@build_alias@,$build_alias,;t t | 
 | 12113 | s,@host_alias@,$host_alias,;t t | 
 | 12114 | s,@target_alias@,$target_alias,;t t | 
 | 12115 | s,@DEFS@,$DEFS,;t t | 
 | 12116 | s,@ECHO_C@,$ECHO_C,;t t | 
 | 12117 | s,@ECHO_N@,$ECHO_N,;t t | 
 | 12118 | s,@ECHO_T@,$ECHO_T,;t t | 
 | 12119 | s,@LIBS@,$LIBS,;t t | 
 | 12120 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
 | 12121 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
 | 12122 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
 | 12123 | s,@build@,$build,;t t | 
 | 12124 | s,@build_cpu@,$build_cpu,;t t | 
 | 12125 | s,@build_vendor@,$build_vendor,;t t | 
 | 12126 | s,@build_os@,$build_os,;t t | 
 | 12127 | s,@host@,$host,;t t | 
 | 12128 | s,@host_cpu@,$host_cpu,;t t | 
 | 12129 | s,@host_vendor@,$host_vendor,;t t | 
 | 12130 | s,@host_os@,$host_os,;t t | 
 | 12131 | s,@target@,$target,;t t | 
 | 12132 | s,@target_cpu@,$target_cpu,;t t | 
 | 12133 | s,@target_vendor@,$target_vendor,;t t | 
 | 12134 | s,@target_os@,$target_os,;t t | 
 | 12135 | s,@OS@,$OS,;t t | 
 | 12136 | s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t | 
 | 12137 | s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame^] | 12138 | s,@ARCH@,$ARCH,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 12139 | s,@CXX@,$CXX,;t t | 
 | 12140 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
 | 12141 | s,@LDFLAGS@,$LDFLAGS,;t t | 
 | 12142 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
 | 12143 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
 | 12144 | s,@EXEEXT@,$EXEEXT,;t t | 
 | 12145 | s,@OBJEXT@,$OBJEXT,;t t | 
 | 12146 | s,@CC@,$CC,;t t | 
 | 12147 | s,@CFLAGS@,$CFLAGS,;t t | 
 | 12148 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
 | 12149 | s,@CPP@,$CPP,;t t | 
 | 12150 | s,@ifGNUmake@,$ifGNUmake,;t t | 
 | 12151 | s,@LEX@,$LEX,;t t | 
 | 12152 | s,@LEXLIB@,$LEXLIB,;t t | 
 | 12153 | s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t | 
 | 12154 | s,@YACC@,$YACC,;t t | 
 | 12155 | s,@LN_S@,$LN_S,;t t | 
 | 12156 | s,@ECHO@,$ECHO,;t t | 
 | 12157 | s,@RANLIB@,$RANLIB,;t t | 
 | 12158 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 
 | 12159 | s,@STRIP@,$STRIP,;t t | 
 | 12160 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
 | 12161 | s,@LIBTOOL@,$LIBTOOL,;t t | 
 | 12162 | s,@AR@,$AR,;t t | 
 | 12163 | s,@SED@,$SED,;t t | 
 | 12164 | s,@RM@,$RM,;t t | 
 | 12165 | s,@MKDIR@,$MKDIR,;t t | 
 | 12166 | s,@DATE@,$DATE,;t t | 
 | 12167 | s,@MV@,$MV,;t t | 
 | 12168 | s,@DOT@,$DOT,;t t | 
 | 12169 | s,@ETAGS@,$ETAGS,;t t | 
 | 12170 | s,@PURIFY@,$PURIFY,;t t | 
 | 12171 | s,@ALLOCA@,$ALLOCA,;t t | 
 | 12172 | s,@LIBOBJS@,$LIBOBJS,;t t | 
 | 12173 | s,@MMAP_FILE@,$MMAP_FILE,;t t | 
 | 12174 | s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 12175 | s,@ENABLE_PROFILING@,$ENABLE_PROFILING,;t t | 
 | 12176 | s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t | 
 | 12177 | s,@USE_SPEC@,$USE_SPEC,;t t | 
 | 12178 | s,@UPB@,$UPB,;t t | 
 | 12179 | s,@JIT@,$JIT,;t t | 
 | 12180 | s,@SPEC_ROOT@,$SPEC_ROOT,;t t | 
 | 12181 | s,@BCR@,$BCR,;t t | 
 | 12182 | s,@PAPIDIR@,$PAPIDIR,;t t | 
 | 12183 | s,@OBJROOT@,$OBJROOT,;t t | 
 | 12184 | CEOF | 
 | 12185 |  | 
 | 12186 | _ACEOF | 
 | 12187 |  | 
 | 12188 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12189 |   # Split the substitutions into bite-sized pieces for seds with | 
 | 12190 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
 | 12191 |   ac_max_sed_lines=48 | 
 | 12192 |   ac_sed_frag=1 # Number of current file. | 
 | 12193 |   ac_beg=1 # First line for current file. | 
 | 12194 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
 | 12195 |   ac_more_lines=: | 
 | 12196 |   ac_sed_cmds= | 
 | 12197 |   while $ac_more_lines; do | 
 | 12198 |     if test $ac_beg -gt 1; then | 
 | 12199 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
 | 12200 |     else | 
 | 12201 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
 | 12202 |     fi | 
 | 12203 |     if test ! -s $tmp/subs.frag; then | 
 | 12204 |       ac_more_lines=false | 
 | 12205 |     else | 
 | 12206 |       # The purpose of the label and of the branching condition is to | 
 | 12207 |       # speed up the sed processing (if there are no `@' at all, there | 
 | 12208 |       # is no need to browse any of the substitutions). | 
 | 12209 |       # These are the two extra sed commands mentioned above. | 
 | 12210 |       (echo ':t | 
 | 12211 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
 | 12212 |       if test -z "$ac_sed_cmds"; then | 
 | 12213 |   	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
 | 12214 |       else | 
 | 12215 |   	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
 | 12216 |       fi | 
 | 12217 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
 | 12218 |       ac_beg=$ac_end | 
 | 12219 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
 | 12220 |     fi | 
 | 12221 |   done | 
 | 12222 |   if test -z "$ac_sed_cmds"; then | 
 | 12223 |     ac_sed_cmds=cat | 
 | 12224 |   fi | 
 | 12225 | fi # test -n "$CONFIG_FILES" | 
 | 12226 |  | 
 | 12227 | _ACEOF | 
 | 12228 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12229 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
 | 12230 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
 | 12231 |   case $ac_file in | 
 | 12232 |   - | *:- | *:-:* ) # input from stdin | 
 | 12233 |         cat >$tmp/stdin | 
 | 12234 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 12235 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 12236 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 12237 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 12238 |   * )   ac_file_in=$ac_file.in ;; | 
 | 12239 |   esac | 
 | 12240 |  | 
 | 12241 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
 | 12242 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
 | 12243 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 12244 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
 | 12245 |          X"$ac_file" : 'X\(//\)$' \| \ | 
 | 12246 |          X"$ac_file" : 'X\(/\)' \| \ | 
 | 12247 |          .     : '\(.\)' 2>/dev/null || | 
 | 12248 | echo X"$ac_file" | | 
 | 12249 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 12250 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 12251 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 12252 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 12253 |   	  s/.*/./; q'` | 
 | 12254 |   { case "$ac_dir" in | 
 | 12255 |   [\\/]* | ?:[\\/]* ) as_incr_dir=;; | 
 | 12256 |   *)                      as_incr_dir=.;; | 
 | 12257 | esac | 
 | 12258 | as_dummy="$ac_dir" | 
 | 12259 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | 
 | 12260 |   case $as_mkdir_dir in | 
 | 12261 |     # Skip DOS drivespec | 
 | 12262 |     ?:) as_incr_dir=$as_mkdir_dir ;; | 
 | 12263 |     *) | 
 | 12264 |       as_incr_dir=$as_incr_dir/$as_mkdir_dir | 
 | 12265 |       test -d "$as_incr_dir" || | 
 | 12266 |         mkdir "$as_incr_dir" || | 
 | 12267 | 	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | 
 | 12268 | echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | 
 | 12269 |    { (exit 1); exit 1; }; } | 
 | 12270 |     ;; | 
 | 12271 |   esac | 
 | 12272 | done; } | 
 | 12273 |  | 
 | 12274 |   ac_builddir=. | 
 | 12275 |  | 
 | 12276 | if test "$ac_dir" != .; then | 
 | 12277 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 12278 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 12279 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 12280 | else | 
 | 12281 |   ac_dir_suffix= ac_top_builddir= | 
 | 12282 | fi | 
 | 12283 |  | 
 | 12284 | case $srcdir in | 
 | 12285 |   .)  # No --srcdir option.  We are building in place. | 
 | 12286 |     ac_srcdir=. | 
 | 12287 |     if test -z "$ac_top_builddir"; then | 
 | 12288 |        ac_top_srcdir=. | 
 | 12289 |     else | 
 | 12290 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 12291 |     fi ;; | 
 | 12292 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 12293 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 12294 |     ac_top_srcdir=$srcdir ;; | 
 | 12295 |   *) # Relative path. | 
 | 12296 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 12297 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 12298 | esac | 
 | 12299 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 12300 | # absolute. | 
 | 12301 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
 | 12302 | ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | 
 | 12303 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 12304 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 12305 |  | 
 | 12306 |  | 
 | 12307 |   case $INSTALL in | 
 | 12308 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
 | 12309 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
 | 12310 |   esac | 
 | 12311 |  | 
 | 12312 |   if test x"$ac_file" != x-; then | 
 | 12313 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
 | 12314 | echo "$as_me: creating $ac_file" >&6;} | 
 | 12315 |     rm -f "$ac_file" | 
 | 12316 |   fi | 
 | 12317 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
 | 12318 |   # use $as_me), people would be surprised to read: | 
 | 12319 |   #    /* config.h.  Generated by config.status.  */ | 
 | 12320 |   if test x"$ac_file" = x-; then | 
 | 12321 |     configure_input= | 
 | 12322 |   else | 
 | 12323 |     configure_input="$ac_file.  " | 
 | 12324 |   fi | 
 | 12325 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
 | 12326 |                                      sed 's,.*/,,'` by configure." | 
 | 12327 |  | 
 | 12328 |   # First look for the input files in the build tree, otherwise in the | 
 | 12329 |   # src tree. | 
 | 12330 |   ac_file_inputs=`IFS=: | 
 | 12331 |     for f in $ac_file_in; do | 
 | 12332 |       case $f in | 
 | 12333 |       -) echo $tmp/stdin ;; | 
 | 12334 |       [\\/$]*) | 
 | 12335 |          # Absolute (can't be DOS-style, as IFS=:) | 
 | 12336 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 12337 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 12338 |    { (exit 1); exit 1; }; } | 
 | 12339 |          echo $f;; | 
 | 12340 |       *) # Relative | 
 | 12341 |          if test -f "$f"; then | 
 | 12342 |            # Build tree | 
 | 12343 |            echo $f | 
 | 12344 |          elif test -f "$srcdir/$f"; then | 
 | 12345 |            # Source tree | 
 | 12346 |            echo $srcdir/$f | 
 | 12347 |          else | 
 | 12348 |            # /dev/null tree | 
 | 12349 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 12350 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 12351 |    { (exit 1); exit 1; }; } | 
 | 12352 |          fi;; | 
 | 12353 |       esac | 
 | 12354 |     done` || { (exit 1); exit 1; } | 
 | 12355 | _ACEOF | 
 | 12356 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 12357 |   sed "$ac_vpsub | 
 | 12358 | $extrasub | 
 | 12359 | _ACEOF | 
 | 12360 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12361 | :t | 
 | 12362 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
 | 12363 | s,@configure_input@,$configure_input,;t t | 
 | 12364 | s,@srcdir@,$ac_srcdir,;t t | 
 | 12365 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
 | 12366 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
 | 12367 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
 | 12368 | s,@builddir@,$ac_builddir,;t t | 
 | 12369 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
 | 12370 | s,@top_builddir@,$ac_top_builddir,;t t | 
 | 12371 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
 | 12372 | s,@INSTALL@,$ac_INSTALL,;t t | 
 | 12373 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
 | 12374 |   rm -f $tmp/stdin | 
 | 12375 |   if test x"$ac_file" != x-; then | 
 | 12376 |     mv $tmp/out $ac_file | 
 | 12377 |   else | 
 | 12378 |     cat $tmp/out | 
 | 12379 |     rm -f $tmp/out | 
 | 12380 |   fi | 
 | 12381 |  | 
 | 12382 | done | 
 | 12383 | _ACEOF | 
 | 12384 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12385 |  | 
 | 12386 | # | 
 | 12387 | # CONFIG_HEADER section. | 
 | 12388 | # | 
 | 12389 |  | 
 | 12390 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
 | 12391 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
 | 12392 | # | 
 | 12393 | # ac_d sets the value in "#define NAME VALUE" lines. | 
 | 12394 | ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)' | 
 | 12395 | ac_dB='[ 	].*$,\1#\2' | 
 | 12396 | ac_dC=' ' | 
 | 12397 | ac_dD=',;t' | 
 | 12398 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
 | 12399 | ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)' | 
 | 12400 | ac_uB='$,\1#\2define\3' | 
 | 12401 | ac_uC=' ' | 
 | 12402 | ac_uD=',;t' | 
 | 12403 |  | 
 | 12404 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
 | 12405 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
 | 12406 |   case $ac_file in | 
 | 12407 |   - | *:- | *:-:* ) # input from stdin | 
 | 12408 |         cat >$tmp/stdin | 
 | 12409 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 12410 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 12411 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 12412 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 12413 |   * )   ac_file_in=$ac_file.in ;; | 
 | 12414 |   esac | 
 | 12415 |  | 
 | 12416 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
 | 12417 | echo "$as_me: creating $ac_file" >&6;} | 
 | 12418 |  | 
 | 12419 |   # First look for the input files in the build tree, otherwise in the | 
 | 12420 |   # src tree. | 
 | 12421 |   ac_file_inputs=`IFS=: | 
 | 12422 |     for f in $ac_file_in; do | 
 | 12423 |       case $f in | 
 | 12424 |       -) echo $tmp/stdin ;; | 
 | 12425 |       [\\/$]*) | 
 | 12426 |          # Absolute (can't be DOS-style, as IFS=:) | 
 | 12427 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 12428 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 12429 |    { (exit 1); exit 1; }; } | 
 | 12430 |          echo $f;; | 
 | 12431 |       *) # Relative | 
 | 12432 |          if test -f "$f"; then | 
 | 12433 |            # Build tree | 
 | 12434 |            echo $f | 
 | 12435 |          elif test -f "$srcdir/$f"; then | 
 | 12436 |            # Source tree | 
 | 12437 |            echo $srcdir/$f | 
 | 12438 |          else | 
 | 12439 |            # /dev/null tree | 
 | 12440 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 12441 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 12442 |    { (exit 1); exit 1; }; } | 
 | 12443 |          fi;; | 
 | 12444 |       esac | 
 | 12445 |     done` || { (exit 1); exit 1; } | 
 | 12446 |   # Remove the trailing spaces. | 
 | 12447 |   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in | 
 | 12448 |  | 
 | 12449 | _ACEOF | 
 | 12450 |  | 
 | 12451 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
 | 12452 | # `conftest.undefs', that substitutes the proper values into | 
 | 12453 | # config.h.in to produce config.h.  The first handles `#define' | 
 | 12454 | # templates, and the second `#undef' templates. | 
 | 12455 | # And first: Protect against being on the right side of a sed subst in | 
 | 12456 | # config.status.  Protect against being in an unquoted here document | 
 | 12457 | # in config.status. | 
 | 12458 | rm -f conftest.defines conftest.undefs | 
 | 12459 | # Using a here document instead of a string reduces the quoting nightmare. | 
 | 12460 | # Putting comments in sed scripts is not portable. | 
 | 12461 | # | 
 | 12462 | # `end' is used to avoid that the second main sed command (meant for | 
 | 12463 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
 | 12464 | # See the Autoconf documentation for `clear'. | 
 | 12465 | cat >confdef2sed.sed <<\_ACEOF | 
 | 12466 | s/[\\&,]/\\&/g | 
 | 12467 | s,[\\$`],\\&,g | 
 | 12468 | t clear | 
 | 12469 | : clear | 
 | 12470 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
 | 12471 | t end | 
 | 12472 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
 | 12473 | : end | 
 | 12474 | _ACEOF | 
 | 12475 | # If some macros were called several times there might be several times | 
 | 12476 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
 | 12477 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
 | 12478 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
 | 12479 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
 | 12480 | rm -f confdef2sed.sed | 
 | 12481 |  | 
 | 12482 | # This sed command replaces #undef with comments.  This is necessary, for | 
 | 12483 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
 | 12484 | # on some systems where configure will not decide to define it. | 
 | 12485 | cat >>conftest.undefs <<\_ACEOF | 
 | 12486 | s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
 | 12487 | _ACEOF | 
 | 12488 |  | 
 | 12489 | # Break up conftest.defines because some shells have a limit on the size | 
 | 12490 | # of here documents, and old seds have small limits too (100 cmds). | 
 | 12491 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
 | 12492 | echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
 | 12493 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
 | 12494 | echo '  :' >>$CONFIG_STATUS | 
 | 12495 | rm -f conftest.tail | 
 | 12496 | while grep . conftest.defines >/dev/null | 
 | 12497 | do | 
 | 12498 |   # Write a limited-size here document to $tmp/defines.sed. | 
 | 12499 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
 | 12500 |   # Speed up: don't consider the non `#define' lines. | 
 | 12501 |   echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS | 
 | 12502 |   # Work around the forget-to-reset-the-flag bug. | 
 | 12503 |   echo 't clr' >>$CONFIG_STATUS | 
 | 12504 |   echo ': clr' >>$CONFIG_STATUS | 
 | 12505 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
 | 12506 |   echo 'CEOF | 
 | 12507 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
 | 12508 |   rm -f $tmp/in | 
 | 12509 |   mv $tmp/out $tmp/in | 
 | 12510 | ' >>$CONFIG_STATUS | 
 | 12511 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
 | 12512 |   rm -f conftest.defines | 
 | 12513 |   mv conftest.tail conftest.defines | 
 | 12514 | done | 
 | 12515 | rm -f conftest.defines | 
 | 12516 | echo '  fi # egrep' >>$CONFIG_STATUS | 
 | 12517 | echo >>$CONFIG_STATUS | 
 | 12518 |  | 
 | 12519 | # Break up conftest.undefs because some shells have a limit on the size | 
 | 12520 | # of here documents, and old seds have small limits too (100 cmds). | 
 | 12521 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
 | 12522 | rm -f conftest.tail | 
 | 12523 | while grep . conftest.undefs >/dev/null | 
 | 12524 | do | 
 | 12525 |   # Write a limited-size here document to $tmp/undefs.sed. | 
 | 12526 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
 | 12527 |   # Speed up: don't consider the non `#undef' | 
 | 12528 |   echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS | 
 | 12529 |   # Work around the forget-to-reset-the-flag bug. | 
 | 12530 |   echo 't clr' >>$CONFIG_STATUS | 
 | 12531 |   echo ': clr' >>$CONFIG_STATUS | 
 | 12532 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
 | 12533 |   echo 'CEOF | 
 | 12534 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
 | 12535 |   rm -f $tmp/in | 
 | 12536 |   mv $tmp/out $tmp/in | 
 | 12537 | ' >>$CONFIG_STATUS | 
 | 12538 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
 | 12539 |   rm -f conftest.undefs | 
 | 12540 |   mv conftest.tail conftest.undefs | 
 | 12541 | done | 
 | 12542 | rm -f conftest.undefs | 
 | 12543 |  | 
 | 12544 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12545 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
 | 12546 |   # use $as_me), people would be surprised to read: | 
 | 12547 |   #    /* config.h.  Generated by config.status.  */ | 
 | 12548 |   if test x"$ac_file" = x-; then | 
 | 12549 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
 | 12550 |   else | 
 | 12551 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
 | 12552 |   fi | 
 | 12553 |   cat $tmp/in >>$tmp/config.h | 
 | 12554 |   rm -f $tmp/in | 
 | 12555 |   if test x"$ac_file" != x-; then | 
 | 12556 |     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | 
 | 12557 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
 | 12558 | echo "$as_me: $ac_file is unchanged" >&6;} | 
 | 12559 |     else | 
 | 12560 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
 | 12561 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 12562 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
 | 12563 |          X"$ac_file" : 'X\(//\)$' \| \ | 
 | 12564 |          X"$ac_file" : 'X\(/\)' \| \ | 
 | 12565 |          .     : '\(.\)' 2>/dev/null || | 
 | 12566 | echo X"$ac_file" | | 
 | 12567 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 12568 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 12569 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 12570 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 12571 |   	  s/.*/./; q'` | 
 | 12572 |       { case "$ac_dir" in | 
 | 12573 |   [\\/]* | ?:[\\/]* ) as_incr_dir=;; | 
 | 12574 |   *)                      as_incr_dir=.;; | 
 | 12575 | esac | 
 | 12576 | as_dummy="$ac_dir" | 
 | 12577 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | 
 | 12578 |   case $as_mkdir_dir in | 
 | 12579 |     # Skip DOS drivespec | 
 | 12580 |     ?:) as_incr_dir=$as_mkdir_dir ;; | 
 | 12581 |     *) | 
 | 12582 |       as_incr_dir=$as_incr_dir/$as_mkdir_dir | 
 | 12583 |       test -d "$as_incr_dir" || | 
 | 12584 |         mkdir "$as_incr_dir" || | 
 | 12585 | 	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | 
 | 12586 | echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | 
 | 12587 |    { (exit 1); exit 1; }; } | 
 | 12588 |     ;; | 
 | 12589 |   esac | 
 | 12590 | done; } | 
 | 12591 |  | 
 | 12592 |       rm -f $ac_file | 
 | 12593 |       mv $tmp/config.h $ac_file | 
 | 12594 |     fi | 
 | 12595 |   else | 
 | 12596 |     cat $tmp/config.h | 
 | 12597 |     rm -f $tmp/config.h | 
 | 12598 |   fi | 
 | 12599 | done | 
 | 12600 | _ACEOF | 
 | 12601 |  | 
 | 12602 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12603 |  | 
 | 12604 | { (exit 0); exit 0; } | 
 | 12605 | _ACEOF | 
 | 12606 | chmod +x $CONFIG_STATUS | 
 | 12607 | ac_clean_files=$ac_clean_files_save | 
 | 12608 |  | 
 | 12609 |  | 
 | 12610 | # configure is writing to config.log, and then calls config.status. | 
 | 12611 | # config.status does its own redirection, appending to config.log. | 
 | 12612 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
 | 12613 | # by configure, so config.status won't be able to write to it; its | 
 | 12614 | # output is simply discarded.  So we exec the FD to /dev/null, | 
 | 12615 | # effectively closing config.log, so it can be properly (re)opened and | 
 | 12616 | # appended to by config.status.  When coming back to configure, we | 
 | 12617 | # need to make the FD available again. | 
 | 12618 | if test "$no_create" != yes; then | 
 | 12619 |   ac_cs_success=: | 
 | 12620 |   exec 5>/dev/null | 
 | 12621 |   $SHELL $CONFIG_STATUS || ac_cs_success=false | 
 | 12622 |   exec 5>>config.log | 
 | 12623 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
 | 12624 |   # would make configure fail if this is the last instruction. | 
 | 12625 |   $ac_cs_success || { (exit 1); exit 1; } | 
 | 12626 | fi | 
 | 12627 |  |