| 1 | #! /bin/sh | 1 | #! /bin/sh | 
| 2 |  |  |  | 
| 3 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. | 
| 4 | # Generated automatically using autoconf version 2.13 | 3 | # Generated by Autoconf 2.50. | 
| 5 | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |  |  | 
| 6 | # | 4 | # | 
|  |  | 5 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 
|  |  | 6 | # Free Software Foundation, Inc. | 
| 7 | # This configure script is free software; the Free Software Foundation | 7 | # This configure script is free software; the Free Software Foundation | 
| 8 | # gives unlimited permission to copy, distribute and modify it. | 8 | # gives unlimited permission to copy, distribute and modify it. | 
| 9 |  | 9 |  | 
| 10 | # Defaults: | 10 | # Find the correct PATH separator.  Usually this is `:', but | 
| 11 | ac_help= | 11 | # DJGPP uses `;' like DOS. | 
|  |  | 12 | if test "X${PATH_SEPARATOR+set}" != Xset; then | 
|  |  | 13 | UNAME=${UNAME-`uname 2>/dev/null`} | 
|  |  | 14 | case X$UNAME in | 
|  |  | 15 | *-DOS) lt_cv_sys_path_separator=';' ;; | 
|  |  | 16 | *)     lt_cv_sys_path_separator=':' ;; | 
|  |  | 17 | esac | 
|  |  | 18 | fi | 
|  |  | 19 |  | 
|  |  | 20 | # Check that we are running under the correct shell. | 
|  |  | 21 | SHELL=${CONFIG_SHELL-/bin/sh} | 
|  |  | 22 |  | 
|  |  | 23 | case X$ECHO in | 
|  |  | 24 | X*--fallback-echo) | 
|  |  | 25 | # Remove one level of quotation (which was required for Make). | 
|  |  | 26 | ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` | 
|  |  | 27 | ;; | 
|  |  | 28 | esac | 
|  |  | 29 |  | 
|  |  | 30 | echo=${ECHO-echo} | 
|  |  | 31 | if test "X$1" = X--no-reexec; then | 
|  |  | 32 | # Discard the --no-reexec flag, and continue. | 
|  |  | 33 | shift | 
|  |  | 34 | elif test "X$1" = X--fallback-echo; then | 
|  |  | 35 | # Avoid inline document here, it may be left over | 
|  |  | 36 | : | 
|  |  | 37 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then | 
|  |  | 38 | # Yippee, $echo works! | 
|  |  | 39 | : | 
|  |  | 40 | else | 
|  |  | 41 | # Restart under the correct shell. | 
|  |  | 42 | exec $SHELL "$0" --no-reexec ${1+"$@"} | 
|  |  | 43 | fi | 
|  |  | 44 |  | 
|  |  | 45 | if test "X$1" = X--fallback-echo; then | 
|  |  | 46 | # used as fallback echo | 
|  |  | 47 | shift | 
|  |  | 48 | cat <<EOF | 
|  |  | 49 |  | 
|  |  | 50 | EOF | 
|  |  | 51 | exit 0 | 
|  |  | 52 | fi | 
|  |  | 53 |  | 
|  |  | 54 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 
|  |  | 55 | # if CDPATH is set. | 
|  |  | 56 | if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 
|  |  | 57 |  | 
|  |  | 58 | if test -z "$ECHO"; then | 
|  |  | 59 | if test "X${echo_test_string+set}" != Xset; then | 
|  |  | 60 | # find a string as large as possible, as long as the shell can cope with it | 
|  |  | 61 | for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do | 
|  |  | 62 | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | 
|  |  | 63 | if (echo_test_string="`eval $cmd`") 2>/dev/null && | 
|  |  | 64 | echo_test_string="`eval $cmd`" && | 
|  |  | 65 | (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | 
|  |  | 66 | then | 
|  |  | 67 | break | 
|  |  | 68 | fi | 
|  |  | 69 | done | 
|  |  | 70 | fi | 
|  |  | 71 |  | 
|  |  | 72 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | 
|  |  | 73 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | 
|  |  | 74 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  |  | 75 | : | 
|  |  | 76 | else | 
|  |  | 77 | # The Solaris, AIX, and Digital Unix default echo programs unquote | 
|  |  | 78 | # backslashes.  This makes it impossible to quote backslashes using | 
|  |  | 79 | #   echo "$something" | sed 's/\\/\\\\/g' | 
|  |  | 80 | # | 
|  |  | 81 | # So, first we look for a working echo in the user's PATH. | 
|  |  | 82 |  | 
|  |  | 83 | IFS="${IFS= 	}"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}" | 
|  |  | 84 | for dir in $PATH /usr/ucb; do | 
|  |  | 85 | if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | 
|  |  | 86 | test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | 
|  |  | 87 | echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | 
|  |  | 88 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  |  | 89 | echo="$dir/echo" | 
|  |  | 90 | break | 
|  |  | 91 | fi | 
|  |  | 92 | done | 
|  |  | 93 | IFS="$save_ifs" | 
|  |  | 94 |  | 
|  |  | 95 | if test "X$echo" = Xecho; then | 
|  |  | 96 | # We didn't find a better echo, so look for alternatives. | 
|  |  | 97 | if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && | 
|  |  | 98 | echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && | 
|  |  | 99 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  |  | 100 | # This shell has a builtin print -r that does the trick. | 
|  |  | 101 | echo='print -r' | 
|  |  | 102 | elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && | 
|  |  | 103 | test "X$CONFIG_SHELL" != X/bin/ksh; then | 
|  |  | 104 | # If we have ksh, try running configure again with it. | 
|  |  | 105 | ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | 
|  |  | 106 | export ORIGINAL_CONFIG_SHELL | 
|  |  | 107 | CONFIG_SHELL=/bin/ksh | 
|  |  | 108 | export CONFIG_SHELL | 
|  |  | 109 | exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} | 
|  |  | 110 | else | 
|  |  | 111 | # Try using printf. | 
|  |  | 112 | echo='printf %s\n' | 
|  |  | 113 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | 
|  |  | 114 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | 
|  |  | 115 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  |  | 116 | # Cool, printf works | 
|  |  | 117 | : | 
|  |  | 118 | elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | 
|  |  | 119 | test "X$echo_testing_string" = 'X\t' && | 
|  |  | 120 | echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | 
|  |  | 121 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  |  | 122 | CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | 
|  |  | 123 | export CONFIG_SHELL | 
|  |  | 124 | SHELL="$CONFIG_SHELL" | 
|  |  | 125 | export SHELL | 
|  |  | 126 | echo="$CONFIG_SHELL $0 --fallback-echo" | 
|  |  | 127 | elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | 
|  |  | 128 | test "X$echo_testing_string" = 'X\t' && | 
|  |  | 129 | echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | 
|  |  | 130 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  |  | 131 | echo="$CONFIG_SHELL $0 --fallback-echo" | 
|  |  | 132 | else | 
|  |  | 133 | # maybe with a smaller string... | 
|  |  | 134 | prev=: | 
|  |  | 135 |  | 
|  |  | 136 | for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do | 
|  |  | 137 | if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null | 
|  |  | 138 | then | 
|  |  | 139 | break | 
|  |  | 140 | fi | 
|  |  | 141 | prev="$cmd" | 
|  |  | 142 | done | 
|  |  | 143 |  | 
|  |  | 144 | if test "$prev" != 'sed 50q "$0"'; then | 
|  |  | 145 | echo_test_string=`eval $prev` | 
|  |  | 146 | export echo_test_string | 
|  |  | 147 | exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} | 
|  |  | 148 | else | 
|  |  | 149 | # Oops.  We lost completely, so just stick with echo. | 
|  |  | 150 | echo=echo | 
|  |  | 151 | fi | 
|  |  | 152 | fi | 
|  |  | 153 | fi | 
|  |  | 154 | fi | 
|  |  | 155 | fi | 
|  |  | 156 | fi | 
|  |  | 157 |  | 
|  |  | 158 | # Copy echo and quote the copy suitably for passing to libtool from | 
|  |  | 159 | # the Makefile, instead of quoting the original, which is used later. | 
|  |  | 160 | ECHO=$echo | 
|  |  | 161 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then | 
|  |  | 162 | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | 
|  |  | 163 | fi | 
|  |  | 164 |  | 
|  |  | 165 | # Be Bourne compatible | 
|  |  | 166 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|  |  | 167 | emulate sh | 
|  |  | 168 | NULLCMD=: | 
|  |  | 169 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|  |  | 170 | set -o posix | 
|  |  | 171 | fi | 
|  |  | 172 |  | 
|  |  | 173 | # Name of the executable. | 
|  |  | 174 | as_me=`echo "$0" |sed 's,.*[\\/],,'` | 
|  |  | 175 |  | 
|  |  | 176 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|  |  | 177 | as_expr=expr | 
|  |  | 178 | else | 
|  |  | 179 | as_expr=false | 
|  |  | 180 | fi | 
|  |  | 181 |  | 
|  |  | 182 | rm -f conf$$ conf$$.exe conf$$.file | 
|  |  | 183 | echo >conf$$.file | 
|  |  | 184 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|  |  | 185 | # We could just check for DJGPP; but this test a) works b) is more generic | 
|  |  | 186 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|  |  | 187 | if test -f conf$$.exe; then | 
|  |  | 188 | # Don't use ln at all; we don't have any links | 
|  |  | 189 | as_ln_s='cp -p' | 
|  |  | 190 | else | 
|  |  | 191 | as_ln_s='ln -s' | 
|  |  | 192 | fi | 
|  |  | 193 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|  |  | 194 | as_ln_s=ln | 
|  |  | 195 | else | 
|  |  | 196 | as_ln_s='cp -p' | 
|  |  | 197 | fi | 
|  |  | 198 | rm -f conf$$ conf$$.exe conf$$.file | 
|  |  | 199 |  | 
|  |  | 200 | as_executable_p="test -f" | 
|  |  | 201 |  | 
|  |  | 202 | # Support unset when possible. | 
|  |  | 203 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
|  |  | 204 | as_unset=unset | 
|  |  | 205 | else | 
|  |  | 206 | as_unset=false | 
|  |  | 207 | fi | 
|  |  | 208 |  | 
|  |  | 209 | # NLS nuisances. | 
|  |  | 210 | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | 
|  |  | 211 | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | 
|  |  | 212 | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | 
|  |  | 213 | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | 
|  |  | 214 | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | 
|  |  | 215 | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | 
|  |  | 216 | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | 
|  |  | 217 | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | 
|  |  | 218 |  | 
|  |  | 219 | # IFS | 
|  |  | 220 | # We need space, tab and new line, in precisely that order. | 
|  |  | 221 | as_nl=' | 
|  |  | 222 | ' | 
|  |  | 223 | IFS=" 	$as_nl" | 
|  |  | 224 |  | 
|  |  | 225 | # CDPATH. | 
|  |  | 226 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } | 
|  |  | 227 |  | 
|  |  | 228 | # Name of the host. | 
|  |  | 229 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 
|  |  | 230 | # so uname gets run too. | 
|  |  | 231 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 
|  |  | 232 |  | 
|  |  | 233 | exec 6>&1 | 
|  |  | 234 |  | 
|  |  | 235 | # | 
|  |  | 236 | # Initializations. | 
|  |  | 237 | # | 
| 12 | ac_default_prefix=/usr/local | 238 | ac_default_prefix=/usr/local | 
| 13 | # Any additions from configure.in: | 239 | cross_compiling=no | 
| 14 | ac_help="$ac_help | 240 | subdirs= | 
| 15 | --enable-shared[=PKGS]  build shared libraries [default=yes]" | 241 | MFLAGS= MAKEFLAGS= | 
| 16 | ac_help="$ac_help | 242 | SHELL=${CONFIG_SHELL-/bin/sh} | 
| 17 | --enable-static[=PKGS]  build static libraries [default=yes]" | 243 |  | 
| 18 | ac_help="$ac_help | 244 | # Maximum number of lines to put in a shell here document. | 
| 19 | --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]" | 245 | # This variable seems obsolete.  It should probably be removed, and | 
| 20 | ac_help="$ac_help | 246 | # only ac_max_sed_lines should be used. | 
| 21 | --with-gnu-ld           assume the C compiler uses GNU ld [default=no]" | 247 | : ${ac_max_here_lines=38} | 
| 22 | ac_help="$ac_help | 248 |  | 
| 23 | --disable-libtool-lock  avoid locking (might break parallel builds)" | 249 | # Avoid depending upon Character Ranges. | 
| 24 | ac_help="$ac_help | 250 | ac_cr_az='abcdefghijklmnopqrstuvwxyz' | 
| 25 | --enable-compile-warnings=[no/minimum/yes]       Turn on compiler warnings." | 251 | ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
| 26 | ac_help="$ac_help | 252 | ac_cr_09='0123456789' | 
| 27 | --enable-iso-c          Try to warn if code is not ISO C " | 253 | ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09 | 
| 28 | ac_help="$ac_help | 254 |  | 
| 29 | --with-imagemagick      enable ImageMagick (default = yes)" | 255 | # Sed expression to map a string onto a valid sh and CPP variable names. | 
| 30 | ac_help="$ac_help | 256 | ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g" | 
| 31 | --disable-html-docs     Disable generation of HTML 3.2 docs (default: on)" | 257 | ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g" | 
| 32 | ac_help="$ac_help | 258 |  | 
| 33 | --enable-html4-docs     Enable generation of HTML 4 docs (default: off)" | 259 | ac_unique_file="lib/psiconv" | 
| 34 | ac_help="$ac_help | 260 | # Factoring default headers for most tests. | 
| 35 | --enable-ascii-docs     Enable generation of ASCII docs (default: off)" | 261 | ac_includes_default="\ | 
| 36 | ac_help="$ac_help | 262 | #include <stdio.h> | 
| 37 | --enable-rtf-docs       Enable generation of RTF docs (default: off)" | 263 | #include <sys/types.h> | 
|  |  | 264 | #include <sys/stat.h> | 
|  |  | 265 | #if STDC_HEADERS | 
|  |  | 266 | # include <stdlib.h> | 
|  |  | 267 | # include <stddef.h> | 
|  |  | 268 | #else | 
|  |  | 269 | # if HAVE_STDLIB_H | 
|  |  | 270 | #  include <stdlib.h> | 
|  |  | 271 | # endif | 
|  |  | 272 | #endif | 
|  |  | 273 | #if HAVE_STRING_H | 
|  |  | 274 | # if !STDC_HEADERS && HAVE_MEMORY_H | 
|  |  | 275 | #  include <memory.h> | 
|  |  | 276 | # endif | 
|  |  | 277 | # include <string.h> | 
|  |  | 278 | #else | 
|  |  | 279 | # if HAVE_STRINGS_H | 
|  |  | 280 | #  include <strings.h> | 
|  |  | 281 | # endif | 
|  |  | 282 | #endif | 
|  |  | 283 | #if HAVE_INTTYPES_H | 
|  |  | 284 | # include <inttypes.h> | 
|  |  | 285 | #endif | 
|  |  | 286 | #if HAVE_UNISTD_H | 
|  |  | 287 | # include <unistd.h> | 
|  |  | 288 | #endif" | 
| 38 |  | 289 |  | 
| 39 | # Initialize some variables set by options. | 290 | # Initialize some variables set by options. | 
|  |  | 291 | ac_init_help= | 
|  |  | 292 | ac_init_version=false | 
| 40 | # The variables have the same names as the options, with | 293 | # The variables have the same names as the options, with | 
| 41 | # dashes changed to underlines. | 294 | # dashes changed to underlines. | 
| 42 | build=NONE | 295 | cache_file=/dev/null | 
| 43 | cache_file=./config.cache |  |  | 
| 44 | exec_prefix=NONE | 296 | exec_prefix=NONE | 
| 45 | host=NONE |  |  | 
| 46 | no_create= | 297 | no_create= | 
| 47 | nonopt=NONE |  |  | 
| 48 | no_recursion= | 298 | no_recursion= | 
| 49 | prefix=NONE | 299 | prefix=NONE | 
| 50 | program_prefix=NONE | 300 | program_prefix=NONE | 
| 51 | program_suffix=NONE | 301 | program_suffix=NONE | 
| 52 | program_transform_name=s,x,x, | 302 | program_transform_name=s,x,x, | 
| 53 | silent= | 303 | silent= | 
| 54 | site= | 304 | site= | 
| 55 | srcdir= | 305 | srcdir= | 
| 56 | target=NONE |  |  | 
| 57 | verbose= | 306 | verbose= | 
| 58 | x_includes=NONE | 307 | x_includes=NONE | 
| 59 | x_libraries=NONE | 308 | x_libraries=NONE | 
|  |  | 309 |  | 
|  |  | 310 | # Installation directory options. | 
|  |  | 311 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
|  |  | 312 | # and all the variables that are supposed to be based on exec_prefix | 
|  |  | 313 | # by default will actually change. | 
|  |  | 314 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
| 60 | bindir='${exec_prefix}/bin' | 315 | bindir='${exec_prefix}/bin' | 
| 61 | sbindir='${exec_prefix}/sbin' | 316 | sbindir='${exec_prefix}/sbin' | 
| 62 | libexecdir='${exec_prefix}/libexec' | 317 | libexecdir='${exec_prefix}/libexec' | 
| 63 | datadir='${prefix}/share' | 318 | datadir='${prefix}/share' | 
| 64 | sysconfdir='${prefix}/etc' | 319 | sysconfdir='${prefix}/etc' | 
| … |  | … |  | 
| 68 | includedir='${prefix}/include' | 323 | includedir='${prefix}/include' | 
| 69 | oldincludedir='/usr/include' | 324 | oldincludedir='/usr/include' | 
| 70 | infodir='${prefix}/info' | 325 | infodir='${prefix}/info' | 
| 71 | mandir='${prefix}/man' | 326 | mandir='${prefix}/man' | 
| 72 |  | 327 |  | 
| 73 | # Initialize some other variables. | 328 | # Identity of this package. | 
| 74 | subdirs= | 329 | PACKAGE_NAME= | 
| 75 | MFLAGS= MAKEFLAGS= | 330 | PACKAGE_TARNAME= | 
| 76 | SHELL=${CONFIG_SHELL-/bin/sh} | 331 | PACKAGE_VERSION= | 
| 77 | # Maximum number of lines to put in a shell here document. | 332 | PACKAGE_STRING= | 
| 78 | ac_max_here_lines=12 | 333 | PACKAGE_BUGREPORT= | 
| 79 |  | 334 |  | 
| 80 | ac_prev= | 335 | ac_prev= | 
| 81 | for ac_option | 336 | for ac_option | 
| 82 | do | 337 | do | 
| 83 |  |  |  | 
| 84 | # If the previous option needs an argument, assign it. | 338 | # If the previous option needs an argument, assign it. | 
| 85 | if test -n "$ac_prev"; then | 339 | if test -n "$ac_prev"; then | 
| 86 | eval "$ac_prev=\$ac_option" | 340 | eval "$ac_prev=\$ac_option" | 
| 87 | ac_prev= | 341 | ac_prev= | 
| 88 | continue | 342 | continue | 
| 89 | fi | 343 | fi | 
| 90 |  | 344 |  | 
| 91 | case "$ac_option" in | 345 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 
| 92 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |  |  | 
| 93 | *) ac_optarg= ;; |  |  | 
| 94 | esac |  |  | 
| 95 |  | 346 |  | 
| 96 | # Accept the important Cygnus configure options, so we can diagnose typos. | 347 | # Accept the important Cygnus configure options, so we can diagnose typos. | 
| 97 |  | 348 |  | 
| 98 | case "$ac_option" in | 349 | case $ac_option in | 
| 99 |  | 350 |  | 
| 100 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | 351 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
| 101 | ac_prev=bindir ;; | 352 | ac_prev=bindir ;; | 
| 102 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 353 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
| 103 | bindir="$ac_optarg" ;; | 354 | bindir=$ac_optarg ;; | 
| 104 |  | 355 |  | 
| 105 | -build | --build | --buil | --bui | --bu) | 356 | -build | --build | --buil | --bui | --bu) | 
| 106 | ac_prev=build ;; | 357 | ac_prev=build_alias ;; | 
| 107 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 358 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
| 108 | build="$ac_optarg" ;; | 359 | build_alias=$ac_optarg ;; | 
| 109 |  | 360 |  | 
| 110 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | 361 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
| 111 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 362 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
| 112 | ac_prev=cache_file ;; | 363 | ac_prev=cache_file ;; | 
| 113 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 364 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
| 114 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 365 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
| 115 | cache_file="$ac_optarg" ;; | 366 | cache_file=$ac_optarg ;; | 
|  |  | 367 |  | 
|  |  | 368 | --config-cache | -C) | 
|  |  | 369 | cache_file=config.cache ;; | 
| 116 |  | 370 |  | 
| 117 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 371 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 
| 118 | ac_prev=datadir ;; | 372 | ac_prev=datadir ;; | 
| 119 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 373 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 
| 120 | | --da=*) | 374 | | --da=*) | 
| 121 | datadir="$ac_optarg" ;; | 375 | datadir=$ac_optarg ;; | 
| 122 |  | 376 |  | 
| 123 | -disable-* | --disable-*) | 377 | -disable-* | --disable-*) | 
| 124 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` | 378 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
| 125 | # Reject names that are not valid shell variable names. | 379 | # Reject names that are not valid shell variable names. | 
| 126 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then | 380 | expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 
| 127 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | 381 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
| 128 | fi | 382 | { (exit 1); exit 1; }; } | 
| 129 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` | 383 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
| 130 | eval "enable_${ac_feature}=no" ;; | 384 | eval "enable_$ac_feature=no" ;; | 
| 131 |  | 385 |  | 
| 132 | -enable-* | --enable-*) | 386 | -enable-* | --enable-*) | 
| 133 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` | 387 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
| 134 | # Reject names that are not valid shell variable names. | 388 | # Reject names that are not valid shell variable names. | 
| 135 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then | 389 | expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 
| 136 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | 390 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
| 137 | fi | 391 | { (exit 1); exit 1; }; } | 
| 138 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` | 392 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
| 139 | case "$ac_option" in | 393 | case $ac_option in | 
| 140 | *=*) ;; | 394 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
| 141 | *) ac_optarg=yes ;; | 395 | *) ac_optarg=yes ;; | 
| 142 | esac | 396 | esac | 
| 143 | eval "enable_${ac_feature}='$ac_optarg'" ;; | 397 | eval "enable_$ac_feature='$ac_optarg'" ;; | 
| 144 |  | 398 |  | 
| 145 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 399 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
| 146 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 400 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
| 147 | | --exec | --exe | --ex) | 401 | | --exec | --exe | --ex) | 
| 148 | ac_prev=exec_prefix ;; | 402 | ac_prev=exec_prefix ;; | 
| 149 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 403 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
| 150 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 404 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
| 151 | | --exec=* | --exe=* | --ex=*) | 405 | | --exec=* | --exe=* | --ex=*) | 
| 152 | exec_prefix="$ac_optarg" ;; | 406 | exec_prefix=$ac_optarg ;; | 
| 153 |  | 407 |  | 
| 154 | -gas | --gas | --ga | --g) | 408 | -gas | --gas | --ga | --g) | 
| 155 | # Obsolete; use --with-gas. | 409 | # Obsolete; use --with-gas. | 
| 156 | with_gas=yes ;; | 410 | with_gas=yes ;; | 
| 157 |  | 411 |  | 
| 158 | -help | --help | --hel | --he) | 412 | -help | --help | --hel | --he | -h) | 
| 159 | # Omit some internal or obsolete options to make the list less imposing. | 413 | ac_init_help=long ;; | 
| 160 | # This message is too long to be a string in the A/UX 3.1 sh. | 414 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
| 161 | cat << EOF | 415 | ac_init_help=recursive ;; | 
| 162 | Usage: configure [options] [host] | 416 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
| 163 | Options: [defaults in brackets after descriptions] | 417 | ac_init_help=short ;; | 
| 164 | Configuration: |  |  | 
| 165 | --cache-file=FILE       cache test results in FILE |  |  | 
| 166 | --help                  print this message |  |  | 
| 167 | --no-create             do not create output files |  |  | 
| 168 | --quiet, --silent       do not print \`checking...' messages |  |  | 
| 169 | --version               print the version of autoconf that created configure |  |  | 
| 170 | Directory and file names: |  |  | 
| 171 | --prefix=PREFIX         install architecture-independent files in PREFIX |  |  | 
| 172 | [$ac_default_prefix] |  |  | 
| 173 | --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX |  |  | 
| 174 | [same as prefix] |  |  | 
| 175 | --bindir=DIR            user executables in DIR [EPREFIX/bin] |  |  | 
| 176 | --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin] |  |  | 
| 177 | --libexecdir=DIR        program executables in DIR [EPREFIX/libexec] |  |  | 
| 178 | --datadir=DIR           read-only architecture-independent data in DIR |  |  | 
| 179 | [PREFIX/share] |  |  | 
| 180 | --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc] |  |  | 
| 181 | --sharedstatedir=DIR    modifiable architecture-independent data in DIR |  |  | 
| 182 | [PREFIX/com] |  |  | 
| 183 | --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var] |  |  | 
| 184 | --libdir=DIR            object code libraries in DIR [EPREFIX/lib] |  |  | 
| 185 | --includedir=DIR        C header files in DIR [PREFIX/include] |  |  | 
| 186 | --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include] |  |  | 
| 187 | --infodir=DIR           info documentation in DIR [PREFIX/info] |  |  | 
| 188 | --mandir=DIR            man documentation in DIR [PREFIX/man] |  |  | 
| 189 | --srcdir=DIR            find the sources in DIR [configure dir or ..] |  |  | 
| 190 | --program-prefix=PREFIX prepend PREFIX to installed program names |  |  | 
| 191 | --program-suffix=SUFFIX append SUFFIX to installed program names |  |  | 
| 192 | --program-transform-name=PROGRAM |  |  | 
| 193 | run sed PROGRAM on installed program names |  |  | 
| 194 | EOF |  |  | 
| 195 | cat << EOF |  |  | 
| 196 | Host type: |  |  | 
| 197 | --build=BUILD           configure for building on BUILD [BUILD=HOST] |  |  | 
| 198 | --host=HOST             configure for HOST [guessed] |  |  | 
| 199 | --target=TARGET         configure for TARGET [TARGET=HOST] |  |  | 
| 200 | Features and packages: |  |  | 
| 201 | --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) |  |  | 
| 202 | --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] |  |  | 
| 203 | --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] |  |  | 
| 204 | --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) |  |  | 
| 205 | --x-includes=DIR        X include files are in DIR |  |  | 
| 206 | --x-libraries=DIR       X library files are in DIR |  |  | 
| 207 | EOF |  |  | 
| 208 | if test -n "$ac_help"; then |  |  | 
| 209 | echo "--enable and --with options recognized:$ac_help" |  |  | 
| 210 | fi |  |  | 
| 211 | exit 0 ;; |  |  | 
| 212 |  | 418 |  | 
| 213 | -host | --host | --hos | --ho) | 419 | -host | --host | --hos | --ho) | 
| 214 | ac_prev=host ;; | 420 | ac_prev=host_alias ;; | 
| 215 | -host=* | --host=* | --hos=* | --ho=*) | 421 | -host=* | --host=* | --hos=* | --ho=*) | 
| 216 | host="$ac_optarg" ;; | 422 | host_alias=$ac_optarg ;; | 
| 217 |  | 423 |  | 
| 218 | -includedir | --includedir | --includedi | --included | --include \ | 424 | -includedir | --includedir | --includedi | --included | --include \ | 
| 219 | | --includ | --inclu | --incl | --inc) | 425 | | --includ | --inclu | --incl | --inc) | 
| 220 | ac_prev=includedir ;; | 426 | ac_prev=includedir ;; | 
| 221 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 427 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
| 222 | | --includ=* | --inclu=* | --incl=* | --inc=*) | 428 | | --includ=* | --inclu=* | --incl=* | --inc=*) | 
| 223 | includedir="$ac_optarg" ;; | 429 | includedir=$ac_optarg ;; | 
| 224 |  | 430 |  | 
| 225 | -infodir | --infodir | --infodi | --infod | --info | --inf) | 431 | -infodir | --infodir | --infodi | --infod | --info | --inf) | 
| 226 | ac_prev=infodir ;; | 432 | ac_prev=infodir ;; | 
| 227 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 433 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
| 228 | infodir="$ac_optarg" ;; | 434 | infodir=$ac_optarg ;; | 
| 229 |  | 435 |  | 
| 230 | -libdir | --libdir | --libdi | --libd) | 436 | -libdir | --libdir | --libdi | --libd) | 
| 231 | ac_prev=libdir ;; | 437 | ac_prev=libdir ;; | 
| 232 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | 438 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
| 233 | libdir="$ac_optarg" ;; | 439 | libdir=$ac_optarg ;; | 
| 234 |  | 440 |  | 
| 235 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 441 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
| 236 | | --libexe | --libex | --libe) | 442 | | --libexe | --libex | --libe) | 
| 237 | ac_prev=libexecdir ;; | 443 | ac_prev=libexecdir ;; | 
| 238 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 444 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
| 239 | | --libexe=* | --libex=* | --libe=*) | 445 | | --libexe=* | --libex=* | --libe=*) | 
| 240 | libexecdir="$ac_optarg" ;; | 446 | libexecdir=$ac_optarg ;; | 
| 241 |  | 447 |  | 
| 242 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | 448 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
| 243 | | --localstate | --localstat | --localsta | --localst \ | 449 | | --localstate | --localstat | --localsta | --localst \ | 
| 244 | | --locals | --local | --loca | --loc | --lo) | 450 | | --locals | --local | --loca | --loc | --lo) | 
| 245 | ac_prev=localstatedir ;; | 451 | ac_prev=localstatedir ;; | 
| 246 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 452 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
| 247 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 453 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 
| 248 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 454 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 
| 249 | localstatedir="$ac_optarg" ;; | 455 | localstatedir=$ac_optarg ;; | 
| 250 |  | 456 |  | 
| 251 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 457 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
| 252 | ac_prev=mandir ;; | 458 | ac_prev=mandir ;; | 
| 253 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 459 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
| 254 | mandir="$ac_optarg" ;; | 460 | mandir=$ac_optarg ;; | 
| 255 |  | 461 |  | 
| 256 | -nfp | --nfp | --nf) | 462 | -nfp | --nfp | --nf) | 
| 257 | # Obsolete; use --without-fp. | 463 | # Obsolete; use --without-fp. | 
| 258 | with_fp=no ;; | 464 | with_fp=no ;; | 
| 259 |  | 465 |  | 
| … |  | … |  | 
| 270 | | --oldin | --oldi | --old | --ol | --o) | 476 | | --oldin | --oldi | --old | --ol | --o) | 
| 271 | ac_prev=oldincludedir ;; | 477 | ac_prev=oldincludedir ;; | 
| 272 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 478 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
| 273 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 479 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
| 274 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 480 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
| 275 | oldincludedir="$ac_optarg" ;; | 481 | oldincludedir=$ac_optarg ;; | 
| 276 |  | 482 |  | 
| 277 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 483 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
| 278 | ac_prev=prefix ;; | 484 | ac_prev=prefix ;; | 
| 279 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 485 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
| 280 | prefix="$ac_optarg" ;; | 486 | prefix=$ac_optarg ;; | 
| 281 |  | 487 |  | 
| 282 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 488 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
| 283 | | --program-pre | --program-pr | --program-p) | 489 | | --program-pre | --program-pr | --program-p) | 
| 284 | ac_prev=program_prefix ;; | 490 | ac_prev=program_prefix ;; | 
| 285 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 491 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
| 286 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 492 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
| 287 | program_prefix="$ac_optarg" ;; | 493 | program_prefix=$ac_optarg ;; | 
| 288 |  | 494 |  | 
| 289 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 495 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
| 290 | | --program-suf | --program-su | --program-s) | 496 | | --program-suf | --program-su | --program-s) | 
| 291 | ac_prev=program_suffix ;; | 497 | ac_prev=program_suffix ;; | 
| 292 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 498 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
| 293 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 499 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
| 294 | program_suffix="$ac_optarg" ;; | 500 | program_suffix=$ac_optarg ;; | 
| 295 |  | 501 |  | 
| 296 | -program-transform-name | --program-transform-name \ | 502 | -program-transform-name | --program-transform-name \ | 
| 297 | | --program-transform-nam | --program-transform-na \ | 503 | | --program-transform-nam | --program-transform-na \ | 
| 298 | | --program-transform-n | --program-transform- \ | 504 | | --program-transform-n | --program-transform- \ | 
| 299 | | --program-transform | --program-transfor \ | 505 | | --program-transform | --program-transfor \ | 
| … |  | … |  | 
| 306 | | --program-transform-n=* | --program-transform-=* \ | 512 | | --program-transform-n=* | --program-transform-=* \ | 
| 307 | | --program-transform=* | --program-transfor=* \ | 513 | | --program-transform=* | --program-transfor=* \ | 
| 308 | | --program-transfo=* | --program-transf=* \ | 514 | | --program-transfo=* | --program-transf=* \ | 
| 309 | | --program-trans=* | --program-tran=* \ | 515 | | --program-trans=* | --program-tran=* \ | 
| 310 | | --progr-tra=* | --program-tr=* | --program-t=*) | 516 | | --progr-tra=* | --program-tr=* | --program-t=*) | 
| 311 | program_transform_name="$ac_optarg" ;; | 517 | program_transform_name=$ac_optarg ;; | 
| 312 |  | 518 |  | 
| 313 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 519 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
| 314 | | -silent | --silent | --silen | --sile | --sil) | 520 | | -silent | --silent | --silen | --sile | --sil) | 
| 315 | silent=yes ;; | 521 | silent=yes ;; | 
| 316 |  | 522 |  | 
| 317 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 523 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
| 318 | ac_prev=sbindir ;; | 524 | ac_prev=sbindir ;; | 
| 319 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 525 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
| 320 | | --sbi=* | --sb=*) | 526 | | --sbi=* | --sb=*) | 
| 321 | sbindir="$ac_optarg" ;; | 527 | sbindir=$ac_optarg ;; | 
| 322 |  | 528 |  | 
| 323 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 529 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
| 324 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 530 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
| 325 | | --sharedst | --shareds | --shared | --share | --shar \ | 531 | | --sharedst | --shareds | --shared | --share | --shar \ | 
| 326 | | --sha | --sh) | 532 | | --sha | --sh) | 
| 327 | ac_prev=sharedstatedir ;; | 533 | ac_prev=sharedstatedir ;; | 
| 328 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 534 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
| 329 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 535 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
| 330 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 536 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
| 331 | | --sha=* | --sh=*) | 537 | | --sha=* | --sh=*) | 
| 332 | sharedstatedir="$ac_optarg" ;; | 538 | sharedstatedir=$ac_optarg ;; | 
| 333 |  | 539 |  | 
| 334 | -site | --site | --sit) | 540 | -site | --site | --sit) | 
| 335 | ac_prev=site ;; | 541 | ac_prev=site ;; | 
| 336 | -site=* | --site=* | --sit=*) | 542 | -site=* | --site=* | --sit=*) | 
| 337 | site="$ac_optarg" ;; | 543 | site=$ac_optarg ;; | 
| 338 |  | 544 |  | 
| 339 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 545 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
| 340 | ac_prev=srcdir ;; | 546 | ac_prev=srcdir ;; | 
| 341 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 547 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
| 342 | srcdir="$ac_optarg" ;; | 548 | srcdir=$ac_optarg ;; | 
| 343 |  | 549 |  | 
| 344 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 550 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
| 345 | | --syscon | --sysco | --sysc | --sys | --sy) | 551 | | --syscon | --sysco | --sysc | --sys | --sy) | 
| 346 | ac_prev=sysconfdir ;; | 552 | ac_prev=sysconfdir ;; | 
| 347 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 553 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
| 348 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 554 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
| 349 | sysconfdir="$ac_optarg" ;; | 555 | sysconfdir=$ac_optarg ;; | 
| 350 |  | 556 |  | 
| 351 | -target | --target | --targe | --targ | --tar | --ta | --t) | 557 | -target | --target | --targe | --targ | --tar | --ta | --t) | 
| 352 | ac_prev=target ;; | 558 | ac_prev=target_alias ;; | 
| 353 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 559 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
| 354 | target="$ac_optarg" ;; | 560 | target_alias=$ac_optarg ;; | 
| 355 |  | 561 |  | 
| 356 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | 562 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
| 357 | verbose=yes ;; | 563 | verbose=yes ;; | 
| 358 |  | 564 |  | 
| 359 | -version | --version | --versio | --versi | --vers) | 565 | -version | --version | --versio | --versi | --vers | -V) | 
| 360 | echo "configure generated by autoconf version 2.13" | 566 | ac_init_version=: ;; | 
| 361 | exit 0 ;; |  |  | 
| 362 |  | 567 |  | 
| 363 | -with-* | --with-*) | 568 | -with-* | --with-*) | 
| 364 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` | 569 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
| 365 | # Reject names that are not valid shell variable names. | 570 | # Reject names that are not valid shell variable names. | 
| 366 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then | 571 | expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 
| 367 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | 572 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
| 368 | fi | 573 | { (exit 1); exit 1; }; } | 
| 369 | ac_package=`echo $ac_package| sed 's/-/_/g'` | 574 | ac_package=`echo $ac_package| sed 's/-/_/g'` | 
| 370 | case "$ac_option" in | 575 | case $ac_option in | 
| 371 | *=*) ;; | 576 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
| 372 | *) ac_optarg=yes ;; | 577 | *) ac_optarg=yes ;; | 
| 373 | esac | 578 | esac | 
| 374 | eval "with_${ac_package}='$ac_optarg'" ;; | 579 | eval "with_$ac_package='$ac_optarg'" ;; | 
| 375 |  | 580 |  | 
| 376 | -without-* | --without-*) | 581 | -without-* | --without-*) | 
| 377 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` | 582 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
| 378 | # Reject names that are not valid shell variable names. | 583 | # Reject names that are not valid shell variable names. | 
| 379 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then | 584 | expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 
| 380 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | 585 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
| 381 | fi | 586 | { (exit 1); exit 1; }; } | 
| 382 | ac_package=`echo $ac_package| sed 's/-/_/g'` | 587 | ac_package=`echo $ac_package | sed 's/-/_/g'` | 
| 383 | eval "with_${ac_package}=no" ;; | 588 | eval "with_$ac_package=no" ;; | 
| 384 |  | 589 |  | 
| 385 | --x) | 590 | --x) | 
| 386 | # Obsolete; use --with-x. | 591 | # Obsolete; use --with-x. | 
| 387 | with_x=yes ;; | 592 | with_x=yes ;; | 
| 388 |  | 593 |  | 
| 389 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 594 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
| 390 | | --x-incl | --x-inc | --x-in | --x-i) | 595 | | --x-incl | --x-inc | --x-in | --x-i) | 
| 391 | ac_prev=x_includes ;; | 596 | ac_prev=x_includes ;; | 
| 392 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 597 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
| 393 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 598 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
| 394 | x_includes="$ac_optarg" ;; | 599 | x_includes=$ac_optarg ;; | 
| 395 |  | 600 |  | 
| 396 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 601 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
| 397 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 602 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
| 398 | ac_prev=x_libraries ;; | 603 | ac_prev=x_libraries ;; | 
| 399 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 604 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
| 400 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 605 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
| 401 | x_libraries="$ac_optarg" ;; | 606 | x_libraries=$ac_optarg ;; | 
| 402 |  | 607 |  | 
| 403 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } | 608 | -*) { echo "$as_me: error: unrecognized option: $ac_option | 
|  |  | 609 | Try \`$0 --help' for more information." >&2 | 
|  |  | 610 | { (exit 1); exit 1; }; } | 
| 404 | ;; | 611 | ;; | 
| 405 |  | 612 |  | 
|  |  | 613 | *=*) | 
|  |  | 614 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
|  |  | 615 | # Reject names that are not valid shell variable names. | 
|  |  | 616 | expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null && | 
|  |  | 617 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 
|  |  | 618 | { (exit 1); exit 1; }; } | 
|  |  | 619 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 
|  |  | 620 | eval "$ac_envvar='$ac_optarg'" | 
|  |  | 621 | export $ac_envvar ;; | 
|  |  | 622 |  | 
| 406 | *) | 623 | *) | 
| 407 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then | 624 | # FIXME: should be removed in autoconf 3.0. | 
| 408 | echo "configure: warning: $ac_option: invalid host type" 1>&2 | 625 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
| 409 | fi | 626 | expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null && | 
| 410 | if test "x$nonopt" != xNONE; then | 627 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
| 411 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } | 628 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 
| 412 | fi |  |  | 
| 413 | nonopt="$ac_option" |  |  | 
| 414 | ;; | 629 | ;; | 
| 415 |  | 630 |  | 
| 416 | esac | 631 | esac | 
| 417 | done | 632 | done | 
| 418 |  | 633 |  | 
| 419 | if test -n "$ac_prev"; then | 634 | if test -n "$ac_prev"; then | 
| 420 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } | 635 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
|  |  | 636 | { echo "$as_me: error: missing argument to $ac_option" >&2 | 
|  |  | 637 | { (exit 1); exit 1; }; } | 
| 421 | fi | 638 | fi | 
| 422 |  | 639 |  | 
| 423 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | 640 | # Be sure to have absolute paths. | 
| 424 |  | 641 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 
| 425 | # File descriptor usage: | 642 | localstatedir libdir includedir oldincludedir infodir mandir \ | 
| 426 | # 0 standard input | 643 | exec_prefix prefix | 
| 427 | # 1 file creation |  |  | 
| 428 | # 2 errors and warnings |  |  | 
| 429 | # 3 some systems may open it to /dev/tty |  |  | 
| 430 | # 4 used on the Kubota Titan |  |  | 
| 431 | # 6 checking for... messages and results |  |  | 
| 432 | # 5 compiler messages saved in config.log |  |  | 
| 433 | if test "$silent" = yes; then |  |  | 
| 434 | exec 6>/dev/null |  |  | 
| 435 | else |  |  | 
| 436 | exec 6>&1 |  |  | 
| 437 | fi |  |  | 
| 438 | exec 5>./config.log |  |  | 
| 439 |  |  |  | 
| 440 | echo "\ |  |  | 
| 441 | This file contains any messages produced by compilers while |  |  | 
| 442 | running configure, to aid debugging if configure makes a mistake. |  |  | 
| 443 | " 1>&5 |  |  | 
| 444 |  |  |  | 
| 445 | # Strip out --no-create and --no-recursion so they do not pile up. |  |  | 
| 446 | # Also quote any args containing shell metacharacters. |  |  | 
| 447 | ac_configure_args= |  |  | 
| 448 | for ac_arg |  |  | 
| 449 | do | 644 | do | 
|  |  | 645 | eval ac_val=$`echo $ac_var` | 
| 450 | case "$ac_arg" in | 646 | case $ac_val in | 
| 451 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 647 | [\\/$]* | ?:[\\/]* ) ;; | 
| 452 | | --no-cr | --no-c) ;; | 648 | NONE ) ;; | 
| 453 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 649 | *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 | 
| 454 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | 650 | { (exit 1); exit 1; }; };; | 
| 455 | *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |  |  | 
| 456 | ac_configure_args="$ac_configure_args '$ac_arg'" ;; |  |  | 
| 457 | *) ac_configure_args="$ac_configure_args $ac_arg" ;; |  |  | 
| 458 | esac | 651 | esac | 
| 459 | done | 652 | done | 
| 460 |  | 653 |  | 
| 461 | # NLS nuisances. | 654 | # There might be people who depend on the old broken behavior: `$host' | 
| 462 | # Only set these to C if already set.  These must not be set unconditionally | 655 | # used to hold the argument of --host etc. | 
| 463 | # because not all systems understand e.g. LANG=C (notably SCO). | 656 | build=$build_alias | 
| 464 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! | 657 | host=$host_alias | 
| 465 | # Non-C LC_CTYPE values break the ctype check. | 658 | target=$target_alias | 
| 466 | if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi |  |  | 
| 467 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |  |  | 
| 468 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |  |  | 
| 469 | if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi |  |  | 
| 470 |  | 659 |  | 
| 471 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 660 | # FIXME: should be removed in autoconf 3.0. | 
| 472 | rm -rf conftest* confdefs.h | 661 | if test "x$host_alias" != x; then | 
| 473 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 662 | if test "x$build_alias" = x; then | 
| 474 | echo > confdefs.h | 663 | cross_compiling=maybe | 
|  |  | 664 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 
|  |  | 665 | If a cross compiler is detected then cross compile mode will be used." >&2 | 
|  |  | 666 | elif test "x$build_alias" != "x$host_alias"; then | 
|  |  | 667 | cross_compiling=yes | 
|  |  | 668 | fi | 
|  |  | 669 | fi | 
| 475 |  | 670 |  | 
| 476 | # A filename unique to this package, relative to the directory that | 671 | ac_tool_prefix= | 
| 477 | # configure is in, which we can look for to find out if srcdir is correct. | 672 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
| 478 | ac_unique_file=lib/psiconv | 673 |  | 
|  |  | 674 | test "$silent" = yes && exec 6>/dev/null | 
| 479 |  | 675 |  | 
| 480 | # Find the source files, if location was not specified. | 676 | # Find the source files, if location was not specified. | 
| 481 | if test -z "$srcdir"; then | 677 | if test -z "$srcdir"; then | 
| 482 | ac_srcdir_defaulted=yes | 678 | ac_srcdir_defaulted=yes | 
| 483 | # Try the directory containing this script, then its parent. | 679 | # Try the directory containing this script, then its parent. | 
| 484 | ac_prog=$0 | 680 | ac_prog=$0 | 
| 485 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` | 681 | ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` | 
| 486 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | 682 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | 
| 487 | srcdir=$ac_confdir | 683 | srcdir=$ac_confdir | 
| 488 | if test ! -r $srcdir/$ac_unique_file; then | 684 | if test ! -r $srcdir/$ac_unique_file; then | 
| 489 | srcdir=.. | 685 | srcdir=.. | 
| 490 | fi | 686 | fi | 
| 491 | else | 687 | else | 
| 492 | ac_srcdir_defaulted=no | 688 | ac_srcdir_defaulted=no | 
| 493 | fi | 689 | fi | 
| 494 | if test ! -r $srcdir/$ac_unique_file; then | 690 | if test ! -r $srcdir/$ac_unique_file; then | 
| 495 | if test "$ac_srcdir_defaulted" = yes; then | 691 | if test "$ac_srcdir_defaulted" = yes; then | 
| 496 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } | 692 | { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 | 
|  |  | 693 | { (exit 1); exit 1; }; } | 
| 497 | else | 694 | else | 
| 498 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } | 695 | { echo "$as_me: error: cannot find sources in $srcdir" >&2 | 
|  |  | 696 | { (exit 1); exit 1; }; } | 
| 499 | fi | 697 | fi | 
| 500 | fi | 698 | fi | 
| 501 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` | 699 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 
|  |  | 700 | ac_env_build_alias_set=${build_alias+set} | 
|  |  | 701 | ac_env_build_alias_value=$build_alias | 
|  |  | 702 | ac_cv_env_build_alias_set=${build_alias+set} | 
|  |  | 703 | ac_cv_env_build_alias_value=$build_alias | 
|  |  | 704 | ac_env_host_alias_set=${host_alias+set} | 
|  |  | 705 | ac_env_host_alias_value=$host_alias | 
|  |  | 706 | ac_cv_env_host_alias_set=${host_alias+set} | 
|  |  | 707 | ac_cv_env_host_alias_value=$host_alias | 
|  |  | 708 | ac_env_target_alias_set=${target_alias+set} | 
|  |  | 709 | ac_env_target_alias_value=$target_alias | 
|  |  | 710 | ac_cv_env_target_alias_set=${target_alias+set} | 
|  |  | 711 | ac_cv_env_target_alias_value=$target_alias | 
|  |  | 712 | ac_env_CC_set=${CC+set} | 
|  |  | 713 | ac_env_CC_value=$CC | 
|  |  | 714 | ac_cv_env_CC_set=${CC+set} | 
|  |  | 715 | ac_cv_env_CC_value=$CC | 
|  |  | 716 | ac_env_CFLAGS_set=${CFLAGS+set} | 
|  |  | 717 | ac_env_CFLAGS_value=$CFLAGS | 
|  |  | 718 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | 
|  |  | 719 | ac_cv_env_CFLAGS_value=$CFLAGS | 
|  |  | 720 | ac_env_LDFLAGS_set=${LDFLAGS+set} | 
|  |  | 721 | ac_env_LDFLAGS_value=$LDFLAGS | 
|  |  | 722 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | 
|  |  | 723 | ac_cv_env_LDFLAGS_value=$LDFLAGS | 
|  |  | 724 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | 
|  |  | 725 | ac_env_CPPFLAGS_value=$CPPFLAGS | 
|  |  | 726 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | 
|  |  | 727 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | 
|  |  | 728 | ac_env_CPP_set=${CPP+set} | 
|  |  | 729 | ac_env_CPP_value=$CPP | 
|  |  | 730 | ac_cv_env_CPP_set=${CPP+set} | 
|  |  | 731 | ac_cv_env_CPP_value=$CPP | 
| 502 |  | 732 |  | 
|  |  | 733 | # | 
|  |  | 734 | # Report the --help message. | 
|  |  | 735 | # | 
|  |  | 736 | if test "$ac_init_help" = "long"; then | 
|  |  | 737 | # Omit some internal or obsolete options to make the list less imposing. | 
|  |  | 738 | # This message is too long to be a string in the A/UX 3.1 sh. | 
|  |  | 739 | cat <<EOF | 
|  |  | 740 | \`configure' configures this package to adapt to many kinds of systems. | 
|  |  | 741 |  | 
|  |  | 742 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
|  |  | 743 |  | 
|  |  | 744 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
|  |  | 745 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
|  |  | 746 |  | 
|  |  | 747 | Defaults for the options are specified in brackets. | 
|  |  | 748 |  | 
|  |  | 749 | Configuration: | 
|  |  | 750 | -h, --help              display this help and exit | 
|  |  | 751 | --help=short        display options specific to this package | 
|  |  | 752 | --help=recursive    display the short help of all the included packages | 
|  |  | 753 | -V, --version           display version information and exit | 
|  |  | 754 | -q, --quiet, --silent   do not print \`checking...' messages | 
|  |  | 755 | --cache-file=FILE   cache test results in FILE [disabled] | 
|  |  | 756 | -C, --config-cache      alias for \`--cache-file=config.cache' | 
|  |  | 757 | -n, --no-create         do not create output files | 
|  |  | 758 | --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
|  |  | 759 |  | 
|  |  | 760 | EOF | 
|  |  | 761 |  | 
|  |  | 762 | cat <<EOF | 
|  |  | 763 | Installation directories: | 
|  |  | 764 | --prefix=PREFIX         install architecture-independent files in PREFIX | 
|  |  | 765 | [$ac_default_prefix] | 
|  |  | 766 | --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
|  |  | 767 | [PREFIX] | 
|  |  | 768 |  | 
|  |  | 769 | By default, \`make install' will install all the files in | 
|  |  | 770 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
|  |  | 771 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
|  |  | 772 | for instance \`--prefix=\$HOME'. | 
|  |  | 773 |  | 
|  |  | 774 | For better control, use the options below. | 
|  |  | 775 |  | 
|  |  | 776 | Fine tuning of the installation directories: | 
|  |  | 777 | --bindir=DIR           user executables [EPREFIX/bin] | 
|  |  | 778 | --sbindir=DIR          system admin executables [EPREFIX/sbin] | 
|  |  | 779 | --libexecdir=DIR       program executables [EPREFIX/libexec] | 
|  |  | 780 | --datadir=DIR          read-only architecture-independent data [PREFIX/share] | 
|  |  | 781 | --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] | 
|  |  | 782 | --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] | 
|  |  | 783 | --localstatedir=DIR    modifiable single-machine data [PREFIX/var] | 
|  |  | 784 | --libdir=DIR           object code libraries [EPREFIX/lib] | 
|  |  | 785 | --includedir=DIR       C header files [PREFIX/include] | 
|  |  | 786 | --oldincludedir=DIR    C header files for non-gcc [/usr/include] | 
|  |  | 787 | --infodir=DIR          info documentation [PREFIX/info] | 
|  |  | 788 | --mandir=DIR           man documentation [PREFIX/man] | 
|  |  | 789 | EOF | 
|  |  | 790 |  | 
|  |  | 791 | cat <<\EOF | 
|  |  | 792 |  | 
|  |  | 793 | Program names: | 
|  |  | 794 | --program-prefix=PREFIX            prepend PREFIX to installed program names | 
|  |  | 795 | --program-suffix=SUFFIX            append SUFFIX to installed program names | 
|  |  | 796 | --program-transform-name=PROGRAM   run sed PROGRAM on installed program names | 
|  |  | 797 |  | 
|  |  | 798 | System types: | 
|  |  | 799 | --build=BUILD     configure for building on BUILD [guessed] | 
|  |  | 800 | --host=HOST       build programs to run on HOST [BUILD] | 
|  |  | 801 | EOF | 
|  |  | 802 | fi | 
|  |  | 803 |  | 
|  |  | 804 | if test -n "$ac_init_help"; then | 
|  |  | 805 |  | 
|  |  | 806 | cat <<\EOF | 
|  |  | 807 |  | 
|  |  | 808 | Optional Features: | 
|  |  | 809 | --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
|  |  | 810 | --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
|  |  | 811 | --enable-shared=PKGS  build shared libraries default=yes | 
|  |  | 812 | --enable-static=PKGS  build static libraries default=yes | 
|  |  | 813 | --enable-fast-install=PKGS  optimize for fast installation default=yes | 
|  |  | 814 | --disable-libtool-lock  avoid locking (might break parallel builds) | 
|  |  | 815 | --enable-compile-warnings=no/minimum/yes       Turn on compiler warnings. | 
|  |  | 816 | --enable-iso-c          Try to warn if code is not ISO C | 
|  |  | 817 | --disable-html-docs     Disable generation of HTML 3.2 docs (default: on) | 
|  |  | 818 | --enable-html4-docs     Enable generation of HTML 4 docs (default: off) | 
|  |  | 819 | --enable-ascii-docs     Enable generation of ASCII docs (default: off) | 
|  |  | 820 | --enable-rtf-docs       Enable generation of RTF docs (default: off) | 
|  |  | 821 |  | 
|  |  | 822 | Optional Packages: | 
|  |  | 823 | --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
|  |  | 824 | --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
|  |  | 825 | --with-gnu-ld           assume the C compiler uses GNU ld default=no | 
|  |  | 826 | --with-pic              try to use only PIC/non-PIC objects default=use both | 
|  |  | 827 | --with-imagemagick      enable ImageMagick (default = yes) | 
|  |  | 828 |  | 
|  |  | 829 | Some influential environment variables: | 
|  |  | 830 | CC          C compiler command | 
|  |  | 831 | CFLAGS      C compiler flags | 
|  |  | 832 | LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|  |  | 833 | nonstandard directory <lib dir> | 
|  |  | 834 | CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
|  |  | 835 | headers in a nonstandard directory <include dir> | 
|  |  | 836 | CPP         C preprocessor | 
|  |  | 837 |  | 
|  |  | 838 | Use these variables to override the choices made by `configure' or to help | 
|  |  | 839 | it to find libraries and programs with nonstandard names/locations. | 
|  |  | 840 |  | 
|  |  | 841 | EOF | 
|  |  | 842 | fi | 
|  |  | 843 |  | 
|  |  | 844 | if test "$ac_init_help" = "recursive"; then | 
|  |  | 845 | # If there are subdirs, report their specific --help. | 
|  |  | 846 | ac_popdir=`pwd` | 
|  |  | 847 | for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue | 
|  |  | 848 | cd $ac_subdir | 
|  |  | 849 | # A "../" for each directory in /$ac_subdir. | 
|  |  | 850 | ac_dots=`echo $ac_subdir | | 
|  |  | 851 | sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` | 
|  |  | 852 |  | 
|  |  | 853 | case $srcdir in | 
|  |  | 854 | .) # No --srcdir option.  We are building in place. | 
|  |  | 855 | ac_sub_srcdir=$srcdir ;; | 
|  |  | 856 | [\\/]* | ?:[\\/]* ) # Absolute path. | 
|  |  | 857 | ac_sub_srcdir=$srcdir/$ac_subdir ;; | 
|  |  | 858 | *) # Relative path. | 
|  |  | 859 | ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; | 
|  |  | 860 | esac | 
|  |  | 861 |  | 
|  |  | 862 | # Check for guested configure; otherwise get Cygnus style configure. | 
|  |  | 863 | if test -f $ac_sub_srcdir/configure.gnu; then | 
|  |  | 864 | echo | 
|  |  | 865 | $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive | 
|  |  | 866 | elif test -f $ac_sub_srcdir/configure; then | 
|  |  | 867 | echo | 
|  |  | 868 | $SHELL $ac_sub_srcdir/configure  --help=recursive | 
|  |  | 869 | elif test -f $ac_sub_srcdir/configure.ac || | 
|  |  | 870 | test -f $ac_sub_srcdir/configure.in; then | 
|  |  | 871 | echo | 
|  |  | 872 | $ac_configure --help | 
|  |  | 873 | else | 
|  |  | 874 | echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 | 
|  |  | 875 | fi | 
|  |  | 876 | cd $ac_popdir | 
|  |  | 877 | done | 
|  |  | 878 | fi | 
|  |  | 879 |  | 
|  |  | 880 | test -n "$ac_init_help" && exit 0 | 
|  |  | 881 | if $ac_init_version; then | 
|  |  | 882 | cat <<\EOF | 
|  |  | 883 |  | 
|  |  | 884 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 
|  |  | 885 | Free Software Foundation, Inc. | 
|  |  | 886 | This configure script is free software; the Free Software Foundation | 
|  |  | 887 | gives unlimited permission to copy, distribute and modify it. | 
|  |  | 888 | EOF | 
|  |  | 889 | exit 0 | 
|  |  | 890 | fi | 
|  |  | 891 | exec 5>config.log | 
|  |  | 892 | cat >&5 <<EOF | 
|  |  | 893 | This file contains any messages produced by compilers while | 
|  |  | 894 | running configure, to aid debugging if configure makes a mistake. | 
|  |  | 895 |  | 
|  |  | 896 | It was created by $as_me, which was | 
|  |  | 897 | generated by GNU Autoconf 2.50.  Invocation command line was | 
|  |  | 898 |  | 
|  |  | 899 | $ $0 $@ | 
|  |  | 900 |  | 
|  |  | 901 | EOF | 
|  |  | 902 | { | 
|  |  | 903 | cat <<_ASUNAME | 
|  |  | 904 | ## ---------- ## | 
|  |  | 905 | ## Platform.  ## | 
|  |  | 906 | ## ---------- ## | 
|  |  | 907 |  | 
|  |  | 908 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|  |  | 909 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|  |  | 910 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|  |  | 911 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|  |  | 912 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|  |  | 913 |  | 
|  |  | 914 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|  |  | 915 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|  |  | 916 |  | 
|  |  | 917 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|  |  | 918 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|  |  | 919 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|  |  | 920 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
|  |  | 921 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|  |  | 922 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|  |  | 923 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|  |  | 924 |  | 
|  |  | 925 | PATH = $PATH | 
|  |  | 926 |  | 
|  |  | 927 | _ASUNAME | 
|  |  | 928 | } >&5 | 
|  |  | 929 |  | 
|  |  | 930 | cat >&5 <<EOF | 
|  |  | 931 | ## ------------ ## | 
|  |  | 932 | ## Core tests.  ## | 
|  |  | 933 | ## ------------ ## | 
|  |  | 934 |  | 
|  |  | 935 | EOF | 
|  |  | 936 |  | 
|  |  | 937 | # Keep a trace of the command line. | 
|  |  | 938 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|  |  | 939 | # Also quote any args containing shell meta-characters. | 
|  |  | 940 | ac_configure_args= | 
|  |  | 941 | ac_sep= | 
|  |  | 942 | for ac_arg | 
|  |  | 943 | do | 
|  |  | 944 | case $ac_arg in | 
|  |  | 945 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
|  |  | 946 | | --no-cr | --no-c) ;; | 
|  |  | 947 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
|  |  | 948 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | 
|  |  | 949 | *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|  |  | 950 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` | 
|  |  | 951 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
|  |  | 952 | ac_sep=" " ;; | 
|  |  | 953 | *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" | 
|  |  | 954 | ac_sep=" " ;; | 
|  |  | 955 | esac | 
|  |  | 956 | # Get rid of the leading space. | 
|  |  | 957 | done | 
|  |  | 958 |  | 
|  |  | 959 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|  |  | 960 | # config.log.  We remove comments because anyway the quotes in there | 
|  |  | 961 | # would cause problems or look ugly. | 
|  |  | 962 | trap 'exit_status=$? | 
|  |  | 963 | # Save into config.log some information that might help in debugging. | 
|  |  | 964 | echo >&5 | 
|  |  | 965 | echo "## ----------------- ##" >&5 | 
|  |  | 966 | echo "## Cache variables.  ##" >&5 | 
|  |  | 967 | echo "## ----------------- ##" >&5 | 
|  |  | 968 | echo >&5 | 
|  |  | 969 | # The following way of writing the cache mishandles newlines in values, | 
|  |  | 970 | { | 
|  |  | 971 | (set) 2>&1 | | 
|  |  | 972 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
|  |  | 973 | *ac_space=\ *) | 
|  |  | 974 | sed -n \ | 
|  |  | 975 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
|  |  | 976 | s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
|  |  | 977 | ;; | 
|  |  | 978 | *) | 
|  |  | 979 | sed -n \ | 
|  |  | 980 | "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|  |  | 981 | ;; | 
|  |  | 982 | esac; | 
|  |  | 983 | } >&5 | 
|  |  | 984 | sed "/^$/d" confdefs.h >conftest.log | 
|  |  | 985 | if test -s conftest.log; then | 
|  |  | 986 | echo >&5 | 
|  |  | 987 | echo "## ------------ ##" >&5 | 
|  |  | 988 | echo "## confdefs.h.  ##" >&5 | 
|  |  | 989 | echo "## ------------ ##" >&5 | 
|  |  | 990 | echo >&5 | 
|  |  | 991 | cat conftest.log >&5 | 
|  |  | 992 | fi | 
|  |  | 993 | (echo; echo) >&5 | 
|  |  | 994 | test "$ac_signal" != 0 && | 
|  |  | 995 | echo "$as_me: caught signal $ac_signal" >&5 | 
|  |  | 996 | echo "$as_me: exit $exit_status" >&5 | 
|  |  | 997 | rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && | 
|  |  | 998 | exit $exit_status | 
|  |  | 999 | ' 0 | 
|  |  | 1000 | for ac_signal in 1 2 13 15; do | 
|  |  | 1001 | trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal | 
|  |  | 1002 | done | 
|  |  | 1003 | ac_signal=0 | 
|  |  | 1004 |  | 
|  |  | 1005 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|  |  | 1006 | rm -rf conftest* confdefs.h | 
|  |  | 1007 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
|  |  | 1008 | echo >confdefs.h | 
|  |  | 1009 |  | 
|  |  | 1010 | # Let the site file select an alternate cache file if it wants to. | 
| 503 | # Prefer explicitly selected file to automatically selected ones. | 1011 | # Prefer explicitly selected file to automatically selected ones. | 
| 504 | if test -z "$CONFIG_SITE"; then | 1012 | if test -z "$CONFIG_SITE"; then | 
| 505 | if test "x$prefix" != xNONE; then | 1013 | if test "x$prefix" != xNONE; then | 
| 506 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 1014 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
| 507 | else | 1015 | else | 
| 508 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 1016 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
| 509 | fi | 1017 | fi | 
| 510 | fi | 1018 | fi | 
| 511 | for ac_site_file in $CONFIG_SITE; do | 1019 | for ac_site_file in $CONFIG_SITE; do | 
| 512 | if test -r "$ac_site_file"; then | 1020 | if test -r "$ac_site_file"; then | 
| 513 | echo "loading site script $ac_site_file" | 1021 | { echo "$as_me:1021: loading site script $ac_site_file" >&5 | 
|  |  | 1022 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
|  |  | 1023 | cat "$ac_site_file" >&5 | 
| 514 | . "$ac_site_file" | 1024 | . "$ac_site_file" | 
| 515 | fi | 1025 | fi | 
| 516 | done | 1026 | done | 
| 517 |  | 1027 |  | 
| 518 | if test -r "$cache_file"; then | 1028 | if test -r "$cache_file"; then | 
|  |  | 1029 | # Some versions of bash will fail to source /dev/null (special | 
|  |  | 1030 | # files actually), so we avoid doing that. | 
|  |  | 1031 | if test -f "$cache_file"; then | 
|  |  | 1032 | { echo "$as_me:1032: loading cache $cache_file" >&5 | 
| 519 | echo "loading cache $cache_file" | 1033 | echo "$as_me: loading cache $cache_file" >&6;} | 
| 520 | . $cache_file | 1034 | case $cache_file in | 
|  |  | 1035 | [\\/]* | ?:[\\/]* ) . $cache_file;; | 
|  |  | 1036 | *)                      . ./$cache_file;; | 
|  |  | 1037 | esac | 
|  |  | 1038 | fi | 
| 521 | else | 1039 | else | 
|  |  | 1040 | { echo "$as_me:1040: creating cache $cache_file" >&5 | 
| 522 | echo "creating cache $cache_file" | 1041 | echo "$as_me: creating cache $cache_file" >&6;} | 
| 523 | > $cache_file | 1042 | >$cache_file | 
|  |  | 1043 | fi | 
|  |  | 1044 |  | 
|  |  | 1045 | # Check that the precious variables saved in the cache have kept the same | 
|  |  | 1046 | # value. | 
|  |  | 1047 | ac_suggest_removing_cache=false | 
|  |  | 1048 | for ac_var in `(set) 2>&1 | | 
|  |  | 1049 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
|  |  | 1050 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|  |  | 1051 | eval ac_new_set=\$ac_env_${ac_var}_set | 
|  |  | 1052 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
|  |  | 1053 | eval ac_new_val="\$ac_env_${ac_var}_value" | 
|  |  | 1054 | case $ac_old_set,$ac_new_set in | 
|  |  | 1055 | set,) | 
|  |  | 1056 | { echo "$as_me:1056: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|  |  | 1057 | echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|  |  | 1058 | ac_suggest_removing_cache=: ;; | 
|  |  | 1059 | ,set) | 
|  |  | 1060 | { echo "$as_me:1060: WARNING: \`$ac_var' was not set in the previous run" >&5 | 
|  |  | 1061 | echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;} | 
|  |  | 1062 | ac_suggest_removing_cache=: ;; | 
|  |  | 1063 | ,);; | 
|  |  | 1064 | *) | 
|  |  | 1065 | if test "x$ac_old_val" != "x$ac_new_val"; then | 
|  |  | 1066 | { echo "$as_me:1066: WARNING: \`$ac_var' has changed since the previous run:" >&5 | 
|  |  | 1067 | echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;} | 
|  |  | 1068 | { echo "$as_me:1068: WARNING:   former value:  $ac_old_val" >&5 | 
|  |  | 1069 | echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;} | 
|  |  | 1070 | { echo "$as_me:1070: WARNING:   current value: $ac_new_val" >&5 | 
|  |  | 1071 | echo "$as_me: WARNING:   current value: $ac_new_val" >&2;} | 
|  |  | 1072 | ac_suggest_removing_cache=: | 
|  |  | 1073 | fi;; | 
|  |  | 1074 | esac | 
|  |  | 1075 | done | 
|  |  | 1076 | if $ac_suggest_removing_cache; then | 
|  |  | 1077 | { echo "$as_me:1077: WARNING: changes in the environment can compromise the build" >&5 | 
|  |  | 1078 | echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;} | 
|  |  | 1079 | { echo "$as_me:1079: WARNING: consider removing $cache_file and starting over" >&5 | 
|  |  | 1080 | echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;} | 
| 524 | fi | 1081 | fi | 
| 525 |  | 1082 |  | 
| 526 | ac_ext=c | 1083 | ac_ext=c | 
| 527 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |  |  | 
| 528 | ac_cpp='$CPP $CPPFLAGS' | 1084 | ac_cpp='$CPP $CPPFLAGS' | 
| 529 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1085 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 530 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1086 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 531 | cross_compiling=$ac_cv_prog_cc_cross | 1087 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 532 |  | 1088 |  | 
| 533 | ac_exeext= | 1089 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
| 534 | ac_objext=o | 1090 | *c*,-n*) ECHO_N= ECHO_C=' | 
| 535 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | 1091 | ' ECHO_T='	' ;; | 
| 536 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | 1092 | *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
| 537 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | 1093 | *)      ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
| 538 | ac_n= ac_c=' | 1094 | esac | 
| 539 | ' ac_t='	' | 1095 | echo "#! $SHELL" >conftest.sh | 
|  |  | 1096 | echo  "exit 0"   >>conftest.sh | 
|  |  | 1097 | chmod +x conftest.sh | 
|  |  | 1098 | if { (echo "$as_me:1098: PATH=\".;.\"; conftest.sh") >&5 | 
|  |  | 1099 | (PATH=".;."; conftest.sh) 2>&5 | 
|  |  | 1100 | ac_status=$? | 
|  |  | 1101 | echo "$as_me:1101: \$? = $ac_status" >&5 | 
|  |  | 1102 | (exit $ac_status); }; then | 
|  |  | 1103 | ac_path_separator=';' | 
| 540 | else | 1104 | else | 
| 541 | ac_n=-n ac_c= ac_t= | 1105 | ac_path_separator=: | 
| 542 | fi |  |  | 
| 543 | else |  |  | 
| 544 | ac_n= ac_c='\c' ac_t= |  |  | 
| 545 | fi | 1106 | fi | 
| 546 |  | 1107 | PATH_SEPARATOR="$ac_path_separator" | 
|  |  | 1108 | rm -f conftest.sh | 
| 547 |  | 1109 |  | 
| 548 | ac_aux_dir= | 1110 | ac_aux_dir= | 
| 549 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 1111 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 
| 550 | if test -f $ac_dir/install-sh; then | 1112 | if test -f $ac_dir/install-sh; then | 
| 551 | ac_aux_dir=$ac_dir | 1113 | ac_aux_dir=$ac_dir | 
| … |  | … |  | 
| 553 | break | 1115 | break | 
| 554 | elif test -f $ac_dir/install.sh; then | 1116 | elif test -f $ac_dir/install.sh; then | 
| 555 | ac_aux_dir=$ac_dir | 1117 | ac_aux_dir=$ac_dir | 
| 556 | ac_install_sh="$ac_aux_dir/install.sh -c" | 1118 | ac_install_sh="$ac_aux_dir/install.sh -c" | 
| 557 | break | 1119 | break | 
|  |  | 1120 | elif test -f $ac_dir/shtool; then | 
|  |  | 1121 | ac_aux_dir=$ac_dir | 
|  |  | 1122 | ac_install_sh="$ac_aux_dir/shtool install -c" | 
|  |  | 1123 | break | 
| 558 | fi | 1124 | fi | 
| 559 | done | 1125 | done | 
| 560 | if test -z "$ac_aux_dir"; then | 1126 | if test -z "$ac_aux_dir"; then | 
|  |  | 1127 | { { echo "$as_me:1127: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 
| 561 | { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } | 1128 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 
|  |  | 1129 | { (exit 1); exit 1; }; } | 
| 562 | fi | 1130 | fi | 
| 563 | ac_config_guess=$ac_aux_dir/config.guess | 1131 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
| 564 | ac_config_sub=$ac_aux_dir/config.sub | 1132 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
| 565 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | 1133 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
| 566 |  | 1134 |  | 
| 567 | # Find a good install program.  We prefer a C program (faster), | 1135 | # Find a good install program.  We prefer a C program (faster), | 
| 568 | # so one script is as good as another.  But avoid the broken or | 1136 | # so one script is as good as another.  But avoid the broken or | 
| 569 | # incompatible versions: | 1137 | # incompatible versions: | 
| 570 | # SysV /etc/install, /usr/sbin/install | 1138 | # SysV /etc/install, /usr/sbin/install | 
| 571 | # SunOS /usr/etc/install | 1139 | # SunOS /usr/etc/install | 
| 572 | # IRIX /sbin/install | 1140 | # IRIX /sbin/install | 
| 573 | # AIX /bin/install | 1141 | # AIX /bin/install | 
|  |  | 1142 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
| 574 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 1143 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
| 575 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 1144 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
| 576 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 1145 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
| 577 | # ./install, which can be erroneously created by make from ./install.sh. | 1146 | # ./install, which can be erroneously created by make from ./install.sh. | 
|  |  | 1147 | echo "$as_me:1147: checking for a BSD compatible install" >&5 | 
| 578 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 1148 | echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 | 
| 579 | echo "configure:580: checking for a BSD compatible install" >&5 |  |  | 
| 580 | if test -z "$INSTALL"; then | 1149 | if test -z "$INSTALL"; then | 
| 581 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 1150 | if test "${ac_cv_path_install+set}" = set; then | 
| 582 | echo $ac_n "(cached) $ac_c" 1>&6 | 1151 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 583 | else | 1152 | else | 
| 584 | IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":" | 1153 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 585 | for ac_dir in $PATH; do | 1154 | for ac_dir in $PATH; do | 
|  |  | 1155 | IFS=$ac_save_IFS | 
| 586 | # Account for people who put trailing slashes in PATH elements. | 1156 | # Account for people who put trailing slashes in PATH elements. | 
| 587 | case "$ac_dir/" in | 1157 | case $ac_dir/ in | 
|  |  | 1158 | / | ./ | .// | /cC/* \ | 
| 588 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | 1159 | | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ | 
|  |  | 1160 | | /usr/ucb/* ) ;; | 
| 589 | *) | 1161 | *) | 
| 590 | # OSF1 and SCO ODT 3.0 have their own names for install. | 1162 | # OSF1 and SCO ODT 3.0 have their own names for install. | 
| 591 | # Don't use installbsd from OSF since it installs stuff as root | 1163 | # Don't use installbsd from OSF since it installs stuff as root | 
| 592 | # by default. | 1164 | # by default. | 
| 593 | for ac_prog in ginstall scoinst install; do | 1165 | for ac_prog in ginstall scoinst install; do | 
| 594 | if test -f $ac_dir/$ac_prog; then | 1166 | if $as_executable_p "$ac_dir/$ac_prog"; then | 
| 595 | if test $ac_prog = install && | 1167 | if test $ac_prog = install && | 
| 596 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | 1168 | grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then | 
| 597 | # AIX install.  It has an incompatible calling convention. | 1169 | # AIX install.  It has an incompatible calling convention. | 
|  |  | 1170 | : | 
|  |  | 1171 | elif test $ac_prog = install && | 
|  |  | 1172 | grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then | 
|  |  | 1173 | # program-specific install script used by HP pwplus--don't use. | 
| 598 | : | 1174 | : | 
| 599 | else | 1175 | else | 
| 600 | ac_cv_path_install="$ac_dir/$ac_prog -c" | 1176 | ac_cv_path_install="$ac_dir/$ac_prog -c" | 
| 601 | break 2 | 1177 | break 2 | 
| 602 | fi | 1178 | fi | 
| 603 | fi | 1179 | fi | 
| 604 | done | 1180 | done | 
| 605 | ;; | 1181 | ;; | 
| 606 | esac | 1182 | esac | 
| 607 | done | 1183 | done | 
| 608 | IFS="$ac_save_IFS" |  |  | 
| 609 |  | 1184 |  | 
| 610 | fi | 1185 | fi | 
| 611 | if test "${ac_cv_path_install+set}" = set; then | 1186 | if test "${ac_cv_path_install+set}" = set; then | 
| 612 | INSTALL="$ac_cv_path_install" | 1187 | INSTALL=$ac_cv_path_install | 
| 613 | else | 1188 | else | 
| 614 | # As a last resort, use the slow shell script.  We don't cache a | 1189 | # As a last resort, use the slow shell script.  We don't cache a | 
| 615 | # path for INSTALL within a source directory, because that will | 1190 | # path for INSTALL within a source directory, because that will | 
| 616 | # break other packages using the cache if that directory is | 1191 | # break other packages using the cache if that directory is | 
| 617 | # removed, or if the path is relative. | 1192 | # removed, or if the path is relative. | 
| 618 | INSTALL="$ac_install_sh" | 1193 | INSTALL=$ac_install_sh | 
| 619 | fi | 1194 | fi | 
| 620 | fi | 1195 | fi | 
|  |  | 1196 | echo "$as_me:1196: result: $INSTALL" >&5 | 
| 621 | echo "$ac_t""$INSTALL" 1>&6 | 1197 | echo "${ECHO_T}$INSTALL" >&6 | 
| 622 |  | 1198 |  | 
| 623 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 1199 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
| 624 | # It thinks the first close brace ends the variable substitution. | 1200 | # It thinks the first close brace ends the variable substitution. | 
| 625 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 1201 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
| 626 |  | 1202 |  | 
| 627 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 1203 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
| 628 |  | 1204 |  | 
| 629 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 1205 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
| 630 |  | 1206 |  | 
|  |  | 1207 | echo "$as_me:1207: checking whether build environment is sane" >&5 | 
| 631 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 1208 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | 
| 632 | echo "configure:633: checking whether build environment is sane" >&5 |  |  | 
| 633 | # Just in case | 1209 | # Just in case | 
| 634 | sleep 1 | 1210 | sleep 1 | 
| 635 | echo timestamp > conftestfile | 1211 | echo timestamp > conftestfile | 
| 636 | # Do `set' in a subshell so we don't clobber the current shell's | 1212 | # Do `set' in a subshell so we don't clobber the current shell's | 
| 637 | # arguments.  Must try -L first in case configure is actually a | 1213 | # arguments.  Must try -L first in case configure is actually a | 
| … |  | … |  | 
| 649 |  | 1225 |  | 
| 650 | # If neither matched, then we have a broken ls.  This can happen | 1226 | # If neither matched, then we have a broken ls.  This can happen | 
| 651 | # if, for instance, CONFIG_SHELL is bash and it inherits a | 1227 | # if, for instance, CONFIG_SHELL is bash and it inherits a | 
| 652 | # broken ls alias from the environment.  This has actually | 1228 | # broken ls alias from the environment.  This has actually | 
| 653 | # happened.  Such a system could not be considered "sane". | 1229 | # happened.  Such a system could not be considered "sane". | 
| 654 | { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken | 1230 | { { echo "$as_me:1230: error: ls -t appears to fail.  Make sure there is not a broken | 
|  |  | 1231 | alias in your environment" >&5 | 
|  |  | 1232 | echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken | 
| 655 | alias in your environment" 1>&2; exit 1; } | 1233 | alias in your environment" >&2;} | 
|  |  | 1234 | { (exit 1); exit 1; }; } | 
| 656 | fi | 1235 | fi | 
| 657 |  | 1236 |  | 
| 658 | test "$2" = conftestfile | 1237 | test "$2" = conftestfile | 
| 659 | ) | 1238 | ) | 
| 660 | then | 1239 | then | 
| 661 | # Ok. | 1240 | # Ok. | 
| 662 | : | 1241 | : | 
| 663 | else | 1242 | else | 
|  |  | 1243 | { { echo "$as_me:1243: error: newly created file is older than distributed files! | 
|  |  | 1244 | Check your system clock" >&5 | 
| 664 | { echo "configure: error: newly created file is older than distributed files! | 1245 | echo "$as_me: error: newly created file is older than distributed files! | 
| 665 | Check your system clock" 1>&2; exit 1; } | 1246 | Check your system clock" >&2;} | 
|  |  | 1247 | { (exit 1); exit 1; }; } | 
| 666 | fi | 1248 | fi | 
| 667 | rm -f conftest* | 1249 | rm -f conftest* | 
| 668 | echo "$ac_t""yes" 1>&6 | 1250 | echo "$as_me:1250: result: yes" >&5 | 
|  |  | 1251 | echo "${ECHO_T}yes" >&6 | 
| 669 | if test "$program_transform_name" = s,x,x,; then | 1252 | if test "$program_transform_name" = s,x,x,; then | 
| 670 | program_transform_name= | 1253 | program_transform_name= | 
| 671 | else | 1254 | else | 
| 672 | # Double any \ or $.  echo might interpret backslashes. | 1255 | # Double any \ or $.  echo might interpret backslashes. | 
| 673 | cat <<\EOF_SED > conftestsed | 1256 | cat <<\EOF >conftest.sed | 
| 674 | s,\\,\\\\,g; s,\$,$$,g | 1257 | s,\\,\\\\,g; s,\$,$$,g | 
| 675 | EOF_SED | 1258 | EOF | 
| 676 | program_transform_name="`echo $program_transform_name|sed -f conftestsed`" | 1259 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 
| 677 | rm -f conftestsed | 1260 | rm -f conftest.sed | 
| 678 | fi | 1261 | fi | 
| 679 | test "$program_prefix" != NONE && | 1262 | test "$program_prefix" != NONE && | 
| 680 | program_transform_name="s,^,${program_prefix},; $program_transform_name" | 1263 | program_transform_name="s,^,${program_prefix},;$program_transform_name" | 
| 681 | # Use a double $ so make ignores it. | 1264 | # Use a double $ so make ignores it. | 
| 682 | test "$program_suffix" != NONE && | 1265 | test "$program_suffix" != NONE && | 
| 683 | program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" | 1266 | program_transform_name="s,\$\$,${program_suffix},;$program_transform_name" | 
| 684 |  | 1267 |  | 
| 685 | # sed with no file args requires a program. | 1268 | # sed with no file args requires a program. | 
| 686 | test "$program_transform_name" = "" && program_transform_name="s,x,x," | 1269 | test -z "$program_transform_name" && program_transform_name="s,x,x," | 
| 687 |  | 1270 |  | 
|  |  | 1271 | echo "$as_me:1271: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 
| 688 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 1272 | echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 | 
| 689 | echo "configure:690: checking whether ${MAKE-make} sets \${MAKE}" >&5 |  |  | 
| 690 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 1273 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | 
| 691 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 1274 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 
| 692 | echo $ac_n "(cached) $ac_c" 1>&6 | 1275 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 693 | else | 1276 | else | 
| 694 | cat > conftestmake <<\EOF | 1277 | cat >conftest.make <<\EOF | 
| 695 | all: | 1278 | all: | 
| 696 | @echo 'ac_maketemp="${MAKE}"' | 1279 | @echo 'ac_maketemp="${MAKE}"' | 
| 697 | EOF | 1280 | EOF | 
| 698 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 1281 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
| 699 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | 1282 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 
| 700 | if test -n "$ac_maketemp"; then | 1283 | if test -n "$ac_maketemp"; then | 
| 701 | eval ac_cv_prog_make_${ac_make}_set=yes | 1284 | eval ac_cv_prog_make_${ac_make}_set=yes | 
| 702 | else | 1285 | else | 
| 703 | eval ac_cv_prog_make_${ac_make}_set=no | 1286 | eval ac_cv_prog_make_${ac_make}_set=no | 
| 704 | fi | 1287 | fi | 
| 705 | rm -f conftestmake | 1288 | rm -f conftest.make | 
| 706 | fi | 1289 | fi | 
| 707 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 1290 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
| 708 | echo "$ac_t""yes" 1>&6 | 1291 | echo "$as_me:1291: result: yes" >&5 | 
|  |  | 1292 | echo "${ECHO_T}yes" >&6 | 
| 709 | SET_MAKE= | 1293 | SET_MAKE= | 
| 710 | else | 1294 | else | 
| 711 | echo "$ac_t""no" 1>&6 | 1295 | echo "$as_me:1295: result: no" >&5 | 
|  |  | 1296 | echo "${ECHO_T}no" >&6 | 
| 712 | SET_MAKE="MAKE=${MAKE-make}" | 1297 | SET_MAKE="MAKE=${MAKE-make}" | 
| 713 | fi | 1298 | fi | 
| 714 |  | 1299 |  | 
| 715 |  |  |  | 
| 716 | PACKAGE=psiconv | 1300 | PACKAGE=psiconv | 
| 717 |  | 1301 |  | 
| 718 | VERSION=0.8.1 | 1302 | VERSION=0.8.1 | 
| 719 |  | 1303 |  | 
| 720 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 1304 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 
|  |  | 1305 | { { echo "$as_me:1305: error: source directory already configured; run \"make distclean\" there first" >&5 | 
| 721 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 1306 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | 
|  |  | 1307 | { (exit 1); exit 1; }; } | 
| 722 | fi | 1308 | fi | 
|  |  | 1309 |  | 
| 723 | cat >> confdefs.h <<EOF | 1310 | cat >>confdefs.h <<EOF | 
| 724 | #define PACKAGE "$PACKAGE" | 1311 | #define PACKAGE "$PACKAGE" | 
| 725 | EOF | 1312 | EOF | 
| 726 |  | 1313 |  | 
| 727 | cat >> confdefs.h <<EOF | 1314 | cat >>confdefs.h <<EOF | 
| 728 | #define VERSION "$VERSION" | 1315 | #define VERSION "$VERSION" | 
| 729 | EOF | 1316 | EOF | 
| 730 |  | 1317 |  | 
| 731 |  |  |  | 
| 732 |  |  |  | 
| 733 | missing_dir=`cd $ac_aux_dir && pwd` | 1318 | missing_dir=`cd $ac_aux_dir && pwd` | 
|  |  | 1319 | echo "$as_me:1319: checking for working aclocal" >&5 | 
| 734 | echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 1320 | echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6 | 
| 735 | echo "configure:736: checking for working aclocal" >&5 |  |  | 
| 736 | # Run test in a subshell; some versions of sh will print an error if | 1321 | # Run test in a subshell; some versions of sh will print an error if | 
| 737 | # an executable is not found, even if stderr is redirected. | 1322 | # an executable is not found, even if stderr is redirected. | 
| 738 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 1323 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 739 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 1324 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 
| 740 | ACLOCAL=aclocal | 1325 | ACLOCAL=aclocal | 
| 741 | echo "$ac_t""found" 1>&6 | 1326 | echo "$as_me:1326: result: found" >&5 | 
|  |  | 1327 | echo "${ECHO_T}found" >&6 | 
| 742 | else | 1328 | else | 
| 743 | ACLOCAL="$missing_dir/missing aclocal" | 1329 | ACLOCAL="$missing_dir/missing aclocal" | 
| 744 | echo "$ac_t""missing" 1>&6 | 1330 | echo "$as_me:1330: result: missing" >&5 | 
|  |  | 1331 | echo "${ECHO_T}missing" >&6 | 
| 745 | fi | 1332 | fi | 
| 746 |  | 1333 |  | 
|  |  | 1334 | echo "$as_me:1334: checking for working autoconf" >&5 | 
| 747 | echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 1335 | echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 | 
| 748 | echo "configure:749: checking for working autoconf" >&5 |  |  | 
| 749 | # Run test in a subshell; some versions of sh will print an error if | 1336 | # Run test in a subshell; some versions of sh will print an error if | 
| 750 | # an executable is not found, even if stderr is redirected. | 1337 | # an executable is not found, even if stderr is redirected. | 
| 751 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 1338 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 752 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 1339 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 
| 753 | AUTOCONF=autoconf | 1340 | AUTOCONF=autoconf | 
| 754 | echo "$ac_t""found" 1>&6 | 1341 | echo "$as_me:1341: result: found" >&5 | 
|  |  | 1342 | echo "${ECHO_T}found" >&6 | 
| 755 | else | 1343 | else | 
| 756 | AUTOCONF="$missing_dir/missing autoconf" | 1344 | AUTOCONF="$missing_dir/missing autoconf" | 
| 757 | echo "$ac_t""missing" 1>&6 | 1345 | echo "$as_me:1345: result: missing" >&5 | 
|  |  | 1346 | echo "${ECHO_T}missing" >&6 | 
| 758 | fi | 1347 | fi | 
| 759 |  | 1348 |  | 
|  |  | 1349 | echo "$as_me:1349: checking for working automake" >&5 | 
| 760 | echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 1350 | echo $ECHO_N "checking for working automake... $ECHO_C" >&6 | 
| 761 | echo "configure:762: checking for working automake" >&5 |  |  | 
| 762 | # Run test in a subshell; some versions of sh will print an error if | 1351 | # Run test in a subshell; some versions of sh will print an error if | 
| 763 | # an executable is not found, even if stderr is redirected. | 1352 | # an executable is not found, even if stderr is redirected. | 
| 764 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 1353 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 765 | if (automake --version) < /dev/null > /dev/null 2>&1; then | 1354 | if (automake --version) < /dev/null > /dev/null 2>&1; then | 
| 766 | AUTOMAKE=automake | 1355 | AUTOMAKE=automake | 
| 767 | echo "$ac_t""found" 1>&6 | 1356 | echo "$as_me:1356: result: found" >&5 | 
|  |  | 1357 | echo "${ECHO_T}found" >&6 | 
| 768 | else | 1358 | else | 
| 769 | AUTOMAKE="$missing_dir/missing automake" | 1359 | AUTOMAKE="$missing_dir/missing automake" | 
| 770 | echo "$ac_t""missing" 1>&6 | 1360 | echo "$as_me:1360: result: missing" >&5 | 
|  |  | 1361 | echo "${ECHO_T}missing" >&6 | 
| 771 | fi | 1362 | fi | 
| 772 |  | 1363 |  | 
|  |  | 1364 | echo "$as_me:1364: checking for working autoheader" >&5 | 
| 773 | echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 1365 | echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 | 
| 774 | echo "configure:775: checking for working autoheader" >&5 |  |  | 
| 775 | # Run test in a subshell; some versions of sh will print an error if | 1366 | # Run test in a subshell; some versions of sh will print an error if | 
| 776 | # an executable is not found, even if stderr is redirected. | 1367 | # an executable is not found, even if stderr is redirected. | 
| 777 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 1368 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 778 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 1369 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 
| 779 | AUTOHEADER=autoheader | 1370 | AUTOHEADER=autoheader | 
| 780 | echo "$ac_t""found" 1>&6 | 1371 | echo "$as_me:1371: result: found" >&5 | 
|  |  | 1372 | echo "${ECHO_T}found" >&6 | 
| 781 | else | 1373 | else | 
| 782 | AUTOHEADER="$missing_dir/missing autoheader" | 1374 | AUTOHEADER="$missing_dir/missing autoheader" | 
| 783 | echo "$ac_t""missing" 1>&6 | 1375 | echo "$as_me:1375: result: missing" >&5 | 
|  |  | 1376 | echo "${ECHO_T}missing" >&6 | 
| 784 | fi | 1377 | fi | 
| 785 |  | 1378 |  | 
|  |  | 1379 | echo "$as_me:1379: checking for working makeinfo" >&5 | 
| 786 | echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 1380 | echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 | 
| 787 | echo "configure:788: checking for working makeinfo" >&5 |  |  | 
| 788 | # Run test in a subshell; some versions of sh will print an error if | 1381 | # Run test in a subshell; some versions of sh will print an error if | 
| 789 | # an executable is not found, even if stderr is redirected. | 1382 | # an executable is not found, even if stderr is redirected. | 
| 790 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 1383 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
| 791 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 1384 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 
| 792 | MAKEINFO=makeinfo | 1385 | MAKEINFO=makeinfo | 
| 793 | echo "$ac_t""found" 1>&6 | 1386 | echo "$as_me:1386: result: found" >&5 | 
|  |  | 1387 | echo "${ECHO_T}found" >&6 | 
| 794 | else | 1388 | else | 
| 795 | MAKEINFO="$missing_dir/missing makeinfo" | 1389 | MAKEINFO="$missing_dir/missing makeinfo" | 
| 796 | echo "$ac_t""missing" 1>&6 | 1390 | echo "$as_me:1390: result: missing" >&5 | 
|  |  | 1391 | echo "${ECHO_T}missing" >&6 | 
| 797 | fi | 1392 | fi | 
| 798 |  | 1393 |  | 
|  |  | 1394 | ac_config_headers="$ac_config_headers config.h" | 
| 799 |  | 1395 |  | 
| 800 |  | 1396 | ac_config_commands="$ac_config_commands default-1" | 
| 801 |  |  |  | 
| 802 |  |  |  | 
| 803 |  |  |  | 
| 804 |  | 1397 |  | 
| 805 | # Check whether --enable-shared or --disable-shared was given. | 1398 | # Check whether --enable-shared or --disable-shared was given. | 
| 806 | if test "${enable_shared+set}" = set; then | 1399 | if test "${enable_shared+set}" = set; then | 
| 807 | enableval="$enable_shared" | 1400 | enableval="$enable_shared" | 
| 808 | p=${PACKAGE-default} | 1401 | p=${PACKAGE-default} | 
| 809 | case "$enableval" in | 1402 | case $enableval in | 
| 810 | yes) enable_shared=yes ;; | 1403 | yes) enable_shared=yes ;; | 
| 811 | no) enable_shared=no ;; | 1404 | no) enable_shared=no ;; | 
| 812 | *) | 1405 | *) | 
| 813 | enable_shared=no | 1406 | enable_shared=no | 
| 814 | # Look at the argument we got.  We use all the common list separators. | 1407 | # Look at the argument we got.  We use all the common list separators. | 
| … |  | … |  | 
| 821 | IFS="$ac_save_ifs" | 1414 | IFS="$ac_save_ifs" | 
| 822 | ;; | 1415 | ;; | 
| 823 | esac | 1416 | esac | 
| 824 | else | 1417 | else | 
| 825 | enable_shared=yes | 1418 | enable_shared=yes | 
| 826 | fi | 1419 | fi; | 
| 827 |  |  |  | 
| 828 | # Check whether --enable-static or --disable-static was given. | 1420 | # Check whether --enable-static or --disable-static was given. | 
| 829 | if test "${enable_static+set}" = set; then | 1421 | if test "${enable_static+set}" = set; then | 
| 830 | enableval="$enable_static" | 1422 | enableval="$enable_static" | 
| 831 | p=${PACKAGE-default} | 1423 | p=${PACKAGE-default} | 
| 832 | case "$enableval" in | 1424 | case $enableval in | 
| 833 | yes) enable_static=yes ;; | 1425 | yes) enable_static=yes ;; | 
| 834 | no) enable_static=no ;; | 1426 | no) enable_static=no ;; | 
| 835 | *) | 1427 | *) | 
| 836 | enable_static=no | 1428 | enable_static=no | 
| 837 | # Look at the argument we got.  We use all the common list separators. | 1429 | # Look at the argument we got.  We use all the common list separators. | 
| … |  | … |  | 
| 844 | IFS="$ac_save_ifs" | 1436 | IFS="$ac_save_ifs" | 
| 845 | ;; | 1437 | ;; | 
| 846 | esac | 1438 | esac | 
| 847 | else | 1439 | else | 
| 848 | enable_static=yes | 1440 | enable_static=yes | 
| 849 | fi | 1441 | fi; | 
| 850 |  |  |  | 
| 851 | # Check whether --enable-fast-install or --disable-fast-install was given. | 1442 | # Check whether --enable-fast-install or --disable-fast-install was given. | 
| 852 | if test "${enable_fast_install+set}" = set; then | 1443 | if test "${enable_fast_install+set}" = set; then | 
| 853 | enableval="$enable_fast_install" | 1444 | enableval="$enable_fast_install" | 
| 854 | p=${PACKAGE-default} | 1445 | p=${PACKAGE-default} | 
| 855 | case "$enableval" in | 1446 | case $enableval in | 
| 856 | yes) enable_fast_install=yes ;; | 1447 | yes) enable_fast_install=yes ;; | 
| 857 | no) enable_fast_install=no ;; | 1448 | no) enable_fast_install=no ;; | 
| 858 | *) | 1449 | *) | 
| 859 | enable_fast_install=no | 1450 | enable_fast_install=no | 
| 860 | # Look at the argument we got.  We use all the common list separators. | 1451 | # Look at the argument we got.  We use all the common list separators. | 
| … |  | … |  | 
| 867 | IFS="$ac_save_ifs" | 1458 | IFS="$ac_save_ifs" | 
| 868 | ;; | 1459 | ;; | 
| 869 | esac | 1460 | esac | 
| 870 | else | 1461 | else | 
| 871 | enable_fast_install=yes | 1462 | enable_fast_install=yes | 
| 872 | fi | 1463 | fi; | 
| 873 |  |  |  | 
| 874 |  |  |  | 
| 875 | # Make sure we can run config.sub. | 1464 | # Make sure we can run config.sub. | 
| 876 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | 1465 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
|  |  | 1466 | { { echo "$as_me:1466: error: cannot run $ac_config_sub" >&5 | 
| 877 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 1467 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
| 878 | fi | 1468 | { (exit 1); exit 1; }; } | 
| 879 |  | 1469 |  | 
| 880 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | 1470 | echo "$as_me:1470: checking build system type" >&5 | 
| 881 | echo "configure:882: checking host system type" >&5 |  |  | 
| 882 |  |  |  | 
| 883 | host_alias=$host |  |  | 
| 884 | case "$host_alias" in |  |  | 
| 885 | NONE) |  |  | 
| 886 | case $nonopt in |  |  | 
| 887 | NONE) |  |  | 
| 888 | if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |  |  | 
| 889 | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |  |  | 
| 890 | fi ;; |  |  | 
| 891 | *) host_alias=$nonopt ;; |  |  | 
| 892 | esac ;; |  |  | 
| 893 | esac |  |  | 
| 894 |  |  |  | 
| 895 | host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |  |  | 
| 896 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |  |  | 
| 897 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |  |  | 
| 898 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |  |  | 
| 899 | echo "$ac_t""$host" 1>&6 |  |  | 
| 900 |  |  |  | 
| 901 | echo $ac_n "checking build system type""... $ac_c" 1>&6 | 1471 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
| 902 | echo "configure:903: checking build system type" >&5 | 1472 | if test "${ac_cv_build+set}" = set; then | 
|  |  | 1473 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 1474 | else | 
|  |  | 1475 | ac_cv_build_alias=$build_alias | 
|  |  | 1476 | test -z "$ac_cv_build_alias" && | 
|  |  | 1477 | ac_cv_build_alias=`$ac_config_guess` | 
|  |  | 1478 | test -z "$ac_cv_build_alias" && | 
|  |  | 1479 | { { echo "$as_me:1479: error: cannot guess build type; you must specify one" >&5 | 
|  |  | 1480 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
|  |  | 1481 | { (exit 1); exit 1; }; } | 
|  |  | 1482 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
|  |  | 1483 | { { echo "$as_me:1483: error: $ac_config_sub $ac_cv_build_alias failed." >&5 | 
|  |  | 1484 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} | 
|  |  | 1485 | { (exit 1); exit 1; }; } | 
| 903 |  | 1486 |  | 
| 904 | build_alias=$build | 1487 | fi | 
| 905 | case "$build_alias" in | 1488 | echo "$as_me:1488: result: $ac_cv_build" >&5 | 
| 906 | NONE) | 1489 | echo "${ECHO_T}$ac_cv_build" >&6 | 
| 907 | case $nonopt in | 1490 | build=$ac_cv_build | 
| 908 | NONE) build_alias=$host_alias ;; |  |  | 
| 909 | *) build_alias=$nonopt ;; |  |  | 
| 910 | esac ;; |  |  | 
| 911 | esac |  |  | 
| 912 |  |  |  | 
| 913 | build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` |  |  | 
| 914 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 1491 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
| 915 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 1492 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
| 916 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 1493 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
| 917 | echo "$ac_t""$build" 1>&6 |  |  | 
| 918 |  | 1494 |  | 
| 919 | # Extract the first word of "ranlib", so it can be a program name with args. | 1495 | echo "$as_me:1495: checking host system type" >&5 | 
| 920 | set dummy ranlib; ac_word=$2 | 1496 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
| 921 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1497 | if test "${ac_cv_host+set}" = set; then | 
| 922 | echo "configure:923: checking for $ac_word" >&5 |  |  | 
| 923 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |  |  | 
| 924 | echo $ac_n "(cached) $ac_c" 1>&6 | 1498 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 925 | else | 1499 | else | 
| 926 | if test -n "$RANLIB"; then | 1500 | ac_cv_host_alias=$host_alias | 
| 927 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 1501 | test -z "$ac_cv_host_alias" && | 
| 928 | else | 1502 | ac_cv_host_alias=$ac_cv_build_alias | 
| 929 | IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":" | 1503 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
| 930 | ac_dummy="$PATH" | 1504 | { { echo "$as_me:1504: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
| 931 | for ac_dir in $ac_dummy; do | 1505 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
| 932 | test -z "$ac_dir" && ac_dir=. | 1506 | { (exit 1); exit 1; }; } | 
| 933 | if test -f $ac_dir/$ac_word; then |  |  | 
| 934 | ac_cv_prog_RANLIB="ranlib" |  |  | 
| 935 | break |  |  | 
| 936 | fi |  |  | 
| 937 | done |  |  | 
| 938 | IFS="$ac_save_ifs" |  |  | 
| 939 | test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |  |  | 
| 940 | fi |  |  | 
| 941 | fi |  |  | 
| 942 | RANLIB="$ac_cv_prog_RANLIB" |  |  | 
| 943 | if test -n "$RANLIB"; then |  |  | 
| 944 | echo "$ac_t""$RANLIB" 1>&6 |  |  | 
| 945 | else |  |  | 
| 946 | echo "$ac_t""no" 1>&6 |  |  | 
| 947 | fi |  |  | 
| 948 |  | 1507 |  | 
|  |  | 1508 | fi | 
|  |  | 1509 | echo "$as_me:1509: result: $ac_cv_host" >&5 | 
|  |  | 1510 | echo "${ECHO_T}$ac_cv_host" >&6 | 
|  |  | 1511 | host=$ac_cv_host | 
|  |  | 1512 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|  |  | 1513 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|  |  | 1514 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|  |  | 1515 |  | 
|  |  | 1516 | ac_ext=c | 
|  |  | 1517 | ac_cpp='$CPP $CPPFLAGS' | 
|  |  | 1518 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  |  | 1519 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  |  | 1520 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  |  | 1521 | if test -n "$ac_tool_prefix"; then | 
| 949 | # Extract the first word of "gcc", so it can be a program name with args. | 1522 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
| 950 | set dummy gcc; ac_word=$2 | 1523 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|  |  | 1524 | echo "$as_me:1524: checking for $ac_word" >&5 | 
| 951 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1525 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 952 | echo "configure:953: checking for $ac_word" >&5 |  |  | 
| 953 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1526 | if test "${ac_cv_prog_CC+set}" = set; then | 
| 954 | echo $ac_n "(cached) $ac_c" 1>&6 | 1527 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 955 | else | 1528 | else | 
| 956 | if test -n "$CC"; then | 1529 | if test -n "$CC"; then | 
| 957 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1530 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| 958 | else | 1531 | else | 
| 959 | IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":" | 1532 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 960 | ac_dummy="$PATH" | 1533 | ac_dummy="$PATH" | 
| 961 | for ac_dir in $ac_dummy; do | 1534 | for ac_dir in $ac_dummy; do | 
|  |  | 1535 | IFS=$ac_save_IFS | 
| 962 | test -z "$ac_dir" && ac_dir=. | 1536 | test -z "$ac_dir" && ac_dir=. | 
| 963 | if test -f $ac_dir/$ac_word; then | 1537 | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 964 | ac_cv_prog_CC="gcc" | 1538 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
| 965 | break | 1539 | echo "$as_me:1539: found $ac_dir/$ac_word" >&5 | 
| 966 | fi | 1540 | break | 
| 967 | done | 1541 | done | 
| 968 | IFS="$ac_save_ifs" | 1542 |  | 
| 969 | fi | 1543 | fi | 
| 970 | fi | 1544 | fi | 
| 971 | CC="$ac_cv_prog_CC" | 1545 | CC=$ac_cv_prog_CC | 
| 972 | if test -n "$CC"; then | 1546 | if test -n "$CC"; then | 
| 973 | echo "$ac_t""$CC" 1>&6 | 1547 | echo "$as_me:1547: result: $CC" >&5 | 
|  |  | 1548 | echo "${ECHO_T}$CC" >&6 | 
| 974 | else | 1549 | else | 
| 975 | echo "$ac_t""no" 1>&6 | 1550 | echo "$as_me:1550: result: no" >&5 | 
|  |  | 1551 | echo "${ECHO_T}no" >&6 | 
| 976 | fi | 1552 | fi | 
| 977 |  | 1553 |  | 
|  |  | 1554 | fi | 
|  |  | 1555 | if test -z "$ac_cv_prog_CC"; then | 
|  |  | 1556 | ac_ct_CC=$CC | 
|  |  | 1557 | # Extract the first word of "gcc", so it can be a program name with args. | 
|  |  | 1558 | set dummy gcc; ac_word=$2 | 
|  |  | 1559 | echo "$as_me:1559: checking for $ac_word" >&5 | 
|  |  | 1560 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  |  | 1561 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|  |  | 1562 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 1563 | else | 
|  |  | 1564 | if test -n "$ac_ct_CC"; then | 
|  |  | 1565 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|  |  | 1566 | else | 
|  |  | 1567 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
|  |  | 1568 | ac_dummy="$PATH" | 
|  |  | 1569 | for ac_dir in $ac_dummy; do | 
|  |  | 1570 | IFS=$ac_save_IFS | 
|  |  | 1571 | test -z "$ac_dir" && ac_dir=. | 
|  |  | 1572 | $as_executable_p "$ac_dir/$ac_word" || continue | 
|  |  | 1573 | ac_cv_prog_ac_ct_CC="gcc" | 
|  |  | 1574 | echo "$as_me:1574: found $ac_dir/$ac_word" >&5 | 
|  |  | 1575 | break | 
|  |  | 1576 | done | 
|  |  | 1577 |  | 
|  |  | 1578 | fi | 
|  |  | 1579 | fi | 
|  |  | 1580 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|  |  | 1581 | if test -n "$ac_ct_CC"; then | 
|  |  | 1582 | echo "$as_me:1582: result: $ac_ct_CC" >&5 | 
|  |  | 1583 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|  |  | 1584 | else | 
|  |  | 1585 | echo "$as_me:1585: result: no" >&5 | 
|  |  | 1586 | echo "${ECHO_T}no" >&6 | 
|  |  | 1587 | fi | 
|  |  | 1588 |  | 
|  |  | 1589 | CC=$ac_ct_CC | 
|  |  | 1590 | else | 
|  |  | 1591 | CC="$ac_cv_prog_CC" | 
|  |  | 1592 | fi | 
|  |  | 1593 |  | 
|  |  | 1594 | if test -z "$CC"; then | 
|  |  | 1595 | if test -n "$ac_tool_prefix"; then | 
|  |  | 1596 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|  |  | 1597 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|  |  | 1598 | echo "$as_me:1598: checking for $ac_word" >&5 | 
|  |  | 1599 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  |  | 1600 | if test "${ac_cv_prog_CC+set}" = set; then | 
|  |  | 1601 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 1602 | else | 
|  |  | 1603 | if test -n "$CC"; then | 
|  |  | 1604 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|  |  | 1605 | else | 
|  |  | 1606 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
|  |  | 1607 | ac_dummy="$PATH" | 
|  |  | 1608 | for ac_dir in $ac_dummy; do | 
|  |  | 1609 | IFS=$ac_save_IFS | 
|  |  | 1610 | test -z "$ac_dir" && ac_dir=. | 
|  |  | 1611 | $as_executable_p "$ac_dir/$ac_word" || continue | 
|  |  | 1612 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|  |  | 1613 | echo "$as_me:1613: found $ac_dir/$ac_word" >&5 | 
|  |  | 1614 | break | 
|  |  | 1615 | done | 
|  |  | 1616 |  | 
|  |  | 1617 | fi | 
|  |  | 1618 | fi | 
|  |  | 1619 | CC=$ac_cv_prog_CC | 
|  |  | 1620 | if test -n "$CC"; then | 
|  |  | 1621 | echo "$as_me:1621: result: $CC" >&5 | 
|  |  | 1622 | echo "${ECHO_T}$CC" >&6 | 
|  |  | 1623 | else | 
|  |  | 1624 | echo "$as_me:1624: result: no" >&5 | 
|  |  | 1625 | echo "${ECHO_T}no" >&6 | 
|  |  | 1626 | fi | 
|  |  | 1627 |  | 
|  |  | 1628 | fi | 
|  |  | 1629 | if test -z "$ac_cv_prog_CC"; then | 
|  |  | 1630 | ac_ct_CC=$CC | 
|  |  | 1631 | # Extract the first word of "cc", so it can be a program name with args. | 
|  |  | 1632 | set dummy cc; ac_word=$2 | 
|  |  | 1633 | echo "$as_me:1633: checking for $ac_word" >&5 | 
|  |  | 1634 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  |  | 1635 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|  |  | 1636 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 1637 | else | 
|  |  | 1638 | if test -n "$ac_ct_CC"; then | 
|  |  | 1639 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|  |  | 1640 | else | 
|  |  | 1641 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
|  |  | 1642 | ac_dummy="$PATH" | 
|  |  | 1643 | for ac_dir in $ac_dummy; do | 
|  |  | 1644 | IFS=$ac_save_IFS | 
|  |  | 1645 | test -z "$ac_dir" && ac_dir=. | 
|  |  | 1646 | $as_executable_p "$ac_dir/$ac_word" || continue | 
|  |  | 1647 | ac_cv_prog_ac_ct_CC="cc" | 
|  |  | 1648 | echo "$as_me:1648: found $ac_dir/$ac_word" >&5 | 
|  |  | 1649 | break | 
|  |  | 1650 | done | 
|  |  | 1651 |  | 
|  |  | 1652 | fi | 
|  |  | 1653 | fi | 
|  |  | 1654 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|  |  | 1655 | if test -n "$ac_ct_CC"; then | 
|  |  | 1656 | echo "$as_me:1656: result: $ac_ct_CC" >&5 | 
|  |  | 1657 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|  |  | 1658 | else | 
|  |  | 1659 | echo "$as_me:1659: result: no" >&5 | 
|  |  | 1660 | echo "${ECHO_T}no" >&6 | 
|  |  | 1661 | fi | 
|  |  | 1662 |  | 
|  |  | 1663 | CC=$ac_ct_CC | 
|  |  | 1664 | else | 
|  |  | 1665 | CC="$ac_cv_prog_CC" | 
|  |  | 1666 | fi | 
|  |  | 1667 |  | 
|  |  | 1668 | fi | 
| 978 | if test -z "$CC"; then | 1669 | if test -z "$CC"; then | 
| 979 | # Extract the first word of "cc", so it can be a program name with args. | 1670 | # Extract the first word of "cc", so it can be a program name with args. | 
| 980 | set dummy cc; ac_word=$2 | 1671 | set dummy cc; ac_word=$2 | 
|  |  | 1672 | echo "$as_me:1672: checking for $ac_word" >&5 | 
| 981 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1673 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 982 | echo "configure:983: checking for $ac_word" >&5 |  |  | 
| 983 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1674 | if test "${ac_cv_prog_CC+set}" = set; then | 
| 984 | echo $ac_n "(cached) $ac_c" 1>&6 | 1675 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 985 | else | 1676 | else | 
| 986 | if test -n "$CC"; then | 1677 | if test -n "$CC"; then | 
| 987 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1678 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| 988 | else | 1679 | else | 
| 989 | IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":" |  |  | 
| 990 | ac_prog_rejected=no | 1680 | ac_prog_rejected=no | 
|  |  | 1681 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 991 | ac_dummy="$PATH" | 1682 | ac_dummy="$PATH" | 
| 992 | for ac_dir in $ac_dummy; do | 1683 | for ac_dir in $ac_dummy; do | 
|  |  | 1684 | IFS=$ac_save_IFS | 
| 993 | test -z "$ac_dir" && ac_dir=. | 1685 | test -z "$ac_dir" && ac_dir=. | 
| 994 | if test -f $ac_dir/$ac_word; then | 1686 | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 995 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 1687 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 
| 996 | ac_prog_rejected=yes | 1688 | ac_prog_rejected=yes | 
| 997 | continue | 1689 | continue | 
| 998 | fi | 1690 | fi | 
| 999 | ac_cv_prog_CC="cc" | 1691 | ac_cv_prog_CC="cc" | 
| 1000 | break | 1692 | echo "$as_me:1692: found $ac_dir/$ac_word" >&5 | 
| 1001 | fi | 1693 | break | 
| 1002 | done | 1694 | done | 
| 1003 | IFS="$ac_save_ifs" | 1695 |  | 
| 1004 | if test $ac_prog_rejected = yes; then | 1696 | if test $ac_prog_rejected = yes; then | 
| 1005 | # We found a bogon in the path, so make sure we never use it. | 1697 | # We found a bogon in the path, so make sure we never use it. | 
| 1006 | set dummy $ac_cv_prog_CC | 1698 | set dummy $ac_cv_prog_CC | 
| 1007 | shift | 1699 | shift | 
| 1008 | if test $# -gt 0; then | 1700 | if test $# != 0; then | 
| 1009 | # We chose a different compiler from the bogus one. | 1701 | # We chose a different compiler from the bogus one. | 
| 1010 | # However, it has the same basename, so the bogon will be chosen | 1702 | # However, it has the same basename, so the bogon will be chosen | 
| 1011 | # first if we set CC to just the basename; use the full file name. | 1703 | # first if we set CC to just the basename; use the full file name. | 
| 1012 | shift | 1704 | shift | 
| 1013 | set dummy "$ac_dir/$ac_word" "$@" | 1705 | set dummy "$ac_dir/$ac_word" ${1+"$@"} | 
| 1014 | shift | 1706 | shift | 
| 1015 | ac_cv_prog_CC="$@" | 1707 | ac_cv_prog_CC="$@" | 
| 1016 | fi | 1708 | fi | 
| 1017 | fi | 1709 | fi | 
| 1018 | fi | 1710 | fi | 
| 1019 | fi | 1711 | fi | 
| 1020 | CC="$ac_cv_prog_CC" | 1712 | CC=$ac_cv_prog_CC | 
| 1021 | if test -n "$CC"; then | 1713 | if test -n "$CC"; then | 
| 1022 | echo "$ac_t""$CC" 1>&6 | 1714 | echo "$as_me:1714: result: $CC" >&5 | 
|  |  | 1715 | echo "${ECHO_T}$CC" >&6 | 
| 1023 | else | 1716 | else | 
| 1024 | echo "$ac_t""no" 1>&6 | 1717 | echo "$as_me:1717: result: no" >&5 | 
|  |  | 1718 | echo "${ECHO_T}no" >&6 | 
| 1025 | fi | 1719 | fi | 
| 1026 |  | 1720 |  | 
|  |  | 1721 | fi | 
| 1027 | if test -z "$CC"; then | 1722 | if test -z "$CC"; then | 
| 1028 | case "`uname -s`" in | 1723 | if test -n "$ac_tool_prefix"; then | 
| 1029 | *win32* | *WIN32*) | 1724 | for ac_prog in cl | 
|  |  | 1725 | do | 
| 1030 | # Extract the first word of "cl", so it can be a program name with args. | 1726 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| 1031 | set dummy cl; ac_word=$2 | 1727 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|  |  | 1728 | echo "$as_me:1728: checking for $ac_word" >&5 | 
| 1032 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1729 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 1033 | echo "configure:1034: checking for $ac_word" >&5 |  |  | 
| 1034 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1730 | if test "${ac_cv_prog_CC+set}" = set; then | 
| 1035 | echo $ac_n "(cached) $ac_c" 1>&6 | 1731 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1036 | else | 1732 | else | 
| 1037 | if test -n "$CC"; then | 1733 | if test -n "$CC"; then | 
| 1038 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1734 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| 1039 | else | 1735 | else | 
| 1040 | IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":" | 1736 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 1041 | ac_dummy="$PATH" | 1737 | ac_dummy="$PATH" | 
| 1042 | for ac_dir in $ac_dummy; do | 1738 | for ac_dir in $ac_dummy; do | 
|  |  | 1739 | IFS=$ac_save_IFS | 
| 1043 | test -z "$ac_dir" && ac_dir=. | 1740 | test -z "$ac_dir" && ac_dir=. | 
| 1044 | if test -f $ac_dir/$ac_word; then | 1741 | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 1045 | ac_cv_prog_CC="cl" | 1742 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|  |  | 1743 | echo "$as_me:1743: found $ac_dir/$ac_word" >&5 | 
|  |  | 1744 | break | 
|  |  | 1745 | done | 
|  |  | 1746 |  | 
|  |  | 1747 | fi | 
|  |  | 1748 | fi | 
|  |  | 1749 | CC=$ac_cv_prog_CC | 
|  |  | 1750 | if test -n "$CC"; then | 
|  |  | 1751 | echo "$as_me:1751: result: $CC" >&5 | 
|  |  | 1752 | echo "${ECHO_T}$CC" >&6 | 
|  |  | 1753 | else | 
|  |  | 1754 | echo "$as_me:1754: result: no" >&5 | 
|  |  | 1755 | echo "${ECHO_T}no" >&6 | 
|  |  | 1756 | fi | 
|  |  | 1757 |  | 
|  |  | 1758 | test -n "$CC" && break | 
|  |  | 1759 | done | 
|  |  | 1760 | fi | 
|  |  | 1761 | if test -z "$CC"; then | 
|  |  | 1762 | ac_ct_CC=$CC | 
|  |  | 1763 | for ac_prog in cl | 
|  |  | 1764 | do | 
|  |  | 1765 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|  |  | 1766 | set dummy $ac_prog; ac_word=$2 | 
|  |  | 1767 | echo "$as_me:1767: checking for $ac_word" >&5 | 
|  |  | 1768 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  |  | 1769 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|  |  | 1770 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 1771 | else | 
|  |  | 1772 | if test -n "$ac_ct_CC"; then | 
|  |  | 1773 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|  |  | 1774 | else | 
|  |  | 1775 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
|  |  | 1776 | ac_dummy="$PATH" | 
|  |  | 1777 | for ac_dir in $ac_dummy; do | 
|  |  | 1778 | IFS=$ac_save_IFS | 
|  |  | 1779 | test -z "$ac_dir" && ac_dir=. | 
|  |  | 1780 | $as_executable_p "$ac_dir/$ac_word" || continue | 
|  |  | 1781 | ac_cv_prog_ac_ct_CC="$ac_prog" | 
|  |  | 1782 | echo "$as_me:1782: found $ac_dir/$ac_word" >&5 | 
|  |  | 1783 | break | 
|  |  | 1784 | done | 
|  |  | 1785 |  | 
|  |  | 1786 | fi | 
|  |  | 1787 | fi | 
|  |  | 1788 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|  |  | 1789 | if test -n "$ac_ct_CC"; then | 
|  |  | 1790 | echo "$as_me:1790: result: $ac_ct_CC" >&5 | 
|  |  | 1791 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|  |  | 1792 | else | 
|  |  | 1793 | echo "$as_me:1793: result: no" >&5 | 
|  |  | 1794 | echo "${ECHO_T}no" >&6 | 
|  |  | 1795 | fi | 
|  |  | 1796 |  | 
|  |  | 1797 | test -n "$ac_ct_CC" && break | 
|  |  | 1798 | done | 
|  |  | 1799 |  | 
|  |  | 1800 | CC=$ac_ct_CC | 
|  |  | 1801 | fi | 
|  |  | 1802 |  | 
|  |  | 1803 | fi | 
|  |  | 1804 |  | 
|  |  | 1805 | test -z "$CC" && { { echo "$as_me:1805: error: no acceptable cc found in \$PATH" >&5 | 
|  |  | 1806 | echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} | 
|  |  | 1807 | { (exit 1); exit 1; }; } | 
|  |  | 1808 |  | 
|  |  | 1809 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 1810 | #line 1810 "configure" | 
|  |  | 1811 | #include "confdefs.h" | 
|  |  | 1812 |  | 
|  |  | 1813 | int | 
|  |  | 1814 | main () | 
|  |  | 1815 | { | 
|  |  | 1816 |  | 
|  |  | 1817 | ; | 
|  |  | 1818 | return 0; | 
|  |  | 1819 | } | 
|  |  | 1820 | _ACEOF | 
|  |  | 1821 | ac_clean_files_save=$ac_clean_files | 
|  |  | 1822 | ac_clean_files="$ac_clean_files a.out a.exe" | 
|  |  | 1823 | # Try to create an executable without -o first, disregard a.out. | 
|  |  | 1824 | # It will help us diagnose broken compiler, and finding out an intuition | 
|  |  | 1825 | # of exeext. | 
|  |  | 1826 | echo "$as_me:1826: checking for C compiler default output" >&5 | 
|  |  | 1827 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | 
|  |  | 1828 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|  |  | 1829 | if { (eval echo "$as_me:1829: \"$ac_link_default\"") >&5 | 
|  |  | 1830 | (eval $ac_link_default) 2>&5 | 
|  |  | 1831 | ac_status=$? | 
|  |  | 1832 | echo "$as_me:1832: \$? = $ac_status" >&5 | 
|  |  | 1833 | (exit $ac_status); }; then | 
|  |  | 1834 | for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do | 
|  |  | 1835 | case $ac_file in | 
|  |  | 1836 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | 
|  |  | 1837 | a.out ) # We found the default executable, but exeext='' is most | 
|  |  | 1838 | # certainly right. | 
|  |  | 1839 | break;; | 
|  |  | 1840 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|  |  | 1841 | export ac_cv_exeext | 
| 1046 | break | 1842 | break;; | 
|  |  | 1843 | * ) break;; | 
|  |  | 1844 | esac | 
|  |  | 1845 | done | 
|  |  | 1846 | else | 
|  |  | 1847 | echo "$as_me: failed program was:" >&5 | 
|  |  | 1848 | cat conftest.$ac_ext >&5 | 
|  |  | 1849 | { { echo "$as_me:1849: error: C compiler cannot create executables" >&5 | 
|  |  | 1850 | echo "$as_me: error: C compiler cannot create executables" >&2;} | 
|  |  | 1851 | { (exit 77); exit 77; }; } | 
|  |  | 1852 | fi | 
|  |  | 1853 |  | 
|  |  | 1854 | ac_exeext=$ac_cv_exeext | 
|  |  | 1855 | echo "$as_me:1855: result: $ac_file" >&5 | 
|  |  | 1856 | echo "${ECHO_T}$ac_file" >&6 | 
|  |  | 1857 |  | 
|  |  | 1858 | # Check the compiler produces executables we can run.  If not, either | 
|  |  | 1859 | # the compiler is broken, or we cross compile. | 
|  |  | 1860 | echo "$as_me:1860: checking whether the C compiler works" >&5 | 
|  |  | 1861 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 
|  |  | 1862 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
|  |  | 1863 | # If not cross compiling, check that we can run a simple program. | 
|  |  | 1864 | if test "$cross_compiling" != yes; then | 
|  |  | 1865 | if { ac_try='./$ac_file' | 
|  |  | 1866 | { (eval echo "$as_me:1866: \"$ac_try\"") >&5 | 
|  |  | 1867 | (eval $ac_try) 2>&5 | 
|  |  | 1868 | ac_status=$? | 
|  |  | 1869 | echo "$as_me:1869: \$? = $ac_status" >&5 | 
|  |  | 1870 | (exit $ac_status); }; }; then | 
|  |  | 1871 | cross_compiling=no | 
|  |  | 1872 | else | 
|  |  | 1873 | if test "$cross_compiling" = maybe; then | 
|  |  | 1874 | cross_compiling=yes | 
|  |  | 1875 | else | 
|  |  | 1876 | { { echo "$as_me:1876: error: cannot run C compiled programs. | 
|  |  | 1877 | If you meant to cross compile, use \`--host'." >&5 | 
|  |  | 1878 | echo "$as_me: error: cannot run C compiled programs. | 
|  |  | 1879 | If you meant to cross compile, use \`--host'." >&2;} | 
|  |  | 1880 | { (exit 1); exit 1; }; } | 
| 1047 | fi | 1881 | fi | 
| 1048 | done |  |  | 
| 1049 | IFS="$ac_save_ifs" |  |  | 
| 1050 | fi |  |  | 
| 1051 | fi |  |  | 
| 1052 | CC="$ac_cv_prog_CC" |  |  | 
| 1053 | if test -n "$CC"; then |  |  | 
| 1054 | echo "$ac_t""$CC" 1>&6 |  |  | 
| 1055 | else |  |  | 
| 1056 | echo "$ac_t""no" 1>&6 |  |  | 
| 1057 | fi |  |  | 
| 1058 | ;; |  |  | 
| 1059 | esac |  |  | 
| 1060 | fi | 1882 | fi | 
| 1061 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |  |  | 
| 1062 | fi | 1883 | fi | 
|  |  | 1884 | echo "$as_me:1884: result: yes" >&5 | 
|  |  | 1885 | echo "${ECHO_T}yes" >&6 | 
| 1063 |  | 1886 |  | 
| 1064 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1887 | rm -f a.out a.exe conftest$ac_cv_exeext | 
| 1065 | echo "configure:1066: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1888 | ac_clean_files=$ac_clean_files_save | 
|  |  | 1889 | # Check the compiler produces executables we can run.  If not, either | 
|  |  | 1890 | # the compiler is broken, or we cross compile. | 
|  |  | 1891 | echo "$as_me:1891: checking whether we are cross compiling" >&5 | 
|  |  | 1892 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
|  |  | 1893 | echo "$as_me:1893: result: $cross_compiling" >&5 | 
|  |  | 1894 | echo "${ECHO_T}$cross_compiling" >&6 | 
| 1066 |  | 1895 |  | 
| 1067 | ac_ext=c | 1896 | echo "$as_me:1896: checking for executable suffix" >&5 | 
| 1068 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1897 | echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 | 
| 1069 | ac_cpp='$CPP $CPPFLAGS' | 1898 | if { (eval echo "$as_me:1898: \"$ac_link\"") >&5 | 
| 1070 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1899 | (eval $ac_link) 2>&5 | 
| 1071 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1900 | ac_status=$? | 
| 1072 | cross_compiling=$ac_cv_prog_cc_cross | 1901 | echo "$as_me:1901: \$? = $ac_status" >&5 | 
|  |  | 1902 | (exit $ac_status); }; then | 
|  |  | 1903 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|  |  | 1904 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|  |  | 1905 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|  |  | 1906 | # `rm'. | 
|  |  | 1907 | for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | 
|  |  | 1908 | case $ac_file in | 
|  |  | 1909 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | 
|  |  | 1910 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|  |  | 1911 | export ac_cv_exeext | 
|  |  | 1912 | break;; | 
|  |  | 1913 | * ) break;; | 
|  |  | 1914 | esac | 
|  |  | 1915 | done | 
|  |  | 1916 | else | 
|  |  | 1917 | { { echo "$as_me:1917: error: cannot compute EXEEXT: cannot compile and link" >&5 | 
|  |  | 1918 | echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} | 
|  |  | 1919 | { (exit 1); exit 1; }; } | 
|  |  | 1920 | fi | 
| 1073 |  | 1921 |  | 
|  |  | 1922 | rm -f conftest$ac_cv_exeext | 
|  |  | 1923 | echo "$as_me:1923: result: $ac_cv_exeext" >&5 | 
|  |  | 1924 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
|  |  | 1925 |  | 
|  |  | 1926 | rm -f conftest.$ac_ext | 
|  |  | 1927 | EXEEXT=$ac_cv_exeext | 
|  |  | 1928 | ac_exeext=$EXEEXT | 
|  |  | 1929 | echo "$as_me:1929: checking for object suffix" >&5 | 
|  |  | 1930 | echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 | 
|  |  | 1931 | if test "${ac_cv_objext+set}" = set; then | 
|  |  | 1932 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 1933 | else | 
| 1074 | cat > conftest.$ac_ext << EOF | 1934 | cat >conftest.$ac_ext <<_ACEOF | 
| 1075 |  |  |  | 
| 1076 | #line 1077 "configure" | 1935 | #line 1935 "configure" | 
| 1077 | #include "confdefs.h" | 1936 | #include "confdefs.h" | 
| 1078 |  | 1937 |  | 
| 1079 | main(){return(0);} | 1938 | int | 
| 1080 | EOF | 1939 | main () | 
| 1081 | if { (eval echo configure:1082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1940 | { | 
| 1082 | ac_cv_prog_cc_works=yes | 1941 |  | 
| 1083 | # If we can't run a trivial program, we are probably using a cross compiler. | 1942 | ; | 
| 1084 | if (./conftest; exit) 2>/dev/null; then | 1943 | return 0; | 
| 1085 | ac_cv_prog_cc_cross=no | 1944 | } | 
|  |  | 1945 | _ACEOF | 
|  |  | 1946 | rm -f conftest.o conftest.obj | 
|  |  | 1947 | if { (eval echo "$as_me:1947: \"$ac_compile\"") >&5 | 
|  |  | 1948 | (eval $ac_compile) 2>&5 | 
|  |  | 1949 | ac_status=$? | 
|  |  | 1950 | echo "$as_me:1950: \$? = $ac_status" >&5 | 
|  |  | 1951 | (exit $ac_status); }; then | 
|  |  | 1952 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
|  |  | 1953 | case $ac_file in | 
|  |  | 1954 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | 
|  |  | 1955 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|  |  | 1956 | break;; | 
|  |  | 1957 | esac | 
|  |  | 1958 | done | 
| 1086 | else | 1959 | else | 
| 1087 | ac_cv_prog_cc_cross=yes |  |  | 
| 1088 | fi |  |  | 
| 1089 | else |  |  | 
| 1090 | echo "configure: failed program was:" >&5 | 1960 | echo "$as_me: failed program was:" >&5 | 
| 1091 | cat conftest.$ac_ext >&5 | 1961 | cat conftest.$ac_ext >&5 | 
| 1092 | ac_cv_prog_cc_works=no | 1962 | { { echo "$as_me:1962: error: cannot compute OBJEXT: cannot compile" >&5 | 
|  |  | 1963 | echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} | 
|  |  | 1964 | { (exit 1); exit 1; }; } | 
| 1093 | fi | 1965 | fi | 
| 1094 | rm -fr conftest* |  |  | 
| 1095 | ac_ext=c |  |  | 
| 1096 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |  |  | 
| 1097 | ac_cpp='$CPP $CPPFLAGS' |  |  | 
| 1098 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |  |  | 
| 1099 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |  |  | 
| 1100 | cross_compiling=$ac_cv_prog_cc_cross |  |  | 
| 1101 |  | 1966 |  | 
| 1102 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1967 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
| 1103 | if test $ac_cv_prog_cc_works = no; then |  |  | 
| 1104 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |  |  | 
| 1105 | fi | 1968 | fi | 
| 1106 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1969 | echo "$as_me:1969: result: $ac_cv_objext" >&5 | 
| 1107 | echo "configure:1108: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1970 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
| 1108 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1971 | OBJEXT=$ac_cv_objext | 
| 1109 | cross_compiling=$ac_cv_prog_cc_cross | 1972 | ac_objext=$OBJEXT | 
| 1110 |  |  |  | 
| 1111 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |  |  | 
| 1112 | echo "configure:1113: checking whether we are using GNU C" >&5 | 1973 | echo "$as_me:1973: checking whether we are using the GNU C compiler" >&5 | 
| 1113 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1974 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
|  |  | 1975 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
| 1114 | echo $ac_n "(cached) $ac_c" 1>&6 | 1976 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1115 | else | 1977 | else | 
| 1116 | cat > conftest.c <<EOF | 1978 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 1979 | #line 1979 "configure" | 
|  |  | 1980 | #include "confdefs.h" | 
|  |  | 1981 |  | 
|  |  | 1982 | int | 
|  |  | 1983 | main () | 
|  |  | 1984 | { | 
| 1117 | #ifdef __GNUC__ | 1985 | #ifndef __GNUC__ | 
| 1118 | yes; | 1986 | choke me | 
| 1119 | #endif | 1987 | #endif | 
| 1120 | EOF |  |  | 
| 1121 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |  |  | 
| 1122 | ac_cv_prog_gcc=yes |  |  | 
| 1123 | else |  |  | 
| 1124 | ac_cv_prog_gcc=no |  |  | 
| 1125 | fi |  |  | 
| 1126 | fi |  |  | 
| 1127 |  | 1988 |  | 
| 1128 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1989 | ; | 
| 1129 |  | 1990 | return 0; | 
| 1130 | if test $ac_cv_prog_gcc = yes; then | 1991 | } | 
| 1131 | GCC=yes | 1992 | _ACEOF | 
|  |  | 1993 | rm -f conftest.$ac_objext | 
|  |  | 1994 | if { (eval echo "$as_me:1994: \"$ac_compile\"") >&5 | 
|  |  | 1995 | (eval $ac_compile) 2>&5 | 
|  |  | 1996 | ac_status=$? | 
|  |  | 1997 | echo "$as_me:1997: \$? = $ac_status" >&5 | 
|  |  | 1998 | (exit $ac_status); } && | 
|  |  | 1999 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 2000 | { (eval echo "$as_me:2000: \"$ac_try\"") >&5 | 
|  |  | 2001 | (eval $ac_try) 2>&5 | 
|  |  | 2002 | ac_status=$? | 
|  |  | 2003 | echo "$as_me:2003: \$? = $ac_status" >&5 | 
|  |  | 2004 | (exit $ac_status); }; }; then | 
|  |  | 2005 | ac_compiler_gnu=yes | 
| 1132 | else | 2006 | else | 
| 1133 | GCC= | 2007 | echo "$as_me: failed program was:" >&5 | 
|  |  | 2008 | cat conftest.$ac_ext >&5 | 
|  |  | 2009 | ac_compiler_gnu=no | 
| 1134 | fi | 2010 | fi | 
|  |  | 2011 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 2012 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
| 1135 |  | 2013 |  | 
|  |  | 2014 | fi | 
|  |  | 2015 | echo "$as_me:2015: result: $ac_cv_c_compiler_gnu" >&5 | 
|  |  | 2016 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
|  |  | 2017 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
| 1136 | ac_test_CFLAGS="${CFLAGS+set}" | 2018 | ac_test_CFLAGS=${CFLAGS+set} | 
| 1137 | ac_save_CFLAGS="$CFLAGS" | 2019 | ac_save_CFLAGS=$CFLAGS | 
| 1138 | CFLAGS= | 2020 | CFLAGS="-g" | 
|  |  | 2021 | echo "$as_me:2021: checking whether $CC accepts -g" >&5 | 
| 1139 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2022 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
| 1140 | echo "configure:1141: checking whether ${CC-cc} accepts -g" >&5 |  |  | 
| 1141 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 2023 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
| 1142 | echo $ac_n "(cached) $ac_c" 1>&6 | 2024 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1143 | else | 2025 | else | 
| 1144 | echo 'void f(){}' > conftest.c | 2026 | cat >conftest.$ac_ext <<_ACEOF | 
| 1145 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2027 | #line 2027 "configure" | 
|  |  | 2028 | #include "confdefs.h" | 
|  |  | 2029 |  | 
|  |  | 2030 | int | 
|  |  | 2031 | main () | 
|  |  | 2032 | { | 
|  |  | 2033 |  | 
|  |  | 2034 | ; | 
|  |  | 2035 | return 0; | 
|  |  | 2036 | } | 
|  |  | 2037 | _ACEOF | 
|  |  | 2038 | rm -f conftest.$ac_objext | 
|  |  | 2039 | if { (eval echo "$as_me:2039: \"$ac_compile\"") >&5 | 
|  |  | 2040 | (eval $ac_compile) 2>&5 | 
|  |  | 2041 | ac_status=$? | 
|  |  | 2042 | echo "$as_me:2042: \$? = $ac_status" >&5 | 
|  |  | 2043 | (exit $ac_status); } && | 
|  |  | 2044 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 2045 | { (eval echo "$as_me:2045: \"$ac_try\"") >&5 | 
|  |  | 2046 | (eval $ac_try) 2>&5 | 
|  |  | 2047 | ac_status=$? | 
|  |  | 2048 | echo "$as_me:2048: \$? = $ac_status" >&5 | 
|  |  | 2049 | (exit $ac_status); }; }; then | 
| 1146 | ac_cv_prog_cc_g=yes | 2050 | ac_cv_prog_cc_g=yes | 
| 1147 | else | 2051 | else | 
|  |  | 2052 | echo "$as_me: failed program was:" >&5 | 
|  |  | 2053 | cat conftest.$ac_ext >&5 | 
| 1148 | ac_cv_prog_cc_g=no | 2054 | ac_cv_prog_cc_g=no | 
| 1149 | fi | 2055 | fi | 
| 1150 | rm -f conftest* | 2056 | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 1151 |  |  |  | 
| 1152 | fi | 2057 | fi | 
| 1153 |  | 2058 | echo "$as_me:2058: result: $ac_cv_prog_cc_g" >&5 | 
| 1154 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 2059 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
| 1155 | if test "$ac_test_CFLAGS" = set; then | 2060 | if test "$ac_test_CFLAGS" = set; then | 
| 1156 | CFLAGS="$ac_save_CFLAGS" | 2061 | CFLAGS=$ac_save_CFLAGS | 
| 1157 | elif test $ac_cv_prog_cc_g = yes; then | 2062 | elif test $ac_cv_prog_cc_g = yes; then | 
| 1158 | if test "$GCC" = yes; then | 2063 | if test "$GCC" = yes; then | 
| 1159 | CFLAGS="-g -O2" | 2064 | CFLAGS="-g -O2" | 
| 1160 | else | 2065 | else | 
| 1161 | CFLAGS="-g" | 2066 | CFLAGS="-g" | 
| … |  | … |  | 
| 1165 | CFLAGS="-O2" | 2070 | CFLAGS="-O2" | 
| 1166 | else | 2071 | else | 
| 1167 | CFLAGS= | 2072 | CFLAGS= | 
| 1168 | fi | 2073 | fi | 
| 1169 | fi | 2074 | fi | 
|  |  | 2075 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
|  |  | 2076 | # in C++ we need to declare it.  In case someone uses the same compiler | 
|  |  | 2077 | # for both compiling C and C++ we need to have the C++ compiler decide | 
|  |  | 2078 | # the declaration of exit, since it's the most demanding environment. | 
|  |  | 2079 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 2080 | #ifndef __cplusplus | 
|  |  | 2081 | choke me | 
|  |  | 2082 | #endif | 
|  |  | 2083 | _ACEOF | 
|  |  | 2084 | rm -f conftest.$ac_objext | 
|  |  | 2085 | if { (eval echo "$as_me:2085: \"$ac_compile\"") >&5 | 
|  |  | 2086 | (eval $ac_compile) 2>&5 | 
|  |  | 2087 | ac_status=$? | 
|  |  | 2088 | echo "$as_me:2088: \$? = $ac_status" >&5 | 
|  |  | 2089 | (exit $ac_status); } && | 
|  |  | 2090 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 2091 | { (eval echo "$as_me:2091: \"$ac_try\"") >&5 | 
|  |  | 2092 | (eval $ac_try) 2>&5 | 
|  |  | 2093 | ac_status=$? | 
|  |  | 2094 | echo "$as_me:2094: \$? = $ac_status" >&5 | 
|  |  | 2095 | (exit $ac_status); }; }; then | 
|  |  | 2096 | for ac_declaration in \ | 
|  |  | 2097 | ''\ | 
|  |  | 2098 | '#include <stdlib.h>' \ | 
|  |  | 2099 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|  |  | 2100 | 'extern "C" void std::exit (int); using std::exit;' \ | 
|  |  | 2101 | 'extern "C" void exit (int) throw ();' \ | 
|  |  | 2102 | 'extern "C" void exit (int);' \ | 
|  |  | 2103 | 'void exit (int);' | 
|  |  | 2104 | do | 
|  |  | 2105 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 2106 | #line 2106 "configure" | 
|  |  | 2107 | #include "confdefs.h" | 
|  |  | 2108 | #include <stdlib.h> | 
|  |  | 2109 | $ac_declaration | 
|  |  | 2110 | int | 
|  |  | 2111 | main () | 
|  |  | 2112 | { | 
|  |  | 2113 | exit (42); | 
|  |  | 2114 | ; | 
|  |  | 2115 | return 0; | 
|  |  | 2116 | } | 
|  |  | 2117 | _ACEOF | 
|  |  | 2118 | rm -f conftest.$ac_objext | 
|  |  | 2119 | if { (eval echo "$as_me:2119: \"$ac_compile\"") >&5 | 
|  |  | 2120 | (eval $ac_compile) 2>&5 | 
|  |  | 2121 | ac_status=$? | 
|  |  | 2122 | echo "$as_me:2122: \$? = $ac_status" >&5 | 
|  |  | 2123 | (exit $ac_status); } && | 
|  |  | 2124 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 2125 | { (eval echo "$as_me:2125: \"$ac_try\"") >&5 | 
|  |  | 2126 | (eval $ac_try) 2>&5 | 
|  |  | 2127 | ac_status=$? | 
|  |  | 2128 | echo "$as_me:2128: \$? = $ac_status" >&5 | 
|  |  | 2129 | (exit $ac_status); }; }; then | 
|  |  | 2130 | : | 
|  |  | 2131 | else | 
|  |  | 2132 | echo "$as_me: failed program was:" >&5 | 
|  |  | 2133 | cat conftest.$ac_ext >&5 | 
|  |  | 2134 | continue | 
|  |  | 2135 | fi | 
|  |  | 2136 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 2137 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 2138 | #line 2138 "configure" | 
|  |  | 2139 | #include "confdefs.h" | 
|  |  | 2140 | $ac_declaration | 
|  |  | 2141 | int | 
|  |  | 2142 | main () | 
|  |  | 2143 | { | 
|  |  | 2144 | exit (42); | 
|  |  | 2145 | ; | 
|  |  | 2146 | return 0; | 
|  |  | 2147 | } | 
|  |  | 2148 | _ACEOF | 
|  |  | 2149 | rm -f conftest.$ac_objext | 
|  |  | 2150 | if { (eval echo "$as_me:2150: \"$ac_compile\"") >&5 | 
|  |  | 2151 | (eval $ac_compile) 2>&5 | 
|  |  | 2152 | ac_status=$? | 
|  |  | 2153 | echo "$as_me:2153: \$? = $ac_status" >&5 | 
|  |  | 2154 | (exit $ac_status); } && | 
|  |  | 2155 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 2156 | { (eval echo "$as_me:2156: \"$ac_try\"") >&5 | 
|  |  | 2157 | (eval $ac_try) 2>&5 | 
|  |  | 2158 | ac_status=$? | 
|  |  | 2159 | echo "$as_me:2159: \$? = $ac_status" >&5 | 
|  |  | 2160 | (exit $ac_status); }; }; then | 
|  |  | 2161 | break | 
|  |  | 2162 | else | 
|  |  | 2163 | echo "$as_me: failed program was:" >&5 | 
|  |  | 2164 | cat conftest.$ac_ext >&5 | 
|  |  | 2165 | fi | 
|  |  | 2166 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 2167 | done | 
|  |  | 2168 | echo '#ifdef __cplusplus' >>confdefs.h | 
|  |  | 2169 | echo $ac_declaration      >>confdefs.h | 
|  |  | 2170 | echo '#endif'             >>confdefs.h | 
|  |  | 2171 |  | 
|  |  | 2172 | else | 
|  |  | 2173 | echo "$as_me: failed program was:" >&5 | 
|  |  | 2174 | cat conftest.$ac_ext >&5 | 
|  |  | 2175 | fi | 
|  |  | 2176 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 2177 | ac_ext=c | 
|  |  | 2178 | ac_cpp='$CPP $CPPFLAGS' | 
|  |  | 2179 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  |  | 2180 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  |  | 2181 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 1170 |  | 2182 |  | 
| 1171 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | 2183 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | 
| 1172 | if test "${with_gnu_ld+set}" = set; then | 2184 | if test "${with_gnu_ld+set}" = set; then | 
| 1173 | withval="$with_gnu_ld" | 2185 | withval="$with_gnu_ld" | 
| 1174 | test "$withval" = no || with_gnu_ld=yes | 2186 | test "$withval" = no || with_gnu_ld=yes | 
| 1175 | else | 2187 | else | 
| 1176 | with_gnu_ld=no | 2188 | with_gnu_ld=no | 
| 1177 | fi | 2189 | fi; | 
| 1178 |  |  |  | 
| 1179 | ac_prog=ld | 2190 | ac_prog=ld | 
| 1180 | if test "$ac_cv_prog_gcc" = yes; then | 2191 | if test "$GCC" = yes; then | 
| 1181 | # Check if gcc -print-prog-name=ld gives a path. | 2192 | # Check if gcc -print-prog-name=ld gives a path. | 
|  |  | 2193 | echo "$as_me:2193: checking for ld used by GCC" >&5 | 
| 1182 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 2194 | echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 | 
| 1183 | echo "configure:1184: checking for ld used by GCC" >&5 | 2195 | case $host in | 
|  |  | 2196 | *-*-mingw*) | 
|  |  | 2197 | # gcc leaves a trailing carriage return which upsets mingw | 
|  |  | 2198 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
|  |  | 2199 | *) | 
| 1184 | ac_prog=`($CC -print-prog-name=ld) 2>&5` | 2200 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
|  |  | 2201 | esac | 
| 1185 | case "$ac_prog" in | 2202 | case $ac_prog in | 
| 1186 | # Accept absolute paths. | 2203 | # Accept absolute paths. | 
| 1187 | [\\/]* | [A-Za-z]:[\\/]*) | 2204 | [\\/]* | [A-Za-z]:[\\/]*) | 
| 1188 | re_direlt='/[^/][^/]*/\.\./' | 2205 | re_direlt='/[^/][^/]*/\.\./' | 
| 1189 | # Canonicalize the path of ld | 2206 | # Canonicalize the path of ld | 
| 1190 | ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | 2207 | ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | 
| … |  | … |  | 
| 1201 | # If it is relative, then search for the first ld in PATH. | 2218 | # If it is relative, then search for the first ld in PATH. | 
| 1202 | with_gnu_ld=unknown | 2219 | with_gnu_ld=unknown | 
| 1203 | ;; | 2220 | ;; | 
| 1204 | esac | 2221 | esac | 
| 1205 | elif test "$with_gnu_ld" = yes; then | 2222 | elif test "$with_gnu_ld" = yes; then | 
|  |  | 2223 | echo "$as_me:2223: checking for GNU ld" >&5 | 
| 1206 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 2224 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | 
| 1207 | echo "configure:1208: checking for GNU ld" >&5 |  |  | 
| 1208 | else | 2225 | else | 
|  |  | 2226 | echo "$as_me:2226: checking for non-GNU ld" >&5 | 
| 1209 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | 2227 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | 
| 1210 | echo "configure:1211: checking for non-GNU ld" >&5 |  |  | 
| 1211 | fi | 2228 | fi | 
| 1212 | if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | 2229 | if test "${lt_cv_path_LD+set}" = set; then | 
| 1213 | echo $ac_n "(cached) $ac_c" 1>&6 | 2230 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1214 | else | 2231 | else | 
| 1215 | if test -z "$LD"; then | 2232 | if test -z "$LD"; then | 
| 1216 | IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | 2233 | IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | 
| 1217 | for ac_dir in $PATH; do | 2234 | for ac_dir in $PATH; do | 
| 1218 | test -z "$ac_dir" && ac_dir=. | 2235 | test -z "$ac_dir" && ac_dir=. | 
| 1219 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 2236 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
| 1220 | ac_cv_path_LD="$ac_dir/$ac_prog" | 2237 | lt_cv_path_LD="$ac_dir/$ac_prog" | 
| 1221 | # Check to see if the program is GNU ld.  I'd rather use --version, | 2238 | # Check to see if the program is GNU ld.  I'd rather use --version, | 
| 1222 | # but apparently some GNU ld's only accept -v. | 2239 | # but apparently some GNU ld's only accept -v. | 
| 1223 | # Break only if it was the GNU/non-GNU ld that we prefer. | 2240 | # Break only if it was the GNU/non-GNU ld that we prefer. | 
| 1224 | if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | 2241 | if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | 
| 1225 | test "$with_gnu_ld" != no && break | 2242 | test "$with_gnu_ld" != no && break | 
| 1226 | else | 2243 | else | 
| 1227 | test "$with_gnu_ld" != yes && break | 2244 | test "$with_gnu_ld" != yes && break | 
| 1228 | fi | 2245 | fi | 
| 1229 | fi | 2246 | fi | 
| 1230 | done | 2247 | done | 
| 1231 | IFS="$ac_save_ifs" | 2248 | IFS="$ac_save_ifs" | 
| 1232 | else | 2249 | else | 
| 1233 | ac_cv_path_LD="$LD" # Let the user override the test with a path. | 2250 | lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
| 1234 | fi | 2251 | fi | 
| 1235 | fi | 2252 | fi | 
| 1236 |  | 2253 |  | 
| 1237 | LD="$ac_cv_path_LD" | 2254 | LD="$lt_cv_path_LD" | 
| 1238 | if test -n "$LD"; then | 2255 | if test -n "$LD"; then | 
| 1239 | echo "$ac_t""$LD" 1>&6 | 2256 | echo "$as_me:2256: result: $LD" >&5 | 
|  |  | 2257 | echo "${ECHO_T}$LD" >&6 | 
| 1240 | else | 2258 | else | 
| 1241 | echo "$ac_t""no" 1>&6 | 2259 | echo "$as_me:2259: result: no" >&5 | 
|  |  | 2260 | echo "${ECHO_T}no" >&6 | 
| 1242 | fi | 2261 | fi | 
| 1243 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | 2262 | test -z "$LD" && { { echo "$as_me:2262: error: no acceptable ld found in \$PATH" >&5 | 
| 1244 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | 2263 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 
|  |  | 2264 | { (exit 1); exit 1; }; } | 
| 1245 | echo "configure:1246: checking if the linker ($LD) is GNU ld" >&5 | 2265 | echo "$as_me:2265: checking if the linker ($LD) is GNU ld" >&5 | 
|  |  | 2266 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | 
| 1246 | if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | 2267 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | 
| 1247 | echo $ac_n "(cached) $ac_c" 1>&6 | 2268 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1248 | else | 2269 | else | 
| 1249 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 2270 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 
| 1250 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 2271 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 
| 1251 | ac_cv_prog_gnu_ld=yes | 2272 | lt_cv_prog_gnu_ld=yes | 
| 1252 | else | 2273 | else | 
| 1253 | ac_cv_prog_gnu_ld=no | 2274 | lt_cv_prog_gnu_ld=no | 
| 1254 | fi | 2275 | fi | 
| 1255 | fi | 2276 | fi | 
| 1256 |  | 2277 | echo "$as_me:2277: result: $lt_cv_prog_gnu_ld" >&5 | 
| 1257 | echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | 2278 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | 
|  |  | 2279 | with_gnu_ld=$lt_cv_prog_gnu_ld | 
| 1258 |  | 2280 |  | 
|  |  | 2281 | echo "$as_me:2281: checking for $LD option to reload object files" >&5 | 
|  |  | 2282 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 | 
|  |  | 2283 | if test "${lt_cv_ld_reload_flag+set}" = set; then | 
|  |  | 2284 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 2285 | else | 
|  |  | 2286 | lt_cv_ld_reload_flag='-r' | 
|  |  | 2287 | fi | 
|  |  | 2288 | echo "$as_me:2288: result: $lt_cv_ld_reload_flag" >&5 | 
|  |  | 2289 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | 
|  |  | 2290 | reload_flag=$lt_cv_ld_reload_flag | 
|  |  | 2291 | test -n "$reload_flag" && reload_flag=" $reload_flag" | 
| 1259 |  | 2292 |  | 
| 1260 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 |  |  | 
| 1261 | echo "configure:1262: checking for BSD-compatible nm" >&5 | 2293 | echo "$as_me:2293: checking for BSD-compatible nm" >&5 | 
|  |  | 2294 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | 
| 1262 | if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | 2295 | if test "${lt_cv_path_NM+set}" = set; then | 
| 1263 | echo $ac_n "(cached) $ac_c" 1>&6 | 2296 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1264 | else | 2297 | else | 
| 1265 | if test -n "$NM"; then | 2298 | if test -n "$NM"; then | 
| 1266 | # Let the user override the test. | 2299 | # Let the user override the test. | 
| 1267 | ac_cv_path_NM="$NM" | 2300 | lt_cv_path_NM="$NM" | 
| 1268 | else | 2301 | else | 
| 1269 | IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | 2302 | IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | 
| 1270 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | 2303 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | 
| 1271 | test -z "$ac_dir" && ac_dir=. | 2304 | test -z "$ac_dir" && ac_dir=. | 
|  |  | 2305 | tmp_nm=$ac_dir/${ac_tool_prefix}nm | 
| 1272 | if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then | 2306 | if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then | 
| 1273 | # Check to see if the nm accepts a BSD-compat flag. | 2307 | # Check to see if the nm accepts a BSD-compat flag. | 
| 1274 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 2308 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 
| 1275 | #   nm: unknown option "B" ignored | 2309 | #   nm: unknown option "B" ignored | 
|  |  | 2310 | # Tru64's nm complains that /dev/null is an invalid object file | 
| 1276 | if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | 2311 | if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then | 
| 1277 | ac_cv_path_NM="$ac_dir/nm -B" | 2312 | lt_cv_path_NM="$tmp_nm -B" | 
| 1278 | break | 2313 | break | 
| 1279 | elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | 2314 | elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | 
| 1280 | ac_cv_path_NM="$ac_dir/nm -p" | 2315 | lt_cv_path_NM="$tmp_nm -p" | 
| 1281 | break | 2316 | break | 
| 1282 | else | 2317 | else | 
| 1283 | ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but | 2318 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 
| 1284 | continue # so that we can try to find one that supports BSD flags | 2319 | continue # so that we can try to find one that supports BSD flags | 
| 1285 | fi | 2320 | fi | 
| 1286 | fi | 2321 | fi | 
| 1287 | done | 2322 | done | 
| 1288 | IFS="$ac_save_ifs" | 2323 | IFS="$ac_save_ifs" | 
| 1289 | test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm | 2324 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | 
| 1290 | fi | 2325 | fi | 
| 1291 | fi | 2326 | fi | 
| 1292 |  | 2327 |  | 
| 1293 | NM="$ac_cv_path_NM" | 2328 | NM="$lt_cv_path_NM" | 
| 1294 | echo "$ac_t""$NM" 1>&6 | 2329 | echo "$as_me:2329: result: $NM" >&5 | 
|  |  | 2330 | echo "${ECHO_T}$NM" >&6 | 
| 1295 |  | 2331 |  | 
|  |  | 2332 | echo "$as_me:2332: checking whether ln -s works" >&5 | 
| 1296 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 2333 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 
| 1297 | echo "configure:1298: checking whether ln -s works" >&5 | 2334 | LN_S=$as_ln_s | 
| 1298 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |  |  | 
| 1299 | echo $ac_n "(cached) $ac_c" 1>&6 |  |  | 
| 1300 | else |  |  | 
| 1301 | rm -f conftestdata |  |  | 
| 1302 | if ln -s X conftestdata 2>/dev/null |  |  | 
| 1303 | then |  |  | 
| 1304 | rm -f conftestdata |  |  | 
| 1305 | ac_cv_prog_LN_S="ln -s" |  |  | 
| 1306 | else |  |  | 
| 1307 | ac_cv_prog_LN_S=ln |  |  | 
| 1308 | fi |  |  | 
| 1309 | fi |  |  | 
| 1310 | LN_S="$ac_cv_prog_LN_S" |  |  | 
| 1311 | if test "$ac_cv_prog_LN_S" = "ln -s"; then | 2335 | if test "$LN_S" = "ln -s"; then | 
| 1312 | echo "$ac_t""yes" 1>&6 | 2336 | echo "$as_me:2336: result: yes" >&5 | 
|  |  | 2337 | echo "${ECHO_T}yes" >&6 | 
|  |  | 2338 | else | 
|  |  | 2339 | echo "$as_me:2339: result: no, using $LN_S" >&5 | 
|  |  | 2340 | echo "${ECHO_T}no, using $LN_S" >&6 | 
|  |  | 2341 | fi | 
|  |  | 2342 |  | 
|  |  | 2343 | echo "$as_me:2343: checking how to recognise dependant libraries" >&5 | 
|  |  | 2344 | echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 | 
|  |  | 2345 | if test "${lt_cv_deplibs_check_method+set}" = set; then | 
|  |  | 2346 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 2347 | else | 
|  |  | 2348 | lt_cv_file_magic_cmd='$MAGIC_CMD' | 
|  |  | 2349 | lt_cv_file_magic_test_file= | 
|  |  | 2350 | lt_cv_deplibs_check_method='unknown' | 
|  |  | 2351 | # Need to set the preceding variable on all platforms that support | 
|  |  | 2352 | # interlibrary dependencies. | 
|  |  | 2353 | # 'none' -- dependencies not supported. | 
|  |  | 2354 | # `unknown' -- same as none, but documents that we really don't know. | 
|  |  | 2355 | # 'pass_all' -- all dependencies passed with no checks. | 
|  |  | 2356 | # 'test_compile' -- check by making test program. | 
|  |  | 2357 | # ['file_magic [regex]'] -- check by looking for files in library path | 
|  |  | 2358 | # which responds to the $file_magic_cmd with a given egrep regex. | 
|  |  | 2359 | # If you have `file' or equivalent on your system and you're not sure | 
|  |  | 2360 | # whether `pass_all' will *always* work, you probably want this one. | 
|  |  | 2361 |  | 
|  |  | 2362 | case $host_os in | 
|  |  | 2363 | aix4* | aix5*) | 
|  |  | 2364 | lt_cv_deplibs_check_method=pass_all | 
|  |  | 2365 | ;; | 
|  |  | 2366 |  | 
|  |  | 2367 | beos*) | 
|  |  | 2368 | lt_cv_deplibs_check_method=pass_all | 
|  |  | 2369 | ;; | 
|  |  | 2370 |  | 
|  |  | 2371 | bsdi4*) | 
|  |  | 2372 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | 
|  |  | 2373 | lt_cv_file_magic_cmd='/usr/bin/file -L' | 
|  |  | 2374 | lt_cv_file_magic_test_file=/shlib/libc.so | 
|  |  | 2375 | ;; | 
|  |  | 2376 |  | 
|  |  | 2377 | cygwin* | mingw* | pw32*) | 
|  |  | 2378 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | 
|  |  | 2379 | lt_cv_file_magic_cmd='$OBJDUMP -f' | 
|  |  | 2380 | ;; | 
|  |  | 2381 |  | 
|  |  | 2382 | darwin* | rhapsody*) | 
|  |  | 2383 | lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | 
|  |  | 2384 | lt_cv_file_magic_cmd='/usr/bin/file -L' | 
|  |  | 2385 | case "$host_os" in | 
|  |  | 2386 | rhapsody* | darwin1.012) | 
|  |  | 2387 | lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` | 
|  |  | 2388 | ;; | 
|  |  | 2389 | *) # Darwin 1.3 on | 
|  |  | 2390 | lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | 
|  |  | 2391 | ;; | 
|  |  | 2392 | esac | 
|  |  | 2393 | ;; | 
|  |  | 2394 |  | 
|  |  | 2395 | freebsd*) | 
|  |  | 2396 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
|  |  | 2397 | case $host_cpu in | 
|  |  | 2398 | i*86 ) | 
|  |  | 2399 | # Not sure whether the presence of OpenBSD here was a mistake. | 
|  |  | 2400 | # Let's accept both of them until this is cleared up. | 
|  |  | 2401 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | 
|  |  | 2402 | lt_cv_file_magic_cmd=/usr/bin/file | 
|  |  | 2403 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
|  |  | 2404 | ;; | 
|  |  | 2405 | esac | 
| 1313 | else | 2406 | else | 
| 1314 | echo "$ac_t""no" 1>&6 | 2407 | lt_cv_deplibs_check_method=pass_all | 
| 1315 | fi | 2408 | fi | 
|  |  | 2409 | ;; | 
| 1316 |  | 2410 |  | 
|  |  | 2411 | gnu*) | 
|  |  | 2412 | lt_cv_deplibs_check_method=pass_all | 
|  |  | 2413 | ;; | 
| 1317 |  | 2414 |  | 
| 1318 | case "$target" in | 2415 | hpux10.20*|hpux11*) | 
| 1319 | NONE) lt_target="$host" ;; | 2416 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' | 
| 1320 | *) lt_target="$target" ;; | 2417 | lt_cv_file_magic_cmd=/usr/bin/file | 
|  |  | 2418 | lt_cv_file_magic_test_file=/usr/lib/libc.sl | 
|  |  | 2419 | ;; | 
|  |  | 2420 |  | 
|  |  | 2421 | irix5* | irix6*) | 
|  |  | 2422 | case $host_os in | 
|  |  | 2423 | irix5*) | 
|  |  | 2424 | # this will be overridden with pass_all, but let us keep it just in case | 
|  |  | 2425 | lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | 
|  |  | 2426 | ;; | 
|  |  | 2427 | *) | 
|  |  | 2428 | case $LD in | 
|  |  | 2429 | *-32|*"-32 ") libmagic=32-bit;; | 
|  |  | 2430 | *-n32|*"-n32 ") libmagic=N32;; | 
|  |  | 2431 | *-64|*"-64 ") libmagic=64-bit;; | 
|  |  | 2432 | *) libmagic=never-match;; | 
|  |  | 2433 | esac | 
|  |  | 2434 | # this will be overridden with pass_all, but let us keep it just in case | 
|  |  | 2435 | lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | 
|  |  | 2436 | ;; | 
|  |  | 2437 | esac | 
|  |  | 2438 | lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | 
|  |  | 2439 | lt_cv_deplibs_check_method=pass_all | 
|  |  | 2440 | ;; | 
|  |  | 2441 |  | 
|  |  | 2442 | # This must be Linux ELF. | 
|  |  | 2443 | linux-gnu*) | 
|  |  | 2444 | case $host_cpu in | 
|  |  | 2445 | alpha* | i*86 | powerpc* | sparc* | ia64* ) | 
|  |  | 2446 | lt_cv_deplibs_check_method=pass_all ;; | 
|  |  | 2447 | *) | 
|  |  | 2448 | # glibc up to 2.1.1 does not perform some relocations on ARM | 
|  |  | 2449 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | 
|  |  | 2450 | esac | 
|  |  | 2451 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | 
|  |  | 2452 | ;; | 
|  |  | 2453 |  | 
|  |  | 2454 | netbsd*) | 
|  |  | 2455 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
|  |  | 2456 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | 
|  |  | 2457 | else | 
|  |  | 2458 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' | 
|  |  | 2459 | fi | 
|  |  | 2460 | ;; | 
|  |  | 2461 |  | 
|  |  | 2462 | newos6*) | 
|  |  | 2463 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | 
|  |  | 2464 | lt_cv_file_magic_cmd=/usr/bin/file | 
|  |  | 2465 | lt_cv_file_magic_test_file=/usr/lib/libnls.so | 
|  |  | 2466 | ;; | 
|  |  | 2467 |  | 
|  |  | 2468 | osf3* | osf4* | osf5*) | 
|  |  | 2469 | # this will be overridden with pass_all, but let us keep it just in case | 
|  |  | 2470 | lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | 
|  |  | 2471 | lt_cv_file_magic_test_file=/shlib/libc.so | 
|  |  | 2472 | lt_cv_deplibs_check_method=pass_all | 
|  |  | 2473 | ;; | 
|  |  | 2474 |  | 
|  |  | 2475 | sco3.2v5*) | 
|  |  | 2476 | lt_cv_deplibs_check_method=pass_all | 
|  |  | 2477 | ;; | 
|  |  | 2478 |  | 
|  |  | 2479 | solaris*) | 
|  |  | 2480 | lt_cv_deplibs_check_method=pass_all | 
|  |  | 2481 | lt_cv_file_magic_test_file=/lib/libc.so | 
|  |  | 2482 | ;; | 
|  |  | 2483 |  | 
|  |  | 2484 | sysv5uw[78]* | sysv4*uw2*) | 
|  |  | 2485 | lt_cv_deplibs_check_method=pass_all | 
|  |  | 2486 | ;; | 
|  |  | 2487 |  | 
|  |  | 2488 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
|  |  | 2489 | case $host_vendor in | 
|  |  | 2490 | motorola) | 
|  |  | 2491 | 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]' | 
|  |  | 2492 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | 
|  |  | 2493 | ;; | 
|  |  | 2494 | ncr) | 
|  |  | 2495 | lt_cv_deplibs_check_method=pass_all | 
|  |  | 2496 | ;; | 
|  |  | 2497 | sequent) | 
|  |  | 2498 | lt_cv_file_magic_cmd='/bin/file' | 
|  |  | 2499 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | 
|  |  | 2500 | ;; | 
|  |  | 2501 | sni) | 
|  |  | 2502 | lt_cv_file_magic_cmd='/bin/file' | 
|  |  | 2503 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | 
|  |  | 2504 | lt_cv_file_magic_test_file=/lib/libc.so | 
|  |  | 2505 | ;; | 
|  |  | 2506 | esac | 
|  |  | 2507 | ;; | 
| 1321 | esac | 2508 | esac | 
| 1322 |  | 2509 |  | 
| 1323 | # Check for any special flags to pass to ltconfig. | 2510 | fi | 
| 1324 | libtool_flags="--cache-file=$cache_file" | 2511 | echo "$as_me:2511: result: $lt_cv_deplibs_check_method" >&5 | 
| 1325 | test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" | 2512 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 | 
| 1326 | test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" | 2513 | file_magic_cmd=$lt_cv_file_magic_cmd | 
| 1327 | test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" | 2514 | deplibs_check_method=$lt_cv_deplibs_check_method | 
| 1328 | test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" |  |  | 
| 1329 | test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" |  |  | 
| 1330 |  | 2515 |  | 
|  |  | 2516 | # Check for command to grab the raw symbol name followed by C symbol from nm. | 
|  |  | 2517 | echo "$as_me:2517: checking command to parse $NM output" >&5 | 
|  |  | 2518 | echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 | 
|  |  | 2519 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then | 
|  |  | 2520 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 2521 | else | 
|  |  | 2522 |  | 
|  |  | 2523 | # These are sane defaults that work on at least a few old systems. | 
|  |  | 2524 | # [They come from Ultrix.  What could be older than Ultrix?!! ;)] | 
|  |  | 2525 |  | 
|  |  | 2526 | # Character class describing NM global symbol codes. | 
|  |  | 2527 | symcode='[BCDEGRST]' | 
|  |  | 2528 |  | 
|  |  | 2529 | # Regexp to match symbols that can be accessed directly from C. | 
|  |  | 2530 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | 
|  |  | 2531 |  | 
|  |  | 2532 | # Transform the above into a raw symbol and a C symbol. | 
|  |  | 2533 | symxfrm='\1 \2\3 \3' | 
|  |  | 2534 |  | 
|  |  | 2535 | # Transform an extracted symbol line into a proper C declaration | 
|  |  | 2536 | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" | 
|  |  | 2537 |  | 
|  |  | 2538 | # Define system-specific variables. | 
|  |  | 2539 | case $host_os in | 
|  |  | 2540 | aix*) | 
|  |  | 2541 | symcode='[BCDT]' | 
|  |  | 2542 | ;; | 
|  |  | 2543 | cygwin* | mingw* | pw32*) | 
|  |  | 2544 | symcode='[ABCDGISTW]' | 
|  |  | 2545 | ;; | 
|  |  | 2546 | hpux*) # Its linker distinguishes data from code symbols | 
|  |  | 2547 | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | 
|  |  | 2548 | ;; | 
|  |  | 2549 | irix*) | 
|  |  | 2550 | symcode='[BCDEGRST]' | 
|  |  | 2551 | ;; | 
|  |  | 2552 | solaris* | sysv5*) | 
|  |  | 2553 | symcode='[BDT]' | 
|  |  | 2554 | ;; | 
|  |  | 2555 | sysv4) | 
|  |  | 2556 | symcode='[DFNSTU]' | 
|  |  | 2557 | ;; | 
|  |  | 2558 | esac | 
|  |  | 2559 |  | 
|  |  | 2560 | # Handle CRLF in mingw tool chain | 
|  |  | 2561 | opt_cr= | 
|  |  | 2562 | case $host_os in | 
|  |  | 2563 | mingw*) | 
|  |  | 2564 | opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp | 
|  |  | 2565 | ;; | 
|  |  | 2566 | esac | 
|  |  | 2567 |  | 
|  |  | 2568 | # If we're using GNU nm, then use its standard symbol codes. | 
|  |  | 2569 | if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then | 
|  |  | 2570 | symcode='[ABCDGISTW]' | 
|  |  | 2571 | fi | 
|  |  | 2572 |  | 
|  |  | 2573 | # Try without a prefix undercore, then with it. | 
|  |  | 2574 | for ac_symprfx in "" "_"; do | 
|  |  | 2575 |  | 
|  |  | 2576 | # Write the raw and C identifiers. | 
|  |  | 2577 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" | 
|  |  | 2578 |  | 
|  |  | 2579 | # Check to see that the pipe works correctly. | 
|  |  | 2580 | pipe_works=no | 
|  |  | 2581 | rm -f conftest* | 
|  |  | 2582 | cat > conftest.$ac_ext <<EOF | 
|  |  | 2583 | #ifdef __cplusplus | 
|  |  | 2584 | extern "C" { | 
|  |  | 2585 | #endif | 
|  |  | 2586 | char nm_test_var; | 
|  |  | 2587 | void nm_test_func(){} | 
|  |  | 2588 | #ifdef __cplusplus | 
|  |  | 2589 | } | 
|  |  | 2590 | #endif | 
|  |  | 2591 | int main(){nm_test_var='a';nm_test_func();return(0);} | 
|  |  | 2592 | EOF | 
|  |  | 2593 |  | 
|  |  | 2594 | if { (eval echo "$as_me:2594: \"$ac_compile\"") >&5 | 
|  |  | 2595 | (eval $ac_compile) 2>&5 | 
|  |  | 2596 | ac_status=$? | 
|  |  | 2597 | echo "$as_me:2597: \$? = $ac_status" >&5 | 
|  |  | 2598 | (exit $ac_status); }; then | 
|  |  | 2599 | # Now try to grab the symbols. | 
|  |  | 2600 | nlist=conftest.nm | 
|  |  | 2601 | if { (eval echo "$as_me:2601: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 | 
|  |  | 2602 | (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 | 
|  |  | 2603 | ac_status=$? | 
|  |  | 2604 | echo "$as_me:2604: \$? = $ac_status" >&5 | 
|  |  | 2605 | (exit $ac_status); } && test -s "$nlist"; then | 
|  |  | 2606 | # Try sorting and uniquifying the output. | 
|  |  | 2607 | if sort "$nlist" | uniq > "$nlist"T; then | 
|  |  | 2608 | mv -f "$nlist"T "$nlist" | 
|  |  | 2609 | else | 
|  |  | 2610 | rm -f "$nlist"T | 
|  |  | 2611 | fi | 
|  |  | 2612 |  | 
|  |  | 2613 | # Make sure that we snagged all the symbols we need. | 
|  |  | 2614 | if egrep ' nm_test_var$' "$nlist" >/dev/null; then | 
|  |  | 2615 | if egrep ' nm_test_func$' "$nlist" >/dev/null; then | 
|  |  | 2616 | cat <<EOF > conftest.$ac_ext | 
|  |  | 2617 | #ifdef __cplusplus | 
|  |  | 2618 | extern "C" { | 
|  |  | 2619 | #endif | 
|  |  | 2620 |  | 
|  |  | 2621 | EOF | 
|  |  | 2622 | # Now generate the symbol file. | 
|  |  | 2623 | eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' | 
|  |  | 2624 |  | 
|  |  | 2625 | cat <<EOF >> conftest.$ac_ext | 
|  |  | 2626 | #if defined (__STDC__) && __STDC__ | 
|  |  | 2627 | # define lt_ptr_t void * | 
|  |  | 2628 | #else | 
|  |  | 2629 | # define lt_ptr_t char * | 
|  |  | 2630 | # define const | 
|  |  | 2631 | #endif | 
|  |  | 2632 |  | 
|  |  | 2633 | /* The mapping between symbol names and symbols. */ | 
|  |  | 2634 | const struct { | 
|  |  | 2635 | const char *name; | 
|  |  | 2636 | lt_ptr_t address; | 
|  |  | 2637 | } | 
|  |  | 2638 | lt_preloaded_symbols[] = | 
|  |  | 2639 | { | 
|  |  | 2640 | EOF | 
|  |  | 2641 | sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext | 
|  |  | 2642 | cat <<\EOF >> conftest.$ac_ext | 
|  |  | 2643 | {0, (lt_ptr_t) 0} | 
|  |  | 2644 | }; | 
|  |  | 2645 |  | 
|  |  | 2646 | #ifdef __cplusplus | 
|  |  | 2647 | } | 
|  |  | 2648 | #endif | 
|  |  | 2649 | EOF | 
|  |  | 2650 | # Now try linking the two files. | 
|  |  | 2651 | mv conftest.$ac_objext conftstm.$ac_objext | 
|  |  | 2652 | save_LIBS="$LIBS" | 
|  |  | 2653 | save_CFLAGS="$CFLAGS" | 
|  |  | 2654 | LIBS="conftstm.$ac_objext" | 
|  |  | 2655 | CFLAGS="$CFLAGS$no_builtin_flag" | 
|  |  | 2656 | if { (eval echo "$as_me:2656: \"$ac_link\"") >&5 | 
|  |  | 2657 | (eval $ac_link) 2>&5 | 
|  |  | 2658 | ac_status=$? | 
|  |  | 2659 | echo "$as_me:2659: \$? = $ac_status" >&5 | 
|  |  | 2660 | (exit $ac_status); } && test -s conftest; then | 
|  |  | 2661 | pipe_works=yes | 
|  |  | 2662 | fi | 
|  |  | 2663 | LIBS="$save_LIBS" | 
|  |  | 2664 | CFLAGS="$save_CFLAGS" | 
|  |  | 2665 | else | 
|  |  | 2666 | echo "cannot find nm_test_func in $nlist" >&5 | 
|  |  | 2667 | fi | 
|  |  | 2668 | else | 
|  |  | 2669 | echo "cannot find nm_test_var in $nlist" >&5 | 
|  |  | 2670 | fi | 
|  |  | 2671 | else | 
|  |  | 2672 | echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | 
|  |  | 2673 | fi | 
|  |  | 2674 | else | 
|  |  | 2675 | echo "$progname: failed program was:" >&5 | 
|  |  | 2676 | cat conftest.$ac_ext >&5 | 
|  |  | 2677 | fi | 
|  |  | 2678 | rm -f conftest* conftst* | 
|  |  | 2679 |  | 
|  |  | 2680 | # Do not use the global_symbol_pipe unless it works. | 
|  |  | 2681 | if test "$pipe_works" = yes; then | 
|  |  | 2682 | break | 
|  |  | 2683 | else | 
|  |  | 2684 | lt_cv_sys_global_symbol_pipe= | 
|  |  | 2685 | fi | 
|  |  | 2686 | done | 
|  |  | 2687 |  | 
|  |  | 2688 | fi | 
|  |  | 2689 |  | 
|  |  | 2690 | global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" | 
|  |  | 2691 | if test -z "$lt_cv_sys_global_symbol_pipe"; then | 
|  |  | 2692 | global_symbol_to_cdecl= | 
|  |  | 2693 | else | 
|  |  | 2694 | global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" | 
|  |  | 2695 | fi | 
|  |  | 2696 | if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then | 
|  |  | 2697 | echo "$as_me:2697: result: failed" >&5 | 
|  |  | 2698 | echo "${ECHO_T}failed" >&6 | 
|  |  | 2699 | else | 
|  |  | 2700 | echo "$as_me:2700: result: ok" >&5 | 
|  |  | 2701 | echo "${ECHO_T}ok" >&6 | 
|  |  | 2702 | fi | 
|  |  | 2703 |  | 
|  |  | 2704 | ac_ext=c | 
|  |  | 2705 | ac_cpp='$CPP $CPPFLAGS' | 
|  |  | 2706 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  |  | 2707 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  |  | 2708 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  |  | 2709 | echo "$as_me:2709: checking how to run the C preprocessor" >&5 | 
|  |  | 2710 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
|  |  | 2711 | # On Suns, sometimes $CPP names a directory. | 
|  |  | 2712 | if test -n "$CPP" && test -d "$CPP"; then | 
|  |  | 2713 | CPP= | 
|  |  | 2714 | fi | 
|  |  | 2715 | if test -z "$CPP"; then | 
|  |  | 2716 | if test "${ac_cv_prog_CPP+set}" = set; then | 
|  |  | 2717 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 2718 | else | 
|  |  | 2719 | # Double quotes because CPP needs to be expanded | 
|  |  | 2720 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|  |  | 2721 | do | 
|  |  | 2722 | # break 2 since there is a loop in there. | 
|  |  | 2723 | ac_preproc_ok=false | 
|  |  | 2724 | for ac_c_preproc_warn_flag in '' yes | 
|  |  | 2725 | do | 
|  |  | 2726 | # Use a header file that comes with gcc, so configuring glibc | 
|  |  | 2727 | # with a fresh cross-compiler works. | 
|  |  | 2728 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|  |  | 2729 | # not just through cpp. "Syntax error" is here to catch this case. | 
|  |  | 2730 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 2731 | #line 2731 "configure" | 
|  |  | 2732 | #include "confdefs.h" | 
|  |  | 2733 | #include <assert.h> | 
|  |  | 2734 | Syntax error | 
|  |  | 2735 | _ACEOF | 
|  |  | 2736 | if { (eval echo "$as_me:2736: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  |  | 2737 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  |  | 2738 | ac_status=$? | 
|  |  | 2739 | egrep -v '^ *\+' conftest.er1 >conftest.err | 
|  |  | 2740 | rm -f conftest.er1 | 
|  |  | 2741 | cat conftest.err >&5 | 
|  |  | 2742 | echo "$as_me:2742: \$? = $ac_status" >&5 | 
|  |  | 2743 | (exit $ac_status); } >/dev/null; then | 
|  |  | 2744 | if test -s conftest.err; then | 
|  |  | 2745 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  |  | 2746 | else | 
|  |  | 2747 | ac_cpp_err= | 
|  |  | 2748 | fi | 
|  |  | 2749 | else | 
|  |  | 2750 | ac_cpp_err=yes | 
|  |  | 2751 | fi | 
|  |  | 2752 | if test -z "$ac_cpp_err"; then | 
|  |  | 2753 | : | 
|  |  | 2754 | else | 
|  |  | 2755 | echo "$as_me: failed program was:" >&5 | 
|  |  | 2756 | cat conftest.$ac_ext >&5 | 
|  |  | 2757 | # Broken: fails on valid input. | 
|  |  | 2758 | continue | 
|  |  | 2759 | fi | 
|  |  | 2760 | rm -f conftest.err conftest.$ac_ext | 
|  |  | 2761 |  | 
|  |  | 2762 | # OK, works on sane cases.  Now check whether non-existent headers | 
|  |  | 2763 | # can be detected and how. | 
|  |  | 2764 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 2765 | #line 2765 "configure" | 
|  |  | 2766 | #include "confdefs.h" | 
|  |  | 2767 | #include <ac_nonexistent.h> | 
|  |  | 2768 | _ACEOF | 
|  |  | 2769 | if { (eval echo "$as_me:2769: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  |  | 2770 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  |  | 2771 | ac_status=$? | 
|  |  | 2772 | egrep -v '^ *\+' conftest.er1 >conftest.err | 
|  |  | 2773 | rm -f conftest.er1 | 
|  |  | 2774 | cat conftest.err >&5 | 
|  |  | 2775 | echo "$as_me:2775: \$? = $ac_status" >&5 | 
|  |  | 2776 | (exit $ac_status); } >/dev/null; then | 
|  |  | 2777 | if test -s conftest.err; then | 
|  |  | 2778 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  |  | 2779 | else | 
|  |  | 2780 | ac_cpp_err= | 
|  |  | 2781 | fi | 
|  |  | 2782 | else | 
|  |  | 2783 | ac_cpp_err=yes | 
|  |  | 2784 | fi | 
|  |  | 2785 | if test -z "$ac_cpp_err"; then | 
|  |  | 2786 | # Broken: success on invalid input. | 
|  |  | 2787 | continue | 
|  |  | 2788 | else | 
|  |  | 2789 | echo "$as_me: failed program was:" >&5 | 
|  |  | 2790 | cat conftest.$ac_ext >&5 | 
|  |  | 2791 | # Passes both tests. | 
|  |  | 2792 | ac_preproc_ok=: | 
|  |  | 2793 | break | 
|  |  | 2794 | fi | 
|  |  | 2795 | rm -f conftest.err conftest.$ac_ext | 
|  |  | 2796 |  | 
|  |  | 2797 | done | 
|  |  | 2798 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|  |  | 2799 | rm -f conftest.err conftest.$ac_ext | 
|  |  | 2800 | if $ac_preproc_ok; then | 
|  |  | 2801 | break 2 | 
|  |  | 2802 | fi | 
|  |  | 2803 |  | 
|  |  | 2804 | done | 
|  |  | 2805 | ac_cv_prog_CPP=$CPP | 
|  |  | 2806 |  | 
|  |  | 2807 | fi | 
|  |  | 2808 | CPP=$ac_cv_prog_CPP | 
|  |  | 2809 | else | 
|  |  | 2810 | ac_cv_prog_CPP=$CPP | 
|  |  | 2811 | fi | 
|  |  | 2812 | echo "$as_me:2812: result: $CPP" >&5 | 
|  |  | 2813 | echo "${ECHO_T}$CPP" >&6 | 
|  |  | 2814 | ac_preproc_ok=false | 
|  |  | 2815 | for ac_c_preproc_warn_flag in '' yes | 
|  |  | 2816 | do | 
|  |  | 2817 | # Use a header file that comes with gcc, so configuring glibc | 
|  |  | 2818 | # with a fresh cross-compiler works. | 
|  |  | 2819 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|  |  | 2820 | # not just through cpp. "Syntax error" is here to catch this case. | 
|  |  | 2821 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 2822 | #line 2822 "configure" | 
|  |  | 2823 | #include "confdefs.h" | 
|  |  | 2824 | #include <assert.h> | 
|  |  | 2825 | Syntax error | 
|  |  | 2826 | _ACEOF | 
|  |  | 2827 | if { (eval echo "$as_me:2827: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  |  | 2828 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  |  | 2829 | ac_status=$? | 
|  |  | 2830 | egrep -v '^ *\+' conftest.er1 >conftest.err | 
|  |  | 2831 | rm -f conftest.er1 | 
|  |  | 2832 | cat conftest.err >&5 | 
|  |  | 2833 | echo "$as_me:2833: \$? = $ac_status" >&5 | 
|  |  | 2834 | (exit $ac_status); } >/dev/null; then | 
|  |  | 2835 | if test -s conftest.err; then | 
|  |  | 2836 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  |  | 2837 | else | 
|  |  | 2838 | ac_cpp_err= | 
|  |  | 2839 | fi | 
|  |  | 2840 | else | 
|  |  | 2841 | ac_cpp_err=yes | 
|  |  | 2842 | fi | 
|  |  | 2843 | if test -z "$ac_cpp_err"; then | 
|  |  | 2844 | : | 
|  |  | 2845 | else | 
|  |  | 2846 | echo "$as_me: failed program was:" >&5 | 
|  |  | 2847 | cat conftest.$ac_ext >&5 | 
|  |  | 2848 | # Broken: fails on valid input. | 
|  |  | 2849 | continue | 
|  |  | 2850 | fi | 
|  |  | 2851 | rm -f conftest.err conftest.$ac_ext | 
|  |  | 2852 |  | 
|  |  | 2853 | # OK, works on sane cases.  Now check whether non-existent headers | 
|  |  | 2854 | # can be detected and how. | 
|  |  | 2855 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 2856 | #line 2856 "configure" | 
|  |  | 2857 | #include "confdefs.h" | 
|  |  | 2858 | #include <ac_nonexistent.h> | 
|  |  | 2859 | _ACEOF | 
|  |  | 2860 | if { (eval echo "$as_me:2860: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  |  | 2861 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  |  | 2862 | ac_status=$? | 
|  |  | 2863 | egrep -v '^ *\+' conftest.er1 >conftest.err | 
|  |  | 2864 | rm -f conftest.er1 | 
|  |  | 2865 | cat conftest.err >&5 | 
|  |  | 2866 | echo "$as_me:2866: \$? = $ac_status" >&5 | 
|  |  | 2867 | (exit $ac_status); } >/dev/null; then | 
|  |  | 2868 | if test -s conftest.err; then | 
|  |  | 2869 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  |  | 2870 | else | 
|  |  | 2871 | ac_cpp_err= | 
|  |  | 2872 | fi | 
|  |  | 2873 | else | 
|  |  | 2874 | ac_cpp_err=yes | 
|  |  | 2875 | fi | 
|  |  | 2876 | if test -z "$ac_cpp_err"; then | 
|  |  | 2877 | # Broken: success on invalid input. | 
|  |  | 2878 | continue | 
|  |  | 2879 | else | 
|  |  | 2880 | echo "$as_me: failed program was:" >&5 | 
|  |  | 2881 | cat conftest.$ac_ext >&5 | 
|  |  | 2882 | # Passes both tests. | 
|  |  | 2883 | ac_preproc_ok=: | 
|  |  | 2884 | break | 
|  |  | 2885 | fi | 
|  |  | 2886 | rm -f conftest.err conftest.$ac_ext | 
|  |  | 2887 |  | 
|  |  | 2888 | done | 
|  |  | 2889 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|  |  | 2890 | rm -f conftest.err conftest.$ac_ext | 
|  |  | 2891 | if $ac_preproc_ok; then | 
|  |  | 2892 | : | 
|  |  | 2893 | else | 
|  |  | 2894 | { { echo "$as_me:2894: error: C preprocessor \"$CPP\" fails sanity check" >&5 | 
|  |  | 2895 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | 
|  |  | 2896 | { (exit 1); exit 1; }; } | 
|  |  | 2897 | fi | 
|  |  | 2898 |  | 
|  |  | 2899 | ac_ext=c | 
|  |  | 2900 | ac_cpp='$CPP $CPPFLAGS' | 
|  |  | 2901 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  |  | 2902 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  |  | 2903 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  |  | 2904 |  | 
|  |  | 2905 | for ac_header in dlfcn.h | 
|  |  | 2906 | do | 
|  |  | 2907 | ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` | 
|  |  | 2908 | echo "$as_me:2908: checking for $ac_header" >&5 | 
|  |  | 2909 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  |  | 2910 | if eval "test \"\${$ac_ac_Header+set}\" = set"; then | 
|  |  | 2911 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 2912 | else | 
|  |  | 2913 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 2914 | #line 2914 "configure" | 
|  |  | 2915 | #include "confdefs.h" | 
|  |  | 2916 | #include <$ac_header> | 
|  |  | 2917 | _ACEOF | 
|  |  | 2918 | if { (eval echo "$as_me:2918: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  |  | 2919 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  |  | 2920 | ac_status=$? | 
|  |  | 2921 | egrep -v '^ *\+' conftest.er1 >conftest.err | 
|  |  | 2922 | rm -f conftest.er1 | 
|  |  | 2923 | cat conftest.err >&5 | 
|  |  | 2924 | echo "$as_me:2924: \$? = $ac_status" >&5 | 
|  |  | 2925 | (exit $ac_status); } >/dev/null; then | 
|  |  | 2926 | if test -s conftest.err; then | 
|  |  | 2927 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  |  | 2928 | else | 
|  |  | 2929 | ac_cpp_err= | 
|  |  | 2930 | fi | 
|  |  | 2931 | else | 
|  |  | 2932 | ac_cpp_err=yes | 
|  |  | 2933 | fi | 
|  |  | 2934 | if test -z "$ac_cpp_err"; then | 
|  |  | 2935 | eval "$ac_ac_Header=yes" | 
|  |  | 2936 | else | 
|  |  | 2937 | echo "$as_me: failed program was:" >&5 | 
|  |  | 2938 | cat conftest.$ac_ext >&5 | 
|  |  | 2939 | eval "$ac_ac_Header=no" | 
|  |  | 2940 | fi | 
|  |  | 2941 | rm -f conftest.err conftest.$ac_ext | 
|  |  | 2942 | fi | 
|  |  | 2943 | echo "$as_me:2943: result: `eval echo '${'$ac_ac_Header'}'`" >&5 | 
|  |  | 2944 | echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 | 
|  |  | 2945 | if test `eval echo '${'$ac_ac_Header'}'` = yes; then | 
|  |  | 2946 | cat >>confdefs.h <<EOF | 
|  |  | 2947 | #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 | 
|  |  | 2948 | EOF | 
|  |  | 2949 |  | 
|  |  | 2950 | fi | 
|  |  | 2951 | done | 
|  |  | 2952 |  | 
|  |  | 2953 | # Only perform the check for file, if the check method requires it | 
|  |  | 2954 | case $deplibs_check_method in | 
|  |  | 2955 | file_magic*) | 
|  |  | 2956 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 
|  |  | 2957 | echo "$as_me:2957: checking for ${ac_tool_prefix}file" >&5 | 
|  |  | 2958 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 | 
|  |  | 2959 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
|  |  | 2960 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 2961 | else | 
|  |  | 2962 | case $MAGIC_CMD in | 
|  |  | 2963 | /*) | 
|  |  | 2964 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
|  |  | 2965 | ;; | 
|  |  | 2966 | ?:/*) | 
|  |  | 2967 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. | 
|  |  | 2968 | ;; | 
|  |  | 2969 | *) | 
|  |  | 2970 | ac_save_MAGIC_CMD="$MAGIC_CMD" | 
|  |  | 2971 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|  |  | 2972 | ac_dummy="/usr/bin:$PATH" | 
|  |  | 2973 | for ac_dir in $ac_dummy; do | 
|  |  | 2974 | test -z "$ac_dir" && ac_dir=. | 
|  |  | 2975 | if test -f $ac_dir/${ac_tool_prefix}file; then | 
|  |  | 2976 | lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | 
|  |  | 2977 | if test -n "$file_magic_test_file"; then | 
|  |  | 2978 | case $deplibs_check_method in | 
|  |  | 2979 | "file_magic "*) | 
|  |  | 2980 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
|  |  | 2981 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|  |  | 2982 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
|  |  | 2983 | egrep "$file_magic_regex" > /dev/null; then | 
|  |  | 2984 | : | 
|  |  | 2985 | else | 
|  |  | 2986 | cat <<EOF 1>&2 | 
|  |  | 2987 |  | 
|  |  | 2988 | *** Warning: the command libtool uses to detect shared libraries, | 
|  |  | 2989 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
|  |  | 2990 | *** The result is that libtool may fail to recognize shared libraries | 
|  |  | 2991 | *** as such.  This will affect the creation of libtool libraries that | 
|  |  | 2992 | *** depend on shared libraries, but programs linked with such libtool | 
|  |  | 2993 | *** libraries will work regardless of this problem.  Nevertheless, you | 
|  |  | 2994 | *** may want to report the problem to your system manager and/or to | 
|  |  | 2995 | *** bug-libtool@gnu.org | 
|  |  | 2996 |  | 
|  |  | 2997 | EOF | 
|  |  | 2998 | fi ;; | 
|  |  | 2999 | esac | 
|  |  | 3000 | fi | 
|  |  | 3001 | break | 
|  |  | 3002 | fi | 
|  |  | 3003 | done | 
|  |  | 3004 | IFS="$ac_save_ifs" | 
|  |  | 3005 | MAGIC_CMD="$ac_save_MAGIC_CMD" | 
|  |  | 3006 | ;; | 
|  |  | 3007 | esac | 
|  |  | 3008 | fi | 
|  |  | 3009 |  | 
|  |  | 3010 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|  |  | 3011 | if test -n "$MAGIC_CMD"; then | 
|  |  | 3012 | echo "$as_me:3012: result: $MAGIC_CMD" >&5 | 
|  |  | 3013 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
|  |  | 3014 | else | 
|  |  | 3015 | echo "$as_me:3015: result: no" >&5 | 
|  |  | 3016 | echo "${ECHO_T}no" >&6 | 
|  |  | 3017 | fi | 
|  |  | 3018 |  | 
|  |  | 3019 | if test -z "$lt_cv_path_MAGIC_CMD"; then | 
|  |  | 3020 | if test -n "$ac_tool_prefix"; then | 
|  |  | 3021 | echo "$as_me:3021: checking for file" >&5 | 
|  |  | 3022 | echo $ECHO_N "checking for file... $ECHO_C" >&6 | 
|  |  | 3023 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
|  |  | 3024 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 3025 | else | 
|  |  | 3026 | case $MAGIC_CMD in | 
|  |  | 3027 | /*) | 
|  |  | 3028 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
|  |  | 3029 | ;; | 
|  |  | 3030 | ?:/*) | 
|  |  | 3031 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. | 
|  |  | 3032 | ;; | 
|  |  | 3033 | *) | 
|  |  | 3034 | ac_save_MAGIC_CMD="$MAGIC_CMD" | 
|  |  | 3035 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|  |  | 3036 | ac_dummy="/usr/bin:$PATH" | 
|  |  | 3037 | for ac_dir in $ac_dummy; do | 
|  |  | 3038 | test -z "$ac_dir" && ac_dir=. | 
|  |  | 3039 | if test -f $ac_dir/file; then | 
|  |  | 3040 | lt_cv_path_MAGIC_CMD="$ac_dir/file" | 
|  |  | 3041 | if test -n "$file_magic_test_file"; then | 
|  |  | 3042 | case $deplibs_check_method in | 
|  |  | 3043 | "file_magic "*) | 
|  |  | 3044 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
|  |  | 3045 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|  |  | 3046 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
|  |  | 3047 | egrep "$file_magic_regex" > /dev/null; then | 
|  |  | 3048 | : | 
|  |  | 3049 | else | 
|  |  | 3050 | cat <<EOF 1>&2 | 
|  |  | 3051 |  | 
|  |  | 3052 | *** Warning: the command libtool uses to detect shared libraries, | 
|  |  | 3053 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
|  |  | 3054 | *** The result is that libtool may fail to recognize shared libraries | 
|  |  | 3055 | *** as such.  This will affect the creation of libtool libraries that | 
|  |  | 3056 | *** depend on shared libraries, but programs linked with such libtool | 
|  |  | 3057 | *** libraries will work regardless of this problem.  Nevertheless, you | 
|  |  | 3058 | *** may want to report the problem to your system manager and/or to | 
|  |  | 3059 | *** bug-libtool@gnu.org | 
|  |  | 3060 |  | 
|  |  | 3061 | EOF | 
|  |  | 3062 | fi ;; | 
|  |  | 3063 | esac | 
|  |  | 3064 | fi | 
|  |  | 3065 | break | 
|  |  | 3066 | fi | 
|  |  | 3067 | done | 
|  |  | 3068 | IFS="$ac_save_ifs" | 
|  |  | 3069 | MAGIC_CMD="$ac_save_MAGIC_CMD" | 
|  |  | 3070 | ;; | 
|  |  | 3071 | esac | 
|  |  | 3072 | fi | 
|  |  | 3073 |  | 
|  |  | 3074 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|  |  | 3075 | if test -n "$MAGIC_CMD"; then | 
|  |  | 3076 | echo "$as_me:3076: result: $MAGIC_CMD" >&5 | 
|  |  | 3077 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
|  |  | 3078 | else | 
|  |  | 3079 | echo "$as_me:3079: result: no" >&5 | 
|  |  | 3080 | echo "${ECHO_T}no" >&6 | 
|  |  | 3081 | fi | 
|  |  | 3082 |  | 
|  |  | 3083 | else | 
|  |  | 3084 | MAGIC_CMD=: | 
|  |  | 3085 | fi | 
|  |  | 3086 | fi | 
|  |  | 3087 |  | 
|  |  | 3088 | fi | 
|  |  | 3089 | ;; | 
|  |  | 3090 | esac | 
|  |  | 3091 |  | 
|  |  | 3092 | if test -n "$ac_tool_prefix"; then | 
|  |  | 3093 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
|  |  | 3094 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
|  |  | 3095 | echo "$as_me:3095: checking for $ac_word" >&5 | 
|  |  | 3096 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  |  | 3097 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 
|  |  | 3098 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 3099 | else | 
|  |  | 3100 | if test -n "$RANLIB"; then | 
|  |  | 3101 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
|  |  | 3102 | else | 
|  |  | 3103 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
|  |  | 3104 | ac_dummy="$PATH" | 
|  |  | 3105 | for ac_dir in $ac_dummy; do | 
|  |  | 3106 | IFS=$ac_save_IFS | 
|  |  | 3107 | test -z "$ac_dir" && ac_dir=. | 
|  |  | 3108 | $as_executable_p "$ac_dir/$ac_word" || continue | 
|  |  | 3109 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
|  |  | 3110 | echo "$as_me:3110: found $ac_dir/$ac_word" >&5 | 
|  |  | 3111 | break | 
|  |  | 3112 | done | 
|  |  | 3113 |  | 
|  |  | 3114 | fi | 
|  |  | 3115 | fi | 
|  |  | 3116 | RANLIB=$ac_cv_prog_RANLIB | 
|  |  | 3117 | if test -n "$RANLIB"; then | 
|  |  | 3118 | echo "$as_me:3118: result: $RANLIB" >&5 | 
|  |  | 3119 | echo "${ECHO_T}$RANLIB" >&6 | 
|  |  | 3120 | else | 
|  |  | 3121 | echo "$as_me:3121: result: no" >&5 | 
|  |  | 3122 | echo "${ECHO_T}no" >&6 | 
|  |  | 3123 | fi | 
|  |  | 3124 |  | 
|  |  | 3125 | fi | 
|  |  | 3126 | if test -z "$ac_cv_prog_RANLIB"; then | 
|  |  | 3127 | ac_ct_RANLIB=$RANLIB | 
|  |  | 3128 | # Extract the first word of "ranlib", so it can be a program name with args. | 
|  |  | 3129 | set dummy ranlib; ac_word=$2 | 
|  |  | 3130 | echo "$as_me:3130: checking for $ac_word" >&5 | 
|  |  | 3131 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  |  | 3132 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 
|  |  | 3133 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 3134 | else | 
|  |  | 3135 | if test -n "$ac_ct_RANLIB"; then | 
|  |  | 3136 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
|  |  | 3137 | else | 
|  |  | 3138 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
|  |  | 3139 | ac_dummy="$PATH" | 
|  |  | 3140 | for ac_dir in $ac_dummy; do | 
|  |  | 3141 | IFS=$ac_save_IFS | 
|  |  | 3142 | test -z "$ac_dir" && ac_dir=. | 
|  |  | 3143 | $as_executable_p "$ac_dir/$ac_word" || continue | 
|  |  | 3144 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 
|  |  | 3145 | echo "$as_me:3145: found $ac_dir/$ac_word" >&5 | 
|  |  | 3146 | break | 
|  |  | 3147 | done | 
|  |  | 3148 |  | 
|  |  | 3149 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 
|  |  | 3150 | fi | 
|  |  | 3151 | fi | 
|  |  | 3152 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
|  |  | 3153 | if test -n "$ac_ct_RANLIB"; then | 
|  |  | 3154 | echo "$as_me:3154: result: $ac_ct_RANLIB" >&5 | 
|  |  | 3155 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 
|  |  | 3156 | else | 
|  |  | 3157 | echo "$as_me:3157: result: no" >&5 | 
|  |  | 3158 | echo "${ECHO_T}no" >&6 | 
|  |  | 3159 | fi | 
|  |  | 3160 |  | 
|  |  | 3161 | RANLIB=$ac_ct_RANLIB | 
|  |  | 3162 | else | 
|  |  | 3163 | RANLIB="$ac_cv_prog_RANLIB" | 
|  |  | 3164 | fi | 
|  |  | 3165 |  | 
|  |  | 3166 | if test -n "$ac_tool_prefix"; then | 
|  |  | 3167 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|  |  | 3168 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|  |  | 3169 | echo "$as_me:3169: checking for $ac_word" >&5 | 
|  |  | 3170 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  |  | 3171 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
|  |  | 3172 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 3173 | else | 
|  |  | 3174 | if test -n "$STRIP"; then | 
|  |  | 3175 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|  |  | 3176 | else | 
|  |  | 3177 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
|  |  | 3178 | ac_dummy="$PATH" | 
|  |  | 3179 | for ac_dir in $ac_dummy; do | 
|  |  | 3180 | IFS=$ac_save_IFS | 
|  |  | 3181 | test -z "$ac_dir" && ac_dir=. | 
|  |  | 3182 | $as_executable_p "$ac_dir/$ac_word" || continue | 
|  |  | 3183 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|  |  | 3184 | echo "$as_me:3184: found $ac_dir/$ac_word" >&5 | 
|  |  | 3185 | break | 
|  |  | 3186 | done | 
|  |  | 3187 |  | 
|  |  | 3188 | fi | 
|  |  | 3189 | fi | 
|  |  | 3190 | STRIP=$ac_cv_prog_STRIP | 
|  |  | 3191 | if test -n "$STRIP"; then | 
|  |  | 3192 | echo "$as_me:3192: result: $STRIP" >&5 | 
|  |  | 3193 | echo "${ECHO_T}$STRIP" >&6 | 
|  |  | 3194 | else | 
|  |  | 3195 | echo "$as_me:3195: result: no" >&5 | 
|  |  | 3196 | echo "${ECHO_T}no" >&6 | 
|  |  | 3197 | fi | 
|  |  | 3198 |  | 
|  |  | 3199 | fi | 
|  |  | 3200 | if test -z "$ac_cv_prog_STRIP"; then | 
|  |  | 3201 | ac_ct_STRIP=$STRIP | 
|  |  | 3202 | # Extract the first word of "strip", so it can be a program name with args. | 
|  |  | 3203 | set dummy strip; ac_word=$2 | 
|  |  | 3204 | echo "$as_me:3204: checking for $ac_word" >&5 | 
|  |  | 3205 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  |  | 3206 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
|  |  | 3207 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 3208 | else | 
|  |  | 3209 | if test -n "$ac_ct_STRIP"; then | 
|  |  | 3210 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|  |  | 3211 | else | 
|  |  | 3212 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
|  |  | 3213 | ac_dummy="$PATH" | 
|  |  | 3214 | for ac_dir in $ac_dummy; do | 
|  |  | 3215 | IFS=$ac_save_IFS | 
|  |  | 3216 | test -z "$ac_dir" && ac_dir=. | 
|  |  | 3217 | $as_executable_p "$ac_dir/$ac_word" || continue | 
|  |  | 3218 | ac_cv_prog_ac_ct_STRIP="strip" | 
|  |  | 3219 | echo "$as_me:3219: found $ac_dir/$ac_word" >&5 | 
|  |  | 3220 | break | 
|  |  | 3221 | done | 
|  |  | 3222 |  | 
|  |  | 3223 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
|  |  | 3224 | fi | 
|  |  | 3225 | fi | 
|  |  | 3226 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|  |  | 3227 | if test -n "$ac_ct_STRIP"; then | 
|  |  | 3228 | echo "$as_me:3228: result: $ac_ct_STRIP" >&5 | 
|  |  | 3229 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
|  |  | 3230 | else | 
|  |  | 3231 | echo "$as_me:3231: result: no" >&5 | 
|  |  | 3232 | echo "${ECHO_T}no" >&6 | 
|  |  | 3233 | fi | 
|  |  | 3234 |  | 
|  |  | 3235 | STRIP=$ac_ct_STRIP | 
|  |  | 3236 | else | 
|  |  | 3237 | STRIP="$ac_cv_prog_STRIP" | 
|  |  | 3238 | fi | 
|  |  | 3239 |  | 
|  |  | 3240 | enable_dlopen=no | 
|  |  | 3241 | enable_win32_dll=no | 
| 1331 |  | 3242 |  | 
| 1332 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 3243 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 
| 1333 | if test "${enable_libtool_lock+set}" = set; then | 3244 | if test "${enable_libtool_lock+set}" = set; then | 
| 1334 | enableval="$enable_libtool_lock" | 3245 | enableval="$enable_libtool_lock" | 
| 1335 | : | 3246 |  | 
| 1336 | fi | 3247 | fi; | 
| 1337 |  | 3248 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 
| 1338 | test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" |  |  | 
| 1339 | test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" |  |  | 
| 1340 |  | 3249 |  | 
| 1341 | # Some flags need to be propagated to the compiler or linker for good | 3250 | # Some flags need to be propagated to the compiler or linker for good | 
| 1342 | # libtool support. | 3251 | # libtool support. | 
| 1343 | case "$lt_target" in | 3252 | case $host in | 
| 1344 | *-*-irix6*) | 3253 | *-*-irix6*) | 
| 1345 | # Find out which ABI we are using. | 3254 | # Find out which ABI we are using. | 
| 1346 | echo '#line 1347 "configure"' > conftest.$ac_ext | 3255 | echo '#line 3255 "configure"' > conftest.$ac_ext | 
| 1347 | if { (eval echo configure:1348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3256 | if { (eval echo "$as_me:3256: \"$ac_compile\"") >&5 | 
|  |  | 3257 | (eval $ac_compile) 2>&5 | 
|  |  | 3258 | ac_status=$? | 
|  |  | 3259 | echo "$as_me:3259: \$? = $ac_status" >&5 | 
|  |  | 3260 | (exit $ac_status); }; then | 
| 1348 | case "`/usr/bin/file conftest.o`" in | 3261 | case `/usr/bin/file conftest.$ac_objext` in | 
| 1349 | *32-bit*) | 3262 | *32-bit*) | 
| 1350 | LD="${LD-ld} -32" | 3263 | LD="${LD-ld} -32" | 
| 1351 | ;; | 3264 | ;; | 
| 1352 | *N32*) | 3265 | *N32*) | 
| 1353 | LD="${LD-ld} -n32" | 3266 | LD="${LD-ld} -n32" | 
| … |  | … |  | 
| 1362 |  | 3275 |  | 
| 1363 | *-*-sco3.2v5*) | 3276 | *-*-sco3.2v5*) | 
| 1364 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 3277 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 
| 1365 | SAVE_CFLAGS="$CFLAGS" | 3278 | SAVE_CFLAGS="$CFLAGS" | 
| 1366 | CFLAGS="$CFLAGS -belf" | 3279 | CFLAGS="$CFLAGS -belf" | 
|  |  | 3280 | echo "$as_me:3280: checking whether the C compiler needs -belf" >&5 | 
| 1367 | echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | 3281 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 | 
| 1368 | echo "configure:1369: checking whether the C compiler needs -belf" >&5 |  |  | 
| 1369 | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | 3282 | if test "${lt_cv_cc_needs_belf+set}" = set; then | 
| 1370 | echo $ac_n "(cached) $ac_c" 1>&6 | 3283 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1371 | else | 3284 | else | 
|  |  | 3285 |  | 
|  |  | 3286 | ac_ext=c | 
|  |  | 3287 | ac_cpp='$CPP $CPPFLAGS' | 
|  |  | 3288 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  |  | 3289 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  |  | 3290 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  |  | 3291 |  | 
| 1372 | cat > conftest.$ac_ext <<EOF | 3292 | cat >conftest.$ac_ext <<_ACEOF | 
| 1373 | #line 1374 "configure" | 3293 | #line 3293 "configure" | 
| 1374 | #include "confdefs.h" | 3294 | #include "confdefs.h" | 
| 1375 |  | 3295 |  | 
| 1376 | int main() { | 3296 | int | 
|  |  | 3297 | main () | 
|  |  | 3298 | { | 
| 1377 |  | 3299 |  | 
|  |  | 3300 | ; | 
| 1378 | ; return 0; } | 3301 | return 0; | 
| 1379 | EOF | 3302 | } | 
| 1380 | if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3303 | _ACEOF | 
| 1381 | rm -rf conftest* | 3304 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  |  | 3305 | if { (eval echo "$as_me:3305: \"$ac_link\"") >&5 | 
|  |  | 3306 | (eval $ac_link) 2>&5 | 
|  |  | 3307 | ac_status=$? | 
|  |  | 3308 | echo "$as_me:3308: \$? = $ac_status" >&5 | 
|  |  | 3309 | (exit $ac_status); } && | 
|  |  | 3310 | { ac_try='test -s conftest$ac_exeext' | 
|  |  | 3311 | { (eval echo "$as_me:3311: \"$ac_try\"") >&5 | 
|  |  | 3312 | (eval $ac_try) 2>&5 | 
|  |  | 3313 | ac_status=$? | 
|  |  | 3314 | echo "$as_me:3314: \$? = $ac_status" >&5 | 
|  |  | 3315 | (exit $ac_status); }; }; then | 
| 1382 | lt_cv_cc_needs_belf=yes | 3316 | lt_cv_cc_needs_belf=yes | 
| 1383 | else | 3317 | else | 
| 1384 | echo "configure: failed program was:" >&5 | 3318 | echo "$as_me: failed program was:" >&5 | 
| 1385 | cat conftest.$ac_ext >&5 | 3319 | cat conftest.$ac_ext >&5 | 
| 1386 | rm -rf conftest* |  |  | 
| 1387 | lt_cv_cc_needs_belf=no | 3320 | lt_cv_cc_needs_belf=no | 
| 1388 | fi | 3321 | fi | 
| 1389 | rm -f conftest* | 3322 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 1390 | fi | 3323 | ac_ext=c | 
|  |  | 3324 | ac_cpp='$CPP $CPPFLAGS' | 
|  |  | 3325 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  |  | 3326 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  |  | 3327 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 1391 |  | 3328 |  | 
|  |  | 3329 | fi | 
|  |  | 3330 | echo "$as_me:3330: result: $lt_cv_cc_needs_belf" >&5 | 
| 1392 | echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 | 3331 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 | 
| 1393 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 3332 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 
| 1394 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 3333 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 
| 1395 | CFLAGS="$SAVE_CFLAGS" | 3334 | CFLAGS="$SAVE_CFLAGS" | 
| 1396 | fi | 3335 | fi | 
| 1397 | ;; | 3336 | ;; | 
| 1398 |  | 3337 |  | 
| 1399 |  |  |  | 
| 1400 | esac | 3338 | esac | 
| 1401 |  | 3339 |  | 
|  |  | 3340 | # Sed substitution that helps us do robust quoting.  It backslashifies | 
|  |  | 3341 | # metacharacters that are still active within double-quoted strings. | 
|  |  | 3342 | Xsed='sed -e s/^X//' | 
|  |  | 3343 | sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' | 
| 1402 |  | 3344 |  | 
| 1403 | # Save cache, so that ltconfig can load it | 3345 | # Same as above, but do not quote variable references. | 
| 1404 | cat > confcache <<\EOF | 3346 | double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' | 
| 1405 | # This file is a shell script that caches the results of configure | 3347 |  | 
| 1406 | # tests run on this system so they can be shared between configure | 3348 | # Sed substitution to delay expansion of an escaped shell variable in a | 
| 1407 | # scripts and configure runs.  It is not useful on other systems. | 3349 | # double_quote_subst'ed string. | 
| 1408 | # If it contains results you don't want to keep, you may remove or edit it. | 3350 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | 
| 1409 | # | 3351 |  | 
| 1410 | # By default, configure uses ./config.cache as the cache file, | 3352 | # Constants: | 
| 1411 | # creating it if it does not exist already.  You can give configure | 3353 | rm="rm -f" | 
| 1412 | # the --cache-file=FILE option to use a different cache file; that is | 3354 |  | 
| 1413 | # what configure does when it calls configure scripts in | 3355 | # Global variables: | 
| 1414 | # subdirectories, so they share the cache. | 3356 | default_ofile=libtool | 
| 1415 | # Giving --cache-file=/dev/null disables caching, for debugging configure. | 3357 | can_build_shared=yes | 
| 1416 | # config.status only pays attention to the cache file if you give it the | 3358 |  | 
| 1417 | # --recheck option to rerun configure. | 3359 | # All known linkers require a `.a' archive for static linking (except M$VC, | 
| 1418 | # | 3360 | # which needs '.lib'). | 
|  |  | 3361 | libext=a | 
|  |  | 3362 | ltmain="$ac_aux_dir/ltmain.sh" | 
|  |  | 3363 | ofile="$default_ofile" | 
|  |  | 3364 | with_gnu_ld="$lt_cv_prog_gnu_ld" | 
|  |  | 3365 | need_locks="$enable_libtool_lock" | 
|  |  | 3366 |  | 
|  |  | 3367 | old_CC="$CC" | 
|  |  | 3368 | old_CFLAGS="$CFLAGS" | 
|  |  | 3369 |  | 
|  |  | 3370 | # Set sane defaults for various variables | 
|  |  | 3371 | test -z "$AR" && AR=ar | 
|  |  | 3372 | test -z "$AR_FLAGS" && AR_FLAGS=cru | 
|  |  | 3373 | test -z "$AS" && AS=as | 
|  |  | 3374 | test -z "$CC" && CC=cc | 
|  |  | 3375 | test -z "$DLLTOOL" && DLLTOOL=dlltool | 
|  |  | 3376 | test -z "$LD" && LD=ld | 
|  |  | 3377 | test -z "$LN_S" && LN_S="ln -s" | 
|  |  | 3378 | test -z "$MAGIC_CMD" && MAGIC_CMD=file | 
|  |  | 3379 | test -z "$NM" && NM=nm | 
|  |  | 3380 | test -z "$OBJDUMP" && OBJDUMP=objdump | 
|  |  | 3381 | test -z "$RANLIB" && RANLIB=: | 
|  |  | 3382 | test -z "$STRIP" && STRIP=: | 
|  |  | 3383 | test -z "$ac_objext" && ac_objext=o | 
|  |  | 3384 |  | 
|  |  | 3385 | if test x"$host" != x"$build"; then | 
|  |  | 3386 | ac_tool_prefix=${host_alias}- | 
|  |  | 3387 | else | 
|  |  | 3388 | ac_tool_prefix= | 
|  |  | 3389 | fi | 
|  |  | 3390 |  | 
|  |  | 3391 | # Transform linux* to *-*-linux-gnu*, to support old configure scripts. | 
|  |  | 3392 | case $host_os in | 
|  |  | 3393 | linux-gnu*) ;; | 
|  |  | 3394 | linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 
|  |  | 3395 | esac | 
|  |  | 3396 |  | 
|  |  | 3397 | case $host_os in | 
|  |  | 3398 | aix3*) | 
|  |  | 3399 | # AIX sometimes has problems with the GCC collect2 program.  For some | 
|  |  | 3400 | # reason, if we set the COLLECT_NAMES environment variable, the problems | 
|  |  | 3401 | # vanish in a puff of smoke. | 
|  |  | 3402 | if test "X${COLLECT_NAMES+set}" != Xset; then | 
|  |  | 3403 | COLLECT_NAMES= | 
|  |  | 3404 | export COLLECT_NAMES | 
|  |  | 3405 | fi | 
|  |  | 3406 | ;; | 
|  |  | 3407 | esac | 
|  |  | 3408 |  | 
|  |  | 3409 | # Determine commands to create old-style static archives. | 
|  |  | 3410 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' | 
|  |  | 3411 | old_postinstall_cmds='chmod 644 $oldlib' | 
|  |  | 3412 | old_postuninstall_cmds= | 
|  |  | 3413 |  | 
|  |  | 3414 | if test -n "$RANLIB"; then | 
|  |  | 3415 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | 
|  |  | 3416 | old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" | 
|  |  | 3417 | fi | 
|  |  | 3418 |  | 
|  |  | 3419 | # Allow CC to be a program name with arguments. | 
|  |  | 3420 | set dummy $CC | 
|  |  | 3421 | compiler="$2" | 
|  |  | 3422 |  | 
|  |  | 3423 | echo "$as_me:3423: checking for objdir" >&5 | 
|  |  | 3424 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6 | 
|  |  | 3425 | rm -f .libs 2>/dev/null | 
|  |  | 3426 | mkdir .libs 2>/dev/null | 
|  |  | 3427 | if test -d .libs; then | 
|  |  | 3428 | objdir=.libs | 
|  |  | 3429 | else | 
|  |  | 3430 | # MS-DOS does not allow filenames that begin with a dot. | 
|  |  | 3431 | objdir=_libs | 
|  |  | 3432 | fi | 
|  |  | 3433 | rmdir .libs 2>/dev/null | 
|  |  | 3434 | echo "$as_me:3434: result: $objdir" >&5 | 
|  |  | 3435 | echo "${ECHO_T}$objdir" >&6 | 
|  |  | 3436 |  | 
|  |  | 3437 | # Check whether --with-pic or --without-pic was given. | 
|  |  | 3438 | if test "${with_pic+set}" = set; then | 
|  |  | 3439 | withval="$with_pic" | 
|  |  | 3440 | pic_mode="$withval" | 
|  |  | 3441 | else | 
|  |  | 3442 | pic_mode=default | 
|  |  | 3443 | fi; | 
|  |  | 3444 | test -z "$pic_mode" && pic_mode=default | 
|  |  | 3445 |  | 
|  |  | 3446 | # We assume here that the value for lt_cv_prog_cc_pic will not be cached | 
|  |  | 3447 | # in isolation, and that seeing it set (from the cache) indicates that | 
|  |  | 3448 | # the associated values are set (in the cache) correctly too. | 
|  |  | 3449 | echo "$as_me:3449: checking for $compiler option to produce PIC" >&5 | 
|  |  | 3450 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
|  |  | 3451 | if test "${lt_cv_prog_cc_pic+set}" = set; then | 
|  |  | 3452 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 3453 | else | 
|  |  | 3454 | lt_cv_prog_cc_pic= | 
|  |  | 3455 | lt_cv_prog_cc_shlib= | 
|  |  | 3456 | lt_cv_prog_cc_wl= | 
|  |  | 3457 | lt_cv_prog_cc_static= | 
|  |  | 3458 | lt_cv_prog_cc_no_builtin= | 
|  |  | 3459 | lt_cv_prog_cc_can_build_shared=$can_build_shared | 
|  |  | 3460 |  | 
|  |  | 3461 | if test "$GCC" = yes; then | 
|  |  | 3462 | lt_cv_prog_cc_wl='-Wl,' | 
|  |  | 3463 | lt_cv_prog_cc_static='-static' | 
|  |  | 3464 |  | 
|  |  | 3465 | case $host_os in | 
|  |  | 3466 | aix*) | 
|  |  | 3467 | # Below there is a dirty hack to force normal static linking with -ldl | 
|  |  | 3468 | # The problem is because libdl dynamically linked with both libc and | 
|  |  | 3469 | # libC (AIX C++ library), which obviously doesn't included in libraries | 
|  |  | 3470 | # list by gcc. This cause undefined symbols with -static flags. | 
|  |  | 3471 | # This hack allows C programs to be linked with "-static -ldl", but | 
|  |  | 3472 | # we not sure about C++ programs. | 
|  |  | 3473 | lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" | 
|  |  | 3474 | ;; | 
|  |  | 3475 | amigaos*) | 
|  |  | 3476 | # FIXME: we need at least 68020 code to build shared libraries, but | 
|  |  | 3477 | # adding the `-m68020' flag to GCC prevents building anything better, | 
|  |  | 3478 | # like `-m68040'. | 
|  |  | 3479 | lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' | 
|  |  | 3480 | ;; | 
|  |  | 3481 | beos* | irix5* | irix6* | osf3* | osf4* | osf5*) | 
|  |  | 3482 | # PIC is the default for these OSes. | 
|  |  | 3483 | ;; | 
|  |  | 3484 | darwin* | rhapsody*) | 
|  |  | 3485 | # PIC is the default on this platform | 
|  |  | 3486 | # Common symbols not allowed in MH_DYLIB files | 
|  |  | 3487 | lt_cv_prog_cc_pic='-fno-common' | 
|  |  | 3488 | ;; | 
|  |  | 3489 | cygwin* | mingw* | pw32* | os2*) | 
|  |  | 3490 | # This hack is so that the source file can tell whether it is being | 
|  |  | 3491 | # built for inclusion in a dll (and should export symbols for example). | 
|  |  | 3492 | lt_cv_prog_cc_pic='-DDLL_EXPORT' | 
|  |  | 3493 | ;; | 
|  |  | 3494 | sysv4*MP*) | 
|  |  | 3495 | if test -d /usr/nec; then | 
|  |  | 3496 | lt_cv_prog_cc_pic=-Kconform_pic | 
|  |  | 3497 | fi | 
|  |  | 3498 | ;; | 
|  |  | 3499 | *) | 
|  |  | 3500 | lt_cv_prog_cc_pic='-fPIC' | 
|  |  | 3501 | ;; | 
|  |  | 3502 | esac | 
|  |  | 3503 | else | 
|  |  | 3504 | # PORTME Check for PIC flags for the system compiler. | 
|  |  | 3505 | case $host_os in | 
|  |  | 3506 | aix3* | aix4* | aix5*) | 
|  |  | 3507 | # All AIX code is PIC. | 
|  |  | 3508 | if test "$host_cpu" = ia64; then | 
|  |  | 3509 | # AIX 5 now supports IA64 processor | 
|  |  | 3510 | lt_cv_prog_cc_static='-Bstatic' | 
|  |  | 3511 | lt_cv_prog_cc_wl='-Wl,' | 
|  |  | 3512 | else | 
|  |  | 3513 | lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' | 
|  |  | 3514 | fi | 
|  |  | 3515 | ;; | 
|  |  | 3516 |  | 
|  |  | 3517 | hpux9* | hpux10* | hpux11*) | 
|  |  | 3518 | # Is there a better lt_cv_prog_cc_static that works with the bundled CC? | 
|  |  | 3519 | lt_cv_prog_cc_wl='-Wl,' | 
|  |  | 3520 | lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" | 
|  |  | 3521 | lt_cv_prog_cc_pic='+Z' | 
|  |  | 3522 | ;; | 
|  |  | 3523 |  | 
|  |  | 3524 | irix5* | irix6*) | 
|  |  | 3525 | lt_cv_prog_cc_wl='-Wl,' | 
|  |  | 3526 | lt_cv_prog_cc_static='-non_shared' | 
|  |  | 3527 | # PIC (with -KPIC) is the default. | 
|  |  | 3528 | ;; | 
|  |  | 3529 |  | 
|  |  | 3530 | cygwin* | mingw* | pw32* | os2*) | 
|  |  | 3531 | # This hack is so that the source file can tell whether it is being | 
|  |  | 3532 | # built for inclusion in a dll (and should export symbols for example). | 
|  |  | 3533 | lt_cv_prog_cc_pic='-DDLL_EXPORT' | 
|  |  | 3534 | ;; | 
|  |  | 3535 |  | 
|  |  | 3536 | newsos6) | 
|  |  | 3537 | lt_cv_prog_cc_pic='-KPIC' | 
|  |  | 3538 | lt_cv_prog_cc_static='-Bstatic' | 
|  |  | 3539 | ;; | 
|  |  | 3540 |  | 
|  |  | 3541 | osf3* | osf4* | osf5*) | 
|  |  | 3542 | # All OSF/1 code is PIC. | 
|  |  | 3543 | lt_cv_prog_cc_wl='-Wl,' | 
|  |  | 3544 | lt_cv_prog_cc_static='-non_shared' | 
|  |  | 3545 | ;; | 
|  |  | 3546 |  | 
|  |  | 3547 | sco3.2v5*) | 
|  |  | 3548 | lt_cv_prog_cc_pic='-Kpic' | 
|  |  | 3549 | lt_cv_prog_cc_static='-dn' | 
|  |  | 3550 | lt_cv_prog_cc_shlib='-belf' | 
|  |  | 3551 | ;; | 
|  |  | 3552 |  | 
|  |  | 3553 | solaris*) | 
|  |  | 3554 | lt_cv_prog_cc_pic='-KPIC' | 
|  |  | 3555 | lt_cv_prog_cc_static='-Bstatic' | 
|  |  | 3556 | lt_cv_prog_cc_wl='-Wl,' | 
|  |  | 3557 | ;; | 
|  |  | 3558 |  | 
|  |  | 3559 | sunos4*) | 
|  |  | 3560 | lt_cv_prog_cc_pic='-PIC' | 
|  |  | 3561 | lt_cv_prog_cc_static='-Bstatic' | 
|  |  | 3562 | lt_cv_prog_cc_wl='-Qoption ld ' | 
|  |  | 3563 | ;; | 
|  |  | 3564 |  | 
|  |  | 3565 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
|  |  | 3566 | lt_cv_prog_cc_pic='-KPIC' | 
|  |  | 3567 | lt_cv_prog_cc_static='-Bstatic' | 
|  |  | 3568 | if test "x$host_vendor" = xsni; then | 
|  |  | 3569 | lt_cv_prog_cc_wl='-LD' | 
|  |  | 3570 | else | 
|  |  | 3571 | lt_cv_prog_cc_wl='-Wl,' | 
|  |  | 3572 | fi | 
|  |  | 3573 | ;; | 
|  |  | 3574 |  | 
|  |  | 3575 | uts4*) | 
|  |  | 3576 | lt_cv_prog_cc_pic='-pic' | 
|  |  | 3577 | lt_cv_prog_cc_static='-Bstatic' | 
|  |  | 3578 | ;; | 
|  |  | 3579 |  | 
|  |  | 3580 | sysv4*MP*) | 
|  |  | 3581 | if test -d /usr/nec ;then | 
|  |  | 3582 | lt_cv_prog_cc_pic='-Kconform_pic' | 
|  |  | 3583 | lt_cv_prog_cc_static='-Bstatic' | 
|  |  | 3584 | fi | 
|  |  | 3585 | ;; | 
|  |  | 3586 |  | 
|  |  | 3587 | *) | 
|  |  | 3588 | lt_cv_prog_cc_can_build_shared=no | 
|  |  | 3589 | ;; | 
|  |  | 3590 | esac | 
|  |  | 3591 | fi | 
|  |  | 3592 |  | 
|  |  | 3593 | fi | 
|  |  | 3594 |  | 
|  |  | 3595 | if test -z "$lt_cv_prog_cc_pic"; then | 
|  |  | 3596 | echo "$as_me:3596: result: none" >&5 | 
|  |  | 3597 | echo "${ECHO_T}none" >&6 | 
|  |  | 3598 | else | 
|  |  | 3599 | echo "$as_me:3599: result: $lt_cv_prog_cc_pic" >&5 | 
|  |  | 3600 | echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 | 
|  |  | 3601 |  | 
|  |  | 3602 | # Check to make sure the pic_flag actually works. | 
|  |  | 3603 | echo "$as_me:3603: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 | 
|  |  | 3604 | echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 | 
|  |  | 3605 | if test "${lt_cv_prog_cc_pic_works+set}" = set; then | 
|  |  | 3606 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 3607 | else | 
|  |  | 3608 | save_CFLAGS="$CFLAGS" | 
|  |  | 3609 | CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" | 
|  |  | 3610 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 3611 | #line 3611 "configure" | 
|  |  | 3612 | #include "confdefs.h" | 
|  |  | 3613 |  | 
|  |  | 3614 | int | 
|  |  | 3615 | main () | 
|  |  | 3616 | { | 
|  |  | 3617 |  | 
|  |  | 3618 | ; | 
|  |  | 3619 | return 0; | 
|  |  | 3620 | } | 
|  |  | 3621 | _ACEOF | 
|  |  | 3622 | rm -f conftest.$ac_objext | 
|  |  | 3623 | if { (eval echo "$as_me:3623: \"$ac_compile\"") >&5 | 
|  |  | 3624 | (eval $ac_compile) 2>&5 | 
|  |  | 3625 | ac_status=$? | 
|  |  | 3626 | echo "$as_me:3626: \$? = $ac_status" >&5 | 
|  |  | 3627 | (exit $ac_status); } && | 
|  |  | 3628 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 3629 | { (eval echo "$as_me:3629: \"$ac_try\"") >&5 | 
|  |  | 3630 | (eval $ac_try) 2>&5 | 
|  |  | 3631 | ac_status=$? | 
|  |  | 3632 | echo "$as_me:3632: \$? = $ac_status" >&5 | 
|  |  | 3633 | (exit $ac_status); }; }; then | 
|  |  | 3634 | case $host_os in | 
|  |  | 3635 | hpux9* | hpux10* | hpux11*) | 
|  |  | 3636 | # On HP-UX, both CC and GCC only warn that PIC is supported... then | 
|  |  | 3637 | # they create non-PIC objects.  So, if there were any warnings, we | 
|  |  | 3638 | # assume that PIC is not supported. | 
|  |  | 3639 | if test -s conftest.err; then | 
|  |  | 3640 | lt_cv_prog_cc_pic_works=no | 
|  |  | 3641 | else | 
|  |  | 3642 | lt_cv_prog_cc_pic_works=yes | 
|  |  | 3643 | fi | 
|  |  | 3644 | ;; | 
|  |  | 3645 | *) | 
|  |  | 3646 | lt_cv_prog_cc_pic_works=yes | 
|  |  | 3647 | ;; | 
|  |  | 3648 | esac | 
|  |  | 3649 |  | 
|  |  | 3650 | else | 
|  |  | 3651 | echo "$as_me: failed program was:" >&5 | 
|  |  | 3652 | cat conftest.$ac_ext >&5 | 
|  |  | 3653 | lt_cv_prog_cc_pic_works=no | 
|  |  | 3654 |  | 
|  |  | 3655 | fi | 
|  |  | 3656 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 3657 | CFLAGS="$save_CFLAGS" | 
|  |  | 3658 |  | 
|  |  | 3659 | fi | 
|  |  | 3660 |  | 
|  |  | 3661 | if test "X$lt_cv_prog_cc_pic_works" = Xno; then | 
|  |  | 3662 | lt_cv_prog_cc_pic= | 
|  |  | 3663 | lt_cv_prog_cc_can_build_shared=no | 
|  |  | 3664 | else | 
|  |  | 3665 | lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" | 
|  |  | 3666 | fi | 
|  |  | 3667 |  | 
|  |  | 3668 | echo "$as_me:3668: result: $lt_cv_prog_cc_pic_works" >&5 | 
|  |  | 3669 | echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 | 
|  |  | 3670 | fi | 
|  |  | 3671 |  | 
|  |  | 3672 | # Check for any special shared library compilation flags. | 
|  |  | 3673 | if test -n "$lt_cv_prog_cc_shlib"; then | 
|  |  | 3674 | { echo "$as_me:3674: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 | 
|  |  | 3675 | echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} | 
|  |  | 3676 | if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then : | 
|  |  | 3677 | else | 
|  |  | 3678 | { echo "$as_me:3678: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 | 
|  |  | 3679 | echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} | 
|  |  | 3680 | lt_cv_prog_cc_can_build_shared=no | 
|  |  | 3681 | fi | 
|  |  | 3682 | fi | 
|  |  | 3683 |  | 
|  |  | 3684 | echo "$as_me:3684: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 | 
|  |  | 3685 | echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 | 
|  |  | 3686 | if test "${lt_cv_prog_cc_static_works+set}" = set; then | 
|  |  | 3687 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 3688 | else | 
|  |  | 3689 | lt_cv_prog_cc_static_works=no | 
|  |  | 3690 | save_LDFLAGS="$LDFLAGS" | 
|  |  | 3691 | LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" | 
|  |  | 3692 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 3693 | #line 3693 "configure" | 
|  |  | 3694 | #include "confdefs.h" | 
|  |  | 3695 |  | 
|  |  | 3696 | int | 
|  |  | 3697 | main () | 
|  |  | 3698 | { | 
|  |  | 3699 |  | 
|  |  | 3700 | ; | 
|  |  | 3701 | return 0; | 
|  |  | 3702 | } | 
|  |  | 3703 | _ACEOF | 
|  |  | 3704 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  |  | 3705 | if { (eval echo "$as_me:3705: \"$ac_link\"") >&5 | 
|  |  | 3706 | (eval $ac_link) 2>&5 | 
|  |  | 3707 | ac_status=$? | 
|  |  | 3708 | echo "$as_me:3708: \$? = $ac_status" >&5 | 
|  |  | 3709 | (exit $ac_status); } && | 
|  |  | 3710 | { ac_try='test -s conftest$ac_exeext' | 
|  |  | 3711 | { (eval echo "$as_me:3711: \"$ac_try\"") >&5 | 
|  |  | 3712 | (eval $ac_try) 2>&5 | 
|  |  | 3713 | ac_status=$? | 
|  |  | 3714 | echo "$as_me:3714: \$? = $ac_status" >&5 | 
|  |  | 3715 | (exit $ac_status); }; }; then | 
|  |  | 3716 | lt_cv_prog_cc_static_works=yes | 
|  |  | 3717 | else | 
|  |  | 3718 | echo "$as_me: failed program was:" >&5 | 
|  |  | 3719 | cat conftest.$ac_ext >&5 | 
|  |  | 3720 | fi | 
|  |  | 3721 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  |  | 3722 | LDFLAGS="$save_LDFLAGS" | 
|  |  | 3723 |  | 
|  |  | 3724 | fi | 
|  |  | 3725 |  | 
|  |  | 3726 | # Belt *and* braces to stop my trousers falling down: | 
|  |  | 3727 | test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= | 
|  |  | 3728 | echo "$as_me:3728: result: $lt_cv_prog_cc_static_works" >&5 | 
|  |  | 3729 | echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 | 
|  |  | 3730 |  | 
|  |  | 3731 | pic_flag="$lt_cv_prog_cc_pic" | 
|  |  | 3732 | special_shlib_compile_flags="$lt_cv_prog_cc_shlib" | 
|  |  | 3733 | wl="$lt_cv_prog_cc_wl" | 
|  |  | 3734 | link_static_flag="$lt_cv_prog_cc_static" | 
|  |  | 3735 | no_builtin_flag="$lt_cv_prog_cc_no_builtin" | 
|  |  | 3736 | can_build_shared="$lt_cv_prog_cc_can_build_shared" | 
|  |  | 3737 |  | 
|  |  | 3738 | # Check to see if options -o and -c are simultaneously supported by compiler | 
|  |  | 3739 | echo "$as_me:3739: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
|  |  | 3740 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
|  |  | 3741 | if test "${lt_cv_compiler_c_o+set}" = set; then | 
|  |  | 3742 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 3743 | else | 
|  |  | 3744 |  | 
|  |  | 3745 | $rm -r conftest 2>/dev/null | 
|  |  | 3746 | mkdir conftest | 
|  |  | 3747 | cd conftest | 
|  |  | 3748 | echo "int some_variable = 0;" > conftest.$ac_ext | 
|  |  | 3749 | mkdir out | 
|  |  | 3750 | # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
|  |  | 3751 | # that will create temporary files in the current directory regardless of | 
|  |  | 3752 | # the output directory.  Thus, making CWD read-only will cause this test | 
|  |  | 3753 | # to fail, enabling locking or at least warning the user not to do parallel | 
|  |  | 3754 | # builds. | 
|  |  | 3755 | chmod -w . | 
|  |  | 3756 | save_CFLAGS="$CFLAGS" | 
|  |  | 3757 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" | 
|  |  | 3758 | compiler_c_o=no | 
|  |  | 3759 | if { (eval echo configure:3759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then | 
|  |  | 3760 | # The compiler can only warn and ignore the option if not recognized | 
|  |  | 3761 | # So say no if there are warnings | 
|  |  | 3762 | if test -s out/conftest.err; then | 
|  |  | 3763 | lt_cv_compiler_c_o=no | 
|  |  | 3764 | else | 
|  |  | 3765 | lt_cv_compiler_c_o=yes | 
|  |  | 3766 | fi | 
|  |  | 3767 | else | 
|  |  | 3768 | # Append any errors to the config.log. | 
|  |  | 3769 | cat out/conftest.err 1>&5 | 
|  |  | 3770 | lt_cv_compiler_c_o=no | 
|  |  | 3771 | fi | 
|  |  | 3772 | CFLAGS="$save_CFLAGS" | 
|  |  | 3773 | chmod u+w . | 
|  |  | 3774 | $rm conftest* out/* | 
|  |  | 3775 | rmdir out | 
|  |  | 3776 | cd .. | 
|  |  | 3777 | rmdir conftest | 
|  |  | 3778 | $rm -r conftest 2>/dev/null | 
|  |  | 3779 |  | 
|  |  | 3780 | fi | 
|  |  | 3781 |  | 
|  |  | 3782 | compiler_c_o=$lt_cv_compiler_c_o | 
|  |  | 3783 | echo "$as_me:3783: result: $compiler_c_o" >&5 | 
|  |  | 3784 | echo "${ECHO_T}$compiler_c_o" >&6 | 
|  |  | 3785 |  | 
|  |  | 3786 | if test x"$compiler_c_o" = x"yes"; then | 
|  |  | 3787 | # Check to see if we can write to a .lo | 
|  |  | 3788 | echo "$as_me:3788: checking if $compiler supports -c -o file.lo" >&5 | 
|  |  | 3789 | echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 | 
|  |  | 3790 | if test "${lt_cv_compiler_o_lo+set}" = set; then | 
|  |  | 3791 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 3792 | else | 
|  |  | 3793 |  | 
|  |  | 3794 | lt_cv_compiler_o_lo=no | 
|  |  | 3795 | save_CFLAGS="$CFLAGS" | 
|  |  | 3796 | CFLAGS="$CFLAGS -c -o conftest.lo" | 
|  |  | 3797 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 3798 | #line 3798 "configure" | 
|  |  | 3799 | #include "confdefs.h" | 
|  |  | 3800 |  | 
|  |  | 3801 | int | 
|  |  | 3802 | main () | 
|  |  | 3803 | { | 
|  |  | 3804 | int some_variable = 0; | 
|  |  | 3805 | ; | 
|  |  | 3806 | return 0; | 
|  |  | 3807 | } | 
|  |  | 3808 | _ACEOF | 
|  |  | 3809 | rm -f conftest.$ac_objext | 
|  |  | 3810 | if { (eval echo "$as_me:3810: \"$ac_compile\"") >&5 | 
|  |  | 3811 | (eval $ac_compile) 2>&5 | 
|  |  | 3812 | ac_status=$? | 
|  |  | 3813 | echo "$as_me:3813: \$? = $ac_status" >&5 | 
|  |  | 3814 | (exit $ac_status); } && | 
|  |  | 3815 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 3816 | { (eval echo "$as_me:3816: \"$ac_try\"") >&5 | 
|  |  | 3817 | (eval $ac_try) 2>&5 | 
|  |  | 3818 | ac_status=$? | 
|  |  | 3819 | echo "$as_me:3819: \$? = $ac_status" >&5 | 
|  |  | 3820 | (exit $ac_status); }; }; then | 
|  |  | 3821 | # The compiler can only warn and ignore the option if not recognized | 
|  |  | 3822 | # So say no if there are warnings | 
|  |  | 3823 | if test -s conftest.err; then | 
|  |  | 3824 | lt_cv_compiler_o_lo=no | 
|  |  | 3825 | else | 
|  |  | 3826 | lt_cv_compiler_o_lo=yes | 
|  |  | 3827 | fi | 
|  |  | 3828 |  | 
|  |  | 3829 | else | 
|  |  | 3830 | echo "$as_me: failed program was:" >&5 | 
|  |  | 3831 | cat conftest.$ac_ext >&5 | 
|  |  | 3832 | fi | 
|  |  | 3833 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 3834 | CFLAGS="$save_CFLAGS" | 
|  |  | 3835 |  | 
|  |  | 3836 | fi | 
|  |  | 3837 |  | 
|  |  | 3838 | compiler_o_lo=$lt_cv_compiler_o_lo | 
|  |  | 3839 | echo "$as_me:3839: result: $compiler_c_lo" >&5 | 
|  |  | 3840 | echo "${ECHO_T}$compiler_c_lo" >&6 | 
|  |  | 3841 | else | 
|  |  | 3842 | compiler_o_lo=no | 
|  |  | 3843 | fi | 
|  |  | 3844 |  | 
|  |  | 3845 | # Check to see if we can do hard links to lock some files if needed | 
|  |  | 3846 | hard_links="nottested" | 
|  |  | 3847 | if test "$compiler_c_o" = no && test "$need_locks" != no; then | 
|  |  | 3848 | # do not overwrite the value of need_locks provided by the user | 
|  |  | 3849 | echo "$as_me:3849: checking if we can lock with hard links" >&5 | 
|  |  | 3850 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
|  |  | 3851 | hard_links=yes | 
|  |  | 3852 | $rm conftest* | 
|  |  | 3853 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
|  |  | 3854 | touch conftest.a | 
|  |  | 3855 | ln conftest.a conftest.b 2>&5 || hard_links=no | 
|  |  | 3856 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
|  |  | 3857 | echo "$as_me:3857: result: $hard_links" >&5 | 
|  |  | 3858 | echo "${ECHO_T}$hard_links" >&6 | 
|  |  | 3859 | if test "$hard_links" = no; then | 
|  |  | 3860 | { echo "$as_me:3860: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
|  |  | 3861 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
|  |  | 3862 | need_locks=warn | 
|  |  | 3863 | fi | 
|  |  | 3864 | else | 
|  |  | 3865 | need_locks=no | 
|  |  | 3866 | fi | 
|  |  | 3867 |  | 
|  |  | 3868 | if test "$GCC" = yes; then | 
|  |  | 3869 | # Check to see if options -fno-rtti -fno-exceptions are supported by compiler | 
|  |  | 3870 | echo "$as_me:3870: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 
|  |  | 3871 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | 
|  |  | 3872 | echo "int some_variable = 0;" > conftest.$ac_ext | 
|  |  | 3873 | save_CFLAGS="$CFLAGS" | 
|  |  | 3874 | CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" | 
|  |  | 3875 | compiler_rtti_exceptions=no | 
|  |  | 3876 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 3877 | #line 3877 "configure" | 
|  |  | 3878 | #include "confdefs.h" | 
|  |  | 3879 |  | 
|  |  | 3880 | int | 
|  |  | 3881 | main () | 
|  |  | 3882 | { | 
|  |  | 3883 | int some_variable = 0; | 
|  |  | 3884 | ; | 
|  |  | 3885 | return 0; | 
|  |  | 3886 | } | 
|  |  | 3887 | _ACEOF | 
|  |  | 3888 | rm -f conftest.$ac_objext | 
|  |  | 3889 | if { (eval echo "$as_me:3889: \"$ac_compile\"") >&5 | 
|  |  | 3890 | (eval $ac_compile) 2>&5 | 
|  |  | 3891 | ac_status=$? | 
|  |  | 3892 | echo "$as_me:3892: \$? = $ac_status" >&5 | 
|  |  | 3893 | (exit $ac_status); } && | 
|  |  | 3894 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 3895 | { (eval echo "$as_me:3895: \"$ac_try\"") >&5 | 
|  |  | 3896 | (eval $ac_try) 2>&5 | 
|  |  | 3897 | ac_status=$? | 
|  |  | 3898 | echo "$as_me:3898: \$? = $ac_status" >&5 | 
|  |  | 3899 | (exit $ac_status); }; }; then | 
|  |  | 3900 | # The compiler can only warn and ignore the option if not recognized | 
|  |  | 3901 | # So say no if there are warnings | 
|  |  | 3902 | if test -s conftest.err; then | 
|  |  | 3903 | compiler_rtti_exceptions=no | 
|  |  | 3904 | else | 
|  |  | 3905 | compiler_rtti_exceptions=yes | 
|  |  | 3906 | fi | 
|  |  | 3907 |  | 
|  |  | 3908 | else | 
|  |  | 3909 | echo "$as_me: failed program was:" >&5 | 
|  |  | 3910 | cat conftest.$ac_ext >&5 | 
|  |  | 3911 | fi | 
|  |  | 3912 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 3913 | CFLAGS="$save_CFLAGS" | 
|  |  | 3914 | echo "$as_me:3914: result: $compiler_rtti_exceptions" >&5 | 
|  |  | 3915 | echo "${ECHO_T}$compiler_rtti_exceptions" >&6 | 
|  |  | 3916 |  | 
|  |  | 3917 | if test "$compiler_rtti_exceptions" = "yes"; then | 
|  |  | 3918 | no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' | 
|  |  | 3919 | else | 
|  |  | 3920 | no_builtin_flag=' -fno-builtin' | 
|  |  | 3921 | fi | 
|  |  | 3922 | fi | 
|  |  | 3923 |  | 
|  |  | 3924 | # See if the linker supports building shared libraries. | 
|  |  | 3925 | echo "$as_me:3925: checking whether the linker ($LD) supports shared libraries" >&5 | 
|  |  | 3926 | echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
|  |  | 3927 |  | 
|  |  | 3928 | allow_undefined_flag= | 
|  |  | 3929 | no_undefined_flag= | 
|  |  | 3930 | need_lib_prefix=unknown | 
|  |  | 3931 | need_version=unknown | 
|  |  | 3932 | # when you set need_version to no, make sure it does not cause -set_version | 
|  |  | 3933 | # flags to be left without arguments | 
|  |  | 3934 | archive_cmds= | 
|  |  | 3935 | archive_expsym_cmds= | 
|  |  | 3936 | old_archive_from_new_cmds= | 
|  |  | 3937 | old_archive_from_expsyms_cmds= | 
|  |  | 3938 | export_dynamic_flag_spec= | 
|  |  | 3939 | whole_archive_flag_spec= | 
|  |  | 3940 | thread_safe_flag_spec= | 
|  |  | 3941 | hardcode_into_libs=no | 
|  |  | 3942 | hardcode_libdir_flag_spec= | 
|  |  | 3943 | hardcode_libdir_separator= | 
|  |  | 3944 | hardcode_direct=no | 
|  |  | 3945 | hardcode_minus_L=no | 
|  |  | 3946 | hardcode_shlibpath_var=unsupported | 
|  |  | 3947 | runpath_var= | 
|  |  | 3948 | link_all_deplibs=unknown | 
|  |  | 3949 | always_export_symbols=no | 
|  |  | 3950 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
|  |  | 3951 | # include_expsyms should be a list of space-separated symbols to be *always* | 
|  |  | 3952 | # included in the symbol list | 
|  |  | 3953 | include_expsyms= | 
|  |  | 3954 | # exclude_expsyms can be an egrep regular expression of symbols to exclude | 
|  |  | 3955 | # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
|  |  | 3956 | # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
|  |  | 3957 | # as well as any symbol that contains `d'. | 
|  |  | 3958 | exclude_expsyms="_GLOBAL_OFFSET_TABLE_" | 
|  |  | 3959 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
|  |  | 3960 | # platforms (ab)use it in PIC code, but their linkers get confused if | 
|  |  | 3961 | # the symbol is explicitly referenced.  Since portable code cannot | 
|  |  | 3962 | # rely on this symbol name, it's probably fine to never include it in | 
|  |  | 3963 | # preloaded symbol tables. | 
|  |  | 3964 | extract_expsyms_cmds= | 
|  |  | 3965 |  | 
|  |  | 3966 | case $host_os in | 
|  |  | 3967 | cygwin* | mingw* | pw32* ) | 
|  |  | 3968 | # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
|  |  | 3969 | # When not using gcc, we currently assume that we are using | 
|  |  | 3970 | # Microsoft Visual C++. | 
|  |  | 3971 | if test "$GCC" != yes; then | 
|  |  | 3972 | with_gnu_ld=no | 
|  |  | 3973 | fi | 
|  |  | 3974 | ;; | 
|  |  | 3975 |  | 
|  |  | 3976 | esac | 
|  |  | 3977 |  | 
|  |  | 3978 | ld_shlibs=yes | 
|  |  | 3979 | if test "$with_gnu_ld" = yes; then | 
|  |  | 3980 | # If archive_cmds runs LD, not CC, wlarc should be empty | 
|  |  | 3981 | wlarc='${wl}' | 
|  |  | 3982 |  | 
|  |  | 3983 | # See if GNU ld supports shared libraries. | 
|  |  | 3984 | case $host_os in | 
|  |  | 3985 | aix3* | aix4* | aix5*) | 
|  |  | 3986 | # On AIX, the GNU linker is very broken | 
|  |  | 3987 | # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. | 
|  |  | 3988 | ld_shlibs=no | 
|  |  | 3989 | cat <<EOF 1>&2 | 
|  |  | 3990 |  | 
|  |  | 3991 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
|  |  | 3992 | *** to be unable to reliably create shared libraries on AIX. | 
|  |  | 3993 | *** Therefore, libtool is disabling shared libraries support.  If you | 
|  |  | 3994 | *** really care for shared libraries, you may want to modify your PATH | 
|  |  | 3995 | *** so that a non-GNU linker is found, and then restart. | 
|  |  | 3996 |  | 
| 1419 | EOF | 3997 | EOF | 
| 1420 | # The following way of writing the cache mishandles newlines in values, | 3998 | ;; | 
| 1421 | # but we know of no workaround that is simple, portable, and efficient. | 3999 |  | 
| 1422 | # So, don't put newlines in cache variables' values. | 4000 | amigaos*) | 
| 1423 | # Ultrix sh set writes to stderr and can't be redirected directly, | 4001 | 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)' | 
| 1424 | # and sets the high bit in the cache file unless we assign to the vars. | 4002 | hardcode_libdir_flag_spec='-L$libdir' | 
| 1425 | (set) 2>&1 | | 4003 | hardcode_minus_L=yes | 
| 1426 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | 4004 |  | 
| 1427 | *ac_space=\ *) | 4005 | # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
| 1428 | # `set' does not quote correctly, so add quotes (double-quote substitution | 4006 | # that the semantics of dynamic libraries on AmigaOS, at least up | 
| 1429 | # turns \\\\ into \\, and sed turns \\ into \). | 4007 | # to version 4, is to share data among multiple programs linked | 
| 1430 | sed -n \ | 4008 | # with the same dynamic library.  Since this doesn't match the | 
| 1431 | -e "s/'/'\\\\''/g" \ | 4009 | # behavior of shared libraries on other platforms, we can use | 
| 1432 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | 4010 | # them. | 
|  |  | 4011 | ld_shlibs=no | 
|  |  | 4012 | ;; | 
|  |  | 4013 |  | 
|  |  | 4014 | beos*) | 
|  |  | 4015 | if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | 
|  |  | 4016 | allow_undefined_flag=unsupported | 
|  |  | 4017 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
|  |  | 4018 | # support --undefined.  This deserves some investigation.  FIXME | 
|  |  | 4019 | archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  |  | 4020 | else | 
|  |  | 4021 | ld_shlibs=no | 
|  |  | 4022 | fi | 
|  |  | 4023 | ;; | 
|  |  | 4024 |  | 
|  |  | 4025 | cygwin* | mingw* | pw32*) | 
|  |  | 4026 | # hardcode_libdir_flag_spec is actually meaningless, as there is | 
|  |  | 4027 | # no search path for DLLs. | 
|  |  | 4028 | hardcode_libdir_flag_spec='-L$libdir' | 
|  |  | 4029 | allow_undefined_flag=unsupported | 
|  |  | 4030 | always_export_symbols=yes | 
|  |  | 4031 |  | 
|  |  | 4032 | extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ | 
|  |  | 4033 | sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ | 
|  |  | 4034 | test -f $output_objdir/impgen.exe || (cd $output_objdir && \ | 
|  |  | 4035 | if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ | 
|  |  | 4036 | else $CC -o impgen impgen.c ; fi)~ | 
|  |  | 4037 | $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' | 
|  |  | 4038 |  | 
|  |  | 4039 | old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' | 
|  |  | 4040 |  | 
|  |  | 4041 | # cygwin and mingw dlls have different entry points and sets of symbols | 
|  |  | 4042 | # to exclude. | 
|  |  | 4043 | # FIXME: what about values for MSVC? | 
|  |  | 4044 | dll_entry=__cygwin_dll_entry@12 | 
|  |  | 4045 | dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ | 
|  |  | 4046 | case $host_os in | 
|  |  | 4047 | mingw*) | 
|  |  | 4048 | # mingw values | 
|  |  | 4049 | dll_entry=_DllMainCRTStartup@12 | 
|  |  | 4050 | dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ | 
|  |  | 4051 | ;; | 
|  |  | 4052 | esac | 
|  |  | 4053 |  | 
|  |  | 4054 | # mingw and cygwin differ, and it's simplest to just exclude the union | 
|  |  | 4055 | # of the two symbol sets. | 
|  |  | 4056 | dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 | 
|  |  | 4057 |  | 
|  |  | 4058 | # recent cygwin and mingw systems supply a stub DllMain which the user | 
|  |  | 4059 | # can override, but on older systems we have to supply one (in ltdll.c) | 
|  |  | 4060 | if test "x$lt_cv_need_dllmain" = "xyes"; then | 
|  |  | 4061 | ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " | 
|  |  | 4062 | 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~ | 
|  |  | 4063 | test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' | 
|  |  | 4064 | else | 
|  |  | 4065 | ltdll_obj= | 
|  |  | 4066 | ltdll_cmds= | 
|  |  | 4067 | fi | 
|  |  | 4068 |  | 
|  |  | 4069 | # Extract the symbol export list from an `--export-all' def file, | 
|  |  | 4070 | # then regenerate the def file from the symbol export list, so that | 
|  |  | 4071 | # the compiled dll only exports the symbol export list. | 
|  |  | 4072 | # Be careful not to strip the DATA tag left be newer dlltools. | 
|  |  | 4073 | export_symbols_cmds="$ltdll_cmds"' | 
|  |  | 4074 | $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ | 
|  |  | 4075 | sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' | 
|  |  | 4076 |  | 
|  |  | 4077 | # If the export-symbols file already is a .def file (1st line | 
|  |  | 4078 | # is EXPORTS), use it as is. | 
|  |  | 4079 | # If DATA tags from a recent dlltool are present, honour them! | 
|  |  | 4080 | archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then | 
|  |  | 4081 | cp $export_symbols $output_objdir/$soname-def; | 
|  |  | 4082 | else | 
|  |  | 4083 | echo EXPORTS > $output_objdir/$soname-def; | 
|  |  | 4084 | _lt_hint=1; | 
|  |  | 4085 | cat $export_symbols | while read symbol; do | 
|  |  | 4086 | set dummy \$symbol; | 
|  |  | 4087 | case \$# in | 
|  |  | 4088 | 2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; | 
|  |  | 4089 | *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; | 
|  |  | 4090 | esac; | 
|  |  | 4091 | _lt_hint=`expr 1 + \$_lt_hint`; | 
|  |  | 4092 | done; | 
|  |  | 4093 | fi~ | 
|  |  | 4094 | '"$ltdll_cmds"' | 
|  |  | 4095 | $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~ | 
|  |  | 4096 | $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~ | 
|  |  | 4097 | $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~ | 
|  |  | 4098 | $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~ | 
|  |  | 4099 | $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' | 
|  |  | 4100 | ;; | 
|  |  | 4101 |  | 
|  |  | 4102 | netbsd*) | 
|  |  | 4103 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  |  | 4104 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
|  |  | 4105 | wlarc= | 
|  |  | 4106 | else | 
|  |  | 4107 | archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  |  | 4108 | archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  |  | 4109 | fi | 
|  |  | 4110 | ;; | 
|  |  | 4111 |  | 
|  |  | 4112 | solaris* | sysv5*) | 
|  |  | 4113 | if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then | 
|  |  | 4114 | ld_shlibs=no | 
|  |  | 4115 | cat <<EOF 1>&2 | 
|  |  | 4116 |  | 
|  |  | 4117 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
|  |  | 4118 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
|  |  | 4119 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
|  |  | 4120 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
|  |  | 4121 | *** your PATH or compiler configuration so that the native linker is | 
|  |  | 4122 | *** used, and then restart. | 
|  |  | 4123 |  | 
|  |  | 4124 | EOF | 
|  |  | 4125 | elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | 
|  |  | 4126 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  |  | 4127 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  |  | 4128 | else | 
|  |  | 4129 | ld_shlibs=no | 
|  |  | 4130 | fi | 
|  |  | 4131 | ;; | 
|  |  | 4132 |  | 
|  |  | 4133 | sunos4*) | 
|  |  | 4134 | archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4135 | wlarc= | 
|  |  | 4136 | hardcode_direct=yes | 
|  |  | 4137 | hardcode_shlibpath_var=no | 
|  |  | 4138 | ;; | 
|  |  | 4139 |  | 
|  |  | 4140 | *) | 
|  |  | 4141 | if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | 
|  |  | 4142 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  |  | 4143 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  |  | 4144 | else | 
|  |  | 4145 | ld_shlibs=no | 
|  |  | 4146 | fi | 
|  |  | 4147 | ;; | 
|  |  | 4148 | esac | 
|  |  | 4149 |  | 
|  |  | 4150 | if test "$ld_shlibs" = yes; then | 
|  |  | 4151 | runpath_var=LD_RUN_PATH | 
|  |  | 4152 | hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' | 
|  |  | 4153 | export_dynamic_flag_spec='${wl}--export-dynamic' | 
|  |  | 4154 | case $host_os in | 
|  |  | 4155 | cygwin* | mingw* | pw32*) | 
|  |  | 4156 | # dlltool doesn't understand --whole-archive et. al. | 
|  |  | 4157 | whole_archive_flag_spec= | 
|  |  | 4158 | ;; | 
|  |  | 4159 | *) | 
|  |  | 4160 | # ancient GNU ld didn't support --whole-archive et. al. | 
|  |  | 4161 | if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then | 
|  |  | 4162 | whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
|  |  | 4163 | else | 
|  |  | 4164 | whole_archive_flag_spec= | 
|  |  | 4165 | fi | 
|  |  | 4166 | ;; | 
|  |  | 4167 | esac | 
|  |  | 4168 | fi | 
|  |  | 4169 | else | 
|  |  | 4170 | # PORTME fill in a description of your system's linker (not GNU ld) | 
|  |  | 4171 | case $host_os in | 
|  |  | 4172 | aix3*) | 
|  |  | 4173 | allow_undefined_flag=unsupported | 
|  |  | 4174 | always_export_symbols=yes | 
|  |  | 4175 | 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' | 
|  |  | 4176 | # Note: this linker hardcodes the directories in LIBPATH if there | 
|  |  | 4177 | # are no directories specified by -L. | 
|  |  | 4178 | hardcode_minus_L=yes | 
|  |  | 4179 | if test "$GCC" = yes && test -z "$link_static_flag"; then | 
|  |  | 4180 | # Neither direct hardcoding nor static linking is supported with a | 
|  |  | 4181 | # broken collect2. | 
|  |  | 4182 | hardcode_direct=unsupported | 
|  |  | 4183 | fi | 
|  |  | 4184 | ;; | 
|  |  | 4185 |  | 
|  |  | 4186 | aix4* | aix5*) | 
|  |  | 4187 | # When large executables or shared objects are built, AIX ld can | 
|  |  | 4188 | # have problems creating the table of contents.  If linking a library | 
|  |  | 4189 | # or program results in "error TOC overflow" add -mminimal-toc to | 
|  |  | 4190 | # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
|  |  | 4191 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
|  |  | 4192 |  | 
|  |  | 4193 | archive_cmds='' | 
|  |  | 4194 | hardcode_libdir_separator=':' | 
|  |  | 4195 | if test "$GCC" = yes; then | 
|  |  | 4196 | collect2name=`${CC} -print-prog-name=collect2` | 
|  |  | 4197 | if test -f "$collect2name" && \ | 
|  |  | 4198 | strings "$collect2name" | grep resolve_lib_name >/dev/null | 
|  |  | 4199 | then | 
|  |  | 4200 | # We have reworked collect2 | 
|  |  | 4201 | hardcode_direct=yes | 
|  |  | 4202 | else | 
|  |  | 4203 | # We have old collect2 | 
|  |  | 4204 | hardcode_direct=unsupported | 
|  |  | 4205 | # It fails to find uninstalled libraries when the uninstalled | 
|  |  | 4206 | # path is not listed in the libpath.  Setting hardcode_minus_L | 
|  |  | 4207 | # to unsupported forces relinking | 
|  |  | 4208 | hardcode_minus_L=yes | 
|  |  | 4209 | hardcode_libdir_flag_spec='-L$libdir' | 
|  |  | 4210 | hardcode_libdir_separator= | 
|  |  | 4211 | fi | 
|  |  | 4212 | shared_flag='-shared' | 
|  |  | 4213 | else | 
|  |  | 4214 | if test "$host_cpu" = ia64; then | 
|  |  | 4215 | shared_flag='-G' | 
|  |  | 4216 | else | 
|  |  | 4217 | shared_flag='${wl}-bM:SRE' | 
|  |  | 4218 | fi | 
|  |  | 4219 | hardcode_direct=yes | 
|  |  | 4220 | fi | 
|  |  | 4221 |  | 
|  |  | 4222 | if test "$host_cpu" = ia64; then | 
|  |  | 4223 | # On IA64, the linker does run time linking by default, so we don't | 
|  |  | 4224 | # have to do anything special. | 
|  |  | 4225 | aix_use_runtimelinking=no | 
|  |  | 4226 | exp_sym_flag='-Bexport' | 
|  |  | 4227 | no_entry_flag="" | 
|  |  | 4228 | else | 
|  |  | 4229 | # Test if we are trying to use run time linking, or normal AIX style linking. | 
|  |  | 4230 | # If -brtl is somewhere in LDFLAGS, we need to do run time linking. | 
|  |  | 4231 | aix_use_runtimelinking=no | 
|  |  | 4232 | for ld_flag in $LDFLAGS; do | 
|  |  | 4233 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl" ); then | 
|  |  | 4234 | aix_use_runtimelinking=yes | 
|  |  | 4235 | break | 
|  |  | 4236 | fi | 
|  |  | 4237 | done | 
|  |  | 4238 | exp_sym_flag='-bexport' | 
|  |  | 4239 | no_entry_flag='-bnoentry' | 
|  |  | 4240 | fi | 
|  |  | 4241 | # It seems that -bexpall can do strange things, so it is better to | 
|  |  | 4242 | # generate a list of symbols to export. | 
|  |  | 4243 | always_export_symbols=yes | 
|  |  | 4244 | if test "$aix_use_runtimelinking" = yes; then | 
|  |  | 4245 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' | 
|  |  | 4246 | allow_undefined_flag=' -Wl,-G' | 
|  |  | 4247 | 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" | 
|  |  | 4248 | else | 
|  |  | 4249 | if test "$host_cpu" = ia64; then | 
|  |  | 4250 | hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | 
|  |  | 4251 | allow_undefined_flag="-znodefs" | 
|  |  | 4252 | 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" | 
|  |  | 4253 | else | 
|  |  | 4254 | hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' | 
|  |  | 4255 | # Warning - without using the other run time loading flags, -berok will | 
|  |  | 4256 | #           link without error, but may produce a broken library. | 
|  |  | 4257 | allow_undefined_flag='${wl}-berok" | 
|  |  | 4258 | # This is a bit strange, but is similar to how AIX traditionally builds | 
|  |  | 4259 | # it's shared libraries. | 
|  |  | 4260 | 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' | 
|  |  | 4261 | fi | 
|  |  | 4262 | fi | 
|  |  | 4263 | ;; | 
|  |  | 4264 |  | 
|  |  | 4265 | amigaos*) | 
|  |  | 4266 | 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)' | 
|  |  | 4267 | hardcode_libdir_flag_spec='-L$libdir' | 
|  |  | 4268 | hardcode_minus_L=yes | 
|  |  | 4269 | # see comment about different semantics on the GNU ld section | 
|  |  | 4270 | ld_shlibs=no | 
|  |  | 4271 | ;; | 
|  |  | 4272 |  | 
|  |  | 4273 | cygwin* | mingw* | pw32*) | 
|  |  | 4274 | # When not using gcc, we currently assume that we are using | 
|  |  | 4275 | # Microsoft Visual C++. | 
|  |  | 4276 | # hardcode_libdir_flag_spec is actually meaningless, as there is | 
|  |  | 4277 | # no search path for DLLs. | 
|  |  | 4278 | hardcode_libdir_flag_spec=' ' | 
|  |  | 4279 | allow_undefined_flag=unsupported | 
|  |  | 4280 | # Tell ltmain to make .lib files, not .a files. | 
|  |  | 4281 | libext=lib | 
|  |  | 4282 | # FIXME: Setting linknames here is a bad hack. | 
|  |  | 4283 | archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
|  |  | 4284 | # The linker will automatically build a .lib file if we build a DLL. | 
|  |  | 4285 | old_archive_from_new_cmds='true' | 
|  |  | 4286 | # FIXME: Should let the user specify the lib program. | 
|  |  | 4287 | old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
|  |  | 4288 | fix_srcfile_path='`cygpath -w "$srcfile"`' | 
|  |  | 4289 | ;; | 
|  |  | 4290 |  | 
|  |  | 4291 | darwin* | rhapsody*) | 
|  |  | 4292 | allow_undefined_flag='-undefined suppress' | 
|  |  | 4293 | # FIXME: Relying on posixy $() will cause problems for | 
|  |  | 4294 | #        cross-compilation, but unfortunately the echo tests do not | 
|  |  | 4295 | #        yet detect zsh echo's removal of \ escapes. | 
|  |  | 4296 | archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' | 
|  |  | 4297 | # We need to add '_' to the symbols in $export_symbols first | 
|  |  | 4298 | #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' | 
|  |  | 4299 | hardcode_direct=yes | 
|  |  | 4300 | hardcode_shlibpath_var=no | 
|  |  | 4301 | whole_archive_flag_spec='-all_load $convenience' | 
|  |  | 4302 | ;; | 
|  |  | 4303 |  | 
|  |  | 4304 | freebsd1*) | 
|  |  | 4305 | ld_shlibs=no | 
|  |  | 4306 | ;; | 
|  |  | 4307 |  | 
|  |  | 4308 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
|  |  | 4309 | # support.  Future versions do this automatically, but an explicit c++rt0.o | 
|  |  | 4310 | # does not break anything, and helps significantly (at the cost of a little | 
|  |  | 4311 | # extra space). | 
|  |  | 4312 | freebsd2.2*) | 
|  |  | 4313 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
|  |  | 4314 | hardcode_libdir_flag_spec='-R$libdir' | 
|  |  | 4315 | hardcode_direct=yes | 
|  |  | 4316 | hardcode_shlibpath_var=no | 
|  |  | 4317 | ;; | 
|  |  | 4318 |  | 
|  |  | 4319 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
|  |  | 4320 | freebsd2*) | 
|  |  | 4321 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4322 | hardcode_direct=yes | 
|  |  | 4323 | hardcode_minus_L=yes | 
|  |  | 4324 | hardcode_shlibpath_var=no | 
|  |  | 4325 | ;; | 
|  |  | 4326 |  | 
|  |  | 4327 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
|  |  | 4328 | freebsd*) | 
|  |  | 4329 | archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
|  |  | 4330 | hardcode_libdir_flag_spec='-R$libdir' | 
|  |  | 4331 | hardcode_direct=yes | 
|  |  | 4332 | hardcode_shlibpath_var=no | 
|  |  | 4333 | ;; | 
|  |  | 4334 |  | 
|  |  | 4335 | hpux9* | hpux10* | hpux11*) | 
|  |  | 4336 | case $host_os in | 
|  |  | 4337 | 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' ;; | 
|  |  | 4338 | *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; | 
|  |  | 4339 | esac | 
|  |  | 4340 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
|  |  | 4341 | hardcode_libdir_separator=: | 
|  |  | 4342 | hardcode_direct=yes | 
|  |  | 4343 | hardcode_minus_L=yes # Not in the search PATH, but as the default | 
|  |  | 4344 | # location of the library. | 
|  |  | 4345 | export_dynamic_flag_spec='${wl}-E' | 
|  |  | 4346 | ;; | 
|  |  | 4347 |  | 
|  |  | 4348 | irix5* | irix6*) | 
|  |  | 4349 | if test "$GCC" = yes; then | 
|  |  | 4350 | 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' | 
|  |  | 4351 | else | 
|  |  | 4352 | 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' | 
|  |  | 4353 | fi | 
|  |  | 4354 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
|  |  | 4355 | hardcode_libdir_separator=: | 
|  |  | 4356 | link_all_deplibs=yes | 
|  |  | 4357 | ;; | 
|  |  | 4358 |  | 
|  |  | 4359 | netbsd*) | 
|  |  | 4360 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  |  | 4361 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
|  |  | 4362 | else | 
|  |  | 4363 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
|  |  | 4364 | fi | 
|  |  | 4365 | hardcode_libdir_flag_spec='-R$libdir' | 
|  |  | 4366 | hardcode_direct=yes | 
|  |  | 4367 | hardcode_shlibpath_var=no | 
|  |  | 4368 | ;; | 
|  |  | 4369 |  | 
|  |  | 4370 | newsos6) | 
|  |  | 4371 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts' | 
|  |  | 4372 | hardcode_direct=yes | 
|  |  | 4373 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
|  |  | 4374 | hardcode_libdir_separator=: | 
|  |  | 4375 | hardcode_shlibpath_var=no | 
|  |  | 4376 | ;; | 
|  |  | 4377 |  | 
|  |  | 4378 | openbsd*) | 
|  |  | 4379 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4380 | hardcode_libdir_flag_spec='-R$libdir' | 
|  |  | 4381 | hardcode_direct=yes | 
|  |  | 4382 | hardcode_shlibpath_var=no | 
|  |  | 4383 | ;; | 
|  |  | 4384 |  | 
|  |  | 4385 | os2*) | 
|  |  | 4386 | hardcode_libdir_flag_spec='-L$libdir' | 
|  |  | 4387 | hardcode_minus_L=yes | 
|  |  | 4388 | allow_undefined_flag=unsupported | 
|  |  | 4389 | 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' | 
|  |  | 4390 | old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
|  |  | 4391 | ;; | 
|  |  | 4392 |  | 
|  |  | 4393 | osf3*) | 
|  |  | 4394 | if test "$GCC" = yes; then | 
|  |  | 4395 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
|  |  | 4396 | 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' | 
|  |  | 4397 | else | 
|  |  | 4398 | allow_undefined_flag=' -expect_unresolved \*' | 
|  |  | 4399 | 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' | 
|  |  | 4400 | fi | 
|  |  | 4401 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
|  |  | 4402 | hardcode_libdir_separator=: | 
|  |  | 4403 | ;; | 
|  |  | 4404 |  | 
|  |  | 4405 | osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
|  |  | 4406 | if test "$GCC" = yes; then | 
|  |  | 4407 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
|  |  | 4408 | 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' | 
|  |  | 4409 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
|  |  | 4410 | else | 
|  |  | 4411 | allow_undefined_flag=' -expect_unresolved \*' | 
|  |  | 4412 | 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' | 
|  |  | 4413 | archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 
|  |  | 4414 | $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' | 
|  |  | 4415 |  | 
|  |  | 4416 | #Both c and cxx compiler support -rpath directly | 
|  |  | 4417 | hardcode_libdir_flag_spec='-rpath $libdir' | 
|  |  | 4418 | fi | 
|  |  | 4419 | hardcode_libdir_separator=: | 
|  |  | 4420 | ;; | 
|  |  | 4421 |  | 
|  |  | 4422 | sco3.2v5*) | 
|  |  | 4423 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4424 | hardcode_shlibpath_var=no | 
|  |  | 4425 | runpath_var=LD_RUN_PATH | 
|  |  | 4426 | hardcode_runpath_var=yes | 
|  |  | 4427 | ;; | 
|  |  | 4428 |  | 
|  |  | 4429 | solaris*) | 
|  |  | 4430 | no_undefined_flag=' -z defs' | 
|  |  | 4431 | # $CC -shared without GNU ld will not create a library from C++ | 
|  |  | 4432 | # object files and a static libstdc++, better avoid it by now | 
|  |  | 4433 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4434 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  |  | 4435 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
|  |  | 4436 | hardcode_libdir_flag_spec='-R$libdir' | 
|  |  | 4437 | hardcode_shlibpath_var=no | 
|  |  | 4438 | case $host_os in | 
|  |  | 4439 | solaris2.[0-5] | solaris2.[0-5].*) ;; | 
|  |  | 4440 | *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
|  |  | 4441 | whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; | 
|  |  | 4442 | esac | 
|  |  | 4443 | link_all_deplibs=yes | 
|  |  | 4444 | ;; | 
|  |  | 4445 |  | 
|  |  | 4446 | sunos4*) | 
|  |  | 4447 | if test "x$host_vendor" = xsequent; then | 
|  |  | 4448 | # Use $CC to link under sequent, because it throws in some extra .o | 
|  |  | 4449 | # files that make .init and .fini sections work. | 
|  |  | 4450 | archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  |  | 4451 | else | 
|  |  | 4452 | archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4453 | fi | 
|  |  | 4454 | hardcode_libdir_flag_spec='-L$libdir' | 
|  |  | 4455 | hardcode_direct=yes | 
|  |  | 4456 | hardcode_minus_L=yes | 
|  |  | 4457 | hardcode_shlibpath_var=no | 
|  |  | 4458 | ;; | 
|  |  | 4459 |  | 
|  |  | 4460 | sysv4) | 
|  |  | 4461 | if test "x$host_vendor" = xsno; then | 
|  |  | 4462 | archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts' | 
|  |  | 4463 | hardcode_direct=yes # is this really true??? | 
|  |  | 4464 | else | 
|  |  | 4465 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4466 | hardcode_direct=no #Motorola manual says yes, but my tests say they lie | 
|  |  | 4467 | fi | 
|  |  | 4468 | runpath_var='LD_RUN_PATH' | 
|  |  | 4469 | hardcode_shlibpath_var=no | 
|  |  | 4470 | ;; | 
|  |  | 4471 |  | 
|  |  | 4472 | sysv4.3*) | 
|  |  | 4473 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4474 | hardcode_shlibpath_var=no | 
|  |  | 4475 | export_dynamic_flag_spec='-Bexport' | 
|  |  | 4476 | ;; | 
|  |  | 4477 |  | 
|  |  | 4478 | sysv5*) | 
|  |  | 4479 | no_undefined_flag=' -z text' | 
|  |  | 4480 | # $CC -shared without GNU ld will not create a library from C++ | 
|  |  | 4481 | # object files and a static libstdc++, better avoid it by now | 
|  |  | 4482 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4483 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  |  | 4484 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
|  |  | 4485 | hardcode_libdir_flag_spec= | 
|  |  | 4486 | hardcode_shlibpath_var=no | 
|  |  | 4487 | runpath_var='LD_RUN_PATH' | 
|  |  | 4488 | ;; | 
|  |  | 4489 |  | 
|  |  | 4490 | uts4*) | 
|  |  | 4491 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4492 | hardcode_libdir_flag_spec='-L$libdir' | 
|  |  | 4493 | hardcode_shlibpath_var=no | 
|  |  | 4494 | ;; | 
|  |  | 4495 |  | 
|  |  | 4496 | dgux*) | 
|  |  | 4497 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4498 | hardcode_libdir_flag_spec='-L$libdir' | 
|  |  | 4499 | hardcode_shlibpath_var=no | 
|  |  | 4500 | ;; | 
|  |  | 4501 |  | 
|  |  | 4502 | sysv4*MP*) | 
|  |  | 4503 | if test -d /usr/nec; then | 
|  |  | 4504 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4505 | hardcode_shlibpath_var=no | 
|  |  | 4506 | runpath_var=LD_RUN_PATH | 
|  |  | 4507 | hardcode_runpath_var=yes | 
|  |  | 4508 | ld_shlibs=yes | 
|  |  | 4509 | fi | 
|  |  | 4510 | ;; | 
|  |  | 4511 |  | 
|  |  | 4512 | sysv4.2uw2*) | 
|  |  | 4513 | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
|  |  | 4514 | hardcode_direct=yes | 
|  |  | 4515 | hardcode_minus_L=no | 
|  |  | 4516 | hardcode_shlibpath_var=no | 
|  |  | 4517 | hardcode_runpath_var=yes | 
|  |  | 4518 | runpath_var=LD_RUN_PATH | 
|  |  | 4519 | ;; | 
|  |  | 4520 |  | 
|  |  | 4521 | sysv5uw7* | unixware7*) | 
|  |  | 4522 | no_undefined_flag='${wl}-z ${wl}text' | 
|  |  | 4523 | if test "$GCC" = yes; then | 
|  |  | 4524 | archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  |  | 4525 | else | 
|  |  | 4526 | archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  |  | 4527 | fi | 
|  |  | 4528 | runpath_var='LD_RUN_PATH' | 
|  |  | 4529 | hardcode_shlibpath_var=no | 
|  |  | 4530 | ;; | 
|  |  | 4531 |  | 
|  |  | 4532 | *) | 
|  |  | 4533 | ld_shlibs=no | 
|  |  | 4534 | ;; | 
|  |  | 4535 | esac | 
|  |  | 4536 | fi | 
|  |  | 4537 | echo "$as_me:4537: result: $ld_shlibs" >&5 | 
|  |  | 4538 | echo "${ECHO_T}$ld_shlibs" >&6 | 
|  |  | 4539 | test "$ld_shlibs" = no && can_build_shared=no | 
|  |  | 4540 |  | 
|  |  | 4541 | # Check hardcoding attributes. | 
|  |  | 4542 | echo "$as_me:4542: checking how to hardcode library paths into programs" >&5 | 
|  |  | 4543 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
|  |  | 4544 | hardcode_action= | 
|  |  | 4545 | if test -n "$hardcode_libdir_flag_spec" || \ | 
|  |  | 4546 | test -n "$runpath_var"; then | 
|  |  | 4547 |  | 
|  |  | 4548 | # We can hardcode non-existant directories. | 
|  |  | 4549 | if test "$hardcode_direct" != no && | 
|  |  | 4550 | # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
|  |  | 4551 | # have to relink, otherwise we might link with an installed library | 
|  |  | 4552 | # when we should be linking with a yet-to-be-installed one | 
|  |  | 4553 | ## test "$hardcode_shlibpath_var" != no && | 
|  |  | 4554 | test "$hardcode_minus_L" != no; then | 
|  |  | 4555 | # Linking always hardcodes the temporary library directory. | 
|  |  | 4556 | hardcode_action=relink | 
|  |  | 4557 | else | 
|  |  | 4558 | # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
|  |  | 4559 | hardcode_action=immediate | 
|  |  | 4560 | fi | 
|  |  | 4561 | else | 
|  |  | 4562 | # We cannot hardcode anything, or else we can only hardcode existing | 
|  |  | 4563 | # directories. | 
|  |  | 4564 | hardcode_action=unsupported | 
|  |  | 4565 | fi | 
|  |  | 4566 | echo "$as_me:4566: result: $hardcode_action" >&5 | 
|  |  | 4567 | echo "${ECHO_T}$hardcode_action" >&6 | 
|  |  | 4568 |  | 
|  |  | 4569 | striplib= | 
|  |  | 4570 | old_striplib= | 
|  |  | 4571 | echo "$as_me:4571: checking whether stripping libraries is possible" >&5 | 
|  |  | 4572 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
|  |  | 4573 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
|  |  | 4574 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
|  |  | 4575 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
|  |  | 4576 | echo "$as_me:4576: result: yes" >&5 | 
|  |  | 4577 | echo "${ECHO_T}yes" >&6 | 
|  |  | 4578 | else | 
|  |  | 4579 | echo "$as_me:4579: result: no" >&5 | 
|  |  | 4580 | echo "${ECHO_T}no" >&6 | 
|  |  | 4581 | fi | 
|  |  | 4582 |  | 
|  |  | 4583 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | 
|  |  | 4584 | test -z "$deplibs_check_method" && deplibs_check_method=unknown | 
|  |  | 4585 |  | 
|  |  | 4586 | # PORTME Fill in your ld.so characteristics | 
|  |  | 4587 | echo "$as_me:4587: checking dynamic linker characteristics" >&5 | 
|  |  | 4588 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
|  |  | 4589 | library_names_spec= | 
|  |  | 4590 | libname_spec='lib$name' | 
|  |  | 4591 | soname_spec= | 
|  |  | 4592 | postinstall_cmds= | 
|  |  | 4593 | postuninstall_cmds= | 
|  |  | 4594 | finish_cmds= | 
|  |  | 4595 | finish_eval= | 
|  |  | 4596 | shlibpath_var= | 
|  |  | 4597 | shlibpath_overrides_runpath=unknown | 
|  |  | 4598 | version_type=none | 
|  |  | 4599 | dynamic_linker="$host_os ld.so" | 
|  |  | 4600 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
|  |  | 4601 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
|  |  | 4602 |  | 
|  |  | 4603 | case $host_os in | 
|  |  | 4604 | aix3*) | 
|  |  | 4605 | version_type=linux | 
|  |  | 4606 | library_names_spec='${libname}${release}.so$versuffix $libname.a' | 
|  |  | 4607 | shlibpath_var=LIBPATH | 
|  |  | 4608 |  | 
|  |  | 4609 | # AIX has no versioning support, so we append a major version to the name. | 
|  |  | 4610 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4611 | ;; | 
|  |  | 4612 |  | 
|  |  | 4613 | aix4* | aix5*) | 
|  |  | 4614 | version_type=linux | 
|  |  | 4615 | if test "$host_cpu" = ia64; then | 
|  |  | 4616 | # AIX 5 supports IA64 | 
|  |  | 4617 | library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' | 
|  |  | 4618 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4619 | else | 
|  |  | 4620 | # With GCC up to 2.95.x, collect2 would create an import file | 
|  |  | 4621 | # for dependence libraries.  The import file would start with | 
|  |  | 4622 | # the line `#! .'.  This would cause the generated library to | 
|  |  | 4623 | # depend on `.', always an invalid library.  This was fixed in | 
|  |  | 4624 | # development snapshots of GCC prior to 3.0. | 
|  |  | 4625 | case $host_os in | 
|  |  | 4626 | aix4 | aix4.[01] | aix4.[01].*) | 
|  |  | 4627 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
|  |  | 4628 | echo ' yes ' | 
|  |  | 4629 | echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
|  |  | 4630 | : | 
|  |  | 4631 | else | 
|  |  | 4632 | can_build_shared=no | 
|  |  | 4633 | fi | 
|  |  | 4634 | ;; | 
|  |  | 4635 | esac | 
|  |  | 4636 | # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
|  |  | 4637 | # soname into executable. Probably we can add versioning support to | 
|  |  | 4638 | # collect2, so additional links can be useful in future. | 
|  |  | 4639 | if test "$aix_use_runtimelinking" = yes; then | 
|  |  | 4640 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so instead of | 
|  |  | 4641 | # lib<name>.a to let people know that these are not typical AIX shared libraries. | 
|  |  | 4642 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
|  |  | 4643 | else | 
|  |  | 4644 | # We preserve .a as extension for shared libraries through AIX4.2 | 
|  |  | 4645 | # and later when we are not doing run time linking. | 
|  |  | 4646 | library_names_spec='${libname}${release}.a $libname.a' | 
|  |  | 4647 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4648 | fi | 
|  |  | 4649 | shlibpath_var=LIBPATH | 
|  |  | 4650 | deplibs_check_method=pass_all | 
|  |  | 4651 | fi | 
|  |  | 4652 | ;; | 
|  |  | 4653 |  | 
|  |  | 4654 | amigaos*) | 
|  |  | 4655 | library_names_spec='$libname.ixlibrary $libname.a' | 
|  |  | 4656 | # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
|  |  | 4657 | 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' | 
|  |  | 4658 | ;; | 
|  |  | 4659 |  | 
|  |  | 4660 | beos*) | 
|  |  | 4661 | library_names_spec='${libname}.so' | 
|  |  | 4662 | dynamic_linker="$host_os ld.so" | 
|  |  | 4663 | shlibpath_var=LIBRARY_PATH | 
|  |  | 4664 | ;; | 
|  |  | 4665 |  | 
|  |  | 4666 | bsdi4*) | 
|  |  | 4667 | version_type=linux | 
|  |  | 4668 | need_version=no | 
|  |  | 4669 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
|  |  | 4670 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4671 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
|  |  | 4672 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4673 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
|  |  | 4674 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
|  |  | 4675 | export_dynamic_flag_spec=-rdynamic | 
|  |  | 4676 | # the default ld.so.conf also contains /usr/contrib/lib and | 
|  |  | 4677 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
|  |  | 4678 | # libtool to hard-code these into programs | 
|  |  | 4679 | ;; | 
|  |  | 4680 |  | 
|  |  | 4681 | cygwin* | mingw* | pw32*) | 
|  |  | 4682 | version_type=windows | 
|  |  | 4683 | need_version=no | 
|  |  | 4684 | need_lib_prefix=no | 
|  |  | 4685 | case $GCC,$host_os in | 
|  |  | 4686 | yes,cygwin*) | 
|  |  | 4687 | library_names_spec='$libname.dll.a' | 
|  |  | 4688 | soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' | 
|  |  | 4689 | postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ | 
|  |  | 4690 | dldir=$destdir/`dirname \$dlpath`~ | 
|  |  | 4691 | test -d \$dldir || mkdir -p \$dldir~ | 
|  |  | 4692 | $install_prog .libs/$dlname \$dldir/$dlname' | 
|  |  | 4693 | postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
|  |  | 4694 | dlpath=$dir/\$dldll~ | 
|  |  | 4695 | $rm \$dlpath' | 
|  |  | 4696 | ;; | 
|  |  | 4697 | yes,mingw*) | 
|  |  | 4698 | library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' | 
|  |  | 4699 | sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` | 
|  |  | 4700 | ;; | 
|  |  | 4701 | yes,pw32*) | 
|  |  | 4702 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' | 
| 1433 | ;; | 4703 | ;; | 
| 1434 | *) | 4704 | *) | 
| 1435 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 4705 | library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' | 
| 1436 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |  |  | 
| 1437 | ;; | 4706 | ;; | 
| 1438 | esac >> confcache | 4707 | esac | 
| 1439 | if cmp -s $cache_file confcache; then | 4708 | dynamic_linker='Win32 ld.exe' | 
|  |  | 4709 | # FIXME: first we should search . and the directory the executable is in | 
|  |  | 4710 | shlibpath_var=PATH | 
|  |  | 4711 | ;; | 
|  |  | 4712 |  | 
|  |  | 4713 | darwin* | rhapsody*) | 
|  |  | 4714 | dynamic_linker="$host_os dyld" | 
|  |  | 4715 | version_type=darwin | 
|  |  | 4716 | need_lib_prefix=no | 
|  |  | 4717 | need_version=no | 
|  |  | 4718 | # FIXME: Relying on posixy $() will cause problems for | 
|  |  | 4719 | #        cross-compilation, but unfortunately the echo tests do not | 
|  |  | 4720 | #        yet detect zsh echo's removal of \ escapes. | 
|  |  | 4721 | 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)' | 
|  |  | 4722 | soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' | 
|  |  | 4723 | shlibpath_overrides_runpath=yes | 
|  |  | 4724 | shlibpath_var=DYLD_LIBRARY_PATH | 
|  |  | 4725 | ;; | 
|  |  | 4726 |  | 
|  |  | 4727 | freebsd1*) | 
|  |  | 4728 | dynamic_linker=no | 
|  |  | 4729 | ;; | 
|  |  | 4730 |  | 
|  |  | 4731 | freebsd*) | 
|  |  | 4732 | objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
|  |  | 4733 | version_type=freebsd-$objformat | 
|  |  | 4734 | case $version_type in | 
|  |  | 4735 | freebsd-elf*) | 
|  |  | 4736 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' | 
|  |  | 4737 | need_version=no | 
|  |  | 4738 | need_lib_prefix=no | 
|  |  | 4739 | ;; | 
|  |  | 4740 | freebsd-*) | 
|  |  | 4741 | library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' | 
|  |  | 4742 | need_version=yes | 
|  |  | 4743 | ;; | 
|  |  | 4744 | esac | 
|  |  | 4745 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4746 | case $host_os in | 
|  |  | 4747 | freebsd2*) | 
|  |  | 4748 | shlibpath_overrides_runpath=yes | 
|  |  | 4749 | ;; | 
|  |  | 4750 | *) | 
|  |  | 4751 | shlibpath_overrides_runpath=no | 
|  |  | 4752 | hardcode_into_libs=yes | 
|  |  | 4753 | ;; | 
|  |  | 4754 | esac | 
|  |  | 4755 | ;; | 
|  |  | 4756 |  | 
|  |  | 4757 | gnu*) | 
|  |  | 4758 | version_type=linux | 
|  |  | 4759 | need_lib_prefix=no | 
|  |  | 4760 | need_version=no | 
|  |  | 4761 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' | 
|  |  | 4762 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4763 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4764 | hardcode_into_libs=yes | 
|  |  | 4765 | ;; | 
|  |  | 4766 |  | 
|  |  | 4767 | hpux9* | hpux10* | hpux11*) | 
|  |  | 4768 | # Give a soname corresponding to the major version so that dld.sl refuses to | 
|  |  | 4769 | # link against other versions. | 
|  |  | 4770 | dynamic_linker="$host_os dld.sl" | 
|  |  | 4771 | version_type=sunos | 
|  |  | 4772 | need_lib_prefix=no | 
|  |  | 4773 | need_version=no | 
|  |  | 4774 | shlibpath_var=SHLIB_PATH | 
|  |  | 4775 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
|  |  | 4776 | library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' | 
|  |  | 4777 | soname_spec='${libname}${release}.sl$major' | 
|  |  | 4778 | # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
|  |  | 4779 | postinstall_cmds='chmod 555 $lib' | 
|  |  | 4780 | ;; | 
|  |  | 4781 |  | 
|  |  | 4782 | irix5* | irix6*) | 
|  |  | 4783 | version_type=irix | 
|  |  | 4784 | need_lib_prefix=no | 
|  |  | 4785 | need_version=no | 
|  |  | 4786 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4787 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' | 
|  |  | 4788 | case $host_os in | 
|  |  | 4789 | irix5*) | 
|  |  | 4790 | libsuff= shlibsuff= | 
|  |  | 4791 | ;; | 
|  |  | 4792 | *) | 
|  |  | 4793 | case $LD in # libtool.m4 will add one of these switches to LD | 
|  |  | 4794 | *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; | 
|  |  | 4795 | *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; | 
|  |  | 4796 | *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
|  |  | 4797 | *) libsuff= shlibsuff= libmagic=never-match;; | 
|  |  | 4798 | esac | 
|  |  | 4799 | ;; | 
|  |  | 4800 | esac | 
|  |  | 4801 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
|  |  | 4802 | shlibpath_overrides_runpath=no | 
|  |  | 4803 | sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
|  |  | 4804 | sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
|  |  | 4805 | ;; | 
|  |  | 4806 |  | 
|  |  | 4807 | # No shared lib support for Linux oldld, aout, or coff. | 
|  |  | 4808 | linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) | 
|  |  | 4809 | dynamic_linker=no | 
|  |  | 4810 | ;; | 
|  |  | 4811 |  | 
|  |  | 4812 | # This must be Linux ELF. | 
|  |  | 4813 | linux-gnu*) | 
|  |  | 4814 | version_type=linux | 
|  |  | 4815 | need_lib_prefix=no | 
|  |  | 4816 | need_version=no | 
|  |  | 4817 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
|  |  | 4818 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4819 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
|  |  | 4820 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4821 | shlibpath_overrides_runpath=no | 
|  |  | 4822 | # This implies no fast_install, which is unacceptable. | 
|  |  | 4823 | # Some rework will be needed to allow for fast_install | 
|  |  | 4824 | # before this can be enabled. | 
|  |  | 4825 | hardcode_into_libs=yes | 
|  |  | 4826 |  | 
|  |  | 4827 | # We used to test for /lib/ld.so.1 and disable shared libraries on | 
|  |  | 4828 | # powerpc, because MkLinux only supported shared libraries with the | 
|  |  | 4829 | # GNU dynamic linker.  Since this was broken with cross compilers, | 
|  |  | 4830 | # most powerpc-linux boxes support dynamic linking these days and | 
|  |  | 4831 | # people can always --disable-shared, the test was removed, and we | 
|  |  | 4832 | # assume the GNU/Linux dynamic linker is in use. | 
|  |  | 4833 | dynamic_linker='GNU/Linux ld.so' | 
|  |  | 4834 | ;; | 
|  |  | 4835 |  | 
|  |  | 4836 | netbsd*) | 
|  |  | 4837 | version_type=sunos | 
|  |  | 4838 | need_lib_prefix=no | 
|  |  | 4839 | need_version=no | 
|  |  | 4840 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  |  | 4841 | library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' | 
|  |  | 4842 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
|  |  | 4843 | dynamic_linker='NetBSD (a.out) ld.so' | 
|  |  | 4844 | else | 
|  |  | 4845 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' | 
|  |  | 4846 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4847 | dynamic_linker='NetBSD ld.elf_so' | 
|  |  | 4848 | fi | 
|  |  | 4849 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4850 | shlibpath_overrides_runpath=yes | 
|  |  | 4851 | hardcode_into_libs=yes | 
|  |  | 4852 | ;; | 
|  |  | 4853 |  | 
|  |  | 4854 | newsos6) | 
|  |  | 4855 | version_type=linux | 
|  |  | 4856 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
|  |  | 4857 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4858 | shlibpath_overrides_runpath=yes | 
|  |  | 4859 | ;; | 
|  |  | 4860 |  | 
|  |  | 4861 | openbsd*) | 
|  |  | 4862 | version_type=sunos | 
|  |  | 4863 | if test "$with_gnu_ld" = yes; then | 
|  |  | 4864 | need_lib_prefix=no | 
|  |  | 4865 | need_version=no | 
|  |  | 4866 | fi | 
|  |  | 4867 | library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' | 
|  |  | 4868 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
|  |  | 4869 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4870 | ;; | 
|  |  | 4871 |  | 
|  |  | 4872 | os2*) | 
|  |  | 4873 | libname_spec='$name' | 
|  |  | 4874 | need_lib_prefix=no | 
|  |  | 4875 | library_names_spec='$libname.dll $libname.a' | 
|  |  | 4876 | dynamic_linker='OS/2 ld.exe' | 
|  |  | 4877 | shlibpath_var=LIBPATH | 
|  |  | 4878 | ;; | 
|  |  | 4879 |  | 
|  |  | 4880 | osf3* | osf4* | osf5*) | 
|  |  | 4881 | version_type=osf | 
|  |  | 4882 | need_version=no | 
|  |  | 4883 | soname_spec='${libname}${release}.so' | 
|  |  | 4884 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' | 
|  |  | 4885 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4886 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
|  |  | 4887 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
|  |  | 4888 | ;; | 
|  |  | 4889 |  | 
|  |  | 4890 | sco3.2v5*) | 
|  |  | 4891 | version_type=osf | 
|  |  | 4892 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4893 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
|  |  | 4894 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4895 | ;; | 
|  |  | 4896 |  | 
|  |  | 4897 | solaris*) | 
|  |  | 4898 | version_type=linux | 
|  |  | 4899 | need_lib_prefix=no | 
|  |  | 4900 | need_version=no | 
|  |  | 4901 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
|  |  | 4902 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4903 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4904 | shlibpath_overrides_runpath=yes | 
|  |  | 4905 | hardcode_into_libs=yes | 
|  |  | 4906 | # ldd complains unless libraries are executable | 
|  |  | 4907 | postinstall_cmds='chmod +x $lib' | 
|  |  | 4908 | ;; | 
|  |  | 4909 |  | 
|  |  | 4910 | sunos4*) | 
|  |  | 4911 | version_type=sunos | 
|  |  | 4912 | library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' | 
|  |  | 4913 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
|  |  | 4914 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4915 | shlibpath_overrides_runpath=yes | 
|  |  | 4916 | if test "$with_gnu_ld" = yes; then | 
|  |  | 4917 | need_lib_prefix=no | 
|  |  | 4918 | fi | 
|  |  | 4919 | need_version=yes | 
|  |  | 4920 | ;; | 
|  |  | 4921 |  | 
|  |  | 4922 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
|  |  | 4923 | version_type=linux | 
|  |  | 4924 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
|  |  | 4925 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4926 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4927 | case $host_vendor in | 
|  |  | 4928 | sni) | 
|  |  | 4929 | shlibpath_overrides_runpath=no | 
|  |  | 4930 | ;; | 
|  |  | 4931 | motorola) | 
|  |  | 4932 | need_lib_prefix=no | 
|  |  | 4933 | need_version=no | 
|  |  | 4934 | shlibpath_overrides_runpath=no | 
|  |  | 4935 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
|  |  | 4936 | ;; | 
|  |  | 4937 | esac | 
|  |  | 4938 | ;; | 
|  |  | 4939 |  | 
|  |  | 4940 | uts4*) | 
|  |  | 4941 | version_type=linux | 
|  |  | 4942 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
|  |  | 4943 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4944 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4945 | ;; | 
|  |  | 4946 |  | 
|  |  | 4947 | dgux*) | 
|  |  | 4948 | version_type=linux | 
|  |  | 4949 | need_lib_prefix=no | 
|  |  | 4950 | need_version=no | 
|  |  | 4951 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
|  |  | 4952 | soname_spec='${libname}${release}.so$major' | 
|  |  | 4953 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4954 | ;; | 
|  |  | 4955 |  | 
|  |  | 4956 | sysv4*MP*) | 
|  |  | 4957 | if test -d /usr/nec ;then | 
|  |  | 4958 | version_type=linux | 
|  |  | 4959 | library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' | 
|  |  | 4960 | soname_spec='$libname.so.$major' | 
|  |  | 4961 | shlibpath_var=LD_LIBRARY_PATH | 
|  |  | 4962 | fi | 
|  |  | 4963 | ;; | 
|  |  | 4964 |  | 
|  |  | 4965 | *) | 
|  |  | 4966 | dynamic_linker=no | 
|  |  | 4967 | ;; | 
|  |  | 4968 | esac | 
|  |  | 4969 | echo "$as_me:4969: result: $dynamic_linker" >&5 | 
|  |  | 4970 | echo "${ECHO_T}$dynamic_linker" >&6 | 
|  |  | 4971 | test "$dynamic_linker" = no && can_build_shared=no | 
|  |  | 4972 |  | 
|  |  | 4973 | # Report the final consequences. | 
|  |  | 4974 | echo "$as_me:4974: checking if libtool supports shared libraries" >&5 | 
|  |  | 4975 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | 
|  |  | 4976 | echo "$as_me:4976: result: $can_build_shared" >&5 | 
|  |  | 4977 | echo "${ECHO_T}$can_build_shared" >&6 | 
|  |  | 4978 |  | 
|  |  | 4979 | if test "$hardcode_action" = relink; then | 
|  |  | 4980 | # Fast installation is not supported | 
|  |  | 4981 | enable_fast_install=no | 
|  |  | 4982 | elif test "$shlibpath_overrides_runpath" = yes || | 
|  |  | 4983 | test "$enable_shared" = no; then | 
|  |  | 4984 | # Fast installation is not necessary | 
|  |  | 4985 | enable_fast_install=needless | 
|  |  | 4986 | fi | 
|  |  | 4987 |  | 
|  |  | 4988 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
|  |  | 4989 | if test "$GCC" = yes; then | 
|  |  | 4990 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
|  |  | 4991 | fi | 
|  |  | 4992 |  | 
|  |  | 4993 | if test "x$enable_dlopen" != xyes; then | 
|  |  | 4994 | enable_dlopen=unknown | 
|  |  | 4995 | enable_dlopen_self=unknown | 
|  |  | 4996 | enable_dlopen_self_static=unknown | 
|  |  | 4997 | else | 
|  |  | 4998 | lt_cv_dlopen=no | 
|  |  | 4999 | lt_cv_dlopen_libs= | 
|  |  | 5000 |  | 
|  |  | 5001 | case $host_os in | 
|  |  | 5002 | beos*) | 
|  |  | 5003 | lt_cv_dlopen="load_add_on" | 
|  |  | 5004 | lt_cv_dlopen_libs= | 
|  |  | 5005 | lt_cv_dlopen_self=yes | 
|  |  | 5006 | ;; | 
|  |  | 5007 |  | 
|  |  | 5008 | cygwin* | mingw* | pw32*) | 
|  |  | 5009 | lt_cv_dlopen="LoadLibrary" | 
|  |  | 5010 | lt_cv_dlopen_libs= | 
|  |  | 5011 | ;; | 
|  |  | 5012 |  | 
|  |  | 5013 | *) | 
|  |  | 5014 | echo "$as_me:5014: checking for dlopen in -ldl" >&5 | 
|  |  | 5015 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
|  |  | 5016 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
|  |  | 5017 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 5018 | else | 
|  |  | 5019 | ac_check_lib_save_LIBS=$LIBS | 
|  |  | 5020 | LIBS="-ldl  $LIBS" | 
|  |  | 5021 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 5022 | #line 5022 "configure" | 
|  |  | 5023 | #include "confdefs.h" | 
|  |  | 5024 |  | 
|  |  | 5025 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  |  | 5026 | #ifdef __cplusplus | 
|  |  | 5027 | extern "C" | 
|  |  | 5028 | #endif | 
|  |  | 5029 | /* We use char because int might match the return type of a gcc2 | 
|  |  | 5030 | builtin and then its argument prototype would still apply.  */ | 
|  |  | 5031 | char dlopen (); | 
|  |  | 5032 | int | 
|  |  | 5033 | main () | 
|  |  | 5034 | { | 
|  |  | 5035 | dlopen (); | 
|  |  | 5036 | ; | 
|  |  | 5037 | return 0; | 
|  |  | 5038 | } | 
|  |  | 5039 | _ACEOF | 
|  |  | 5040 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  |  | 5041 | if { (eval echo "$as_me:5041: \"$ac_link\"") >&5 | 
|  |  | 5042 | (eval $ac_link) 2>&5 | 
|  |  | 5043 | ac_status=$? | 
|  |  | 5044 | echo "$as_me:5044: \$? = $ac_status" >&5 | 
|  |  | 5045 | (exit $ac_status); } && | 
|  |  | 5046 | { ac_try='test -s conftest$ac_exeext' | 
|  |  | 5047 | { (eval echo "$as_me:5047: \"$ac_try\"") >&5 | 
|  |  | 5048 | (eval $ac_try) 2>&5 | 
|  |  | 5049 | ac_status=$? | 
|  |  | 5050 | echo "$as_me:5050: \$? = $ac_status" >&5 | 
|  |  | 5051 | (exit $ac_status); }; }; then | 
|  |  | 5052 | ac_cv_lib_dl_dlopen=yes | 
|  |  | 5053 | else | 
|  |  | 5054 | echo "$as_me: failed program was:" >&5 | 
|  |  | 5055 | cat conftest.$ac_ext >&5 | 
|  |  | 5056 | ac_cv_lib_dl_dlopen=no | 
|  |  | 5057 | fi | 
|  |  | 5058 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  |  | 5059 | LIBS=$ac_check_lib_save_LIBS | 
|  |  | 5060 | fi | 
|  |  | 5061 | echo "$as_me:5061: result: $ac_cv_lib_dl_dlopen" >&5 | 
|  |  | 5062 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
|  |  | 5063 | if test $ac_cv_lib_dl_dlopen = yes; then | 
|  |  | 5064 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
|  |  | 5065 | else | 
|  |  | 5066 | echo "$as_me:5066: checking for dlopen" >&5 | 
|  |  | 5067 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
|  |  | 5068 | if test "${ac_cv_func_dlopen+set}" = set; then | 
|  |  | 5069 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 5070 | else | 
|  |  | 5071 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 5072 | #line 5072 "configure" | 
|  |  | 5073 | #include "confdefs.h" | 
|  |  | 5074 | /* System header to define __stub macros and hopefully few prototypes, | 
|  |  | 5075 | which can conflict with char dlopen (); below.  */ | 
|  |  | 5076 | #include <assert.h> | 
|  |  | 5077 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  |  | 5078 | #ifdef __cplusplus | 
|  |  | 5079 | extern "C" | 
|  |  | 5080 | #endif | 
|  |  | 5081 | /* We use char because int might match the return type of a gcc2 | 
|  |  | 5082 | builtin and then its argument prototype would still apply.  */ | 
|  |  | 5083 | char dlopen (); | 
|  |  | 5084 | char (*f) (); | 
|  |  | 5085 |  | 
|  |  | 5086 | int | 
|  |  | 5087 | main () | 
|  |  | 5088 | { | 
|  |  | 5089 | /* The GNU C library defines this for functions which it implements | 
|  |  | 5090 | to always fail with ENOSYS.  Some functions are actually named | 
|  |  | 5091 | something starting with __ and the normal name is an alias.  */ | 
|  |  | 5092 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
|  |  | 5093 | choke me | 
|  |  | 5094 | #else | 
|  |  | 5095 | f = dlopen; | 
|  |  | 5096 | #endif | 
|  |  | 5097 |  | 
|  |  | 5098 | ; | 
|  |  | 5099 | return 0; | 
|  |  | 5100 | } | 
|  |  | 5101 | _ACEOF | 
|  |  | 5102 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  |  | 5103 | if { (eval echo "$as_me:5103: \"$ac_link\"") >&5 | 
|  |  | 5104 | (eval $ac_link) 2>&5 | 
|  |  | 5105 | ac_status=$? | 
|  |  | 5106 | echo "$as_me:5106: \$? = $ac_status" >&5 | 
|  |  | 5107 | (exit $ac_status); } && | 
|  |  | 5108 | { ac_try='test -s conftest$ac_exeext' | 
|  |  | 5109 | { (eval echo "$as_me:5109: \"$ac_try\"") >&5 | 
|  |  | 5110 | (eval $ac_try) 2>&5 | 
|  |  | 5111 | ac_status=$? | 
|  |  | 5112 | echo "$as_me:5112: \$? = $ac_status" >&5 | 
|  |  | 5113 | (exit $ac_status); }; }; then | 
|  |  | 5114 | ac_cv_func_dlopen=yes | 
|  |  | 5115 | else | 
|  |  | 5116 | echo "$as_me: failed program was:" >&5 | 
|  |  | 5117 | cat conftest.$ac_ext >&5 | 
|  |  | 5118 | ac_cv_func_dlopen=no | 
|  |  | 5119 | fi | 
|  |  | 5120 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  |  | 5121 | fi | 
|  |  | 5122 | echo "$as_me:5122: result: $ac_cv_func_dlopen" >&5 | 
|  |  | 5123 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
|  |  | 5124 | if test $ac_cv_func_dlopen = yes; then | 
|  |  | 5125 | lt_cv_dlopen="dlopen" | 
|  |  | 5126 | else | 
|  |  | 5127 | echo "$as_me:5127: checking for shl_load" >&5 | 
|  |  | 5128 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
|  |  | 5129 | if test "${ac_cv_func_shl_load+set}" = set; then | 
|  |  | 5130 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 5131 | else | 
|  |  | 5132 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 5133 | #line 5133 "configure" | 
|  |  | 5134 | #include "confdefs.h" | 
|  |  | 5135 | /* System header to define __stub macros and hopefully few prototypes, | 
|  |  | 5136 | which can conflict with char shl_load (); below.  */ | 
|  |  | 5137 | #include <assert.h> | 
|  |  | 5138 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  |  | 5139 | #ifdef __cplusplus | 
|  |  | 5140 | extern "C" | 
|  |  | 5141 | #endif | 
|  |  | 5142 | /* We use char because int might match the return type of a gcc2 | 
|  |  | 5143 | builtin and then its argument prototype would still apply.  */ | 
|  |  | 5144 | char shl_load (); | 
|  |  | 5145 | char (*f) (); | 
|  |  | 5146 |  | 
|  |  | 5147 | int | 
|  |  | 5148 | main () | 
|  |  | 5149 | { | 
|  |  | 5150 | /* The GNU C library defines this for functions which it implements | 
|  |  | 5151 | to always fail with ENOSYS.  Some functions are actually named | 
|  |  | 5152 | something starting with __ and the normal name is an alias.  */ | 
|  |  | 5153 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
|  |  | 5154 | choke me | 
|  |  | 5155 | #else | 
|  |  | 5156 | f = shl_load; | 
|  |  | 5157 | #endif | 
|  |  | 5158 |  | 
|  |  | 5159 | ; | 
|  |  | 5160 | return 0; | 
|  |  | 5161 | } | 
|  |  | 5162 | _ACEOF | 
|  |  | 5163 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  |  | 5164 | if { (eval echo "$as_me:5164: \"$ac_link\"") >&5 | 
|  |  | 5165 | (eval $ac_link) 2>&5 | 
|  |  | 5166 | ac_status=$? | 
|  |  | 5167 | echo "$as_me:5167: \$? = $ac_status" >&5 | 
|  |  | 5168 | (exit $ac_status); } && | 
|  |  | 5169 | { ac_try='test -s conftest$ac_exeext' | 
|  |  | 5170 | { (eval echo "$as_me:5170: \"$ac_try\"") >&5 | 
|  |  | 5171 | (eval $ac_try) 2>&5 | 
|  |  | 5172 | ac_status=$? | 
|  |  | 5173 | echo "$as_me:5173: \$? = $ac_status" >&5 | 
|  |  | 5174 | (exit $ac_status); }; }; then | 
|  |  | 5175 | ac_cv_func_shl_load=yes | 
|  |  | 5176 | else | 
|  |  | 5177 | echo "$as_me: failed program was:" >&5 | 
|  |  | 5178 | cat conftest.$ac_ext >&5 | 
|  |  | 5179 | ac_cv_func_shl_load=no | 
|  |  | 5180 | fi | 
|  |  | 5181 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  |  | 5182 | fi | 
|  |  | 5183 | echo "$as_me:5183: result: $ac_cv_func_shl_load" >&5 | 
|  |  | 5184 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
|  |  | 5185 | if test $ac_cv_func_shl_load = yes; then | 
|  |  | 5186 | lt_cv_dlopen="shl_load" | 
|  |  | 5187 | else | 
|  |  | 5188 | echo "$as_me:5188: checking for dlopen in -lsvld" >&5 | 
|  |  | 5189 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
|  |  | 5190 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
|  |  | 5191 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 5192 | else | 
|  |  | 5193 | ac_check_lib_save_LIBS=$LIBS | 
|  |  | 5194 | LIBS="-lsvld  $LIBS" | 
|  |  | 5195 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 5196 | #line 5196 "configure" | 
|  |  | 5197 | #include "confdefs.h" | 
|  |  | 5198 |  | 
|  |  | 5199 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  |  | 5200 | #ifdef __cplusplus | 
|  |  | 5201 | extern "C" | 
|  |  | 5202 | #endif | 
|  |  | 5203 | /* We use char because int might match the return type of a gcc2 | 
|  |  | 5204 | builtin and then its argument prototype would still apply.  */ | 
|  |  | 5205 | char dlopen (); | 
|  |  | 5206 | int | 
|  |  | 5207 | main () | 
|  |  | 5208 | { | 
|  |  | 5209 | dlopen (); | 
|  |  | 5210 | ; | 
|  |  | 5211 | return 0; | 
|  |  | 5212 | } | 
|  |  | 5213 | _ACEOF | 
|  |  | 5214 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  |  | 5215 | if { (eval echo "$as_me:5215: \"$ac_link\"") >&5 | 
|  |  | 5216 | (eval $ac_link) 2>&5 | 
|  |  | 5217 | ac_status=$? | 
|  |  | 5218 | echo "$as_me:5218: \$? = $ac_status" >&5 | 
|  |  | 5219 | (exit $ac_status); } && | 
|  |  | 5220 | { ac_try='test -s conftest$ac_exeext' | 
|  |  | 5221 | { (eval echo "$as_me:5221: \"$ac_try\"") >&5 | 
|  |  | 5222 | (eval $ac_try) 2>&5 | 
|  |  | 5223 | ac_status=$? | 
|  |  | 5224 | echo "$as_me:5224: \$? = $ac_status" >&5 | 
|  |  | 5225 | (exit $ac_status); }; }; then | 
|  |  | 5226 | ac_cv_lib_svld_dlopen=yes | 
|  |  | 5227 | else | 
|  |  | 5228 | echo "$as_me: failed program was:" >&5 | 
|  |  | 5229 | cat conftest.$ac_ext >&5 | 
|  |  | 5230 | ac_cv_lib_svld_dlopen=no | 
|  |  | 5231 | fi | 
|  |  | 5232 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  |  | 5233 | LIBS=$ac_check_lib_save_LIBS | 
|  |  | 5234 | fi | 
|  |  | 5235 | echo "$as_me:5235: result: $ac_cv_lib_svld_dlopen" >&5 | 
|  |  | 5236 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
|  |  | 5237 | if test $ac_cv_lib_svld_dlopen = yes; then | 
|  |  | 5238 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
|  |  | 5239 | else | 
|  |  | 5240 | echo "$as_me:5240: checking for shl_load in -ldld" >&5 | 
|  |  | 5241 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
|  |  | 5242 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
|  |  | 5243 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 5244 | else | 
|  |  | 5245 | ac_check_lib_save_LIBS=$LIBS | 
|  |  | 5246 | LIBS="-ldld  $LIBS" | 
|  |  | 5247 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 5248 | #line 5248 "configure" | 
|  |  | 5249 | #include "confdefs.h" | 
|  |  | 5250 |  | 
|  |  | 5251 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  |  | 5252 | #ifdef __cplusplus | 
|  |  | 5253 | extern "C" | 
|  |  | 5254 | #endif | 
|  |  | 5255 | /* We use char because int might match the return type of a gcc2 | 
|  |  | 5256 | builtin and then its argument prototype would still apply.  */ | 
|  |  | 5257 | char shl_load (); | 
|  |  | 5258 | int | 
|  |  | 5259 | main () | 
|  |  | 5260 | { | 
|  |  | 5261 | shl_load (); | 
|  |  | 5262 | ; | 
|  |  | 5263 | return 0; | 
|  |  | 5264 | } | 
|  |  | 5265 | _ACEOF | 
|  |  | 5266 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  |  | 5267 | if { (eval echo "$as_me:5267: \"$ac_link\"") >&5 | 
|  |  | 5268 | (eval $ac_link) 2>&5 | 
|  |  | 5269 | ac_status=$? | 
|  |  | 5270 | echo "$as_me:5270: \$? = $ac_status" >&5 | 
|  |  | 5271 | (exit $ac_status); } && | 
|  |  | 5272 | { ac_try='test -s conftest$ac_exeext' | 
|  |  | 5273 | { (eval echo "$as_me:5273: \"$ac_try\"") >&5 | 
|  |  | 5274 | (eval $ac_try) 2>&5 | 
|  |  | 5275 | ac_status=$? | 
|  |  | 5276 | echo "$as_me:5276: \$? = $ac_status" >&5 | 
|  |  | 5277 | (exit $ac_status); }; }; then | 
|  |  | 5278 | ac_cv_lib_dld_shl_load=yes | 
|  |  | 5279 | else | 
|  |  | 5280 | echo "$as_me: failed program was:" >&5 | 
|  |  | 5281 | cat conftest.$ac_ext >&5 | 
|  |  | 5282 | ac_cv_lib_dld_shl_load=no | 
|  |  | 5283 | fi | 
|  |  | 5284 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  |  | 5285 | LIBS=$ac_check_lib_save_LIBS | 
|  |  | 5286 | fi | 
|  |  | 5287 | echo "$as_me:5287: result: $ac_cv_lib_dld_shl_load" >&5 | 
|  |  | 5288 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
|  |  | 5289 | if test $ac_cv_lib_dld_shl_load = yes; then | 
|  |  | 5290 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
|  |  | 5291 | fi | 
|  |  | 5292 |  | 
|  |  | 5293 | fi | 
|  |  | 5294 |  | 
|  |  | 5295 | fi | 
|  |  | 5296 |  | 
|  |  | 5297 | fi | 
|  |  | 5298 |  | 
|  |  | 5299 | fi | 
|  |  | 5300 |  | 
|  |  | 5301 | ;; | 
|  |  | 5302 | esac | 
|  |  | 5303 |  | 
|  |  | 5304 | if test "x$lt_cv_dlopen" != xno; then | 
|  |  | 5305 | enable_dlopen=yes | 
|  |  | 5306 | else | 
|  |  | 5307 | enable_dlopen=no | 
|  |  | 5308 | fi | 
|  |  | 5309 |  | 
|  |  | 5310 | case $lt_cv_dlopen in | 
|  |  | 5311 | dlopen) | 
|  |  | 5312 | save_CPPFLAGS="$CPPFLAGS" | 
|  |  | 5313 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
|  |  | 5314 |  | 
|  |  | 5315 | save_LDFLAGS="$LDFLAGS" | 
|  |  | 5316 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
|  |  | 5317 |  | 
|  |  | 5318 | save_LIBS="$LIBS" | 
|  |  | 5319 | LIBS="$lt_cv_dlopen_libs $LIBS" | 
|  |  | 5320 |  | 
|  |  | 5321 | echo "$as_me:5321: checking whether a program can dlopen itself" >&5 | 
|  |  | 5322 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
|  |  | 5323 | if test "${lt_cv_dlopen_self+set}" = set; then | 
|  |  | 5324 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 5325 | else | 
|  |  | 5326 | if test "$cross_compiling" = yes; then : | 
|  |  | 5327 | lt_cv_dlopen_self=cross | 
|  |  | 5328 | else | 
|  |  | 5329 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
|  |  | 5330 | lt_status=$lt_dlunknown | 
|  |  | 5331 | cat > conftest.$ac_ext <<EOF | 
|  |  | 5332 | #line 5332 "configure" | 
|  |  | 5333 | #include "confdefs.h" | 
|  |  | 5334 |  | 
|  |  | 5335 | #if HAVE_DLFCN_H | 
|  |  | 5336 | #include <dlfcn.h> | 
|  |  | 5337 | #endif | 
|  |  | 5338 |  | 
|  |  | 5339 | #include <stdio.h> | 
|  |  | 5340 |  | 
|  |  | 5341 | #ifdef RTLD_GLOBAL | 
|  |  | 5342 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
|  |  | 5343 | #else | 
|  |  | 5344 | #  ifdef DL_GLOBAL | 
|  |  | 5345 | #    define LT_DLGLOBAL		DL_GLOBAL | 
|  |  | 5346 | #  else | 
|  |  | 5347 | #    define LT_DLGLOBAL		0 | 
|  |  | 5348 | #  endif | 
|  |  | 5349 | #endif | 
|  |  | 5350 |  | 
|  |  | 5351 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
|  |  | 5352 | find out it does not work in some platform. */ | 
|  |  | 5353 | #ifndef LT_DLLAZY_OR_NOW | 
|  |  | 5354 | #  ifdef RTLD_LAZY | 
|  |  | 5355 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
|  |  | 5356 | #  else | 
|  |  | 5357 | #    ifdef DL_LAZY | 
|  |  | 5358 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
|  |  | 5359 | #    else | 
|  |  | 5360 | #      ifdef RTLD_NOW | 
|  |  | 5361 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
|  |  | 5362 | #      else | 
|  |  | 5363 | #        ifdef DL_NOW | 
|  |  | 5364 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
|  |  | 5365 | #        else | 
|  |  | 5366 | #          define LT_DLLAZY_OR_NOW	0 | 
|  |  | 5367 | #        endif | 
|  |  | 5368 | #      endif | 
|  |  | 5369 | #    endif | 
|  |  | 5370 | #  endif | 
|  |  | 5371 | #endif | 
|  |  | 5372 |  | 
|  |  | 5373 | #ifdef __cplusplus | 
|  |  | 5374 | extern "C" void exit (int); | 
|  |  | 5375 | #endif | 
|  |  | 5376 |  | 
|  |  | 5377 | void fnord() { int i=42;} | 
|  |  | 5378 | int main () | 
|  |  | 5379 | { | 
|  |  | 5380 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
|  |  | 5381 | int status = $lt_dlunknown; | 
|  |  | 5382 |  | 
|  |  | 5383 | if (self) | 
|  |  | 5384 | { | 
|  |  | 5385 | if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
|  |  | 5386 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
|  |  | 5387 | /* dlclose (self); */ | 
|  |  | 5388 | } | 
|  |  | 5389 |  | 
|  |  | 5390 | exit (status); | 
|  |  | 5391 | } | 
|  |  | 5392 | EOF | 
|  |  | 5393 | if { (eval echo "$as_me:5393: \"$ac_link\"") >&5 | 
|  |  | 5394 | (eval $ac_link) 2>&5 | 
|  |  | 5395 | ac_status=$? | 
|  |  | 5396 | echo "$as_me:5396: \$? = $ac_status" >&5 | 
|  |  | 5397 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
|  |  | 5398 | (./conftest; exit; ) 2>/dev/null | 
|  |  | 5399 | lt_status=$? | 
|  |  | 5400 | case x$lt_status in | 
|  |  | 5401 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
|  |  | 5402 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
|  |  | 5403 | x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
|  |  | 5404 | esac | 
|  |  | 5405 | else : | 
|  |  | 5406 | # compilation failed | 
|  |  | 5407 | lt_cv_dlopen_self=no | 
|  |  | 5408 | fi | 
|  |  | 5409 | fi | 
|  |  | 5410 | rm -fr conftest* | 
|  |  | 5411 |  | 
|  |  | 5412 | fi | 
|  |  | 5413 | echo "$as_me:5413: result: $lt_cv_dlopen_self" >&5 | 
|  |  | 5414 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
|  |  | 5415 |  | 
|  |  | 5416 | if test "x$lt_cv_dlopen_self" = xyes; then | 
|  |  | 5417 | LDFLAGS="$LDFLAGS $link_static_flag" | 
|  |  | 5418 | echo "$as_me:5418: checking whether a statically linked program can dlopen itself" >&5 | 
|  |  | 5419 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
|  |  | 5420 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
|  |  | 5421 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 5422 | else | 
|  |  | 5423 | if test "$cross_compiling" = yes; then : | 
|  |  | 5424 | lt_cv_dlopen_self_static=cross | 
|  |  | 5425 | else | 
|  |  | 5426 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
|  |  | 5427 | lt_status=$lt_dlunknown | 
|  |  | 5428 | cat > conftest.$ac_ext <<EOF | 
|  |  | 5429 | #line 5429 "configure" | 
|  |  | 5430 | #include "confdefs.h" | 
|  |  | 5431 |  | 
|  |  | 5432 | #if HAVE_DLFCN_H | 
|  |  | 5433 | #include <dlfcn.h> | 
|  |  | 5434 | #endif | 
|  |  | 5435 |  | 
|  |  | 5436 | #include <stdio.h> | 
|  |  | 5437 |  | 
|  |  | 5438 | #ifdef RTLD_GLOBAL | 
|  |  | 5439 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
|  |  | 5440 | #else | 
|  |  | 5441 | #  ifdef DL_GLOBAL | 
|  |  | 5442 | #    define LT_DLGLOBAL		DL_GLOBAL | 
|  |  | 5443 | #  else | 
|  |  | 5444 | #    define LT_DLGLOBAL		0 | 
|  |  | 5445 | #  endif | 
|  |  | 5446 | #endif | 
|  |  | 5447 |  | 
|  |  | 5448 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
|  |  | 5449 | find out it does not work in some platform. */ | 
|  |  | 5450 | #ifndef LT_DLLAZY_OR_NOW | 
|  |  | 5451 | #  ifdef RTLD_LAZY | 
|  |  | 5452 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
|  |  | 5453 | #  else | 
|  |  | 5454 | #    ifdef DL_LAZY | 
|  |  | 5455 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
|  |  | 5456 | #    else | 
|  |  | 5457 | #      ifdef RTLD_NOW | 
|  |  | 5458 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
|  |  | 5459 | #      else | 
|  |  | 5460 | #        ifdef DL_NOW | 
|  |  | 5461 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
|  |  | 5462 | #        else | 
|  |  | 5463 | #          define LT_DLLAZY_OR_NOW	0 | 
|  |  | 5464 | #        endif | 
|  |  | 5465 | #      endif | 
|  |  | 5466 | #    endif | 
|  |  | 5467 | #  endif | 
|  |  | 5468 | #endif | 
|  |  | 5469 |  | 
|  |  | 5470 | #ifdef __cplusplus | 
|  |  | 5471 | extern "C" void exit (int); | 
|  |  | 5472 | #endif | 
|  |  | 5473 |  | 
|  |  | 5474 | void fnord() { int i=42;} | 
|  |  | 5475 | int main () | 
|  |  | 5476 | { | 
|  |  | 5477 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
|  |  | 5478 | int status = $lt_dlunknown; | 
|  |  | 5479 |  | 
|  |  | 5480 | if (self) | 
|  |  | 5481 | { | 
|  |  | 5482 | if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
|  |  | 5483 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
|  |  | 5484 | /* dlclose (self); */ | 
|  |  | 5485 | } | 
|  |  | 5486 |  | 
|  |  | 5487 | exit (status); | 
|  |  | 5488 | } | 
|  |  | 5489 | EOF | 
|  |  | 5490 | if { (eval echo "$as_me:5490: \"$ac_link\"") >&5 | 
|  |  | 5491 | (eval $ac_link) 2>&5 | 
|  |  | 5492 | ac_status=$? | 
|  |  | 5493 | echo "$as_me:5493: \$? = $ac_status" >&5 | 
|  |  | 5494 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
|  |  | 5495 | (./conftest; exit; ) 2>/dev/null | 
|  |  | 5496 | lt_status=$? | 
|  |  | 5497 | case x$lt_status in | 
|  |  | 5498 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
|  |  | 5499 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
|  |  | 5500 | x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
|  |  | 5501 | esac | 
|  |  | 5502 | else : | 
|  |  | 5503 | # compilation failed | 
|  |  | 5504 | lt_cv_dlopen_self_static=no | 
|  |  | 5505 | fi | 
|  |  | 5506 | fi | 
|  |  | 5507 | rm -fr conftest* | 
|  |  | 5508 |  | 
|  |  | 5509 | fi | 
|  |  | 5510 | echo "$as_me:5510: result: $lt_cv_dlopen_self_static" >&5 | 
|  |  | 5511 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
|  |  | 5512 | fi | 
|  |  | 5513 |  | 
|  |  | 5514 | CPPFLAGS="$save_CPPFLAGS" | 
|  |  | 5515 | LDFLAGS="$save_LDFLAGS" | 
|  |  | 5516 | LIBS="$save_LIBS" | 
|  |  | 5517 | ;; | 
|  |  | 5518 | esac | 
|  |  | 5519 |  | 
|  |  | 5520 | case $lt_cv_dlopen_self in | 
|  |  | 5521 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
|  |  | 5522 | *) enable_dlopen_self=unknown ;; | 
|  |  | 5523 | esac | 
|  |  | 5524 |  | 
|  |  | 5525 | case $lt_cv_dlopen_self_static in | 
|  |  | 5526 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
|  |  | 5527 | *) enable_dlopen_self_static=unknown ;; | 
|  |  | 5528 | esac | 
|  |  | 5529 | fi | 
|  |  | 5530 |  | 
|  |  | 5531 | if test "$enable_shared" = yes && test "$GCC" = yes; then | 
|  |  | 5532 | case $archive_cmds in | 
|  |  | 5533 | *'~'*) | 
|  |  | 5534 | # FIXME: we may have to deal with multi-command sequences. | 
|  |  | 5535 | ;; | 
|  |  | 5536 | '$CC '*) | 
|  |  | 5537 | # Test whether the compiler implicitly links with -lc since on some | 
|  |  | 5538 | # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
|  |  | 5539 | # to ld, don't add -lc before -lgcc. | 
|  |  | 5540 | echo "$as_me:5540: checking whether -lc should be explicitly linked in" >&5 | 
|  |  | 5541 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
|  |  | 5542 | if test "${lt_cv_archive_cmds_need_lc+set}" = set; then | 
|  |  | 5543 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 5544 | else | 
|  |  | 5545 | $rm conftest* | 
|  |  | 5546 | echo 'static int dummy;' > conftest.$ac_ext | 
|  |  | 5547 |  | 
|  |  | 5548 | if { (eval echo "$as_me:5548: \"$ac_compile\"") >&5 | 
|  |  | 5549 | (eval $ac_compile) 2>&5 | 
|  |  | 5550 | ac_status=$? | 
|  |  | 5551 | echo "$as_me:5551: \$? = $ac_status" >&5 | 
|  |  | 5552 | (exit $ac_status); }; then | 
|  |  | 5553 | soname=conftest | 
|  |  | 5554 | lib=conftest | 
|  |  | 5555 | libobjs=conftest.$ac_objext | 
|  |  | 5556 | deplibs= | 
|  |  | 5557 | wl=$lt_cv_prog_cc_wl | 
|  |  | 5558 | compiler_flags=-v | 
|  |  | 5559 | linker_flags=-v | 
|  |  | 5560 | verstring= | 
|  |  | 5561 | output_objdir=. | 
|  |  | 5562 | libname=conftest | 
|  |  | 5563 | save_allow_undefined_flag=$allow_undefined_flag | 
|  |  | 5564 | allow_undefined_flag= | 
|  |  | 5565 | if { (eval echo "$as_me:5565: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
|  |  | 5566 | (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
|  |  | 5567 | ac_status=$? | 
|  |  | 5568 | echo "$as_me:5568: \$? = $ac_status" >&5 | 
|  |  | 5569 | (exit $ac_status); } | 
|  |  | 5570 | then | 
|  |  | 5571 | lt_cv_archive_cmds_need_lc=no | 
|  |  | 5572 | else | 
|  |  | 5573 | lt_cv_archive_cmds_need_lc=yes | 
|  |  | 5574 | fi | 
|  |  | 5575 | allow_undefined_flag=$save_allow_undefined_flag | 
|  |  | 5576 | else | 
|  |  | 5577 | cat conftest.err 1>&5 | 
|  |  | 5578 | fi | 
|  |  | 5579 | fi | 
|  |  | 5580 |  | 
|  |  | 5581 | echo "$as_me:5581: result: $lt_cv_archive_cmds_need_lc" >&5 | 
|  |  | 5582 | echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 | 
|  |  | 5583 | ;; | 
|  |  | 5584 | esac | 
|  |  | 5585 | fi | 
|  |  | 5586 | need_lc=${lt_cv_archive_cmds_need_lc-yes} | 
|  |  | 5587 |  | 
|  |  | 5588 | # The second clause should only fire when bootstrapping the | 
|  |  | 5589 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
|  |  | 5590 | # with your package, and you will get complaints that there are | 
|  |  | 5591 | # no rules to generate ltmain.sh. | 
|  |  | 5592 | if test -f "$ltmain"; then | 
| 1440 | : | 5593 | : | 
| 1441 | else | 5594 | else | 
| 1442 | if test -w $cache_file; then | 5595 | # If there is no Makefile yet, we rely on a make rule to execute | 
| 1443 | echo "updating cache $cache_file" | 5596 | # `config.status --recheck' to rerun these tests and create the | 
| 1444 | cat confcache > $cache_file | 5597 | # libtool script then. | 
| 1445 | else | 5598 | test -f Makefile && make "$ltmain" | 
| 1446 | echo "not updating unwritable cache $cache_file" |  |  | 
| 1447 | fi |  |  | 
| 1448 | fi | 5599 | fi | 
| 1449 | rm -f confcache |  |  | 
| 1450 |  | 5600 |  | 
| 1451 |  |  |  | 
| 1452 | # Actually configure libtool.  ac_aux_dir is where install-sh is found. |  |  | 
| 1453 | CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ |  |  | 
| 1454 | LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ |  |  | 
| 1455 | LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ |  |  | 
| 1456 | DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ |  |  | 
| 1457 | ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ |  |  | 
| 1458 | $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \ |  |  | 
| 1459 | || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } |  |  | 
| 1460 |  |  |  | 
| 1461 | # Reload cache, that may have been modified by ltconfig |  |  | 
| 1462 | if test -r "$cache_file"; then | 5601 | if test -f "$ltmain"; then | 
| 1463 | echo "loading cache $cache_file" | 5602 | trap "$rm \"${ofile}T\"; exit 1" 1 2 15 | 
| 1464 | . $cache_file | 5603 | $rm -f "${ofile}T" | 
| 1465 | else |  |  | 
| 1466 | echo "creating cache $cache_file" |  |  | 
| 1467 | > $cache_file |  |  | 
| 1468 | fi |  |  | 
| 1469 |  | 5604 |  | 
|  |  | 5605 | echo creating $ofile | 
|  |  | 5606 |  | 
|  |  | 5607 | # Now quote all the things that may contain metacharacters while being | 
|  |  | 5608 | # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
|  |  | 5609 | # variables and quote the copies for generation of the libtool script. | 
|  |  | 5610 | for var in echo old_CC old_CFLAGS \ | 
|  |  | 5611 | AR AR_FLAGS CC LD LN_S NM SHELL \ | 
|  |  | 5612 | reload_flag reload_cmds wl \ | 
|  |  | 5613 | pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ | 
|  |  | 5614 | thread_safe_flag_spec whole_archive_flag_spec libname_spec \ | 
|  |  | 5615 | library_names_spec soname_spec \ | 
|  |  | 5616 | RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ | 
|  |  | 5617 | old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ | 
|  |  | 5618 | postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ | 
|  |  | 5619 | old_striplib striplib file_magic_cmd export_symbols_cmds \ | 
|  |  | 5620 | deplibs_check_method allow_undefined_flag no_undefined_flag \ | 
|  |  | 5621 | finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ | 
|  |  | 5622 | hardcode_libdir_flag_spec hardcode_libdir_separator  \ | 
|  |  | 5623 | sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
|  |  | 5624 | compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do | 
|  |  | 5625 |  | 
|  |  | 5626 | case $var in | 
|  |  | 5627 | reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ | 
|  |  | 5628 | old_postinstall_cmds | old_postuninstall_cmds | \ | 
|  |  | 5629 | export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ | 
|  |  | 5630 | extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ | 
|  |  | 5631 | postinstall_cmds | postuninstall_cmds | \ | 
|  |  | 5632 | finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
|  |  | 5633 | # Double-quote double-evaled strings. | 
|  |  | 5634 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
|  |  | 5635 | ;; | 
|  |  | 5636 | *) | 
|  |  | 5637 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
|  |  | 5638 | ;; | 
|  |  | 5639 | esac | 
|  |  | 5640 | done | 
|  |  | 5641 |  | 
|  |  | 5642 | cat <<__EOF__ > "${ofile}T" | 
|  |  | 5643 | #! $SHELL | 
|  |  | 5644 |  | 
|  |  | 5645 | # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. | 
|  |  | 5646 | # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) | 
|  |  | 5647 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. | 
|  |  | 5648 | # | 
|  |  | 5649 | # Copyright (C) 1996-2000 Free Software Foundation, Inc. | 
|  |  | 5650 | # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 | 
|  |  | 5651 | # | 
|  |  | 5652 | # This program is free software; you can redistribute it and/or modify | 
|  |  | 5653 | # it under the terms of the GNU General Public License as published by | 
|  |  | 5654 | # the Free Software Foundation; either version 2 of the License, or | 
|  |  | 5655 | # (at your option) any later version. | 
|  |  | 5656 | # | 
|  |  | 5657 | # This program is distributed in the hope that it will be useful, but | 
|  |  | 5658 | # WITHOUT ANY WARRANTY; without even the implied warranty of | 
|  |  | 5659 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
|  |  | 5660 | # General Public License for more details. | 
|  |  | 5661 | # | 
|  |  | 5662 | # You should have received a copy of the GNU General Public License | 
|  |  | 5663 | # along with this program; if not, write to the Free Software | 
|  |  | 5664 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 
|  |  | 5665 | # | 
|  |  | 5666 | # As a special exception to the GNU General Public License, if you | 
|  |  | 5667 | # distribute this file as part of a program that contains a | 
|  |  | 5668 | # configuration script generated by Autoconf, you may include it under | 
|  |  | 5669 | # the same distribution terms that you use for the rest of that program. | 
|  |  | 5670 |  | 
|  |  | 5671 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. | 
|  |  | 5672 | Xsed="sed -e s/^X//" | 
|  |  | 5673 |  | 
|  |  | 5674 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 
|  |  | 5675 | # if CDPATH is set. | 
|  |  | 5676 | if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 
|  |  | 5677 |  | 
|  |  | 5678 | # ### BEGIN LIBTOOL CONFIG | 
|  |  | 5679 |  | 
|  |  | 5680 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
|  |  | 5681 |  | 
|  |  | 5682 | # Shell to use when invoking shell scripts. | 
|  |  | 5683 | SHELL=$lt_SHELL | 
|  |  | 5684 |  | 
|  |  | 5685 | # Whether or not to build shared libraries. | 
|  |  | 5686 | build_libtool_libs=$enable_shared | 
|  |  | 5687 |  | 
|  |  | 5688 | # Whether or not to add -lc for building shared libraries. | 
|  |  | 5689 | build_libtool_need_lc=$need_lc | 
|  |  | 5690 |  | 
|  |  | 5691 | # Whether or not to build static libraries. | 
|  |  | 5692 | build_old_libs=$enable_static | 
|  |  | 5693 |  | 
|  |  | 5694 | # Whether or not to optimize for fast installation. | 
|  |  | 5695 | fast_install=$enable_fast_install | 
|  |  | 5696 |  | 
|  |  | 5697 | # The host system. | 
|  |  | 5698 | host_alias=$host_alias | 
|  |  | 5699 | host=$host | 
|  |  | 5700 |  | 
|  |  | 5701 | # An echo program that does not interpret backslashes. | 
|  |  | 5702 | echo=$lt_echo | 
|  |  | 5703 |  | 
|  |  | 5704 | # The archiver. | 
|  |  | 5705 | AR=$lt_AR | 
|  |  | 5706 | AR_FLAGS=$lt_AR_FLAGS | 
|  |  | 5707 |  | 
|  |  | 5708 | # The default C compiler. | 
|  |  | 5709 | CC=$lt_CC | 
|  |  | 5710 |  | 
|  |  | 5711 | # Is the compiler the GNU C compiler? | 
|  |  | 5712 | with_gcc=$GCC | 
|  |  | 5713 |  | 
|  |  | 5714 | # The linker used to build libraries. | 
|  |  | 5715 | LD=$lt_LD | 
|  |  | 5716 |  | 
|  |  | 5717 | # Whether we need hard or soft links. | 
|  |  | 5718 | LN_S=$lt_LN_S | 
|  |  | 5719 |  | 
|  |  | 5720 | # A BSD-compatible nm program. | 
|  |  | 5721 | NM=$lt_NM | 
|  |  | 5722 |  | 
|  |  | 5723 | # A symbol stripping program | 
|  |  | 5724 | STRIP=$STRIP | 
|  |  | 5725 |  | 
|  |  | 5726 | # Used to examine libraries when file_magic_cmd begins "file" | 
|  |  | 5727 | MAGIC_CMD=$MAGIC_CMD | 
|  |  | 5728 |  | 
|  |  | 5729 | # Used on cygwin: DLL creation program. | 
|  |  | 5730 | DLLTOOL="$DLLTOOL" | 
|  |  | 5731 |  | 
|  |  | 5732 | # Used on cygwin: object dumper. | 
|  |  | 5733 | OBJDUMP="$OBJDUMP" | 
|  |  | 5734 |  | 
|  |  | 5735 | # Used on cygwin: assembler. | 
|  |  | 5736 | AS="$AS" | 
|  |  | 5737 |  | 
|  |  | 5738 | # The name of the directory that contains temporary libtool files. | 
|  |  | 5739 | objdir=$objdir | 
|  |  | 5740 |  | 
|  |  | 5741 | # How to create reloadable object files. | 
|  |  | 5742 | reload_flag=$lt_reload_flag | 
|  |  | 5743 | reload_cmds=$lt_reload_cmds | 
|  |  | 5744 |  | 
|  |  | 5745 | # How to pass a linker flag through the compiler. | 
|  |  | 5746 | wl=$lt_wl | 
|  |  | 5747 |  | 
|  |  | 5748 | # Object file suffix (normally "o"). | 
|  |  | 5749 | objext="$ac_objext" | 
|  |  | 5750 |  | 
|  |  | 5751 | # Old archive suffix (normally "a"). | 
|  |  | 5752 | libext="$libext" | 
|  |  | 5753 |  | 
|  |  | 5754 | # Executable file suffix (normally ""). | 
|  |  | 5755 | exeext="$exeext" | 
|  |  | 5756 |  | 
|  |  | 5757 | # Additional compiler flags for building library objects. | 
|  |  | 5758 | pic_flag=$lt_pic_flag | 
|  |  | 5759 | pic_mode=$pic_mode | 
|  |  | 5760 |  | 
|  |  | 5761 | # Does compiler simultaneously support -c and -o options? | 
|  |  | 5762 | compiler_c_o=$lt_compiler_c_o | 
|  |  | 5763 |  | 
|  |  | 5764 | # Can we write directly to a .lo ? | 
|  |  | 5765 | compiler_o_lo=$lt_compiler_o_lo | 
|  |  | 5766 |  | 
|  |  | 5767 | # Must we lock files when doing compilation ? | 
|  |  | 5768 | need_locks=$lt_need_locks | 
|  |  | 5769 |  | 
|  |  | 5770 | # Do we need the lib prefix for modules? | 
|  |  | 5771 | need_lib_prefix=$need_lib_prefix | 
|  |  | 5772 |  | 
|  |  | 5773 | # Do we need a version for libraries? | 
|  |  | 5774 | need_version=$need_version | 
|  |  | 5775 |  | 
|  |  | 5776 | # Whether dlopen is supported. | 
|  |  | 5777 | dlopen_support=$enable_dlopen | 
|  |  | 5778 |  | 
|  |  | 5779 | # Whether dlopen of programs is supported. | 
|  |  | 5780 | dlopen_self=$enable_dlopen_self | 
|  |  | 5781 |  | 
|  |  | 5782 | # Whether dlopen of statically linked programs is supported. | 
|  |  | 5783 | dlopen_self_static=$enable_dlopen_self_static | 
|  |  | 5784 |  | 
|  |  | 5785 | # Compiler flag to prevent dynamic linking. | 
|  |  | 5786 | link_static_flag=$lt_link_static_flag | 
|  |  | 5787 |  | 
|  |  | 5788 | # Compiler flag to turn off builtin functions. | 
|  |  | 5789 | no_builtin_flag=$lt_no_builtin_flag | 
|  |  | 5790 |  | 
|  |  | 5791 | # Compiler flag to allow reflexive dlopens. | 
|  |  | 5792 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec | 
|  |  | 5793 |  | 
|  |  | 5794 | # Compiler flag to generate shared objects directly from archives. | 
|  |  | 5795 | whole_archive_flag_spec=$lt_whole_archive_flag_spec | 
|  |  | 5796 |  | 
|  |  | 5797 | # Compiler flag to generate thread-safe objects. | 
|  |  | 5798 | thread_safe_flag_spec=$lt_thread_safe_flag_spec | 
|  |  | 5799 |  | 
|  |  | 5800 | # Library versioning type. | 
|  |  | 5801 | version_type=$version_type | 
|  |  | 5802 |  | 
|  |  | 5803 | # Format of library name prefix. | 
|  |  | 5804 | libname_spec=$lt_libname_spec | 
|  |  | 5805 |  | 
|  |  | 5806 | # List of archive names.  First name is the real one, the rest are links. | 
|  |  | 5807 | # The last name is the one that the linker finds with -lNAME. | 
|  |  | 5808 | library_names_spec=$lt_library_names_spec | 
|  |  | 5809 |  | 
|  |  | 5810 | # The coded name of the library, if different from the real name. | 
|  |  | 5811 | soname_spec=$lt_soname_spec | 
|  |  | 5812 |  | 
|  |  | 5813 | # Commands used to build and install an old-style archive. | 
|  |  | 5814 | RANLIB=$lt_RANLIB | 
|  |  | 5815 | old_archive_cmds=$lt_old_archive_cmds | 
|  |  | 5816 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
|  |  | 5817 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
|  |  | 5818 |  | 
|  |  | 5819 | # Create an old-style archive from a shared archive. | 
|  |  | 5820 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds | 
|  |  | 5821 |  | 
|  |  | 5822 | # Create a temporary old-style archive to link instead of a shared archive. | 
|  |  | 5823 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds | 
|  |  | 5824 |  | 
|  |  | 5825 | # Commands used to build and install a shared archive. | 
|  |  | 5826 | archive_cmds=$lt_archive_cmds | 
|  |  | 5827 | archive_expsym_cmds=$lt_archive_expsym_cmds | 
|  |  | 5828 | postinstall_cmds=$lt_postinstall_cmds | 
|  |  | 5829 | postuninstall_cmds=$lt_postuninstall_cmds | 
|  |  | 5830 |  | 
|  |  | 5831 | # Commands to strip libraries. | 
|  |  | 5832 | old_striplib=$lt_old_striplib | 
|  |  | 5833 | striplib=$lt_striplib | 
|  |  | 5834 |  | 
|  |  | 5835 | # Method to check whether dependent libraries are shared objects. | 
|  |  | 5836 | deplibs_check_method=$lt_deplibs_check_method | 
|  |  | 5837 |  | 
|  |  | 5838 | # Command to use when deplibs_check_method == file_magic. | 
|  |  | 5839 | file_magic_cmd=$lt_file_magic_cmd | 
|  |  | 5840 |  | 
|  |  | 5841 | # Flag that allows shared libraries with undefined symbols to be built. | 
|  |  | 5842 | allow_undefined_flag=$lt_allow_undefined_flag | 
|  |  | 5843 |  | 
|  |  | 5844 | # Flag that forces no undefined symbols. | 
|  |  | 5845 | no_undefined_flag=$lt_no_undefined_flag | 
|  |  | 5846 |  | 
|  |  | 5847 | # Commands used to finish a libtool library installation in a directory. | 
|  |  | 5848 | finish_cmds=$lt_finish_cmds | 
|  |  | 5849 |  | 
|  |  | 5850 | # Same as above, but a single script fragment to be evaled but not shown. | 
|  |  | 5851 | finish_eval=$lt_finish_eval | 
|  |  | 5852 |  | 
|  |  | 5853 | # Take the output of nm and produce a listing of raw symbols and C names. | 
|  |  | 5854 | global_symbol_pipe=$lt_global_symbol_pipe | 
|  |  | 5855 |  | 
|  |  | 5856 | # Transform the output of nm in a proper C declaration | 
|  |  | 5857 | global_symbol_to_cdecl=$lt_global_symbol_to_cdecl | 
|  |  | 5858 |  | 
|  |  | 5859 | # This is the shared library runtime path variable. | 
|  |  | 5860 | runpath_var=$runpath_var | 
|  |  | 5861 |  | 
|  |  | 5862 | # This is the shared library path variable. | 
|  |  | 5863 | shlibpath_var=$shlibpath_var | 
|  |  | 5864 |  | 
|  |  | 5865 | # Is shlibpath searched before the hard-coded library search path? | 
|  |  | 5866 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
|  |  | 5867 |  | 
|  |  | 5868 | # How to hardcode a shared library path into an executable. | 
|  |  | 5869 | hardcode_action=$hardcode_action | 
|  |  | 5870 |  | 
|  |  | 5871 | # Whether we should hardcode library paths into libraries. | 
|  |  | 5872 | hardcode_into_libs=$hardcode_into_libs | 
|  |  | 5873 |  | 
|  |  | 5874 | # Flag to hardcode \$libdir into a binary during linking. | 
|  |  | 5875 | # This must work even if \$libdir does not exist. | 
|  |  | 5876 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | 
|  |  | 5877 |  | 
|  |  | 5878 | # Whether we need a single -rpath flag with a separated argument. | 
|  |  | 5879 | hardcode_libdir_separator=$lt_hardcode_libdir_separator | 
|  |  | 5880 |  | 
|  |  | 5881 | # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the | 
|  |  | 5882 | # resulting binary. | 
|  |  | 5883 | hardcode_direct=$hardcode_direct | 
|  |  | 5884 |  | 
|  |  | 5885 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
|  |  | 5886 | # resulting binary. | 
|  |  | 5887 | hardcode_minus_L=$hardcode_minus_L | 
|  |  | 5888 |  | 
|  |  | 5889 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
|  |  | 5890 | # the resulting binary. | 
|  |  | 5891 | hardcode_shlibpath_var=$hardcode_shlibpath_var | 
|  |  | 5892 |  | 
|  |  | 5893 | # Variables whose values should be saved in libtool wrapper scripts and | 
|  |  | 5894 | # restored at relink time. | 
|  |  | 5895 | variables_saved_for_relink="$variables_saved_for_relink" | 
|  |  | 5896 |  | 
|  |  | 5897 | # Whether libtool must link a program against all its dependency libraries. | 
|  |  | 5898 | link_all_deplibs=$link_all_deplibs | 
|  |  | 5899 |  | 
|  |  | 5900 | # Compile-time system search path for libraries | 
|  |  | 5901 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
|  |  | 5902 |  | 
|  |  | 5903 | # Run-time system search path for libraries | 
|  |  | 5904 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
|  |  | 5905 |  | 
|  |  | 5906 | # Fix the shell variable \$srcfile for the compiler. | 
|  |  | 5907 | fix_srcfile_path="$fix_srcfile_path" | 
|  |  | 5908 |  | 
|  |  | 5909 | # Set to yes if exported symbols are required. | 
|  |  | 5910 | always_export_symbols=$always_export_symbols | 
|  |  | 5911 |  | 
|  |  | 5912 | # The commands to list exported symbols. | 
|  |  | 5913 | export_symbols_cmds=$lt_export_symbols_cmds | 
|  |  | 5914 |  | 
|  |  | 5915 | # The commands to extract the exported symbol list from a shared archive. | 
|  |  | 5916 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
|  |  | 5917 |  | 
|  |  | 5918 | # Symbols that should not be listed in the preloaded symbols. | 
|  |  | 5919 | exclude_expsyms=$lt_exclude_expsyms | 
|  |  | 5920 |  | 
|  |  | 5921 | # Symbols that must always be exported. | 
|  |  | 5922 | include_expsyms=$lt_include_expsyms | 
|  |  | 5923 |  | 
|  |  | 5924 | # ### END LIBTOOL CONFIG | 
|  |  | 5925 |  | 
|  |  | 5926 | __EOF__ | 
|  |  | 5927 |  | 
|  |  | 5928 | case $host_os in | 
|  |  | 5929 | aix3*) | 
|  |  | 5930 | cat <<\EOF >> "${ofile}T" | 
|  |  | 5931 |  | 
|  |  | 5932 | # AIX sometimes has problems with the GCC collect2 program.  For some | 
|  |  | 5933 | # reason, if we set the COLLECT_NAMES environment variable, the problems | 
|  |  | 5934 | # vanish in a puff of smoke. | 
|  |  | 5935 | if test "X${COLLECT_NAMES+set}" != Xset; then | 
|  |  | 5936 | COLLECT_NAMES= | 
|  |  | 5937 | export COLLECT_NAMES | 
|  |  | 5938 | fi | 
|  |  | 5939 | EOF | 
|  |  | 5940 | ;; | 
|  |  | 5941 | esac | 
|  |  | 5942 |  | 
|  |  | 5943 | case $host_os in | 
|  |  | 5944 | cygwin* | mingw* | pw32* | os2*) | 
|  |  | 5945 | cat <<'EOF' >> "${ofile}T" | 
|  |  | 5946 | # This is a source program that is used to create dlls on Windows | 
|  |  | 5947 | # Don't remove nor modify the starting and closing comments | 
|  |  | 5948 | # /* ltdll.c starts here */ | 
|  |  | 5949 | # #define WIN32_LEAN_AND_MEAN | 
|  |  | 5950 | # #include <windows.h> | 
|  |  | 5951 | # #undef WIN32_LEAN_AND_MEAN | 
|  |  | 5952 | # #include <stdio.h> | 
|  |  | 5953 | # | 
|  |  | 5954 | # #ifndef __CYGWIN__ | 
|  |  | 5955 | # #  ifdef __CYGWIN32__ | 
|  |  | 5956 | # #    define __CYGWIN__ __CYGWIN32__ | 
|  |  | 5957 | # #  endif | 
|  |  | 5958 | # #endif | 
|  |  | 5959 | # | 
|  |  | 5960 | # #ifdef __cplusplus | 
|  |  | 5961 | # extern "C" { | 
|  |  | 5962 | # #endif | 
|  |  | 5963 | # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); | 
|  |  | 5964 | # #ifdef __cplusplus | 
|  |  | 5965 | # } | 
|  |  | 5966 | # #endif | 
|  |  | 5967 | # | 
|  |  | 5968 | # #ifdef __CYGWIN__ | 
|  |  | 5969 | # #include <cygwin/cygwin_dll.h> | 
|  |  | 5970 | # DECLARE_CYGWIN_DLL( DllMain ); | 
|  |  | 5971 | # #endif | 
|  |  | 5972 | # HINSTANCE __hDllInstance_base; | 
|  |  | 5973 | # | 
|  |  | 5974 | # BOOL APIENTRY | 
|  |  | 5975 | # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) | 
|  |  | 5976 | # { | 
|  |  | 5977 | #   __hDllInstance_base = hInst; | 
|  |  | 5978 | #   return TRUE; | 
|  |  | 5979 | # } | 
|  |  | 5980 | # /* ltdll.c ends here */ | 
|  |  | 5981 | # This is a source program that is used to create import libraries | 
|  |  | 5982 | # on Windows for dlls which lack them. Don't remove nor modify the | 
|  |  | 5983 | # starting and closing comments | 
|  |  | 5984 | # /* impgen.c starts here */ | 
|  |  | 5985 | # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc. | 
|  |  | 5986 | # | 
|  |  | 5987 | #  This file is part of GNU libtool. | 
|  |  | 5988 | # | 
|  |  | 5989 | #  This program is free software; you can redistribute it and/or modify | 
|  |  | 5990 | #  it under the terms of the GNU General Public License as published by | 
|  |  | 5991 | #  the Free Software Foundation; either version 2 of the License, or | 
|  |  | 5992 | #  (at your option) any later version. | 
|  |  | 5993 | # | 
|  |  | 5994 | #  This program is distributed in the hope that it will be useful, | 
|  |  | 5995 | #  but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|  |  | 5996 | #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|  |  | 5997 | #  GNU General Public License for more details. | 
|  |  | 5998 | # | 
|  |  | 5999 | #  You should have received a copy of the GNU General Public License | 
|  |  | 6000 | #  along with this program; if not, write to the Free Software | 
|  |  | 6001 | #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 
|  |  | 6002 | #  */ | 
|  |  | 6003 | # | 
|  |  | 6004 | # #include <stdio.h>		/* for printf() */ | 
|  |  | 6005 | # #include <unistd.h>		/* for open(), lseek(), read() */ | 
|  |  | 6006 | # #include <fcntl.h>		/* for O_RDONLY, O_BINARY */ | 
|  |  | 6007 | # #include <string.h>		/* for strdup() */ | 
|  |  | 6008 | # | 
|  |  | 6009 | # /* O_BINARY isn't required (or even defined sometimes) under Unix */ | 
|  |  | 6010 | # #ifndef O_BINARY | 
|  |  | 6011 | # #define O_BINARY 0 | 
|  |  | 6012 | # #endif | 
|  |  | 6013 | # | 
|  |  | 6014 | # static unsigned int | 
|  |  | 6015 | # pe_get16 (fd, offset) | 
|  |  | 6016 | #      int fd; | 
|  |  | 6017 | #      int offset; | 
|  |  | 6018 | # { | 
|  |  | 6019 | #   unsigned char b[2]; | 
|  |  | 6020 | #   lseek (fd, offset, SEEK_SET); | 
|  |  | 6021 | #   read (fd, b, 2); | 
|  |  | 6022 | #   return b[0] + (b[1]<<8); | 
|  |  | 6023 | # } | 
|  |  | 6024 | # | 
|  |  | 6025 | # static unsigned int | 
|  |  | 6026 | # pe_get32 (fd, offset) | 
|  |  | 6027 | #     int fd; | 
|  |  | 6028 | #     int offset; | 
|  |  | 6029 | # { | 
|  |  | 6030 | #   unsigned char b[4]; | 
|  |  | 6031 | #   lseek (fd, offset, SEEK_SET); | 
|  |  | 6032 | #   read (fd, b, 4); | 
|  |  | 6033 | #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); | 
|  |  | 6034 | # } | 
|  |  | 6035 | # | 
|  |  | 6036 | # static unsigned int | 
|  |  | 6037 | # pe_as32 (ptr) | 
|  |  | 6038 | #      void *ptr; | 
|  |  | 6039 | # { | 
|  |  | 6040 | #   unsigned char *b = ptr; | 
|  |  | 6041 | #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); | 
|  |  | 6042 | # } | 
|  |  | 6043 | # | 
|  |  | 6044 | # int | 
|  |  | 6045 | # main (argc, argv) | 
|  |  | 6046 | #     int argc; | 
|  |  | 6047 | #     char *argv[]; | 
|  |  | 6048 | # { | 
|  |  | 6049 | #     int dll; | 
|  |  | 6050 | #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i; | 
|  |  | 6051 | #     unsigned long export_rva, export_size, nsections, secptr, expptr; | 
|  |  | 6052 | #     unsigned long name_rvas, nexp; | 
|  |  | 6053 | #     unsigned char *expdata, *erva; | 
|  |  | 6054 | #     char *filename, *dll_name; | 
|  |  | 6055 | # | 
|  |  | 6056 | #     filename = argv[1]; | 
|  |  | 6057 | # | 
|  |  | 6058 | #     dll = open(filename, O_RDONLY|O_BINARY); | 
|  |  | 6059 | #     if (dll < 1) | 
|  |  | 6060 | # 	return 1; | 
|  |  | 6061 | # | 
|  |  | 6062 | #     dll_name = filename; | 
|  |  | 6063 | # | 
|  |  | 6064 | #     for (i=0; filename[i]; i++) | 
|  |  | 6065 | # 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':') | 
|  |  | 6066 | # 	    dll_name = filename + i +1; | 
|  |  | 6067 | # | 
|  |  | 6068 | #     pe_header_offset = pe_get32 (dll, 0x3c); | 
|  |  | 6069 | #     opthdr_ofs = pe_header_offset + 4 + 20; | 
|  |  | 6070 | #     num_entries = pe_get32 (dll, opthdr_ofs + 92); | 
|  |  | 6071 | # | 
|  |  | 6072 | #     if (num_entries < 1) /* no exports */ | 
|  |  | 6073 | # 	return 1; | 
|  |  | 6074 | # | 
|  |  | 6075 | #     export_rva = pe_get32 (dll, opthdr_ofs + 96); | 
|  |  | 6076 | #     export_size = pe_get32 (dll, opthdr_ofs + 100); | 
|  |  | 6077 | #     nsections = pe_get16 (dll, pe_header_offset + 4 +2); | 
|  |  | 6078 | #     secptr = (pe_header_offset + 4 + 20 + | 
|  |  | 6079 | # 	      pe_get16 (dll, pe_header_offset + 4 + 16)); | 
|  |  | 6080 | # | 
|  |  | 6081 | #     expptr = 0; | 
|  |  | 6082 | #     for (i = 0; i < nsections; i++) | 
|  |  | 6083 | #     { | 
|  |  | 6084 | # 	char sname[8]; | 
|  |  | 6085 | # 	unsigned long secptr1 = secptr + 40 * i; | 
|  |  | 6086 | # 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12); | 
|  |  | 6087 | # 	unsigned long vsize = pe_get32 (dll, secptr1 + 16); | 
|  |  | 6088 | # 	unsigned long fptr = pe_get32 (dll, secptr1 + 20); | 
|  |  | 6089 | # 	lseek(dll, secptr1, SEEK_SET); | 
|  |  | 6090 | # 	read(dll, sname, 8); | 
|  |  | 6091 | # 	if (vaddr <= export_rva && vaddr+vsize > export_rva) | 
|  |  | 6092 | # 	{ | 
|  |  | 6093 | # 	    expptr = fptr + (export_rva - vaddr); | 
|  |  | 6094 | # 	    if (export_rva + export_size > vaddr + vsize) | 
|  |  | 6095 | # 		export_size = vsize - (export_rva - vaddr); | 
|  |  | 6096 | # 	    break; | 
|  |  | 6097 | # 	} | 
|  |  | 6098 | #     } | 
|  |  | 6099 | # | 
|  |  | 6100 | #     expdata = (unsigned char*)malloc(export_size); | 
|  |  | 6101 | #     lseek (dll, expptr, SEEK_SET); | 
|  |  | 6102 | #     read (dll, expdata, export_size); | 
|  |  | 6103 | #     erva = expdata - export_rva; | 
|  |  | 6104 | # | 
|  |  | 6105 | #     nexp = pe_as32 (expdata+24); | 
|  |  | 6106 | #     name_rvas = pe_as32 (expdata+32); | 
|  |  | 6107 | # | 
|  |  | 6108 | #     printf ("EXPORTS\n"); | 
|  |  | 6109 | #     for (i = 0; i<nexp; i++) | 
|  |  | 6110 | #     { | 
|  |  | 6111 | # 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4); | 
|  |  | 6112 | # 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i); | 
|  |  | 6113 | #     } | 
|  |  | 6114 | # | 
|  |  | 6115 | #     return 0; | 
|  |  | 6116 | # } | 
|  |  | 6117 | # /* impgen.c ends here */ | 
|  |  | 6118 |  | 
|  |  | 6119 | EOF | 
|  |  | 6120 | ;; | 
|  |  | 6121 | esac | 
|  |  | 6122 |  | 
|  |  | 6123 | # We use sed instead of cat because bash on DJGPP gets confused if | 
|  |  | 6124 | # if finds mixed CR/LF and LF-only lines.  Since sed operates in | 
|  |  | 6125 | # text mode, it properly converts lines to CR/LF.  This bash problem | 
|  |  | 6126 | # is reportedly fixed, but why not run on old versions too? | 
|  |  | 6127 | sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1) | 
|  |  | 6128 |  | 
|  |  | 6129 | mv -f "${ofile}T" "$ofile" || \ | 
|  |  | 6130 | (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") | 
|  |  | 6131 | chmod +x "$ofile" | 
|  |  | 6132 | fi | 
| 1470 |  | 6133 |  | 
| 1471 | # This can be used to rebuild libtool when needed | 6134 | # This can be used to rebuild libtool when needed | 
| 1472 | LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" | 6135 | LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" | 
| 1473 |  | 6136 |  | 
| 1474 | # Always use our own libtool. | 6137 | # Always use our own libtool. | 
| 1475 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' | 6138 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' | 
| 1476 |  | 6139 |  | 
| 1477 | # Redirect the config.log output again, so that the ltconfig log is not | 6140 | # Prevent multiple expansion | 
| 1478 | # clobbered by the next message. |  |  | 
| 1479 | exec 5>>./config.log |  |  | 
| 1480 |  |  |  | 
| 1481 |  | 6141 |  | 
| 1482 | # Check whether --enable-compile-warnings or --disable-compile-warnings was given. | 6142 | # Check whether --enable-compile-warnings or --disable-compile-warnings was given. | 
| 1483 | if test "${enable_compile_warnings+set}" = set; then | 6143 | if test "${enable_compile_warnings+set}" = set; then | 
| 1484 | enableval="$enable_compile_warnings" | 6144 | enableval="$enable_compile_warnings" | 
| 1485 | : | 6145 |  | 
| 1486 | else | 6146 | else | 
| 1487 | enable_compile_warnings=minimum | 6147 | enable_compile_warnings=minimum | 
| 1488 | fi | 6148 | fi; | 
| 1489 |  | 6149 |  | 
| 1490 |  | 6150 | echo "$as_me:6150: checking what warning flags to pass to the C compiler" >&5 | 
| 1491 | echo $ac_n "checking what warning flags to pass to the C compiler""... $ac_c" 1>&6 | 6151 | echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6 | 
| 1492 | echo "configure:1493: checking what warning flags to pass to the C compiler" >&5 |  |  | 
| 1493 | warnCFLAGS= | 6152 | warnCFLAGS= | 
| 1494 | if test "x$GCC" != xyes; then | 6153 | if test "x$GCC" != xyes; then | 
| 1495 | enable_compile_warnings=no | 6154 | enable_compile_warnings=no | 
| 1496 | fi | 6155 | fi | 
| 1497 | if test "x$enable_compile_warnings" != "xno"; then | 6156 | if test "x$enable_compile_warnings" != "xno"; then | 
| … |  | … |  | 
| 1506 | if test "x$enable_compile_warnings" = "xyes"; then | 6165 | if test "x$enable_compile_warnings" = "xyes"; then | 
| 1507 | warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith" | 6166 | warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith" | 
| 1508 | fi | 6167 | fi | 
| 1509 | fi | 6168 | fi | 
| 1510 | fi | 6169 | fi | 
|  |  | 6170 | echo "$as_me:6170: result: $warnCFLAGS" >&5 | 
| 1511 | echo "$ac_t""$warnCFLAGS" 1>&6 | 6171 | echo "${ECHO_T}$warnCFLAGS" >&6 | 
| 1512 |  | 6172 |  | 
| 1513 | # Check whether --enable-iso-c or --disable-iso-c was given. | 6173 | # Check whether --enable-iso-c or --disable-iso-c was given. | 
| 1514 | if test "${enable_iso_c+set}" = set; then | 6174 | if test "${enable_iso_c+set}" = set; then | 
| 1515 | enableval="$enable_iso_c" | 6175 | enableval="$enable_iso_c" | 
| 1516 | : | 6176 |  | 
| 1517 | else | 6177 | else | 
| 1518 | enable_iso_c=no | 6178 | enable_iso_c=no | 
| 1519 | fi | 6179 | fi; | 
| 1520 |  | 6180 |  | 
| 1521 |  | 6181 | echo "$as_me:6181: checking what language compliance flags to pass to the C compiler" >&5 | 
| 1522 | echo $ac_n "checking what language compliance flags to pass to the C compiler""... $ac_c" 1>&6 | 6182 | echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6 | 
| 1523 | echo "configure:1524: checking what language compliance flags to pass to the C compiler" >&5 |  |  | 
| 1524 | complCFLAGS= | 6183 | complCFLAGS= | 
| 1525 | if test "x$enable_iso_c" != "xno"; then | 6184 | if test "x$enable_iso_c" != "xno"; then | 
| 1526 | if test "x$GCC" = "xyes"; then | 6185 | if test "x$GCC" = "xyes"; then | 
| 1527 | case " $CFLAGS " in | 6186 | case " $CFLAGS " in | 
| 1528 | *\ \	-ansi\ \	*) ;; | 6187 | *\ \	-ansi\ \	*) ;; | 
| … |  | … |  | 
| 1533 | *\ \	-pedantic\ \	*) ;; | 6192 | *\ \	-pedantic\ \	*) ;; | 
| 1534 | *) complCFLAGS="$complCFLAGS -pedantic" ;; | 6193 | *) complCFLAGS="$complCFLAGS -pedantic" ;; | 
| 1535 | esac | 6194 | esac | 
| 1536 | fi | 6195 | fi | 
| 1537 | fi | 6196 | fi | 
|  |  | 6197 | echo "$as_me:6197: result: $complCFLAGS" >&5 | 
| 1538 | echo "$ac_t""$complCFLAGS" 1>&6 | 6198 | echo "${ECHO_T}$complCFLAGS" >&6 | 
| 1539 | if test "x$cflags_set" != "xyes"; then | 6199 | if test "x$cflags_set" != "xyes"; then | 
| 1540 | CFLAGS="$CFLAGS $warnCFLAGS $complCFLAGS" | 6200 | CFLAGS="$CFLAGS $warnCFLAGS $complCFLAGS" | 
| 1541 | cflags_set=yes | 6201 | cflags_set=yes | 
| 1542 |  |  |  | 
| 1543 | fi |  |  | 
| 1544 |  | 6202 |  | 
|  |  | 6203 | fi | 
| 1545 |  | 6204 |  | 
| 1546 | # Check whether --with-imagemagick or --without-imagemagick was given. | 6205 | # Check whether --with-imagemagick or --without-imagemagick was given. | 
| 1547 | if test "${with_imagemagick+set}" = set; then | 6206 | if test "${with_imagemagick+set}" = set; then | 
| 1548 | withval="$with_imagemagick" | 6207 | withval="$with_imagemagick" | 
| 1549 | IMAGEMAGICK=$withval | 6208 | IMAGEMAGICK=$withval | 
| 1550 | else | 6209 | else | 
| 1551 | IMAGEMAGICK='yes' | 6210 | IMAGEMAGICK='yes' | 
| 1552 | fi | 6211 | fi; | 
| 1553 |  |  |  | 
| 1554 | if test x"$IMAGEMAGICK" != xno ; then | 6212 | if test x"$IMAGEMAGICK" != xno ; then | 
| 1555 | # Extract the first word of "Magick-config", so it can be a program name with args. | 6213 | # Extract the first word of "Magick-config", so it can be a program name with args. | 
| 1556 | set dummy Magick-config; ac_word=$2 | 6214 | set dummy Magick-config; ac_word=$2 | 
| 1557 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |  |  | 
| 1558 | echo "configure:1559: checking for $ac_word" >&5 | 6215 | echo "$as_me:6215: checking for $ac_word" >&5 | 
|  |  | 6216 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 1559 | if eval "test \"`echo '$''{'ac_cv_prog_IMAGEMAGICK'+set}'`\" = set"; then | 6217 | if test "${ac_cv_prog_IMAGEMAGICK+set}" = set; then | 
| 1560 | echo $ac_n "(cached) $ac_c" 1>&6 | 6218 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1561 | else | 6219 | else | 
| 1562 | if test -n "$IMAGEMAGICK"; then | 6220 | if test -n "$IMAGEMAGICK"; then | 
| 1563 | ac_cv_prog_IMAGEMAGICK="$IMAGEMAGICK" # Let the user override the test. | 6221 | ac_cv_prog_IMAGEMAGICK="$IMAGEMAGICK" # Let the user override the test. | 
| 1564 | else | 6222 | else | 
| 1565 | IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":" | 6223 | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 1566 | ac_dummy="$PATH" | 6224 | ac_dummy="$PATH" | 
| 1567 | for ac_dir in $ac_dummy; do | 6225 | for ac_dir in $ac_dummy; do | 
|  |  | 6226 | IFS=$ac_save_IFS | 
| 1568 | test -z "$ac_dir" && ac_dir=. | 6227 | test -z "$ac_dir" && ac_dir=. | 
| 1569 | if test -f $ac_dir/$ac_word; then | 6228 | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 1570 | ac_cv_prog_IMAGEMAGICK="yes" | 6229 | ac_cv_prog_IMAGEMAGICK="yes" | 
| 1571 | break | 6230 | echo "$as_me:6230: found $ac_dir/$ac_word" >&5 | 
| 1572 | fi | 6231 | break | 
| 1573 | done | 6232 | done | 
| 1574 | IFS="$ac_save_ifs" | 6233 |  | 
| 1575 | test -z "$ac_cv_prog_IMAGEMAGICK" && ac_cv_prog_IMAGEMAGICK="no" | 6234 | test -z "$ac_cv_prog_IMAGEMAGICK" && ac_cv_prog_IMAGEMAGICK="no" | 
| 1576 | fi | 6235 | fi | 
| 1577 | fi | 6236 | fi | 
| 1578 | IMAGEMAGICK="$ac_cv_prog_IMAGEMAGICK" | 6237 | IMAGEMAGICK=$ac_cv_prog_IMAGEMAGICK | 
| 1579 | if test -n "$IMAGEMAGICK"; then | 6238 | if test -n "$IMAGEMAGICK"; then | 
|  |  | 6239 | echo "$as_me:6239: result: $IMAGEMAGICK" >&5 | 
| 1580 | echo "$ac_t""$IMAGEMAGICK" 1>&6 | 6240 | echo "${ECHO_T}$IMAGEMAGICK" >&6 | 
| 1581 | else | 6241 | else | 
| 1582 | echo "$ac_t""no" 1>&6 | 6242 | echo "$as_me:6242: result: no" >&5 | 
|  |  | 6243 | echo "${ECHO_T}no" >&6 | 
| 1583 | fi | 6244 | fi | 
| 1584 |  | 6245 |  | 
| 1585 | if test x"$IMAGEMAGICK" != xno ; then | 6246 | if test x"$IMAGEMAGICK" != xno ; then | 
| 1586 | CFLAGS_OLD="$CFLAGS" | 6247 | CFLAGS_OLD="$CFLAGS" | 
| 1587 | CPPFLAGS_OLD="$CPPFLAGS" | 6248 | CPPFLAGS_OLD="$CPPFLAGS" | 
| … |  | … |  | 
| 1590 | CFLAGS="$CFLAGS `Magick-config --cflags`" | 6251 | CFLAGS="$CFLAGS `Magick-config --cflags`" | 
| 1591 | CPPFLAGS="$CPPFLAGS `Magick-config --cppflags`" | 6252 | CPPFLAGS="$CPPFLAGS `Magick-config --cppflags`" | 
| 1592 | LDFLAGS="$LDFLAGS `Magick-config --ldflags`" | 6253 | LDFLAGS="$LDFLAGS `Magick-config --ldflags`" | 
| 1593 | LIBS="$LIBS `Magick-config --libs`" | 6254 | LIBS="$LIBS `Magick-config --libs`" | 
| 1594 |  | 6255 |  | 
|  |  | 6256 | echo "$as_me:6256: checking whether GetMagickInfo works" >&5 | 
| 1595 | echo $ac_n "checking whether GetMagickInfo works""... $ac_c" 1>&6 | 6257 | echo $ECHO_N "checking whether GetMagickInfo works... $ECHO_C" >&6 | 
| 1596 | echo "configure:1597: checking whether GetMagickInfo works" >&5 |  |  | 
| 1597 | if test "$cross_compiling" = yes; then | 6258 | if test "$cross_compiling" = yes; then | 
| 1598 | IMAGEMAGICK=yes | 6259 | IMAGEMAGICK=yes | 
| 1599 | else | 6260 | else | 
| 1600 | cat > conftest.$ac_ext <<EOF | 6261 | cat >conftest.$ac_ext <<_ACEOF | 
| 1601 | #line 1602 "configure" | 6262 | #line 6262 "configure" | 
| 1602 | #include "confdefs.h" | 6263 | #include "confdefs.h" | 
| 1603 | #include <magick/magick.h> | 6264 | #include <magick/magick.h> | 
| 1604 | #include <magick/config.h> | 6265 | #include <magick/config.h> | 
| 1605 | #include <stdio.h> | 6266 | #include <stdio.h> | 
| 1606 | extern void OpenModules(void); | 6267 | extern void OpenModules(void); | 
| 1607 | int main(void) { GetMagickInfo(NULL); | 6268 | int main(void) { GetMagickInfo(NULL); | 
| 1608 | #if defined(HasLTDL) | 6269 | #if defined(HasLTDL) | 
| 1609 | OpenModules(); | 6270 | OpenModules(); | 
| 1610 | #endif | 6271 | #endif | 
| 1611 | return (NULL ==  GetMagickInfo(NULL)); } | 6272 | return (NULL ==  GetMagickInfo(NULL)); } | 
| 1612 | EOF | 6273 | _ACEOF | 
| 1613 | if { (eval echo configure:1614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6274 | rm -f conftest$ac_exeext | 
| 1614 | then | 6275 | if { (eval echo "$as_me:6275: \"$ac_link\"") >&5 | 
|  |  | 6276 | (eval $ac_link) 2>&5 | 
|  |  | 6277 | ac_status=$? | 
|  |  | 6278 | echo "$as_me:6278: \$? = $ac_status" >&5 | 
|  |  | 6279 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  |  | 6280 | { (eval echo "$as_me:6280: \"$ac_try\"") >&5 | 
|  |  | 6281 | (eval $ac_try) 2>&5 | 
|  |  | 6282 | ac_status=$? | 
|  |  | 6283 | echo "$as_me:6283: \$? = $ac_status" >&5 | 
|  |  | 6284 | (exit $ac_status); }; }; then | 
| 1615 | IMAGEMAGICK=yes | 6285 | IMAGEMAGICK=yes | 
| 1616 | else | 6286 | else | 
|  |  | 6287 | echo "$as_me: program exited with status $ac_status" >&5 | 
| 1617 | echo "configure: failed program was:" >&5 | 6288 | echo "$as_me: failed program was:" >&5 | 
| 1618 | cat conftest.$ac_ext >&5 | 6289 | cat conftest.$ac_ext >&5 | 
| 1619 | rm -fr conftest* |  |  | 
| 1620 | IMAGEMAGICK=no | 6290 | IMAGEMAGICK=no | 
| 1621 | fi | 6291 | fi | 
| 1622 | rm -fr conftest* | 6292 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext | 
| 1623 | fi | 6293 | fi | 
| 1624 |  | 6294 | echo "$as_me:6294: result: $IMAGEMAGICK" >&5 | 
| 1625 | echo "$ac_t""$IMAGEMAGICK" 1>&6 | 6295 | echo "${ECHO_T}$IMAGEMAGICK" >&6 | 
| 1626 | LDFLAGS="$LDFLAGS_OLD" | 6296 | LDFLAGS="$LDFLAGS_OLD" | 
| 1627 | LIBS="$LIBS_OLD" | 6297 | LIBS="$LIBS_OLD" | 
| 1628 | if test x"$IMAGEMAGICK" = xno ; then | 6298 | if test x"$IMAGEMAGICK" = xno ; then | 
| 1629 | CFLAGS="$CFLAGS_OLD" | 6299 | CFLAGS="$CFLAGS_OLD" | 
| 1630 | CPPFLAGS="$CPPFLAGS_OLD" | 6300 | CPPFLAGS="$CPPFLAGS_OLD" | 
| 1631 | fi | 6301 | fi | 
| 1632 | fi | 6302 | fi | 
| 1633 | fi | 6303 | fi | 
| 1634 | if test x"$IMAGEMAGICK" = xyes ; then | 6304 | if test x"$IMAGEMAGICK" = xyes ; then | 
| 1635 | LIB_MAGICK="`Magick-config --libs` `Magick-config --ldflags`" | 6305 | LIB_MAGICK="`Magick-config --libs` `Magick-config --ldflags`" | 
|  |  | 6306 |  | 
| 1636 | cat >> confdefs.h <<\EOF | 6307 | cat >>confdefs.h <<\EOF | 
| 1637 | #define IMAGEMAGICK 1 | 6308 | #define IMAGEMAGICK 1 | 
| 1638 | EOF | 6309 | EOF | 
| 1639 |  | 6310 |  | 
| 1640 | else | 6311 | else | 
| 1641 | LIB_MAGICK= | 6312 | LIB_MAGICK= | 
| 1642 | fi | 6313 | fi | 
| 1643 |  | 6314 |  | 
| 1644 |  | 6315 | echo "$as_me:6315: checking for ANSI C header files" >&5 | 
| 1645 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 6316 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
| 1646 | echo "configure:1647: checking how to run the C preprocessor" >&5 | 6317 | if test "${ac_cv_header_stdc+set}" = set; then | 
| 1647 | # On Suns, sometimes $CPP names a directory. |  |  | 
| 1648 | if test -n "$CPP" && test -d "$CPP"; then |  |  | 
| 1649 | CPP= |  |  | 
| 1650 | fi |  |  | 
| 1651 | if test -z "$CPP"; then |  |  | 
| 1652 | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |  |  | 
| 1653 | echo $ac_n "(cached) $ac_c" 1>&6 | 6318 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1654 | else | 6319 | else | 
| 1655 | # This must be in double quotes, not single quotes, because CPP may get |  |  | 
| 1656 | # substituted into the Makefile and "${CC-cc}" will confuse make. |  |  | 
| 1657 | CPP="${CC-cc} -E" |  |  | 
| 1658 | # On the NeXT, cc -E runs the code through the compiler's parser, |  |  | 
| 1659 | # not just through cpp. |  |  | 
| 1660 | cat > conftest.$ac_ext <<EOF | 6320 | cat >conftest.$ac_ext <<_ACEOF | 
| 1661 | #line 1662 "configure" |  |  | 
| 1662 | #include "confdefs.h" |  |  | 
| 1663 | #include <assert.h> |  |  | 
| 1664 | Syntax Error |  |  | 
| 1665 | EOF |  |  | 
| 1666 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |  |  | 
| 1667 | { (eval echo configure:1668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |  |  | 
| 1668 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |  |  | 
| 1669 | if test -z "$ac_err"; then |  |  | 
| 1670 | : |  |  | 
| 1671 | else |  |  | 
| 1672 | echo "$ac_err" >&5 |  |  | 
| 1673 | echo "configure: failed program was:" >&5 |  |  | 
| 1674 | cat conftest.$ac_ext >&5 |  |  | 
| 1675 | rm -rf conftest* |  |  | 
| 1676 | CPP="${CC-cc} -E -traditional-cpp" |  |  | 
| 1677 | cat > conftest.$ac_ext <<EOF |  |  | 
| 1678 | #line 1679 "configure" |  |  | 
| 1679 | #include "confdefs.h" |  |  | 
| 1680 | #include <assert.h> |  |  | 
| 1681 | Syntax Error |  |  | 
| 1682 | EOF |  |  | 
| 1683 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |  |  | 
| 1684 | { (eval echo configure:1685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |  |  | 
| 1685 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |  |  | 
| 1686 | if test -z "$ac_err"; then |  |  | 
| 1687 | : |  |  | 
| 1688 | else |  |  | 
| 1689 | echo "$ac_err" >&5 |  |  | 
| 1690 | echo "configure: failed program was:" >&5 |  |  | 
| 1691 | cat conftest.$ac_ext >&5 |  |  | 
| 1692 | rm -rf conftest* |  |  | 
| 1693 | CPP="${CC-cc} -nologo -E" |  |  | 
| 1694 | cat > conftest.$ac_ext <<EOF |  |  | 
| 1695 | #line 1696 "configure" |  |  | 
| 1696 | #include "confdefs.h" |  |  | 
| 1697 | #include <assert.h> |  |  | 
| 1698 | Syntax Error |  |  | 
| 1699 | EOF |  |  | 
| 1700 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |  |  | 
| 1701 | { (eval echo configure:1702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |  |  | 
| 1702 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |  |  | 
| 1703 | if test -z "$ac_err"; then |  |  | 
| 1704 | : |  |  | 
| 1705 | else |  |  | 
| 1706 | echo "$ac_err" >&5 |  |  | 
| 1707 | echo "configure: failed program was:" >&5 |  |  | 
| 1708 | cat conftest.$ac_ext >&5 |  |  | 
| 1709 | rm -rf conftest* |  |  | 
| 1710 | CPP=/lib/cpp |  |  | 
| 1711 | fi |  |  | 
| 1712 | rm -f conftest* |  |  | 
| 1713 | fi |  |  | 
| 1714 | rm -f conftest* |  |  | 
| 1715 | fi |  |  | 
| 1716 | rm -f conftest* |  |  | 
| 1717 | ac_cv_prog_CPP="$CPP" |  |  | 
| 1718 | fi |  |  | 
| 1719 | CPP="$ac_cv_prog_CPP" |  |  | 
| 1720 | else |  |  | 
| 1721 | ac_cv_prog_CPP="$CPP" |  |  | 
| 1722 | fi |  |  | 
| 1723 | echo "$ac_t""$CPP" 1>&6 |  |  | 
| 1724 |  |  |  | 
| 1725 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |  |  | 
| 1726 | echo "configure:1727: checking for ANSI C header files" >&5 |  |  | 
| 1727 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |  |  | 
| 1728 | echo $ac_n "(cached) $ac_c" 1>&6 |  |  | 
| 1729 | else |  |  | 
| 1730 | cat > conftest.$ac_ext <<EOF |  |  | 
| 1731 | #line 1732 "configure" | 6321 | #line 6321 "configure" | 
| 1732 | #include "confdefs.h" | 6322 | #include "confdefs.h" | 
| 1733 | #include <stdlib.h> | 6323 | #include <stdlib.h> | 
| 1734 | #include <stdarg.h> | 6324 | #include <stdarg.h> | 
| 1735 | #include <string.h> | 6325 | #include <string.h> | 
| 1736 | #include <float.h> | 6326 | #include <float.h> | 
| 1737 | EOF | 6327 |  | 
| 1738 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6328 | _ACEOF | 
| 1739 | { (eval echo configure:1740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6329 | if { (eval echo "$as_me:6329: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 1740 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6330 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  |  | 6331 | ac_status=$? | 
|  |  | 6332 | egrep -v '^ *\+' conftest.er1 >conftest.err | 
|  |  | 6333 | rm -f conftest.er1 | 
|  |  | 6334 | cat conftest.err >&5 | 
|  |  | 6335 | echo "$as_me:6335: \$? = $ac_status" >&5 | 
|  |  | 6336 | (exit $ac_status); } >/dev/null; then | 
|  |  | 6337 | if test -s conftest.err; then | 
|  |  | 6338 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  |  | 6339 | else | 
|  |  | 6340 | ac_cpp_err= | 
|  |  | 6341 | fi | 
|  |  | 6342 | else | 
|  |  | 6343 | ac_cpp_err=yes | 
|  |  | 6344 | fi | 
| 1741 | if test -z "$ac_err"; then | 6345 | if test -z "$ac_cpp_err"; then | 
| 1742 | rm -rf conftest* |  |  | 
| 1743 | ac_cv_header_stdc=yes | 6346 | ac_cv_header_stdc=yes | 
| 1744 | else | 6347 | else | 
| 1745 | echo "$ac_err" >&5 |  |  | 
| 1746 | echo "configure: failed program was:" >&5 | 6348 | echo "$as_me: failed program was:" >&5 | 
| 1747 | cat conftest.$ac_ext >&5 | 6349 | cat conftest.$ac_ext >&5 | 
| 1748 | rm -rf conftest* |  |  | 
| 1749 | ac_cv_header_stdc=no | 6350 | ac_cv_header_stdc=no | 
| 1750 | fi | 6351 | fi | 
| 1751 | rm -f conftest* | 6352 | rm -f conftest.err conftest.$ac_ext | 
| 1752 |  | 6353 |  | 
| 1753 | if test $ac_cv_header_stdc = yes; then | 6354 | if test $ac_cv_header_stdc = yes; then | 
| 1754 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 6355 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
| 1755 | cat > conftest.$ac_ext <<EOF | 6356 | cat >conftest.$ac_ext <<_ACEOF | 
| 1756 | #line 1757 "configure" | 6357 | #line 6357 "configure" | 
| 1757 | #include "confdefs.h" | 6358 | #include "confdefs.h" | 
| 1758 | #include <string.h> | 6359 | #include <string.h> | 
| 1759 | EOF | 6360 |  | 
|  |  | 6361 | _ACEOF | 
| 1760 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6362 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 1761 | egrep "memchr" >/dev/null 2>&1; then | 6363 | egrep "memchr" >/dev/null 2>&1; then | 
| 1762 | : | 6364 | : | 
| 1763 | else | 6365 | else | 
| 1764 | rm -rf conftest* |  |  | 
| 1765 | ac_cv_header_stdc=no | 6366 | ac_cv_header_stdc=no | 
| 1766 | fi | 6367 | fi | 
| 1767 | rm -f conftest* | 6368 | rm -f conftest* | 
| 1768 |  | 6369 |  | 
| 1769 | fi | 6370 | fi | 
| 1770 |  | 6371 |  | 
| 1771 | if test $ac_cv_header_stdc = yes; then | 6372 | if test $ac_cv_header_stdc = yes; then | 
| 1772 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 6373 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
| 1773 | cat > conftest.$ac_ext <<EOF | 6374 | cat >conftest.$ac_ext <<_ACEOF | 
| 1774 | #line 1775 "configure" | 6375 | #line 6375 "configure" | 
| 1775 | #include "confdefs.h" | 6376 | #include "confdefs.h" | 
| 1776 | #include <stdlib.h> | 6377 | #include <stdlib.h> | 
| 1777 | EOF | 6378 |  | 
|  |  | 6379 | _ACEOF | 
| 1778 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6380 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 1779 | egrep "free" >/dev/null 2>&1; then | 6381 | egrep "free" >/dev/null 2>&1; then | 
| 1780 | : | 6382 | : | 
| 1781 | else | 6383 | else | 
| 1782 | rm -rf conftest* |  |  | 
| 1783 | ac_cv_header_stdc=no | 6384 | ac_cv_header_stdc=no | 
| 1784 | fi | 6385 | fi | 
| 1785 | rm -f conftest* | 6386 | rm -f conftest* | 
| 1786 |  | 6387 |  | 
| 1787 | fi | 6388 | fi | 
| 1788 |  | 6389 |  | 
| 1789 | if test $ac_cv_header_stdc = yes; then | 6390 | if test $ac_cv_header_stdc = yes; then | 
| 1790 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 6391 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
| 1791 | if test "$cross_compiling" = yes; then | 6392 | if test "$cross_compiling" = yes; then | 
| 1792 | : | 6393 | : | 
| 1793 | else | 6394 | else | 
| 1794 | cat > conftest.$ac_ext <<EOF | 6395 | cat >conftest.$ac_ext <<_ACEOF | 
| 1795 | #line 1796 "configure" | 6396 | #line 6396 "configure" | 
| 1796 | #include "confdefs.h" | 6397 | #include "confdefs.h" | 
| 1797 | #include <ctype.h> | 6398 | #include <ctype.h> | 
|  |  | 6399 | #if ((' ' & 0x0FF) == 0x020) | 
| 1798 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 6400 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
| 1799 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 6401 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|  |  | 6402 | #else | 
|  |  | 6403 | # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | 
|  |  | 6404 | || ('j' <= (c) && (c) <= 'r') \ | 
|  |  | 6405 | || ('s' <= (c) && (c) <= 'z')) | 
|  |  | 6406 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|  |  | 6407 | #endif | 
|  |  | 6408 |  | 
| 1800 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 6409 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
| 1801 | int main () { int i; for (i = 0; i < 256; i++) | 6410 | int | 
| 1802 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 6411 | main () | 
|  |  | 6412 | { | 
|  |  | 6413 | int i; | 
|  |  | 6414 | for (i = 0; i < 256; i++) | 
|  |  | 6415 | if (XOR (islower (i), ISLOWER (i)) | 
|  |  | 6416 | || toupper (i) != TOUPPER (i)) | 
|  |  | 6417 | exit(2); | 
| 1803 | exit (0); } | 6418 | exit (0); | 
| 1804 |  | 6419 | } | 
| 1805 | EOF | 6420 | _ACEOF | 
| 1806 | if { (eval echo configure:1807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6421 | rm -f conftest$ac_exeext | 
| 1807 | then | 6422 | if { (eval echo "$as_me:6422: \"$ac_link\"") >&5 | 
|  |  | 6423 | (eval $ac_link) 2>&5 | 
|  |  | 6424 | ac_status=$? | 
|  |  | 6425 | echo "$as_me:6425: \$? = $ac_status" >&5 | 
|  |  | 6426 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  |  | 6427 | { (eval echo "$as_me:6427: \"$ac_try\"") >&5 | 
|  |  | 6428 | (eval $ac_try) 2>&5 | 
|  |  | 6429 | ac_status=$? | 
|  |  | 6430 | echo "$as_me:6430: \$? = $ac_status" >&5 | 
|  |  | 6431 | (exit $ac_status); }; }; then | 
| 1808 | : | 6432 | : | 
| 1809 | else | 6433 | else | 
|  |  | 6434 | echo "$as_me: program exited with status $ac_status" >&5 | 
| 1810 | echo "configure: failed program was:" >&5 | 6435 | echo "$as_me: failed program was:" >&5 | 
| 1811 | cat conftest.$ac_ext >&5 | 6436 | cat conftest.$ac_ext >&5 | 
| 1812 | rm -fr conftest* |  |  | 
| 1813 | ac_cv_header_stdc=no | 6437 | ac_cv_header_stdc=no | 
| 1814 | fi | 6438 | fi | 
| 1815 | rm -fr conftest* | 6439 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext | 
| 1816 | fi | 6440 | fi | 
| 1817 |  |  |  | 
| 1818 | fi | 6441 | fi | 
| 1819 | fi | 6442 | fi | 
| 1820 |  | 6443 | echo "$as_me:6443: result: $ac_cv_header_stdc" >&5 | 
| 1821 | echo "$ac_t""$ac_cv_header_stdc" 1>&6 | 6444 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
| 1822 | if test $ac_cv_header_stdc = yes; then | 6445 | if test $ac_cv_header_stdc = yes; then | 
|  |  | 6446 |  | 
| 1823 | cat >> confdefs.h <<\EOF | 6447 | cat >>confdefs.h <<\EOF | 
| 1824 | #define STDC_HEADERS 1 | 6448 | #define STDC_HEADERS 1 | 
| 1825 | EOF | 6449 | EOF | 
| 1826 |  | 6450 |  | 
| 1827 | fi | 6451 | fi | 
| 1828 |  | 6452 |  | 
| 1829 | for ac_hdr in unistd.h | 6453 | for ac_header in unistd.h | 
| 1830 | do | 6454 | do | 
| 1831 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6455 | ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` | 
|  |  | 6456 | echo "$as_me:6456: checking for $ac_header" >&5 | 
| 1832 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6457 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 1833 | echo "configure:1834: checking for $ac_hdr" >&5 |  |  | 
| 1834 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6458 | if eval "test \"\${$ac_ac_Header+set}\" = set"; then | 
| 1835 | echo $ac_n "(cached) $ac_c" 1>&6 | 6459 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1836 | else | 6460 | else | 
| 1837 | cat > conftest.$ac_ext <<EOF | 6461 | cat >conftest.$ac_ext <<_ACEOF | 
| 1838 | #line 1839 "configure" | 6462 | #line 6462 "configure" | 
| 1839 | #include "confdefs.h" | 6463 | #include "confdefs.h" | 
| 1840 | #include <$ac_hdr> | 6464 | #include <$ac_header> | 
|  |  | 6465 | _ACEOF | 
|  |  | 6466 | if { (eval echo "$as_me:6466: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  |  | 6467 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  |  | 6468 | ac_status=$? | 
|  |  | 6469 | egrep -v '^ *\+' conftest.er1 >conftest.err | 
|  |  | 6470 | rm -f conftest.er1 | 
|  |  | 6471 | cat conftest.err >&5 | 
|  |  | 6472 | echo "$as_me:6472: \$? = $ac_status" >&5 | 
|  |  | 6473 | (exit $ac_status); } >/dev/null; then | 
|  |  | 6474 | if test -s conftest.err; then | 
|  |  | 6475 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  |  | 6476 | else | 
|  |  | 6477 | ac_cpp_err= | 
|  |  | 6478 | fi | 
|  |  | 6479 | else | 
|  |  | 6480 | ac_cpp_err=yes | 
|  |  | 6481 | fi | 
|  |  | 6482 | if test -z "$ac_cpp_err"; then | 
|  |  | 6483 | eval "$ac_ac_Header=yes" | 
|  |  | 6484 | else | 
|  |  | 6485 | echo "$as_me: failed program was:" >&5 | 
|  |  | 6486 | cat conftest.$ac_ext >&5 | 
|  |  | 6487 | eval "$ac_ac_Header=no" | 
|  |  | 6488 | fi | 
|  |  | 6489 | rm -f conftest.err conftest.$ac_ext | 
|  |  | 6490 | fi | 
|  |  | 6491 | echo "$as_me:6491: result: `eval echo '${'$ac_ac_Header'}'`" >&5 | 
|  |  | 6492 | echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 | 
|  |  | 6493 | if test `eval echo '${'$ac_ac_Header'}'` = yes; then | 
|  |  | 6494 | cat >>confdefs.h <<EOF | 
|  |  | 6495 | #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 | 
| 1841 | EOF | 6496 | EOF | 
| 1842 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6497 |  | 
| 1843 | { (eval echo configure:1844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6498 | fi | 
| 1844 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6499 | done | 
|  |  | 6500 |  | 
|  |  | 6501 | echo "$as_me:6501: checking for $CC option to accept ANSI C" >&5 | 
|  |  | 6502 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
|  |  | 6503 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
|  |  | 6504 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 6505 | else | 
|  |  | 6506 | ac_cv_prog_cc_stdc=no | 
|  |  | 6507 | ac_save_CC=$CC | 
|  |  | 6508 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 6509 | #line 6509 "configure" | 
|  |  | 6510 | #include "confdefs.h" | 
|  |  | 6511 | #include <stdarg.h> | 
|  |  | 6512 | #include <stdio.h> | 
|  |  | 6513 | #include <sys/types.h> | 
|  |  | 6514 | #include <sys/stat.h> | 
|  |  | 6515 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|  |  | 6516 | struct buf { int x; }; | 
|  |  | 6517 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|  |  | 6518 | static char *e (p, i) | 
|  |  | 6519 | char **p; | 
|  |  | 6520 | int i; | 
|  |  | 6521 | { | 
|  |  | 6522 | return p[i]; | 
|  |  | 6523 | } | 
|  |  | 6524 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|  |  | 6525 | { | 
|  |  | 6526 | char *s; | 
|  |  | 6527 | va_list v; | 
|  |  | 6528 | va_start (v,p); | 
|  |  | 6529 | s = g (p, va_arg (v,int)); | 
|  |  | 6530 | va_end (v); | 
|  |  | 6531 | return s; | 
|  |  | 6532 | } | 
|  |  | 6533 | int test (int i, double x); | 
|  |  | 6534 | struct s1 {int (*f) (int a);}; | 
|  |  | 6535 | struct s2 {int (*f) (double a);}; | 
|  |  | 6536 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|  |  | 6537 | int argc; | 
|  |  | 6538 | char **argv; | 
|  |  | 6539 | int | 
|  |  | 6540 | main () | 
|  |  | 6541 | { | 
|  |  | 6542 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|  |  | 6543 | ; | 
|  |  | 6544 | return 0; | 
|  |  | 6545 | } | 
|  |  | 6546 | _ACEOF | 
|  |  | 6547 | # Don't try gcc -ansi; that turns off useful extensions and | 
|  |  | 6548 | # breaks some systems' header files. | 
|  |  | 6549 | # AIX			-qlanglvl=ansi | 
|  |  | 6550 | # Ultrix and OSF/1	-std1 | 
|  |  | 6551 | # HP-UX 10.20 and later	-Ae | 
|  |  | 6552 | # HP-UX older versions	-Aa -D_HPUX_SOURCE | 
|  |  | 6553 | # SVR4			-Xc -D__EXTENSIONS__ | 
|  |  | 6554 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|  |  | 6555 | do | 
|  |  | 6556 | CC="$ac_save_CC $ac_arg" | 
|  |  | 6557 | rm -f conftest.$ac_objext | 
|  |  | 6558 | if { (eval echo "$as_me:6558: \"$ac_compile\"") >&5 | 
|  |  | 6559 | (eval $ac_compile) 2>&5 | 
|  |  | 6560 | ac_status=$? | 
|  |  | 6561 | echo "$as_me:6561: \$? = $ac_status" >&5 | 
|  |  | 6562 | (exit $ac_status); } && | 
|  |  | 6563 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 6564 | { (eval echo "$as_me:6564: \"$ac_try\"") >&5 | 
|  |  | 6565 | (eval $ac_try) 2>&5 | 
|  |  | 6566 | ac_status=$? | 
|  |  | 6567 | echo "$as_me:6567: \$? = $ac_status" >&5 | 
|  |  | 6568 | (exit $ac_status); }; }; then | 
|  |  | 6569 | ac_cv_prog_cc_stdc=$ac_arg | 
|  |  | 6570 | break | 
|  |  | 6571 | else | 
|  |  | 6572 | echo "$as_me: failed program was:" >&5 | 
|  |  | 6573 | cat conftest.$ac_ext >&5 | 
|  |  | 6574 | fi | 
|  |  | 6575 | rm -f conftest.$ac_objext | 
|  |  | 6576 | done | 
|  |  | 6577 | rm -f conftest.$ac_ext conftest.$ac_objext | 
|  |  | 6578 | CC=$ac_save_CC | 
|  |  | 6579 |  | 
|  |  | 6580 | fi | 
|  |  | 6581 |  | 
|  |  | 6582 | case "x$ac_cv_prog_cc_stdc" in | 
|  |  | 6583 | x|xno) | 
|  |  | 6584 | echo "$as_me:6584: result: none needed" >&5 | 
|  |  | 6585 | echo "${ECHO_T}none needed" >&6 ;; | 
|  |  | 6586 | *) | 
|  |  | 6587 | echo "$as_me:6587: result: $ac_cv_prog_cc_stdc" >&5 | 
|  |  | 6588 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
|  |  | 6589 | CC="$CC $ac_cv_prog_cc_stdc" ;; | 
|  |  | 6590 | esac | 
|  |  | 6591 |  | 
|  |  | 6592 | echo "$as_me:6592: checking for an ANSI C-conforming const" >&5 | 
|  |  | 6593 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 
|  |  | 6594 | if test "${ac_cv_c_const+set}" = set; then | 
|  |  | 6595 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 6596 | else | 
|  |  | 6597 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 6598 | #line 6598 "configure" | 
|  |  | 6599 | #include "confdefs.h" | 
|  |  | 6600 |  | 
|  |  | 6601 | int | 
|  |  | 6602 | main () | 
|  |  | 6603 | { | 
|  |  | 6604 | /* FIXME: Include the comments suggested by Paul. */ | 
|  |  | 6605 | #ifndef __cplusplus | 
|  |  | 6606 | /* Ultrix mips cc rejects this.  */ | 
|  |  | 6607 | typedef int charset[2]; | 
|  |  | 6608 | const charset x; | 
|  |  | 6609 | /* SunOS 4.1.1 cc rejects this.  */ | 
|  |  | 6610 | char const *const *ccp; | 
|  |  | 6611 | char **p; | 
|  |  | 6612 | /* NEC SVR4.0.2 mips cc rejects this.  */ | 
|  |  | 6613 | struct point {int x, y;}; | 
|  |  | 6614 | static struct point const zero = {0,0}; | 
|  |  | 6615 | /* AIX XL C 1.02.0.0 rejects this. | 
|  |  | 6616 | It does not let you subtract one const X* pointer from another in | 
|  |  | 6617 | an arm of an if-expression whose if-part is not a constant | 
|  |  | 6618 | expression */ | 
|  |  | 6619 | const char *g = "string"; | 
|  |  | 6620 | ccp = &g + (g ? g-g : 0); | 
|  |  | 6621 | /* HPUX 7.0 cc rejects these. */ | 
|  |  | 6622 | ++ccp; | 
|  |  | 6623 | p = (char**) ccp; | 
|  |  | 6624 | ccp = (char const *const *) p; | 
|  |  | 6625 | { /* SCO 3.2v4 cc rejects this.  */ | 
|  |  | 6626 | char *t; | 
|  |  | 6627 | char const *s = 0 ? (char *) 0 : (char const *) 0; | 
|  |  | 6628 |  | 
|  |  | 6629 | *t++ = 0; | 
|  |  | 6630 | } | 
|  |  | 6631 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ | 
|  |  | 6632 | int x[] = {25, 17}; | 
|  |  | 6633 | const int *foo = &x[0]; | 
|  |  | 6634 | ++foo; | 
|  |  | 6635 | } | 
|  |  | 6636 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | 
|  |  | 6637 | typedef const int *iptr; | 
|  |  | 6638 | iptr p = 0; | 
|  |  | 6639 | ++p; | 
|  |  | 6640 | } | 
|  |  | 6641 | { /* AIX XL C 1.02.0.0 rejects this saying | 
|  |  | 6642 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | 
|  |  | 6643 | struct s { int j; const int *ap[3]; }; | 
|  |  | 6644 | struct s *b; b->j = 5; | 
|  |  | 6645 | } | 
|  |  | 6646 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 
|  |  | 6647 | const int foo = 10; | 
|  |  | 6648 | } | 
|  |  | 6649 | #endif | 
|  |  | 6650 |  | 
|  |  | 6651 | ; | 
|  |  | 6652 | return 0; | 
|  |  | 6653 | } | 
|  |  | 6654 | _ACEOF | 
|  |  | 6655 | rm -f conftest.$ac_objext | 
|  |  | 6656 | if { (eval echo "$as_me:6656: \"$ac_compile\"") >&5 | 
|  |  | 6657 | (eval $ac_compile) 2>&5 | 
|  |  | 6658 | ac_status=$? | 
|  |  | 6659 | echo "$as_me:6659: \$? = $ac_status" >&5 | 
|  |  | 6660 | (exit $ac_status); } && | 
|  |  | 6661 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 6662 | { (eval echo "$as_me:6662: \"$ac_try\"") >&5 | 
|  |  | 6663 | (eval $ac_try) 2>&5 | 
|  |  | 6664 | ac_status=$? | 
|  |  | 6665 | echo "$as_me:6665: \$? = $ac_status" >&5 | 
|  |  | 6666 | (exit $ac_status); }; }; then | 
|  |  | 6667 | ac_cv_c_const=yes | 
|  |  | 6668 | else | 
|  |  | 6669 | echo "$as_me: failed program was:" >&5 | 
|  |  | 6670 | cat conftest.$ac_ext >&5 | 
|  |  | 6671 | ac_cv_c_const=no | 
|  |  | 6672 | fi | 
|  |  | 6673 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 6674 | fi | 
|  |  | 6675 | echo "$as_me:6675: result: $ac_cv_c_const" >&5 | 
|  |  | 6676 | echo "${ECHO_T}$ac_cv_c_const" >&6 | 
|  |  | 6677 | if test $ac_cv_c_const = no; then | 
|  |  | 6678 |  | 
|  |  | 6679 | cat >>confdefs.h <<\EOF | 
|  |  | 6680 | #define const | 
|  |  | 6681 | EOF | 
|  |  | 6682 |  | 
|  |  | 6683 | fi | 
|  |  | 6684 |  | 
|  |  | 6685 | for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h | 
|  |  | 6686 | do | 
|  |  | 6687 | ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` | 
|  |  | 6688 | echo "$as_me:6688: checking for $ac_header" >&5 | 
|  |  | 6689 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  |  | 6690 | if eval "test \"\${$ac_ac_Header+set}\" = set"; then | 
|  |  | 6691 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 6692 | else | 
|  |  | 6693 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 6694 | #line 6694 "configure" | 
|  |  | 6695 | #include "confdefs.h" | 
|  |  | 6696 | #include <$ac_header> | 
|  |  | 6697 | _ACEOF | 
|  |  | 6698 | if { (eval echo "$as_me:6698: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  |  | 6699 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  |  | 6700 | ac_status=$? | 
|  |  | 6701 | egrep -v '^ *\+' conftest.er1 >conftest.err | 
|  |  | 6702 | rm -f conftest.er1 | 
|  |  | 6703 | cat conftest.err >&5 | 
|  |  | 6704 | echo "$as_me:6704: \$? = $ac_status" >&5 | 
|  |  | 6705 | (exit $ac_status); } >/dev/null; then | 
|  |  | 6706 | if test -s conftest.err; then | 
|  |  | 6707 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  |  | 6708 | else | 
|  |  | 6709 | ac_cpp_err= | 
|  |  | 6710 | fi | 
|  |  | 6711 | else | 
|  |  | 6712 | ac_cpp_err=yes | 
|  |  | 6713 | fi | 
| 1845 | if test -z "$ac_err"; then | 6714 | if test -z "$ac_cpp_err"; then | 
| 1846 | rm -rf conftest* |  |  | 
| 1847 | eval "ac_cv_header_$ac_safe=yes" | 6715 | eval "$ac_ac_Header=yes" | 
| 1848 | else | 6716 | else | 
| 1849 | echo "$ac_err" >&5 |  |  | 
| 1850 | echo "configure: failed program was:" >&5 | 6717 | echo "$as_me: failed program was:" >&5 | 
| 1851 | cat conftest.$ac_ext >&5 | 6718 | cat conftest.$ac_ext >&5 | 
| 1852 | rm -rf conftest* |  |  | 
| 1853 | eval "ac_cv_header_$ac_safe=no" | 6719 | eval "$ac_ac_Header=no" | 
| 1854 | fi | 6720 | fi | 
| 1855 | rm -f conftest* | 6721 | rm -f conftest.err conftest.$ac_ext | 
| 1856 | fi | 6722 | fi | 
| 1857 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6723 | echo "$as_me:6723: result: `eval echo '${'$ac_ac_Header'}'`" >&5 | 
| 1858 | echo "$ac_t""yes" 1>&6 | 6724 | echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 | 
| 1859 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | 6725 | if test `eval echo '${'$ac_ac_Header'}'` = yes; then | 
| 1860 | cat >> confdefs.h <<EOF | 6726 | cat >>confdefs.h <<EOF | 
| 1861 | #define $ac_tr_hdr 1 | 6727 | #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 | 
| 1862 | EOF | 6728 | EOF | 
| 1863 |  | 6729 |  | 
| 1864 | else |  |  | 
| 1865 | echo "$ac_t""no" 1>&6 |  |  | 
| 1866 | fi | 6730 | fi | 
| 1867 | done | 6731 | done | 
| 1868 |  | 6732 |  | 
| 1869 |  | 6733 | echo "$as_me:6733: checking for size_t" >&5 | 
| 1870 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 6734 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 
| 1871 | echo "configure:1872: checking for working const" >&5 | 6735 | if test "${ac_cv_type_size_t+set}" = set; then | 
| 1872 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |  |  | 
| 1873 | echo $ac_n "(cached) $ac_c" 1>&6 | 6736 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1874 | else | 6737 | else | 
| 1875 | cat > conftest.$ac_ext <<EOF | 6738 | cat >conftest.$ac_ext <<_ACEOF | 
| 1876 | #line 1877 "configure" | 6739 | #line 6739 "configure" | 
| 1877 | #include "confdefs.h" | 6740 | #include "confdefs.h" | 
| 1878 |  | 6741 | $ac_includes_default | 
| 1879 | int main() { | 6742 | int | 
| 1880 |  | 6743 | main () | 
| 1881 | /* Ultrix mips cc rejects this.  */ | 6744 | { | 
| 1882 | typedef int charset[2]; const charset x; | 6745 | if ((size_t *) 0) | 
| 1883 | /* SunOS 4.1.1 cc rejects this.  */ | 6746 | return 0; | 
| 1884 | char const *const *ccp; | 6747 | if (sizeof (size_t)) | 
| 1885 | char **p; | 6748 | return 0; | 
| 1886 | /* NEC SVR4.0.2 mips cc rejects this.  */ | 6749 | ; | 
| 1887 | struct point {int x, y;}; | 6750 | return 0; | 
| 1888 | static struct point const zero = {0,0}; |  |  | 
| 1889 | /* AIX XL C 1.02.0.0 rejects this. |  |  | 
| 1890 | It does not let you subtract one const X* pointer from another in an arm |  |  | 
| 1891 | of an if-expression whose if-part is not a constant expression */ |  |  | 
| 1892 | const char *g = "string"; |  |  | 
| 1893 | ccp = &g + (g ? g-g : 0); |  |  | 
| 1894 | /* HPUX 7.0 cc rejects these. */ |  |  | 
| 1895 | ++ccp; |  |  | 
| 1896 | p = (char**) ccp; |  |  | 
| 1897 | ccp = (char const *const *) p; |  |  | 
| 1898 | { /* SCO 3.2v4 cc rejects this.  */ |  |  | 
| 1899 | char *t; |  |  | 
| 1900 | char const *s = 0 ? (char *) 0 : (char const *) 0; |  |  | 
| 1901 |  |  |  | 
| 1902 | *t++ = 0; |  |  | 
| 1903 | } | 6751 | } | 
| 1904 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ | 6752 | _ACEOF | 
| 1905 | int x[] = {25, 17}; | 6753 | rm -f conftest.$ac_objext | 
| 1906 | const int *foo = &x[0]; | 6754 | if { (eval echo "$as_me:6754: \"$ac_compile\"") >&5 | 
| 1907 | ++foo; | 6755 | (eval $ac_compile) 2>&5 | 
| 1908 | } | 6756 | ac_status=$? | 
| 1909 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | 6757 | echo "$as_me:6757: \$? = $ac_status" >&5 | 
| 1910 | typedef const int *iptr; | 6758 | (exit $ac_status); } && | 
| 1911 | iptr p = 0; | 6759 | { ac_try='test -s conftest.$ac_objext' | 
| 1912 | ++p; | 6760 | { (eval echo "$as_me:6760: \"$ac_try\"") >&5 | 
| 1913 | } | 6761 | (eval $ac_try) 2>&5 | 
| 1914 | { /* AIX XL C 1.02.0.0 rejects this saying | 6762 | ac_status=$? | 
| 1915 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | 6763 | echo "$as_me:6763: \$? = $ac_status" >&5 | 
| 1916 | struct s { int j; const int *ap[3]; }; | 6764 | (exit $ac_status); }; }; then | 
| 1917 | struct s *b; b->j = 5; |  |  | 
| 1918 | } |  |  | 
| 1919 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |  |  | 
| 1920 | const int foo = 10; |  |  | 
| 1921 | } |  |  | 
| 1922 |  |  |  | 
| 1923 | ; return 0; } |  |  | 
| 1924 | EOF |  |  | 
| 1925 | if { (eval echo configure:1926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |  |  | 
| 1926 | rm -rf conftest* |  |  | 
| 1927 | ac_cv_c_const=yes |  |  | 
| 1928 | else |  |  | 
| 1929 | echo "configure: failed program was:" >&5 |  |  | 
| 1930 | cat conftest.$ac_ext >&5 |  |  | 
| 1931 | rm -rf conftest* |  |  | 
| 1932 | ac_cv_c_const=no |  |  | 
| 1933 | fi |  |  | 
| 1934 | rm -f conftest* |  |  | 
| 1935 | fi |  |  | 
| 1936 |  |  |  | 
| 1937 | echo "$ac_t""$ac_cv_c_const" 1>&6 |  |  | 
| 1938 | if test $ac_cv_c_const = no; then |  |  | 
| 1939 | cat >> confdefs.h <<\EOF |  |  | 
| 1940 | #define const |  |  | 
| 1941 | EOF |  |  | 
| 1942 |  |  |  | 
| 1943 | fi |  |  | 
| 1944 |  |  |  | 
| 1945 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |  |  | 
| 1946 | echo "configure:1947: checking for size_t" >&5 |  |  | 
| 1947 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |  |  | 
| 1948 | echo $ac_n "(cached) $ac_c" 1>&6 |  |  | 
| 1949 | else |  |  | 
| 1950 | cat > conftest.$ac_ext <<EOF |  |  | 
| 1951 | #line 1952 "configure" |  |  | 
| 1952 | #include "confdefs.h" |  |  | 
| 1953 | #include <sys/types.h> |  |  | 
| 1954 | #if STDC_HEADERS |  |  | 
| 1955 | #include <stdlib.h> |  |  | 
| 1956 | #include <stddef.h> |  |  | 
| 1957 | #endif |  |  | 
| 1958 | EOF |  |  | 
| 1959 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |  |  | 
| 1960 | egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |  |  | 
| 1961 | rm -rf conftest* |  |  | 
| 1962 | ac_cv_type_size_t=yes | 6765 | ac_cv_type_size_t=yes | 
| 1963 | else | 6766 | else | 
| 1964 | rm -rf conftest* | 6767 | echo "$as_me: failed program was:" >&5 | 
|  |  | 6768 | cat conftest.$ac_ext >&5 | 
| 1965 | ac_cv_type_size_t=no | 6769 | ac_cv_type_size_t=no | 
| 1966 | fi | 6770 | fi | 
| 1967 | rm -f conftest* | 6771 | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 1968 |  |  |  | 
| 1969 | fi | 6772 | fi | 
|  |  | 6773 | echo "$as_me:6773: result: $ac_cv_type_size_t" >&5 | 
| 1970 | echo "$ac_t""$ac_cv_type_size_t" 1>&6 | 6774 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 
| 1971 | if test $ac_cv_type_size_t = no; then | 6775 | if test $ac_cv_type_size_t = yes; then | 
|  |  | 6776 | : | 
|  |  | 6777 | else | 
|  |  | 6778 |  | 
| 1972 | cat >> confdefs.h <<\EOF | 6779 | cat >>confdefs.h <<EOF | 
| 1973 | #define size_t unsigned | 6780 | #define size_t unsigned | 
| 1974 | EOF | 6781 | EOF | 
| 1975 |  | 6782 |  | 
| 1976 | fi | 6783 | fi | 
| 1977 |  | 6784 |  | 
|  |  | 6785 | echo "$as_me:6785: checking for char" >&5 | 
|  |  | 6786 | echo $ECHO_N "checking for char... $ECHO_C" >&6 | 
|  |  | 6787 | if test "${ac_cv_type_char+set}" = set; then | 
|  |  | 6788 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 6789 | else | 
|  |  | 6790 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 6791 | #line 6791 "configure" | 
|  |  | 6792 | #include "confdefs.h" | 
|  |  | 6793 | $ac_includes_default | 
|  |  | 6794 | int | 
|  |  | 6795 | main () | 
|  |  | 6796 | { | 
|  |  | 6797 | if ((char *) 0) | 
|  |  | 6798 | return 0; | 
|  |  | 6799 | if (sizeof (char)) | 
|  |  | 6800 | return 0; | 
|  |  | 6801 | ; | 
|  |  | 6802 | return 0; | 
|  |  | 6803 | } | 
|  |  | 6804 | _ACEOF | 
|  |  | 6805 | rm -f conftest.$ac_objext | 
|  |  | 6806 | if { (eval echo "$as_me:6806: \"$ac_compile\"") >&5 | 
|  |  | 6807 | (eval $ac_compile) 2>&5 | 
|  |  | 6808 | ac_status=$? | 
|  |  | 6809 | echo "$as_me:6809: \$? = $ac_status" >&5 | 
|  |  | 6810 | (exit $ac_status); } && | 
|  |  | 6811 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 6812 | { (eval echo "$as_me:6812: \"$ac_try\"") >&5 | 
|  |  | 6813 | (eval $ac_try) 2>&5 | 
|  |  | 6814 | ac_status=$? | 
|  |  | 6815 | echo "$as_me:6815: \$? = $ac_status" >&5 | 
|  |  | 6816 | (exit $ac_status); }; }; then | 
|  |  | 6817 | ac_cv_type_char=yes | 
|  |  | 6818 | else | 
|  |  | 6819 | echo "$as_me: failed program was:" >&5 | 
|  |  | 6820 | cat conftest.$ac_ext >&5 | 
|  |  | 6821 | ac_cv_type_char=no | 
|  |  | 6822 | fi | 
|  |  | 6823 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 6824 | fi | 
|  |  | 6825 | echo "$as_me:6825: result: $ac_cv_type_char" >&5 | 
|  |  | 6826 | echo "${ECHO_T}$ac_cv_type_char" >&6 | 
| 1978 |  | 6827 |  | 
| 1979 |  |  |  | 
| 1980 | echo $ac_n "checking size of char""... $ac_c" 1>&6 |  |  | 
| 1981 | echo "configure:1982: checking size of char" >&5 | 6828 | echo "$as_me:6828: checking size of char" >&5 | 
|  |  | 6829 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 | 
| 1982 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then | 6830 | if test "${ac_cv_sizeof_char+set}" = set; then | 
| 1983 | echo $ac_n "(cached) $ac_c" 1>&6 | 6831 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1984 | else | 6832 | else | 
|  |  | 6833 | if test "$ac_cv_type_char" = yes; then | 
| 1985 | if test "$cross_compiling" = yes; then | 6834 | if test "$cross_compiling" = yes; then | 
| 1986 | ac_cv_sizeof_char=1 | 6835 | # Depending upon the size, compute the lo and hi bounds. | 
| 1987 | else |  |  | 
| 1988 | cat > conftest.$ac_ext <<EOF | 6836 | cat >conftest.$ac_ext <<_ACEOF | 
| 1989 | #line 1990 "configure" | 6837 | #line 6837 "configure" | 
| 1990 | #include "confdefs.h" | 6838 | #include "confdefs.h" | 
| 1991 | #include <stdio.h> | 6839 | $ac_includes_default | 
|  |  | 6840 | int | 
| 1992 | main() | 6841 | main () | 
| 1993 | { | 6842 | { | 
| 1994 | FILE *f=fopen("conftestval", "w"); | 6843 | int _array_ [1 - 2 * !((sizeof (char)) >= 0)] | 
| 1995 | if (!f) exit(1); | 6844 | ; | 
| 1996 | fprintf(f, "%d\n", sizeof(char)); | 6845 | return 0; | 
| 1997 | exit(0); |  |  | 
| 1998 | } | 6846 | } | 
| 1999 | EOF | 6847 | _ACEOF | 
| 2000 | if { (eval echo configure:2001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6848 | rm -f conftest.$ac_objext | 
| 2001 | then | 6849 | if { (eval echo "$as_me:6849: \"$ac_compile\"") >&5 | 
|  |  | 6850 | (eval $ac_compile) 2>&5 | 
|  |  | 6851 | ac_status=$? | 
|  |  | 6852 | echo "$as_me:6852: \$? = $ac_status" >&5 | 
|  |  | 6853 | (exit $ac_status); } && | 
|  |  | 6854 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 6855 | { (eval echo "$as_me:6855: \"$ac_try\"") >&5 | 
|  |  | 6856 | (eval $ac_try) 2>&5 | 
|  |  | 6857 | ac_status=$? | 
|  |  | 6858 | echo "$as_me:6858: \$? = $ac_status" >&5 | 
|  |  | 6859 | (exit $ac_status); }; }; then | 
|  |  | 6860 | ac_lo=0 ac_mid=0 | 
|  |  | 6861 | while :; do | 
|  |  | 6862 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 6863 | #line 6863 "configure" | 
|  |  | 6864 | #include "confdefs.h" | 
|  |  | 6865 | $ac_includes_default | 
|  |  | 6866 | int | 
|  |  | 6867 | main () | 
|  |  | 6868 | { | 
|  |  | 6869 | int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)] | 
|  |  | 6870 | ; | 
|  |  | 6871 | return 0; | 
|  |  | 6872 | } | 
|  |  | 6873 | _ACEOF | 
|  |  | 6874 | rm -f conftest.$ac_objext | 
|  |  | 6875 | if { (eval echo "$as_me:6875: \"$ac_compile\"") >&5 | 
|  |  | 6876 | (eval $ac_compile) 2>&5 | 
|  |  | 6877 | ac_status=$? | 
|  |  | 6878 | echo "$as_me:6878: \$? = $ac_status" >&5 | 
|  |  | 6879 | (exit $ac_status); } && | 
|  |  | 6880 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 6881 | { (eval echo "$as_me:6881: \"$ac_try\"") >&5 | 
|  |  | 6882 | (eval $ac_try) 2>&5 | 
|  |  | 6883 | ac_status=$? | 
|  |  | 6884 | echo "$as_me:6884: \$? = $ac_status" >&5 | 
|  |  | 6885 | (exit $ac_status); }; }; then | 
|  |  | 6886 | ac_hi=$ac_mid; break | 
|  |  | 6887 | else | 
|  |  | 6888 | echo "$as_me: failed program was:" >&5 | 
|  |  | 6889 | cat conftest.$ac_ext >&5 | 
|  |  | 6890 | ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` | 
|  |  | 6891 | fi | 
|  |  | 6892 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 6893 | done | 
|  |  | 6894 | else | 
|  |  | 6895 | echo "$as_me: failed program was:" >&5 | 
|  |  | 6896 | cat conftest.$ac_ext >&5 | 
|  |  | 6897 | ac_hi=-1 ac_mid=-1 | 
|  |  | 6898 | while :; do | 
|  |  | 6899 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 6900 | #line 6900 "configure" | 
|  |  | 6901 | #include "confdefs.h" | 
|  |  | 6902 | $ac_includes_default | 
|  |  | 6903 | int | 
|  |  | 6904 | main () | 
|  |  | 6905 | { | 
|  |  | 6906 | int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)] | 
|  |  | 6907 | ; | 
|  |  | 6908 | return 0; | 
|  |  | 6909 | } | 
|  |  | 6910 | _ACEOF | 
|  |  | 6911 | rm -f conftest.$ac_objext | 
|  |  | 6912 | if { (eval echo "$as_me:6912: \"$ac_compile\"") >&5 | 
|  |  | 6913 | (eval $ac_compile) 2>&5 | 
|  |  | 6914 | ac_status=$? | 
|  |  | 6915 | echo "$as_me:6915: \$? = $ac_status" >&5 | 
|  |  | 6916 | (exit $ac_status); } && | 
|  |  | 6917 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 6918 | { (eval echo "$as_me:6918: \"$ac_try\"") >&5 | 
|  |  | 6919 | (eval $ac_try) 2>&5 | 
|  |  | 6920 | ac_status=$? | 
|  |  | 6921 | echo "$as_me:6921: \$? = $ac_status" >&5 | 
|  |  | 6922 | (exit $ac_status); }; }; then | 
|  |  | 6923 | ac_lo=$ac_mid; break | 
|  |  | 6924 | else | 
|  |  | 6925 | echo "$as_me: failed program was:" >&5 | 
|  |  | 6926 | cat conftest.$ac_ext >&5 | 
|  |  | 6927 | ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` | 
|  |  | 6928 | fi | 
|  |  | 6929 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 6930 | done | 
|  |  | 6931 | fi | 
|  |  | 6932 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 6933 | # Binary search between lo and hi bounds. | 
|  |  | 6934 | while test "x$ac_lo" != "x$ac_hi"; do | 
|  |  | 6935 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 
|  |  | 6936 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 6937 | #line 6937 "configure" | 
|  |  | 6938 | #include "confdefs.h" | 
|  |  | 6939 | $ac_includes_default | 
|  |  | 6940 | int | 
|  |  | 6941 | main () | 
|  |  | 6942 | { | 
|  |  | 6943 | int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)] | 
|  |  | 6944 | ; | 
|  |  | 6945 | return 0; | 
|  |  | 6946 | } | 
|  |  | 6947 | _ACEOF | 
|  |  | 6948 | rm -f conftest.$ac_objext | 
|  |  | 6949 | if { (eval echo "$as_me:6949: \"$ac_compile\"") >&5 | 
|  |  | 6950 | (eval $ac_compile) 2>&5 | 
|  |  | 6951 | ac_status=$? | 
|  |  | 6952 | echo "$as_me:6952: \$? = $ac_status" >&5 | 
|  |  | 6953 | (exit $ac_status); } && | 
|  |  | 6954 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 6955 | { (eval echo "$as_me:6955: \"$ac_try\"") >&5 | 
|  |  | 6956 | (eval $ac_try) 2>&5 | 
|  |  | 6957 | ac_status=$? | 
|  |  | 6958 | echo "$as_me:6958: \$? = $ac_status" >&5 | 
|  |  | 6959 | (exit $ac_status); }; }; then | 
|  |  | 6960 | ac_hi=$ac_mid | 
|  |  | 6961 | else | 
|  |  | 6962 | echo "$as_me: failed program was:" >&5 | 
|  |  | 6963 | cat conftest.$ac_ext >&5 | 
|  |  | 6964 | ac_lo=`expr $ac_mid + 1` | 
|  |  | 6965 | fi | 
|  |  | 6966 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 6967 | done | 
|  |  | 6968 | ac_cv_sizeof_char=$ac_lo | 
|  |  | 6969 | else | 
|  |  | 6970 | if test "$cross_compiling" = yes; then | 
|  |  | 6971 | { { echo "$as_me:6971: error: cannot run test program while cross compiling" >&5 | 
|  |  | 6972 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 
|  |  | 6973 | { (exit 1); exit 1; }; } | 
|  |  | 6974 | else | 
|  |  | 6975 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 6976 | #line 6976 "configure" | 
|  |  | 6977 | #include "confdefs.h" | 
|  |  | 6978 | $ac_includes_default | 
|  |  | 6979 | int | 
|  |  | 6980 | main () | 
|  |  | 6981 | { | 
|  |  | 6982 | FILE *f = fopen ("conftest.val", "w"); | 
|  |  | 6983 | if (!f) | 
|  |  | 6984 | exit (1); | 
|  |  | 6985 | fprintf (f, "%d", (sizeof (char))); | 
|  |  | 6986 | fclose (f); | 
|  |  | 6987 | ; | 
|  |  | 6988 | return 0; | 
|  |  | 6989 | } | 
|  |  | 6990 | _ACEOF | 
|  |  | 6991 | rm -f conftest$ac_exeext | 
|  |  | 6992 | if { (eval echo "$as_me:6992: \"$ac_link\"") >&5 | 
|  |  | 6993 | (eval $ac_link) 2>&5 | 
|  |  | 6994 | ac_status=$? | 
|  |  | 6995 | echo "$as_me:6995: \$? = $ac_status" >&5 | 
|  |  | 6996 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  |  | 6997 | { (eval echo "$as_me:6997: \"$ac_try\"") >&5 | 
|  |  | 6998 | (eval $ac_try) 2>&5 | 
|  |  | 6999 | ac_status=$? | 
|  |  | 7000 | echo "$as_me:7000: \$? = $ac_status" >&5 | 
|  |  | 7001 | (exit $ac_status); }; }; then | 
| 2002 | ac_cv_sizeof_char=`cat conftestval` | 7002 | ac_cv_sizeof_char=`cat conftest.val` | 
| 2003 | else | 7003 | else | 
|  |  | 7004 | echo "$as_me: program exited with status $ac_status" >&5 | 
| 2004 | echo "configure: failed program was:" >&5 | 7005 | echo "$as_me: failed program was:" >&5 | 
| 2005 | cat conftest.$ac_ext >&5 | 7006 | cat conftest.$ac_ext >&5 | 
|  |  | 7007 | fi | 
|  |  | 7008 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext | 
|  |  | 7009 | fi | 
|  |  | 7010 | fi | 
| 2006 | rm -fr conftest* | 7011 | rm -f conftest.val | 
|  |  | 7012 | else | 
| 2007 | ac_cv_sizeof_char=0 | 7013 | ac_cv_sizeof_char=0 | 
| 2008 | fi | 7014 | fi | 
| 2009 | rm -fr conftest* |  |  | 
| 2010 | fi | 7015 | fi | 
| 2011 |  | 7016 | echo "$as_me:7016: result: $ac_cv_sizeof_char" >&5 | 
| 2012 | fi |  |  | 
| 2013 | echo "$ac_t""$ac_cv_sizeof_char" 1>&6 | 7017 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 | 
| 2014 | cat >> confdefs.h <<EOF | 7018 | cat >>confdefs.h <<EOF | 
| 2015 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 7019 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 
| 2016 | EOF | 7020 | EOF | 
| 2017 |  | 7021 |  | 
|  |  | 7022 | echo "$as_me:7022: checking for short" >&5 | 
|  |  | 7023 | echo $ECHO_N "checking for short... $ECHO_C" >&6 | 
|  |  | 7024 | if test "${ac_cv_type_short+set}" = set; then | 
|  |  | 7025 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 7026 | else | 
|  |  | 7027 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7028 | #line 7028 "configure" | 
|  |  | 7029 | #include "confdefs.h" | 
|  |  | 7030 | $ac_includes_default | 
|  |  | 7031 | int | 
|  |  | 7032 | main () | 
|  |  | 7033 | { | 
|  |  | 7034 | if ((short *) 0) | 
|  |  | 7035 | return 0; | 
|  |  | 7036 | if (sizeof (short)) | 
|  |  | 7037 | return 0; | 
|  |  | 7038 | ; | 
|  |  | 7039 | return 0; | 
|  |  | 7040 | } | 
|  |  | 7041 | _ACEOF | 
|  |  | 7042 | rm -f conftest.$ac_objext | 
|  |  | 7043 | if { (eval echo "$as_me:7043: \"$ac_compile\"") >&5 | 
|  |  | 7044 | (eval $ac_compile) 2>&5 | 
|  |  | 7045 | ac_status=$? | 
|  |  | 7046 | echo "$as_me:7046: \$? = $ac_status" >&5 | 
|  |  | 7047 | (exit $ac_status); } && | 
|  |  | 7048 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7049 | { (eval echo "$as_me:7049: \"$ac_try\"") >&5 | 
|  |  | 7050 | (eval $ac_try) 2>&5 | 
|  |  | 7051 | ac_status=$? | 
|  |  | 7052 | echo "$as_me:7052: \$? = $ac_status" >&5 | 
|  |  | 7053 | (exit $ac_status); }; }; then | 
|  |  | 7054 | ac_cv_type_short=yes | 
|  |  | 7055 | else | 
|  |  | 7056 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7057 | cat conftest.$ac_ext >&5 | 
|  |  | 7058 | ac_cv_type_short=no | 
|  |  | 7059 | fi | 
|  |  | 7060 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7061 | fi | 
|  |  | 7062 | echo "$as_me:7062: result: $ac_cv_type_short" >&5 | 
|  |  | 7063 | echo "${ECHO_T}$ac_cv_type_short" >&6 | 
| 2018 |  | 7064 |  | 
|  |  | 7065 | echo "$as_me:7065: checking size of short" >&5 | 
| 2019 | echo $ac_n "checking size of short""... $ac_c" 1>&6 | 7066 | echo $ECHO_N "checking size of short... $ECHO_C" >&6 | 
| 2020 | echo "configure:2021: checking size of short" >&5 |  |  | 
| 2021 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then | 7067 | if test "${ac_cv_sizeof_short+set}" = set; then | 
| 2022 | echo $ac_n "(cached) $ac_c" 1>&6 | 7068 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2023 | else | 7069 | else | 
|  |  | 7070 | if test "$ac_cv_type_short" = yes; then | 
| 2024 | if test "$cross_compiling" = yes; then | 7071 | if test "$cross_compiling" = yes; then | 
| 2025 | ac_cv_sizeof_short=1 | 7072 | # Depending upon the size, compute the lo and hi bounds. | 
| 2026 | else |  |  | 
| 2027 | cat > conftest.$ac_ext <<EOF | 7073 | cat >conftest.$ac_ext <<_ACEOF | 
| 2028 | #line 2029 "configure" | 7074 | #line 7074 "configure" | 
| 2029 | #include "confdefs.h" | 7075 | #include "confdefs.h" | 
| 2030 | #include <stdio.h> | 7076 | $ac_includes_default | 
|  |  | 7077 | int | 
| 2031 | main() | 7078 | main () | 
| 2032 | { | 7079 | { | 
| 2033 | FILE *f=fopen("conftestval", "w"); | 7080 | int _array_ [1 - 2 * !((sizeof (short)) >= 0)] | 
| 2034 | if (!f) exit(1); | 7081 | ; | 
| 2035 | fprintf(f, "%d\n", sizeof(short)); | 7082 | return 0; | 
| 2036 | exit(0); |  |  | 
| 2037 | } | 7083 | } | 
| 2038 | EOF | 7084 | _ACEOF | 
| 2039 | if { (eval echo configure:2040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7085 | rm -f conftest.$ac_objext | 
| 2040 | then | 7086 | if { (eval echo "$as_me:7086: \"$ac_compile\"") >&5 | 
|  |  | 7087 | (eval $ac_compile) 2>&5 | 
|  |  | 7088 | ac_status=$? | 
|  |  | 7089 | echo "$as_me:7089: \$? = $ac_status" >&5 | 
|  |  | 7090 | (exit $ac_status); } && | 
|  |  | 7091 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7092 | { (eval echo "$as_me:7092: \"$ac_try\"") >&5 | 
|  |  | 7093 | (eval $ac_try) 2>&5 | 
|  |  | 7094 | ac_status=$? | 
|  |  | 7095 | echo "$as_me:7095: \$? = $ac_status" >&5 | 
|  |  | 7096 | (exit $ac_status); }; }; then | 
|  |  | 7097 | ac_lo=0 ac_mid=0 | 
|  |  | 7098 | while :; do | 
|  |  | 7099 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7100 | #line 7100 "configure" | 
|  |  | 7101 | #include "confdefs.h" | 
|  |  | 7102 | $ac_includes_default | 
|  |  | 7103 | int | 
|  |  | 7104 | main () | 
|  |  | 7105 | { | 
|  |  | 7106 | int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)] | 
|  |  | 7107 | ; | 
|  |  | 7108 | return 0; | 
|  |  | 7109 | } | 
|  |  | 7110 | _ACEOF | 
|  |  | 7111 | rm -f conftest.$ac_objext | 
|  |  | 7112 | if { (eval echo "$as_me:7112: \"$ac_compile\"") >&5 | 
|  |  | 7113 | (eval $ac_compile) 2>&5 | 
|  |  | 7114 | ac_status=$? | 
|  |  | 7115 | echo "$as_me:7115: \$? = $ac_status" >&5 | 
|  |  | 7116 | (exit $ac_status); } && | 
|  |  | 7117 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7118 | { (eval echo "$as_me:7118: \"$ac_try\"") >&5 | 
|  |  | 7119 | (eval $ac_try) 2>&5 | 
|  |  | 7120 | ac_status=$? | 
|  |  | 7121 | echo "$as_me:7121: \$? = $ac_status" >&5 | 
|  |  | 7122 | (exit $ac_status); }; }; then | 
|  |  | 7123 | ac_hi=$ac_mid; break | 
|  |  | 7124 | else | 
|  |  | 7125 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7126 | cat conftest.$ac_ext >&5 | 
|  |  | 7127 | ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` | 
|  |  | 7128 | fi | 
|  |  | 7129 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7130 | done | 
|  |  | 7131 | else | 
|  |  | 7132 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7133 | cat conftest.$ac_ext >&5 | 
|  |  | 7134 | ac_hi=-1 ac_mid=-1 | 
|  |  | 7135 | while :; do | 
|  |  | 7136 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7137 | #line 7137 "configure" | 
|  |  | 7138 | #include "confdefs.h" | 
|  |  | 7139 | $ac_includes_default | 
|  |  | 7140 | int | 
|  |  | 7141 | main () | 
|  |  | 7142 | { | 
|  |  | 7143 | int _array_ [1 - 2 * !((sizeof (short)) >= $ac_mid)] | 
|  |  | 7144 | ; | 
|  |  | 7145 | return 0; | 
|  |  | 7146 | } | 
|  |  | 7147 | _ACEOF | 
|  |  | 7148 | rm -f conftest.$ac_objext | 
|  |  | 7149 | if { (eval echo "$as_me:7149: \"$ac_compile\"") >&5 | 
|  |  | 7150 | (eval $ac_compile) 2>&5 | 
|  |  | 7151 | ac_status=$? | 
|  |  | 7152 | echo "$as_me:7152: \$? = $ac_status" >&5 | 
|  |  | 7153 | (exit $ac_status); } && | 
|  |  | 7154 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7155 | { (eval echo "$as_me:7155: \"$ac_try\"") >&5 | 
|  |  | 7156 | (eval $ac_try) 2>&5 | 
|  |  | 7157 | ac_status=$? | 
|  |  | 7158 | echo "$as_me:7158: \$? = $ac_status" >&5 | 
|  |  | 7159 | (exit $ac_status); }; }; then | 
|  |  | 7160 | ac_lo=$ac_mid; break | 
|  |  | 7161 | else | 
|  |  | 7162 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7163 | cat conftest.$ac_ext >&5 | 
|  |  | 7164 | ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` | 
|  |  | 7165 | fi | 
|  |  | 7166 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7167 | done | 
|  |  | 7168 | fi | 
|  |  | 7169 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7170 | # Binary search between lo and hi bounds. | 
|  |  | 7171 | while test "x$ac_lo" != "x$ac_hi"; do | 
|  |  | 7172 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 
|  |  | 7173 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7174 | #line 7174 "configure" | 
|  |  | 7175 | #include "confdefs.h" | 
|  |  | 7176 | $ac_includes_default | 
|  |  | 7177 | int | 
|  |  | 7178 | main () | 
|  |  | 7179 | { | 
|  |  | 7180 | int _array_ [1 - 2 * !((sizeof (short)) <= $ac_mid)] | 
|  |  | 7181 | ; | 
|  |  | 7182 | return 0; | 
|  |  | 7183 | } | 
|  |  | 7184 | _ACEOF | 
|  |  | 7185 | rm -f conftest.$ac_objext | 
|  |  | 7186 | if { (eval echo "$as_me:7186: \"$ac_compile\"") >&5 | 
|  |  | 7187 | (eval $ac_compile) 2>&5 | 
|  |  | 7188 | ac_status=$? | 
|  |  | 7189 | echo "$as_me:7189: \$? = $ac_status" >&5 | 
|  |  | 7190 | (exit $ac_status); } && | 
|  |  | 7191 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7192 | { (eval echo "$as_me:7192: \"$ac_try\"") >&5 | 
|  |  | 7193 | (eval $ac_try) 2>&5 | 
|  |  | 7194 | ac_status=$? | 
|  |  | 7195 | echo "$as_me:7195: \$? = $ac_status" >&5 | 
|  |  | 7196 | (exit $ac_status); }; }; then | 
|  |  | 7197 | ac_hi=$ac_mid | 
|  |  | 7198 | else | 
|  |  | 7199 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7200 | cat conftest.$ac_ext >&5 | 
|  |  | 7201 | ac_lo=`expr $ac_mid + 1` | 
|  |  | 7202 | fi | 
|  |  | 7203 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7204 | done | 
|  |  | 7205 | ac_cv_sizeof_short=$ac_lo | 
|  |  | 7206 | else | 
|  |  | 7207 | if test "$cross_compiling" = yes; then | 
|  |  | 7208 | { { echo "$as_me:7208: error: cannot run test program while cross compiling" >&5 | 
|  |  | 7209 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 
|  |  | 7210 | { (exit 1); exit 1; }; } | 
|  |  | 7211 | else | 
|  |  | 7212 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7213 | #line 7213 "configure" | 
|  |  | 7214 | #include "confdefs.h" | 
|  |  | 7215 | $ac_includes_default | 
|  |  | 7216 | int | 
|  |  | 7217 | main () | 
|  |  | 7218 | { | 
|  |  | 7219 | FILE *f = fopen ("conftest.val", "w"); | 
|  |  | 7220 | if (!f) | 
|  |  | 7221 | exit (1); | 
|  |  | 7222 | fprintf (f, "%d", (sizeof (short))); | 
|  |  | 7223 | fclose (f); | 
|  |  | 7224 | ; | 
|  |  | 7225 | return 0; | 
|  |  | 7226 | } | 
|  |  | 7227 | _ACEOF | 
|  |  | 7228 | rm -f conftest$ac_exeext | 
|  |  | 7229 | if { (eval echo "$as_me:7229: \"$ac_link\"") >&5 | 
|  |  | 7230 | (eval $ac_link) 2>&5 | 
|  |  | 7231 | ac_status=$? | 
|  |  | 7232 | echo "$as_me:7232: \$? = $ac_status" >&5 | 
|  |  | 7233 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  |  | 7234 | { (eval echo "$as_me:7234: \"$ac_try\"") >&5 | 
|  |  | 7235 | (eval $ac_try) 2>&5 | 
|  |  | 7236 | ac_status=$? | 
|  |  | 7237 | echo "$as_me:7237: \$? = $ac_status" >&5 | 
|  |  | 7238 | (exit $ac_status); }; }; then | 
| 2041 | ac_cv_sizeof_short=`cat conftestval` | 7239 | ac_cv_sizeof_short=`cat conftest.val` | 
| 2042 | else | 7240 | else | 
|  |  | 7241 | echo "$as_me: program exited with status $ac_status" >&5 | 
| 2043 | echo "configure: failed program was:" >&5 | 7242 | echo "$as_me: failed program was:" >&5 | 
| 2044 | cat conftest.$ac_ext >&5 | 7243 | cat conftest.$ac_ext >&5 | 
|  |  | 7244 | fi | 
|  |  | 7245 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext | 
|  |  | 7246 | fi | 
|  |  | 7247 | fi | 
| 2045 | rm -fr conftest* | 7248 | rm -f conftest.val | 
|  |  | 7249 | else | 
| 2046 | ac_cv_sizeof_short=0 | 7250 | ac_cv_sizeof_short=0 | 
| 2047 | fi | 7251 | fi | 
| 2048 | rm -fr conftest* |  |  | 
| 2049 | fi | 7252 | fi | 
| 2050 |  | 7253 | echo "$as_me:7253: result: $ac_cv_sizeof_short" >&5 | 
| 2051 | fi |  |  | 
| 2052 | echo "$ac_t""$ac_cv_sizeof_short" 1>&6 | 7254 | echo "${ECHO_T}$ac_cv_sizeof_short" >&6 | 
| 2053 | cat >> confdefs.h <<EOF | 7255 | cat >>confdefs.h <<EOF | 
| 2054 | #define SIZEOF_SHORT $ac_cv_sizeof_short | 7256 | #define SIZEOF_SHORT $ac_cv_sizeof_short | 
| 2055 | EOF | 7257 | EOF | 
| 2056 |  | 7258 |  | 
|  |  | 7259 | echo "$as_me:7259: checking for int" >&5 | 
|  |  | 7260 | echo $ECHO_N "checking for int... $ECHO_C" >&6 | 
|  |  | 7261 | if test "${ac_cv_type_int+set}" = set; then | 
|  |  | 7262 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 7263 | else | 
|  |  | 7264 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7265 | #line 7265 "configure" | 
|  |  | 7266 | #include "confdefs.h" | 
|  |  | 7267 | $ac_includes_default | 
|  |  | 7268 | int | 
|  |  | 7269 | main () | 
|  |  | 7270 | { | 
|  |  | 7271 | if ((int *) 0) | 
|  |  | 7272 | return 0; | 
|  |  | 7273 | if (sizeof (int)) | 
|  |  | 7274 | return 0; | 
|  |  | 7275 | ; | 
|  |  | 7276 | return 0; | 
|  |  | 7277 | } | 
|  |  | 7278 | _ACEOF | 
|  |  | 7279 | rm -f conftest.$ac_objext | 
|  |  | 7280 | if { (eval echo "$as_me:7280: \"$ac_compile\"") >&5 | 
|  |  | 7281 | (eval $ac_compile) 2>&5 | 
|  |  | 7282 | ac_status=$? | 
|  |  | 7283 | echo "$as_me:7283: \$? = $ac_status" >&5 | 
|  |  | 7284 | (exit $ac_status); } && | 
|  |  | 7285 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7286 | { (eval echo "$as_me:7286: \"$ac_try\"") >&5 | 
|  |  | 7287 | (eval $ac_try) 2>&5 | 
|  |  | 7288 | ac_status=$? | 
|  |  | 7289 | echo "$as_me:7289: \$? = $ac_status" >&5 | 
|  |  | 7290 | (exit $ac_status); }; }; then | 
|  |  | 7291 | ac_cv_type_int=yes | 
|  |  | 7292 | else | 
|  |  | 7293 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7294 | cat conftest.$ac_ext >&5 | 
|  |  | 7295 | ac_cv_type_int=no | 
|  |  | 7296 | fi | 
|  |  | 7297 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7298 | fi | 
|  |  | 7299 | echo "$as_me:7299: result: $ac_cv_type_int" >&5 | 
|  |  | 7300 | echo "${ECHO_T}$ac_cv_type_int" >&6 | 
| 2057 |  | 7301 |  | 
|  |  | 7302 | echo "$as_me:7302: checking size of int" >&5 | 
| 2058 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | 7303 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 | 
| 2059 | echo "configure:2060: checking size of int" >&5 |  |  | 
| 2060 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 7304 | if test "${ac_cv_sizeof_int+set}" = set; then | 
| 2061 | echo $ac_n "(cached) $ac_c" 1>&6 | 7305 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2062 | else | 7306 | else | 
|  |  | 7307 | if test "$ac_cv_type_int" = yes; then | 
| 2063 | if test "$cross_compiling" = yes; then | 7308 | if test "$cross_compiling" = yes; then | 
| 2064 | ac_cv_sizeof_int=2 | 7309 | # Depending upon the size, compute the lo and hi bounds. | 
| 2065 | else |  |  | 
| 2066 | cat > conftest.$ac_ext <<EOF | 7310 | cat >conftest.$ac_ext <<_ACEOF | 
| 2067 | #line 2068 "configure" | 7311 | #line 7311 "configure" | 
| 2068 | #include "confdefs.h" | 7312 | #include "confdefs.h" | 
| 2069 | #include <stdio.h> | 7313 | $ac_includes_default | 
|  |  | 7314 | int | 
| 2070 | main() | 7315 | main () | 
| 2071 | { | 7316 | { | 
| 2072 | FILE *f=fopen("conftestval", "w"); | 7317 | int _array_ [1 - 2 * !((sizeof (int)) >= 0)] | 
| 2073 | if (!f) exit(1); | 7318 | ; | 
| 2074 | fprintf(f, "%d\n", sizeof(int)); | 7319 | return 0; | 
| 2075 | exit(0); |  |  | 
| 2076 | } | 7320 | } | 
| 2077 | EOF | 7321 | _ACEOF | 
| 2078 | if { (eval echo configure:2079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7322 | rm -f conftest.$ac_objext | 
| 2079 | then | 7323 | if { (eval echo "$as_me:7323: \"$ac_compile\"") >&5 | 
|  |  | 7324 | (eval $ac_compile) 2>&5 | 
|  |  | 7325 | ac_status=$? | 
|  |  | 7326 | echo "$as_me:7326: \$? = $ac_status" >&5 | 
|  |  | 7327 | (exit $ac_status); } && | 
|  |  | 7328 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7329 | { (eval echo "$as_me:7329: \"$ac_try\"") >&5 | 
|  |  | 7330 | (eval $ac_try) 2>&5 | 
|  |  | 7331 | ac_status=$? | 
|  |  | 7332 | echo "$as_me:7332: \$? = $ac_status" >&5 | 
|  |  | 7333 | (exit $ac_status); }; }; then | 
|  |  | 7334 | ac_lo=0 ac_mid=0 | 
|  |  | 7335 | while :; do | 
|  |  | 7336 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7337 | #line 7337 "configure" | 
|  |  | 7338 | #include "confdefs.h" | 
|  |  | 7339 | $ac_includes_default | 
|  |  | 7340 | int | 
|  |  | 7341 | main () | 
|  |  | 7342 | { | 
|  |  | 7343 | int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] | 
|  |  | 7344 | ; | 
|  |  | 7345 | return 0; | 
|  |  | 7346 | } | 
|  |  | 7347 | _ACEOF | 
|  |  | 7348 | rm -f conftest.$ac_objext | 
|  |  | 7349 | if { (eval echo "$as_me:7349: \"$ac_compile\"") >&5 | 
|  |  | 7350 | (eval $ac_compile) 2>&5 | 
|  |  | 7351 | ac_status=$? | 
|  |  | 7352 | echo "$as_me:7352: \$? = $ac_status" >&5 | 
|  |  | 7353 | (exit $ac_status); } && | 
|  |  | 7354 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7355 | { (eval echo "$as_me:7355: \"$ac_try\"") >&5 | 
|  |  | 7356 | (eval $ac_try) 2>&5 | 
|  |  | 7357 | ac_status=$? | 
|  |  | 7358 | echo "$as_me:7358: \$? = $ac_status" >&5 | 
|  |  | 7359 | (exit $ac_status); }; }; then | 
|  |  | 7360 | ac_hi=$ac_mid; break | 
|  |  | 7361 | else | 
|  |  | 7362 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7363 | cat conftest.$ac_ext >&5 | 
|  |  | 7364 | ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` | 
|  |  | 7365 | fi | 
|  |  | 7366 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7367 | done | 
|  |  | 7368 | else | 
|  |  | 7369 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7370 | cat conftest.$ac_ext >&5 | 
|  |  | 7371 | ac_hi=-1 ac_mid=-1 | 
|  |  | 7372 | while :; do | 
|  |  | 7373 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7374 | #line 7374 "configure" | 
|  |  | 7375 | #include "confdefs.h" | 
|  |  | 7376 | $ac_includes_default | 
|  |  | 7377 | int | 
|  |  | 7378 | main () | 
|  |  | 7379 | { | 
|  |  | 7380 | int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)] | 
|  |  | 7381 | ; | 
|  |  | 7382 | return 0; | 
|  |  | 7383 | } | 
|  |  | 7384 | _ACEOF | 
|  |  | 7385 | rm -f conftest.$ac_objext | 
|  |  | 7386 | if { (eval echo "$as_me:7386: \"$ac_compile\"") >&5 | 
|  |  | 7387 | (eval $ac_compile) 2>&5 | 
|  |  | 7388 | ac_status=$? | 
|  |  | 7389 | echo "$as_me:7389: \$? = $ac_status" >&5 | 
|  |  | 7390 | (exit $ac_status); } && | 
|  |  | 7391 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7392 | { (eval echo "$as_me:7392: \"$ac_try\"") >&5 | 
|  |  | 7393 | (eval $ac_try) 2>&5 | 
|  |  | 7394 | ac_status=$? | 
|  |  | 7395 | echo "$as_me:7395: \$? = $ac_status" >&5 | 
|  |  | 7396 | (exit $ac_status); }; }; then | 
|  |  | 7397 | ac_lo=$ac_mid; break | 
|  |  | 7398 | else | 
|  |  | 7399 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7400 | cat conftest.$ac_ext >&5 | 
|  |  | 7401 | ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` | 
|  |  | 7402 | fi | 
|  |  | 7403 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7404 | done | 
|  |  | 7405 | fi | 
|  |  | 7406 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7407 | # Binary search between lo and hi bounds. | 
|  |  | 7408 | while test "x$ac_lo" != "x$ac_hi"; do | 
|  |  | 7409 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 
|  |  | 7410 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7411 | #line 7411 "configure" | 
|  |  | 7412 | #include "confdefs.h" | 
|  |  | 7413 | $ac_includes_default | 
|  |  | 7414 | int | 
|  |  | 7415 | main () | 
|  |  | 7416 | { | 
|  |  | 7417 | int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] | 
|  |  | 7418 | ; | 
|  |  | 7419 | return 0; | 
|  |  | 7420 | } | 
|  |  | 7421 | _ACEOF | 
|  |  | 7422 | rm -f conftest.$ac_objext | 
|  |  | 7423 | if { (eval echo "$as_me:7423: \"$ac_compile\"") >&5 | 
|  |  | 7424 | (eval $ac_compile) 2>&5 | 
|  |  | 7425 | ac_status=$? | 
|  |  | 7426 | echo "$as_me:7426: \$? = $ac_status" >&5 | 
|  |  | 7427 | (exit $ac_status); } && | 
|  |  | 7428 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7429 | { (eval echo "$as_me:7429: \"$ac_try\"") >&5 | 
|  |  | 7430 | (eval $ac_try) 2>&5 | 
|  |  | 7431 | ac_status=$? | 
|  |  | 7432 | echo "$as_me:7432: \$? = $ac_status" >&5 | 
|  |  | 7433 | (exit $ac_status); }; }; then | 
|  |  | 7434 | ac_hi=$ac_mid | 
|  |  | 7435 | else | 
|  |  | 7436 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7437 | cat conftest.$ac_ext >&5 | 
|  |  | 7438 | ac_lo=`expr $ac_mid + 1` | 
|  |  | 7439 | fi | 
|  |  | 7440 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7441 | done | 
|  |  | 7442 | ac_cv_sizeof_int=$ac_lo | 
|  |  | 7443 | else | 
|  |  | 7444 | if test "$cross_compiling" = yes; then | 
|  |  | 7445 | { { echo "$as_me:7445: error: cannot run test program while cross compiling" >&5 | 
|  |  | 7446 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 
|  |  | 7447 | { (exit 1); exit 1; }; } | 
|  |  | 7448 | else | 
|  |  | 7449 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7450 | #line 7450 "configure" | 
|  |  | 7451 | #include "confdefs.h" | 
|  |  | 7452 | $ac_includes_default | 
|  |  | 7453 | int | 
|  |  | 7454 | main () | 
|  |  | 7455 | { | 
|  |  | 7456 | FILE *f = fopen ("conftest.val", "w"); | 
|  |  | 7457 | if (!f) | 
|  |  | 7458 | exit (1); | 
|  |  | 7459 | fprintf (f, "%d", (sizeof (int))); | 
|  |  | 7460 | fclose (f); | 
|  |  | 7461 | ; | 
|  |  | 7462 | return 0; | 
|  |  | 7463 | } | 
|  |  | 7464 | _ACEOF | 
|  |  | 7465 | rm -f conftest$ac_exeext | 
|  |  | 7466 | if { (eval echo "$as_me:7466: \"$ac_link\"") >&5 | 
|  |  | 7467 | (eval $ac_link) 2>&5 | 
|  |  | 7468 | ac_status=$? | 
|  |  | 7469 | echo "$as_me:7469: \$? = $ac_status" >&5 | 
|  |  | 7470 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  |  | 7471 | { (eval echo "$as_me:7471: \"$ac_try\"") >&5 | 
|  |  | 7472 | (eval $ac_try) 2>&5 | 
|  |  | 7473 | ac_status=$? | 
|  |  | 7474 | echo "$as_me:7474: \$? = $ac_status" >&5 | 
|  |  | 7475 | (exit $ac_status); }; }; then | 
| 2080 | ac_cv_sizeof_int=`cat conftestval` | 7476 | ac_cv_sizeof_int=`cat conftest.val` | 
| 2081 | else | 7477 | else | 
|  |  | 7478 | echo "$as_me: program exited with status $ac_status" >&5 | 
| 2082 | echo "configure: failed program was:" >&5 | 7479 | echo "$as_me: failed program was:" >&5 | 
| 2083 | cat conftest.$ac_ext >&5 | 7480 | cat conftest.$ac_ext >&5 | 
|  |  | 7481 | fi | 
|  |  | 7482 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext | 
|  |  | 7483 | fi | 
|  |  | 7484 | fi | 
| 2084 | rm -fr conftest* | 7485 | rm -f conftest.val | 
|  |  | 7486 | else | 
| 2085 | ac_cv_sizeof_int=0 | 7487 | ac_cv_sizeof_int=0 | 
| 2086 | fi | 7488 | fi | 
| 2087 | rm -fr conftest* |  |  | 
| 2088 | fi | 7489 | fi | 
| 2089 |  | 7490 | echo "$as_me:7490: result: $ac_cv_sizeof_int" >&5 | 
| 2090 | fi |  |  | 
| 2091 | echo "$ac_t""$ac_cv_sizeof_int" 1>&6 | 7491 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 | 
| 2092 | cat >> confdefs.h <<EOF | 7492 | cat >>confdefs.h <<EOF | 
| 2093 | #define SIZEOF_INT $ac_cv_sizeof_int | 7493 | #define SIZEOF_INT $ac_cv_sizeof_int | 
| 2094 | EOF | 7494 | EOF | 
| 2095 |  | 7495 |  | 
|  |  | 7496 | echo "$as_me:7496: checking for long" >&5 | 
|  |  | 7497 | echo $ECHO_N "checking for long... $ECHO_C" >&6 | 
|  |  | 7498 | if test "${ac_cv_type_long+set}" = set; then | 
|  |  | 7499 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  |  | 7500 | else | 
|  |  | 7501 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7502 | #line 7502 "configure" | 
|  |  | 7503 | #include "confdefs.h" | 
|  |  | 7504 | $ac_includes_default | 
|  |  | 7505 | int | 
|  |  | 7506 | main () | 
|  |  | 7507 | { | 
|  |  | 7508 | if ((long *) 0) | 
|  |  | 7509 | return 0; | 
|  |  | 7510 | if (sizeof (long)) | 
|  |  | 7511 | return 0; | 
|  |  | 7512 | ; | 
|  |  | 7513 | return 0; | 
|  |  | 7514 | } | 
|  |  | 7515 | _ACEOF | 
|  |  | 7516 | rm -f conftest.$ac_objext | 
|  |  | 7517 | if { (eval echo "$as_me:7517: \"$ac_compile\"") >&5 | 
|  |  | 7518 | (eval $ac_compile) 2>&5 | 
|  |  | 7519 | ac_status=$? | 
|  |  | 7520 | echo "$as_me:7520: \$? = $ac_status" >&5 | 
|  |  | 7521 | (exit $ac_status); } && | 
|  |  | 7522 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7523 | { (eval echo "$as_me:7523: \"$ac_try\"") >&5 | 
|  |  | 7524 | (eval $ac_try) 2>&5 | 
|  |  | 7525 | ac_status=$? | 
|  |  | 7526 | echo "$as_me:7526: \$? = $ac_status" >&5 | 
|  |  | 7527 | (exit $ac_status); }; }; then | 
|  |  | 7528 | ac_cv_type_long=yes | 
|  |  | 7529 | else | 
|  |  | 7530 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7531 | cat conftest.$ac_ext >&5 | 
|  |  | 7532 | ac_cv_type_long=no | 
|  |  | 7533 | fi | 
|  |  | 7534 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7535 | fi | 
|  |  | 7536 | echo "$as_me:7536: result: $ac_cv_type_long" >&5 | 
|  |  | 7537 | echo "${ECHO_T}$ac_cv_type_long" >&6 | 
| 2096 |  | 7538 |  | 
|  |  | 7539 | echo "$as_me:7539: checking size of long" >&5 | 
| 2097 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | 7540 | echo $ECHO_N "checking size of long... $ECHO_C" >&6 | 
| 2098 | echo "configure:2099: checking size of long" >&5 |  |  | 
| 2099 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then | 7541 | if test "${ac_cv_sizeof_long+set}" = set; then | 
| 2100 | echo $ac_n "(cached) $ac_c" 1>&6 | 7542 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2101 | else | 7543 | else | 
|  |  | 7544 | if test "$ac_cv_type_long" = yes; then | 
| 2102 | if test "$cross_compiling" = yes; then | 7545 | if test "$cross_compiling" = yes; then | 
| 2103 | ac_cv_sizeof_long=4 | 7546 | # Depending upon the size, compute the lo and hi bounds. | 
| 2104 | else |  |  | 
| 2105 | cat > conftest.$ac_ext <<EOF | 7547 | cat >conftest.$ac_ext <<_ACEOF | 
| 2106 | #line 2107 "configure" | 7548 | #line 7548 "configure" | 
| 2107 | #include "confdefs.h" | 7549 | #include "confdefs.h" | 
| 2108 | #include <stdio.h> | 7550 | $ac_includes_default | 
|  |  | 7551 | int | 
| 2109 | main() | 7552 | main () | 
| 2110 | { | 7553 | { | 
| 2111 | FILE *f=fopen("conftestval", "w"); | 7554 | int _array_ [1 - 2 * !((sizeof (long)) >= 0)] | 
| 2112 | if (!f) exit(1); | 7555 | ; | 
| 2113 | fprintf(f, "%d\n", sizeof(long)); | 7556 | return 0; | 
| 2114 | exit(0); |  |  | 
| 2115 | } | 7557 | } | 
| 2116 | EOF | 7558 | _ACEOF | 
| 2117 | if { (eval echo configure:2118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7559 | rm -f conftest.$ac_objext | 
| 2118 | then | 7560 | if { (eval echo "$as_me:7560: \"$ac_compile\"") >&5 | 
|  |  | 7561 | (eval $ac_compile) 2>&5 | 
|  |  | 7562 | ac_status=$? | 
|  |  | 7563 | echo "$as_me:7563: \$? = $ac_status" >&5 | 
|  |  | 7564 | (exit $ac_status); } && | 
|  |  | 7565 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7566 | { (eval echo "$as_me:7566: \"$ac_try\"") >&5 | 
|  |  | 7567 | (eval $ac_try) 2>&5 | 
|  |  | 7568 | ac_status=$? | 
|  |  | 7569 | echo "$as_me:7569: \$? = $ac_status" >&5 | 
|  |  | 7570 | (exit $ac_status); }; }; then | 
|  |  | 7571 | ac_lo=0 ac_mid=0 | 
|  |  | 7572 | while :; do | 
|  |  | 7573 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7574 | #line 7574 "configure" | 
|  |  | 7575 | #include "confdefs.h" | 
|  |  | 7576 | $ac_includes_default | 
|  |  | 7577 | int | 
|  |  | 7578 | main () | 
|  |  | 7579 | { | 
|  |  | 7580 | int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)] | 
|  |  | 7581 | ; | 
|  |  | 7582 | return 0; | 
|  |  | 7583 | } | 
|  |  | 7584 | _ACEOF | 
|  |  | 7585 | rm -f conftest.$ac_objext | 
|  |  | 7586 | if { (eval echo "$as_me:7586: \"$ac_compile\"") >&5 | 
|  |  | 7587 | (eval $ac_compile) 2>&5 | 
|  |  | 7588 | ac_status=$? | 
|  |  | 7589 | echo "$as_me:7589: \$? = $ac_status" >&5 | 
|  |  | 7590 | (exit $ac_status); } && | 
|  |  | 7591 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7592 | { (eval echo "$as_me:7592: \"$ac_try\"") >&5 | 
|  |  | 7593 | (eval $ac_try) 2>&5 | 
|  |  | 7594 | ac_status=$? | 
|  |  | 7595 | echo "$as_me:7595: \$? = $ac_status" >&5 | 
|  |  | 7596 | (exit $ac_status); }; }; then | 
|  |  | 7597 | ac_hi=$ac_mid; break | 
|  |  | 7598 | else | 
|  |  | 7599 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7600 | cat conftest.$ac_ext >&5 | 
|  |  | 7601 | ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` | 
|  |  | 7602 | fi | 
|  |  | 7603 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7604 | done | 
|  |  | 7605 | else | 
|  |  | 7606 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7607 | cat conftest.$ac_ext >&5 | 
|  |  | 7608 | ac_hi=-1 ac_mid=-1 | 
|  |  | 7609 | while :; do | 
|  |  | 7610 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7611 | #line 7611 "configure" | 
|  |  | 7612 | #include "confdefs.h" | 
|  |  | 7613 | $ac_includes_default | 
|  |  | 7614 | int | 
|  |  | 7615 | main () | 
|  |  | 7616 | { | 
|  |  | 7617 | int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)] | 
|  |  | 7618 | ; | 
|  |  | 7619 | return 0; | 
|  |  | 7620 | } | 
|  |  | 7621 | _ACEOF | 
|  |  | 7622 | rm -f conftest.$ac_objext | 
|  |  | 7623 | if { (eval echo "$as_me:7623: \"$ac_compile\"") >&5 | 
|  |  | 7624 | (eval $ac_compile) 2>&5 | 
|  |  | 7625 | ac_status=$? | 
|  |  | 7626 | echo "$as_me:7626: \$? = $ac_status" >&5 | 
|  |  | 7627 | (exit $ac_status); } && | 
|  |  | 7628 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7629 | { (eval echo "$as_me:7629: \"$ac_try\"") >&5 | 
|  |  | 7630 | (eval $ac_try) 2>&5 | 
|  |  | 7631 | ac_status=$? | 
|  |  | 7632 | echo "$as_me:7632: \$? = $ac_status" >&5 | 
|  |  | 7633 | (exit $ac_status); }; }; then | 
|  |  | 7634 | ac_lo=$ac_mid; break | 
|  |  | 7635 | else | 
|  |  | 7636 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7637 | cat conftest.$ac_ext >&5 | 
|  |  | 7638 | ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` | 
|  |  | 7639 | fi | 
|  |  | 7640 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7641 | done | 
|  |  | 7642 | fi | 
|  |  | 7643 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7644 | # Binary search between lo and hi bounds. | 
|  |  | 7645 | while test "x$ac_lo" != "x$ac_hi"; do | 
|  |  | 7646 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 
|  |  | 7647 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7648 | #line 7648 "configure" | 
|  |  | 7649 | #include "confdefs.h" | 
|  |  | 7650 | $ac_includes_default | 
|  |  | 7651 | int | 
|  |  | 7652 | main () | 
|  |  | 7653 | { | 
|  |  | 7654 | int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)] | 
|  |  | 7655 | ; | 
|  |  | 7656 | return 0; | 
|  |  | 7657 | } | 
|  |  | 7658 | _ACEOF | 
|  |  | 7659 | rm -f conftest.$ac_objext | 
|  |  | 7660 | if { (eval echo "$as_me:7660: \"$ac_compile\"") >&5 | 
|  |  | 7661 | (eval $ac_compile) 2>&5 | 
|  |  | 7662 | ac_status=$? | 
|  |  | 7663 | echo "$as_me:7663: \$? = $ac_status" >&5 | 
|  |  | 7664 | (exit $ac_status); } && | 
|  |  | 7665 | { ac_try='test -s conftest.$ac_objext' | 
|  |  | 7666 | { (eval echo "$as_me:7666: \"$ac_try\"") >&5 | 
|  |  | 7667 | (eval $ac_try) 2>&5 | 
|  |  | 7668 | ac_status=$? | 
|  |  | 7669 | echo "$as_me:7669: \$? = $ac_status" >&5 | 
|  |  | 7670 | (exit $ac_status); }; }; then | 
|  |  | 7671 | ac_hi=$ac_mid | 
|  |  | 7672 | else | 
|  |  | 7673 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7674 | cat conftest.$ac_ext >&5 | 
|  |  | 7675 | ac_lo=`expr $ac_mid + 1` | 
|  |  | 7676 | fi | 
|  |  | 7677 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  |  | 7678 | done | 
|  |  | 7679 | ac_cv_sizeof_long=$ac_lo | 
|  |  | 7680 | else | 
|  |  | 7681 | if test "$cross_compiling" = yes; then | 
|  |  | 7682 | { { echo "$as_me:7682: error: cannot run test program while cross compiling" >&5 | 
|  |  | 7683 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 
|  |  | 7684 | { (exit 1); exit 1; }; } | 
|  |  | 7685 | else | 
|  |  | 7686 | cat >conftest.$ac_ext <<_ACEOF | 
|  |  | 7687 | #line 7687 "configure" | 
|  |  | 7688 | #include "confdefs.h" | 
|  |  | 7689 | $ac_includes_default | 
|  |  | 7690 | int | 
|  |  | 7691 | main () | 
|  |  | 7692 | { | 
|  |  | 7693 | FILE *f = fopen ("conftest.val", "w"); | 
|  |  | 7694 | if (!f) | 
|  |  | 7695 | exit (1); | 
|  |  | 7696 | fprintf (f, "%d", (sizeof (long))); | 
|  |  | 7697 | fclose (f); | 
|  |  | 7698 | ; | 
|  |  | 7699 | return 0; | 
|  |  | 7700 | } | 
|  |  | 7701 | _ACEOF | 
|  |  | 7702 | rm -f conftest$ac_exeext | 
|  |  | 7703 | if { (eval echo "$as_me:7703: \"$ac_link\"") >&5 | 
|  |  | 7704 | (eval $ac_link) 2>&5 | 
|  |  | 7705 | ac_status=$? | 
|  |  | 7706 | echo "$as_me:7706: \$? = $ac_status" >&5 | 
|  |  | 7707 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  |  | 7708 | { (eval echo "$as_me:7708: \"$ac_try\"") >&5 | 
|  |  | 7709 | (eval $ac_try) 2>&5 | 
|  |  | 7710 | ac_status=$? | 
|  |  | 7711 | echo "$as_me:7711: \$? = $ac_status" >&5 | 
|  |  | 7712 | (exit $ac_status); }; }; then | 
| 2119 | ac_cv_sizeof_long=`cat conftestval` | 7713 | ac_cv_sizeof_long=`cat conftest.val` | 
| 2120 | else | 7714 | else | 
|  |  | 7715 | echo "$as_me: program exited with status $ac_status" >&5 | 
| 2121 | echo "configure: failed program was:" >&5 | 7716 | echo "$as_me: failed program was:" >&5 | 
| 2122 | cat conftest.$ac_ext >&5 | 7717 | cat conftest.$ac_ext >&5 | 
|  |  | 7718 | fi | 
|  |  | 7719 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext | 
|  |  | 7720 | fi | 
|  |  | 7721 | fi | 
| 2123 | rm -fr conftest* | 7722 | rm -f conftest.val | 
|  |  | 7723 | else | 
| 2124 | ac_cv_sizeof_long=0 | 7724 | ac_cv_sizeof_long=0 | 
| 2125 | fi | 7725 | fi | 
| 2126 | rm -fr conftest* |  |  | 
| 2127 | fi | 7726 | fi | 
| 2128 |  | 7727 | echo "$as_me:7727: result: $ac_cv_sizeof_long" >&5 | 
| 2129 | fi |  |  | 
| 2130 | echo "$ac_t""$ac_cv_sizeof_long" 1>&6 | 7728 | echo "${ECHO_T}$ac_cv_sizeof_long" >&6 | 
| 2131 | cat >> confdefs.h <<EOF | 7729 | cat >>confdefs.h <<EOF | 
| 2132 | #define SIZEOF_LONG $ac_cv_sizeof_long | 7730 | #define SIZEOF_LONG $ac_cv_sizeof_long | 
| 2133 | EOF | 7731 | EOF | 
| 2134 |  | 7732 |  | 
| 2135 |  | 7733 | echo "$as_me:7733: checking for an 8 bit integer type" >&5 | 
| 2136 |  |  |  | 
| 2137 | echo $ac_n "checking for an 8 bit integer type""... $ac_c" 1>&6 | 7734 | echo $ECHO_N "checking for an 8 bit integer type... $ECHO_C" >&6 | 
| 2138 | echo "configure:2139: checking for an 8 bit integer type" >&5 |  |  | 
| 2139 | if test $ac_cv_sizeof_char -ge 1 ; then | 7735 | if test $ac_cv_sizeof_char -ge 1 ; then | 
| 2140 | INT_8_BIT=char | 7736 | INT_8_BIT=char | 
| 2141 | echo "$ac_t""char" 1>&6 | 7737 | echo "$as_me:7737: result: char" >&5 | 
|  |  | 7738 | echo "${ECHO_T}char" >&6 | 
| 2142 | elif test $ac_cv_sizeof_short -ge 1 ; then | 7739 | elif test $ac_cv_sizeof_short -ge 1 ; then | 
| 2143 | INT_8_BIT=short | 7740 | INT_8_BIT=short | 
| 2144 | echo "$ac_t""short" 1>&6 | 7741 | echo "$as_me:7741: result: short" >&5 | 
|  |  | 7742 | echo "${ECHO_T}short" >&6 | 
| 2145 | elif test $ac_cv_sizeof_int -ge 1 ; then | 7743 | elif test $ac_cv_sizeof_int -ge 1 ; then | 
| 2146 | INT_8_BIT=int | 7744 | INT_8_BIT=int | 
| 2147 | echo "$ac_t""int" 1>&6 | 7745 | echo "$as_me:7745: result: int" >&5 | 
|  |  | 7746 | echo "${ECHO_T}int" >&6 | 
| 2148 | elif test $ac_cv_sizeof_long -ge 1 ; then | 7747 | elif test $ac_cv_sizeof_long -ge 1 ; then | 
| 2149 | INT_8_BIT=long | 7748 | INT_8_BIT=long | 
| 2150 | echo "$ac_t""long" 1>&6 | 7749 | echo "$as_me:7749: result: long" >&5 | 
|  |  | 7750 | echo "${ECHO_T}long" >&6 | 
| 2151 | else | 7751 | else | 
|  |  | 7752 | { { echo "$as_me:7752: error: No integer type of at least 8 bits found" >&5 | 
| 2152 | { echo "configure: error: No integer type of at least 8 bits found" 1>&2; exit 1; } | 7753 | echo "$as_me: error: No integer type of at least 8 bits found" >&2;} | 
|  |  | 7754 | { (exit 1); exit 1; }; } | 
| 2153 | fi | 7755 | fi | 
| 2154 |  | 7756 |  | 
| 2155 | echo $ac_n "checking for a 16 bit integer type""... $ac_c" 1>&6 |  |  | 
| 2156 | echo "configure:2157: checking for a 16 bit integer type" >&5 | 7757 | echo "$as_me:7757: checking for a 16 bit integer type" >&5 | 
|  |  | 7758 | echo $ECHO_N "checking for a 16 bit integer type... $ECHO_C" >&6 | 
| 2157 | if test $ac_cv_sizeof_char -ge 2 ; then | 7759 | if test $ac_cv_sizeof_char -ge 2 ; then | 
| 2158 | INT_16_BIT=char | 7760 | INT_16_BIT=char | 
| 2159 | echo "$ac_t""char" 1>&6 | 7761 | echo "$as_me:7761: result: char" >&5 | 
|  |  | 7762 | echo "${ECHO_T}char" >&6 | 
| 2160 | elif test $ac_cv_sizeof_short -ge 2 ; then | 7763 | elif test $ac_cv_sizeof_short -ge 2 ; then | 
| 2161 | INT_16_BIT=short | 7764 | INT_16_BIT=short | 
| 2162 | echo "$ac_t""short" 1>&6 | 7765 | echo "$as_me:7765: result: short" >&5 | 
|  |  | 7766 | echo "${ECHO_T}short" >&6 | 
| 2163 | elif test $ac_cv_sizeof_int -ge 2 ; then | 7767 | elif test $ac_cv_sizeof_int -ge 2 ; then | 
| 2164 | INT_16_BIT=int | 7768 | INT_16_BIT=int | 
| 2165 | echo "$ac_t""int" 1>&6 | 7769 | echo "$as_me:7769: result: int" >&5 | 
|  |  | 7770 | echo "${ECHO_T}int" >&6 | 
| 2166 | elif test $ac_cv_sizeof_long -ge 2 ; then | 7771 | elif test $ac_cv_sizeof_long -ge 2 ; then | 
| 2167 | INT_16_BIT=long | 7772 | INT_16_BIT=long | 
| 2168 | echo "$ac_t""long" 1>&6 | 7773 | echo "$as_me:7773: result: long" >&5 | 
|  |  | 7774 | echo "${ECHO_T}long" >&6 | 
| 2169 | else | 7775 | else | 
|  |  | 7776 | { { echo "$as_me:7776: error: No integer type of at least 16 bits found" >&5 | 
| 2170 | { echo "configure: error: No integer type of at least 16 bits found" 1>&2; exit 1; } | 7777 | echo "$as_me: error: No integer type of at least 16 bits found" >&2;} | 
|  |  | 7778 | { (exit 1); exit 1; }; } | 
| 2171 | fi | 7779 | fi | 
| 2172 |  | 7780 |  | 
|  |  | 7781 | echo "$as_me:7781: checking for a 32 bit integer type" >&5 | 
| 2173 | echo $ac_n "checking for a 32 bit integer type""... $ac_c" 1>&6 | 7782 | echo $ECHO_N "checking for a 32 bit integer type... $ECHO_C" >&6 | 
| 2174 | echo "configure:2175: checking for a 32 bit integer type" >&5 |  |  | 
| 2175 | if test $ac_cv_sizeof_char -ge 4 ; then | 7783 | if test $ac_cv_sizeof_char -ge 4 ; then | 
| 2176 | INT_32_BIT=char | 7784 | INT_32_BIT=char | 
| 2177 | echo "$ac_t""char" 1>&6 | 7785 | echo "$as_me:7785: result: char" >&5 | 
|  |  | 7786 | echo "${ECHO_T}char" >&6 | 
| 2178 | elif test $ac_cv_sizeof_short -ge 4 ; then | 7787 | elif test $ac_cv_sizeof_short -ge 4 ; then | 
| 2179 | INT_32_BIT=short | 7788 | INT_32_BIT=short | 
| 2180 | echo "$ac_t""short" 1>&6 | 7789 | echo "$as_me:7789: result: short" >&5 | 
|  |  | 7790 | echo "${ECHO_T}short" >&6 | 
| 2181 | elif test $ac_cv_sizeof_int -ge 4 ; then | 7791 | elif test $ac_cv_sizeof_int -ge 4 ; then | 
| 2182 | INT_32_BIT=int | 7792 | INT_32_BIT=int | 
| 2183 | echo "$ac_t""int" 1>&6 | 7793 | echo "$as_me:7793: result: int" >&5 | 
|  |  | 7794 | echo "${ECHO_T}int" >&6 | 
| 2184 | elif test $ac_cv_sizeof_long -ge 4 ; then | 7795 | elif test $ac_cv_sizeof_long -ge 4 ; then | 
| 2185 | INT_32_BIT=long | 7796 | INT_32_BIT=long | 
| 2186 | echo "$ac_t""long" 1>&6 | 7797 | echo "$as_me:7797: result: long" >&5 | 
|  |  | 7798 | echo "${ECHO_T}long" >&6 | 
| 2187 | else | 7799 | else | 
|  |  | 7800 | { { echo "$as_me:7800: error: No integer type of at least 32 bits found" >&5 | 
| 2188 | { echo "configure: error: No integer type of at least 32 bits found" 1>&2; exit 1; } | 7801 | echo "$as_me: error: No integer type of at least 32 bits found" >&2;} | 
|  |  | 7802 | { (exit 1); exit 1; }; } | 
| 2189 | fi | 7803 | fi | 
| 2190 |  | 7804 |  | 
| 2191 |  | 7805 | for ac_func in vprintf | 
| 2192 |  | 7806 | do | 
| 2193 |  | 7807 | ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` | 
| 2194 |  | 7808 | echo "$as_me:7808: checking for $ac_func" >&5 | 
| 2195 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | 7809 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
| 2196 | echo "configure:2197: checking for vprintf" >&5 |  |  | 
| 2197 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then | 7810 | if eval "test \"\${$ac_ac_var+set}\" = set"; then | 
| 2198 | echo $ac_n "(cached) $ac_c" 1>&6 | 7811 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2199 | else | 7812 | else | 
| 2200 | cat > conftest.$ac_ext <<EOF | 7813 | cat >conftest.$ac_ext <<_ACEOF | 
| 2201 | #line 2202 "configure" | 7814 | #line 7814 "configure" | 
| 2202 | #include "confdefs.h" | 7815 | #include "confdefs.h" | 
| 2203 | /* System header to define __stub macros and hopefully few prototypes, | 7816 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2204 | which can conflict with char vprintf(); below.  */ | 7817 | which can conflict with char $ac_func (); below.  */ | 
| 2205 | #include <assert.h> | 7818 | #include <assert.h> | 
| 2206 | /* Override any gcc2 internal prototype to avoid an error.  */ | 7819 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  |  | 7820 | #ifdef __cplusplus | 
|  |  | 7821 | extern "C" | 
|  |  | 7822 | #endif | 
| 2207 | /* We use char because int might match the return type of a gcc2 | 7823 | /* We use char because int might match the return type of a gcc2 | 
| 2208 | builtin and then its argument prototype would still apply.  */ | 7824 | builtin and then its argument prototype would still apply.  */ | 
| 2209 | char vprintf(); | 7825 | char $ac_func (); | 
|  |  | 7826 | char (*f) (); | 
| 2210 |  | 7827 |  | 
| 2211 | int main() { | 7828 | int | 
| 2212 |  | 7829 | main () | 
|  |  | 7830 | { | 
| 2213 | /* The GNU C library defines this for functions which it implements | 7831 | /* The GNU C library defines this for functions which it implements | 
| 2214 | to always fail with ENOSYS.  Some functions are actually named | 7832 | to always fail with ENOSYS.  Some functions are actually named | 
| 2215 | something starting with __ and the normal name is an alias.  */ | 7833 | something starting with __ and the normal name is an alias.  */ | 
| 2216 | #if defined (__stub_vprintf) || defined (__stub___vprintf) | 7834 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
| 2217 | choke me | 7835 | choke me | 
| 2218 | #else | 7836 | #else | 
| 2219 | vprintf(); | 7837 | f = $ac_func; | 
| 2220 | #endif | 7838 | #endif | 
| 2221 |  | 7839 |  | 
|  |  | 7840 | ; | 
| 2222 | ; return 0; } | 7841 | return 0; | 
|  |  | 7842 | } | 
|  |  | 7843 | _ACEOF | 
|  |  | 7844 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  |  | 7845 | if { (eval echo "$as_me:7845: \"$ac_link\"") >&5 | 
|  |  | 7846 | (eval $ac_link) 2>&5 | 
|  |  | 7847 | ac_status=$? | 
|  |  | 7848 | echo "$as_me:7848: \$? = $ac_status" >&5 | 
|  |  | 7849 | (exit $ac_status); } && | 
|  |  | 7850 | { ac_try='test -s conftest$ac_exeext' | 
|  |  | 7851 | { (eval echo "$as_me:7851: \"$ac_try\"") >&5 | 
|  |  | 7852 | (eval $ac_try) 2>&5 | 
|  |  | 7853 | ac_status=$? | 
|  |  | 7854 | echo "$as_me:7854: \$? = $ac_status" >&5 | 
|  |  | 7855 | (exit $ac_status); }; }; then | 
|  |  | 7856 | eval "$ac_ac_var=yes" | 
|  |  | 7857 | else | 
|  |  | 7858 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7859 | cat conftest.$ac_ext >&5 | 
|  |  | 7860 | eval "$ac_ac_var=no" | 
|  |  | 7861 | fi | 
|  |  | 7862 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  |  | 7863 | fi | 
|  |  | 7864 | echo "$as_me:7864: result: `eval echo '${'$ac_ac_var'}'`" >&5 | 
|  |  | 7865 | echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 | 
|  |  | 7866 | if test `eval echo '${'$ac_ac_var'}'` = yes; then | 
|  |  | 7867 | cat >>confdefs.h <<EOF | 
|  |  | 7868 | #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 | 
| 2223 | EOF | 7869 | EOF | 
| 2224 | if { (eval echo configure:2225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |  |  | 
| 2225 | rm -rf conftest* |  |  | 
| 2226 | eval "ac_cv_func_vprintf=yes" |  |  | 
| 2227 | else |  |  | 
| 2228 | echo "configure: failed program was:" >&5 |  |  | 
| 2229 | cat conftest.$ac_ext >&5 |  |  | 
| 2230 | rm -rf conftest* |  |  | 
| 2231 | eval "ac_cv_func_vprintf=no" |  |  | 
| 2232 | fi |  |  | 
| 2233 | rm -f conftest* |  |  | 
| 2234 | fi |  |  | 
| 2235 |  | 7870 |  | 
| 2236 | if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then | 7871 | echo "$as_me:7871: checking for _doprnt" >&5 | 
| 2237 | echo "$ac_t""yes" 1>&6 |  |  | 
| 2238 | cat >> confdefs.h <<\EOF |  |  | 
| 2239 | #define HAVE_VPRINTF 1 |  |  | 
| 2240 | EOF |  |  | 
| 2241 |  |  |  | 
| 2242 | else |  |  | 
| 2243 | echo "$ac_t""no" 1>&6 |  |  | 
| 2244 | fi |  |  | 
| 2245 |  |  |  | 
| 2246 | if test "$ac_cv_func_vprintf" != yes; then |  |  | 
| 2247 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | 7872 | echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 | 
| 2248 | echo "configure:2249: checking for _doprnt" >&5 |  |  | 
| 2249 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then | 7873 | if test "${ac_cv_func__doprnt+set}" = set; then | 
| 2250 | echo $ac_n "(cached) $ac_c" 1>&6 | 7874 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2251 | else | 7875 | else | 
| 2252 | cat > conftest.$ac_ext <<EOF | 7876 | cat >conftest.$ac_ext <<_ACEOF | 
| 2253 | #line 2254 "configure" | 7877 | #line 7877 "configure" | 
| 2254 | #include "confdefs.h" | 7878 | #include "confdefs.h" | 
| 2255 | /* System header to define __stub macros and hopefully few prototypes, | 7879 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2256 | which can conflict with char _doprnt(); below.  */ | 7880 | which can conflict with char _doprnt (); below.  */ | 
| 2257 | #include <assert.h> | 7881 | #include <assert.h> | 
| 2258 | /* Override any gcc2 internal prototype to avoid an error.  */ | 7882 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  |  | 7883 | #ifdef __cplusplus | 
|  |  | 7884 | extern "C" | 
|  |  | 7885 | #endif | 
| 2259 | /* We use char because int might match the return type of a gcc2 | 7886 | /* We use char because int might match the return type of a gcc2 | 
| 2260 | builtin and then its argument prototype would still apply.  */ | 7887 | builtin and then its argument prototype would still apply.  */ | 
| 2261 | char _doprnt(); | 7888 | char _doprnt (); | 
|  |  | 7889 | char (*f) (); | 
| 2262 |  | 7890 |  | 
| 2263 | int main() { | 7891 | int | 
| 2264 |  | 7892 | main () | 
|  |  | 7893 | { | 
| 2265 | /* The GNU C library defines this for functions which it implements | 7894 | /* The GNU C library defines this for functions which it implements | 
| 2266 | to always fail with ENOSYS.  Some functions are actually named | 7895 | to always fail with ENOSYS.  Some functions are actually named | 
| 2267 | something starting with __ and the normal name is an alias.  */ | 7896 | something starting with __ and the normal name is an alias.  */ | 
| 2268 | #if defined (__stub__doprnt) || defined (__stub____doprnt) | 7897 | #if defined (__stub__doprnt) || defined (__stub____doprnt) | 
| 2269 | choke me | 7898 | choke me | 
| 2270 | #else | 7899 | #else | 
| 2271 | _doprnt(); | 7900 | f = _doprnt; | 
| 2272 | #endif | 7901 | #endif | 
| 2273 |  | 7902 |  | 
|  |  | 7903 | ; | 
| 2274 | ; return 0; } | 7904 | return 0; | 
| 2275 | EOF | 7905 | } | 
| 2276 | if { (eval echo configure:2277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7906 | _ACEOF | 
| 2277 | rm -rf conftest* | 7907 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  |  | 7908 | if { (eval echo "$as_me:7908: \"$ac_link\"") >&5 | 
|  |  | 7909 | (eval $ac_link) 2>&5 | 
|  |  | 7910 | ac_status=$? | 
|  |  | 7911 | echo "$as_me:7911: \$? = $ac_status" >&5 | 
|  |  | 7912 | (exit $ac_status); } && | 
|  |  | 7913 | { ac_try='test -s conftest$ac_exeext' | 
|  |  | 7914 | { (eval echo "$as_me:7914: \"$ac_try\"") >&5 | 
|  |  | 7915 | (eval $ac_try) 2>&5 | 
|  |  | 7916 | ac_status=$? | 
|  |  | 7917 | echo "$as_me:7917: \$? = $ac_status" >&5 | 
|  |  | 7918 | (exit $ac_status); }; }; then | 
| 2278 | eval "ac_cv_func__doprnt=yes" | 7919 | ac_cv_func__doprnt=yes | 
| 2279 | else | 7920 | else | 
| 2280 | echo "configure: failed program was:" >&5 | 7921 | echo "$as_me: failed program was:" >&5 | 
| 2281 | cat conftest.$ac_ext >&5 | 7922 | cat conftest.$ac_ext >&5 | 
| 2282 | rm -rf conftest* |  |  | 
| 2283 | eval "ac_cv_func__doprnt=no" | 7923 | ac_cv_func__doprnt=no | 
| 2284 | fi | 7924 | fi | 
| 2285 | rm -f conftest* | 7925 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 2286 | fi | 7926 | fi | 
| 2287 |  | 7927 | echo "$as_me:7927: result: $ac_cv_func__doprnt" >&5 | 
|  |  | 7928 | echo "${ECHO_T}$ac_cv_func__doprnt" >&6 | 
| 2288 | if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then | 7929 | if test $ac_cv_func__doprnt = yes; then | 
| 2289 | echo "$ac_t""yes" 1>&6 | 7930 |  | 
| 2290 | cat >> confdefs.h <<\EOF | 7931 | cat >>confdefs.h <<\EOF | 
| 2291 | #define HAVE_DOPRNT 1 | 7932 | #define HAVE_DOPRNT 1 | 
| 2292 | EOF | 7933 | EOF | 
| 2293 |  | 7934 |  | 
| 2294 | else |  |  | 
| 2295 | echo "$ac_t""no" 1>&6 |  |  | 
| 2296 | fi | 7935 | fi | 
| 2297 |  | 7936 |  | 
| 2298 | fi | 7937 | fi | 
|  |  | 7938 | done | 
| 2299 |  | 7939 |  | 
| 2300 | for ac_func in strdup | 7940 | for ac_func in strdup | 
| 2301 | do | 7941 | do | 
|  |  | 7942 | ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` | 
|  |  | 7943 | echo "$as_me:7943: checking for $ac_func" >&5 | 
| 2302 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7944 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
| 2303 | echo "configure:2304: checking for $ac_func" >&5 | 7945 | if eval "test \"\${$ac_ac_var+set}\" = set"; then | 
| 2304 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |  |  | 
| 2305 | echo $ac_n "(cached) $ac_c" 1>&6 | 7946 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2306 | else | 7947 | else | 
| 2307 | cat > conftest.$ac_ext <<EOF | 7948 | cat >conftest.$ac_ext <<_ACEOF | 
| 2308 | #line 2309 "configure" | 7949 | #line 7949 "configure" | 
| 2309 | #include "confdefs.h" | 7950 | #include "confdefs.h" | 
| 2310 | /* System header to define __stub macros and hopefully few prototypes, | 7951 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2311 | which can conflict with char $ac_func(); below.  */ | 7952 | which can conflict with char $ac_func (); below.  */ | 
| 2312 | #include <assert.h> | 7953 | #include <assert.h> | 
| 2313 | /* Override any gcc2 internal prototype to avoid an error.  */ | 7954 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  |  | 7955 | #ifdef __cplusplus | 
|  |  | 7956 | extern "C" | 
|  |  | 7957 | #endif | 
| 2314 | /* We use char because int might match the return type of a gcc2 | 7958 | /* We use char because int might match the return type of a gcc2 | 
| 2315 | builtin and then its argument prototype would still apply.  */ | 7959 | builtin and then its argument prototype would still apply.  */ | 
| 2316 | char $ac_func(); | 7960 | char $ac_func (); | 
|  |  | 7961 | char (*f) (); | 
| 2317 |  | 7962 |  | 
| 2318 | int main() { | 7963 | int | 
| 2319 |  | 7964 | main () | 
|  |  | 7965 | { | 
| 2320 | /* The GNU C library defines this for functions which it implements | 7966 | /* The GNU C library defines this for functions which it implements | 
| 2321 | to always fail with ENOSYS.  Some functions are actually named | 7967 | to always fail with ENOSYS.  Some functions are actually named | 
| 2322 | something starting with __ and the normal name is an alias.  */ | 7968 | something starting with __ and the normal name is an alias.  */ | 
| 2323 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 7969 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
| 2324 | choke me | 7970 | choke me | 
| 2325 | #else | 7971 | #else | 
| 2326 | $ac_func(); | 7972 | f = $ac_func; | 
| 2327 | #endif | 7973 | #endif | 
| 2328 |  | 7974 |  | 
|  |  | 7975 | ; | 
| 2329 | ; return 0; } | 7976 | return 0; | 
|  |  | 7977 | } | 
|  |  | 7978 | _ACEOF | 
|  |  | 7979 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  |  | 7980 | if { (eval echo "$as_me:7980: \"$ac_link\"") >&5 | 
|  |  | 7981 | (eval $ac_link) 2>&5 | 
|  |  | 7982 | ac_status=$? | 
|  |  | 7983 | echo "$as_me:7983: \$? = $ac_status" >&5 | 
|  |  | 7984 | (exit $ac_status); } && | 
|  |  | 7985 | { ac_try='test -s conftest$ac_exeext' | 
|  |  | 7986 | { (eval echo "$as_me:7986: \"$ac_try\"") >&5 | 
|  |  | 7987 | (eval $ac_try) 2>&5 | 
|  |  | 7988 | ac_status=$? | 
|  |  | 7989 | echo "$as_me:7989: \$? = $ac_status" >&5 | 
|  |  | 7990 | (exit $ac_status); }; }; then | 
|  |  | 7991 | eval "$ac_ac_var=yes" | 
|  |  | 7992 | else | 
|  |  | 7993 | echo "$as_me: failed program was:" >&5 | 
|  |  | 7994 | cat conftest.$ac_ext >&5 | 
|  |  | 7995 | eval "$ac_ac_var=no" | 
|  |  | 7996 | fi | 
|  |  | 7997 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  |  | 7998 | fi | 
|  |  | 7999 | echo "$as_me:7999: result: `eval echo '${'$ac_ac_var'}'`" >&5 | 
|  |  | 8000 | echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 | 
|  |  | 8001 | if test `eval echo '${'$ac_ac_var'}'` = yes; then | 
|  |  | 8002 | cat >>confdefs.h <<EOF | 
|  |  | 8003 | #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 | 
| 2330 | EOF | 8004 | EOF | 
| 2331 | if { (eval echo configure:2332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |  |  | 
| 2332 | rm -rf conftest* |  |  | 
| 2333 | eval "ac_cv_func_$ac_func=yes" |  |  | 
| 2334 | else |  |  | 
| 2335 | echo "configure: failed program was:" >&5 |  |  | 
| 2336 | cat conftest.$ac_ext >&5 |  |  | 
| 2337 | rm -rf conftest* |  |  | 
| 2338 | eval "ac_cv_func_$ac_func=no" |  |  | 
| 2339 | fi |  |  | 
| 2340 | rm -f conftest* |  |  | 
| 2341 | fi |  |  | 
| 2342 |  | 8005 |  | 
| 2343 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |  |  | 
| 2344 | echo "$ac_t""yes" 1>&6 |  |  | 
| 2345 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |  |  | 
| 2346 | cat >> confdefs.h <<EOF |  |  | 
| 2347 | #define $ac_tr_func 1 |  |  | 
| 2348 | EOF |  |  | 
| 2349 |  |  |  | 
| 2350 | else | 8006 | else | 
| 2351 | echo "$ac_t""no" 1>&6 |  |  | 
| 2352 | LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}" | 8007 | LIBOBJS="$LIBOBJS $ac_func.$ac_objext" | 
| 2353 | fi | 8008 | fi | 
| 2354 | done | 8009 | done | 
| 2355 |  |  |  | 
| 2356 |  | 8010 |  | 
| 2357 | for ac_func in getopt_long | 8011 | for ac_func in getopt_long | 
| 2358 | do | 8012 | do | 
|  |  | 8013 | ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` | 
|  |  | 8014 | echo "$as_me:8014: checking for $ac_func" >&5 | 
| 2359 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8015 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
| 2360 | echo "configure:2361: checking for $ac_func" >&5 | 8016 | if eval "test \"\${$ac_ac_var+set}\" = set"; then | 
| 2361 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |  |  | 
| 2362 | echo $ac_n "(cached) $ac_c" 1>&6 | 8017 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2363 | else | 8018 | else | 
| 2364 | cat > conftest.$ac_ext <<EOF | 8019 | cat >conftest.$ac_ext <<_ACEOF | 
| 2365 | #line 2366 "configure" | 8020 | #line 8020 "configure" | 
| 2366 | #include "confdefs.h" | 8021 | #include "confdefs.h" | 
| 2367 | /* System header to define __stub macros and hopefully few prototypes, | 8022 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2368 | which can conflict with char $ac_func(); below.  */ | 8023 | which can conflict with char $ac_func (); below.  */ | 
| 2369 | #include <assert.h> | 8024 | #include <assert.h> | 
| 2370 | /* Override any gcc2 internal prototype to avoid an error.  */ | 8025 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  |  | 8026 | #ifdef __cplusplus | 
|  |  | 8027 | extern "C" | 
|  |  | 8028 | #endif | 
| 2371 | /* We use char because int might match the return type of a gcc2 | 8029 | /* We use char because int might match the return type of a gcc2 | 
| 2372 | builtin and then its argument prototype would still apply.  */ | 8030 | builtin and then its argument prototype would still apply.  */ | 
| 2373 | char $ac_func(); | 8031 | char $ac_func (); | 
|  |  | 8032 | char (*f) (); | 
| 2374 |  | 8033 |  | 
| 2375 | int main() { | 8034 | int | 
| 2376 |  | 8035 | main () | 
|  |  | 8036 | { | 
| 2377 | /* The GNU C library defines this for functions which it implements | 8037 | /* The GNU C library defines this for functions which it implements | 
| 2378 | to always fail with ENOSYS.  Some functions are actually named | 8038 | to always fail with ENOSYS.  Some functions are actually named | 
| 2379 | something starting with __ and the normal name is an alias.  */ | 8039 | something starting with __ and the normal name is an alias.  */ | 
| 2380 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 8040 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
| 2381 | choke me | 8041 | choke me | 
| 2382 | #else | 8042 | #else | 
| 2383 | $ac_func(); | 8043 | f = $ac_func; | 
| 2384 | #endif | 8044 | #endif | 
| 2385 |  | 8045 |  | 
|  |  | 8046 | ; | 
| 2386 | ; return 0; } | 8047 | return 0; | 
|  |  | 8048 | } | 
|  |  | 8049 | _ACEOF | 
|  |  | 8050 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  |  | 8051 | if { (eval echo "$as_me:8051: \"$ac_link\"") >&5 | 
|  |  | 8052 | (eval $ac_link) 2>&5 | 
|  |  | 8053 | ac_status=$? | 
|  |  | 8054 | echo "$as_me:8054: \$? = $ac_status" >&5 | 
|  |  | 8055 | (exit $ac_status); } && | 
|  |  | 8056 | { ac_try='test -s conftest$ac_exeext' | 
|  |  | 8057 | { (eval echo "$as_me:8057: \"$ac_try\"") >&5 | 
|  |  | 8058 | (eval $ac_try) 2>&5 | 
|  |  | 8059 | ac_status=$? | 
|  |  | 8060 | echo "$as_me:8060: \$? = $ac_status" >&5 | 
|  |  | 8061 | (exit $ac_status); }; }; then | 
|  |  | 8062 | eval "$ac_ac_var=yes" | 
|  |  | 8063 | else | 
|  |  | 8064 | echo "$as_me: failed program was:" >&5 | 
|  |  | 8065 | cat conftest.$ac_ext >&5 | 
|  |  | 8066 | eval "$ac_ac_var=no" | 
|  |  | 8067 | fi | 
|  |  | 8068 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  |  | 8069 | fi | 
|  |  | 8070 | echo "$as_me:8070: result: `eval echo '${'$ac_ac_var'}'`" >&5 | 
|  |  | 8071 | echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 | 
|  |  | 8072 | if test `eval echo '${'$ac_ac_var'}'` = yes; then | 
|  |  | 8073 | cat >>confdefs.h <<EOF | 
|  |  | 8074 | #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 | 
| 2387 | EOF | 8075 | EOF | 
| 2388 | if { (eval echo configure:2389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |  |  | 
| 2389 | rm -rf conftest* |  |  | 
| 2390 | eval "ac_cv_func_$ac_func=yes" |  |  | 
| 2391 | else |  |  | 
| 2392 | echo "configure: failed program was:" >&5 |  |  | 
| 2393 | cat conftest.$ac_ext >&5 |  |  | 
| 2394 | rm -rf conftest* |  |  | 
| 2395 | eval "ac_cv_func_$ac_func=no" |  |  | 
| 2396 | fi |  |  | 
| 2397 | rm -f conftest* |  |  | 
| 2398 | fi |  |  | 
| 2399 |  | 8076 |  | 
| 2400 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |  |  | 
| 2401 | echo "$ac_t""yes" 1>&6 |  |  | 
| 2402 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |  |  | 
| 2403 | cat >> confdefs.h <<EOF |  |  | 
| 2404 | #define $ac_tr_func 1 |  |  | 
| 2405 | EOF |  |  | 
| 2406 |  |  |  | 
| 2407 | else | 8077 | else | 
| 2408 | echo "$ac_t""no" 1>&6 |  |  | 
| 2409 | LIBOBJS="$LIBOBJS getopt.lo getopt1.lo" | 8078 | LIBOBJS="$LIBOBJS getopt.lo getopt1.lo" | 
| 2410 | fi | 8079 | fi | 
| 2411 | done | 8080 | done | 
| 2412 |  |  |  | 
| 2413 |  |  |  | 
| 2414 |  | 8081 |  | 
| 2415 | # Check whether --enable-html-docs or --disable-html-docs was given. | 8082 | # Check whether --enable-html-docs or --disable-html-docs was given. | 
| 2416 | if test "${enable_html_docs+set}" = set; then | 8083 | if test "${enable_html_docs+set}" = set; then | 
| 2417 | enableval="$enable_html_docs" | 8084 | enableval="$enable_html_docs" | 
| 2418 | case "${enableval}" in | 8085 | case "${enableval}" in | 
| 2419 | yes) htmldocs=true ;; | 8086 | yes) htmldocs=true ;; | 
| 2420 | no)  htmldocs=false ;; | 8087 | no)  htmldocs=false ;; | 
|  |  | 8088 | *)  { { echo "$as_me:8088: error: bad value ${enableval} for --enable-html-docs" >&5 | 
| 2421 | *)  { echo "configure: error: bad value ${enableval} for --enable-html-docs" 1>&2; exit 1; } ;; | 8089 | echo "$as_me: error: bad value ${enableval} for --enable-html-docs" >&2;} | 
|  |  | 8090 | { (exit 1); exit 1; }; } ;; | 
| 2422 | esac | 8091 | esac | 
| 2423 | else | 8092 | else | 
| 2424 | htmldocs=true | 8093 | htmldocs=true | 
| 2425 | fi | 8094 | fi; | 
| 2426 |  |  |  | 
| 2427 |  |  |  | 
| 2428 |  | 8095 |  | 
| 2429 | if test x$htmldocs = xtrue; then | 8096 | if test x$htmldocs = xtrue; then | 
| 2430 | HTMLDOCS_TRUE= | 8097 | HTMLDOCS_TRUE= | 
| 2431 | HTMLDOCS_FALSE='#' | 8098 | HTMLDOCS_FALSE='#' | 
| 2432 | else | 8099 | else | 
| … |  | … |  | 
| 2438 | if test "${enable_html4_docs+set}" = set; then | 8105 | if test "${enable_html4_docs+set}" = set; then | 
| 2439 | enableval="$enable_html4_docs" | 8106 | enableval="$enable_html4_docs" | 
| 2440 | case "${enableval}" in | 8107 | case "${enableval}" in | 
| 2441 | yes) html4docs=true ;; | 8108 | yes) html4docs=true ;; | 
| 2442 | no)  html4docs=false ;; | 8109 | no)  html4docs=false ;; | 
|  |  | 8110 | *)  { { echo "$as_me:8110: error: bad value ${enableval} for --enable-html4-docs" >&5 | 
| 2443 | *)  { echo "configure: error: bad value ${enableval} for --enable-html4-docs" 1>&2; exit 1; } ;; | 8111 | echo "$as_me: error: bad value ${enableval} for --enable-html4-docs" >&2;} | 
|  |  | 8112 | { (exit 1); exit 1; }; } ;; | 
| 2444 | esac | 8113 | esac | 
| 2445 | else | 8114 | else | 
| 2446 | html4docs=false | 8115 | html4docs=false | 
| 2447 | fi | 8116 | fi; | 
| 2448 |  |  |  | 
| 2449 |  |  |  | 
| 2450 |  | 8117 |  | 
| 2451 | if test x$html4docs = xtrue; then | 8118 | if test x$html4docs = xtrue; then | 
| 2452 | HTML4DOCS_TRUE= | 8119 | HTML4DOCS_TRUE= | 
| 2453 | HTML4DOCS_FALSE='#' | 8120 | HTML4DOCS_FALSE='#' | 
| 2454 | else | 8121 | else | 
| … |  | … |  | 
| 2460 | if test "${enable_ascii_docs+set}" = set; then | 8127 | if test "${enable_ascii_docs+set}" = set; then | 
| 2461 | enableval="$enable_ascii_docs" | 8128 | enableval="$enable_ascii_docs" | 
| 2462 | case "${enableval}" in | 8129 | case "${enableval}" in | 
| 2463 | yes) asciidocs=true ;; | 8130 | yes) asciidocs=true ;; | 
| 2464 | no)  asciidocs=false ;; | 8131 | no)  asciidocs=false ;; | 
|  |  | 8132 | *)  { { echo "$as_me:8132: error: bad value ${enableval} for --enable-ascii-docs" >&5 | 
| 2465 | *)  { echo "configure: error: bad value ${enableval} for --enable-ascii-docs" 1>&2; exit 1; } ;; | 8133 | echo "$as_me: error: bad value ${enableval} for --enable-ascii-docs" >&2;} | 
|  |  | 8134 | { (exit 1); exit 1; }; } ;; | 
| 2466 | esac | 8135 | esac | 
| 2467 | else | 8136 | else | 
| 2468 | asciidocs=false | 8137 | asciidocs=false | 
| 2469 | fi | 8138 | fi; | 
| 2470 |  |  |  | 
| 2471 |  |  |  | 
| 2472 |  | 8139 |  | 
| 2473 | if test x$asciidocs = xtrue; then | 8140 | if test x$asciidocs = xtrue; then | 
| 2474 | ASCIIDOCS_TRUE= | 8141 | ASCIIDOCS_TRUE= | 
| 2475 | ASCIIDOCS_FALSE='#' | 8142 | ASCIIDOCS_FALSE='#' | 
| 2476 | else | 8143 | else | 
| … |  | … |  | 
| 2482 | if test "${enable_rtf_docs+set}" = set; then | 8149 | if test "${enable_rtf_docs+set}" = set; then | 
| 2483 | enableval="$enable_rtf_docs" | 8150 | enableval="$enable_rtf_docs" | 
| 2484 | case "${enableval}" in | 8151 | case "${enableval}" in | 
| 2485 | yes) rtfdocs=true ;; | 8152 | yes) rtfdocs=true ;; | 
| 2486 | no)  rtfdocs=false ;; | 8153 | no)  rtfdocs=false ;; | 
|  |  | 8154 | *)  { { echo "$as_me:8154: error: bad value ${enableval} for --enable-rtf-docs" >&5 | 
| 2487 | *)  { echo "configure: error: bad value ${enableval} for --enable-rtf-docs" 1>&2; exit 1; } ;; | 8155 | echo "$as_me: error: bad value ${enableval} for --enable-rtf-docs" >&2;} | 
|  |  | 8156 | { (exit 1); exit 1; }; } ;; | 
| 2488 | esac | 8157 | esac | 
| 2489 | else | 8158 | else | 
| 2490 | rtfdocs=false | 8159 | rtfdocs=false | 
| 2491 | fi | 8160 | fi; | 
| 2492 |  |  |  | 
| 2493 |  |  |  | 
| 2494 |  | 8161 |  | 
| 2495 | if test x$rtfdocs = xtrue; then | 8162 | if test x$rtfdocs = xtrue; then | 
| 2496 | RTFDOCS_TRUE= | 8163 | RTFDOCS_TRUE= | 
| 2497 | RTFDOCS_FALSE='#' | 8164 | RTFDOCS_FALSE='#' | 
| 2498 | else | 8165 | else | 
| 2499 | RTFDOCS_TRUE='#' | 8166 | RTFDOCS_TRUE='#' | 
| 2500 | RTFDOCS_FALSE= | 8167 | RTFDOCS_FALSE= | 
| 2501 | fi | 8168 | fi | 
| 2502 |  | 8169 |  | 
|  |  | 8170 | ac_config_files="$ac_config_files Makefile compat/Makefile lib/Makefile lib/psiconv/Makefile program/Makefile program/psiconv/Makefile lib/psiconv/general.h formats/Makefile docs/Makefile extra/Makefile" | 
| 2503 |  | 8171 |  | 
| 2504 | trap '' 1 2 15 |  |  | 
| 2505 | cat > confcache <<\EOF | 8172 | cat >confcache <<\_ACEOF | 
| 2506 | # This file is a shell script that caches the results of configure | 8173 | # This file is a shell script that caches the results of configure | 
| 2507 | # tests run on this system so they can be shared between configure | 8174 | # tests run on this system so they can be shared between configure | 
| 2508 | # scripts and configure runs.  It is not useful on other systems. | 8175 | # scripts and configure runs, see configure's option --config-cache. | 
| 2509 | # If it contains results you don't want to keep, you may remove or edit it. | 8176 | # It is not useful on other systems.  If it contains results you don't | 
|  |  | 8177 | # want to keep, you may remove or edit it. | 
| 2510 | # | 8178 | # | 
| 2511 | # By default, configure uses ./config.cache as the cache file, |  |  | 
| 2512 | # creating it if it does not exist already.  You can give configure |  |  | 
| 2513 | # the --cache-file=FILE option to use a different cache file; that is |  |  | 
| 2514 | # what configure does when it calls configure scripts in |  |  | 
| 2515 | # subdirectories, so they share the cache. |  |  | 
| 2516 | # Giving --cache-file=/dev/null disables caching, for debugging configure. |  |  | 
| 2517 | # config.status only pays attention to the cache file if you give it the | 8179 | # config.status only pays attention to the cache file if you give it | 
| 2518 | # --recheck option to rerun configure. | 8180 | # the --recheck option to rerun configure. | 
| 2519 | # | 8181 | # | 
| 2520 | EOF | 8182 | # `ac_cv_env_foo' variables (set or unset) will be overriden when | 
|  |  | 8183 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|  |  | 8184 | # following values. | 
|  |  | 8185 |  | 
|  |  | 8186 | _ACEOF | 
|  |  | 8187 |  | 
| 2521 | # The following way of writing the cache mishandles newlines in values, | 8188 | # The following way of writing the cache mishandles newlines in values, | 
| 2522 | # but we know of no workaround that is simple, portable, and efficient. | 8189 | # but we know of no workaround that is simple, portable, and efficient. | 
| 2523 | # So, don't put newlines in cache variables' values. | 8190 | # So, don't put newlines in cache variables' values. | 
| 2524 | # Ultrix sh set writes to stderr and can't be redirected directly, | 8191 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
| 2525 | # and sets the high bit in the cache file unless we assign to the vars. | 8192 | # and sets the high bit in the cache file unless we assign to the vars. | 
|  |  | 8193 | { | 
| 2526 | (set) 2>&1 | | 8194 | (set) 2>&1 | | 
| 2527 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | 8195 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
| 2528 | *ac_space=\ *) | 8196 | *ac_space=\ *) | 
| 2529 | # `set' does not quote correctly, so add quotes (double-quote substitution | 8197 | # `set' does not quote correctly, so add quotes (double-quote | 
| 2530 | # turns \\\\ into \\, and sed turns \\ into \). | 8198 | # substitution turns \\\\ into \\, and sed turns \\ into \). | 
| 2531 | sed -n \ | 8199 | sed -n \ | 
| 2532 | -e "s/'/'\\\\''/g" \ | 8200 | "s/'/'\\\\''/g; | 
| 2533 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | 8201 | s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
| 2534 | ;; | 8202 | ;; | 
| 2535 | *) | 8203 | *) | 
| 2536 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 8204 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 
| 2537 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | 8205 | sed -n \ | 
|  |  | 8206 | "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
| 2538 | ;; | 8207 | ;; | 
| 2539 | esac >> confcache | 8208 | esac; | 
|  |  | 8209 | } | | 
|  |  | 8210 | sed ' | 
|  |  | 8211 | t clear | 
|  |  | 8212 | : clear | 
|  |  | 8213 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|  |  | 8214 | t end | 
|  |  | 8215 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|  |  | 8216 | : end' >>confcache | 
| 2540 | if cmp -s $cache_file confcache; then | 8217 | if cmp -s $cache_file confcache; then :; else | 
| 2541 | : |  |  | 
| 2542 | else |  |  | 
| 2543 | if test -w $cache_file; then | 8218 | if test -w $cache_file; then | 
| 2544 | echo "updating cache $cache_file" | 8219 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
| 2545 | cat confcache > $cache_file | 8220 | cat confcache >$cache_file | 
| 2546 | else | 8221 | else | 
| 2547 | echo "not updating unwritable cache $cache_file" | 8222 | echo "not updating unwritable cache $cache_file" | 
| 2548 | fi | 8223 | fi | 
| 2549 | fi | 8224 | fi | 
| 2550 | rm -f confcache | 8225 | rm -f confcache | 
| 2551 |  | 8226 |  | 
| 2552 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |  |  | 
| 2553 |  |  |  | 
| 2554 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 8227 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
| 2555 | # Let make expand exec_prefix. | 8228 | # Let make expand exec_prefix. | 
| 2556 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 8229 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
| 2557 |  | 8230 |  | 
| 2558 | # Any assignment to VPATH causes Sun make to only execute | 8231 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
| 2559 | # the first set of double-colon rules, so remove it if not needed. | 8232 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
| 2560 | # If there is a colon in the path, we need to keep it. | 8233 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|  |  | 8234 | # (actually we leave an empty line to preserve line numbers). | 
| 2561 | if test "x$srcdir" = x.; then | 8235 | if test "x$srcdir" = x.; then | 
| 2562 | ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d' | 8236 | ac_vpsub='/^[ 	]*VPATH[ 	]*=/{ | 
|  |  | 8237 | s/:*\$(srcdir):*/:/; | 
|  |  | 8238 | s/:*\${srcdir}:*/:/; | 
|  |  | 8239 | s/:*@srcdir@:*/:/; | 
|  |  | 8240 | s/^\([^=]*=[ 	]*\):*/\1/; | 
|  |  | 8241 | s/:*$//; | 
|  |  | 8242 | s/^[^=]*=[ 	]*$//; | 
|  |  | 8243 | }' | 
| 2563 | fi | 8244 | fi | 
| 2564 |  |  |  | 
| 2565 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |  |  | 
| 2566 |  | 8245 |  | 
| 2567 | DEFS=-DHAVE_CONFIG_H | 8246 | DEFS=-DHAVE_CONFIG_H | 
| 2568 |  | 8247 |  | 
| 2569 | # Without the "./", some shells look in PATH for config.status. |  |  | 
| 2570 | : ${CONFIG_STATUS=./config.status} | 8248 | : ${CONFIG_STATUS=./config.status} | 
| 2571 |  | 8249 | ac_clean_files_save=$ac_clean_files | 
|  |  | 8250 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|  |  | 8251 | { echo "$as_me:8251: creating $CONFIG_STATUS" >&5 | 
| 2572 | echo creating $CONFIG_STATUS | 8252 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
| 2573 | rm -f $CONFIG_STATUS |  |  | 
| 2574 | cat > $CONFIG_STATUS <<EOF | 8253 | cat >$CONFIG_STATUS <<_ACEOF | 
| 2575 | #! /bin/sh | 8254 | #! $SHELL | 
| 2576 | # Generated automatically by configure. | 8255 | # Generated automatically by configure. | 
| 2577 | # Run this file to recreate the current configuration. | 8256 | # Run this file to recreate the current configuration. | 
| 2578 | # This directory was configured as follows, | 8257 | # Compiler output produced by configure, useful for debugging | 
|  |  | 8258 | # configure, is in config.log if it exists. | 
|  |  | 8259 |  | 
|  |  | 8260 | debug=false | 
|  |  | 8261 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|  |  | 8262 | ac_cs_invocation="\$0 \$@" | 
|  |  | 8263 |  | 
|  |  | 8264 | _ACEOF | 
|  |  | 8265 |  | 
|  |  | 8266 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|  |  | 8267 | # Be Bourne compatible | 
|  |  | 8268 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|  |  | 8269 | emulate sh | 
|  |  | 8270 | NULLCMD=: | 
|  |  | 8271 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|  |  | 8272 | set -o posix | 
|  |  | 8273 | fi | 
|  |  | 8274 |  | 
|  |  | 8275 | # Name of the executable. | 
|  |  | 8276 | as_me=`echo "$0" |sed 's,.*[\\/],,'` | 
|  |  | 8277 |  | 
|  |  | 8278 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|  |  | 8279 | as_expr=expr | 
|  |  | 8280 | else | 
|  |  | 8281 | as_expr=false | 
|  |  | 8282 | fi | 
|  |  | 8283 |  | 
|  |  | 8284 | rm -f conf$$ conf$$.exe conf$$.file | 
|  |  | 8285 | echo >conf$$.file | 
|  |  | 8286 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|  |  | 8287 | # We could just check for DJGPP; but this test a) works b) is more generic | 
|  |  | 8288 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|  |  | 8289 | if test -f conf$$.exe; then | 
|  |  | 8290 | # Don't use ln at all; we don't have any links | 
|  |  | 8291 | as_ln_s='cp -p' | 
|  |  | 8292 | else | 
|  |  | 8293 | as_ln_s='ln -s' | 
|  |  | 8294 | fi | 
|  |  | 8295 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|  |  | 8296 | as_ln_s=ln | 
|  |  | 8297 | else | 
|  |  | 8298 | as_ln_s='cp -p' | 
|  |  | 8299 | fi | 
|  |  | 8300 | rm -f conf$$ conf$$.exe conf$$.file | 
|  |  | 8301 |  | 
|  |  | 8302 | as_executable_p="test -f" | 
|  |  | 8303 |  | 
|  |  | 8304 | # Support unset when possible. | 
|  |  | 8305 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
|  |  | 8306 | as_unset=unset | 
|  |  | 8307 | else | 
|  |  | 8308 | as_unset=false | 
|  |  | 8309 | fi | 
|  |  | 8310 |  | 
|  |  | 8311 | # NLS nuisances. | 
|  |  | 8312 | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | 
|  |  | 8313 | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | 
|  |  | 8314 | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | 
|  |  | 8315 | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | 
|  |  | 8316 | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | 
|  |  | 8317 | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | 
|  |  | 8318 | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | 
|  |  | 8319 | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | 
|  |  | 8320 |  | 
|  |  | 8321 | # IFS | 
|  |  | 8322 | # We need space, tab and new line, in precisely that order. | 
|  |  | 8323 | as_nl=' | 
|  |  | 8324 | ' | 
|  |  | 8325 | IFS=" 	$as_nl" | 
|  |  | 8326 |  | 
|  |  | 8327 | # CDPATH. | 
|  |  | 8328 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } | 
|  |  | 8329 |  | 
|  |  | 8330 | exec 6>&1 | 
|  |  | 8331 |  | 
|  |  | 8332 | _ACEOF | 
|  |  | 8333 |  | 
|  |  | 8334 | # Files that config.status was made for. | 
|  |  | 8335 | if test -n "$ac_config_files"; then | 
|  |  | 8336 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
|  |  | 8337 | fi | 
|  |  | 8338 |  | 
|  |  | 8339 | if test -n "$ac_config_headers"; then | 
|  |  | 8340 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
|  |  | 8341 | fi | 
|  |  | 8342 |  | 
|  |  | 8343 | if test -n "$ac_config_links"; then | 
|  |  | 8344 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
|  |  | 8345 | fi | 
|  |  | 8346 |  | 
|  |  | 8347 | if test -n "$ac_config_commands"; then | 
|  |  | 8348 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
|  |  | 8349 | fi | 
|  |  | 8350 |  | 
|  |  | 8351 | cat >>$CONFIG_STATUS <<\EOF | 
|  |  | 8352 |  | 
|  |  | 8353 | ac_cs_usage="\ | 
|  |  | 8354 | \`$as_me' instantiates files from templates according to the | 
|  |  | 8355 | current configuration. | 
|  |  | 8356 |  | 
|  |  | 8357 | Usage: $0 [OPTIONS] [FILE]... | 
|  |  | 8358 |  | 
|  |  | 8359 | -h, --help       print this help, then exit | 
|  |  | 8360 | -V, --version    print version number, then exit | 
|  |  | 8361 | -d, --debug      don't remove temporary files | 
|  |  | 8362 | --recheck    update $as_me by reconfiguring in the same conditions | 
|  |  | 8363 | --file=FILE[:TEMPLATE] | 
|  |  | 8364 | instantiate the configuration file FILE | 
|  |  | 8365 | --header=FILE[:TEMPLATE] | 
|  |  | 8366 | instantiate the configuration header FILE | 
|  |  | 8367 |  | 
|  |  | 8368 | Configuration files: | 
|  |  | 8369 | $config_files | 
|  |  | 8370 |  | 
|  |  | 8371 | Configuration headers: | 
|  |  | 8372 | $config_headers | 
|  |  | 8373 |  | 
|  |  | 8374 | Configuration commands: | 
|  |  | 8375 | $config_commands | 
|  |  | 8376 |  | 
|  |  | 8377 | Report bugs to <bug-autoconf@gnu.org>." | 
|  |  | 8378 | EOF | 
|  |  | 8379 |  | 
|  |  | 8380 | cat >>$CONFIG_STATUS <<EOF | 
|  |  | 8381 | ac_cs_version="\\ | 
|  |  | 8382 | config.status | 
|  |  | 8383 | configured by $0, generated by GNU Autoconf 2.50, | 
|  |  | 8384 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
|  |  | 8385 |  | 
|  |  | 8386 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 
|  |  | 8387 | Free Software Foundation, Inc. | 
|  |  | 8388 | This config.status script is free software; the Free Software Foundation | 
|  |  | 8389 | gives unlimited permission to copy, distribute and modify it." | 
|  |  | 8390 | srcdir=$srcdir | 
|  |  | 8391 | INSTALL="$INSTALL" | 
|  |  | 8392 | EOF | 
|  |  | 8393 |  | 
|  |  | 8394 | cat >>$CONFIG_STATUS <<\EOF | 
|  |  | 8395 | # If no file are specified by the user, then we need to provide default | 
|  |  | 8396 | # value.  By we need to know if files were specified by the user. | 
|  |  | 8397 | ac_need_defaults=: | 
|  |  | 8398 | while test $# != 0 | 
|  |  | 8399 | do | 
|  |  | 8400 | case $1 in | 
|  |  | 8401 | --*=*) | 
|  |  | 8402 | ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
|  |  | 8403 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
|  |  | 8404 | shift | 
|  |  | 8405 | set dummy "$ac_option" "$ac_optarg" ${1+"$@"} | 
|  |  | 8406 | shift | 
|  |  | 8407 | ;; | 
|  |  | 8408 | -*);; | 
|  |  | 8409 | *) # This is not an option, so the user has probably given explicit | 
|  |  | 8410 | # arguments. | 
|  |  | 8411 | ac_need_defaults=false;; | 
|  |  | 8412 | esac | 
|  |  | 8413 |  | 
|  |  | 8414 | case $1 in | 
|  |  | 8415 | # Handling of the options. | 
|  |  | 8416 | EOF | 
|  |  | 8417 | cat >>$CONFIG_STATUS <<EOF | 
|  |  | 8418 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|  |  | 8419 | echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | 
|  |  | 8420 | exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | 
|  |  | 8421 | EOF | 
|  |  | 8422 | cat >>$CONFIG_STATUS <<\EOF | 
|  |  | 8423 | --version | --vers* | -V ) | 
|  |  | 8424 | echo "$ac_cs_version"; exit 0 ;; | 
|  |  | 8425 | --he | --h) | 
|  |  | 8426 | # Conflict between --help and --header | 
|  |  | 8427 | { { echo "$as_me:8427: error: ambiguous option: $1 | 
|  |  | 8428 | Try \`$0 --help' for more information." >&5 | 
|  |  | 8429 | echo "$as_me: error: ambiguous option: $1 | 
|  |  | 8430 | Try \`$0 --help' for more information." >&2;} | 
|  |  | 8431 | { (exit 1); exit 1; }; };; | 
|  |  | 8432 | --help | --hel | -h ) | 
|  |  | 8433 | echo "$ac_cs_usage"; exit 0 ;; | 
|  |  | 8434 | --debug | --d* | -d ) | 
|  |  | 8435 | debug=: ;; | 
|  |  | 8436 | --file | --fil | --fi | --f ) | 
|  |  | 8437 | shift | 
|  |  | 8438 | CONFIG_FILES="$CONFIG_FILES $1" | 
|  |  | 8439 | ac_need_defaults=false;; | 
|  |  | 8440 | --header | --heade | --head | --hea ) | 
|  |  | 8441 | shift | 
|  |  | 8442 | CONFIG_HEADERS="$CONFIG_HEADERS $1" | 
|  |  | 8443 | ac_need_defaults=false;; | 
|  |  | 8444 |  | 
|  |  | 8445 | # Handling of arguments. | 
|  |  | 8446 | 'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|  |  | 8447 | 'compat/Makefile' ) CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;; | 
|  |  | 8448 | 'lib/Makefile' ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; | 
|  |  | 8449 | 'lib/psiconv/Makefile' ) CONFIG_FILES="$CONFIG_FILES lib/psiconv/Makefile" ;; | 
|  |  | 8450 | 'program/Makefile' ) CONFIG_FILES="$CONFIG_FILES program/Makefile" ;; | 
|  |  | 8451 | 'program/psiconv/Makefile' ) CONFIG_FILES="$CONFIG_FILES program/psiconv/Makefile" ;; | 
|  |  | 8452 | 'lib/psiconv/general.h' ) CONFIG_FILES="$CONFIG_FILES lib/psiconv/general.h" ;; | 
|  |  | 8453 | 'formats/Makefile' ) CONFIG_FILES="$CONFIG_FILES formats/Makefile" ;; | 
|  |  | 8454 | 'docs/Makefile' ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; | 
|  |  | 8455 | 'extra/Makefile' ) CONFIG_FILES="$CONFIG_FILES extra/Makefile" ;; | 
|  |  | 8456 | 'default-1' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; | 
|  |  | 8457 | 'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 
|  |  | 8458 |  | 
|  |  | 8459 | # This is an error. | 
|  |  | 8460 | -*) { { echo "$as_me:8460: error: unrecognized option: $1 | 
|  |  | 8461 | Try \`$0 --help' for more information." >&5 | 
|  |  | 8462 | echo "$as_me: error: unrecognized option: $1 | 
|  |  | 8463 | Try \`$0 --help' for more information." >&2;} | 
|  |  | 8464 | { (exit 1); exit 1; }; } ;; | 
|  |  | 8465 | *) { { echo "$as_me:8465: error: invalid argument: $1" >&5 | 
|  |  | 8466 | echo "$as_me: error: invalid argument: $1" >&2;} | 
|  |  | 8467 | { (exit 1); exit 1; }; };; | 
|  |  | 8468 | esac | 
|  |  | 8469 | shift | 
|  |  | 8470 | done | 
|  |  | 8471 |  | 
|  |  | 8472 | exec 5>>config.log | 
|  |  | 8473 | cat >&5 << _ACEOF | 
|  |  | 8474 |  | 
|  |  | 8475 | ## ----------------------- ## | 
|  |  | 8476 | ## Running config.status.  ## | 
|  |  | 8477 | ## ----------------------- ## | 
|  |  | 8478 |  | 
|  |  | 8479 | This file was extended by $as_me 2.50, executed with | 
|  |  | 8480 | > $ac_cs_invocation | 
| 2579 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 8481 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|  |  | 8482 |  | 
|  |  | 8483 | _ACEOF | 
|  |  | 8484 | EOF | 
|  |  | 8485 |  | 
|  |  | 8486 | cat >>$CONFIG_STATUS <<\EOF | 
|  |  | 8487 | # If the user did not use the arguments to specify the items to instantiate, | 
|  |  | 8488 | # then the envvar interface is used.  Set only those that are not. | 
|  |  | 8489 | # We use the long form for the default assignment because of an extremely | 
|  |  | 8490 | # bizarre bug on SunOS 4.1.3. | 
|  |  | 8491 | if $ac_need_defaults; then | 
|  |  | 8492 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|  |  | 8493 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|  |  | 8494 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
|  |  | 8495 | fi | 
|  |  | 8496 |  | 
|  |  | 8497 | # Create a temporary directory, and hook for its removal unless debugging. | 
|  |  | 8498 | $debug || | 
|  |  | 8499 | { | 
|  |  | 8500 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
|  |  | 8501 | trap '{ (exit $?); exit $?; }' 1 2 13 15 | 
|  |  | 8502 | } | 
|  |  | 8503 |  | 
|  |  | 8504 | # Create a (secure) tmp directory for tmp files. | 
|  |  | 8505 | : ${TMPDIR=/tmp} | 
|  |  | 8506 | { | 
|  |  | 8507 | tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | 
|  |  | 8508 | test -n "$tmp" && test -d "$tmp" | 
|  |  | 8509 | }  || | 
|  |  | 8510 | { | 
|  |  | 8511 | tmp=$TMPDIR/cs$$-$RANDOM | 
|  |  | 8512 | (umask 077 && mkdir $tmp) | 
|  |  | 8513 | } || | 
|  |  | 8514 | { | 
|  |  | 8515 | echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | 
|  |  | 8516 | { (exit 1); exit 1; } | 
|  |  | 8517 | } | 
|  |  | 8518 |  | 
|  |  | 8519 | EOF | 
|  |  | 8520 |  | 
|  |  | 8521 | cat >>$CONFIG_STATUS <<EOF | 
| 2580 | # | 8522 | # | 
| 2581 | # $0 $ac_configure_args | 8523 | # INIT-COMMANDS section. | 
| 2582 | # | 8524 | # | 
| 2583 | # Compiler output produced by configure, useful for debugging |  |  | 
| 2584 | # configure, is in ./config.log if it exists. |  |  | 
| 2585 |  | 8525 |  | 
| 2586 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" | 8526 | EOF | 
| 2587 | for ac_option | 8527 |  | 
| 2588 | do | 8528 | cat >>$CONFIG_STATUS <<EOF | 
| 2589 | case "\$ac_option" in | 8529 |  | 
| 2590 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 8530 | # | 
| 2591 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | 8531 | # CONFIG_FILES section. | 
| 2592 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | 8532 | # | 
| 2593 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | 8533 |  | 
| 2594 | echo "$CONFIG_STATUS generated by autoconf version 2.13" | 8534 | # No need to generate the scripts if there are no CONFIG_FILES. | 
| 2595 | exit 0 ;; | 8535 | # This happens for instance when ./config.status config.h | 
| 2596 | -help | --help | --hel | --he | --h) | 8536 | if test -n "\$CONFIG_FILES"; then | 
| 2597 | echo "\$ac_cs_usage"; exit 0 ;; | 8537 | # Protect against being on the right side of a sed subst in config.status. | 
| 2598 | *) echo "\$ac_cs_usage"; exit 1 ;; | 8538 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
|  |  | 8539 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
|  |  | 8540 | s,@SHELL@,$SHELL,;t t | 
|  |  | 8541 | s,@exec_prefix@,$exec_prefix,;t t | 
|  |  | 8542 | s,@prefix@,$prefix,;t t | 
|  |  | 8543 | s,@program_transform_name@,$program_transform_name,;t t | 
|  |  | 8544 | s,@bindir@,$bindir,;t t | 
|  |  | 8545 | s,@sbindir@,$sbindir,;t t | 
|  |  | 8546 | s,@libexecdir@,$libexecdir,;t t | 
|  |  | 8547 | s,@datadir@,$datadir,;t t | 
|  |  | 8548 | s,@sysconfdir@,$sysconfdir,;t t | 
|  |  | 8549 | s,@sharedstatedir@,$sharedstatedir,;t t | 
|  |  | 8550 | s,@localstatedir@,$localstatedir,;t t | 
|  |  | 8551 | s,@libdir@,$libdir,;t t | 
|  |  | 8552 | s,@includedir@,$includedir,;t t | 
|  |  | 8553 | s,@oldincludedir@,$oldincludedir,;t t | 
|  |  | 8554 | s,@infodir@,$infodir,;t t | 
|  |  | 8555 | s,@mandir@,$mandir,;t t | 
|  |  | 8556 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
|  |  | 8557 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
|  |  | 8558 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
|  |  | 8559 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
|  |  | 8560 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
|  |  | 8561 | s,@ECHO_C@,$ECHO_C,;t t | 
|  |  | 8562 | s,@ECHO_N@,$ECHO_N,;t t | 
|  |  | 8563 | s,@ECHO_T@,$ECHO_T,;t t | 
|  |  | 8564 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
|  |  | 8565 | s,@DEFS@,$DEFS,;t t | 
|  |  | 8566 | s,@LIBS@,$LIBS,;t t | 
|  |  | 8567 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
|  |  | 8568 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
|  |  | 8569 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
|  |  | 8570 | s,@PACKAGE@,$PACKAGE,;t t | 
|  |  | 8571 | s,@VERSION@,$VERSION,;t t | 
|  |  | 8572 | s,@ACLOCAL@,$ACLOCAL,;t t | 
|  |  | 8573 | s,@AUTOCONF@,$AUTOCONF,;t t | 
|  |  | 8574 | s,@AUTOMAKE@,$AUTOMAKE,;t t | 
|  |  | 8575 | s,@AUTOHEADER@,$AUTOHEADER,;t t | 
|  |  | 8576 | s,@MAKEINFO@,$MAKEINFO,;t t | 
|  |  | 8577 | s,@SET_MAKE@,$SET_MAKE,;t t | 
|  |  | 8578 | s,@build@,$build,;t t | 
|  |  | 8579 | s,@build_cpu@,$build_cpu,;t t | 
|  |  | 8580 | s,@build_vendor@,$build_vendor,;t t | 
|  |  | 8581 | s,@build_os@,$build_os,;t t | 
|  |  | 8582 | s,@host@,$host,;t t | 
|  |  | 8583 | s,@host_cpu@,$host_cpu,;t t | 
|  |  | 8584 | s,@host_vendor@,$host_vendor,;t t | 
|  |  | 8585 | s,@host_os@,$host_os,;t t | 
|  |  | 8586 | s,@CC@,$CC,;t t | 
|  |  | 8587 | s,@CFLAGS@,$CFLAGS,;t t | 
|  |  | 8588 | s,@LDFLAGS@,$LDFLAGS,;t t | 
|  |  | 8589 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
|  |  | 8590 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
|  |  | 8591 | s,@EXEEXT@,$EXEEXT,;t t | 
|  |  | 8592 | s,@OBJEXT@,$OBJEXT,;t t | 
|  |  | 8593 | s,@LN_S@,$LN_S,;t t | 
|  |  | 8594 | s,@ECHO@,$ECHO,;t t | 
|  |  | 8595 | s,@RANLIB@,$RANLIB,;t t | 
|  |  | 8596 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 
|  |  | 8597 | s,@STRIP@,$STRIP,;t t | 
|  |  | 8598 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
|  |  | 8599 | s,@CPP@,$CPP,;t t | 
|  |  | 8600 | s,@LIBTOOL@,$LIBTOOL,;t t | 
|  |  | 8601 | s,@cflags_set@,$cflags_set,;t t | 
|  |  | 8602 | s,@IMAGEMAGICK@,$IMAGEMAGICK,;t t | 
|  |  | 8603 | s,@LIB_MAGICK@,$LIB_MAGICK,;t t | 
|  |  | 8604 | s,@INT_8_BIT@,$INT_8_BIT,;t t | 
|  |  | 8605 | s,@INT_16_BIT@,$INT_16_BIT,;t t | 
|  |  | 8606 | s,@INT_32_BIT@,$INT_32_BIT,;t t | 
|  |  | 8607 | s,@LIBOBJS@,$LIBOBJS,;t t | 
|  |  | 8608 | s,@HTMLDOCS_TRUE@,$HTMLDOCS_TRUE,;t t | 
|  |  | 8609 | s,@HTMLDOCS_FALSE@,$HTMLDOCS_FALSE,;t t | 
|  |  | 8610 | s,@HTML4DOCS_TRUE@,$HTML4DOCS_TRUE,;t t | 
|  |  | 8611 | s,@HTML4DOCS_FALSE@,$HTML4DOCS_FALSE,;t t | 
|  |  | 8612 | s,@ASCIIDOCS_TRUE@,$ASCIIDOCS_TRUE,;t t | 
|  |  | 8613 | s,@ASCIIDOCS_FALSE@,$ASCIIDOCS_FALSE,;t t | 
|  |  | 8614 | s,@RTFDOCS_TRUE@,$RTFDOCS_TRUE,;t t | 
|  |  | 8615 | s,@RTFDOCS_FALSE@,$RTFDOCS_FALSE,;t t | 
|  |  | 8616 | CEOF | 
|  |  | 8617 |  | 
|  |  | 8618 | EOF | 
|  |  | 8619 |  | 
|  |  | 8620 | cat >>$CONFIG_STATUS <<\EOF | 
|  |  | 8621 | # Split the substitutions into bite-sized pieces for seds with | 
|  |  | 8622 | # small command number limits, like on Digital OSF/1 and HP-UX. | 
|  |  | 8623 | ac_max_sed_lines=48 | 
|  |  | 8624 | ac_sed_frag=1 # Number of current file. | 
|  |  | 8625 | ac_beg=1 # First line for current file. | 
|  |  | 8626 | ac_end=$ac_max_sed_lines # Line after last line for current file. | 
|  |  | 8627 | ac_more_lines=: | 
|  |  | 8628 | ac_sed_cmds= | 
|  |  | 8629 | while $ac_more_lines; do | 
|  |  | 8630 | if test $ac_beg -gt 1; then | 
|  |  | 8631 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|  |  | 8632 | else | 
|  |  | 8633 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|  |  | 8634 | fi | 
|  |  | 8635 | if test ! -s $tmp/subs.frag; then | 
|  |  | 8636 | ac_more_lines=false | 
|  |  | 8637 | else | 
|  |  | 8638 | # The purpose of the label and of the branching condition is to | 
|  |  | 8639 | # speed up the sed processing (if there are no `@' at all, there | 
|  |  | 8640 | # is no need to browse any of the substitutions). | 
|  |  | 8641 | # These are the two extra sed commands mentioned above. | 
|  |  | 8642 | (echo ':t | 
|  |  | 8643 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
|  |  | 8644 | if test -z "$ac_sed_cmds"; then | 
|  |  | 8645 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
|  |  | 8646 | else | 
|  |  | 8647 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
|  |  | 8648 | fi | 
|  |  | 8649 | ac_sed_frag=`expr $ac_sed_frag + 1` | 
|  |  | 8650 | ac_beg=$ac_end | 
|  |  | 8651 | ac_end=`expr $ac_end + $ac_max_sed_lines` | 
|  |  | 8652 | fi | 
|  |  | 8653 | done | 
|  |  | 8654 | if test -z "$ac_sed_cmds"; then | 
|  |  | 8655 | ac_sed_cmds=cat | 
|  |  | 8656 | fi | 
|  |  | 8657 | fi # test -n "$CONFIG_FILES" | 
|  |  | 8658 |  | 
|  |  | 8659 | EOF | 
|  |  | 8660 | cat >>$CONFIG_STATUS <<\EOF | 
|  |  | 8661 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
|  |  | 8662 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|  |  | 8663 | case $ac_file in | 
|  |  | 8664 | - | *:- | *:-:* ) # input from stdin | 
|  |  | 8665 | cat >$tmp/stdin | 
|  |  | 8666 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|  |  | 8667 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|  |  | 8668 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|  |  | 8669 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|  |  | 8670 | * )   ac_file_in=$ac_file.in ;; | 
| 2599 | esac | 8671 | esac | 
| 2600 | done |  |  | 
| 2601 |  | 8672 |  | 
| 2602 | ac_given_srcdir=$srcdir | 8673 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
| 2603 | ac_given_INSTALL="$INSTALL" | 8674 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| 2604 |  | 8675 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 
| 2605 | trap 'rm -fr `echo "Makefile compat/Makefile lib/Makefile lib/psiconv/Makefile program/Makefile program/psiconv/Makefile lib/psiconv/general.h formats/Makefile docs/Makefile extra/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 | 8676 | X"$ac_file" : 'X\(//\)$' \| \ | 
| 2606 | EOF | 8677 | X"$ac_file" : 'X\(/\)' \| \ | 
| 2607 | cat >> $CONFIG_STATUS <<EOF | 8678 | .     : '\(.\)' 2>/dev/null || | 
| 2608 |  | 8679 | echo X"$ac_file" | | 
| 2609 | # Protect against being on the right side of a sed subst in config.status. | 8680 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
| 2610 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | 8681 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
| 2611 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | 8682 | /^X\(\/\/\)$/{ s//\1/; q; } | 
| 2612 | $ac_vpsub | 8683 | /^X\(\/\).*/{ s//\1/; q; } | 
| 2613 | $extrasub | 8684 | s/.*/./; q'` | 
| 2614 | s%@SHELL@%$SHELL%g | 8685 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | 
| 2615 | s%@CFLAGS@%$CFLAGS%g |  |  | 
| 2616 | s%@CPPFLAGS@%$CPPFLAGS%g |  |  | 
| 2617 | s%@CXXFLAGS@%$CXXFLAGS%g |  |  | 
| 2618 | s%@FFLAGS@%$FFLAGS%g |  |  | 
| 2619 | s%@DEFS@%$DEFS%g |  |  | 
| 2620 | s%@LDFLAGS@%$LDFLAGS%g |  |  | 
| 2621 | s%@LIBS@%$LIBS%g |  |  | 
| 2622 | s%@exec_prefix@%$exec_prefix%g |  |  | 
| 2623 | s%@prefix@%$prefix%g |  |  | 
| 2624 | s%@program_transform_name@%$program_transform_name%g |  |  | 
| 2625 | s%@bindir@%$bindir%g |  |  | 
| 2626 | s%@sbindir@%$sbindir%g |  |  | 
| 2627 | s%@libexecdir@%$libexecdir%g |  |  | 
| 2628 | s%@datadir@%$datadir%g |  |  | 
| 2629 | s%@sysconfdir@%$sysconfdir%g |  |  | 
| 2630 | s%@sharedstatedir@%$sharedstatedir%g |  |  | 
| 2631 | s%@localstatedir@%$localstatedir%g |  |  | 
| 2632 | s%@libdir@%$libdir%g |  |  | 
| 2633 | s%@includedir@%$includedir%g |  |  | 
| 2634 | s%@oldincludedir@%$oldincludedir%g |  |  | 
| 2635 | s%@infodir@%$infodir%g |  |  | 
| 2636 | s%@mandir@%$mandir%g |  |  | 
| 2637 | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |  |  | 
| 2638 | s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |  |  | 
| 2639 | s%@INSTALL_DATA@%$INSTALL_DATA%g |  |  | 
| 2640 | s%@PACKAGE@%$PACKAGE%g |  |  | 
| 2641 | s%@VERSION@%$VERSION%g |  |  | 
| 2642 | s%@ACLOCAL@%$ACLOCAL%g |  |  | 
| 2643 | s%@AUTOCONF@%$AUTOCONF%g |  |  | 
| 2644 | s%@AUTOMAKE@%$AUTOMAKE%g |  |  | 
| 2645 | s%@AUTOHEADER@%$AUTOHEADER%g |  |  | 
| 2646 | s%@MAKEINFO@%$MAKEINFO%g |  |  | 
| 2647 | s%@SET_MAKE@%$SET_MAKE%g |  |  | 
| 2648 | s%@host@%$host%g |  |  | 
| 2649 | s%@host_alias@%$host_alias%g |  |  | 
| 2650 | s%@host_cpu@%$host_cpu%g |  |  | 
| 2651 | s%@host_vendor@%$host_vendor%g |  |  | 
| 2652 | s%@host_os@%$host_os%g |  |  | 
| 2653 | s%@build@%$build%g |  |  | 
| 2654 | s%@build_alias@%$build_alias%g |  |  | 
| 2655 | s%@build_cpu@%$build_cpu%g |  |  | 
| 2656 | s%@build_vendor@%$build_vendor%g |  |  | 
| 2657 | s%@build_os@%$build_os%g |  |  | 
| 2658 | s%@RANLIB@%$RANLIB%g |  |  | 
| 2659 | s%@CC@%$CC%g |  |  | 
| 2660 | s%@LN_S@%$LN_S%g |  |  | 
| 2661 | s%@LIBTOOL@%$LIBTOOL%g |  |  | 
| 2662 | s%@cflags_set@%$cflags_set%g |  |  | 
| 2663 | s%@IMAGEMAGICK@%$IMAGEMAGICK%g |  |  | 
| 2664 | s%@LIB_MAGICK@%$LIB_MAGICK%g |  |  | 
| 2665 | s%@CPP@%$CPP%g |  |  | 
| 2666 | s%@INT_8_BIT@%$INT_8_BIT%g |  |  | 
| 2667 | s%@INT_16_BIT@%$INT_16_BIT%g |  |  | 
| 2668 | s%@INT_32_BIT@%$INT_32_BIT%g |  |  | 
| 2669 | s%@LIBOBJS@%$LIBOBJS%g |  |  | 
| 2670 | s%@HTMLDOCS_TRUE@%$HTMLDOCS_TRUE%g |  |  | 
| 2671 | s%@HTMLDOCS_FALSE@%$HTMLDOCS_FALSE%g |  |  | 
| 2672 | s%@HTML4DOCS_TRUE@%$HTML4DOCS_TRUE%g |  |  | 
| 2673 | s%@HTML4DOCS_FALSE@%$HTML4DOCS_FALSE%g |  |  | 
| 2674 | s%@ASCIIDOCS_TRUE@%$ASCIIDOCS_TRUE%g |  |  | 
| 2675 | s%@ASCIIDOCS_FALSE@%$ASCIIDOCS_FALSE%g |  |  | 
| 2676 | s%@RTFDOCS_TRUE@%$RTFDOCS_TRUE%g |  |  | 
| 2677 | s%@RTFDOCS_FALSE@%$RTFDOCS_FALSE%g |  |  | 
| 2678 |  |  |  | 
| 2679 | CEOF |  |  | 
| 2680 | EOF |  |  | 
| 2681 |  |  |  | 
| 2682 | cat >> $CONFIG_STATUS <<\EOF |  |  | 
| 2683 |  |  |  | 
| 2684 | # Split the substitutions into bite-sized pieces for seds with |  |  | 
| 2685 | # small command number limits, like on Digital OSF/1 and HP-UX. |  |  | 
| 2686 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |  |  | 
| 2687 | ac_file=1 # Number of current file. |  |  | 
| 2688 | ac_beg=1 # First line for current file. |  |  | 
| 2689 | ac_end=$ac_max_sed_cmds # Line after last line for current file. |  |  | 
| 2690 | ac_more_lines=: |  |  | 
| 2691 | ac_sed_cmds="" |  |  | 
| 2692 | while $ac_more_lines; do |  |  | 
| 2693 | if test $ac_beg -gt 1; then |  |  | 
| 2694 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |  |  | 
| 2695 | else |  |  | 
| 2696 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |  |  | 
| 2697 | fi |  |  | 
| 2698 | if test ! -s conftest.s$ac_file; then |  |  | 
| 2699 | ac_more_lines=false |  |  | 
| 2700 | rm -f conftest.s$ac_file |  |  | 
| 2701 | else |  |  | 
| 2702 | if test -z "$ac_sed_cmds"; then |  |  | 
| 2703 | ac_sed_cmds="sed -f conftest.s$ac_file" |  |  | 
| 2704 | else |  |  | 
| 2705 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |  |  | 
| 2706 | fi |  |  | 
| 2707 | ac_file=`expr $ac_file + 1` |  |  | 
| 2708 | ac_beg=$ac_end |  |  | 
| 2709 | ac_end=`expr $ac_end + $ac_max_sed_cmds` |  |  | 
| 2710 | fi |  |  | 
| 2711 | done |  |  | 
| 2712 | if test -z "$ac_sed_cmds"; then |  |  | 
| 2713 | ac_sed_cmds=cat |  |  | 
| 2714 | fi |  |  | 
| 2715 | EOF |  |  | 
| 2716 |  |  |  | 
| 2717 | cat >> $CONFIG_STATUS <<EOF |  |  | 
| 2718 |  |  |  | 
| 2719 | CONFIG_FILES=\${CONFIG_FILES-"Makefile compat/Makefile lib/Makefile lib/psiconv/Makefile program/Makefile program/psiconv/Makefile lib/psiconv/general.h formats/Makefile docs/Makefile extra/Makefile"} |  |  | 
| 2720 | EOF |  |  | 
| 2721 | cat >> $CONFIG_STATUS <<\EOF |  |  | 
| 2722 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |  |  | 
| 2723 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |  |  | 
| 2724 | case "$ac_file" in | 8686 | { case "$ac_dir" in | 
| 2725 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` | 8687 | [\\/]* | ?:[\\/]* ) as_incr_dir=;; | 
| 2726 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | 8688 | *)                      as_incr_dir=.;; | 
| 2727 | *) ac_file_in="${ac_file}.in" ;; | 8689 | esac | 
|  |  | 8690 | as_dummy="$ac_dir" | 
|  |  | 8691 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | 
|  |  | 8692 | case $as_mkdir_dir in | 
|  |  | 8693 | # Skip DOS drivespec | 
|  |  | 8694 | ?:) as_incr_dir=$as_mkdir_dir ;; | 
|  |  | 8695 | *) | 
|  |  | 8696 | as_incr_dir=$as_incr_dir/$as_mkdir_dir | 
|  |  | 8697 | test -d "$as_incr_dir" || mkdir "$as_incr_dir" | 
|  |  | 8698 | ;; | 
| 2728 | esac | 8699 | esac | 
|  |  | 8700 | done; } | 
| 2729 |  | 8701 |  | 
| 2730 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |  |  | 
| 2731 |  |  |  | 
| 2732 | # Remove last slash and all that follows it.  Not all systems have dirname. |  |  | 
| 2733 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |  |  | 
| 2734 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |  |  | 
| 2735 | # The file is in a subdirectory. |  |  | 
| 2736 | test ! -d "$ac_dir" && mkdir "$ac_dir" |  |  | 
| 2737 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" | 8702 | ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" | 
| 2738 | # A "../" for each directory in $ac_dir_suffix. | 8703 | # A "../" for each directory in $ac_dir_suffix. | 
| 2739 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` | 8704 | ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` | 
| 2740 | else | 8705 | else | 
| 2741 | ac_dir_suffix= ac_dots= | 8706 | ac_dir_suffix= ac_dots= | 
| 2742 | fi | 8707 | fi | 
| 2743 |  | 8708 |  | 
| 2744 | case "$ac_given_srcdir" in | 8709 | case $srcdir in | 
| 2745 | .)  srcdir=. | 8710 | .)  ac_srcdir=. | 
| 2746 | if test -z "$ac_dots"; then top_srcdir=. | 8711 | if test -z "$ac_dots"; then | 
|  |  | 8712 | ac_top_srcdir=. | 
|  |  | 8713 | else | 
| 2747 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; | 8714 | ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` | 
| 2748 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; | 8715 | fi ;; | 
|  |  | 8716 | [\\/]* | ?:[\\/]* ) | 
|  |  | 8717 | ac_srcdir=$srcdir$ac_dir_suffix; | 
|  |  | 8718 | ac_top_srcdir=$srcdir ;; | 
| 2749 | *) # Relative path. | 8719 | *) # Relative path. | 
| 2750 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" | 8720 | ac_srcdir=$ac_dots$srcdir$ac_dir_suffix | 
| 2751 | top_srcdir="$ac_dots$ac_given_srcdir" ;; | 8721 | ac_top_srcdir=$ac_dots$srcdir ;; | 
| 2752 | esac | 8722 | esac | 
| 2753 |  | 8723 |  | 
| 2754 | case "$ac_given_INSTALL" in | 8724 | case $INSTALL in | 
| 2755 | [/$]*) INSTALL="$ac_given_INSTALL" ;; | 8725 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
| 2756 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; | 8726 | *) ac_INSTALL=$ac_dots$INSTALL ;; | 
| 2757 | esac | 8727 | esac | 
| 2758 |  | 8728 |  | 
| 2759 | echo creating "$ac_file" | 8729 | if test x"$ac_file" != x-; then | 
|  |  | 8730 | { echo "$as_me:8730: creating $ac_file" >&5 | 
|  |  | 8731 | echo "$as_me: creating $ac_file" >&6;} | 
| 2760 | rm -f "$ac_file" | 8732 | rm -f "$ac_file" | 
|  |  | 8733 | fi | 
|  |  | 8734 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|  |  | 8735 | # use $as_me), people would be surprised to read: | 
|  |  | 8736 | #    /* config.h.  Generated automatically by config.status.  */ | 
| 2761 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." | 8737 | configure_input="Generated automatically from `echo $ac_file_in | | 
| 2762 | case "$ac_file" in | 8738 | sed 's,.*/,,'` by configure." | 
| 2763 | *Makefile*) ac_comsub="1i\\ | 8739 |  | 
| 2764 | # $configure_input" ;; | 8740 | # First look for the input files in the build tree, otherwise in the | 
| 2765 | *) ac_comsub= ;; | 8741 | # src tree. | 
|  |  | 8742 | ac_file_inputs=`IFS=: | 
|  |  | 8743 | for f in $ac_file_in; do | 
|  |  | 8744 | case $f in | 
|  |  | 8745 | -) echo $tmp/stdin ;; | 
|  |  | 8746 | [\\/$]*) | 
|  |  | 8747 | # Absolute (can't be DOS-style, as IFS=:) | 
|  |  | 8748 | test -f "$f" || { { echo "$as_me:8748: error: cannot find input file: $f" >&5 | 
|  |  | 8749 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|  |  | 8750 | { (exit 1); exit 1; }; } | 
|  |  | 8751 | echo $f;; | 
|  |  | 8752 | *) # Relative | 
|  |  | 8753 | if test -f "$f"; then | 
|  |  | 8754 | # Build tree | 
|  |  | 8755 | echo $f | 
|  |  | 8756 | elif test -f "$srcdir/$f"; then | 
|  |  | 8757 | # Source tree | 
|  |  | 8758 | echo $srcdir/$f | 
|  |  | 8759 | else | 
|  |  | 8760 | # /dev/null tree | 
|  |  | 8761 | { { echo "$as_me:8761: error: cannot find input file: $f" >&5 | 
|  |  | 8762 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|  |  | 8763 | { (exit 1); exit 1; }; } | 
|  |  | 8764 | fi;; | 
| 2766 | esac | 8765 | esac | 
| 2767 |  | 8766 | done` || { (exit 1); exit 1; } | 
| 2768 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` | 8767 | EOF | 
|  |  | 8768 | cat >>$CONFIG_STATUS <<EOF | 
| 2769 | sed -e "$ac_comsub | 8769 | sed "$ac_vpsub | 
|  |  | 8770 | $extrasub | 
|  |  | 8771 | EOF | 
|  |  | 8772 | cat >>$CONFIG_STATUS <<\EOF | 
|  |  | 8773 | :t | 
|  |  | 8774 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
| 2770 | s%@configure_input@%$configure_input%g | 8775 | s,@configure_input@,$configure_input,;t t | 
| 2771 | s%@srcdir@%$srcdir%g | 8776 | s,@srcdir@,$ac_srcdir,;t t | 
| 2772 | s%@top_srcdir@%$top_srcdir%g | 8777 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
| 2773 | s%@INSTALL@%$INSTALL%g | 8778 | s,@INSTALL@,$ac_INSTALL,;t t | 
| 2774 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file | 8779 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
| 2775 | fi; done | 8780 | rm -f $tmp/stdin | 
| 2776 | rm -f conftest.s* | 8781 | if test x"$ac_file" != x-; then | 
|  |  | 8782 | mv $tmp/out $ac_file | 
|  |  | 8783 | else | 
|  |  | 8784 | cat $tmp/out | 
|  |  | 8785 | rm -f $tmp/out | 
|  |  | 8786 | fi | 
|  |  | 8787 |  | 
|  |  | 8788 | done | 
|  |  | 8789 | EOF | 
|  |  | 8790 | cat >>$CONFIG_STATUS <<\EOF | 
|  |  | 8791 |  | 
|  |  | 8792 | # | 
|  |  | 8793 | # CONFIG_HEADER section. | 
|  |  | 8794 | # | 
| 2777 |  | 8795 |  | 
| 2778 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 8796 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
| 2779 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 8797 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
| 2780 | # | 8798 | # | 
| 2781 | # ac_d sets the value in "#define NAME VALUE" lines. | 8799 | # ac_d sets the value in "#define NAME VALUE" lines. | 
| 2782 | ac_dA='s%^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)' | 8800 | ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)' | 
| 2783 | ac_dB='\([ 	][ 	]*\)[^ 	]*%\1#\2' | 8801 | ac_dB='[ 	].*$,\1#\2' | 
| 2784 | ac_dC='\3' | 8802 | ac_dC=' ' | 
| 2785 | ac_dD='%g' | 8803 | ac_dD=',;t' | 
| 2786 | # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". | 8804 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
| 2787 | ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)' | 8805 | ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)' | 
| 2788 | ac_uB='\([ 	]\)%\1#\2define\3' | 8806 | ac_uB='$,\1#\2define\3' | 
| 2789 | ac_uC=' ' | 8807 | ac_uC=' ' | 
| 2790 | ac_uD='\4%g' | 8808 | ac_uD=',;t' | 
| 2791 | # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |  |  | 
| 2792 | ac_eA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)' |  |  | 
| 2793 | ac_eB='$%\1#\2define\3' |  |  | 
| 2794 | ac_eC=' ' |  |  | 
| 2795 | ac_eD='%g' |  |  | 
| 2796 |  | 8809 |  | 
| 2797 | if test "${CONFIG_HEADERS+set}" != set; then | 8810 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
|  |  | 8811 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|  |  | 8812 | case $ac_file in | 
|  |  | 8813 | - | *:- | *:-:* ) # input from stdin | 
|  |  | 8814 | cat >$tmp/stdin | 
|  |  | 8815 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|  |  | 8816 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|  |  | 8817 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|  |  | 8818 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|  |  | 8819 | * )   ac_file_in=$ac_file.in ;; | 
|  |  | 8820 | esac | 
|  |  | 8821 |  | 
|  |  | 8822 | test x"$ac_file" != x- && { echo "$as_me:8822: creating $ac_file" >&5 | 
|  |  | 8823 | echo "$as_me: creating $ac_file" >&6;} | 
|  |  | 8824 |  | 
|  |  | 8825 | # First look for the input files in the build tree, otherwise in the | 
|  |  | 8826 | # src tree. | 
|  |  | 8827 | ac_file_inputs=`IFS=: | 
|  |  | 8828 | for f in $ac_file_in; do | 
|  |  | 8829 | case $f in | 
|  |  | 8830 | -) echo $tmp/stdin ;; | 
|  |  | 8831 | [\\/$]*) | 
|  |  | 8832 | # Absolute (can't be DOS-style, as IFS=:) | 
|  |  | 8833 | test -f "$f" || { { echo "$as_me:8833: error: cannot find input file: $f" >&5 | 
|  |  | 8834 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|  |  | 8835 | { (exit 1); exit 1; }; } | 
|  |  | 8836 | echo $f;; | 
|  |  | 8837 | *) # Relative | 
|  |  | 8838 | if test -f "$f"; then | 
|  |  | 8839 | # Build tree | 
|  |  | 8840 | echo $f | 
|  |  | 8841 | elif test -f "$srcdir/$f"; then | 
|  |  | 8842 | # Source tree | 
|  |  | 8843 | echo $srcdir/$f | 
|  |  | 8844 | else | 
|  |  | 8845 | # /dev/null tree | 
|  |  | 8846 | { { echo "$as_me:8846: error: cannot find input file: $f" >&5 | 
|  |  | 8847 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|  |  | 8848 | { (exit 1); exit 1; }; } | 
|  |  | 8849 | fi;; | 
|  |  | 8850 | esac | 
|  |  | 8851 | done` || { (exit 1); exit 1; } | 
|  |  | 8852 | # Remove the trailing spaces. | 
|  |  | 8853 | sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in | 
|  |  | 8854 |  | 
| 2798 | EOF | 8855 | EOF | 
| 2799 | cat >> $CONFIG_STATUS <<EOF | 8856 |  | 
| 2800 | CONFIG_HEADERS="config.h" | 8857 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
|  |  | 8858 | # `conftest.undefs', that substitutes the proper values into | 
|  |  | 8859 | # config.h.in to produce config.h.  The first handles `#define' | 
|  |  | 8860 | # templates, and the second `#undef' templates. | 
|  |  | 8861 | # And first: Protect against being on the right side of a sed subst in | 
|  |  | 8862 | # config.status.  Protect against being in an unquoted here document | 
|  |  | 8863 | # in config.status. | 
|  |  | 8864 | rm -f conftest.defines conftest.undefs | 
|  |  | 8865 | # Using a here document instead of a string reduces the quoting nightmare. | 
|  |  | 8866 | # Putting comments in sed scripts is not portable. | 
|  |  | 8867 | # | 
|  |  | 8868 | # `end' is used to avoid that the second main sed command (meant for | 
|  |  | 8869 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
|  |  | 8870 | # See the Autoconf documentation for `clear'. | 
|  |  | 8871 | cat >confdef2sed.sed <<\EOF | 
|  |  | 8872 | s/[\\&,]/\\&/g | 
|  |  | 8873 | s,[\\$`],\\&,g | 
|  |  | 8874 | t clear | 
|  |  | 8875 | : clear | 
|  |  | 8876 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp | 
|  |  | 8877 | t end | 
|  |  | 8878 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
|  |  | 8879 | : end | 
| 2801 | EOF | 8880 | EOF | 
| 2802 | cat >> $CONFIG_STATUS <<\EOF | 8881 | # If some macros were called several times there might be several times | 
| 2803 | fi | 8882 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
| 2804 | for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then | 8883 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
| 2805 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 8884 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
| 2806 | case "$ac_file" in | 8885 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
| 2807 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` | 8886 | rm -f confdef2sed.sed | 
| 2808 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |  |  | 
| 2809 | *) ac_file_in="${ac_file}.in" ;; |  |  | 
| 2810 | esac |  |  | 
| 2811 |  |  |  | 
| 2812 | echo creating $ac_file |  |  | 
| 2813 |  |  |  | 
| 2814 | rm -f conftest.frag conftest.in conftest.out |  |  | 
| 2815 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |  |  | 
| 2816 | cat $ac_file_inputs > conftest.in |  |  | 
| 2817 |  |  |  | 
| 2818 | EOF |  |  | 
| 2819 |  |  |  | 
| 2820 | # Transform confdefs.h into a sed script conftest.vals that substitutes |  |  | 
| 2821 | # the proper values into config.h.in to produce config.h.  And first: |  |  | 
| 2822 | # Protect against being on the right side of a sed subst in config.status. |  |  | 
| 2823 | # Protect against being in an unquoted here document in config.status. |  |  | 
| 2824 | rm -f conftest.vals |  |  | 
| 2825 | cat > conftest.hdr <<\EOF |  |  | 
| 2826 | s/[\\&%]/\\&/g |  |  | 
| 2827 | s%[\\$`]%\\&%g |  |  | 
| 2828 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |  |  | 
| 2829 | s%ac_d%ac_u%gp |  |  | 
| 2830 | s%ac_u%ac_e%gp |  |  | 
| 2831 | EOF |  |  | 
| 2832 | sed -n -f conftest.hdr confdefs.h > conftest.vals |  |  | 
| 2833 | rm -f conftest.hdr |  |  | 
| 2834 |  | 8887 |  | 
| 2835 | # This sed command replaces #undef with comments.  This is necessary, for | 8888 | # This sed command replaces #undef with comments.  This is necessary, for | 
| 2836 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 8889 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
| 2837 | # on some systems where configure will not decide to define it. | 8890 | # on some systems where configure will not decide to define it. | 
| 2838 | cat >> conftest.vals <<\EOF | 8891 | cat >>conftest.undefs <<\EOF | 
| 2839 | s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% | 8892 | s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
| 2840 | EOF | 8893 | EOF | 
| 2841 |  | 8894 |  | 
| 2842 | # Break up conftest.vals because some shells have a limit on | 8895 | # Break up conftest.defines because some shells have a limit on the size | 
| 2843 | # the size of here documents, and old seds have small limits too. | 8896 | # of here documents, and old seds have small limits too (100 cmds). | 
| 2844 |  | 8897 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
|  |  | 8898 | echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
|  |  | 8899 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
|  |  | 8900 | echo '  :' >>$CONFIG_STATUS | 
| 2845 | rm -f conftest.tail | 8901 | rm -f conftest.tail | 
| 2846 | while : | 8902 | while grep . conftest.defines >/dev/null | 
| 2847 | do | 8903 | do | 
| 2848 | ac_lines=`grep -c . conftest.vals` |  |  | 
| 2849 | # grep -c gives empty output for an empty file on some AIX systems. |  |  | 
| 2850 | if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |  |  | 
| 2851 | # Write a limited-size here document to conftest.frag. | 8904 | # Write a limited-size here document to $tmp/defines.sed. | 
| 2852 | echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS | 8905 | echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
|  |  | 8906 | # Speed up: don't consider the non `#define' lines. | 
|  |  | 8907 | echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS | 
|  |  | 8908 | # Work around the forget-to-reset-the-flag bug. | 
|  |  | 8909 | echo 't clr' >>$CONFIG_STATUS | 
|  |  | 8910 | echo ': clr' >>$CONFIG_STATUS | 
| 2853 | sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS | 8911 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
| 2854 | echo 'CEOF | 8912 | echo 'CEOF | 
| 2855 | sed -f conftest.frag conftest.in > conftest.out | 8913 | sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
| 2856 | rm -f conftest.in | 8914 | rm -f $tmp/in | 
| 2857 | mv conftest.out conftest.in | 8915 | mv $tmp/out $tmp/in | 
| 2858 | ' >> $CONFIG_STATUS | 8916 | ' >>$CONFIG_STATUS | 
| 2859 | sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail | 8917 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
| 2860 | rm -f conftest.vals | 8918 | rm -f conftest.defines | 
| 2861 | mv conftest.tail conftest.vals | 8919 | mv conftest.tail conftest.defines | 
| 2862 | done | 8920 | done | 
|  |  | 8921 | rm -f conftest.defines | 
|  |  | 8922 | echo '  fi # egrep' >>$CONFIG_STATUS | 
|  |  | 8923 | echo >>$CONFIG_STATUS | 
|  |  | 8924 |  | 
|  |  | 8925 | # Break up conftest.undefs because some shells have a limit on the size | 
|  |  | 8926 | # of here documents, and old seds have small limits too (100 cmds). | 
|  |  | 8927 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
| 2863 | rm -f conftest.vals | 8928 | rm -f conftest.tail | 
|  |  | 8929 | while grep . conftest.undefs >/dev/null | 
|  |  | 8930 | do | 
|  |  | 8931 | # Write a limited-size here document to $tmp/undefs.sed. | 
|  |  | 8932 | echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
|  |  | 8933 | # Speed up: don't consider the non `#undef' | 
|  |  | 8934 | echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS | 
|  |  | 8935 | # Work around the forget-to-reset-the-flag bug. | 
|  |  | 8936 | echo 't clr' >>$CONFIG_STATUS | 
|  |  | 8937 | echo ': clr' >>$CONFIG_STATUS | 
|  |  | 8938 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
|  |  | 8939 | echo 'CEOF | 
|  |  | 8940 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
|  |  | 8941 | rm -f $tmp/in | 
|  |  | 8942 | mv $tmp/out $tmp/in | 
|  |  | 8943 | ' >>$CONFIG_STATUS | 
|  |  | 8944 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
|  |  | 8945 | rm -f conftest.undefs | 
|  |  | 8946 | mv conftest.tail conftest.undefs | 
|  |  | 8947 | done | 
|  |  | 8948 | rm -f conftest.undefs | 
| 2864 |  | 8949 |  | 
| 2865 | cat >> $CONFIG_STATUS <<\EOF | 8950 | cat >>$CONFIG_STATUS <<\EOF | 
| 2866 | rm -f conftest.frag conftest.h | 8951 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|  |  | 8952 | # use $as_me), people would be surprised to read: | 
|  |  | 8953 | #    /* config.h.  Generated automatically by config.status.  */ | 
|  |  | 8954 | if test x"$ac_file" = x-; then | 
| 2867 | echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h | 8955 | echo "/* Generated automatically by configure.  */" >$tmp/config.h | 
| 2868 | cat conftest.in >> conftest.h |  |  | 
| 2869 | rm -f conftest.in |  |  | 
| 2870 | if cmp -s $ac_file conftest.h 2>/dev/null; then |  |  | 
| 2871 | echo "$ac_file is unchanged" |  |  | 
| 2872 | rm -f conftest.h |  |  | 
| 2873 | else | 8956 | else | 
| 2874 | # Remove last slash and all that follows it.  Not all systems have dirname. | 8957 | echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h | 
| 2875 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` | 8958 | fi | 
|  |  | 8959 | cat $tmp/in >>$tmp/config.h | 
|  |  | 8960 | rm -f $tmp/in | 
|  |  | 8961 | if test x"$ac_file" != x-; then | 
|  |  | 8962 | if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | 
|  |  | 8963 | { echo "$as_me:8963: $ac_file is unchanged" >&5 | 
|  |  | 8964 | echo "$as_me: $ac_file is unchanged" >&6;} | 
|  |  | 8965 | else | 
|  |  | 8966 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|  |  | 8967 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|  |  | 8968 | X"$ac_file" : 'X\(//\)$' \| \ | 
|  |  | 8969 | X"$ac_file" : 'X\(/\)' \| \ | 
|  |  | 8970 | .     : '\(.\)' 2>/dev/null || | 
|  |  | 8971 | echo X"$ac_file" | | 
|  |  | 8972 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|  |  | 8973 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|  |  | 8974 | /^X\(\/\/\)$/{ s//\1/; q; } | 
|  |  | 8975 | /^X\(\/\).*/{ s//\1/; q; } | 
|  |  | 8976 | s/.*/./; q'` | 
| 2876 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | 8977 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | 
| 2877 | # The file is in a subdirectory. | 8978 | { case "$ac_dir" in | 
|  |  | 8979 | [\\/]* | ?:[\\/]* ) as_incr_dir=;; | 
|  |  | 8980 | *)                      as_incr_dir=.;; | 
|  |  | 8981 | esac | 
|  |  | 8982 | as_dummy="$ac_dir" | 
|  |  | 8983 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | 
|  |  | 8984 | case $as_mkdir_dir in | 
|  |  | 8985 | # Skip DOS drivespec | 
|  |  | 8986 | ?:) as_incr_dir=$as_mkdir_dir ;; | 
|  |  | 8987 | *) | 
|  |  | 8988 | as_incr_dir=$as_incr_dir/$as_mkdir_dir | 
| 2878 | test ! -d "$ac_dir" && mkdir "$ac_dir" | 8989 | test -d "$as_incr_dir" || mkdir "$as_incr_dir" | 
|  |  | 8990 | ;; | 
|  |  | 8991 | esac | 
|  |  | 8992 | done; } | 
|  |  | 8993 |  | 
|  |  | 8994 | fi | 
|  |  | 8995 | rm -f $ac_file | 
|  |  | 8996 | mv $tmp/config.h $ac_file | 
| 2879 | fi | 8997 | fi | 
| 2880 | rm -f $ac_file | 8998 | else | 
| 2881 | mv conftest.h $ac_file | 8999 | cat $tmp/config.h | 
|  |  | 9000 | rm -f $tmp/config.h | 
| 2882 | fi | 9001 | fi | 
| 2883 | fi; done | 9002 | done | 
| 2884 |  |  |  | 
| 2885 | EOF | 9003 | EOF | 
| 2886 | cat >> $CONFIG_STATUS <<EOF | 9004 | cat >>$CONFIG_STATUS <<\EOF | 
| 2887 |  | 9005 |  | 
|  |  | 9006 | # | 
|  |  | 9007 | # CONFIG_COMMANDS section. | 
|  |  | 9008 | # | 
|  |  | 9009 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
|  |  | 9010 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
|  |  | 9011 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
| 2888 |  | 9012 |  | 
|  |  | 9013 | case $ac_dest in | 
|  |  | 9014 | default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; | 
|  |  | 9015 | esac | 
|  |  | 9016 | done | 
| 2889 | EOF | 9017 | EOF | 
|  |  | 9018 |  | 
| 2890 | cat >> $CONFIG_STATUS <<\EOF | 9019 | cat >>$CONFIG_STATUS <<\EOF | 
| 2891 | test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h |  |  | 
| 2892 |  | 9020 |  | 
| 2893 | exit 0 | 9021 | { (exit 0); exit 0; } | 
| 2894 | EOF | 9022 | EOF | 
| 2895 | chmod +x $CONFIG_STATUS | 9023 | chmod +x $CONFIG_STATUS | 
| 2896 | rm -fr confdefs* $ac_clean_files | 9024 | ac_clean_files=$ac_clean_files_save | 
| 2897 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |  |  | 
| 2898 |  | 9025 |  | 
|  |  | 9026 | # configure is writing to config.log, and then calls config.status. | 
|  |  | 9027 | # config.status does its own redirection, appending to config.log. | 
|  |  | 9028 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|  |  | 9029 | # by configure, so config.status won't be able to write to it; its | 
|  |  | 9030 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|  |  | 9031 | # effectively closing config.log, so it can be properly (re)opened and | 
|  |  | 9032 | # appended to by config.status.  When coming back to configure, we | 
|  |  | 9033 | # need to make the FD available again. | 
|  |  | 9034 | if test "$no_create" != yes; then | 
|  |  | 9035 | ac_cs_success=: | 
|  |  | 9036 | exec 5>/dev/null | 
|  |  | 9037 | $SHELL $CONFIG_STATUS || ac_cs_success=false | 
|  |  | 9038 | exec 5>>config.log | 
|  |  | 9039 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|  |  | 9040 | # would make configure fail if this is the last instruction. | 
|  |  | 9041 | $ac_cs_success || { (exit 1); exit 1; } | 
|  |  | 9042 | fi | 
|  |  | 9043 |  |