/[emacs]/emacs/gc/configure
ViewVC logotype

Diff of /emacs/gc/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.1 by fx, Thu Jun 5 18:23:03 2003 UTC revision 1.2.2.2 by fx, Mon Jun 16 15:41:50 2003 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
 # From configure.in Revision: 1.2 .  
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by GNU Autoconf 2.53 for gc 6.2alpha4.  # Generated by GNU Autoconf 2.57 for gc 6.2alpha6, modified for Emacs.
 #  
 # Report bugs to <Hans.Boehm@hp.com>.  
4  #  #
5  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6  # Free Software Foundation, Inc.  # Free Software Foundation, Inc.
7  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
8  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
   
 # Find the correct PATH separator.  Usually this is `:', but  
 # DJGPP uses `;' like DOS.  
 if test "X${PATH_SEPARATOR+set}" != Xset; then  
   UNAME=${UNAME-`uname 2>/dev/null`}  
   case X$UNAME in  
     *-DOS) lt_cv_sys_path_separator=';' ;;  
     *)     lt_cv_sys_path_separator=':' ;;  
   esac  
   PATH_SEPARATOR=$lt_cv_sys_path_separator  
 fi  
   
   
 # Check that we are running under the correct shell.  
 SHELL=${CONFIG_SHELL-/bin/sh}  
   
 case X$ECHO in  
 X*--fallback-echo)  
   # Remove one level of quotation (which was required for Make).  
   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`  
   ;;  
 esac  
   
 echo=${ECHO-echo}  
 if test "X$1" = X--no-reexec; then  
   # Discard the --no-reexec flag, and continue.  
   shift  
 elif test "X$1" = X--fallback-echo; then  
   # Avoid inline document here, it may be left over  
   :  
 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then  
   # Yippee, $echo works!  
   :  
 else  
   # Restart under the correct shell.  
   exec $SHELL "$0" --no-reexec ${1+"$@"}  
 fi  
   
 if test "X$1" = X--fallback-echo; then  
   # used as fallback echo  
   shift  
   cat <<EOF  
   
 EOF  
   exit 0  
 fi  
   
 # The HP-UX ksh and POSIX shell print the target directory to stdout  
 # if CDPATH is set.  
 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi  
   
 if test -z "$ECHO"; then  
 if test "X${echo_test_string+set}" != Xset; then  
 # find a string as large as possible, as long as the shell can cope with it  
   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do  
     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...  
     if (echo_test_string="`eval $cmd`") 2>/dev/null &&  
        echo_test_string="`eval $cmd`" &&  
        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null  
     then  
       break  
     fi  
   done  
 fi  
   
 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&  
    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&  
    test "X$echo_testing_string" = "X$echo_test_string"; then  
   :  
 else  
   # The Solaris, AIX, and Digital Unix default echo programs unquote  
   # backslashes.  This makes it impossible to quote backslashes using  
   #   echo "$something" | sed 's/\\/\\\\/g'  
   #  
   # So, first we look for a working echo in the user's PATH.  
   
   IFS="${IFS=   }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR  
   for dir in $PATH /usr/ucb; do  
     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&  
        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&  
        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&  
        test "X$echo_testing_string" = "X$echo_test_string"; then  
       echo="$dir/echo"  
       break  
     fi  
   done  
   IFS="$save_ifs"  
   
   if test "X$echo" = Xecho; then  
     # We didn't find a better echo, so look for alternatives.  
     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&  
        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&  
        test "X$echo_testing_string" = "X$echo_test_string"; then  
       # This shell has a builtin print -r that does the trick.  
       echo='print -r'  
     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&  
          test "X$CONFIG_SHELL" != X/bin/ksh; then  
       # If we have ksh, try running configure again with it.  
       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}  
       export ORIGINAL_CONFIG_SHELL  
       CONFIG_SHELL=/bin/ksh  
       export CONFIG_SHELL  
       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}  
     else  
       # Try using printf.  
       echo='printf %s\n'  
       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&  
          echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&  
          test "X$echo_testing_string" = "X$echo_test_string"; then  
         # Cool, printf works  
         :  
       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&  
            test "X$echo_testing_string" = 'X\t' &&  
            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&  
            test "X$echo_testing_string" = "X$echo_test_string"; then  
         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL  
         export CONFIG_SHELL  
         SHELL="$CONFIG_SHELL"  
         export SHELL  
         echo="$CONFIG_SHELL $0 --fallback-echo"  
       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&  
            test "X$echo_testing_string" = 'X\t' &&  
            echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&  
            test "X$echo_testing_string" = "X$echo_test_string"; then  
         echo="$CONFIG_SHELL $0 --fallback-echo"  
       else  
         # maybe with a smaller string...  
         prev=:  
   
         for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do  
           if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null  
           then  
             break  
           fi  
           prev="$cmd"  
         done  
   
         if test "$prev" != 'sed 50q "$0"'; then  
           echo_test_string=`eval $prev`  
           export echo_test_string  
           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}  
         else  
           # Oops.  We lost completely, so just stick with echo.  
           echo=echo  
         fi  
       fi  
     fi  
   fi  
 fi  
 fi  
   
 # Copy echo and quote the copy suitably for passing to libtool from  
 # the Makefile, instead of quoting the original, which is used later.  
 ECHO=$echo  
 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then  
    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"  
 fi  
   
   
   
 if expr a : '\(a\)' >/dev/null 2>&1; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
   
   
9  ## --------------------- ##  ## --------------------- ##
10  ## M4sh Initialization.  ##  ## M4sh Initialization.  ##
11  ## --------------------- ##  ## --------------------- ##
# Line 184  fi Line 14  fi
14  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15    emulate sh    emulate sh
16    NULLCMD=:    NULLCMD=:
17      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18      # is contrary to our usage.  Disable this feature.
19      alias -g '${1+"$@"}'='"$@"'
20  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21    set -o posix    set -o posix
22  fi  fi
23    
 # NLS nuisances.  
24  # Support unset when possible.  # Support unset when possible.
25  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26    as_unset=unset    as_unset=unset
# Line 196  else Line 28  else
28    as_unset=false    as_unset=false
29  fi  fi
30    
31  (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&  
32      { $as_unset LANG || test "${LANG+set}" != set; } ||  # Work around bugs in pre-3.0 UWIN ksh.
33        { LANG=C; export LANG; }  $as_unset ENV MAIL MAILPATH
34  (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&  PS1='$ '
35      { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||  PS2='> '
36        { LC_ALL=C; export LC_ALL; }  PS4='+ '
37  (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&  
38      { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||  # NLS nuisances.
39        { LC_TIME=C; export LC_TIME; }  for as_var in \
40  (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41      { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42        { LC_CTYPE=C; export LC_CTYPE; }    LC_TELEPHONE LC_TIME
43  (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&  do
44      { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||    if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45        { LANGUAGE=C; export LANGUAGE; }      eval $as_var=C; export $as_var
46  (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&    else
47      { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||      $as_unset $as_var
48        { LC_COLLATE=C; export LC_COLLATE; }    fi
49  (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&  done
50      { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||  
51        { LC_NUMERIC=C; export LC_NUMERIC; }  # Required to use basename.
52  (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&  if expr a : '\(a\)' >/dev/null 2>&1; then
53      { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||    as_expr=expr
54        { LC_MESSAGES=C; export LC_MESSAGES; }  else
55      as_expr=false
56    fi
57    
58    if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59      as_basename=basename
60    else
61      as_basename=false
62    fi
63    
64    
65  # Name of the executable.  # Name of the executable.
66  as_me=`(basename "$0") 2>/dev/null ||  as_me=`$as_basename "$0" ||
67  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
69           X"$0" : 'X\(/\)$' \| \           X"$0" : 'X\(/\)$' \| \
# Line 234  echo X/"$0" | Line 74  echo X/"$0" |
74            /^X\/\(\/\).*/{ s//\1/; q; }            /^X\/\(\/\).*/{ s//\1/; q; }
75            s/.*/./; q'`            s/.*/./; q'`
76    
77    
78  # PATH needs CR, and LINENO needs CR and PATH.  # PATH needs CR, and LINENO needs CR and PATH.
79  # Avoid depending upon Character Ranges.  # Avoid depending upon Character Ranges.
80  as_cr_letters='abcdefghijklmnopqrstuvwxyz'  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
# Line 244  as_cr_alnum=$as_cr_Letters$as_cr_digits Line 85  as_cr_alnum=$as_cr_Letters$as_cr_digits
85    
86  # The user is always right.  # The user is always right.
87  if test "${PATH_SEPARATOR+set}" != set; then  if test "${PATH_SEPARATOR+set}" != set; then
88    echo "#! /bin/sh" >conftest.sh    echo "#! /bin/sh" >conf$$.sh
89    echo  "exit 0"   >>conftest.sh    echo  "exit 0"   >>conf$$.sh
90    chmod +x conftest.sh    chmod +x conf$$.sh
91    if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92      PATH_SEPARATOR=';'      PATH_SEPARATOR=';'
93    else    else
94      PATH_SEPARATOR=:      PATH_SEPARATOR=:
95    fi    fi
96    rm -f conftest.sh    rm -f conf$$.sh
97  fi  fi
98    
99    
# Line 300  do Line 141  do
141    as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`    as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142    test "x$as_lineno_1" != "x$as_lineno_2" &&    test "x$as_lineno_1" != "x$as_lineno_2" &&
143    test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then    test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144                 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145                 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146               CONFIG_SHELL=$as_dir/$as_base               CONFIG_SHELL=$as_dir/$as_base
147               export CONFIG_SHELL               export CONFIG_SHELL
148               exec "$CONFIG_SHELL" "$0" ${1+"$@"}               exec "$CONFIG_SHELL" "$0" ${1+"$@"}
# Line 372  else Line 215  else
215  fi  fi
216  rm -f conf$$ conf$$.exe conf$$.file  rm -f conf$$ conf$$.exe conf$$.file
217    
218    if mkdir -p . 2>/dev/null; then
219      as_mkdir_p=:
220    else
221      as_mkdir_p=false
222    fi
223    
224  as_executable_p="test -f"  as_executable_p="test -f"
225    
226  # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
# Line 388  as_nl=' Line 237  as_nl='
237  IFS="   $as_nl"  IFS="   $as_nl"
238    
239  # CDPATH.  # CDPATH.
240  $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }  $as_unset CDPATH
241    
242    
243    # Find the correct PATH separator.  Usually this is `:', but
244    # DJGPP uses `;' like DOS.
245    if test "X${PATH_SEPARATOR+set}" != Xset; then
246      UNAME=${UNAME-`uname 2>/dev/null`}
247      case X$UNAME in
248        *-DOS) lt_cv_sys_path_separator=';' ;;
249        *)     lt_cv_sys_path_separator=':' ;;
250      esac
251      PATH_SEPARATOR=$lt_cv_sys_path_separator
252    fi
253    
254    
255    # Check that we are running under the correct shell.
256    SHELL=${CONFIG_SHELL-/bin/sh}
257    
258    case X$ECHO in
259    X*--fallback-echo)
260      # Remove one level of quotation (which was required for Make).
261      ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
262      ;;
263    esac
264    
265    echo=${ECHO-echo}
266    if test "X$1" = X--no-reexec; then
267      # Discard the --no-reexec flag, and continue.
268      shift
269    elif test "X$1" = X--fallback-echo; then
270      # Avoid inline document here, it may be left over
271      :
272    elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
273      # Yippee, $echo works!
274      :
275    else
276      # Restart under the correct shell.
277      exec $SHELL "$0" --no-reexec ${1+"$@"}
278    fi
279    
280    if test "X$1" = X--fallback-echo; then
281      # used as fallback echo
282      shift
283      cat <<EOF
284    
285    EOF
286      exit 0
287    fi
288    
289    # The HP-UX ksh and POSIX shell print the target directory to stdout
290    # if CDPATH is set.
291    if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
292    
293    if test -z "$ECHO"; then
294    if test "X${echo_test_string+set}" != Xset; then
295    # find a string as large as possible, as long as the shell can cope with it
296      for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
297        # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
298        if (echo_test_string="`eval $cmd`") 2>/dev/null &&
299           echo_test_string="`eval $cmd`" &&
300           (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
301        then
302          break
303        fi
304      done
305    fi
306    
307    if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
308       echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
309       test "X$echo_testing_string" = "X$echo_test_string"; then
310      :
311    else
312      # The Solaris, AIX, and Digital Unix default echo programs unquote
313      # backslashes.  This makes it impossible to quote backslashes using
314      #   echo "$something" | sed 's/\\/\\\\/g'
315      #
316      # So, first we look for a working echo in the user's PATH.
317    
318      IFS="${IFS=   }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
319      for dir in $PATH /usr/ucb; do
320        if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
321           test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
322           echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
323           test "X$echo_testing_string" = "X$echo_test_string"; then
324          echo="$dir/echo"
325          break
326        fi
327      done
328      IFS="$save_ifs"
329    
330      if test "X$echo" = Xecho; then
331        # We didn't find a better echo, so look for alternatives.
332        if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
333           echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
334           test "X$echo_testing_string" = "X$echo_test_string"; then
335          # This shell has a builtin print -r that does the trick.
336          echo='print -r'
337        elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
338             test "X$CONFIG_SHELL" != X/bin/ksh; then
339          # If we have ksh, try running configure again with it.
340          ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
341          export ORIGINAL_CONFIG_SHELL
342          CONFIG_SHELL=/bin/ksh
343          export CONFIG_SHELL
344          exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
345        else
346          # Try using printf.
347          echo='printf %s\n'
348          if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
349             echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
350             test "X$echo_testing_string" = "X$echo_test_string"; then
351            # Cool, printf works
352            :
353          elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354               test "X$echo_testing_string" = 'X\t' &&
355               echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356               test "X$echo_testing_string" = "X$echo_test_string"; then
357            CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
358            export CONFIG_SHELL
359            SHELL="$CONFIG_SHELL"
360            export SHELL
361            echo="$CONFIG_SHELL $0 --fallback-echo"
362          elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
363               test "X$echo_testing_string" = 'X\t' &&
364               echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
365               test "X$echo_testing_string" = "X$echo_test_string"; then
366            echo="$CONFIG_SHELL $0 --fallback-echo"
367          else
368            # maybe with a smaller string...
369            prev=:
370    
371            for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
372              if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
373              then
374                break
375              fi
376              prev="$cmd"
377            done
378    
379            if test "$prev" != 'sed 50q "$0"'; then
380              echo_test_string=`eval $prev`
381              export echo_test_string
382              exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
383            else
384              # Oops.  We lost completely, so just stick with echo.
385              echo=echo
386            fi
387          fi
388        fi
389      fi
390    fi
391    fi
392    
393    # Copy echo and quote the copy suitably for passing to libtool from
394    # the Makefile, instead of quoting the original, which is used later.
395    ECHO=$echo
396    if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
397       ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
398    fi
399    
400    
401    
402  # Name of the host.  # Name of the host.
# Line 402  exec 6>&1 Line 410  exec 6>&1
410  # Initializations.  # Initializations.
411  #  #
412  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
413    ac_config_libobj_dir=.
414  cross_compiling=no  cross_compiling=no
415  subdirs=  subdirs=
416  MFLAGS=  MFLAGS=
# Line 416  SHELL=${CONFIG_SHELL-/bin/sh} Line 425  SHELL=${CONFIG_SHELL-/bin/sh}
425  # Identity of this package.  # Identity of this package.
426  PACKAGE_NAME='gc'  PACKAGE_NAME='gc'
427  PACKAGE_TARNAME='gc'  PACKAGE_TARNAME='gc'
428  PACKAGE_VERSION='6.2alpha4'  PACKAGE_VERSION='6.2alpha6, modified for Emacs'
429  PACKAGE_STRING='gc 6.2alpha4'  PACKAGE_STRING='gc 6.2alpha6, modified for Emacs'
430  PACKAGE_BUGREPORT='Hans.Boehm@hp.com'  PACKAGE_BUGREPORT=''
431    
432  ac_unique_file="gcj_mlc.c"  ac_unique_file="gcj_mlc.c"
433  # Factoring default headers for most tests.  # Factoring default headers for most tests.
# Line 458  ac_includes_default="\ Line 467  ac_includes_default="\
467  # include <unistd.h>  # include <unistd.h>
468  #endif"  #endif"
469    
470    ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE GC_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CCAS CCASFLAGS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GC_CFLAGS THREADLIBS POWERPC_DARWIN_TRUE POWERPC_DARWIN_FALSE EXTRA_TEST_LIBS target_all CPLUSPLUS_TRUE CPLUSPLUS_FALSE INCLUDES CXXINCLUDES addobjs addincludes addlibs addtests LN_S ECHO CPP EGREP LIBTOOL MY_CFLAGS USE_LIBDIR_TRUE USE_LIBDIR_FALSE LIBOBJS LTLIBOBJS'
471    ac_subst_files=''
472    
473  # Initialize some variables set by options.  # Initialize some variables set by options.
474  ac_init_help=  ac_init_help=
# Line 881  if test ! -r $srcdir/$ac_unique_file; th Line 892  if test ! -r $srcdir/$ac_unique_file; th
892     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
893    fi    fi
894  fi  fi
895    (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896      { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897       { (exit 1); exit 1; }; }
898  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899  ac_env_build_alias_set=${build_alias+set}  ac_env_build_alias_set=${build_alias+set}
900  ac_env_build_alias_value=$build_alias  ac_env_build_alias_value=$build_alias
# Line 930  if test "$ac_init_help" = "long"; then Line 944  if test "$ac_init_help" = "long"; then
944    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
945    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
946    cat <<_ACEOF    cat <<_ACEOF
947  \`configure' configures gc 6.2alpha4 to adapt to many kinds of systems.  \`configure' configures gc 6.2alpha6, modified for Emacs to adapt to many kinds of systems.
948    
949  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
950    
# Line 997  fi Line 1011  fi
1011    
1012  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
1013    case $ac_init_help in    case $ac_init_help in
1014       short | recursive ) echo "Configuration of gc 6.2alpha4:";;       short | recursive ) echo "Configuration of gc 6.2alpha6, modified for Emacs:";;
1015     esac     esac
1016    cat <<\_ACEOF    cat <<\_ACEOF
1017    
# Line 1010  Optional Features: Line 1024  Optional Features:
1024                            (and sometimes confusing) to the casual installer                            (and sometimes confusing) to the casual installer
1025    --enable-threads=TYPE   choose threading package    --enable-threads=TYPE   choose threading package
1026    --enable-parallel-mark        parallelize marking and free list construction    --enable-parallel-mark        parallelize marking and free list construction
1027    --enable-cplusplus            include C++ support in GC library and include directory    --enable-cplusplus            install C++ support
1028      --enable-cppflags             use these cpp flags for compilation.
1029                                    An alternative to using CPPGLAGS for use in
1030                                    sub-configures.
1031    --enable-shared=PKGS  build shared libraries default=yes    --enable-shared=PKGS  build shared libraries default=yes
1032    --enable-static=PKGS  build static libraries default=yes    --enable-static=PKGS  build static libraries default=yes
1033    --enable-fast-install=PKGS  optimize for fast installation default=yes    --enable-fast-install=PKGS  optimize for fast installation default=yes
# Line 1043  Some influential environment variables: Line 1060  Some influential environment variables:
1060  Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
1061  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
1062    
 Report bugs to <Hans.Boehm@hp.com>.  
1063  _ACEOF  _ACEOF
1064  fi  fi
1065    
# Line 1080  esac Line 1096  esac
1096  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1097  # absolute.  # absolute.
1098  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1099  ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1100  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1101  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1102    
# Line 1106  fi Line 1122  fi
1122  test -n "$ac_init_help" && exit 0  test -n "$ac_init_help" && exit 0
1123  if $ac_init_version; then  if $ac_init_version; then
1124    cat <<\_ACEOF    cat <<\_ACEOF
1125  gc configure 6.2alpha4  gc configure 6.2alpha6, modified for Emacs
1126  generated by GNU Autoconf 2.53  generated by GNU Autoconf 2.57
1127    
1128  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1129  Free Software Foundation, Inc.  Free Software Foundation, Inc.
# Line 1121  cat >&5 <<_ACEOF Line 1137  cat >&5 <<_ACEOF
1137  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1138  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1139    
1140  It was created by gc $as_me 6.2alpha4, which was  It was created by gc $as_me 6.2alpha6, modified for Emacs, which was
1141  generated by GNU Autoconf 2.53.  Invocation command line was  generated by GNU Autoconf 2.57.  Invocation command line was
1142    
1143    $ $0 $@    $ $0 $@
1144    
# Line 1174  _ACEOF Line 1190  _ACEOF
1190    
1191  # Keep a trace of the command line.  # Keep a trace of the command line.
1192  # Strip out --no-create and --no-recursion so they do not pile up.  # Strip out --no-create and --no-recursion so they do not pile up.
1193    # Strip out --silent because we don't want to record it for future runs.
1194  # Also quote any args containing shell meta-characters.  # Also quote any args containing shell meta-characters.
1195    # Make two passes to allow for proper duplicate-argument suppression.
1196  ac_configure_args=  ac_configure_args=
1197    ac_configure_args0=
1198    ac_configure_args1=
1199  ac_sep=  ac_sep=
1200  for ac_arg  ac_must_keep_next=false
1201    for ac_pass in 1 2
1202  do  do
1203    case $ac_arg in    for ac_arg
1204    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    do
1205    | --no-cr | --no-c | -n ) continue ;;      case $ac_arg in
1206    -no-recursion | --no-recursion | --no-recursio | --no-recursi \      -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1207    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1208      continue ;;      | -silent | --silent | --silen | --sile | --sil)
1209    *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)        continue ;;
1210      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;      *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1211    esac        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1212    case " $ac_configure_args " in      esac
1213      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.      case $ac_pass in
1214      *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1215         ac_sep=" " ;;      2)
1216    esac        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1217    # Get rid of the leading space.        if test $ac_must_keep_next = true; then
1218            ac_must_keep_next=false # Got value, back to normal.
1219          else
1220            case $ac_arg in
1221              *=* | --config-cache | -C | -disable-* | --disable-* \
1222              | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1223              | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1224              | -with-* | --with-* | -without-* | --without-* | --x)
1225                case "$ac_configure_args0 " in
1226                  "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1227                esac
1228                ;;
1229              -* ) ac_must_keep_next=true ;;
1230            esac
1231          fi
1232          ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1233          # Get rid of the leading space.
1234          ac_sep=" "
1235          ;;
1236        esac
1237      done
1238  done  done
1239    $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1240    $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1241    
1242  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1243  # config.log.  We remove comments because anyway the quotes in there  # config.log.  We remove comments because anyway the quotes in there
# Line 1205  trap 'exit_status=$? Line 1248  trap 'exit_status=$?
1248    # Save into config.log some information that might help in debugging.    # Save into config.log some information that might help in debugging.
1249    {    {
1250      echo      echo
1251    
1252      cat <<\_ASBOX      cat <<\_ASBOX
1253  ## ---------------- ##  ## ---------------- ##
1254  ## Cache variables. ##  ## Cache variables. ##
# Line 1227  _ASBOX Line 1271  _ASBOX
1271      esac;      esac;
1272  }  }
1273      echo      echo
1274    
1275        cat <<\_ASBOX
1276    ## ----------------- ##
1277    ## Output variables. ##
1278    ## ----------------- ##
1279    _ASBOX
1280        echo
1281        for ac_var in $ac_subst_vars
1282        do
1283          eval ac_val=$`echo $ac_var`
1284          echo "$ac_var='"'"'$ac_val'"'"'"
1285        done | sort
1286        echo
1287    
1288        if test -n "$ac_subst_files"; then
1289          cat <<\_ASBOX
1290    ## ------------- ##
1291    ## Output files. ##
1292    ## ------------- ##
1293    _ASBOX
1294          echo
1295          for ac_var in $ac_subst_files
1296          do
1297            eval ac_val=$`echo $ac_var`
1298            echo "$ac_var='"'"'$ac_val'"'"'"
1299          done | sort
1300          echo
1301        fi
1302    
1303      if test -s confdefs.h; then      if test -s confdefs.h; then
1304        cat <<\_ASBOX        cat <<\_ASBOX
1305  ## ----------- ##  ## ----------- ##
# Line 1234  _ASBOX Line 1307  _ASBOX
1307  ## ----------- ##  ## ----------- ##
1308  _ASBOX  _ASBOX
1309        echo        echo
1310        sed "/^$/d" confdefs.h        sed "/^$/d" confdefs.h | sort
1311        echo        echo
1312      fi      fi
1313      test "$ac_signal" != 0 &&      test "$ac_signal" != 0 &&
# Line 1399  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1472  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1472    
1473    
1474    
1475    
1476      ## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)?      ## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)?
1477    
1478  ac_aux_dir=  ac_aux_dir=
# Line 1510  test -n "$target_alias" && Line 1584  test -n "$target_alias" &&
1584    program_prefix=${target_alias}-    program_prefix=${target_alias}-
1585    
1586    
   
1587    echo "$as_me:$LINENO: checking GC version numbers" >&5    echo "$as_me:$LINENO: checking GC version numbers" >&5
1588  echo $ECHO_N "checking GC version numbers... $ECHO_C" >&6  echo $ECHO_N "checking GC version numbers... $ECHO_C" >&6
1589    GC_VERSION_MAJOR=`echo $PACKAGE_VERSION | sed 's/^\([0-9][0-9]*\)[.].*$/\1/g'`    GC_VERSION_MAJOR=`echo $PACKAGE_VERSION | sed 's/^\([0-9][0-9]*\)[.].*$/\1/g'`
# Line 1743  fi Line 1816  fi
1816    test -n "$AWK" && break    test -n "$AWK" && break
1817  done  done
1818    
1819  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1820  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1821  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1822  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1823    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1824  else  else
1825    cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
1826  all:  all:
1827          @echo 'ac_maketemp="${MAKE}"'          @echo 'ac_maketemp="$(MAKE)"'
1828  _ACEOF  _ACEOF
1829  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1830  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
# Line 1782  fi Line 1855  fi
1855    
1856  # Define the identity of the package.  # Define the identity of the package.
1857   PACKAGE=gc   PACKAGE=gc
1858   VERSION=6.2alpha4   VERSION=6.2alpha6, modified for Emacs
1859    
1860    
1861  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
# Line 2116  if test $ac_prog_rejected = yes; then Line 2189  if test $ac_prog_rejected = yes; then
2189      # However, it has the same basename, so the bogon will be chosen      # However, it has the same basename, so the bogon will be chosen
2190      # first if we set CC to just the basename; use the full file name.      # first if we set CC to just the basename; use the full file name.
2191      shift      shift
2192      set dummy "$as_dir/$ac_word" ${1+"$@"}      ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     shift  
     ac_cv_prog_CC="$@"  
2193    fi    fi
2194  fi  fi
2195  fi  fi
# Line 2223  fi Line 2294  fi
2294  fi  fi
2295    
2296    
2297  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2298  echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}  See \`config.log' for more details." >&5
2299    echo "$as_me: error: no acceptable C compiler found in \$PATH
2300    See \`config.log' for more details." >&2;}
2301     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2302    
2303  # Provide some information about the compiler.  # Provide some information about the compiler.
# Line 2249  ac_compiler=`set X $ac_compile; echo $2` Line 2322  ac_compiler=`set X $ac_compile; echo $2`
2322    
2323  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2324  #line $LINENO "configure"  #line $LINENO "configure"
2325  #include "confdefs.h"  /* confdefs.h.  */
2326    _ACEOF
2327    cat confdefs.h >>conftest.$ac_ext
2328    cat >>conftest.$ac_ext <<_ACEOF
2329    /* end confdefs.h.  */
2330    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2331  int  int
2332  main ()  main ()
2333  {  {
# Line 2266  main () Line 2337  main ()
2337  }  }
2338  _ACEOF  _ACEOF
2339  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
2340  ac_clean_files="$ac_clean_files a.out a.exe"  ac_clean_files="$ac_clean_files a.out a.exe b.out"
2341  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2342  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2343  # of exeext.  # of exeext.
# Line 2285  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 2356  if { (eval echo "$as_me:$LINENO: \"$ac_l
2356  # Be careful to initialize this variable, since it used to be cached.  # Be careful to initialize this variable, since it used to be cached.
2357  # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.  # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2358  ac_cv_exeext=  ac_cv_exeext=
2359  for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;  # b.out is created by i960 compilers.
2360                  ls a.out conftest 2>/dev/null;  for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2361                  ls a.* conftest.* 2>/dev/null`; do  do
2362      test -f "$ac_file" || continue
2363    case $ac_file in    case $ac_file in
2364      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2365      a.out ) # We found the default executable, but exeext='' is most          ;;
2366              # certainly right.      conftest.$ac_ext )
2367              break;;          # This is the source file.
2368      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          ;;
2369            # FIXME: I believe we export ac_cv_exeext for Libtool --akim.      [ab].out )
2370            export ac_cv_exeext          # We found the default executable, but exeext='' is most
2371            break;;          # certainly right.
2372      * ) break;;          break;;
2373        *.* )
2374            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2375            # FIXME: I believe we export ac_cv_exeext for Libtool,
2376            # but it would be cool to find out if it's true.  Does anybody
2377            # maintain Libtool? --akim.
2378            export ac_cv_exeext
2379            break;;
2380        * )
2381            break;;
2382    esac    esac
2383  done  done
2384  else  else
2385    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2386  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2387  { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5  
2388  echo "$as_me: error: C compiler cannot create executables" >&2;}  { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2389    See \`config.log' for more details." >&5
2390    echo "$as_me: error: C compiler cannot create executables
2391    See \`config.log' for more details." >&2;}
2392     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
2393  fi  fi
2394    
# Line 2331  if test "$cross_compiling" != yes; then Line 2415  if test "$cross_compiling" != yes; then
2415          cross_compiling=yes          cross_compiling=yes
2416      else      else
2417          { { echo "$as_me:$LINENO: error: cannot run C compiled programs.          { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2418  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'.
2419    See \`config.log' for more details." >&5
2420  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2421  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'.
2422    See \`config.log' for more details." >&2;}
2423     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2424      fi      fi
2425    fi    fi
# Line 2341  fi Line 2427  fi
2427  echo "$as_me:$LINENO: result: yes" >&5  echo "$as_me:$LINENO: result: yes" >&5
2428  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2429    
2430  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext b.out
2431  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2432  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2433  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
# Line 2361  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 2447  if { (eval echo "$as_me:$LINENO: \"$ac_l
2447  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2448  # work properly (i.e., refer to `conftest.exe'), while it won't with  # work properly (i.e., refer to `conftest.exe'), while it won't with
2449  # `rm'.  # `rm'.
2450  for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do  for ac_file in conftest.exe conftest conftest.*; do
2451      test -f "$ac_file" || continue
2452    case $ac_file in    case $ac_file in
2453      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2454      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2455            export ac_cv_exeext            export ac_cv_exeext
2456            break;;            break;;
# Line 2371  for ac_file in `(ls conftest.exe; ls con Line 2458  for ac_file in `(ls conftest.exe; ls con
2458    esac    esac
2459  done  done
2460  else  else
2461    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2462  echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}  See \`config.log' for more details." >&5
2463    echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2464    See \`config.log' for more details." >&2;}
2465     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2466  fi  fi
2467    
# Line 2390  if test "${ac_cv_objext+set}" = set; the Line 2479  if test "${ac_cv_objext+set}" = set; the
2479  else  else
2480    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2481  #line $LINENO "configure"  #line $LINENO "configure"
2482  #include "confdefs.h"  /* confdefs.h.  */
2483    _ACEOF
2484    cat confdefs.h >>conftest.$ac_ext
2485    cat >>conftest.$ac_ext <<_ACEOF
2486    /* end confdefs.h.  */
2487    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2488  int  int
2489  main ()  main ()
2490  {  {
# Line 2414  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2501  if { (eval echo "$as_me:$LINENO: \"$ac_c
2501    (exit $ac_status); }; then    (exit $ac_status); }; then
2502    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2503    case $ac_file in    case $ac_file in
2504      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2505      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2506         break;;         break;;
2507    esac    esac
2508  done  done
2509  else  else
2510    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2511  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2512  { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5  
2513  echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}  { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2514    See \`config.log' for more details." >&5
2515    echo "$as_me: error: cannot compute suffix of object files: cannot compile
2516    See \`config.log' for more details." >&2;}
2517     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2518  fi  fi
2519    
# Line 2440  if test "${ac_cv_c_compiler_gnu+set}" = Line 2530  if test "${ac_cv_c_compiler_gnu+set}" =
2530  else  else
2531    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2532  #line $LINENO "configure"  #line $LINENO "configure"
2533  #include "confdefs.h"  /* confdefs.h.  */
2534    _ACEOF
2535    cat confdefs.h >>conftest.$ac_ext
2536    cat >>conftest.$ac_ext <<_ACEOF
2537    /* end confdefs.h.  */
2538    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2539  int  int
2540  main ()  main ()
2541  {  {
# Line 2474  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2562  if { (eval echo "$as_me:$LINENO: \"$ac_c
2562    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2563  else  else
2564    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2565  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2566    
2567  ac_compiler_gnu=no  ac_compiler_gnu=no
2568  fi  fi
2569  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 2494  if test "${ac_cv_prog_cc_g+set}" = set; Line 2583  if test "${ac_cv_prog_cc_g+set}" = set;
2583  else  else
2584    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2585  #line $LINENO "configure"  #line $LINENO "configure"
2586  #include "confdefs.h"  /* confdefs.h.  */
2587    _ACEOF
2588    cat confdefs.h >>conftest.$ac_ext
2589    cat >>conftest.$ac_ext <<_ACEOF
2590    /* end confdefs.h.  */
2591    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2592  int  int
2593  main ()  main ()
2594  {  {
# Line 2525  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2612  if { (eval echo "$as_me:$LINENO: \"$ac_c
2612    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2613  else  else
2614    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2615  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2616    
2617  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
2618  fi  fi
2619  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 2547  else Line 2635  else
2635      CFLAGS=      CFLAGS=
2636    fi    fi
2637  fi  fi
2638    echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2639    echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2640    if test "${ac_cv_prog_cc_stdc+set}" = set; then
2641      echo $ECHO_N "(cached) $ECHO_C" >&6
2642    else
2643      ac_cv_prog_cc_stdc=no
2644    ac_save_CC=$CC
2645    cat >conftest.$ac_ext <<_ACEOF
2646    #line $LINENO "configure"
2647    /* confdefs.h.  */
2648    _ACEOF
2649    cat confdefs.h >>conftest.$ac_ext
2650    cat >>conftest.$ac_ext <<_ACEOF
2651    /* end confdefs.h.  */
2652    #include <stdarg.h>
2653    #include <stdio.h>
2654    #include <sys/types.h>
2655    #include <sys/stat.h>
2656    /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2657    struct buf { int x; };
2658    FILE * (*rcsopen) (struct buf *, struct stat *, int);
2659    static char *e (p, i)
2660         char **p;
2661         int i;
2662    {
2663      return p[i];
2664    }
2665    static char *f (char * (*g) (char **, int), char **p, ...)
2666    {
2667      char *s;
2668      va_list v;
2669      va_start (v,p);
2670      s = g (p, va_arg (v,int));
2671      va_end (v);
2672      return s;
2673    }
2674    int test (int i, double x);
2675    struct s1 {int (*f) (int a);};
2676    struct s2 {int (*f) (double a);};
2677    int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2678    int argc;
2679    char **argv;
2680    int
2681    main ()
2682    {
2683    return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2684      ;
2685      return 0;
2686    }
2687    _ACEOF
2688    # Don't try gcc -ansi; that turns off useful extensions and
2689    # breaks some systems' header files.
2690    # AIX                   -qlanglvl=ansi
2691    # Ultrix and OSF/1      -std1
2692    # HP-UX 10.20 and later -Ae
2693    # HP-UX older versions  -Aa -D_HPUX_SOURCE
2694    # SVR4                  -Xc -D__EXTENSIONS__
2695    for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2696    do
2697      CC="$ac_save_CC $ac_arg"
2698      rm -f conftest.$ac_objext
2699    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2700      (eval $ac_compile) 2>&5
2701      ac_status=$?
2702      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703      (exit $ac_status); } &&
2704             { ac_try='test -s conftest.$ac_objext'
2705      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706      (eval $ac_try) 2>&5
2707      ac_status=$?
2708      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709      (exit $ac_status); }; }; then
2710      ac_cv_prog_cc_stdc=$ac_arg
2711    break
2712    else
2713      echo "$as_me: failed program was:" >&5
2714    sed 's/^/| /' conftest.$ac_ext >&5
2715    
2716    fi
2717    rm -f conftest.$ac_objext
2718    done
2719    rm -f conftest.$ac_ext conftest.$ac_objext
2720    CC=$ac_save_CC
2721    
2722    fi
2723    
2724    case "x$ac_cv_prog_cc_stdc" in
2725      x|xno)
2726        echo "$as_me:$LINENO: result: none needed" >&5
2727    echo "${ECHO_T}none needed" >&6 ;;
2728      *)
2729        echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2730    echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2731        CC="$CC $ac_cv_prog_cc_stdc" ;;
2732    esac
2733    
2734  # Some people use a C++ compiler to compile C.  Since we use `exit',  # Some people use a C++ compiler to compile C.  Since we use `exit',
2735  # in C++ we need to declare it.  In case someone uses the same compiler  # in C++ we need to declare it.  In case someone uses the same compiler
2736  # for both compiling C and C++ we need to have the C++ compiler decide  # for both compiling C and C++ we need to have the C++ compiler decide
# Line 2570  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2754  if { (eval echo "$as_me:$LINENO: \"$ac_c
2754    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2755    for ac_declaration in \    for ac_declaration in \
2756     ''\     ''\
    '#include <stdlib.h>' \  
2757     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
2758     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
2759     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
2760     'extern "C" void exit (int);' \     'extern "C" void exit (int);' \
2761     'void exit (int);'     'void exit (int);' \
2762       '#include <stdlib.h>'
2763  do  do
2764    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2765  #line $LINENO "configure"  #line $LINENO "configure"
2766  #include "confdefs.h"  /* confdefs.h.  */
2767    _ACEOF
2768    cat confdefs.h >>conftest.$ac_ext
2769    cat >>conftest.$ac_ext <<_ACEOF
2770    /* end confdefs.h.  */
2771  #include <stdlib.h>  #include <stdlib.h>
2772  $ac_declaration  $ac_declaration
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2773  int  int
2774  main ()  main ()
2775  {  {
# Line 2611  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2793  if { (eval echo "$as_me:$LINENO: \"$ac_c
2793    :    :
2794  else  else
2795    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2796  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2797    
2798  continue  continue
2799  fi  fi
2800  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2801    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2802  #line $LINENO "configure"  #line $LINENO "configure"
2803  #include "confdefs.h"  /* confdefs.h.  */
2804    _ACEOF
2805    cat confdefs.h >>conftest.$ac_ext
2806    cat >>conftest.$ac_ext <<_ACEOF
2807    /* end confdefs.h.  */
2808  $ac_declaration  $ac_declaration
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2809  int  int
2810  main ()  main ()
2811  {  {
# Line 2648  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2829  if { (eval echo "$as_me:$LINENO: \"$ac_c
2829    break    break
2830  else  else
2831    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2832  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2833    
2834  fi  fi
2835  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2836  done  done
# Line 2661  fi Line 2843  fi
2843    
2844  else  else
2845    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2846  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2847    
2848  fi  fi
2849  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2850  ac_ext=c  ac_ext=c
# Line 2680  fi Line 2863  fi
2863  rmdir .deps 2>/dev/null  rmdir .deps 2>/dev/null
2864    
2865    
2866  ac_config_commands="$ac_config_commands depfiles"            ac_config_commands="$ac_config_commands depfiles"
2867    
2868    
2869  am_make=${MAKE-make}  am_make=${MAKE-make}
# Line 2932  if test "${ac_cv_cxx_compiler_gnu+set}" Line 3115  if test "${ac_cv_cxx_compiler_gnu+set}"
3115  else  else
3116    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3117  #line $LINENO "configure"  #line $LINENO "configure"
3118  #include "confdefs.h"  /* confdefs.h.  */
3119    _ACEOF
3120    cat confdefs.h >>conftest.$ac_ext
3121    cat >>conftest.$ac_ext <<_ACEOF
3122    /* end confdefs.h.  */
3123    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
3124  int  int
3125  main ()  main ()
3126  {  {
# Line 2966  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3147  if { (eval echo "$as_me:$LINENO: \"$ac_c
3147    ac_compiler_gnu=yes    ac_compiler_gnu=yes
3148  else  else
3149    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3150  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3151    
3152  ac_compiler_gnu=no  ac_compiler_gnu=no
3153  fi  fi
3154  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 2986  if test "${ac_cv_prog_cxx_g+set}" = set; Line 3168  if test "${ac_cv_prog_cxx_g+set}" = set;
3168  else  else
3169    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3170  #line $LINENO "configure"  #line $LINENO "configure"
3171  #include "confdefs.h"  /* confdefs.h.  */
3172    _ACEOF
3173    cat confdefs.h >>conftest.$ac_ext
3174    cat >>conftest.$ac_ext <<_ACEOF
3175    /* end confdefs.h.  */
3176    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
3177  int  int
3178  main ()  main ()
3179  {  {
# Line 3017  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3197  if { (eval echo "$as_me:$LINENO: \"$ac_c
3197    ac_cv_prog_cxx_g=yes    ac_cv_prog_cxx_g=yes
3198  else  else
3199    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3200  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3201    
3202  ac_cv_prog_cxx_g=no  ac_cv_prog_cxx_g=no
3203  fi  fi
3204  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 3041  else Line 3222  else
3222  fi  fi
3223  for ac_declaration in \  for ac_declaration in \
3224     ''\     ''\
    '#include <stdlib.h>' \  
3225     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
3226     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
3227     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
3228     'extern "C" void exit (int);' \     'extern "C" void exit (int);' \
3229     'void exit (int);'     'void exit (int);' \
3230       '#include <stdlib.h>'
3231  do  do
3232    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3233  #line $LINENO "configure"  #line $LINENO "configure"
3234  #include "confdefs.h"  /* confdefs.h.  */
3235    _ACEOF
3236    cat confdefs.h >>conftest.$ac_ext
3237    cat >>conftest.$ac_ext <<_ACEOF
3238    /* end confdefs.h.  */
3239  #include <stdlib.h>  #include <stdlib.h>
3240  $ac_declaration  $ac_declaration
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
3241  int  int
3242  main ()  main ()
3243  {  {
# Line 3082  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3261  if { (eval echo "$as_me:$LINENO: \"$ac_c
3261    :    :
3262  else  else
3263    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3264  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3265    
3266  continue  continue
3267  fi  fi
3268  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3269    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3270  #line $LINENO "configure"  #line $LINENO "configure"
3271  #include "confdefs.h"  /* confdefs.h.  */
3272    _ACEOF
3273    cat confdefs.h >>conftest.$ac_ext
3274    cat >>conftest.$ac_ext <<_ACEOF
3275    /* end confdefs.h.  */
3276  $ac_declaration  $ac_declaration
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
3277  int  int
3278  main ()  main ()
3279  {  {
# Line 3119  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3297  if { (eval echo "$as_me:$LINENO: \"$ac_c
3297    break    break
3298  else  else
3299    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3300  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3301    
3302  fi  fi
3303  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3304  done  done
# Line 3371  fi Line 3550  fi
3550  else  else
3551    RANLIB="$ac_cv_prog_RANLIB"    RANLIB="$ac_cv_prog_RANLIB"
3552  fi  fi
3553    # :)  
3554    
3555  # Find a good install program.  We prefer a C program (faster),  # Find a good install program.  We prefer a C program (faster),
3556  # so one script is as good as another.  But avoid the broken or  # so one script is as good as another.  But avoid the broken or
# Line 3515  if test "${enable_cplusplus+set}" = set; Line 3694  if test "${enable_cplusplus+set}" = set;
3694    
3695  fi;  fi;
3696    
3697    # Check whether --enable-cppflags or --disable-cppflags was given.
3698    if test "${enable_cppflags+set}" = set; then
3699      enableval="$enable_cppflags"
3700      CPPFLAGS=$enable_cppflags
3701     ac_env_CPPFLAGS_set=set
3702     ac_env_CPPFLAGS_value=$CPPFLAGS
3703     ac_cv_env_CPPFLAGS_set=set
3704     ac_cv_env_CPPFLAGS_value=$CPPFLAGS
3705    fi;
3706    
3707  INCLUDES=-I${srcdir}/include  INCLUDES=-I${srcdir}/include
3708  THREADLIBS=  THREADLIBS=
3709  case "$THREADS" in  case "$THREADS" in
# Line 3555  _ACEOF Line 3744  _ACEOF
3744  _ACEOF  _ACEOF
3745    
3746          ;;          ;;
3747         *-*-aix*)
3748            cat >>confdefs.h <<\_ACEOF
3749    #define GC_AIX_THREADS 1
3750    _ACEOF
3751    
3752            cat >>confdefs.h <<\_ACEOF
3753    #define _REENTRANT 1
3754    _ACEOF
3755    
3756            ;;
3757       *-*-hpux*)       *-*-hpux*)
3758          { echo "$as_me:$LINENO: WARNING: \"Only HP/UX 11 threads are supported.\"" >&5          { echo "$as_me:$LINENO: WARNING: \"Only HP/UX 11 threads are supported.\"" >&5
3759  echo "$as_me: WARNING: \"Only HP/UX 11 threads are supported.\"" >&2;}  echo "$as_me: WARNING: \"Only HP/UX 11 threads are supported.\"" >&2;}
# Line 3612  _ACEOF Line 3811  _ACEOF
3811          ;;          ;;
3812       *-*-darwin*)       *-*-darwin*)
3813          cat >>confdefs.h <<\_ACEOF          cat >>confdefs.h <<\_ACEOF
3814  #define GC_MACOSX_THREADS 1  #define GC_DARWIN_THREADS 1
3815    _ACEOF
3816    
3817            cat >>confdefs.h <<\_ACEOF
3818    #define THREAD_LOCAL_ALLOC 1
3819    _ACEOF
3820    
3821            if test "${enable_parallel_mark}" = yes; then
3822              cat >>confdefs.h <<\_ACEOF
3823    #define PARALLEL_MARK 1
3824  _ACEOF  _ACEOF
3825    
3826            fi
3827          ;;          ;;
3828       *-*-osf*)       *-*-osf*)
3829          cat >>confdefs.h <<\_ACEOF          cat >>confdefs.h <<\_ACEOF
# Line 3688  echo "$as_me: error: $THREADS is an unkn Line 3897  echo "$as_me: error: $THREADS is an unkn
3897  esac  esac
3898    
3899    
3900    case "$host" in
3901       powerpc-*-darwin*)
3902          powerpc_darwin=true
3903          ;;
3904    esac
3905    
3906    
3907    if test x$powerpc_darwin = xtrue; then
3908      POWERPC_DARWIN_TRUE=
3909      POWERPC_DARWIN_FALSE='#'
3910    else
3911      POWERPC_DARWIN_TRUE='#'
3912      POWERPC_DARWIN_FALSE=
3913    fi
3914    
3915    
3916    # We never want libdl on darwin. It is a fake libdl that just ends up making
3917    # dyld calls anyway
3918    case "$host" in
3919      *-*-darwin*) ;;
3920      *)
3921    
3922  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
3923  echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6  echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
# Line 3698  else Line 3928  else
3928  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
3929  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3930  #line $LINENO "configure"  #line $LINENO "configure"
3931  #include "confdefs.h"  /* confdefs.h.  */
3932    _ACEOF
3933    cat confdefs.h >>conftest.$ac_ext
3934    cat >>conftest.$ac_ext <<_ACEOF
3935    /* end confdefs.h.  */
3936    
3937  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3938  #ifdef __cplusplus  #ifdef __cplusplus
# Line 3707  extern "C" Line 3941  extern "C"
3941  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
3942     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
3943  char dlopen ();  char dlopen ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
3944  int  int
3945  main ()  main ()
3946  {  {
# Line 3736  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 3964  if { (eval echo "$as_me:$LINENO: \"$ac_l
3964    ac_cv_lib_dl_dlopen=yes    ac_cv_lib_dl_dlopen=yes
3965  else  else
3966    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3967  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3968    
3969  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
3970  fi  fi
3971  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 3748  if test $ac_cv_lib_dl_dlopen = yes; then Line 3977  if test $ac_cv_lib_dl_dlopen = yes; then
3977    EXTRA_TEST_LIBS="$EXTRA_TEST_LIBS -ldl"    EXTRA_TEST_LIBS="$EXTRA_TEST_LIBS -ldl"
3978  fi  fi
3979    
3980        ;;
3981    esac
3982    
3983    
3984    
3985  target_all=libgc.la  target_all=libgc.la
# Line 3763  if test "${with_ecos+set}" = set; then Line 3995  if test "${with_ecos+set}" = set; then
3995  fi;  fi;
3996    
3997  addobjs=  addobjs=
3998    addlibs=
3999  addincludes=  addincludes=
4000  addtests=  addtests=
4001  CXXINCLUDES=  CXXINCLUDES=
# Line 3780  _ACEOF Line 4013  _ACEOF
4013  esac  esac
4014    
4015  if test "${enable_cplusplus}" = yes; then  if test "${enable_cplusplus}" = yes; then
       addobjs="$addobjs gc_cpp.lo"  
4016        addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"        addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"
4017        addtests="$addtests test_cpp"        addtests="$addtests test_cpp"
4018  fi  fi
4019    
4020    
4021    
4022    if test "${enable_cplusplus}" = yes; then
4023      CPLUSPLUS_TRUE=
4024      CPLUSPLUS_FALSE='#'
4025    else
4026      CPLUSPLUS_TRUE='#'
4027      CPLUSPLUS_FALSE=
4028    fi
4029    
4030    
4031    
4032    
4033    
4034    
4035    
# Line 3903  addobjs="$addobjs $machdep" Line 4146  addobjs="$addobjs $machdep"
4146    
4147    
4148    
4149    
4150  # Check whether --enable-static or --disable-static was given.  # Check whether --enable-static or --disable-static was given.
4151  if test "${enable_static+set}" = set; then  if test "${enable_static+set}" = set; then
4152    enableval="$enable_static"    enableval="$enable_static"
# Line 4109  NM="$lt_cv_path_NM" Line 4353  NM="$lt_cv_path_NM"
4353  echo "$as_me:$LINENO: result: $NM" >&5  echo "$as_me:$LINENO: result: $NM" >&5
4354  echo "${ECHO_T}$NM" >&6  echo "${ECHO_T}$NM" >&6
4355    
4356    echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4357    echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4358    if test "${lt_cv_path_SED+set}" = set; then
4359      echo $ECHO_N "(cached) $ECHO_C" >&6
4360    else
4361      # Loop through the user's path and test for sed and gsed.
4362    # Then use that list of sed's as ones to test for truncation.
4363    as_executable_p="test -f"
4364    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365    for as_dir in $PATH
4366    do
4367      IFS=$as_save_IFS
4368      test -z "$as_dir" && as_dir=.
4369      for ac_prog in sed gsed; do
4370        for ac_exec_ext in '' $ac_executable_extensions; do
4371          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4372            _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
4373          fi
4374        done
4375      done
4376    done
4377    
4378      # Create a temporary directory, and hook for its removal unless debugging.
4379    $debug ||
4380    {
4381      trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4382      trap '{ (exit 1); exit 1; }' 1 2 13 15
4383    }
4384    
4385    # Create a (secure) tmp directory for tmp files.
4386    : ${TMPDIR=/tmp}
4387    {
4388      tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
4389      test -n "$tmp" && test -d "$tmp"
4390    }  ||
4391    {
4392      tmp=$TMPDIR/sed$$-$RANDOM
4393      (umask 077 && mkdir $tmp)
4394    } ||
4395    {
4396       echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4397       { (exit 1); exit 1; }
4398    }
4399      _max=0
4400      _count=0
4401      # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4402      # along with /bin/sed that truncates output.
4403      for _sed in $_sed_list /usr/xpg4/bin/sed; do
4404        test ! -f ${_sed} && break
4405        cat /dev/null > "$tmp/sed.in"
4406        _count=0
4407        echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
4408        # Check for GNU sed and select it if it is found.
4409        if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
4410          lt_cv_path_SED=${_sed}
4411          break
4412        fi
4413        while true; do
4414          cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
4415          mv "$tmp/sed.tmp" "$tmp/sed.in"
4416          cp "$tmp/sed.in" "$tmp/sed.nl"
4417          echo >>"$tmp/sed.nl"
4418          ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
4419          cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
4420          # 40000 chars as input seems more than enough
4421          test $_count -gt 10 && break
4422          _count=`expr $_count + 1`
4423          if test $_count -gt $_max; then
4424            _max=$_count
4425            lt_cv_path_SED=$_sed
4426          fi
4427        done
4428      done
4429      rm -rf "$tmp"
4430    
4431    fi
4432    
4433    if test "X$SED" != "X"; then
4434      lt_cv_path_SED=$SED
4435    else
4436      SED=$lt_cv_path_SED
4437    fi
4438    echo "$as_me:$LINENO: result: $SED" >&5
4439    echo "${ECHO_T}$SED" >&6
4440    
4441  echo "$as_me:$LINENO: checking whether ln -s works" >&5  echo "$as_me:$LINENO: checking whether ln -s works" >&5
4442  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4443  LN_S=$as_ln_s  LN_S=$as_ln_s
# Line 4120  else Line 4449  else
4449  echo "${ECHO_T}no, using $LN_S" >&6  echo "${ECHO_T}no, using $LN_S" >&6
4450  fi  fi
4451    
4452  echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5  echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4453  echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6  echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4454  if test "${lt_cv_deplibs_check_method+set}" = set; then  if test "${lt_cv_deplibs_check_method+set}" = set; then
4455    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4456  else  else
# Line 4198  hpux10.20*|hpux11*) Line 4527  hpux10.20*|hpux11*)
4527    lt_cv_file_magic_test_file=/usr/lib/libc.sl    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4528    ;;    ;;
4529    
4530  irix5* | irix6*)  irix5* | irix6* | nonstopux*)
4531    case $host_os in    case $host_os in
4532    irix5*)    irix5* | nonstopux*)
4533      # this will be overridden with pass_all, but let us keep it just in case      # this will be overridden with pass_all, but let us keep it just in case
4534      lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"      lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4535      ;;      ;;
# Line 4222  irix5* | irix6*) Line 4551  irix5* | irix6*)
4551  # This must be Linux ELF.  # This must be Linux ELF.
4552  linux-gnu*)  linux-gnu*)
4553    case $host_cpu in    case $host_cpu in
4554    alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )    alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
4555      lt_cv_deplibs_check_method=pass_all ;;      lt_cv_deplibs_check_method=pass_all ;;
4556    *)    *)
4557      # glibc up to 2.1.1 does not perform some relocations on ARM      # glibc up to 2.1.1 does not perform some relocations on ARM
# Line 4293  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) Line 4622  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4622      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4623      lt_cv_file_magic_test_file=/lib/libc.so      lt_cv_file_magic_test_file=/lib/libc.so
4624      ;;      ;;
4625      siemens)
4626        lt_cv_deplibs_check_method=pass_all
4627        ;;
4628    esac    esac
4629    ;;    ;;
4630  esac  esac
# Line 4346  hpux*) # Its linker distinguishes data f Line 4678  hpux*) # Its linker distinguishes data f
4678    lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"    lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4679    lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"    lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
4680    ;;    ;;
4681  irix*)  irix* | nonstopux*)
4682    symcode='[BCDEGRST]'    symcode='[BCDEGRST]'
4683    ;;    ;;
4684    osf*)
4685      symcode='[BCDEGQRST]'
4686      ;;
4687  solaris* | sysv5*)  solaris* | sysv5*)
4688    symcode='[BDT]'    symcode='[BDT]'
4689    ;;    ;;
# Line 4457  EOF Line 4792  EOF
4792    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
4793    ac_status=$?    ac_status=$?
4794    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795    (exit $ac_status); } && test -s conftest; then    (exit $ac_status); } && test -s conftest$ac_exeext; then
4796              pipe_works=yes              pipe_works=yes
4797            fi            fi
4798            LIBS="$save_LIBS"            LIBS="$save_LIBS"
# Line 4527  for ac_c_preproc_warn_flag in '' yes Line 4862  for ac_c_preproc_warn_flag in '' yes
4862  do  do
4863    # Use a header file that comes with gcc, so configuring glibc    # Use a header file that comes with gcc, so configuring glibc
4864    # with a fresh cross-compiler works.    # with a fresh cross-compiler works.
4865      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4866      # <limits.h> exists even on freestanding compilers.
4867    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
4868    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
4869    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4870  #line $LINENO "configure"  #line $LINENO "configure"
4871  #include "confdefs.h"  /* confdefs.h.  */
4872  #include <assert.h>  _ACEOF
4873    cat confdefs.h >>conftest.$ac_ext
4874    cat >>conftest.$ac_ext <<_ACEOF
4875    /* end confdefs.h.  */
4876    #ifdef __STDC__
4877    # include <limits.h>
4878    #else
4879    # include <assert.h>
4880    #endif
4881                       Syntax error                       Syntax error
4882  _ACEOF  _ACEOF
4883  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4884    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4885    ac_status=$?    ac_status=$?
4886    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
4887    rm -f conftest.er1    rm -f conftest.er1
4888    cat conftest.err >&5    cat conftest.err >&5
4889    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 4555  if test -z "$ac_cpp_err"; then Line 4900  if test -z "$ac_cpp_err"; then
4900    :    :
4901  else  else
4902    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4903    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4904    
4905    # Broken: fails on valid input.    # Broken: fails on valid input.
4906  continue  continue
4907  fi  fi
# Line 4565  rm -f conftest.err conftest.$ac_ext Line 4911  rm -f conftest.err conftest.$ac_ext
4911    # can be detected and how.    # can be detected and how.
4912    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4913  #line $LINENO "configure"  #line $LINENO "configure"
4914  #include "confdefs.h"  /* confdefs.h.  */
4915    _ACEOF
4916    cat confdefs.h >>conftest.$ac_ext
4917    cat >>conftest.$ac_ext <<_ACEOF
4918    /* end confdefs.h.  */
4919  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
4920  _ACEOF  _ACEOF
4921  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4922    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4923    ac_status=$?    ac_status=$?
4924    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
4925    rm -f conftest.er1    rm -f conftest.er1
4926    cat conftest.err >&5    cat conftest.err >&5
4927    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 4589  if test -z "$ac_cpp_err"; then Line 4939  if test -z "$ac_cpp_err"; then
4939  continue  continue
4940  else  else
4941    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4942    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4943    
4944    # Passes both tests.    # Passes both tests.
4945  ac_preproc_ok=:  ac_preproc_ok=:
4946  break  break
# Line 4618  for ac_c_preproc_warn_flag in '' yes Line 4969  for ac_c_preproc_warn_flag in '' yes
4969  do  do
4970    # Use a header file that comes with gcc, so configuring glibc    # Use a header file that comes with gcc, so configuring glibc
4971    # with a fresh cross-compiler works.    # with a fresh cross-compiler works.
4972      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4973      # <limits.h> exists even on freestanding compilers.
4974    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
4975    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
4976    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4977  #line $LINENO "configure"  #line $LINENO "configure"
4978  #include "confdefs.h"  /* confdefs.h.  */
4979  #include <assert.h>  _ACEOF
4980    cat confdefs.h >>conftest.$ac_ext
4981    cat >>conftest.$ac_ext <<_ACEOF
4982    /* end confdefs.h.  */
4983    #ifdef __STDC__
4984    # include <limits.h>
4985    #else
4986    # include <assert.h>
4987    #endif
4988                       Syntax error                       Syntax error
4989  _ACEOF  _ACEOF
4990  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4991    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4992    ac_status=$?    ac_status=$?
4993    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
4994    rm -f conftest.er1    rm -f conftest.er1
4995    cat conftest.err >&5    cat conftest.err >&5
4996    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 4646  if test -z "$ac_cpp_err"; then Line 5007  if test -z "$ac_cpp_err"; then
5007    :    :
5008  else  else
5009    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5010    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5011    
5012    # Broken: fails on valid input.    # Broken: fails on valid input.
5013  continue  continue
5014  fi  fi
# Line 4656  rm -f conftest.err conftest.$ac_ext Line 5018  rm -f conftest.err conftest.$ac_ext
5018    # can be detected and how.    # can be detected and how.
5019    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5020  #line $LINENO "configure"  #line $LINENO "configure"
5021  #include "confdefs.h"  /* confdefs.h.  */
5022    _ACEOF
5023    cat confdefs.h >>conftest.$ac_ext
5024    cat >>conftest.$ac_ext <<_ACEOF
5025    /* end confdefs.h.  */
5026  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
5027  _ACEOF  _ACEOF
5028  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5029    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5030    ac_status=$?    ac_status=$?
5031    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
5032    rm -f conftest.er1    rm -f conftest.er1
5033    cat conftest.err >&5    cat conftest.err >&5
5034    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 4680  if test -z "$ac_cpp_err"; then Line 5046  if test -z "$ac_cpp_err"; then
5046  continue  continue
5047  else  else
5048    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5049    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5050    
5051    # Passes both tests.    # Passes both tests.
5052  ac_preproc_ok=:  ac_preproc_ok=:
5053  break  break
# Line 4693  rm -f conftest.err conftest.$ac_ext Line 5060  rm -f conftest.err conftest.$ac_ext
5060  if $ac_preproc_ok; then  if $ac_preproc_ok; then
5061    :    :
5062  else  else
5063    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5064  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  See \`config.log' for more details." >&5
5065    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5066    See \`config.log' for more details." >&2;}
5067     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5068  fi  fi
5069    
# Line 4705  ac_link='$CC -o conftest$ac_exeext $CFLA Line 5074  ac_link='$CC -o conftest$ac_exeext $CFLA
5074  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
5075    
5076    
5077    echo "$as_me:$LINENO: checking for egrep" >&5
5078    echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5079    if test "${ac_cv_prog_egrep+set}" = set; then
5080      echo $ECHO_N "(cached) $ECHO_C" >&6
5081    else
5082      if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5083        then ac_cv_prog_egrep='grep -E'
5084        else ac_cv_prog_egrep='egrep'
5085        fi
5086    fi
5087    echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5088    echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5089     EGREP=$ac_cv_prog_egrep
5090    
5091    
5092  echo "$as_me:$LINENO: checking for ANSI C header files" >&5  echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5093  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5094  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
# Line 4712  if test "${ac_cv_header_stdc+set}" = set Line 5096  if test "${ac_cv_header_stdc+set}" = set
5096  else  else
5097    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5098  #line $LINENO "configure"  #line $LINENO "configure"
5099  #include "confdefs.h"  /* confdefs.h.  */
5100    _ACEOF
5101    cat confdefs.h >>conftest.$ac_ext
5102    cat >>conftest.$ac_ext <<_ACEOF
5103    /* end confdefs.h.  */
5104  #include <stdlib.h>  #include <stdlib.h>
5105  #include <stdarg.h>  #include <stdarg.h>
5106  #include <string.h>  #include <string.h>
5107  #include <float.h>  #include <float.h>
5108    
5109    int
5110    main ()
5111    {
5112    
5113      ;
5114      return 0;
5115    }
5116  _ACEOF  _ACEOF
5117  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  rm -f conftest.$ac_objext
5118    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5119      (eval $ac_compile) 2>&5
5120    ac_status=$?    ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
5121    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } &&
5123    if test -s conftest.err; then           { ac_try='test -s conftest.$ac_objext'
5124      ac_cpp_err=$ac_c_preproc_warn_flag    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5125    else    (eval $ac_try) 2>&5
5126      ac_cpp_err=    ac_status=$?
5127    fi    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128  else    (exit $ac_status); }; }; then
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
5129    ac_cv_header_stdc=yes    ac_cv_header_stdc=yes
5130  else  else
5131    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5132    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5133    ac_cv_header_stdc=no  
5134    ac_cv_header_stdc=no
5135  fi  fi
5136  rm -f conftest.err conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5137    
5138  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5139    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5140    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5141  #line $LINENO "configure"  #line $LINENO "configure"
5142  #include "confdefs.h"  /* confdefs.h.  */
5143    _ACEOF
5144    cat confdefs.h >>conftest.$ac_ext
5145    cat >>conftest.$ac_ext <<_ACEOF
5146    /* end confdefs.h.  */
5147  #include <string.h>  #include <string.h>
5148    
5149  _ACEOF  _ACEOF
5150  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5151    egrep "memchr" >/dev/null 2>&1; then    $EGREP "memchr" >/dev/null 2>&1; then
5152    :    :
5153  else  else
5154    ac_cv_header_stdc=no    ac_cv_header_stdc=no
# Line 4766  if test $ac_cv_header_stdc = yes; then Line 5161  if test $ac_cv_header_stdc = yes; then
5161    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5162    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5163  #line $LINENO "configure"  #line $LINENO "configure"
5164  #include "confdefs.h"  /* confdefs.h.  */
5165    _ACEOF
5166    cat confdefs.h >>conftest.$ac_ext
5167    cat >>conftest.$ac_ext <<_ACEOF
5168    /* end confdefs.h.  */
5169  #include <stdlib.h>  #include <stdlib.h>
5170    
5171  _ACEOF  _ACEOF
5172  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5173    egrep "free" >/dev/null 2>&1; then    $EGREP "free" >/dev/null 2>&1; then
5174    :    :
5175  else  else
5176    ac_cv_header_stdc=no    ac_cv_header_stdc=no
# Line 4787  if test $ac_cv_header_stdc = yes; then Line 5186  if test $ac_cv_header_stdc = yes; then
5186  else  else
5187    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5188  #line $LINENO "configure"  #line $LINENO "configure"
5189  #include "confdefs.h"  /* confdefs.h.  */
5190    _ACEOF
5191    cat confdefs.h >>conftest.$ac_ext
5192    cat >>conftest.$ac_ext <<_ACEOF
5193    /* end confdefs.h.  */
5194  #include <ctype.h>  #include <ctype.h>
5195  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
5196  # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5197  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5198  #else  #else
5199  # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \  # define ISLOWER(c) \
5200                       (('a' <= (c) && (c) <= 'i') \
5201                       || ('j' <= (c) && (c) <= 'r') \                       || ('j' <= (c) && (c) <= 'r') \
5202                       || ('s' <= (c) && (c) <= 'z'))                       || ('s' <= (c) && (c) <= 'z'))
5203  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
# Line 4826  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 5230  if { (eval echo "$as_me:$LINENO: \"$ac_l
5230  else  else
5231    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
5232  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
5233  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5234    
5235  ( exit $ac_status )  ( exit $ac_status )
5236  ac_cv_header_stdc=no  ac_cv_header_stdc=no
5237  fi  fi
5238  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5239  fi  fi
5240  fi  fi
5241  fi  fi
# Line 4865  if eval "test \"\${$as_ac_Header+set}\" Line 5270  if eval "test \"\${$as_ac_Header+set}\"
5270  else  else
5271    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5272  #line $LINENO "configure"  #line $LINENO "configure"
5273  #include "confdefs.h"  /* confdefs.h.  */
5274    _ACEOF
5275    cat confdefs.h >>conftest.$ac_ext
5276    cat >>conftest.$ac_ext <<_ACEOF
5277    /* end confdefs.h.  */
5278  $ac_includes_default  $ac_includes_default
5279    
5280  #include <$ac_header>  #include <$ac_header>
# Line 4885  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5294  if { (eval echo "$as_me:$LINENO: \"$ac_c
5294    eval "$as_ac_Header=yes"    eval "$as_ac_Header=yes"
5295  else  else
5296    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5297  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5298    
5299  eval "$as_ac_Header=no"  eval "$as_ac_Header=no"
5300  fi  fi
5301  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 4920  echo "$as_me:$LINENO: checking $ac_heade Line 5330  echo "$as_me:$LINENO: checking $ac_heade
5330  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5331  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5332  #line $LINENO "configure"  #line $LINENO "configure"
5333  #include "confdefs.h"  /* confdefs.h.  */
5334    _ACEOF
5335    cat confdefs.h >>conftest.$ac_ext
5336    cat >>conftest.$ac_ext <<_ACEOF
5337    /* end confdefs.h.  */
5338  $ac_includes_default  $ac_includes_default
5339  #include <$ac_header>  #include <$ac_header>
5340  _ACEOF  _ACEOF
# Line 4939  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5353  if { (eval echo "$as_me:$LINENO: \"$ac_c
5353    ac_header_compiler=yes    ac_header_compiler=yes
5354  else  else
5355    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5356  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5357    
5358  ac_header_compiler=no  ac_header_compiler=no
5359  fi  fi
5360  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 4951  echo "$as_me:$LINENO: checking $ac_heade Line 5366  echo "$as_me:$LINENO: checking $ac_heade
5366  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5367  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5368  #line $LINENO "configure"  #line $LINENO "configure"
5369  #include "confdefs.h"  /* confdefs.h.  */
5370    _ACEOF
5371    cat confdefs.h >>conftest.$ac_ext
5372    cat >>conftest.$ac_ext <<_ACEOF
5373    /* end confdefs.h.  */
5374  #include <$ac_header>  #include <$ac_header>
5375  _ACEOF  _ACEOF
5376  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5377    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5378    ac_status=$?    ac_status=$?
5379    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
5380    rm -f conftest.er1    rm -f conftest.er1
5381    cat conftest.err >&5    cat conftest.err >&5
5382    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 4974  if test -z "$ac_cpp_err"; then Line 5393  if test -z "$ac_cpp_err"; then
5393    ac_header_preproc=yes    ac_header_preproc=yes
5394  else  else
5395    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5396    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5397    
5398    ac_header_preproc=no    ac_header_preproc=no
5399  fi  fi
5400  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
# Line 4987  case $ac_header_compiler:$ac_header_prep Line 5407  case $ac_header_compiler:$ac_header_prep
5407      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5408  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5409      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5410  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5411        (
5412          cat <<\_ASBOX
5413    ## ------------------------------------ ##
5414    ## Report this to bug-autoconf@gnu.org. ##
5415    ## ------------------------------------ ##
5416    _ASBOX
5417        ) |
5418          sed "s/^/$as_me: WARNING:     /" >&2
5419        ;;
5420    no:yes )    no:yes )
5421      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5422  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5423      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5424  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5425      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5426  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5427        (
5428          cat <<\_ASBOX
5429    ## ------------------------------------ ##
5430    ## Report this to bug-autoconf@gnu.org. ##
5431    ## ------------------------------------ ##
5432    _ASBOX
5433        ) |
5434          sed "s/^/$as_me: WARNING:     /" >&2
5435        ;;
5436  esac  esac
5437  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
5438  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
# Line 5020  done Line 5458  done
5458    
5459    
5460    
5461    
5462  # Only perform the check for file, if the check method requires it  # Only perform the check for file, if the check method requires it
5463  case $deplibs_check_method in  case $deplibs_check_method in
5464  file_magic*)  file_magic*)
# Line 5335  test "x$enable_libtool_lock" != xno && e Line 5774  test "x$enable_libtool_lock" != xno && e
5774  case $host in  case $host in
5775  *-*-irix6*)  *-*-irix6*)
5776    # Find out which ABI we are using.    # Find out which ABI we are using.
5777    echo '#line 5338 "configure"' > conftest.$ac_ext    echo '#line 5777 "configure"' > conftest.$ac_ext
5778    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5779    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5780    ac_status=$?    ac_status=$?
# Line 5375  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 5814  ac_compiler_gnu=$ac_cv_c_compiler_gnu
5814    
5815       cat >conftest.$ac_ext <<_ACEOF       cat >conftest.$ac_ext <<_ACEOF
5816  #line $LINENO "configure"  #line $LINENO "configure"
5817  #include "confdefs.h"  /* confdefs.h.  */
5818    _ACEOF
5819    cat confdefs.h >>conftest.$ac_ext
5820    cat >>conftest.$ac_ext <<_ACEOF
5821    /* end confdefs.h.  */
5822    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5823  int  int
5824  main ()  main ()
5825  {  {
# Line 5406  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 5843  if { (eval echo "$as_me:$LINENO: \"$ac_l
5843    lt_cv_cc_needs_belf=yes    lt_cv_cc_needs_belf=yes
5844  else  else
5845    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5846  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5847    
5848  lt_cv_cc_needs_belf=no  lt_cv_cc_needs_belf=no
5849  fi  fi
5850  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 5578  else Line 6016  else
6016        # like `-m68040'.        # like `-m68040'.
6017        lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'        lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
6018        ;;        ;;
6019      beos* | irix5* | irix6* | osf3* | osf4* | osf5*)      beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6020        # PIC is the default for these OSes.        # PIC is the default for these OSes.
6021        ;;        ;;
6022      darwin* | rhapsody*)      darwin* | rhapsody*)
# Line 5621  else Line 6059  else
6059        lt_cv_prog_cc_pic='+Z'        lt_cv_prog_cc_pic='+Z'
6060        ;;        ;;
6061    
6062      irix5* | irix6*)      irix5* | irix6* | nonstopux*)
6063        lt_cv_prog_cc_wl='-Wl,'        lt_cv_prog_cc_wl='-Wl,'
6064        lt_cv_prog_cc_static='-non_shared'        lt_cv_prog_cc_static='-non_shared'
6065        # PIC (with -KPIC) is the default.        # PIC (with -KPIC) is the default.
# Line 5665  else Line 6103  else
6103      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6104        lt_cv_prog_cc_pic='-KPIC'        lt_cv_prog_cc_pic='-KPIC'
6105        lt_cv_prog_cc_static='-Bstatic'        lt_cv_prog_cc_static='-Bstatic'
6106        if test "x$host_vendor" = xsni; then        lt_cv_prog_cc_wl='-Wl,'
         lt_cv_prog_cc_wl='-LD'  
       else  
         lt_cv_prog_cc_wl='-Wl,'  
       fi  
6107        ;;        ;;
6108    
6109      uts4*)      uts4*)
# Line 5709  else Line 6143  else
6143      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
6144      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
6145  #line $LINENO "configure"  #line $LINENO "configure"
6146  #include "confdefs.h"  /* confdefs.h.  */
6147    _ACEOF
6148    cat confdefs.h >>conftest.$ac_ext
6149    cat >>conftest.$ac_ext <<_ACEOF
6150    /* end confdefs.h.  */
6151    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
6152  int  int
6153  main ()  main ()
6154  {  {
# Line 5755  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6187  if { (eval echo "$as_me:$LINENO: \"$ac_c
6187    
6188  else  else
6189    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6190  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6191    
6192        lt_cv_prog_cc_pic_works=no        lt_cv_prog_cc_pic_works=no
6193    
6194  fi  fi
# Line 5798  else Line 6231  else
6231    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
6232    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6233  #line $LINENO "configure"  #line $LINENO "configure"
6234  #include "confdefs.h"  /* confdefs.h.  */
6235    _ACEOF
6236    cat confdefs.h >>conftest.$ac_ext
6237    cat >>conftest.$ac_ext <<_ACEOF
6238    /* end confdefs.h.  */
6239    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
6240  int  int
6241  main ()  main ()
6242  {  {
# Line 5829  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 6260  if { (eval echo "$as_me:$LINENO: \"$ac_l
6260    lt_cv_prog_cc_static_works=yes    lt_cv_prog_cc_static_works=yes
6261  else  else
6262    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6263  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6264    
6265  fi  fi
6266  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6267    LDFLAGS="$save_LDFLAGS"    LDFLAGS="$save_LDFLAGS"
# Line 5871  chmod -w . Line 6303  chmod -w .
6303  save_CFLAGS="$CFLAGS"  save_CFLAGS="$CFLAGS"
6304  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
6305  compiler_c_o=no  compiler_c_o=no
6306  if { (eval echo configure:5874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then  if { (eval echo configure:6306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
6307    # The compiler can only warn and ignore the option if not recognized    # The compiler can only warn and ignore the option if not recognized
6308    # So say no if there are warnings    # So say no if there are warnings
6309    if test -s out/conftest.err; then    if test -s out/conftest.err; then
# Line 5913  else Line 6345  else
6345    ac_objext=lo    ac_objext=lo
6346    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6347  #line $LINENO "configure"  #line $LINENO "configure"
6348  #include "confdefs.h"  /* confdefs.h.  */
6349    _ACEOF
6350    cat confdefs.h >>conftest.$ac_ext
6351    cat >>conftest.$ac_ext <<_ACEOF
6352    /* end confdefs.h.  */
6353    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
6354  int  int
6355  main ()  main ()
6356  {  {
# Line 5951  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6381  if { (eval echo "$as_me:$LINENO: \"$ac_c
6381    
6382  else  else
6383    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6384  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6385    
6386  fi  fi
6387  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6388    ac_objext="$save_objext"    ac_objext="$save_objext"
# Line 5999  echo $ECHO_N "checking if $compiler supp Line 6430  echo $ECHO_N "checking if $compiler supp
6430    compiler_rtti_exceptions=no    compiler_rtti_exceptions=no
6431    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6432  #line $LINENO "configure"  #line $LINENO "configure"
6433  #include "confdefs.h"  /* confdefs.h.  */
6434    _ACEOF
6435    cat confdefs.h >>conftest.$ac_ext
6436    cat >>conftest.$ac_ext <<_ACEOF
6437    /* end confdefs.h.  */
6438    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
6439  int  int
6440  main ()  main ()
6441  {  {
# Line 6037  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6466  if { (eval echo "$as_me:$LINENO: \"$ac_c
6466    
6467  else  else
6468    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6469  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6470    
6471  fi  fi
6472  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6473    CFLAGS="$save_CFLAGS"    CFLAGS="$save_CFLAGS"
# Line 6209  EOF Line 6639  EOF
6639      # If the export-symbols file already is a .def file (1st line      # If the export-symbols file already is a .def file (1st line
6640      # is EXPORTS), use it as is.      # is EXPORTS), use it as is.
6641      # If DATA tags from a recent dlltool are present, honour them!      # If DATA tags from a recent dlltool are present, honour them!
6642      archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then      archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
6643          cp $export_symbols $output_objdir/$soname-def;          cp $export_symbols $output_objdir/$soname-def;
6644        else        else
6645          echo EXPORTS > $output_objdir/$soname-def;          echo EXPORTS > $output_objdir/$soname-def;
# Line 6218  EOF Line 6648  EOF
6648           set dummy \$symbol;           set dummy \$symbol;
6649           case \$# in           case \$# in
6650             2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;             2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
6651               4) echo "   \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
6652             *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;             *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
6653           esac;           esac;
6654           _lt_hint=`expr 1 + \$_lt_hint`;           _lt_hint=`expr 1 + \$_lt_hint`;
# Line 6330  else Line 6761  else
6761        # need to do runtime linking.        # need to do runtime linking.
6762        case $host_os in aix4.[23]|aix4.[23].*|aix5*)        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6763          for ld_flag in $LDFLAGS; do          for ld_flag in $LDFLAGS; do
6764            if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then            case $ld_flag in
6765              *-brtl*)
6766              aix_use_runtimelinking=yes              aix_use_runtimelinking=yes
6767              break              break
6768            fi            ;;
6769              esac
6770          done          done
6771        esac        esac
6772    
# Line 6447  else Line 6880  else
6880      esac      esac
6881      # FIXME: Relying on posixy $() will cause problems for      # FIXME: Relying on posixy $() will cause problems for
6882      #        cross-compilation, but unfortunately the echo tests do not      #        cross-compilation, but unfortunately the echo tests do not
6883      #        yet detect zsh echo's removal of \ escapes.      #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
6884      archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'      #        `"' quotes if we put them in here... so don't!
6885        archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
6886      # We need to add '_' to the symbols in $export_symbols first      # We need to add '_' to the symbols in $export_symbols first
6887      #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'      #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
6888      hardcode_direct=yes      hardcode_direct=yes
# Line 6500  else Line 6934  else
6934      export_dynamic_flag_spec='${wl}-E'      export_dynamic_flag_spec='${wl}-E'
6935      ;;      ;;
6936    
6937    irix5* | irix6*)    irix5* | irix6* | nonstopux*)
6938      if test "$GCC" = yes; then      if test "$GCC" = yes; then
6939        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'        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'
6940          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6941      else      else
6942        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'        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'
6943          hardcode_libdir_flag_spec='-rpath $libdir'
6944      fi      fi
     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'  
6945      hardcode_libdir_separator=:      hardcode_libdir_separator=:
6946      link_all_deplibs=yes      link_all_deplibs=yes
6947      ;;      ;;
# Line 6534  else Line 6969  else
6969      hardcode_direct=yes      hardcode_direct=yes
6970      hardcode_shlibpath_var=no      hardcode_shlibpath_var=no
6971      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6972        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6973        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6974        export_dynamic_flag_spec='${wl}-E'        export_dynamic_flag_spec='${wl}-E'
6975      else      else
# Line 6544  else Line 6979  else
6979          hardcode_libdir_flag_spec='-R$libdir'          hardcode_libdir_flag_spec='-R$libdir'
6980          ;;          ;;
6981        *)        *)
6982          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6983          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6984          ;;          ;;
6985        esac        esac
# Line 6656  EOF Line 7091  EOF
7091      ;;      ;;
7092    
7093    sysv4)    sysv4)
7094      if test "x$host_vendor" = xsno; then      case $host_vendor in
7095        archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'        sni)
7096        hardcode_direct=yes # is this really true???          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7097      else          hardcode_direct=yes # is this really true???
7098        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'          ;;
7099        hardcode_direct=no #Motorola manual says yes, but my tests say they lie        siemens)
7100      fi          ## LD is ld it makes a PLAMLIB
7101            ## CC just makes a GrossModule.
7102            archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7103            reload_cmds='$CC -r -o $output$reload_objs'
7104            hardcode_direct=no
7105            ;;
7106          motorola)
7107            archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7108            hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7109            ;;
7110        esac
7111      runpath_var='LD_RUN_PATH'      runpath_var='LD_RUN_PATH'
7112      hardcode_shlibpath_var=no      hardcode_shlibpath_var=no
7113      ;;      ;;
# Line 6810  aix3*) Line 7255  aix3*)
7255    
7256  aix4* | aix5*)  aix4* | aix5*)
7257    version_type=linux    version_type=linux
7258      need_lib_prefix=no
7259      need_version=no
7260      hardcode_into_libs=yes
7261    if test "$host_cpu" = ia64; then    if test "$host_cpu" = ia64; then
7262      # AIX 5 supports IA64      # AIX 5 supports IA64
7263      library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'      library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
# Line 6848  aix4* | aix5*) Line 7296  aix4* | aix5*)
7296      fi      fi
7297      shlibpath_var=LIBPATH      shlibpath_var=LIBPATH
7298    fi    fi
7299      hardcode_into_libs=yes
7300    ;;    ;;
7301    
7302  amigaos*)  amigaos*)
# Line 6895  cygwin* | mingw* | pw32*) Line 7344  cygwin* | mingw* | pw32*)
7344      ;;      ;;
7345    yes,mingw*)    yes,mingw*)
7346      library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'      library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
7347      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
7348      ;;      ;;
7349    yes,pw32*)    yes,pw32*)
7350      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
# Line 6927  freebsd1*) Line 7376  freebsd1*)
7376    dynamic_linker=no    dynamic_linker=no
7377    ;;    ;;
7378    
7379    freebsd*-gnu*)
7380      version_type=linux
7381      need_lib_prefix=no
7382      need_version=no
7383      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7384      soname_spec='${libname}${release}.so$major'
7385      shlibpath_var=LD_LIBRARY_PATH
7386      shlibpath_overrides_runpath=no
7387      hardcode_into_libs=yes
7388      dynamic_linker='GNU/FreeBSD ld.so'
7389      ;;
7390    
7391  freebsd*)  freebsd*)
7392    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7393    version_type=freebsd-$objformat    version_type=freebsd-$objformat
# Line 6978  hpux9* | hpux10* | hpux11*) Line 7439  hpux9* | hpux10* | hpux11*)
7439    postinstall_cmds='chmod 555 $lib'    postinstall_cmds='chmod 555 $lib'
7440    ;;    ;;
7441    
7442  irix5* | irix6*)  irix5* | irix6* | nonstopux*)
7443    version_type=irix    case $host_os in
7444        nonstopux*) version_type=nonstopux ;;
7445        *)          version_type=irix ;;
7446      esac
7447    need_lib_prefix=no    need_lib_prefix=no
7448    need_version=no    need_version=no
7449    soname_spec='${libname}${release}.so$major'    soname_spec='${libname}${release}.so$major'
7450    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
7451    case $host_os in    case $host_os in
7452    irix5*)    irix5* | nonstopux*)
7453      libsuff= shlibsuff=      libsuff= shlibsuff=
7454      ;;      ;;
7455    *)    *)
# Line 7089  os2*) Line 7553  os2*)
7553  osf3* | osf4* | osf5*)  osf3* | osf4* | osf5*)
7554    version_type=osf    version_type=osf
7555    need_version=no    need_version=no
7556    soname_spec='${libname}${release}.so'    need_lib_prefix=no
7557    library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'    soname_spec='${libname}${release}.so$major'
7558      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7559    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
7560    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7561    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7562      hardcode_into_libs=yes
7563    ;;    ;;
7564    
7565  sco3.2v5*)  sco3.2v5*)
# Line 7136  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) Line 7602  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7602    case $host_vendor in    case $host_vendor in
7603      sni)      sni)
7604        shlibpath_overrides_runpath=no        shlibpath_overrides_runpath=no
7605          need_lib_prefix=no
7606          export_dynamic_flag_spec='${wl}-Blargedynsym'
7607          runpath_var=LD_RUN_PATH
7608          ;;
7609        siemens)
7610          need_lib_prefix=no
7611        ;;        ;;
7612      motorola)      motorola)
7613        need_lib_prefix=no        need_lib_prefix=no
# Line 7258  if test "${ac_cv_func_shl_load+set}" = s Line 7730  if test "${ac_cv_func_shl_load+set}" = s
7730  else  else
7731    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7732  #line $LINENO "configure"  #line $LINENO "configure"
7733  #include "confdefs.h"  /* confdefs.h.  */
7734    _ACEOF
7735    cat confdefs.h >>conftest.$ac_ext
7736    cat >>conftest.$ac_ext <<_ACEOF
7737    /* end confdefs.h.  */
7738  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7739      which can conflict with char shl_load (); below.  */      which can conflict with char shl_load (); below.
7740  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7741        <limits.h> exists even on freestanding compilers.  */
7742    #ifdef __STDC__
7743    # include <limits.h>
7744    #else
7745    # include <assert.h>
7746    #endif
7747  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7748  #ifdef __cplusplus  #ifdef __cplusplus
7749  extern "C"  extern "C"
7750    {
7751  #endif  #endif
7752  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
7753     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
7754  char shl_load ();  char shl_load ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
7755  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
7756      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
7757      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
7758  #if defined (__stub_shl_load) || defined (__stub___shl_load)  #if defined (__stub_shl_load) || defined (__stub___shl_load)
7759  choke me  choke me
7760  #else  #else
7761  f = shl_load;  char (*f) () = shl_load;
7762    #endif
7763    #ifdef __cplusplus
7764    }
7765  #endif  #endif
7766    
7767    int
7768    main ()
7769    {
7770    return f != shl_load;
7771    ;    ;
7772    return 0;    return 0;
7773  }  }
# Line 7308  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 7787  if { (eval echo "$as_me:$LINENO: \"$ac_l
7787    ac_cv_func_shl_load=yes    ac_cv_func_shl_load=yes
7788  else  else
7789    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7790  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7791    
7792  ac_cv_func_shl_load=no  ac_cv_func_shl_load=no
7793  fi  fi
7794  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7327  else Line 7807  else
7807  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
7808  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7809  #line $LINENO "configure"  #line $LINENO "configure"
7810  #include "confdefs.h"  /* confdefs.h.  */
7811    _ACEOF
7812    cat confdefs.h >>conftest.$ac_ext
7813    cat >>conftest.$ac_ext <<_ACEOF
7814    /* end confdefs.h.  */
7815    
7816  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7817  #ifdef __cplusplus  #ifdef __cplusplus
# Line 7336  extern "C" Line 7820  extern "C"
7820  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
7821     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
7822  char shl_load ();  char shl_load ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
7823  int  int
7824  main ()  main ()
7825  {  {
# Line 7365  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 7843  if { (eval echo "$as_me:$LINENO: \"$ac_l
7843    ac_cv_lib_dld_shl_load=yes    ac_cv_lib_dld_shl_load=yes
7844  else  else
7845    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7846  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7847    
7848  ac_cv_lib_dld_shl_load=no  ac_cv_lib_dld_shl_load=no
7849  fi  fi
7850  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7383  if test "${ac_cv_func_dlopen+set}" = set Line 7862  if test "${ac_cv_func_dlopen+set}" = set
7862  else  else
7863    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7864  #line $LINENO "configure"  #line $LINENO "configure"
7865  #include "confdefs.h"  /* confdefs.h.  */
7866    _ACEOF
7867    cat confdefs.h >>conftest.$ac_ext
7868    cat >>conftest.$ac_ext <<_ACEOF
7869    /* end confdefs.h.  */
7870  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7871      which can conflict with char dlopen (); below.  */      which can conflict with char dlopen (); below.
7872  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7873        <limits.h> exists even on freestanding compilers.  */
7874    #ifdef __STDC__
7875    # include <limits.h>
7876    #else
7877    # include <assert.h>
7878    #endif
7879  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7880  #ifdef __cplusplus  #ifdef __cplusplus
7881  extern "C"  extern "C"
7882    {
7883  #endif  #endif
7884  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
7885     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
7886  char dlopen ();  char dlopen ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
7887  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
7888      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
7889      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
7890  #if defined (__stub_dlopen) || defined (__stub___dlopen)  #if defined (__stub_dlopen) || defined (__stub___dlopen)
7891  choke me  choke me
7892  #else  #else
7893  f = dlopen;  char (*f) () = dlopen;
7894    #endif
7895    #ifdef __cplusplus
7896    }
7897  #endif  #endif
7898    
7899    int
7900    main ()
7901    {
7902    return f != dlopen;
7903    ;    ;
7904    return 0;    return 0;
7905  }  }
# Line 7433  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 7919  if { (eval echo "$as_me:$LINENO: \"$ac_l
7919    ac_cv_func_dlopen=yes    ac_cv_func_dlopen=yes
7920  else  else
7921    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7922  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7923    
7924  ac_cv_func_dlopen=no  ac_cv_func_dlopen=no
7925  fi  fi
7926  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7452  else Line 7939  else
7939  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
7940  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7941  #line $LINENO "configure"  #line $LINENO "configure"
7942  #include "confdefs.h"  /* confdefs.h.  */
7943    _ACEOF
7944    cat confdefs.h >>conftest.$ac_ext
7945    cat >>conftest.$ac_ext <<_ACEOF
7946    /* end confdefs.h.  */
7947    
7948  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7949  #ifdef __cplusplus  #ifdef __cplusplus
# Line 7461  extern "C" Line 7952  extern "C"
7952  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
7953     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
7954  char dlopen ();  char dlopen ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
7955  int  int
7956  main ()  main ()
7957  {  {
# Line 7490  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 7975  if { (eval echo "$as_me:$LINENO: \"$ac_l
7975    ac_cv_lib_dl_dlopen=yes    ac_cv_lib_dl_dlopen=yes
7976  else  else
7977    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7978  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7979    
7980  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
7981  fi  fi
7982  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7510  else Line 7996  else
7996  LIBS="-lsvld  $LIBS"  LIBS="-lsvld  $LIBS"
7997  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7998  #line $LINENO "configure"  #line $LINENO "configure"
7999  #include "confdefs.h"  /* confdefs.h.  */
8000    _ACEOF
8001    cat confdefs.h >>conftest.$ac_ext
8002    cat >>conftest.$ac_ext <<_ACEOF
8003    /* end confdefs.h.  */
8004    
8005  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8006  #ifdef __cplusplus  #ifdef __cplusplus
# Line 7519  extern "C" Line 8009  extern "C"
8009  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
8010     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
8011  char dlopen ();  char dlopen ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
8012  int  int
8013  main ()  main ()
8014  {  {
# Line 7548  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8032  if { (eval echo "$as_me:$LINENO: \"$ac_l
8032    ac_cv_lib_svld_dlopen=yes    ac_cv_lib_svld_dlopen=yes
8033  else  else
8034    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8035  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8036    
8037  ac_cv_lib_svld_dlopen=no  ac_cv_lib_svld_dlopen=no
8038  fi  fi
8039  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7568  else Line 8053  else
8053  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
8054  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8055  #line $LINENO "configure"  #line $LINENO "configure"
8056  #include "confdefs.h"  /* confdefs.h.  */
8057    _ACEOF
8058    cat confdefs.h >>conftest.$ac_ext
8059    cat >>conftest.$ac_ext <<_ACEOF
8060    /* end confdefs.h.  */
8061    
8062  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8063  #ifdef __cplusplus  #ifdef __cplusplus
# Line 7577  extern "C" Line 8066  extern "C"
8066  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
8067     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
8068  char dld_link ();  char dld_link ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
8069  int  int
8070  main ()  main ()
8071  {  {
# Line 7606  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8089  if { (eval echo "$as_me:$LINENO: \"$ac_l
8089    ac_cv_lib_dld_dld_link=yes    ac_cv_lib_dld_dld_link=yes
8090  else  else
8091    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8092  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8093    
8094  ac_cv_lib_dld_dld_link=no  ac_cv_lib_dld_dld_link=no
8095  fi  fi
8096  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7664  else Line 8148  else
8148      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8149    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
8150    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8151  #line 7667 "configure"  #line 8151 "configure"
8152  #include "confdefs.h"  #include "confdefs.h"
8153    
8154  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 7762  else Line 8246  else
8246      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8247    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
8248    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
8249  #line 7765 "configure"  #line 8249 "configure"
8250  #include "confdefs.h"  #include "confdefs.h"
8251    
8252  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 7945  if test -f "$ltmain"; then Line 8429  if test -f "$ltmain"; then
8429    # Now quote all the things that may contain metacharacters while being    # Now quote all the things that may contain metacharacters while being
8430    # careful not to overquote the AC_SUBSTed values.  We take copies of the    # careful not to overquote the AC_SUBSTed values.  We take copies of the
8431    # variables and quote the copies for generation of the libtool script.    # variables and quote the copies for generation of the libtool script.
8432    for var in echo old_CC old_CFLAGS \    for var in echo old_CC old_CFLAGS SED \
8433      AR AR_FLAGS CC LD LN_S NM SHELL \      AR AR_FLAGS CC LD LN_S NM SHELL \
8434      reload_flag reload_cmds wl \      reload_flag reload_cmds wl \
8435      pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \      pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
# Line 8007  if test -f "$ltmain"; then Line 8491  if test -f "$ltmain"; then
8491  # configuration script generated by Autoconf, you may include it under  # configuration script generated by Autoconf, you may include it under
8492  # the same distribution terms that you use for the rest of that program.  # the same distribution terms that you use for the rest of that program.
8493    
8494    # A sed that does not truncate output.
8495    SED=$lt_SED
8496    
8497  # Sed that helps us avoid accidentally triggering echo(1) options like -n.  # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8498  Xsed="sed -e s/^X//"  Xsed="${SED} -e s/^X//"
8499    
8500  # The HP-UX ksh and POSIX shell print the target directory to stdout  # The HP-UX ksh and POSIX shell print the target directory to stdout
8501  # if CDPATH is set.  # if CDPATH is set.
# Line 8507  echo "$as_me:$LINENO: checking sys/dg_sy Line 8994  echo "$as_me:$LINENO: checking sys/dg_sy
8994  echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6  echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
8995  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8996  #line $LINENO "configure"  #line $LINENO "configure"
8997  #include "confdefs.h"  /* confdefs.h.  */
8998    _ACEOF
8999    cat confdefs.h >>conftest.$ac_ext
9000    cat >>conftest.$ac_ext <<_ACEOF
9001    /* end confdefs.h.  */
9002  $ac_includes_default  $ac_includes_default
9003  #include <sys/dg_sys_info.h>  #include <sys/dg_sys_info.h>
9004  _ACEOF  _ACEOF
# Line 8526  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 9017  if { (eval echo "$as_me:$LINENO: \"$ac_c
9017    ac_header_compiler=yes    ac_header_compiler=yes
9018  else  else
9019    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9020  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9021    
9022  ac_header_compiler=no  ac_header_compiler=no
9023  fi  fi
9024  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 8538  echo "$as_me:$LINENO: checking sys/dg_sy Line 9030  echo "$as_me:$LINENO: checking sys/dg_sy
9030  echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6  echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
9031  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9032  #line $LINENO "configure"  #line $LINENO "configure"
9033  #include "confdefs.h"  /* confdefs.h.  */
9034    _ACEOF
9035    cat confdefs.h >>conftest.$ac_ext
9036    cat >>conftest.$ac_ext <<_ACEOF
9037    /* end confdefs.h.  */
9038  #include <sys/dg_sys_info.h>  #include <sys/dg_sys_info.h>
9039  _ACEOF  _ACEOF
9040  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9041    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9042    ac_status=$?    ac_status=$?
9043    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
9044    rm -f conftest.er1    rm -f conftest.er1
9045    cat conftest.err >&5    cat conftest.err >&5
9046    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 8561  if test -z "$ac_cpp_err"; then Line 9057  if test -z "$ac_cpp_err"; then
9057    ac_header_preproc=yes    ac_header_preproc=yes
9058  else  else
9059    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9060    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9061    
9062    ac_header_preproc=no    ac_header_preproc=no
9063  fi  fi
9064  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
# Line 8574  case $ac_header_compiler:$ac_header_prep Line 9071  case $ac_header_compiler:$ac_header_prep
9071      { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
9072  echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9073      { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
9074  echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
9075        (
9076          cat <<\_ASBOX
9077    ## ------------------------------------ ##
9078    ## Report this to bug-autoconf@gnu.org. ##
9079    ## ------------------------------------ ##
9080    _ASBOX
9081        ) |
9082          sed "s/^/$as_me: WARNING:     /" >&2
9083        ;;
9084    no:yes )    no:yes )
9085      { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
9086  echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
9087      { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
9088  echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
9089      { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
9090  echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
9091        (
9092          cat <<\_ASBOX
9093    ## ------------------------------------ ##
9094    ## Report this to bug-autoconf@gnu.org. ##
9095    ## ------------------------------------ ##
9096    _ASBOX
9097        ) |
9098          sed "s/^/$as_me: WARNING:     /" >&2
9099        ;;
9100  esac  esac
9101  echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5  echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
9102  echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
# Line 8812  else Line 9327  else
9327  fi  fi
9328    
9329    
9330  ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile"                                ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile"
9331  ac_config_commands="$ac_config_commands default"  
9332                                                      ac_config_commands="$ac_config_commands srcdir=${srcdir}
9333    host=${host}
9334    CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
9335    CC="${CC}"
9336    DEFS="$DEFS""
9337    
9338  cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
9339  # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
9340  # tests run on this system so they can be shared between configure  # tests run on this system so they can be shared between configure
# Line 8824  cat >confcache <<\_ACEOF Line 9345  cat >confcache <<\_ACEOF
9345  # config.status only pays attention to the cache file if you give it  # config.status only pays attention to the cache file if you give it
9346  # the --recheck option to rerun configure.  # the --recheck option to rerun configure.
9347  #  #
9348  # `ac_cv_env_foo' variables (set or unset) will be overriden when  # `ac_cv_env_foo' variables (set or unset) will be overridden when
9349  # loading this file, other *unset* `ac_cv_foo' will be assigned the  # loading this file, other *unset* `ac_cv_foo' will be assigned the
9350  # following values.  # following values.
9351    
# Line 8859  _ACEOF Line 9380  _ACEOF
9380       t end       t end
9381       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9382       : end' >>confcache       : end' >>confcache
9383  if cmp -s $cache_file confcache; then :; else  if diff $cache_file confcache >/dev/null 2>&1; then :; else
9384    if test -w $cache_file; then    if test -w $cache_file; then
9385      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9386      cat confcache >$cache_file      cat confcache >$cache_file
# Line 8921  DEFS=`sed -n -f confdef2opt.sed confdefs Line 9442  DEFS=`sed -n -f confdef2opt.sed confdefs
9442  rm -f confdef2opt.sed  rm -f confdef2opt.sed
9443    
9444    
9445    ac_libobjs=
9446    ac_ltlibobjs=
9447    for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9448      # 1. Remove the extension, and $U if already installed.
9449      ac_i=`echo "$ac_i" |
9450             sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9451      # 2. Add them.
9452      ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9453      ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9454    done
9455    LIBOBJS=$ac_libobjs
9456    
9457    LTLIBOBJS=$ac_ltlibobjs
9458    
9459    
9460  if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then  if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9461    { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.    { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9462  Usually this means the macro was only invoked conditionally." >&5  Usually this means the macro was only invoked conditionally." >&5
# Line 8935  echo "$as_me: error: conditional \"MAINT Line 9471  echo "$as_me: error: conditional \"MAINT
9471  Usually this means the macro was only invoked conditionally." >&2;}  Usually this means the macro was only invoked conditionally." >&2;}
9472     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
9473  fi  fi
9474    if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
9475      { { echo "$as_me:$LINENO: error: conditional \"POWERPC_DARWIN\" was never defined.
9476    Usually this means the macro was only invoked conditionally." >&5
9477    echo "$as_me: error: conditional \"POWERPC_DARWIN\" was never defined.
9478    Usually this means the macro was only invoked conditionally." >&2;}
9479       { (exit 1); exit 1; }; }
9480    fi
9481    if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
9482      { { echo "$as_me:$LINENO: error: conditional \"CPLUSPLUS\" was never defined.
9483    Usually this means the macro was only invoked conditionally." >&5
9484    echo "$as_me: error: conditional \"CPLUSPLUS\" was never defined.
9485    Usually this means the macro was only invoked conditionally." >&2;}
9486       { (exit 1); exit 1; }; }
9487    fi
9488  if test -z "${USE_LIBDIR_TRUE}" && test -z "${USE_LIBDIR_FALSE}"; then  if test -z "${USE_LIBDIR_TRUE}" && test -z "${USE_LIBDIR_FALSE}"; then
9489    { { echo "$as_me:$LINENO: error: conditional \"USE_LIBDIR\" was never defined.    { { echo "$as_me:$LINENO: error: conditional \"USE_LIBDIR\" was never defined.
9490  Usually this means the macro was only invoked conditionally." >&5  Usually this means the macro was only invoked conditionally." >&5
# Line 8956  cat >$CONFIG_STATUS <<_ACEOF Line 9506  cat >$CONFIG_STATUS <<_ACEOF
9506  # configure, is in config.log if it exists.  # configure, is in config.log if it exists.
9507    
9508  debug=false  debug=false
9509    ac_cs_recheck=false
9510    ac_cs_silent=false
9511  SHELL=\${CONFIG_SHELL-$SHELL}  SHELL=\${CONFIG_SHELL-$SHELL}
9512  _ACEOF  _ACEOF
9513    
9514  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF
   
9515  ## --------------------- ##  ## --------------------- ##
9516  ## M4sh Initialization.  ##  ## M4sh Initialization.  ##
9517  ## --------------------- ##  ## --------------------- ##
# Line 8969  cat >>$CONFIG_STATUS <<\_ACEOF Line 9520  cat >>$CONFIG_STATUS <<\_ACEOF
9520  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9521    emulate sh    emulate sh
9522    NULLCMD=:    NULLCMD=:
9523      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9524      # is contrary to our usage.  Disable this feature.
9525      alias -g '${1+"$@"}'='"$@"'
9526  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9527    set -o posix    set -o posix
9528  fi  fi
9529    
 # NLS nuisances.  
9530  # Support unset when possible.  # Support unset when possible.
9531  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
9532    as_unset=unset    as_unset=unset
# Line 8981  else Line 9534  else
9534    as_unset=false    as_unset=false
9535  fi  fi
9536    
9537  (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&  
9538      { $as_unset LANG || test "${LANG+set}" != set; } ||  # Work around bugs in pre-3.0 UWIN ksh.
9539        { LANG=C; export LANG; }  $as_unset ENV MAIL MAILPATH
9540  (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&  PS1='$ '
9541      { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||  PS2='> '
9542        { LC_ALL=C; export LC_ALL; }  PS4='+ '
9543  (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&  
9544      { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||  # NLS nuisances.
9545        { LC_TIME=C; export LC_TIME; }  for as_var in \
9546  (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9547      { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9548        { LC_CTYPE=C; export LC_CTYPE; }    LC_TELEPHONE LC_TIME
9549  (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&  do
9550      { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||    if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
9551        { LANGUAGE=C; export LANGUAGE; }      eval $as_var=C; export $as_var
9552  (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&    else
9553      { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||      $as_unset $as_var
9554        { LC_COLLATE=C; export LC_COLLATE; }    fi
9555  (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&  done
9556      { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||  
9557        { LC_NUMERIC=C; export LC_NUMERIC; }  # Required to use basename.
9558  (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&  if expr a : '\(a\)' >/dev/null 2>&1; then
9559      { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||    as_expr=expr
9560        { LC_MESSAGES=C; export LC_MESSAGES; }  else
9561      as_expr=false
9562    fi
9563    
9564    if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9565      as_basename=basename
9566    else
9567      as_basename=false
9568    fi
9569    
9570    
9571  # Name of the executable.  # Name of the executable.
9572  as_me=`(basename "$0") 2>/dev/null ||  as_me=`$as_basename "$0" ||
9573  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9574           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
9575           X"$0" : 'X\(/\)$' \| \           X"$0" : 'X\(/\)$' \| \
# Line 9019  echo X/"$0" | Line 9580  echo X/"$0" |
9580            /^X\/\(\/\).*/{ s//\1/; q; }            /^X\/\(\/\).*/{ s//\1/; q; }
9581            s/.*/./; q'`            s/.*/./; q'`
9582    
9583    
9584  # PATH needs CR, and LINENO needs CR and PATH.  # PATH needs CR, and LINENO needs CR and PATH.
9585  # Avoid depending upon Character Ranges.  # Avoid depending upon Character Ranges.
9586  as_cr_letters='abcdefghijklmnopqrstuvwxyz'  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
# Line 9029  as_cr_alnum=$as_cr_Letters$as_cr_digits Line 9591  as_cr_alnum=$as_cr_Letters$as_cr_digits
9591    
9592  # The user is always right.  # The user is always right.
9593  if test "${PATH_SEPARATOR+set}" != set; then  if test "${PATH_SEPARATOR+set}" != set; then
9594    echo "#! /bin/sh" >conftest.sh    echo "#! /bin/sh" >conf$$.sh
9595    echo  "exit 0"   >>conftest.sh    echo  "exit 0"   >>conf$$.sh
9596    chmod +x conftest.sh    chmod +x conf$$.sh
9597    if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9598      PATH_SEPARATOR=';'      PATH_SEPARATOR=';'
9599    else    else
9600      PATH_SEPARATOR=:      PATH_SEPARATOR=:
9601    fi    fi
9602    rm -f conftest.sh    rm -f conf$$.sh
9603  fi  fi
9604    
9605    
# Line 9086  do Line 9648  do
9648    as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`    as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9649    test "x$as_lineno_1" != "x$as_lineno_2" &&    test "x$as_lineno_1" != "x$as_lineno_2" &&
9650    test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then    test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
9651                 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9652                 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9653               CONFIG_SHELL=$as_dir/$as_base               CONFIG_SHELL=$as_dir/$as_base
9654               export CONFIG_SHELL               export CONFIG_SHELL
9655               exec "$CONFIG_SHELL" "$0" ${1+"$@"}               exec "$CONFIG_SHELL" "$0" ${1+"$@"}
# Line 9159  else Line 9723  else
9723  fi  fi
9724  rm -f conf$$ conf$$.exe conf$$.file  rm -f conf$$ conf$$.exe conf$$.file
9725    
9726    if mkdir -p . 2>/dev/null; then
9727      as_mkdir_p=:
9728    else
9729      as_mkdir_p=false
9730    fi
9731    
9732  as_executable_p="test -f"  as_executable_p="test -f"
9733    
9734  # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
# Line 9175  as_nl=' Line 9745  as_nl='
9745  IFS="   $as_nl"  IFS="   $as_nl"
9746    
9747  # CDPATH.  # CDPATH.
9748  $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }  $as_unset CDPATH
9749    
9750  exec 6>&1  exec 6>&1
9751    
# Line 9191  _ASBOX Line 9761  _ASBOX
9761  } >&5  } >&5
9762  cat >&5 <<_CSEOF  cat >&5 <<_CSEOF
9763    
9764  This file was extended by gc $as_me 6.2alpha4, which was  This file was extended by gc $as_me 6.2alpha6, modified for Emacs, which was
9765  generated by GNU Autoconf 2.53.  Invocation command line was  generated by GNU Autoconf 2.57.  Invocation command line was
9766    
9767    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
9768    CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 9232  Usage: $0 [OPTIONS] [FILE]... Line 9802  Usage: $0 [OPTIONS] [FILE]...
9802    
9803    -h, --help       print this help, then exit    -h, --help       print this help, then exit
9804    -V, --version    print version number, then exit    -V, --version    print version number, then exit
9805      -q, --quiet      do not print progress messages
9806    -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
9807        --recheck    update $as_me by reconfiguring in the same conditions        --recheck    update $as_me by reconfiguring in the same conditions
9808    --file=FILE[:TEMPLATE]    --file=FILE[:TEMPLATE]
# Line 9248  _ACEOF Line 9819  _ACEOF
9819    
9820  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF
9821  ac_cs_version="\\  ac_cs_version="\\
9822  gc config.status 6.2alpha4  gc config.status 6.2alpha6, modified for Emacs
9823  configured by $0, generated by GNU Autoconf 2.53,  configured by $0, generated by GNU Autoconf 2.57,
9824    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9825    
9826  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Line 9270  do Line 9841  do
9841    --*=*)    --*=*)
9842      ac_option=`expr "x$1" : 'x\([^=]*\)='`      ac_option=`expr "x$1" : 'x\([^=]*\)='`
9843      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9844      shift      ac_shift=:
9845      set dummy "$ac_option" "$ac_optarg" ${1+"$@"}      ;;
9846      shift    -*)
9847        ac_option=$1
9848        ac_optarg=$2
9849        ac_shift=shift
9850      ;;      ;;
   -*);;  
9851    *) # This is not an option, so the user has probably given explicit    *) # This is not an option, so the user has probably given explicit
9852       # arguments.       # arguments.
9853         ac_option=$1
9854       ac_need_defaults=false;;       ac_need_defaults=false;;
9855    esac    esac
9856    
9857    case $1 in    case $ac_option in
9858    # Handling of the options.    # Handling of the options.
9859  _ACEOF  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF  
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)  
     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"  
     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;  
 _ACEOF  
9860  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF
9861      -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9862        ac_cs_recheck=: ;;
9863    --version | --vers* | -V )    --version | --vers* | -V )
9864      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
9865    --he | --h)    --he | --h)
# Line 9303  Try \`$0 --help' for more information." Line 9874  Try \`$0 --help' for more information."
9874    --debug | --d* | -d )    --debug | --d* | -d )
9875      debug=: ;;      debug=: ;;
9876    --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
9877      shift      $ac_shift
9878      CONFIG_FILES="$CONFIG_FILES $1"      CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9879      ac_need_defaults=false;;      ac_need_defaults=false;;
9880    --header | --heade | --head | --hea )    --header | --heade | --head | --hea )
9881      shift      $ac_shift
9882      CONFIG_HEADERS="$CONFIG_HEADERS $1"      CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9883      ac_need_defaults=false;;      ac_need_defaults=false;;
9884      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9885      | -silent | --silent | --silen | --sile | --sil | --si | --s)
9886        ac_cs_silent=: ;;
9887    
9888    # This is an error.    # This is an error.
9889    -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1    -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
# Line 9324  Try \`$0 --help' for more information." Line 9898  Try \`$0 --help' for more information."
9898    shift    shift
9899  done  done
9900    
9901    ac_configure_extra_args=
9902    
9903    if $ac_cs_silent; then
9904      exec 6>/dev/null
9905      ac_configure_extra_args="$ac_configure_extra_args --silent"
9906    fi
9907    
9908    _ACEOF
9909    cat >>$CONFIG_STATUS <<_ACEOF
9910    if \$ac_cs_recheck; then
9911      echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9912      exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9913    fi
9914    
9915  _ACEOF  _ACEOF
9916    
9917  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF
# Line 9332  cat >>$CONFIG_STATUS <<_ACEOF Line 9920  cat >>$CONFIG_STATUS <<_ACEOF
9920  #  #
9921    
9922  AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"  AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 srcdir=${srcdir}  
 host=${host}  
 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}  
 CC="${CC}"  
 DEFS="$DEFS"  
   
9923    
9924  _ACEOF  _ACEOF
9925    
# Line 9352  do Line 9934  do
9934    "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;    "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9935    "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;    "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
9936    "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;    "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9937    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;    "srcdir=${srcdir}" ) CONFIG_COMMANDS="$CONFIG_COMMANDS srcdir=${srcdir}" ;;
9938      "host=${host}" ) CONFIG_COMMANDS="$CONFIG_COMMANDS host=${host}" ;;
9939      "CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}" ) CONFIG_COMMANDS="$CONFIG_COMMANDS CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}" ;;
9940      "CC="${CC}"" ) CONFIG_COMMANDS="$CONFIG_COMMANDS CC="${CC}"" ;;
9941      "DEFS="$DEFS"" ) CONFIG_COMMANDS="$CONFIG_COMMANDS DEFS="$DEFS"" ;;
9942    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9943  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9944     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
# Line 9368  if $ac_need_defaults; then Line 9954  if $ac_need_defaults; then
9954    test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands    test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9955  fi  fi
9956    
9957    # Have a temporary directory for convenience.  Make it in the build tree
9958    # simply because there is no reason to put it here, and in addition,
9959    # creating and moving files from /tmp can sometimes cause problems.
9960  # Create a temporary directory, and hook for its removal unless debugging.  # Create a temporary directory, and hook for its removal unless debugging.
9961  $debug ||  $debug ||
9962  {  {
# Line 9376  $debug || Line 9965  $debug ||
9965  }  }
9966    
9967  # Create a (secure) tmp directory for tmp files.  # Create a (secure) tmp directory for tmp files.
9968  : ${TMPDIR=/tmp}  
9969  {  {
9970    tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&    tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9971    test -n "$tmp" && test -d "$tmp"    test -n "$tmp" && test -d "$tmp"
9972  }  ||  }  ||
9973  {  {
9974    tmp=$TMPDIR/cs$$-$RANDOM    tmp=./confstat$$-$RANDOM
9975    (umask 077 && mkdir $tmp)    (umask 077 && mkdir $tmp)
9976  } ||  } ||
9977  {  {
9978     echo "$me: cannot create a temporary directory in $TMPDIR" >&2     echo "$me: cannot create a temporary directory in ." >&2
9979     { (exit 1); exit 1; }     { (exit 1); exit 1; }
9980  }  }
9981    
# Line 9493  s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MO Line 10082  s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MO
10082  s,@MAINT@,$MAINT,;t t  s,@MAINT@,$MAINT,;t t
10083  s,@GC_CFLAGS@,$GC_CFLAGS,;t t  s,@GC_CFLAGS@,$GC_CFLAGS,;t t
10084  s,@THREADLIBS@,$THREADLIBS,;t t  s,@THREADLIBS@,$THREADLIBS,;t t
10085    s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
10086    s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
10087  s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t  s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
10088  s,@target_all@,$target_all,;t t  s,@target_all@,$target_all,;t t
10089    s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
10090    s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
10091  s,@INCLUDES@,$INCLUDES,;t t  s,@INCLUDES@,$INCLUDES,;t t
10092  s,@CXXINCLUDES@,$CXXINCLUDES,;t t  s,@CXXINCLUDES@,$CXXINCLUDES,;t t
10093  s,@addobjs@,$addobjs,;t t  s,@addobjs@,$addobjs,;t t
10094  s,@addincludes@,$addincludes,;t t  s,@addincludes@,$addincludes,;t t
10095    s,@addlibs@,$addlibs,;t t
10096  s,@addtests@,$addtests,;t t  s,@addtests@,$addtests,;t t
10097  s,@LN_S@,$LN_S,;t t  s,@LN_S@,$LN_S,;t t
10098  s,@ECHO@,$ECHO,;t t  s,@ECHO@,$ECHO,;t t
10099  s,@CPP@,$CPP,;t t  s,@CPP@,$CPP,;t t
10100    s,@EGREP@,$EGREP,;t t
10101  s,@LIBTOOL@,$LIBTOOL,;t t  s,@LIBTOOL@,$LIBTOOL,;t t
10102  s,@MY_CFLAGS@,$MY_CFLAGS,;t t  s,@MY_CFLAGS@,$MY_CFLAGS,;t t
10103  s,@USE_LIBDIR_TRUE@,$USE_LIBDIR_TRUE,;t t  s,@USE_LIBDIR_TRUE@,$USE_LIBDIR_TRUE,;t t
10104  s,@USE_LIBDIR_FALSE@,$USE_LIBDIR_FALSE,;t t  s,@USE_LIBDIR_FALSE@,$USE_LIBDIR_FALSE,;t t
10105    s,@LIBOBJS@,$LIBOBJS,;t t
10106    s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10107  CEOF  CEOF
10108    
10109  _ACEOF  _ACEOF
# Line 9577  echo X"$ac_file" | Line 10174  echo X"$ac_file" |
10174            /^X\(\/\/\)$/{ s//\1/; q; }            /^X\(\/\/\)$/{ s//\1/; q; }
10175            /^X\(\/\).*/{ s//\1/; q; }            /^X\(\/\).*/{ s//\1/; q; }
10176            s/.*/./; q'`            s/.*/./; q'`
10177    { case "$ac_dir" in    { if $as_mkdir_p; then
10178    [\\/]* | ?:[\\/]* ) as_incr_dir=;;      mkdir -p "$ac_dir"
10179    *)                      as_incr_dir=.;;    else
10180  esac      as_dir="$ac_dir"
10181  as_dummy="$ac_dir"      as_dirs=
10182  for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do      while test ! -d "$as_dir"; do
10183    case $as_mkdir_dir in        as_dirs="$as_dir $as_dirs"
10184      # Skip DOS drivespec        as_dir=`(dirname "$as_dir") 2>/dev/null ||
10185      ?:) as_incr_dir=$as_mkdir_dir ;;  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10186      *)           X"$as_dir" : 'X\(//\)[^/]' \| \
10187        as_incr_dir=$as_incr_dir/$as_mkdir_dir           X"$as_dir" : 'X\(//\)$' \| \
10188        test -d "$as_incr_dir" ||           X"$as_dir" : 'X\(/\)' \| \
10189          mkdir "$as_incr_dir" ||           .     : '\(.\)' 2>/dev/null ||
10190          { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5  echo X"$as_dir" |
10191  echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10192     { (exit 1); exit 1; }; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10193      ;;            /^X\(\/\/\)$/{ s//\1/; q; }
10194    esac            /^X\(\/\).*/{ s//\1/; q; }
10195  done; }            s/.*/./; q'`
10196        done
10197        test ! -n "$as_dirs" || mkdir $as_dirs
10198      fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10199    echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10200       { (exit 1); exit 1; }; }; }
10201    
10202    ac_builddir=.    ac_builddir=.
10203    
# Line 9625  esac Line 10227  esac
10227  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10228  # absolute.  # absolute.
10229  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
10230  ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
10231  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10232  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10233    
# Line 9755  esac Line 10357  esac
10357  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10358  # absolute.  # absolute.
10359  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
10360  ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
10361  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10362  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10363    
# Line 9824  echo X"$file" | Line 10426  echo X"$file" |
10426            /^X\(\/\/\)$/{ s//\1/; q; }            /^X\(\/\/\)$/{ s//\1/; q; }
10427            /^X\(\/\).*/{ s//\1/; q; }            /^X\(\/\).*/{ s//\1/; q; }
10428            s/.*/./; q'`            s/.*/./; q'`
10429      { case $dirpart/$fdir in      { if $as_mkdir_p; then
10430    [\\/]* | ?:[\\/]* ) as_incr_dir=;;      mkdir -p $dirpart/$fdir
10431    *)                      as_incr_dir=.;;    else
10432  esac      as_dir=$dirpart/$fdir
10433  as_dummy=$dirpart/$fdir      as_dirs=
10434  for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do      while test ! -d "$as_dir"; do
10435    case $as_mkdir_dir in        as_dirs="$as_dir $as_dirs"
10436      # Skip DOS drivespec        as_dir=`(dirname "$as_dir") 2>/dev/null ||
10437      ?:) as_incr_dir=$as_mkdir_dir ;;  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10438      *)           X"$as_dir" : 'X\(//\)[^/]' \| \
10439        as_incr_dir=$as_incr_dir/$as_mkdir_dir           X"$as_dir" : 'X\(//\)$' \| \
10440        test -d "$as_incr_dir" ||           X"$as_dir" : 'X\(/\)' \| \
10441          mkdir "$as_incr_dir" ||           .     : '\(.\)' 2>/dev/null ||
10442          { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5  echo X"$as_dir" |
10443  echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10444     { (exit 1); exit 1; }; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10445      ;;            /^X\(\/\/\)$/{ s//\1/; q; }
10446    esac            /^X\(\/\).*/{ s//\1/; q; }
10447  done; }            s/.*/./; q'`
10448        done
10449        test ! -n "$as_dirs" || mkdir $as_dirs
10450      fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
10451    echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
10452       { (exit 1); exit 1; }; }; }
10453    
10454      # echo "creating $dirpart/$file"      # echo "creating $dirpart/$file"
10455      echo '# dummy' > "$dirpart/$file"      echo '# dummy' > "$dirpart/$file"
# Line 9871  ac_clean_files=$ac_clean_files_save Line 10478  ac_clean_files=$ac_clean_files_save
10478  # need to make the FD available again.  # need to make the FD available again.
10479  if test "$no_create" != yes; then  if test "$no_create" != yes; then
10480    ac_cs_success=:    ac_cs_success=:
10481      ac_config_status_args=
10482      test "$silent" = yes &&
10483        ac_config_status_args="$ac_config_status_args --quiet"
10484    exec 5>/dev/null    exec 5>/dev/null
10485    $SHELL $CONFIG_STATUS || ac_cs_success=false    $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10486    exec 5>>config.log    exec 5>>config.log
10487    # Use ||, not &&, to avoid exiting from the if with $? = 1, which    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10488    # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26