Changeset 4516 for branches/1.3


Ignore:
Timestamp:
Jul 16, 2014 4:41:16 PM (6 years ago)
Author:
gah
Message:

update version number in configure.in

Location:
branches/1.3/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/gui/configure

    r2117 r4516  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.64 for RapptureGUI 1.1.
     3# Generated by GNU Autoconf 2.69 for RapptureGUI 1.4.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
    9 # Foundation, Inc.
     7#
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9#
    1010#
    1111# This configure script is free software; the Free Software Foundation
     
    9090
    9191# Find who we are.  Look in the path if we contain no directory separator.
     92as_myself=
    9293case $0 in #((
    9394  *[\\/]* ) as_myself=$0 ;;
     
    134135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    135136
     137# Use a proper internal environment variable to ensure we don't fall
     138  # into an infinite loop, continuously re-executing ourselves.
     139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     140    _as_can_reexec=no; export _as_can_reexec;
     141    # We cannot yet assume a decent shell, so we have to provide a
     142# neutralization value for shells without unset; and this also
     143# works around shells that cannot unset nonexistent variables.
     144# Preserve -v and -x to the replacement shell.
     145BASH_ENV=/dev/null
     146ENV=/dev/null
     147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     148case $- in # ((((
     149  *v*x* | *x*v* ) as_opts=-vx ;;
     150  *v* ) as_opts=-v ;;
     151  *x* ) as_opts=-x ;;
     152  * ) as_opts= ;;
     153esac
     154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     155# Admittedly, this is quite paranoid, since all the known shells bail
     156# out after a failed `exec'.
     157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     158as_fn_exit 255
     159  fi
     160  # We don't want this to propagate to other subprocesses.
     161          { _as_can_reexec=; unset _as_can_reexec;}
    136162if test "x$CONFIG_SHELL" = x; then
    137163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     
    167193  exitcode=1; echo positional parameters were not saved.
    168194fi
    169 test x\$exitcode = x0 || exit 1"
     195test x\$exitcode = x0 || exit 1
     196test -x / || exit 1"
    170197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    171198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    172199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    174 test \$(( 1 + 1 )) = 2 || exit 1"
     200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
    175201  if (eval "$as_required") 2>/dev/null; then :
    176202  as_have_required=yes
     
    212238
    213239      if test "x$CONFIG_SHELL" != x; then :
    214   # We cannot yet assume a decent shell, so we have to provide a
    215         # neutralization value for shells without unset; and this also
    216         # works around shells that cannot unset nonexistent variables.
    217         BASH_ENV=/dev/null
    218         ENV=/dev/null
    219         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    220         export CONFIG_SHELL
    221         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     240  export CONFIG_SHELL
     241             # We cannot yet assume a decent shell, so we have to provide a
     242# neutralization value for shells without unset; and this also
     243# works around shells that cannot unset nonexistent variables.
     244# Preserve -v and -x to the replacement shell.
     245BASH_ENV=/dev/null
     246ENV=/dev/null
     247(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     248case $- in # ((((
     249  *v*x* | *x*v* ) as_opts=-vx ;;
     250  *v* ) as_opts=-v ;;
     251  *x* ) as_opts=-x ;;
     252  * ) as_opts= ;;
     253esac
     254exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     255# Admittedly, this is quite paranoid, since all the known shells bail
     256# out after a failed `exec'.
     257$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     258exit 255
    222259fi
    223260
     
    318355    done
    319356    test -z "$as_dirs" || eval "mkdir $as_dirs"
    320   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     357  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    321358
    322359
    323360} # as_fn_mkdir_p
     361
     362# as_fn_executable_p FILE
     363# -----------------------
     364# Test if FILE is an executable regular file.
     365as_fn_executable_p ()
     366{
     367  test -f "$1" && test -x "$1"
     368} # as_fn_executable_p
    324369# as_fn_append VAR VALUE
    325370# ----------------------
     
    358403
    359404
    360 # as_fn_error ERROR [LINENO LOG_FD]
    361 # ---------------------------------
     405# as_fn_error STATUS ERROR [LINENO LOG_FD]
     406# ----------------------------------------
    362407# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    363408# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    364 # script with status $?, using 1 if that was 0.
     409# script with STATUS, using 1 if that was 0.
    365410as_fn_error ()
    366411{
    367   as_status=$?; test $as_status -eq 0 && as_status=1
    368   if test "$3"; then
    369     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    370     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     412  as_status=$1; test $as_status -eq 0 && as_status=1
     413  if test "$4"; then
     414    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     415    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    371416  fi
    372   $as_echo "$as_me: error: $1" >&2
     417  $as_echo "$as_me: error: $2" >&2
    373418  as_fn_exit $as_status
    374419} # as_fn_error
     
    443488    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    444489
     490  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     491  # already done that, so ensure we don't try to do so again and fall
     492  # in an infinite loop.  This has already happened in practice.
     493  _as_can_reexec=no; export _as_can_reexec
    445494  # Don't try to exec as it changes $[0], causing all sort of problems
    446495  # (the dirname of $[0] is not the place where we might find the
     
    477526    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    478527    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    479     # In both cases, we have to default to `cp -p'.
     528    # In both cases, we have to default to `cp -pR'.
    480529    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    481       as_ln_s='cp -p'
     530      as_ln_s='cp -pR'
    482531  elif ln conf$$.file conf$$ 2>/dev/null; then
    483532    as_ln_s=ln
    484533  else
    485     as_ln_s='cp -p'
     534    as_ln_s='cp -pR'
    486535  fi
    487536else
    488   as_ln_s='cp -p'
     537  as_ln_s='cp -pR'
    489538fi
    490539rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    498547fi
    499548
    500 if test -x / >/dev/null 2>&1; then
    501   as_test_x='test -x'
    502 else
    503   if ls -dL / >/dev/null 2>&1; then
    504     as_ls_L_option=L
    505   else
    506     as_ls_L_option=
    507   fi
    508   as_test_x='
    509     eval sh -c '\''
    510       if test -d "$1"; then
    511         test -d "$1/.";
    512       else
    513         case $1 in #(
    514         -*)set "./$1";;
    515         esac;
    516         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    517         ???[sx]*):;;*)false;;esac;fi
    518     '\'' sh
    519   '
    520 fi
    521 as_executable_p=$as_test_x
     549as_test_x='test -x'
     550as_executable_p=as_fn_executable_p
    522551
    523552# Sed expression to map a string onto a valid CPP name.
     
    528557
    529558
    530 exec 7<&0 </dev/null 6>&1
     559test -n "$DJDIR" || exec 7<&0 </dev/null
     560exec 6>&1
    531561
    532562# Name of the host.
    533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     563# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    534564# so uname gets run too.
    535565ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    550580PACKAGE_NAME='RapptureGUI'
    551581PACKAGE_TARNAME='rappturegui'
    552 PACKAGE_VERSION='1.1'
    553 PACKAGE_STRING='RapptureGUI 1.1'
     582PACKAGE_VERSION='1.4'
     583PACKAGE_STRING='RapptureGUI 1.4'
    554584PACKAGE_BUGREPORT='rappture@nanohub.org'
    555585PACKAGE_URL=''
    556586
    557 # Factoring default headers for most tests.
    558 ac_includes_default="\
    559 #include <stdio.h>
    560 #ifdef HAVE_SYS_TYPES_H
    561 # include <sys/types.h>
    562 #endif
    563 #ifdef HAVE_SYS_STAT_H
    564 # include <sys/stat.h>
    565 #endif
    566 #ifdef STDC_HEADERS
    567 # include <stdlib.h>
    568 # include <stddef.h>
    569 #else
    570 # ifdef HAVE_STDLIB_H
    571 #  include <stdlib.h>
    572 # endif
    573 #endif
    574 #ifdef HAVE_STRING_H
    575 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    576 #  include <memory.h>
    577 # endif
    578 # include <string.h>
    579 #endif
    580 #ifdef HAVE_STRINGS_H
    581 # include <strings.h>
    582 #endif
    583 #ifdef HAVE_INTTYPES_H
    584 # include <inttypes.h>
    585 #endif
    586 #ifdef HAVE_STDINT_H
    587 # include <stdint.h>
    588 #endif
    589 #ifdef HAVE_UNISTD_H
    590 # include <unistd.h>
    591 #endif"
    592 
    593587ac_subst_vars='LTLIBOBJS
    594588LIBOBJS
     589TCL_SHLIB_SUFFIX
     590TCL_SHLIB_LDFLAGS
     591TCL_SHLIB_CFLAGS
     592TCL_SHLIB_LD
     593TCL_STLIB_LD
     594TCL_CFLAGS_OPTIMIZE
     595TCL_CFLAGS_DEBUG
    595596TK_VERSION
     597TK_XLIBSW
     598TK_LIB_SPEC
     599TK_INC_SPEC
     600TCL_VERSION
    596601TCL_LIB_SPEC
    597602TCL_INC_SPEC
    598 TCL_VERSION
    599603TCLSH
    600604ENABLE_GUI
    601605MAKE
    602 SHLIB_LDFLAGS
    603 INSTALL_STUB_LIB
    604 INSTALL_LIB
    605 MAKE_STUB_LIB
    606 MAKE_LIB
    607 SHLIB_SUFFIX
    608 SHLIB_CFLAGS
    609 SHLIB_LD_LIBS
    610 TK_SHLIB_LD_EXTRAS
    611 TCL_SHLIB_LD_EXTRAS
    612 SHLIB_LD
    613 STLIB_LD
    614 LD_SEARCH_FLAGS
    615 CC_SEARCH_FLAGS
    616 LDFLAGS_OPTIMIZE
    617 LDFLAGS_DEBUG
    618 CFLAGS_WARNING
    619 CFLAGS_OPTIMIZE
    620 CFLAGS_DEBUG
    621 PLAT_SRCS
    622 PLAT_OBJS
    623 DL_OBJS
    624 DL_LIBS
    625 EGREP
    626 GREP
    627 CPP
    628 AR
    629606OBJEXT
    630607EXEEXT
     
    695672ac_user_opts='
    696673enable_option_checking
    697 enable_64bit
    698 enable_64bit_vis
    699 enable_corefoundation
    700 enable_load
    701 enable_shared
    702674enable_gui
    703675with_tclsh
     
    710682LDFLAGS
    711683LIBS
    712 CPPFLAGS
    713 CPP'
     684CPPFLAGS'
    714685
    715686
     
    774745
    775746  case $ac_option in
    776   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    777   *)    ac_optarg=yes ;;
     747  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     748  *=)   ac_optarg= ;;
     749  *)    ac_optarg=yes ;;
    778750  esac
    779751
     
    820792    # Reject names that are not valid shell variable names.
    821793    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    822       as_fn_error "invalid feature name: $ac_useropt"
     794      as_fn_error $? "invalid feature name: $ac_useropt"
    823795    ac_useropt_orig=$ac_useropt
    824796    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    846818    # Reject names that are not valid shell variable names.
    847819    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    848       as_fn_error "invalid feature name: $ac_useropt"
     820      as_fn_error $? "invalid feature name: $ac_useropt"
    849821    ac_useropt_orig=$ac_useropt
    850822    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10501022    # Reject names that are not valid shell variable names.
    10511023    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1052       as_fn_error "invalid package name: $ac_useropt"
     1024      as_fn_error $? "invalid package name: $ac_useropt"
    10531025    ac_useropt_orig=$ac_useropt
    10541026    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10661038    # Reject names that are not valid shell variable names.
    10671039    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1068       as_fn_error "invalid package name: $ac_useropt"
     1040      as_fn_error $? "invalid package name: $ac_useropt"
    10691041    ac_useropt_orig=$ac_useropt
    10701042    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10961068    x_libraries=$ac_optarg ;;
    10971069
    1098   -*) as_fn_error "unrecognized option: \`$ac_option'
    1099 Try \`$0 --help' for more information."
     1070  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1071Try \`$0 --help' for more information"
    11001072    ;;
    11011073
     
    11051077    case $ac_envvar in #(
    11061078      '' | [0-9]* | *[!_$as_cr_alnum]* )
    1107       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
     1079      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    11081080    esac
    11091081    eval $ac_envvar=\$ac_optarg
     
    11151087    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11161088      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1117     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1089    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11181090    ;;
    11191091
     
    11231095if test -n "$ac_prev"; then
    11241096  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1125   as_fn_error "missing argument to $ac_option"
     1097  as_fn_error $? "missing argument to $ac_option"
    11261098fi
    11271099
     
    11291101  case $enable_option_checking in
    11301102    no) ;;
    1131     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
     1103    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11321104    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11331105  esac
     
    11521124    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11531125  esac
    1154   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
     1126  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    11551127done
    11561128
     
    11661138  if test "x$build_alias" = x; then
    11671139    cross_compiling=maybe
    1168     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1169     If a cross compiler is detected then cross compile mode will be used." >&2
    11701140  elif test "x$build_alias" != "x$host_alias"; then
    11711141    cross_compiling=yes
     
    11821152ac_ls_di=`ls -di .` &&
    11831153ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1184   as_fn_error "working directory cannot be determined"
     1154  as_fn_error $? "working directory cannot be determined"
    11851155test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1186   as_fn_error "pwd does not report name of working directory"
     1156  as_fn_error $? "pwd does not report name of working directory"
    11871157
    11881158
     
    12231193if test ! -r "$srcdir/$ac_unique_file"; then
    12241194  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1225   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
     1195  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12261196fi
    12271197ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12281198ac_abs_confdir=`(
    1229         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
     1199        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    12301200        pwd)`
    12311201# When building in place, set srcdir=.
     
    12531223  # This message is too long to be a string in the A/UX 3.1 sh.
    12541224  cat <<_ACEOF
    1255 \`configure' configures RapptureGUI 1.1 to adapt to many kinds of systems.
     1225\`configure' configures RapptureGUI 1.4 to adapt to many kinds of systems.
    12561226
    12571227Usage: $0 [OPTION]... [VAR=VALUE]...
     
    12671237      --help=recursive    display the short help of all the included packages
    12681238  -V, --version           display version information and exit
    1269   -q, --quiet, --silent   do not print \`checking...' messages
     1239  -q, --quiet, --silent   do not print \`checking ...' messages
    12701240      --cache-file=FILE   cache test results in FILE [disabled]
    12711241  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    13191289if test -n "$ac_init_help"; then
    13201290  case $ac_init_help in
    1321      short | recursive ) echo "Configuration of RapptureGUI 1.1:";;
     1291     short | recursive ) echo "Configuration of RapptureGUI 1.4:";;
    13221292   esac
    13231293  cat <<\_ACEOF
     
    13271297  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    13281298  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    1329   --enable-64bit          enable 64bit support (where applicable)
    1330   --enable-64bit-vis      enable 64bit Sparc VIS support
    1331   --enable-corefoundation use CoreFoundation API --enable-corefoundation
    1332   --disable-load          disallow dynamic loading and "load" command
    1333   --enable-shared         build and link with shared libraries --enable-shared
    13341299  --enable-gui            build code related to the graphical user interface
    13351300                          [default=yes]
     
    13461311              nonstandard directory <lib dir>
    13471312  LIBS        libraries to pass to the linker, e.g. -l<library>
    1348   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1313  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    13491314              you have headers in a nonstandard directory <include dir>
    1350   CPP         C preprocessor
    13511315
    13521316Use these variables to override the choices made by `configure' or to help
     
    14161380if $ac_init_version; then
    14171381  cat <<\_ACEOF
    1418 RapptureGUI configure 1.1
    1419 generated by GNU Autoconf 2.64
    1420 
    1421 Copyright (C) 2009 Free Software Foundation, Inc.
     1382RapptureGUI configure 1.4
     1383generated by GNU Autoconf 2.69
     1384
     1385Copyright (C) 2012 Free Software Foundation, Inc.
    14221386This configure script is free software; the Free Software Foundation
    14231387gives unlimited permission to copy, distribute and modify it.
     
    14631427        ac_retval=1
    14641428fi
    1465   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1466   return $ac_retval
     1429  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1430  as_fn_set_status $ac_retval
    14671431
    14681432} # ac_fn_c_try_compile
    1469 
    1470 # ac_fn_c_try_link LINENO
    1471 # -----------------------
    1472 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1473 ac_fn_c_try_link ()
    1474 {
    1475   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1476   rm -f conftest.$ac_objext conftest$ac_exeext
    1477   if { { ac_try="$ac_link"
    1478 case "(($ac_try" in
    1479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1480   *) ac_try_echo=$ac_try;;
    1481 esac
    1482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1483 $as_echo "$ac_try_echo"; } >&5
    1484   (eval "$ac_link") 2>conftest.err
    1485   ac_status=$?
    1486   if test -s conftest.err; then
    1487     grep -v '^ *+' conftest.err >conftest.er1
    1488     cat conftest.er1 >&5
    1489     mv -f conftest.er1 conftest.err
    1490   fi
    1491   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1492   test $ac_status = 0; } && {
    1493          test -z "$ac_c_werror_flag" ||
    1494          test ! -s conftest.err
    1495        } && test -s conftest$ac_exeext && {
    1496          test "$cross_compiling" = yes ||
    1497          $as_test_x conftest$ac_exeext
    1498        }; then :
    1499   ac_retval=0
    1500 else
    1501   $as_echo "$as_me: failed program was:" >&5
    1502 sed 's/^/| /' conftest.$ac_ext >&5
    1503 
    1504         ac_retval=1
    1505 fi
    1506   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1507   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1508   # interfere with the next link command; also delete a directory that is
    1509   # left behind by Apple's compiler.  We do this before executing the actions.
    1510   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1511   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1512   return $ac_retval
    1513 
    1514 } # ac_fn_c_try_link
    1515 
    1516 # ac_fn_c_try_cpp LINENO
    1517 # ----------------------
    1518 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1519 ac_fn_c_try_cpp ()
    1520 {
    1521   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1522   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1523 case "(($ac_try" in
    1524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1525   *) ac_try_echo=$ac_try;;
    1526 esac
    1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1528 $as_echo "$ac_try_echo"; } >&5
    1529   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1530   ac_status=$?
    1531   if test -s conftest.err; then
    1532     grep -v '^ *+' conftest.err >conftest.er1
    1533     cat conftest.er1 >&5
    1534     mv -f conftest.er1 conftest.err
    1535   fi
    1536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1537   test $ac_status = 0; } >/dev/null && {
    1538          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1539          test ! -s conftest.err
    1540        }; then :
    1541   ac_retval=0
    1542 else
    1543   $as_echo "$as_me: failed program was:" >&5
    1544 sed 's/^/| /' conftest.$ac_ext >&5
    1545 
    1546     ac_retval=1
    1547 fi
    1548   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1549   return $ac_retval
    1550 
    1551 } # ac_fn_c_try_cpp
    1552 
    1553 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    1554 # -------------------------------------------------------
    1555 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    1556 # the include files in INCLUDES and setting the cache variable VAR
    1557 # accordingly.
    1558 ac_fn_c_check_header_mongrel ()
    1559 {
    1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1561   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
    1562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1563 $as_echo_n "checking for $2... " >&6; }
    1564 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
    1565   $as_echo_n "(cached) " >&6
    1566 fi
    1567 eval ac_res=\$$3
    1568                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1569 $as_echo "$ac_res" >&6; }
    1570 else
    1571   # Is the header compilable?
    1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    1573 $as_echo_n "checking $2 usability... " >&6; }
    1574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1575 /* end confdefs.h.  */
    1576 $4
    1577 #include <$2>
    1578 _ACEOF
    1579 if ac_fn_c_try_compile "$LINENO"; then :
    1580   ac_header_compiler=yes
    1581 else
    1582   ac_header_compiler=no
    1583 fi
    1584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    1586 $as_echo "$ac_header_compiler" >&6; }
    1587 
    1588 # Is the header present?
    1589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    1590 $as_echo_n "checking $2 presence... " >&6; }
    1591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1592 /* end confdefs.h.  */
    1593 #include <$2>
    1594 _ACEOF
    1595 if ac_fn_c_try_cpp "$LINENO"; then :
    1596   ac_header_preproc=yes
    1597 else
    1598   ac_header_preproc=no
    1599 fi
    1600 rm -f conftest.err conftest.$ac_ext
    1601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    1602 $as_echo "$ac_header_preproc" >&6; }
    1603 
    1604 # So?  What about this header?
    1605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
    1606   yes:no: )
    1607     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    1608 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    1609     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1610 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1611     ;;
    1612   no:yes:* )
    1613     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    1614 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    1615     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    1616 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    1617     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    1618 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    1619     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    1620 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    1621     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1622 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1623 ( cat <<\_ASBOX
    1624 ## ----------------------------------- ##
    1625 ## Report this to rappture@nanohub.org ##
    1626 ## ----------------------------------- ##
    1627 _ASBOX
    1628      ) | sed "s/^/$as_me: WARNING:     /" >&2
    1629     ;;
    1630 esac
    1631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1632 $as_echo_n "checking for $2... " >&6; }
    1633 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
    1634   $as_echo_n "(cached) " >&6
    1635 else
    1636   eval "$3=\$ac_header_compiler"
    1637 fi
    1638 eval ac_res=\$$3
    1639                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1640 $as_echo "$ac_res" >&6; }
    1641 fi
    1642   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1643 
    1644 } # ac_fn_c_check_header_mongrel
    1645 
    1646 # ac_fn_c_try_run LINENO
    1647 # ----------------------
    1648 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1649 # that executables *can* be run.
    1650 ac_fn_c_try_run ()
    1651 {
    1652   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1653   if { { ac_try="$ac_link"
    1654 case "(($ac_try" in
    1655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1656   *) ac_try_echo=$ac_try;;
    1657 esac
    1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1659 $as_echo "$ac_try_echo"; } >&5
    1660   (eval "$ac_link") 2>&5
    1661   ac_status=$?
    1662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1663   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1664   { { case "(($ac_try" in
    1665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1666   *) ac_try_echo=$ac_try;;
    1667 esac
    1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1669 $as_echo "$ac_try_echo"; } >&5
    1670   (eval "$ac_try") 2>&5
    1671   ac_status=$?
    1672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1673   test $ac_status = 0; }; }; then :
    1674   ac_retval=0
    1675 else
    1676   $as_echo "$as_me: program exited with status $ac_status" >&5
    1677        $as_echo "$as_me: failed program was:" >&5
    1678 sed 's/^/| /' conftest.$ac_ext >&5
    1679 
    1680        ac_retval=$ac_status
    1681 fi
    1682   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1683   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1684   return $ac_retval
    1685 
    1686 } # ac_fn_c_try_run
    1687 
    1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1689 # -------------------------------------------------------
    1690 # Tests whether HEADER exists and can be compiled using the include files in
    1691 # INCLUDES, setting the cache variable VAR accordingly.
    1692 ac_fn_c_check_header_compile ()
    1693 {
    1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1696 $as_echo_n "checking for $2... " >&6; }
    1697 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
    1698   $as_echo_n "(cached) " >&6
    1699 else
    1700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1701 /* end confdefs.h.  */
    1702 $4
    1703 #include <$2>
    1704 _ACEOF
    1705 if ac_fn_c_try_compile "$LINENO"; then :
    1706   eval "$3=yes"
    1707 else
    1708   eval "$3=no"
    1709 fi
    1710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1711 fi
    1712 eval ac_res=\$$3
    1713                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1714 $as_echo "$ac_res" >&6; }
    1715   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1716 
    1717 } # ac_fn_c_check_header_compile
    17181433cat >config.log <<_ACEOF
    17191434This file contains any messages produced by compilers while
    17201435running configure, to aid debugging if configure makes a mistake.
    17211436
    1722 It was created by RapptureGUI $as_me 1.1, which was
    1723 generated by GNU Autoconf 2.64.  Invocation command line was
     1437It was created by RapptureGUI $as_me 1.4, which was
     1438generated by GNU Autoconf 2.69.  Invocation command line was
    17241439
    17251440  $ $0 $@
     
    18311546    echo
    18321547
    1833     cat <<\_ASBOX
    1834 ## ---------------- ##
     1548    $as_echo "## ---------------- ##
    18351549## Cache variables. ##
    1836 ## ---------------- ##
    1837 _ASBOX
     1550## ---------------- ##"
    18381551    echo
    18391552    # The following way of writing the cache mishandles newlines in values,
     
    18691582    echo
    18701583
    1871     cat <<\_ASBOX
    1872 ## ----------------- ##
     1584    $as_echo "## ----------------- ##
    18731585## Output variables. ##
    1874 ## ----------------- ##
    1875 _ASBOX
     1586## ----------------- ##"
    18761587    echo
    18771588    for ac_var in $ac_subst_vars
     
    18861597
    18871598    if test -n "$ac_subst_files"; then
    1888       cat <<\_ASBOX
    1889 ## ------------------- ##
     1599      $as_echo "## ------------------- ##
    18901600## File substitutions. ##
    1891 ## ------------------- ##
    1892 _ASBOX
     1601## ------------------- ##"
    18931602      echo
    18941603      for ac_var in $ac_subst_files
     
    19041613
    19051614    if test -s confdefs.h; then
    1906       cat <<\_ASBOX
    1907 ## ----------- ##
     1615      $as_echo "## ----------- ##
    19081616## confdefs.h. ##
    1909 ## ----------- ##
    1910 _ASBOX
     1617## ----------- ##"
    19111618      echo
    19121619      cat confdefs.h
     
    19631670ac_site_file2=NONE
    19641671if test -n "$CONFIG_SITE"; then
    1965   ac_site_file1=$CONFIG_SITE
     1672  # We do not want a PATH search for config.site.
     1673  case $CONFIG_SITE in #((
     1674    -*)  ac_site_file1=./$CONFIG_SITE;;
     1675    */*) ac_site_file1=$CONFIG_SITE;;
     1676    *)   ac_site_file1=./$CONFIG_SITE;;
     1677  esac
    19661678elif test "x$prefix" != xNONE; then
    19671679  ac_site_file1=$prefix/share/config.site
     
    19741686do
    19751687  test "x$ac_site_file" = xNONE && continue
    1976   if test -r "$ac_site_file"; then
     1688  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    19771689    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    19781690$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    19791691    sed 's/^/| /' "$ac_site_file" >&5
    1980     . "$ac_site_file"
     1692    . "$ac_site_file" \
     1693      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     1694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     1695as_fn_error $? "failed to load site script $ac_site_file
     1696See \`config.log' for more details" "$LINENO" 5; }
    19811697  fi
    19821698done
    19831699
    19841700if test -r "$cache_file"; then
    1985   # Some versions of bash will fail to source /dev/null (special
    1986   # files actually), so we avoid doing that.
    1987   if test -f "$cache_file"; then
     1701  # Some versions of bash will fail to source /dev/null (special files
     1702  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     1703  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    19881704    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    19891705$as_echo "$as_me: loading cache $cache_file" >&6;}
     
    20541770  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    20551771$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2056   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     1772  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    20571773fi
    20581774## -------------------- ##
     
    20691785ac_aux_dir=
    20701786for ac_dir in cf "$srcdir"/cf; do
    2071   for ac_t in install-sh install.sh shtool; do
    2072     if test -f "$ac_dir/$ac_t"; then
    2073       ac_aux_dir=$ac_dir
    2074       ac_install_sh="$ac_aux_dir/$ac_t -c"
    2075       break 2
    2076     fi
    2077   done
     1787  if test -f "$ac_dir/install-sh"; then
     1788    ac_aux_dir=$ac_dir
     1789    ac_install_sh="$ac_aux_dir/install-sh -c"
     1790    break
     1791  elif test -f "$ac_dir/install.sh"; then
     1792    ac_aux_dir=$ac_dir
     1793    ac_install_sh="$ac_aux_dir/install.sh -c"
     1794    break
     1795  elif test -f "$ac_dir/shtool"; then
     1796    ac_aux_dir=$ac_dir
     1797    ac_install_sh="$ac_aux_dir/shtool install -c"
     1798    break
     1799  fi
    20781800done
    20791801if test -z "$ac_aux_dir"; then
    2080   as_fn_error "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
     1802  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    20811803fi
    20821804
     
    21081830# Make sure we can run config.sub.
    21091831$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    2110   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     1832  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
    21111833
    21121834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    21131835$as_echo_n "checking build system type... " >&6; }
    2114 if test "${ac_cv_build+set}" = set; then :
     1836if ${ac_cv_build+:} false; then :
    21151837  $as_echo_n "(cached) " >&6
    21161838else
     
    21191841  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    21201842test "x$ac_build_alias" = x &&
    2121   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
     1843  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
    21221844ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    2123   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     1845  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
    21241846
    21251847fi
     
    21281850case $ac_cv_build in
    21291851*-*-*) ;;
    2130 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
     1852*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
    21311853esac
    21321854build=$ac_cv_build
     
    21461868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    21471869$as_echo_n "checking host system type... " >&6; }
    2148 if test "${ac_cv_host+set}" = set; then :
     1870if ${ac_cv_host+:} false; then :
    21491871  $as_echo_n "(cached) " >&6
    21501872else
     
    21531875else
    21541876  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    2155     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     1877    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
    21561878fi
    21571879
     
    21611883case $ac_cv_host in
    21621884*-*-*) ;;
    2163 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
     1885*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
    21641886esac
    21651887host=$ac_cv_host
     
    21791901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
    21801902$as_echo_n "checking target system type... " >&6; }
    2181 if test "${ac_cv_target+set}" = set; then :
     1903if ${ac_cv_target+:} false; then :
    21821904  $as_echo_n "(cached) " >&6
    21831905else
     
    21861908else
    21871909  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    2188     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
     1910    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
    21891911fi
    21901912
     
    21941916case $ac_cv_target in
    21951917*-*-*) ;;
    2196 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
     1918*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
    21971919esac
    21981920target=$ac_cv_target
     
    22351957$as_echo_n "checking for a BSD-compatible install... " >&6; }
    22361958if test -z "$INSTALL"; then
    2237 if test "${ac_cv_path_install+set}" = set; then :
     1959if ${ac_cv_path_install+:} false; then :
    22381960  $as_echo_n "(cached) " >&6
    22391961else
     
    22551977    for ac_prog in ginstall scoinst install; do
    22561978      for ac_exec_ext in '' $ac_executable_extensions; do
    2257         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     1979        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    22581980          if test $ac_prog = install &&
    22591981            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    23172039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    23182040$as_echo_n "checking for $ac_word... " >&6; }
    2319 if test "${ac_cv_prog_RANLIB+set}" = set; then :
     2041if ${ac_cv_prog_RANLIB+:} false; then :
    23202042  $as_echo_n "(cached) " >&6
    23212043else
     
    23292051  test -z "$as_dir" && as_dir=.
    23302052    for ac_exec_ext in '' $ac_executable_extensions; do
    2331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2053  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    23322054    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    23332055    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    23572079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    23582080$as_echo_n "checking for $ac_word... " >&6; }
    2359 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
     2081if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    23602082  $as_echo_n "(cached) " >&6
    23612083else
     
    23692091  test -z "$as_dir" && as_dir=.
    23702092    for ac_exec_ext in '' $ac_executable_extensions; do
    2371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2093  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    23722094    ac_cv_prog_ac_ct_RANLIB="ranlib"
    23732095    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24182140$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    24192141if test -z "$MKDIR_P"; then
    2420   if test "${ac_cv_path_mkdir+set}" = set; then :
     2142  if ${ac_cv_path_mkdir+:} false; then :
    24212143  $as_echo_n "(cached) " >&6
    24222144else
     
    24282150    for ac_prog in mkdir gmkdir; do
    24292151         for ac_exec_ext in '' $ac_executable_extensions; do
    2430            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     2152           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
    24312153           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    24322154             'mkdir (GNU coreutils) '* | \
     
    24432165fi
    24442166
     2167  test -d ./--version && rmdir ./--version
    24452168  if test "${ac_cv_path_mkdir+set}" = set; then
    24462169    MKDIR_P="$ac_cv_path_mkdir -p"
     
    24502173    # break other packages using the cache if that directory is
    24512174    # removed, or if the value is a relative name.
    2452     test -d ./--version && rmdir ./--version
    24532175    MKDIR_P="$ac_install_sh -d"
    24542176  fi
     
    24612183set x ${MAKE-make}
    24622184ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    2463 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
     2185if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
    24642186  $as_echo_n "(cached) " >&6
    24652187else
     
    24692191        @echo '@@@%%%=$(MAKE)=@@@%%%'
    24702192_ACEOF
    2471 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     2193# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    24722194case `${MAKE-make} -f conftest.make 2>/dev/null` in
    24732195  *@@@%%%=?*=@@@%%%*)
     
    24982220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24992221$as_echo_n "checking for $ac_word... " >&6; }
    2500 if test "${ac_cv_prog_CC+set}" = set; then :
     2222if ${ac_cv_prog_CC+:} false; then :
    25012223  $as_echo_n "(cached) " >&6
    25022224else
     
    25102232  test -z "$as_dir" && as_dir=.
    25112233    for ac_exec_ext in '' $ac_executable_extensions; do
    2512   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2234  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25132235    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    25142236    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    25382260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25392261$as_echo_n "checking for $ac_word... " >&6; }
    2540 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
     2262if ${ac_cv_prog_ac_ct_CC+:} false; then :
    25412263  $as_echo_n "(cached) " >&6
    25422264else
     
    25502272  test -z "$as_dir" && as_dir=.
    25512273    for ac_exec_ext in '' $ac_executable_extensions; do
    2552   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2274  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25532275    ac_cv_prog_ac_ct_CC="gcc"
    25542276    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    25912313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25922314$as_echo_n "checking for $ac_word... " >&6; }
    2593 if test "${ac_cv_prog_CC+set}" = set; then :
     2315if ${ac_cv_prog_CC+:} false; then :
    25942316  $as_echo_n "(cached) " >&6
    25952317else
     
    26032325  test -z "$as_dir" && as_dir=.
    26042326    for ac_exec_ext in '' $ac_executable_extensions; do
    2605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2327  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26062328    ac_cv_prog_CC="${ac_tool_prefix}cc"
    26072329    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    26312353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26322354$as_echo_n "checking for $ac_word... " >&6; }
    2633 if test "${ac_cv_prog_CC+set}" = set; then :
     2355if ${ac_cv_prog_CC+:} false; then :
    26342356  $as_echo_n "(cached) " >&6
    26352357else
     
    26442366  test -z "$as_dir" && as_dir=.
    26452367    for ac_exec_ext in '' $ac_executable_extensions; do
    2646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2368  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26472369    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    26482370       ac_prog_rejected=yes
     
    26902412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26912413$as_echo_n "checking for $ac_word... " >&6; }
    2692 if test "${ac_cv_prog_CC+set}" = set; then :
     2414if ${ac_cv_prog_CC+:} false; then :
    26932415  $as_echo_n "(cached) " >&6
    26942416else
     
    27022424  test -z "$as_dir" && as_dir=.
    27032425    for ac_exec_ext in '' $ac_executable_extensions; do
    2704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2426  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27052427    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    27062428    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27342456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    27352457$as_echo_n "checking for $ac_word... " >&6; }
    2736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
     2458if ${ac_cv_prog_ac_ct_CC+:} false; then :
    27372459  $as_echo_n "(cached) " >&6
    27382460else
     
    27462468  test -z "$as_dir" && as_dir=.
    27472469    for ac_exec_ext in '' $ac_executable_extensions; do
    2748   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2470  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27492471    ac_cv_prog_ac_ct_CC="$ac_prog"
    27502472    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27882510test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    27892511$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2790 as_fn_error "no acceptable C compiler found in \$PATH
    2791 See \`config.log' for more details." "$LINENO" 5; }
     2512as_fn_error $? "no acceptable C compiler found in \$PATH
     2513See \`config.log' for more details" "$LINENO" 5; }
    27922514
    27932515# Provide some information about the compiler.
     
    28102532         10q' conftest.err >conftest.er1
    28112533    cat conftest.er1 >&5
    2812     rm -f conftest.er1 conftest.err
    28132534  fi
     2535  rm -f conftest.er1 conftest.err
    28142536  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    28152537  test $ac_status = 0; }
     
    28182540cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28192541/* end confdefs.h.  */
    2820 #include <stdio.h>
     2542
    28212543int
    28222544main ()
    28232545{
    2824 FILE *f = fopen ("conftest.out", "w");
    2825  return ferror (f) || fclose (f) != 0;
    28262546
    28272547  ;
     
    28302550_ACEOF
    28312551ac_clean_files_save=$ac_clean_files
    2832 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
     2552ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    28332553# Try to create an executable without -o first, disregard a.out.
    28342554# It will help us diagnose broken compilers, and finding out an intuition
    28352555# of exeext.
    2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    2837 $as_echo_n "checking for C compiler default output file name... " >&6; }
     2556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     2557$as_echo_n "checking whether the C compiler works... " >&6; }
    28382558ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    28392559
     
    28972617  ac_file=''
    28982618fi
     2619if test -z "$ac_file"; then :
     2620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2621$as_echo "no" >&6; }
     2622$as_echo "$as_me: failed program was:" >&5
     2623sed 's/^/| /' conftest.$ac_ext >&5
     2624
     2625{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2626$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2627as_fn_error 77 "C compiler cannot create executables
     2628See \`config.log' for more details" "$LINENO" 5; }
     2629else
     2630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2631$as_echo "yes" >&6; }
     2632fi
     2633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     2634$as_echo_n "checking for C compiler default output file name... " >&6; }
    28992635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    29002636$as_echo "$ac_file" >&6; }
    2901 if test -z "$ac_file"; then :
    2902   $as_echo "$as_me: failed program was:" >&5
    2903 sed 's/^/| /' conftest.$ac_ext >&5
    2904 
    2905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2907 { as_fn_set_status 77
    2908 as_fn_error "C compiler cannot create executables
    2909 See \`config.log' for more details." "$LINENO" 5; }; }
    2910 fi
    29112637ac_exeext=$ac_cv_exeext
    29122638
    2913 # Check that the compiler produces executables we can run.  If not, either
    2914 # the compiler is broken, or we cross compile.
    2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    2916 $as_echo_n "checking whether the C compiler works... " >&6; }
    2917 # If not cross compiling, check that we can run a simple program.
    2918 if test "$cross_compiling" != yes; then
    2919   if { ac_try='./$ac_file'
    2920   { { case "(($ac_try" in
    2921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2922   *) ac_try_echo=$ac_try;;
    2923 esac
    2924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2925 $as_echo "$ac_try_echo"; } >&5
    2926   (eval "$ac_try") 2>&5
    2927   ac_status=$?
    2928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2929   test $ac_status = 0; }; }; then
    2930     cross_compiling=no
    2931   else
    2932     if test "$cross_compiling" = maybe; then
    2933         cross_compiling=yes
    2934     else
    2935         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2937 as_fn_error "cannot run C compiled programs.
    2938 If you meant to cross compile, use \`--host'.
    2939 See \`config.log' for more details." "$LINENO" 5; }
    2940     fi
    2941   fi
    2942 fi
    2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    2944 $as_echo "yes" >&6; }
    2945 
    2946 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
     2639rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    29472640ac_clean_files=$ac_clean_files_save
    2948 # Check that the compiler produces executables we can run.  If not, either
    2949 # the compiler is broken, or we cross compile.
    2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    2951 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    2953 $as_echo "$cross_compiling" >&6; }
    2954 
    29552641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    29562642$as_echo_n "checking for suffix of executables... " >&6; }
     
    29822668  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29832669$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2984 as_fn_error "cannot compute suffix of executables: cannot compile and link
    2985 See \`config.log' for more details." "$LINENO" 5; }
    2986 fi
    2987 rm -f conftest$ac_cv_exeext
     2670as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     2671See \`config.log' for more details" "$LINENO" 5; }
     2672fi
     2673rm -f conftest conftest$ac_cv_exeext
    29882674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    29892675$as_echo "$ac_cv_exeext" >&6; }
     
    29922678EXEEXT=$ac_cv_exeext
    29932679ac_exeext=$EXEEXT
     2680cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2681/* end confdefs.h.  */
     2682#include <stdio.h>
     2683int
     2684main ()
     2685{
     2686FILE *f = fopen ("conftest.out", "w");
     2687 return ferror (f) || fclose (f) != 0;
     2688
     2689  ;
     2690  return 0;
     2691}
     2692_ACEOF
     2693ac_clean_files="$ac_clean_files conftest.out"
     2694# Check that the compiler produces executables we can run.  If not, either
     2695# the compiler is broken, or we cross compile.
     2696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     2697$as_echo_n "checking whether we are cross compiling... " >&6; }
     2698if test "$cross_compiling" != yes; then
     2699  { { ac_try="$ac_link"
     2700case "(($ac_try" in
     2701  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2702  *) ac_try_echo=$ac_try;;
     2703esac
     2704eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2705$as_echo "$ac_try_echo"; } >&5
     2706  (eval "$ac_link") 2>&5
     2707  ac_status=$?
     2708  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2709  test $ac_status = 0; }
     2710  if { ac_try='./conftest$ac_cv_exeext'
     2711  { { case "(($ac_try" in
     2712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2713  *) ac_try_echo=$ac_try;;
     2714esac
     2715eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2716$as_echo "$ac_try_echo"; } >&5
     2717  (eval "$ac_try") 2>&5
     2718  ac_status=$?
     2719  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2720  test $ac_status = 0; }; }; then
     2721    cross_compiling=no
     2722  else
     2723    if test "$cross_compiling" = maybe; then
     2724        cross_compiling=yes
     2725    else
     2726        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2727$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2728as_fn_error $? "cannot run C compiled programs.
     2729If you meant to cross compile, use \`--host'.
     2730See \`config.log' for more details" "$LINENO" 5; }
     2731    fi
     2732  fi
     2733fi
     2734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     2735$as_echo "$cross_compiling" >&6; }
     2736
     2737rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     2738ac_clean_files=$ac_clean_files_save
    29942739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    29952740$as_echo_n "checking for suffix of object files... " >&6; }
    2996 if test "${ac_cv_objext+set}" = set; then :
     2741if ${ac_cv_objext+:} false; then :
    29972742  $as_echo_n "(cached) " >&6
    29982743else
     
    30342779{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    30352780$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3036 as_fn_error "cannot compute suffix of object files: cannot compile
    3037 See \`config.log' for more details." "$LINENO" 5; }
     2781as_fn_error $? "cannot compute suffix of object files: cannot compile
     2782See \`config.log' for more details" "$LINENO" 5; }
    30382783fi
    30392784rm -f conftest.$ac_cv_objext conftest.$ac_ext
     
    30452790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    30462791$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3047 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
     2792if ${ac_cv_c_compiler_gnu+:} false; then :
    30482793  $as_echo_n "(cached) " >&6
    30492794else
     
    30822827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    30832828$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3084 if test "${ac_cv_prog_cc_g+set}" = set; then :
     2829if ${ac_cv_prog_cc_g+:} false; then :
    30852830  $as_echo_n "(cached) " >&6
    30862831else
     
    31602905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    31612906$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3162 if test "${ac_cv_prog_cc_c89+set}" = set; then :
     2907if ${ac_cv_prog_cc_c89+:} false; then :
    31632908  $as_echo_n "(cached) " >&6
    31642909else
     
    31692914#include <stdarg.h>
    31702915#include <stdio.h>
    3171 #include <sys/types.h>
    3172 #include <sys/stat.h>
     2916struct stat;
    31732917/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    31742918struct buf { int x; };
     
    32563000
    32573001
    3258 
    3259 ac_ext=c
    3260 ac_cpp='$CPP $CPPFLAGS'
    3261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    3265 $as_echo_n "checking how to run the C preprocessor... " >&6; }
    3266 # On Suns, sometimes $CPP names a directory.
    3267 if test -n "$CPP" && test -d "$CPP"; then
    3268   CPP=
    3269 fi
    3270 if test -z "$CPP"; then
    3271   if test "${ac_cv_prog_CPP+set}" = set; then :
    3272   $as_echo_n "(cached) " >&6
    3273 else
    3274       # Double quotes because CPP needs to be expanded
    3275     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    3276     do
    3277       ac_preproc_ok=false
    3278 for ac_c_preproc_warn_flag in '' yes
    3279 do
    3280   # Use a header file that comes with gcc, so configuring glibc
    3281   # with a fresh cross-compiler works.
    3282   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3283   # <limits.h> exists even on freestanding compilers.
    3284   # On the NeXT, cc -E runs the code through the compiler's parser,
    3285   # not just through cpp. "Syntax error" is here to catch this case.
    3286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3287 /* end confdefs.h.  */
    3288 #ifdef __STDC__
    3289 # include <limits.h>
    3290 #else
    3291 # include <assert.h>
    3292 #endif
    3293                      Syntax error
    3294 _ACEOF
    3295 if ac_fn_c_try_cpp "$LINENO"; then :
    3296 
    3297 else
    3298   # Broken: fails on valid input.
    3299 continue
    3300 fi
    3301 rm -f conftest.err conftest.$ac_ext
    3302 
    3303   # OK, works on sane cases.  Now check whether nonexistent headers
    3304   # can be detected and how.
    3305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3306 /* end confdefs.h.  */
    3307 #include <ac_nonexistent.h>
    3308 _ACEOF
    3309 if ac_fn_c_try_cpp "$LINENO"; then :
    3310   # Broken: success on invalid input.
    3311 continue
    3312 else
    3313   # Passes both tests.
    3314 ac_preproc_ok=:
    3315 break
    3316 fi
    3317 rm -f conftest.err conftest.$ac_ext
    3318 
    3319 done
    3320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3321 rm -f conftest.err conftest.$ac_ext
    3322 if $ac_preproc_ok; then :
    3323   break
    3324 fi
    3325 
    3326     done
    3327     ac_cv_prog_CPP=$CPP
    3328 
    3329 fi
    3330   CPP=$ac_cv_prog_CPP
    3331 else
    3332   ac_cv_prog_CPP=$CPP
    3333 fi
    3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    3335 $as_echo "$CPP" >&6; }
    3336 ac_preproc_ok=false
    3337 for ac_c_preproc_warn_flag in '' yes
    3338 do
    3339   # Use a header file that comes with gcc, so configuring glibc
    3340   # with a fresh cross-compiler works.
    3341   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3342   # <limits.h> exists even on freestanding compilers.
    3343   # On the NeXT, cc -E runs the code through the compiler's parser,
    3344   # not just through cpp. "Syntax error" is here to catch this case.
    3345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3346 /* end confdefs.h.  */
    3347 #ifdef __STDC__
    3348 # include <limits.h>
    3349 #else
    3350 # include <assert.h>
    3351 #endif
    3352                      Syntax error
    3353 _ACEOF
    3354 if ac_fn_c_try_cpp "$LINENO"; then :
    3355 
    3356 else
    3357   # Broken: fails on valid input.
    3358 continue
    3359 fi
    3360 rm -f conftest.err conftest.$ac_ext
    3361 
    3362   # OK, works on sane cases.  Now check whether nonexistent headers
    3363   # can be detected and how.
    3364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3365 /* end confdefs.h.  */
    3366 #include <ac_nonexistent.h>
    3367 _ACEOF
    3368 if ac_fn_c_try_cpp "$LINENO"; then :
    3369   # Broken: success on invalid input.
    3370 continue
    3371 else
    3372   # Passes both tests.
    3373 ac_preproc_ok=:
    3374 break
    3375 fi
    3376 rm -f conftest.err conftest.$ac_ext
    3377 
    3378 done
    3379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3380 rm -f conftest.err conftest.$ac_ext
    3381 if $ac_preproc_ok; then :
    3382 
    3383 else
    3384   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3386 as_fn_error "C preprocessor \"$CPP\" fails sanity check
    3387 See \`config.log' for more details." "$LINENO" 5; }
    3388 fi
    3389 
    3390 ac_ext=c
    3391 ac_cpp='$CPP $CPPFLAGS'
    3392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3395 
    3396 
    3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    3398 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3399 if test "${ac_cv_path_GREP+set}" = set; then :
    3400   $as_echo_n "(cached) " >&6
    3401 else
    3402   if test -z "$GREP"; then
    3403   ac_path_GREP_found=false
    3404   # Loop through the user's path and test for each of PROGNAME-LIST
    3405   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3406 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    3407 do
    3408   IFS=$as_save_IFS
    3409   test -z "$as_dir" && as_dir=.
    3410     for ac_prog in grep ggrep; do
    3411     for ac_exec_ext in '' $ac_executable_extensions; do
    3412       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3413       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    3414 # Check for GNU ac_path_GREP and select it if it is found.
    3415   # Check for GNU $ac_path_GREP
    3416 case `"$ac_path_GREP" --version 2>&1` in
    3417 *GNU*)
    3418   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    3419 *)
    3420   ac_count=0
    3421   $as_echo_n 0123456789 >"conftest.in"
    3422   while :
    3423   do
    3424     cat "conftest.in" "conftest.in" >"conftest.tmp"
    3425     mv "conftest.tmp" "conftest.in"
    3426     cp "conftest.in" "conftest.nl"
    3427     $as_echo 'GREP' >> "conftest.nl"
    3428     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    3429     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3430     as_fn_arith $ac_count + 1 && ac_count=$as_val
    3431     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    3432       # Best one so far, save it but keep looking for a better one
    3433       ac_cv_path_GREP="$ac_path_GREP"
    3434       ac_path_GREP_max=$ac_count
    3435     fi
    3436     # 10*(2^10) chars as input seems more than enough
    3437     test $ac_count -gt 10 && break
    3438   done
    3439   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    3440 esac
    3441 
    3442       $ac_path_GREP_found && break 3
    3443     done
    3444   done
    3445   done
    3446 IFS=$as_save_IFS
    3447   if test -z "$ac_cv_path_GREP"; then
    3448     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    3449   fi
    3450 else
    3451   ac_cv_path_GREP=$GREP
    3452 fi
    3453 
    3454 fi
    3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    3456 $as_echo "$ac_cv_path_GREP" >&6; }
    3457  GREP="$ac_cv_path_GREP"
    3458 
    3459 
    3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    3461 $as_echo_n "checking for egrep... " >&6; }
    3462 if test "${ac_cv_path_EGREP+set}" = set; then :
    3463   $as_echo_n "(cached) " >&6
    3464 else
    3465   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    3466    then ac_cv_path_EGREP="$GREP -E"
    3467    else
    3468      if test -z "$EGREP"; then
    3469   ac_path_EGREP_found=false
    3470   # Loop through the user's path and test for each of PROGNAME-LIST
    3471   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3472 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    3473 do
    3474   IFS=$as_save_IFS
    3475   test -z "$as_dir" && as_dir=.
    3476     for ac_prog in egrep; do
    3477     for ac_exec_ext in '' $ac_executable_extensions; do
    3478       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    3479       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    3480 # Check for GNU ac_path_EGREP and select it if it is found.
    3481   # Check for GNU $ac_path_EGREP
    3482 case `"$ac_path_EGREP" --version 2>&1` in
    3483 *GNU*)
    3484   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    3485 *)
    3486   ac_count=0
    3487   $as_echo_n 0123456789 >"conftest.in"
    3488   while :
    3489   do
    3490     cat "conftest.in" "conftest.in" >"conftest.tmp"
    3491     mv "conftest.tmp" "conftest.in"
    3492     cp "conftest.in" "conftest.nl"
    3493     $as_echo 'EGREP' >> "conftest.nl"
    3494     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    3495     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3496     as_fn_arith $ac_count + 1 && ac_count=$as_val
    3497     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    3498       # Best one so far, save it but keep looking for a better one
    3499       ac_cv_path_EGREP="$ac_path_EGREP"
    3500       ac_path_EGREP_max=$ac_count
    3501     fi
    3502     # 10*(2^10) chars as input seems more than enough
    3503     test $ac_count -gt 10 && break
    3504   done
    3505   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    3506 esac
    3507 
    3508       $ac_path_EGREP_found && break 3
    3509     done
    3510   done
    3511   done
    3512 IFS=$as_save_IFS
    3513   if test -z "$ac_cv_path_EGREP"; then
    3514     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    3515   fi
    3516 else
    3517   ac_cv_path_EGREP=$EGREP
    3518 fi
    3519 
    3520    fi
    3521 fi
    3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    3523 $as_echo "$ac_cv_path_EGREP" >&6; }
    3524  EGREP="$ac_cv_path_EGREP"
    3525 
    3526 
    3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    3528 $as_echo_n "checking for ANSI C header files... " >&6; }
    3529 if test "${ac_cv_header_stdc+set}" = set; then :
    3530   $as_echo_n "(cached) " >&6
    3531 else
    3532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3533 /* end confdefs.h.  */
    3534 #include <stdlib.h>
    3535 #include <stdarg.h>
    3536 #include <string.h>
    3537 #include <float.h>
    3538 
    3539 int
    3540 main ()
    3541 {
    3542 
    3543   ;
    3544   return 0;
    3545 }
    3546 _ACEOF
    3547 if ac_fn_c_try_compile "$LINENO"; then :
    3548   ac_cv_header_stdc=yes
    3549 else
    3550   ac_cv_header_stdc=no
    3551 fi
    3552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3553 
    3554 if test $ac_cv_header_stdc = yes; then
    3555   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3557 /* end confdefs.h.  */
    3558 #include <string.h>
    3559 
    3560 _ACEOF
    3561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3562   $EGREP "memchr" >/dev/null 2>&1; then :
    3563 
    3564 else
    3565   ac_cv_header_stdc=no
    3566 fi
    3567 rm -f conftest*
    3568 
    3569 fi
    3570 
    3571 if test $ac_cv_header_stdc = yes; then
    3572   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3574 /* end confdefs.h.  */
    3575 #include <stdlib.h>
    3576 
    3577 _ACEOF
    3578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3579   $EGREP "free" >/dev/null 2>&1; then :
    3580 
    3581 else
    3582   ac_cv_header_stdc=no
    3583 fi
    3584 rm -f conftest*
    3585 
    3586 fi
    3587 
    3588 if test $ac_cv_header_stdc = yes; then
    3589   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3590   if test "$cross_compiling" = yes; then :
    3591   :
    3592 else
    3593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3594 /* end confdefs.h.  */
    3595 #include <ctype.h>
    3596 #include <stdlib.h>
    3597 #if ((' ' & 0x0FF) == 0x020)
    3598 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    3599 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    3600 #else
    3601 # define ISLOWER(c) \
    3602                    (('a' <= (c) && (c) <= 'i') \
    3603                      || ('j' <= (c) && (c) <= 'r') \
    3604                      || ('s' <= (c) && (c) <= 'z'))
    3605 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    3606 #endif
    3607 
    3608 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    3609 int
    3610 main ()
    3611 {
    3612   int i;
    3613   for (i = 0; i < 256; i++)
    3614     if (XOR (islower (i), ISLOWER (i))
    3615         || toupper (i) != TOUPPER (i))
    3616       return 2;
    3617   return 0;
    3618 }
    3619 _ACEOF
    3620 if ac_fn_c_try_run "$LINENO"; then :
    3621 
    3622 else
    3623   ac_cv_header_stdc=no
    3624 fi
    3625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    3626   conftest.$ac_objext conftest.beam conftest.$ac_ext
    3627 fi
    3628 
    3629 fi
    3630 fi
    3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    3632 $as_echo "$ac_cv_header_stdc" >&6; }
    3633 if test $ac_cv_header_stdc = yes; then
    3634 
    3635 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
    3636 
    3637 fi
    3638 
    3639 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3640 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    3641                   inttypes.h stdint.h unistd.h
    3642 do :
    3643   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3644 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    3645 "
    3646 eval as_val=\$$as_ac_Header
    3647    if test "x$as_val" = x""yes; then :
    3648   cat >>confdefs.h <<_ACEOF
    3649 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    3650 _ACEOF
    3651 
    3652 fi
    3653 
    3654 done
    3655 
    3656 
    3657 
    3658 
    3659     # Step 0.a: Enable 64 bit support?
    3660 
    3661     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    3662 $as_echo_n "checking if 64bit support is requested... " >&6; }
    3663     # Check whether --enable-64bit was given.
    3664 if test "${enable_64bit+set}" = set; then :
    3665   enableval=$enable_64bit; do64bit=$enableval
    3666 else
    3667   do64bit=no
    3668 fi
    3669 
    3670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    3671 $as_echo "$do64bit" >&6; }
    3672 
    3673     # Step 0.b: Enable Solaris 64 bit VIS support?
    3674 
    3675     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    3676 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    3677     # Check whether --enable-64bit-vis was given.
    3678 if test "${enable_64bit_vis+set}" = set; then :
    3679   enableval=$enable_64bit_vis; do64bitVIS=$enableval
    3680 else
    3681   do64bitVIS=no
    3682 fi
    3683 
    3684     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    3685 $as_echo "$do64bitVIS" >&6; }
    3686 
    3687     if test "$do64bitVIS" = "yes"; then
    3688         # Force 64bit on with VIS
    3689         do64bit=yes
    3690     fi
    3691 
    3692     # Step 1: set the variable "system" to hold the name and version number
    3693     # for the system.
    3694 
    3695 
    3696     { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    3697 $as_echo_n "checking system version... " >&6; }
    3698 if test "${tcl_cv_sys_version+set}" = set; then :
    3699   $as_echo_n "(cached) " >&6
    3700 else
    3701 
    3702         if test -f /usr/lib/NextStep/software_version; then
    3703             tcl_cv_sys_version=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version`
    3704         else
    3705             tcl_cv_sys_version=`uname -s`-`uname -r`
    3706             if test "$?" -ne 0 ; then
    3707                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    3708 $as_echo "$as_me: WARNING: can't find uname command" >&2;}
    3709                 tcl_cv_sys_version=unknown
    3710             else
    3711                 # Special check for weird MP-RAS system (uname returns weird
    3712                 # results, and the version is kept in special file).
    3713 
    3714                 if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
    3715                     tcl_cv_sys_version=MP-RAS-`awk '{print $3}' /etc/.relid`
    3716                 fi
    3717                 if test "`uname -s`" = "AIX" ; then
    3718                     tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
    3719                 fi
    3720             fi
    3721         fi
    3722 
    3723 fi
    3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    3725 $as_echo "$tcl_cv_sys_version" >&6; }
    3726     system=$tcl_cv_sys_version
    3727 
    3728 
    3729     # Step 2: check for existence of -ldl library.  This is needed because
    3730     # Linux can use either -ldl or -ldld for dynamic loading.
    3731 
    3732     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    3733 $as_echo_n "checking for dlopen in -ldl... " >&6; }
    3734 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
    3735   $as_echo_n "(cached) " >&6
    3736 else
    3737   ac_check_lib_save_LIBS=$LIBS
    3738 LIBS="-ldl  $LIBS"
    3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3740 /* end confdefs.h.  */
    3741 
    3742 /* Override any GCC internal prototype to avoid an error.
    3743    Use char because int might match the return type of a GCC
    3744    builtin and then its argument prototype would still apply.  */
    3745 #ifdef __cplusplus
    3746 extern "C"
    3747 #endif
    3748 char dlopen ();
    3749 int
    3750 main ()
    3751 {
    3752 return dlopen ();
    3753   ;
    3754   return 0;
    3755 }
    3756 _ACEOF
    3757 if ac_fn_c_try_link "$LINENO"; then :
    3758   ac_cv_lib_dl_dlopen=yes
    3759 else
    3760   ac_cv_lib_dl_dlopen=no
    3761 fi
    3762 rm -f core conftest.err conftest.$ac_objext \
    3763     conftest$ac_exeext conftest.$ac_ext
    3764 LIBS=$ac_check_lib_save_LIBS
    3765 fi
    3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    3767 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    3768 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
    3769   have_dl=yes
    3770 else
    3771   have_dl=no
    3772 fi
    3773 
    3774 
    3775     # Require ranlib early so we can override it in special cases below.
    3776 
    3777 
    3778 
    3779     # Step 3: set configuration options based on system name and version.
    3780 
    3781     do64bit_ok=no
    3782     LDFLAGS_ORIG="$LDFLAGS"
    3783     TCL_EXPORT_FILE_SUFFIX=""
    3784     UNSHARED_LIB_SUFFIX=""
    3785     TCL_TRIM_DOTS='`echo ${VERSION} | tr -d .`'
    3786     ECHO_VERSION='`echo ${VERSION}`'
    3787     TCL_LIB_VERSIONS_OK=ok
    3788     CFLAGS_DEBUG=-g
    3789     CFLAGS_OPTIMIZE=-O
    3790     if test "$GCC" = "yes" ; then
    3791         CFLAGS_WARNING="-Wall -Wno-implicit-int -fno-strict-aliasing"
    3792     else
    3793         CFLAGS_WARNING=""
    3794     fi
    3795     TCL_NEEDS_EXP_FILE=0
    3796     TCL_BUILD_EXP_FILE=""
    3797     TCL_EXP_FILE=""
    3798     # Extract the first word of "ar", so it can be a program name with args.
    3799 set dummy ar; ac_word=$2
    3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3801 $as_echo_n "checking for $ac_word... " >&6; }
    3802 if test "${ac_cv_prog_AR+set}" = set; then :
    3803   $as_echo_n "(cached) " >&6
    3804 else
    3805   if test -n "$AR"; then
    3806   ac_cv_prog_AR="$AR" # Let the user override the test.
    3807 else
    3808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3809 for as_dir in $PATH
    3810 do
    3811   IFS=$as_save_IFS
    3812   test -z "$as_dir" && as_dir=.
    3813     for ac_exec_ext in '' $ac_executable_extensions; do
    3814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3815     ac_cv_prog_AR="ar"
    3816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3817     break 2
    3818   fi
    3819 done
    3820   done
    3821 IFS=$as_save_IFS
    3822 
    3823 fi
    3824 fi
    3825 AR=$ac_cv_prog_AR
    3826 if test -n "$AR"; then
    3827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    3828 $as_echo "$AR" >&6; }
    3829 else
    3830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3831 $as_echo "no" >&6; }
    3832 fi
    3833 
    3834 
    3835     if test "${AR}" = "" ; then
    3836         as_fn_error "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    3837     fi
    3838     STLIB_LD='${AR} cr'
    3839     LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH"
    3840     PLAT_OBJS=""
    3841     PLAT_SRCS=""
    3842     case $system in
    3843         AIX-*)
    3844             if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then
    3845                 # AIX requires the _r compiler when gcc isn't being used
    3846                 case "${CC}" in
    3847                     *_r)
    3848                         # ok ...
    3849                         ;;
    3850                     *)
    3851                         CC=${CC}_r
    3852                         ;;
    3853                 esac
    3854                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    3855 $as_echo "Using $CC for compiling with threads" >&6; }
    3856             fi
    3857             LIBS="$LIBS -lc"
    3858             SHLIB_CFLAGS=""
    3859             # Note: need the LIBS below, otherwise Tk won't find Tcl's
    3860             # symbols when dynamically loaded into tclsh.
    3861             SHLIB_LD_LIBS='${LIBS}'
    3862             SHLIB_SUFFIX=".so"
    3863 
    3864             DL_OBJS="tclLoadDl.o"
    3865             LD_LIBRARY_PATH_VAR="LIBPATH"
    3866 
    3867             # Check to enable 64-bit flags for compiler/linker on AIX 4+
    3868             if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    3869                 if test "$GCC" = "yes" ; then
    3870                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    3871 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    3872                 else
    3873                     do64bit_ok=yes
    3874                     CFLAGS="$CFLAGS -q64"
    3875                     LDFLAGS="$LDFLAGS -q64"
    3876                     RANLIB="${RANLIB} -X64"
    3877                     AR="${AR} -X64"
    3878                     SHLIB_LD_FLAGS="-b64"
    3879                 fi
    3880             fi
    3881 
    3882             if test "`uname -m`" = "ia64" ; then
    3883                 # AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC
    3884                 SHLIB_LD="/usr/ccs/bin/ld -G -z text"
    3885                 # AIX-5 has dl* in libc.so
    3886                 DL_LIBS=""
    3887                 if test "$GCC" = "yes" ; then
    3888                     CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
    3889                 else
    3890                     CC_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}'
    3891                 fi
    3892                 LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
    3893             else
    3894                 if test "$GCC" = "yes" ; then
    3895                     SHLIB_LD="gcc -shared"
    3896                 else
    3897                     SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
    3898                 fi
    3899                 SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix ${SHLIB_LD} ${SHLIB_LD_FLAGS}"
    3900                 DL_LIBS="-ldl"
    3901                 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    3902                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    3903                 TCL_NEEDS_EXP_FILE=1
    3904                 TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
    3905             fi
    3906 
    3907             # AIX v<=4.1 has some different flags than 4.2+
    3908             if test "$system" = "AIX-4.1" -o "`uname -v`" -lt "4" ; then
    3909                 LIBOBJS="$LIBOBJS tclLoadAix.o"
    3910                 DL_LIBS="-lld"
    3911             fi
    3912 
    3913             # On AIX <=v4 systems, libbsd.a has to be linked in to support
    3914             # non-blocking file IO.  This library has to be linked in after
    3915             # the MATH_LIBS or it breaks the pow() function.  The way to
    3916             # insure proper sequencing, is to add it to the tail of MATH_LIBS.
    3917             # This library also supplies gettimeofday.
    3918             #
    3919             # AIX does not have a timezone field in struct tm. When the AIX
    3920             # bsd library is used, the timezone global and the gettimeofday
    3921             # methods are to be avoided for timezone deduction instead, we
    3922             # deduce the timezone by comparing the localtime result on a
    3923             # known GMT value.
    3924 
    3925             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    3926 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    3927 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then :
    3928   $as_echo_n "(cached) " >&6
    3929 else
    3930   ac_check_lib_save_LIBS=$LIBS
    3931 LIBS="-lbsd  $LIBS"
    3932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3933 /* end confdefs.h.  */
    3934 
    3935 /* Override any GCC internal prototype to avoid an error.
    3936    Use char because int might match the return type of a GCC
    3937    builtin and then its argument prototype would still apply.  */
    3938 #ifdef __cplusplus
    3939 extern "C"
    3940 #endif
    3941 char gettimeofday ();
    3942 int
    3943 main ()
    3944 {
    3945 return gettimeofday ();
    3946   ;
    3947   return 0;
    3948 }
    3949 _ACEOF
    3950 if ac_fn_c_try_link "$LINENO"; then :
    3951   ac_cv_lib_bsd_gettimeofday=yes
    3952 else
    3953   ac_cv_lib_bsd_gettimeofday=no
    3954 fi
    3955 rm -f core conftest.err conftest.$ac_objext \
    3956     conftest$ac_exeext conftest.$ac_ext
    3957 LIBS=$ac_check_lib_save_LIBS
    3958 fi
    3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    3960 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    3961 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then :
    3962   libbsd=yes
    3963 else
    3964   libbsd=no
    3965 fi
    3966 
    3967             if test $libbsd = yes; then
    3968                 MATH_LIBS="$MATH_LIBS -lbsd"
    3969                 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    3970 
    3971             fi
    3972             ;;
    3973         BeOS*)
    3974             SHLIB_CFLAGS="-fPIC"
    3975             SHLIB_LD="${CC} -nostart"
    3976             SHLIB_LD_LIBS='${LIBS}'
    3977             SHLIB_SUFFIX=".so"
    3978             DL_OBJS="tclLoadDl.o"
    3979             DL_LIBS="-ldl"
    3980 
    3981             #-----------------------------------------------------------
    3982             # Check for inet_ntoa in -lbind, for BeOS (which also needs
    3983             # -lsocket, even if the network functions are in -lnet which
    3984             # is always linked to, for compatibility.
    3985             #-----------------------------------------------------------
    3986             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    3987 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    3988 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then :
    3989   $as_echo_n "(cached) " >&6
    3990 else
    3991   ac_check_lib_save_LIBS=$LIBS
    3992 LIBS="-lbind  $LIBS"
    3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3994 /* end confdefs.h.  */
    3995 
    3996 /* Override any GCC internal prototype to avoid an error.
    3997    Use char because int might match the return type of a GCC
    3998    builtin and then its argument prototype would still apply.  */
    3999 #ifdef __cplusplus
    4000 extern "C"
    4001 #endif
    4002 char inet_ntoa ();
    4003 int
    4004 main ()
    4005 {
    4006 return inet_ntoa ();
    4007   ;
    4008   return 0;
    4009 }
    4010 _ACEOF
    4011 if ac_fn_c_try_link "$LINENO"; then :
    4012   ac_cv_lib_bind_inet_ntoa=yes
    4013 else
    4014   ac_cv_lib_bind_inet_ntoa=no
    4015 fi
    4016 rm -f core conftest.err conftest.$ac_objext \
    4017     conftest$ac_exeext conftest.$ac_ext
    4018 LIBS=$ac_check_lib_save_LIBS
    4019 fi
    4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    4021 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4022 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then :
    4023   LIBS="$LIBS -lbind -lsocket"
    4024 fi
    4025 
    4026             ;;
    4027         BSD/OS-2.1*|BSD/OS-3*)
    4028             SHLIB_CFLAGS=""
    4029             SHLIB_LD="shlicc -r"
    4030             SHLIB_LD_LIBS='${LIBS}'
    4031             SHLIB_SUFFIX=".so"
    4032             DL_OBJS="tclLoadDl.o"
    4033             DL_LIBS="-ldl"
    4034             CC_SEARCH_FLAGS=""
    4035             LD_SEARCH_FLAGS=""
    4036             ;;
    4037         BSD/OS-4.*)
    4038             SHLIB_CFLAGS="-export-dynamic -fPIC"
    4039             SHLIB_LD="cc -shared"
    4040             SHLIB_LD_LIBS='${LIBS}'
    4041             SHLIB_SUFFIX=".so"
    4042             DL_OBJS="tclLoadDl.o"
    4043             DL_LIBS="-ldl"
    4044             LDFLAGS="$LDFLAGS -export-dynamic"
    4045             CC_SEARCH_FLAGS=""
    4046             LD_SEARCH_FLAGS=""
    4047             ;;
    4048         dgux*)
    4049             SHLIB_CFLAGS="-K PIC"
    4050             SHLIB_LD="cc -G"
    4051             SHLIB_LD_LIBS=""
    4052             SHLIB_SUFFIX=".so"
    4053             DL_OBJS="tclLoadDl.o"
    4054             DL_LIBS="-ldl"
    4055             CC_SEARCH_FLAGS=""
    4056             LD_SEARCH_FLAGS=""
    4057             ;;
    4058         HP-UX-*.11.*)
    4059             # Use updated header definitions where possible
    4060             $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    4061           # Use the XOPEN network library
    4062             $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    4063  # Use the XOPEN network library
    4064             LIBS="$LIBS -lxnet"               # Use the XOPEN network library
    4065 
    4066             if test "`uname -m`" = "ia64" ; then
    4067                 SHLIB_SUFFIX=".so"
    4068             else
    4069                 SHLIB_SUFFIX=".sl"
    4070             fi
    4071             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    4072 $as_echo_n "checking for shl_load in -ldld... " >&6; }
    4073 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
    4074   $as_echo_n "(cached) " >&6
    4075 else
    4076   ac_check_lib_save_LIBS=$LIBS
    4077 LIBS="-ldld  $LIBS"
    4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4079 /* end confdefs.h.  */
    4080 
    4081 /* Override any GCC internal prototype to avoid an error.
    4082    Use char because int might match the return type of a GCC
    4083    builtin and then its argument prototype would still apply.  */
    4084 #ifdef __cplusplus
    4085 extern "C"
    4086 #endif
    4087 char shl_load ();
    4088 int
    4089 main ()
    4090 {
    4091 return shl_load ();
    4092   ;
    4093   return 0;
    4094 }
    4095 _ACEOF
    4096 if ac_fn_c_try_link "$LINENO"; then :
    4097   ac_cv_lib_dld_shl_load=yes
    4098 else
    4099   ac_cv_lib_dld_shl_load=no
    4100 fi
    4101 rm -f core conftest.err conftest.$ac_objext \
    4102     conftest$ac_exeext conftest.$ac_ext
    4103 LIBS=$ac_check_lib_save_LIBS
    4104 fi
    4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    4106 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4107 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
    4108   tcl_ok=yes
    4109 else
    4110   tcl_ok=no
    4111 fi
    4112 
    4113             if test "$tcl_ok" = yes; then
    4114                 SHLIB_CFLAGS="+z"
    4115                 SHLIB_LD="ld -b"
    4116                 SHLIB_LD_LIBS='${LIBS}'
    4117                 DL_OBJS="tclLoadShl.o"
    4118                 DL_LIBS="-ldld"
    4119                 LDFLAGS="$LDFLAGS -Wl,-E"
    4120                 CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
    4121                 LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.'
    4122                 LD_LIBRARY_PATH_VAR="SHLIB_PATH"
    4123             fi
    4124             if test "$GCC" = "yes" ; then
    4125                 SHLIB_LD="gcc -shared"
    4126                 SHLIB_LD_LIBS='${LIBS}'
    4127                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4128             fi
    4129 
    4130             # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
    4131             #CFLAGS="$CFLAGS +DAportable"
    4132 
    4133             # Check to enable 64-bit flags for compiler/linker
    4134             if test "$do64bit" = "yes" ; then
    4135                 if test "$GCC" = "yes" ; then
    4136                     hpux_arch=`${CC} -dumpmachine`
    4137                     case $hpux_arch in
    4138                         hppa64*)
    4139                             # 64-bit gcc in use.  Fix flags for GNU ld.
    4140                             do64bit_ok=yes
    4141                             SHLIB_LD="${CC} -shared"
    4142                             SHLIB_LD_LIBS='${LIBS}'
    4143                             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4144                             LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4145                             ;;
    4146                         *)
    4147                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    4148 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    4149                             ;;
    4150                     esac
    4151                 else
    4152                     do64bit_ok=yes
    4153                     CFLAGS="$CFLAGS +DD64"
    4154                     LDFLAGS="$LDFLAGS +DD64"
    4155                 fi
    4156             fi
    4157             ;;
    4158         HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    4159             SHLIB_SUFFIX=".sl"
    4160             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    4161 $as_echo_n "checking for shl_load in -ldld... " >&6; }
    4162 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
    4163   $as_echo_n "(cached) " >&6
    4164 else
    4165   ac_check_lib_save_LIBS=$LIBS
    4166 LIBS="-ldld  $LIBS"
    4167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4168 /* end confdefs.h.  */
    4169 
    4170 /* Override any GCC internal prototype to avoid an error.
    4171    Use char because int might match the return type of a GCC
    4172    builtin and then its argument prototype would still apply.  */
    4173 #ifdef __cplusplus
    4174 extern "C"
    4175 #endif
    4176 char shl_load ();
    4177 int
    4178 main ()
    4179 {
    4180 return shl_load ();
    4181   ;
    4182   return 0;
    4183 }
    4184 _ACEOF
    4185 if ac_fn_c_try_link "$LINENO"; then :
    4186   ac_cv_lib_dld_shl_load=yes
    4187 else
    4188   ac_cv_lib_dld_shl_load=no
    4189 fi
    4190 rm -f core conftest.err conftest.$ac_objext \
    4191     conftest$ac_exeext conftest.$ac_ext
    4192 LIBS=$ac_check_lib_save_LIBS
    4193 fi
    4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    4195 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4196 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
    4197   tcl_ok=yes
    4198 else
    4199   tcl_ok=no
    4200 fi
    4201 
    4202             if test "$tcl_ok" = yes; then
    4203                 SHLIB_CFLAGS="+z"
    4204                 SHLIB_LD="ld -b"
    4205                 SHLIB_LD_LIBS=""
    4206                 DL_OBJS="tclLoadShl.o"
    4207                 DL_LIBS="-ldld"
    4208                 LDFLAGS="$LDFLAGS -Wl,-E"
    4209                 CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
    4210                 LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.'
    4211                 LD_LIBRARY_PATH_VAR="SHLIB_PATH"
    4212             fi
    4213             ;;
    4214         IRIX-4.*)
    4215             SHLIB_CFLAGS="-G 0"
    4216             SHLIB_SUFFIX=".a"
    4217             SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
    4218             SHLIB_LD_LIBS='${LIBS}'
    4219             DL_OBJS="tclLoadAout.o"
    4220             DL_LIBS=""
    4221             LDFLAGS="$LDFLAGS -Wl,-D,08000000"
    4222             CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    4223             LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4224             SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
    4225             ;;
    4226         IRIX-5.*)
    4227             SHLIB_CFLAGS=""
    4228             SHLIB_LD="ld -shared -rdata_shared"
    4229             SHLIB_LD_LIBS='${LIBS}'
    4230             SHLIB_SUFFIX=".so"
    4231             DL_OBJS="tclLoadDl.o"
    4232             DL_LIBS=""
    4233             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4234             LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4235             ;;
    4236         IRIX-6.*)
    4237             SHLIB_CFLAGS=""
    4238             SHLIB_LD="ld -n32 -shared -rdata_shared"
    4239             SHLIB_LD_LIBS='${LIBS}'
    4240             SHLIB_SUFFIX=".so"
    4241             DL_OBJS="tclLoadDl.o"
    4242             DL_LIBS=""
    4243             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4244             LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4245             if test "$GCC" = "yes" ; then
    4246                 CFLAGS="$CFLAGS -mabi=n32"
    4247                 LDFLAGS="$LDFLAGS -mabi=n32"
    4248             else
    4249                 case $system in
    4250                     IRIX-6.3)
    4251                         # Use to build 6.2 compatible binaries on 6.3.
    4252                         CFLAGS="$CFLAGS -n32 -D_OLD_TERMIOS"
    4253                         ;;
    4254                     *)
    4255                         CFLAGS="$CFLAGS -n32"
    4256                         ;;
    4257                 esac
    4258                 LDFLAGS="$LDFLAGS -n32"
    4259             fi
    4260             ;;
    4261         IRIX64-6.*)
    4262             SHLIB_CFLAGS=""
    4263             SHLIB_LD="ld -n32 -shared -rdata_shared"
    4264             SHLIB_LD_LIBS='${LIBS}'
    4265             SHLIB_SUFFIX=".so"
    4266             DL_OBJS="tclLoadDl.o"
    4267             DL_LIBS=""
    4268             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4269             LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4270 
    4271             # Check to enable 64-bit flags for compiler/linker
    4272 
    4273             if test "$do64bit" = "yes" ; then
    4274                 if test "$GCC" = "yes" ; then
    4275                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    4276 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    4277                 else
    4278                     do64bit_ok=yes
    4279                     SHLIB_LD="ld -64 -shared -rdata_shared"
    4280                     CFLAGS="$CFLAGS -64"
    4281                     LDFLAGS="$LDFLAGS -64"
    4282                 fi
    4283             fi
    4284             ;;
    4285         Linux*)
    4286             SHLIB_CFLAGS="-fPIC"
    4287             SHLIB_LD_LIBS='${LIBS}'
    4288             SHLIB_SUFFIX=".so"
    4289 
    4290             CFLAGS_OPTIMIZE=-O2
    4291             # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings
    4292             # when you inline the string and math operations.  Turn this off to
    4293             # get rid of the warnings.
    4294             #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
    4295 
    4296             if test "$have_dl" = yes; then
    4297                 SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
    4298                 DL_OBJS="tclLoadDl.o"
    4299                 DL_LIBS="-ldl"
    4300                 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
    4301                 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4302                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4303             else
    4304                 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    4305 if test "x$ac_cv_header_dld_h" = x""yes; then :
    4306 
    4307                     SHLIB_LD="ld -shared"
    4308                     DL_OBJS="tclLoadDld.o"
    4309                     DL_LIBS="-ldld"
    4310                     CC_SEARCH_FLAGS=""
    4311                     LD_SEARCH_FLAGS=""
    4312 fi
    4313 
    4314 
    4315             fi
    4316             if test "`uname -m`" = "alpha" ; then
    4317                 CFLAGS="$CFLAGS -mieee"
    4318             fi
    4319             if test $do64bit = yes; then
    4320                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    4321 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4322 if test "${tcl_cv_cc_m64+set}" = set; then :
    4323   $as_echo_n "(cached) " >&6
    4324 else
    4325 
    4326                     hold_cflags=$CFLAGS
    4327                     CFLAGS="$CFLAGS -m64"
    4328                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4329 /* end confdefs.h.  */
    4330 
    4331 int
    4332 main ()
    4333 {
    4334 
    4335   ;
    4336   return 0;
    4337 }
    4338 _ACEOF
    4339 if ac_fn_c_try_link "$LINENO"; then :
    4340   tcl_cv_cc_m64=yes
    4341 else
    4342   tcl_cv_cc_m64=no
    4343 fi
    4344 rm -f core conftest.err conftest.$ac_objext \
    4345     conftest$ac_exeext conftest.$ac_ext
    4346                     CFLAGS=$hold_cflags
    4347 fi
    4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    4349 $as_echo "$tcl_cv_cc_m64" >&6; }
    4350                 if test $tcl_cv_cc_m64 = yes; then
    4351                     CFLAGS="$CFLAGS -m64"
    4352                     do64bit_ok=yes
    4353                 fi
    4354             fi
    4355 
    4356             # The combo of gcc + glibc has a bug related
    4357             # to inlining of functions like strtod(). The
    4358             # -fno-builtin flag should address this problem
    4359             # but it does not work. The -fno-inline flag
    4360             # is kind of overkill but it works.
    4361             # Disable inlining only when one of the
    4362             # files in compat/*.c is being linked in.
    4363             if test x"${LIBOBJS}" != x ; then
    4364                 CFLAGS="$CFLAGS -fno-inline"
    4365             fi
    4366 
    4367             # XIM peeking works under XFree86.
    4368             $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    4369 
    4370 
    4371             ;;
    4372         GNU*)
    4373             SHLIB_CFLAGS="-fPIC"
    4374             SHLIB_LD_LIBS='${LIBS}'
    4375             SHLIB_SUFFIX=".so"
    4376 
    4377             if test "$have_dl" = yes; then
    4378                 SHLIB_LD="${CC} -shared"
    4379                 DL_OBJS=""
    4380                 DL_LIBS="-ldl"
    4381                 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
    4382                 CC_SEARCH_FLAGS=""
    4383                 LD_SEARCH_FLAGS=""
    4384             else
    4385                 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    4386 if test "x$ac_cv_header_dld_h" = x""yes; then :
    4387 
    4388                     SHLIB_LD="ld -shared"
    4389                     DL_OBJS=""
    4390                     DL_LIBS="-ldld"
    4391                     CC_SEARCH_FLAGS=""
    4392                     LD_SEARCH_FLAGS=""
    4393 fi
    4394 
    4395 
    4396             fi
    4397             if test "`uname -m`" = "alpha" ; then
    4398                 CFLAGS="$CFLAGS -mieee"
    4399             fi
    4400             ;;
    4401         Lynx*)
    4402             SHLIB_CFLAGS="-fPIC"
    4403             SHLIB_LD_LIBS='${LIBS}'
    4404             SHLIB_SUFFIX=".so"
    4405             CFLAGS_OPTIMIZE=-02
    4406             SHLIB_LD="${CC} -shared "
    4407             DL_OBJS="tclLoadDl.o"
    4408             DL_LIBS="-mshared -ldl"
    4409             LD_FLAGS="-Wl,--export-dynamic"
    4410             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4411             LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4412             ;;
    4413         MP-RAS-02*)
    4414             SHLIB_CFLAGS="-K PIC"
    4415             SHLIB_LD="cc -G"
    4416             SHLIB_LD_LIBS=""
    4417             SHLIB_SUFFIX=".so"
    4418             DL_OBJS="tclLoadDl.o"
    4419             DL_LIBS="-ldl"
    4420             CC_SEARCH_FLAGS=""
    4421             LD_SEARCH_FLAGS=""
    4422             ;;
    4423         MP-RAS-*)
    4424             SHLIB_CFLAGS="-K PIC"
    4425             SHLIB_LD="cc -G"
    4426             SHLIB_LD_LIBS=""
    4427             SHLIB_SUFFIX=".so"
    4428             DL_OBJS="tclLoadDl.o"
    4429             DL_LIBS="-ldl"
    4430             LDFLAGS="$LDFLAGS -Wl,-Bexport"
    4431             CC_SEARCH_FLAGS=""
    4432             LD_SEARCH_FLAGS=""
    4433             ;;
    4434         NetBSD-*|FreeBSD-[1-2].*)
    4435             # Not available on all versions:  check for include file.
    4436             ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
    4437 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
    4438 
    4439                 # NetBSD/SPARC needs -fPIC, -fpic will not do.
    4440                 SHLIB_CFLAGS="-fPIC"
    4441                 SHLIB_LD="ld -Bshareable -x"
    4442                 SHLIB_LD_LIBS='${LIBS}'
    4443                 SHLIB_SUFFIX=".so"
    4444                 DL_OBJS="tclLoadDl.o"
    4445                 DL_LIBS=""
    4446                 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4447                 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4448                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    4449 $as_echo_n "checking for ELF... " >&6; }
    4450 if test "${tcl_cv_ld_elf+set}" = set; then :
    4451   $as_echo_n "(cached) " >&6
    4452 else
    4453 
    4454                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4455 /* end confdefs.h.  */
    4456 
    4457 #ifdef __ELF__
    4458         yes
    4459 #endif
    4460 
    4461 _ACEOF
    4462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4463   $EGREP "yes" >/dev/null 2>&1; then :
    4464   tcl_cv_ld_elf=yes
    4465 else
    4466   tcl_cv_ld_elf=no
    4467 fi
    4468 rm -f conftest*
    4469 
    4470 fi
    4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    4472 $as_echo "$tcl_cv_ld_elf" >&6; }
    4473                 if test $tcl_cv_ld_elf = yes; then
    4474                     SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
    4475                 else
    4476                     SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    4477                 fi
    4478 
    4479 else
    4480 
    4481                 SHLIB_CFLAGS=""
    4482                 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
    4483                 SHLIB_LD_LIBS='${LIBS}'
    4484                 SHLIB_SUFFIX=".a"
    4485                 DL_OBJS="tclLoadAout.o"
    4486                 DL_LIBS=""
    4487                 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    4488                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4489                 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    4490 
    4491 fi
    4492 
    4493 
    4494 
    4495             # FreeBSD doesn't handle version numbers with dots.
    4496 
    4497             UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    4498             TCL_LIB_VERSIONS_OK=nodots
    4499             ;;
    4500         OpenBSD-*)
    4501             case `arch -s` in
    4502             m88k|vax)
    4503                 SHLIB_CFLAGS=""
    4504                 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
    4505                 SHLIB_LD_LIBS='${LIBS}'
    4506                 SHLIB_SUFFIX=".a"
    4507                 DL_OBJS="tclLoadAout.o"
    4508                 DL_LIBS=""
    4509                 LDFLAGS=""
    4510                 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    4511                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4512                 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    4513                 ;;
    4514             *)
    4515                 # OpenBSD/SPARC[64] needs -fPIC, -fpic will not do.
    4516                 case `machine` in
    4517                 sparc|sparc64)
    4518                     SHLIB_CFLAGS="-fPIC";;
    4519                 *)
    4520                     SHLIB_CFLAGS="-fpic";;
    4521                 esac
    4522                 SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}"
    4523                 SHLIB_LD_LIBS='${LIBS}'
    4524                 SHLIB_SUFFIX=".so"
    4525                 DL_OBJS="tclLoadDl.o"
    4526                 DL_LIBS=""
    4527                 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4528                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4529                 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    4530                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    4531 $as_echo_n "checking for ELF... " >&6; }
    4532 if test "${tcl_cv_ld_elf+set}" = set; then :
    4533   $as_echo_n "(cached) " >&6
    4534 else
    4535 
    4536                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4537 /* end confdefs.h.  */
    4538 
    4539 #ifdef __ELF__
    4540         yes
    4541 #endif
    4542 
    4543 _ACEOF
    4544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4545   $EGREP "yes" >/dev/null 2>&1; then :
    4546   tcl_cv_ld_elf=yes
    4547 else
    4548   tcl_cv_ld_elf=no
    4549 fi
    4550 rm -f conftest*
    4551 
    4552 fi
    4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    4554 $as_echo "$tcl_cv_ld_elf" >&6; }
    4555                 if test $tcl_cv_ld_elf = yes; then
    4556                     LDFLAGS=-Wl,-export-dynamic
    4557                 else
    4558                     LDFLAGS=""
    4559                 fi
    4560                 ;;
    4561             esac
    4562 
    4563             # OpenBSD doesn't do version numbers with dots.
    4564             UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    4565             TCL_LIB_VERSIONS_OK=nodots
    4566             ;;
    4567         FreeBSD-*)
    4568             # FreeBSD 3.* and greater have ELF.
    4569             SHLIB_CFLAGS="-fPIC"
    4570             SHLIB_LD="ld -Bshareable -x"
    4571             SHLIB_LD_LIBS='${LIBS}'
    4572             SHLIB_SUFFIX=".so"
    4573             DL_OBJS="tclLoadDl.o"
    4574             DL_LIBS=""
    4575             LDFLAGS="$LDFLAGS -export-dynamic"
    4576             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4577             LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4578             if test "${TCL_THREADS}" = "1" ; then
    4579                 # The -pthread needs to go in the CFLAGS, not LIBS
    4580                 LIBS=`echo $LIBS | sed s/-pthread//`
    4581                 CFLAGS="$CFLAGS -pthread"
    4582                 LDFLAGS="$LDFLAGS -pthread"
    4583             fi
    4584             case $system in
    4585             FreeBSD-3.*)
    4586                 # FreeBSD-3 doesn't handle version numbers with dots.
    4587                 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    4588                 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
    4589                 TCL_LIB_VERSIONS_OK=nodots
    4590                 ;;
    4591             esac
    4592             ;;
    4593         Darwin-*)
    4594             CFLAGS_OPTIMIZE="-Os"
    4595             SHLIB_CFLAGS="-fno-common"
    4596             # To avoid discrepancies between what headers configure sees during
    4597             # preprocessing tests and compiling tests, move any -isysroot and
    4598             # -mmacosx-version-min flags from CFLAGS to CPPFLAGS:
    4599             CPPFLAGS="${CPPFLAGS} `echo " ${CFLAGS}" | \
    4600                 awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \
    4601                 if ($i~/^(isysroot|mmacosx-version-min)/) print "-"$i}'`"
    4602             CFLAGS="`echo " ${CFLAGS}" | \
    4603                 awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \
    4604                 if (!($i~/^(isysroot|mmacosx-version-min)/)) print "-"$i}'`"
    4605             if test $do64bit = yes; then
    4606                 case `arch` in
    4607                     ppc)
    4608                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    4609 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    4610 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then :
    4611   $as_echo_n "(cached) " >&6
    4612 else
    4613 
    4614                             hold_cflags=$CFLAGS
    4615                             CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    4616                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4617 /* end confdefs.h.  */
    4618 
    4619 int
    4620 main ()
    4621 {
    4622 
    4623   ;
    4624   return 0;
    4625 }
    4626 _ACEOF
    4627 if ac_fn_c_try_link "$LINENO"; then :
    4628   tcl_cv_cc_arch_ppc64=yes
    4629 else
    4630   tcl_cv_cc_arch_ppc64=no
    4631 fi
    4632 rm -f core conftest.err conftest.$ac_objext \
    4633     conftest$ac_exeext conftest.$ac_ext
    4634                             CFLAGS=$hold_cflags
    4635 fi
    4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    4637 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    4638                         if test $tcl_cv_cc_arch_ppc64 = yes; then
    4639                             CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    4640                             do64bit_ok=yes
    4641                         fi;;
    4642                     i386)
    4643                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    4644 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    4645 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then :
    4646   $as_echo_n "(cached) " >&6
    4647 else
    4648 
    4649                             hold_cflags=$CFLAGS
    4650                             CFLAGS="$CFLAGS -arch x86_64"
    4651                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4652 /* end confdefs.h.  */
    4653 
    4654 int
    4655 main ()
    4656 {
    4657 
    4658   ;
    4659   return 0;
    4660 }
    4661 _ACEOF
    4662 if ac_fn_c_try_link "$LINENO"; then :
    4663   tcl_cv_cc_arch_x86_64=yes
    4664 else
    4665   tcl_cv_cc_arch_x86_64=no
    4666 fi
    4667 rm -f core conftest.err conftest.$ac_objext \
    4668     conftest$ac_exeext conftest.$ac_ext
    4669                             CFLAGS=$hold_cflags
    4670 fi
    4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    4672 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    4673                         if test $tcl_cv_cc_arch_x86_64 = yes; then
    4674                             CFLAGS="$CFLAGS -arch x86_64"
    4675                             do64bit_ok=yes
    4676                         fi;;
    4677                     *)
    4678                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    4679 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    4680                 esac
    4681             else
    4682                 # Check for combined 32-bit and 64-bit fat build
    4683                 echo "$CFLAGS " | grep -E -q -- '-arch (ppc64|x86_64) ' && \
    4684                     echo "$CFLAGS " | grep -E -q -- '-arch (ppc|i386) ' && \
    4685                     fat_32_64=yes
    4686             fi
    4687             SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    4688             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    4689 $as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    4690 if test "${tcl_cv_ld_single_module+set}" = set; then :
    4691   $as_echo_n "(cached) " >&6
    4692 else
    4693 
    4694                 hold_ldflags=$LDFLAGS
    4695                 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    4696                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4697 /* end confdefs.h.  */
    4698 
    4699 int
    4700 main ()
    4701 {
    4702 int i;
    4703   ;
    4704   return 0;
    4705 }
    4706 _ACEOF
    4707 if ac_fn_c_try_link "$LINENO"; then :
    4708   tcl_cv_ld_single_module=yes
    4709 else
    4710   tcl_cv_ld_single_module=no
    4711 fi
    4712 rm -f core conftest.err conftest.$ac_objext \
    4713     conftest$ac_exeext conftest.$ac_ext
    4714                 LDFLAGS=$hold_ldflags
    4715 fi
    4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    4717 $as_echo "$tcl_cv_ld_single_module" >&6; }
    4718             if test $tcl_cv_ld_single_module = yes; then
    4719                 SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
    4720             fi
    4721             SHLIB_LD_LIBS='${LIBS}'
    4722             SHLIB_SUFFIX=".dylib"
    4723             DL_OBJS="tclLoadDyld.o"
    4724             DL_LIBS=""
    4725             # Don't use -prebind when building for Mac OS X 10.4 or later only:
    4726             test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int($2)}'`" -lt 4 -a \
    4727                 "`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4 && \
    4728                 LDFLAGS="$LDFLAGS -prebind"
    4729             LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    4730             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    4731 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    4732 if test "${tcl_cv_ld_search_paths_first+set}" = set; then :
    4733   $as_echo_n "(cached) " >&6
    4734 else
    4735 
    4736                 hold_ldflags=$LDFLAGS
    4737                 LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    4738                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4739 /* end confdefs.h.  */
    4740 
    4741 int
    4742 main ()
    4743 {
    4744 int i;
    4745   ;
    4746   return 0;
    4747 }
    4748 _ACEOF
    4749 if ac_fn_c_try_link "$LINENO"; then :
    4750   tcl_cv_ld_search_paths_first=yes
    4751 else
    4752   tcl_cv_ld_search_paths_first=no
    4753 fi
    4754 rm -f core conftest.err conftest.$ac_objext \
    4755     conftest$ac_exeext conftest.$ac_ext
    4756                 LDFLAGS=$hold_ldflags
    4757 fi
    4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    4759 $as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    4760             if test $tcl_cv_ld_search_paths_first = yes; then
    4761                 LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    4762             fi
    4763             CC_SEARCH_FLAGS=""
    4764             LD_SEARCH_FLAGS=""
    4765             LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"
    4766             PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    4767             PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    4768             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    4769 $as_echo_n "checking whether to use CoreFoundation... " >&6; }
    4770             # Check whether --enable-corefoundation was given.
    4771 if test "${enable_corefoundation+set}" = set; then :
    4772   enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    4773 else
    4774   tcl_corefoundation=yes
    4775 fi
    4776 
    4777             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    4778 $as_echo "$tcl_corefoundation" >&6; }
    4779             if test $tcl_corefoundation = yes; then
    4780                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    4781 $as_echo_n "checking for CoreFoundation.framework... " >&6; }
    4782 if test "${tcl_cv_lib_corefoundation+set}" = set; then :
    4783   $as_echo_n "(cached) " >&6
    4784 else
    4785 
    4786                     hold_libs=$LIBS
    4787                     if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    4788                         # On Tiger there is no 64-bit CF, so remove 64-bit archs
    4789                         # from CFLAGS et al. while testing for presence of CF.
    4790                         # 64-bit CF is disabled in tclUnixPort.h if necessary.
    4791                         eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
    4792                     done; fi
    4793                     LIBS="$LIBS -framework CoreFoundation"
    4794                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4795 /* end confdefs.h.  */
    4796 #include <CoreFoundation/CoreFoundation.h>
    4797 int
    4798 main ()
    4799 {
    4800 CFBundleRef b = CFBundleGetMainBundle();
    4801   ;
    4802   return 0;
    4803 }
    4804 _ACEOF
    4805 if ac_fn_c_try_link "$LINENO"; then :
    4806   tcl_cv_lib_corefoundation=yes
    4807 else
    4808   tcl_cv_lib_corefoundation=no
    4809 fi
    4810 rm -f core conftest.err conftest.$ac_objext \
    4811     conftest$ac_exeext conftest.$ac_ext
    4812                     if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    4813                         eval $v'="$hold_'$v'"'
    4814                     done; fi; LIBS=$hold_libs
    4815 fi
    4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    4817 $as_echo "$tcl_cv_lib_corefoundation" >&6; }
    4818                 if test $tcl_cv_lib_corefoundation = yes; then
    4819                     LIBS="$LIBS -framework CoreFoundation"
    4820                     $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    4821 
    4822                 else
    4823                     tcl_corefoundation=no
    4824                 fi
    4825                 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    4826                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    4827 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    4828 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then :
    4829   $as_echo_n "(cached) " >&6
    4830 else
    4831 
    4832                         for v in CFLAGS CPPFLAGS LDFLAGS; do
    4833                             eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    4834                         done
    4835                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4836 /* end confdefs.h.  */
    4837 #include <CoreFoundation/CoreFoundation.h>
    4838 int
    4839 main ()
    4840 {
    4841 CFBundleRef b = CFBundleGetMainBundle();
    4842   ;
    4843   return 0;
    4844 }
    4845 _ACEOF
    4846 if ac_fn_c_try_link "$LINENO"; then :
    4847   tcl_cv_lib_corefoundation_64=yes
    4848 else
    4849   tcl_cv_lib_corefoundation_64=no
    4850 fi
    4851 rm -f core conftest.err conftest.$ac_objext \
    4852     conftest$ac_exeext conftest.$ac_ext
    4853                         for v in CFLAGS CPPFLAGS LDFLAGS; do
    4854                             eval $v'="$hold_'$v'"'
    4855                         done
    4856 fi
    4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    4858 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    4859                     if test $tcl_cv_lib_corefoundation_64 = no; then
    4860                         $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    4861 
    4862                     fi
    4863                 fi
    4864             fi
    4865             $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    4866 
    4867             ;;
    4868         NEXTSTEP-*)
    4869             SHLIB_CFLAGS=""
    4870             SHLIB_LD="cc -nostdlib -r"
    4871             SHLIB_LD_LIBS=""
    4872             SHLIB_SUFFIX=".so"
    4873             DL_OBJS="tclLoadNext.o"
    4874             DL_LIBS=""
    4875             CC_SEARCH_FLAGS=""
    4876             LD_SEARCH_FLAGS=""
    4877             ;;
    4878         OS/390-*)
    4879             CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    4880             $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    4881         # needed in sys/socket.h
    4882             ;;
    4883         OSF1-1.0|OSF1-1.1|OSF1-1.2)
    4884             # OSF/1 1.[012] from OSF, and derivatives, including Paragon OSF/1
    4885             SHLIB_CFLAGS=""
    4886             # Hack: make package name same as library name
    4887             SHLIB_LD='ld -R -export :'
    4888             SHLIB_LD_LIBS=""
    4889             SHLIB_SUFFIX=".so"
    4890             DL_OBJS="tclLoadOSF.o"
    4891             DL_LIBS=""
    4892             CC_SEARCH_FLAGS=""
    4893             LD_SEARCH_FLAGS=""
    4894             ;;
    4895         OSF1-1.*)
    4896             # OSF/1 1.3 from OSF using ELF, and derivatives, including AD2
    4897             SHLIB_CFLAGS="-fPIC"
    4898             if test "$SHARED_BUILD" = "1" ; then
    4899                 SHLIB_LD="ld -shared"
    4900             else
    4901                 SHLIB_LD="ld -non_shared"
    4902             fi
    4903             SHLIB_LD_LIBS=""
    4904             SHLIB_SUFFIX=".so"
    4905             DL_OBJS="tclLoadDl.o"
    4906             DL_LIBS=""
    4907             CC_SEARCH_FLAGS=""
    4908             LD_SEARCH_FLAGS=""
    4909             ;;
    4910         OSF1-V*)
    4911             # Digital OSF/1
    4912             SHLIB_CFLAGS=""
    4913             if test "$SHARED_BUILD" = "1" ; then
    4914                 SHLIB_LD='ld -shared -expect_unresolved "*"'
    4915             else
    4916                 SHLIB_LD='ld -non_shared -expect_unresolved "*"'
    4917             fi
    4918             SHLIB_LD_LIBS=""
    4919             SHLIB_SUFFIX=".so"
    4920             DL_OBJS="tclLoadDl.o"
    4921             DL_LIBS=""
    4922             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4923             LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4924             if test "$GCC" = "yes" ; then
    4925                 CFLAGS="$CFLAGS -mieee"
    4926             else
    4927                 CFLAGS="$CFLAGS -DHAVE_TZSET -std1 -ieee"
    4928             fi
    4929             # see pthread_intro(3) for pthread support on osf1, k.furukawa
    4930             if test "${TCL_THREADS}" = "1" ; then
    4931                 CFLAGS="$CFLAGS -DHAVE_PTHREAD_ATTR_SETSTACKSIZE"
    4932                 CFLAGS="$CFLAGS -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64"
    4933                 LIBS=`echo $LIBS | sed s/-lpthreads//`
    4934                 if test "$GCC" = "yes" ; then
    4935                     LIBS="$LIBS -lpthread -lmach -lexc"
    4936                 else
    4937                     CFLAGS="$CFLAGS -pthread"
    4938                     LDFLAGS="$LDFLAGS -pthread"
    4939                 fi
    4940             fi
    4941 
    4942             ;;
    4943         QNX-6*)
    4944             # QNX RTP
    4945             # This may work for all QNX, but it was only reported for v6.
    4946             SHLIB_CFLAGS="-fPIC"
    4947             SHLIB_LD="ld -Bshareable -x"
    4948             SHLIB_LD_LIBS=""
    4949             SHLIB_SUFFIX=".so"
    4950             DL_OBJS="tclLoadDl.o"
    4951             # dlopen is in -lc on QNX
    4952             DL_LIBS=""
    4953             CC_SEARCH_FLAGS=""
    4954             LD_SEARCH_FLAGS=""
    4955             ;;
    4956         RISCos-*)
    4957             SHLIB_CFLAGS="-G 0"
    4958             SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
    4959             SHLIB_LD_LIBS='${LIBS}'
    4960             SHLIB_SUFFIX=".a"
    4961             DL_OBJS="tclLoadAout.o"
    4962             DL_LIBS=""
    4963             LDFLAGS="$LDFLAGS -Wl,-D,08000000"
    4964             CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    4965             LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4966             ;;
    4967         SCO_SV-3.2*)
    4968             # Note, dlopen is available only on SCO 3.2.5 and greater. However,
    4969             # this test works, since "uname -s" was non-standard in 3.2.4 and
    4970             # below.
    4971             if test "$GCC" = "yes" ; then
    4972                 SHLIB_CFLAGS="-fPIC -melf"
    4973                 LDFLAGS="$LDFLAGS -melf -Wl,-Bexport"
    4974             else
    4975                 SHLIB_CFLAGS="-Kpic -belf"
    4976                 LDFLAGS="$LDFLAGS -belf -Wl,-Bexport"
    4977             fi
    4978             SHLIB_LD="ld -G"
    4979             SHLIB_LD_LIBS=""
    4980             SHLIB_SUFFIX=".so"
    4981             DL_OBJS="tclLoadDl.o"
    4982             DL_LIBS=""
    4983             CC_SEARCH_FLAGS=""
    4984             LD_SEARCH_FLAGS=""
    4985             ;;
    4986         SINIX*5.4*)
    4987             SHLIB_CFLAGS="-K PIC"
    4988             SHLIB_LD="cc -G"
    4989             SHLIB_LD_LIBS=""
    4990             SHLIB_SUFFIX=".so"
    4991             DL_OBJS="tclLoadDl.o"
    4992             DL_LIBS="-ldl"
    4993             CC_SEARCH_FLAGS=""
    4994             LD_SEARCH_FLAGS=""
    4995             ;;
    4996         SunOS-4*)
    4997             SHLIB_CFLAGS="-PIC"
    4998             SHLIB_LD="ld"
    4999             SHLIB_LD_LIBS=""
    5000             SHLIB_SUFFIX=".so"
    5001             DL_OBJS="tclLoadDl.o"
    5002             DL_LIBS="-ldl"
    5003             CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    5004             LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    5005 
    5006             # SunOS can't handle version numbers with dots in them in library
    5007             # specs, like -ltcl7.5, so use -ltcl75 instead.  Also, it
    5008             # requires an extra version number at the end of .so file names.
    5009             # So, the library has to have a name like libtcl75.so.1.0
    5010 
    5011             SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5012             UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    5013             TCL_LIB_VERSIONS_OK=nodots
    5014             ;;
    5015         SunOS-5.[0-6])
    5016             # Careful to not let 5.10+ fall into this case
    5017 
    5018             # Note: If _REENTRANT isn't defined, then Solaris
    5019             # won't define thread-safe library routines.
    5020 
    5021             $as_echo "#define _REENTRANT 1" >>confdefs.h
    5022 
    5023             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    5024 
    5025 
    5026             SHLIB_CFLAGS="-KPIC"
    5027 
    5028             # Note: need the LIBS below, otherwise Tk won't find Tcl's
    5029             # symbols when dynamically loaded into tclsh.
    5030 
    5031             SHLIB_LD_LIBS='${LIBS}'
    5032             SHLIB_SUFFIX=".so"
    5033             DL_OBJS="tclLoadDl.o"
    5034             DL_LIBS="-ldl"
    5035             if test "$GCC" = "yes" ; then
    5036                 SHLIB_LD="$CC -shared"
    5037                 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
    5038                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    5039             else
    5040                 SHLIB_LD="/usr/ccs/bin/ld -G -z text"
    5041                 CC_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
    5042                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    5043             fi
    5044             ;;
    5045         SunOS-5*)
    5046             # Note: If _REENTRANT isn't defined, then Solaris
    5047             # won't define thread-safe library routines.
    5048 
    5049             $as_echo "#define _REENTRANT 1" >>confdefs.h
    5050 
    5051             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    5052 
    5053 
    5054             SHLIB_CFLAGS="-KPIC"
    5055 
    5056             # Check to enable 64-bit flags for compiler/linker
    5057             if test "$do64bit" = "yes" ; then
    5058                 arch=`isainfo`
    5059                 if test "$arch" = "sparcv9 sparc" ; then
    5060                         if test "$GCC" = "yes" ; then
    5061                             if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    5062                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    5063 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    5064                             else
    5065                                 do64bit_ok=yes
    5066                                 CFLAGS="$CFLAGS -m64 -mcpu=v9"
    5067                                 LDFLAGS="$LDFLAGS -m64 -mcpu=v9"
    5068                                 SHLIB_CFLAGS="-fPIC"
    5069                             fi
    5070                         else
    5071                             do64bit_ok=yes
    5072                             if test "$do64bitVIS" = "yes" ; then
    5073                                 CFLAGS="$CFLAGS -xarch=v9a"
    5074                                 LDFLAGS="$LDFLAGS -xarch=v9a"
    5075                             else
    5076                                 CFLAGS="$CFLAGS -xarch=v9"
    5077                                 LDFLAGS="$LDFLAGS -xarch=v9"
    5078                             fi
    5079                             # Solaris 64 uses this as well
    5080                             #LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH_64"
    5081                         fi
    5082                 elif test "$arch" = "amd64 i386" ; then
    5083                     if test "$GCC" = "yes" ; then
    5084                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    5085 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    5086                     else
    5087                         do64bit_ok=yes
    5088                         CFLAGS="$CFLAGS -xarch=amd64"
    5089                         LDFLAGS="$LDFLAGS -xarch=amd64"
    5090                     fi
    5091                 else
    5092                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    5093 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    5094                 fi
    5095             fi
    5096 
    5097             # Note: need the LIBS below, otherwise Tk won't find Tcl's
    5098             # symbols when dynamically loaded into tclsh.
    5099 
    5100             SHLIB_LD_LIBS='${LIBS}'
    5101             SHLIB_SUFFIX=".so"
    5102             DL_OBJS="tclLoadDl.o"
    5103             DL_LIBS="-ldl"
    5104             if test "$GCC" = "yes" ; then
    5105                 SHLIB_LD="$CC -shared"
    5106                 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
    5107                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    5108                 if test "$do64bit_ok" = "yes" ; then
    5109                     # We need to specify -static-libgcc or we need to
    5110                     # add the path to the sparv9 libgcc.
    5111                     SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc"
    5112                     # for finding sparcv9 libgcc, get the regular libgcc
    5113                     # path, remove so name and append 'sparcv9'
    5114                     #v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..."
    5115                     #CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir"
    5116                 fi
    5117             else
    5118                 case $system in
    5119                     SunOS-5.[1-9][0-9]*)
    5120                         SHLIB_LD='${CC} -G -z text ${LDFLAGS}';;
    5121                     *)
    5122                         SHLIB_LD="/usr/ccs/bin/ld -G -z text";;
    5123                 esac
    5124                 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
    5125                 LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
    5126             fi
    5127             ;;
    5128         ULTRIX-4.*)
    5129             SHLIB_CFLAGS="-G 0"
    5130             SHLIB_SUFFIX=".a"
    5131             SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
    5132             SHLIB_LD_LIBS='${LIBS}'
    5133             DL_OBJS="tclLoadAout.o"
    5134             DL_LIBS=""
    5135             LDFLAGS="$LDFLAGS -Wl,-D,08000000"
    5136             CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    5137             LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    5138             if test "$GCC" != "yes" ; then
    5139                 CFLAGS="$CFLAGS -DHAVE_TZSET -std1"
    5140             fi
    5141             ;;
    5142         UNIX_SV* | UnixWare-5*)
    5143             SHLIB_CFLAGS="-KPIC"
    5144             SHLIB_LD="cc -G"
    5145             SHLIB_LD_LIBS=""
    5146             SHLIB_SUFFIX=".so"
    5147             DL_OBJS="tclLoadDl.o"
    5148             DL_LIBS="-ldl"
    5149             # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    5150             # that don't grok the -Bexport option.  Test that it does.
    5151             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    5152 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    5153 if test "${tcl_cv_ld_Bexport+set}" = set; then :
    5154   $as_echo_n "(cached) " >&6
    5155 else
    5156 
    5157                 hold_ldflags=$LDFLAGS
    5158                 LDFLAGS="$LDFLAGS -Wl,-Bexport"
    5159                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5160 /* end confdefs.h.  */
    5161 
    5162 int
    5163 main ()
    5164 {
    5165 int i;
    5166   ;
    5167   return 0;
    5168 }
    5169 _ACEOF
    5170 if ac_fn_c_try_link "$LINENO"; then :
    5171   tcl_cv_ld_Bexport=yes
    5172 else
    5173   tcl_cv_ld_Bexport=no
    5174 fi
    5175 rm -f core conftest.err conftest.$ac_objext \
    5176     conftest$ac_exeext conftest.$ac_ext
    5177                 LDFLAGS=$hold_ldflags
    5178 fi
    5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    5180 $as_echo "$tcl_cv_ld_Bexport" >&6; }
    5181             if test $tcl_cv_ld_Bexport = yes; then
    5182                 LDFLAGS="$LDFLAGS -Wl,-Bexport"
    5183             fi
    5184             CC_SEARCH_FLAGS=""
    5185             LD_SEARCH_FLAGS=""
    5186             ;;
    5187     esac
    5188 
    5189     if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    5190         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    5191 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    5192     fi
    5193 
    5194 
    5195 
    5196 
    5197     # Step 4: If pseudo-static linking is in use (see K. B. Kenny, "Dynamic
    5198     # Loading for Tcl -- What Became of It?".  Proc. 2nd Tcl/Tk Workshop,
    5199     # New Orleans, LA, Computerized Processes Unlimited, 1994), then we need
    5200     # to determine which of several header files defines the a.out file
    5201     # format (a.out.h, sys/exec.h, or sys/exec_aout.h).  At present, we
    5202     # support only a file format that is more or less version-7-compatible.
    5203     # In particular,
    5204     #   - a.out files must begin with `struct exec'.
    5205     #   - the N_TXTOFF on the `struct exec' must compute the seek address
    5206     #     of the text segment
    5207     #   - The `struct exec' must contain a_magic, a_text, a_data, a_bss
    5208     #     and a_entry fields.
    5209     # The following compilation should succeed if and only if either sys/exec.h
    5210     # or a.out.h is usable for the purpose.
    5211     #
    5212     # Note that the modified COFF format used on MIPS Ultrix 4.x is usable; the
    5213     # `struct exec' includes a second header that contains information that
    5214     # duplicates the v7 fields that are needed.
    5215 
    5216     if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    5217         { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    5218 $as_echo_n "checking sys/exec.h... " >&6; }
    5219 if test "${tcl_cv_sysexec_h+set}" = set; then :
    5220   $as_echo_n "(cached) " >&6
    5221 else
    5222 
    5223         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5224 /* end confdefs.h.  */
    5225 #include <sys/exec.h>
    5226 int
    5227 main ()
    5228 {
    5229 
    5230             struct exec foo;
    5231             unsigned long seek;
    5232             int flag;
    5233 #if defined(__mips) || defined(mips)
    5234             seek = N_TXTOFF (foo.ex_f, foo.ex_o);
    5235 #else
    5236             seek = N_TXTOFF (foo);
    5237 #endif
    5238             flag = (foo.a_magic == OMAGIC);
    5239             return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry;
    5240 
    5241   ;
    5242   return 0;
    5243 }
    5244 _ACEOF
    5245 if ac_fn_c_try_compile "$LINENO"; then :
    5246   tcl_cv_sysexec_h=usable
    5247 else
    5248   tcl_cv_sysexec_h=unusable
    5249 fi
    5250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5251 fi
    5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    5253 $as_echo "$tcl_cv_sysexec_h" >&6; }
    5254         if test $tcl_cv_sysexec_h = usable; then
    5255             $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    5256 
    5257         else
    5258             { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    5259 $as_echo_n "checking a.out.h... " >&6; }
    5260 if test "${tcl_cv_aout_h+set}" = set; then :
    5261   $as_echo_n "(cached) " >&6
    5262 else
    5263 
    5264             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5265 /* end confdefs.h.  */
    5266 #include <a.out.h>
    5267 int
    5268 main ()
    5269 {
    5270 
    5271                 struct exec foo;
    5272                 unsigned long seek;
    5273                 int flag;
    5274 #if defined(__mips) || defined(mips)
    5275                 seek = N_TXTOFF (foo.ex_f, foo.ex_o);
    5276 #else
    5277                 seek = N_TXTOFF (foo);
    5278 #endif
    5279                 flag = (foo.a_magic == OMAGIC);
    5280                 return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry;
    5281 
    5282   ;
    5283   return 0;
    5284 }
    5285 _ACEOF
    5286 if ac_fn_c_try_compile "$LINENO"; then :
    5287   tcl_cv_aout_h=usable
    5288 else
    5289   tcl_cv_aout_h=unusable
    5290 fi
    5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5292 fi
    5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    5294 $as_echo "$tcl_cv_aout_h" >&6; }
    5295             if test $tcl_cv_aout_h = usable; then
    5296                 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    5297 
    5298             else
    5299                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    5300 $as_echo_n "checking sys/exec_aout.h... " >&6; }
    5301 if test "${tcl_cv_sysexecaout_h+set}" = set; then :
    5302   $as_echo_n "(cached) " >&6
    5303 else
    5304 
    5305                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5306 /* end confdefs.h.  */
    5307 #include <sys/exec_aout.h>
    5308 int
    5309 main ()
    5310 {
    5311 
    5312                     struct exec foo;
    5313                     unsigned long seek;
    5314                     int flag;
    5315 #if defined(__mips) || defined(mips)
    5316                     seek = N_TXTOFF (foo.ex_f, foo.ex_o);
    5317 #else
    5318                     seek = N_TXTOFF (foo);
    5319 #endif
    5320                     flag = (foo.a_midmag == OMAGIC);
    5321                     return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry;
    5322 
    5323   ;
    5324   return 0;
    5325 }
    5326 _ACEOF
    5327 if ac_fn_c_try_compile "$LINENO"; then :
    5328   tcl_cv_sysexecaout_h=usable
    5329 else
    5330   tcl_cv_sysexecaout_h=unusable
    5331 fi
    5332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5333 fi
    5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
    5335 $as_echo "$tcl_cv_sysexecaout_h" >&6; }
    5336                 if test $tcl_cv_sysexecaout_h = usable; then
    5337                     $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
    5338 
    5339                 else
    5340                     DL_OBJS=""
    5341                 fi
    5342             fi
    5343         fi
    5344     fi
    5345 
    5346     # Step 5: disable dynamic loading if requested via a command-line switch.
    5347 
    5348     # Check whether --enable-load was given.
    5349 if test "${enable_load+set}" = set; then :
    5350   enableval=$enable_load; tcl_ok=$enableval
    5351 else
    5352   tcl_ok=yes
    5353 fi
    5354 
    5355     if test "$tcl_ok" = "no"; then
    5356         DL_OBJS=""
    5357     fi
    5358 
    5359     if test "x$DL_OBJS" != "x" ; then
    5360         BUILD_DLTEST="\$(DLTEST_TARGETS)"
    5361     else
    5362         echo "Can't figure out how to do dynamic loading or shared libraries"
    5363         echo "on this system."
    5364         SHLIB_CFLAGS=""
    5365         SHLIB_LD=""
    5366         SHLIB_SUFFIX=""
    5367         DL_OBJS="tclLoadNone.o"
    5368         DL_LIBS=""
    5369         LDFLAGS="$LDFLAGS_ORIG"
    5370         CC_SEARCH_FLAGS=""
    5371         LD_SEARCH_FLAGS=""
    5372         BUILD_DLTEST=""
    5373     fi
    5374 
    5375     # If we're running gcc, then change the C flags for compiling shared
    5376     # libraries to the right flags for gcc, instead of those for the
    5377     # standard manufacturer compiler.
    5378 
    5379     if test "$DL_OBJS" != "tclLoadNone.o" ; then
    5380         if test "$GCC" = "yes" ; then
    5381             case $system in
    5382                 AIX-*)
    5383                     ;;
    5384                 BSD/OS*)
    5385                     ;;
    5386                 IRIX*)
    5387                     ;;
    5388                 NetBSD-*|FreeBSD-*|OpenBSD-*)
    5389                     ;;
    5390                 Darwin-*)
    5391                     ;;
    5392                 RISCos-*)
    5393                     ;;
    5394                 SCO_SV-3.2*)
    5395                     ;;
    5396                 ULTRIX-4.*)
    5397                     ;;
    5398                 *)
    5399                     SHLIB_CFLAGS="-fPIC"
    5400                     ;;
    5401             esac
    5402         fi
    5403     fi
    5404 
    5405     if test "$SHARED_LIB_SUFFIX" = "" ; then
    5406         SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}${SHLIB_SUFFIX}'
    5407     fi
    5408     if test "$UNSHARED_LIB_SUFFIX" = "" ; then
    5409         UNSHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
    5410     fi
    5411 
    5412     if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
    5413         LIB_SUFFIX=${SHARED_LIB_SUFFIX}
    5414         MAKE_LIB='${SHLIB_LD} -o $@ ${OBJS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}'
    5415         INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
    5416     else
    5417         LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
    5418 
    5419         if test "$RANLIB" = "" ; then
    5420             MAKE_LIB='$(STLIB_LD) $@ ${OBJS}'
    5421             INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
    5422         else
    5423             MAKE_LIB='${STLIB_LD} $@ ${OBJS} ; ${RANLIB} $@'
    5424             INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(LIB_FILE))'
    5425         fi
    5426 
    5427     fi
    5428 
    5429 
    5430     # Stub lib does not depend on shared/static configuration
    5431     if test "$RANLIB" = "" ; then
    5432         MAKE_STUB_LIB='${STLIB_LD} $@ ${STUB_LIB_OBJS}'
    5433         INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(STUB_LIB_FILE)'
    5434     else
    5435         MAKE_STUB_LIB='${STLIB_LD} $@ ${STUB_LIB_OBJS} ; ${RANLIB} $@'
    5436         INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(STUB_LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(STUB_LIB_FILE))'
    5437     fi
    5438 
    5439 
    5440 
    5441 
    5442 
    5443 
    5444 
    5445 
    5446 
    5447 
    5448 
    5449 
    5450 
    5451 
    5452 
    5453 
    5454 
    5455 
    5456 
    5457 
    5458 
    5459 
    5460 
    5461 
    5462 
    5463 
    5464 
    5465 
    5466 
    5467 
    5468 
    5469 
    5470 
    5471     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5
    5472 $as_echo_n "checking how to build libraries... " >&6; }
    5473     # Check whether --enable-shared was given.
    5474 if test "${enable_shared+set}" = set; then :
    5475   enableval=$enable_shared; tcl_ok=$enableval
    5476 else
    5477   tcl_ok=yes
    5478 fi
    5479 
    5480 
    5481     if test "${enable_shared+set}" = set; then
    5482         enableval="$enable_shared"
    5483         tcl_ok=$enableval
    5484     else
    5485         tcl_ok=yes
    5486     fi
    5487 
    5488     if test "$tcl_ok" = "yes" ; then
    5489         { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5
    5490 $as_echo "shared" >&6; }
    5491         SHARED_BUILD=1
    5492     else
    5493         { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
    5494 $as_echo "static" >&6; }
    5495         SHARED_BUILD=0
    5496         $as_echo "#define STATIC_BUILD 1" >>confdefs.h
    5497 
    5498     fi
    5499 
    5500 
    5501 
    5502 
    5503 
    5504 
    5505 
    5506 
    5507 
     3002#SC_CONFIG_CFLAGS
     3003#SC_ENABLE_SHARED
    55083004
    55093005gui_with_tcl=""
     
    55183014done
    55193015if test "x${make_command}" = "x" ; then
    5520   as_fn_error "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5
     3016  as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5
    55213017fi
    55223018MAKE=${make_command}
     
    56233119
    56243120
    5625 
    5626 
    5627 
    5628 
    56293121if test -f "${exec_prefix}/lib/tclConfig.sh" ; then
    56303122  . ${exec_prefix}/lib/tclConfig.sh
    56313123fi
    5632 if test -f "${exec_prefix}/lib/tclConfig.sh" ; then
     3124if test -f "${exec_prefix}/lib/tkConfig.sh" ; then
    56333125  . ${exec_prefix}/lib/tkConfig.sh
    56343126fi
     3127
     3128
     3129
     3130
     3131
     3132
     3133
     3134
     3135
     3136
     3137
     3138
     3139
    56353140
    56363141
     
    57023207if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    57033208  if test -w "$cache_file"; then
    5704     test "x$cache_file" != "x/dev/null" &&
     3209    if test "x$cache_file" != "x/dev/null"; then
    57053210      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    57063211$as_echo "$as_me: updating cache $cache_file" >&6;}
    5707     cat confcache >$cache_file
     3212      if test ! -f "$cache_file" || test -h "$cache_file"; then
     3213        cat confcache >"$cache_file"
     3214      else
     3215        case $cache_file in #(
     3216        */* | ?:*)
     3217          mv -f confcache "$cache_file"$$ &&
     3218          mv -f "$cache_file"$$ "$cache_file" ;; #(
     3219        *)
     3220          mv -f confcache "$cache_file" ;;
     3221        esac
     3222      fi
     3223    fi
    57083224  else
    57093225    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     
    57573273ac_libobjs=
    57583274ac_ltlibobjs=
     3275U=
    57593276for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    57603277  # 1. Remove the extension, and $U if already installed.
     
    57723289
    57733290
    5774 : ${CONFIG_STATUS=./config.status}
     3291: "${CONFIG_STATUS=./config.status}"
    57753292ac_write_fail=0
    57763293ac_clean_files_save=$ac_clean_files
     
    58733390
    58743391# Find who we are.  Look in the path if we contain no directory separator.
     3392as_myself=
    58753393case $0 in #((
    58763394  *[\\/]* ) as_myself=$0 ;;
     
    59183436
    59193437
    5920 # as_fn_error ERROR [LINENO LOG_FD]
    5921 # ---------------------------------
     3438# as_fn_error STATUS ERROR [LINENO LOG_FD]
     3439# ----------------------------------------
    59223440# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    59233441# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    5924 # script with status $?, using 1 if that was 0.
     3442# script with STATUS, using 1 if that was 0.
    59253443as_fn_error ()
    59263444{
    5927   as_status=$?; test $as_status -eq 0 && as_status=1
    5928   if test "$3"; then
    5929     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    5930     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     3445  as_status=$1; test $as_status -eq 0 && as_status=1
     3446  if test "$4"; then
     3447    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     3448    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    59313449  fi
    5932   $as_echo "$as_me: error: $1" >&2
     3450  $as_echo "$as_me: error: $2" >&2
    59333451  as_fn_exit $as_status
    59343452} # as_fn_error
     
    60683586    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    60693587    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    6070     # In both cases, we have to default to `cp -p'.
     3588    # In both cases, we have to default to `cp -pR'.
    60713589    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    6072       as_ln_s='cp -p'
     3590      as_ln_s='cp -pR'
    60733591  elif ln conf$$.file conf$$ 2>/dev/null; then
    60743592    as_ln_s=ln
    60753593  else
    6076     as_ln_s='cp -p'
     3594    as_ln_s='cp -pR'
    60773595  fi
    60783596else
    6079   as_ln_s='cp -p'
     3597  as_ln_s='cp -pR'
    60803598fi
    60813599rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    61263644    done
    61273645    test -z "$as_dirs" || eval "mkdir $as_dirs"
    6128   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     3646  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    61293647
    61303648
     
    61373655fi
    61383656
    6139 if test -x / >/dev/null 2>&1; then
    6140   as_test_x='test -x'
    6141 else
    6142   if ls -dL / >/dev/null 2>&1; then
    6143     as_ls_L_option=L
    6144   else
    6145     as_ls_L_option=
    6146   fi
    6147   as_test_x='
    6148     eval sh -c '\''
    6149       if test -d "$1"; then
    6150         test -d "$1/.";
    6151       else
    6152         case $1 in #(
    6153         -*)set "./$1";;
    6154         esac;
    6155         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    6156         ???[sx]*):;;*)false;;esac;fi
    6157     '\'' sh
    6158   '
    6159 fi
    6160 as_executable_p=$as_test_x
     3657
     3658# as_fn_executable_p FILE
     3659# -----------------------
     3660# Test if FILE is an executable regular file.
     3661as_fn_executable_p ()
     3662{
     3663  test -f "$1" && test -x "$1"
     3664} # as_fn_executable_p
     3665as_test_x='test -x'
     3666as_executable_p=as_fn_executable_p
    61613667
    61623668# Sed expression to map a string onto a valid CPP name.
     
    61793685# values after options handling.
    61803686ac_log="
    6181 This file was extended by RapptureGUI $as_me 1.1, which was
    6182 generated by GNU Autoconf 2.64.  Invocation command line was
     3687This file was extended by RapptureGUI $as_me 1.4, which was
     3688generated by GNU Autoconf 2.69.  Invocation command line was
    61833689
    61843690  CONFIG_FILES    = $CONFIG_FILES
     
    62153721  -h, --help       print this help, then exit
    62163722  -V, --version    print version number and configuration settings, then exit
     3723      --config     print configuration, then exit
    62173724  -q, --quiet, --silent
    62183725                   do not print progress messages
     
    62293736_ACEOF
    62303737cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     3738ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    62313739ac_cs_version="\\
    6232 RapptureGUI config.status 1.1
    6233 configured by $0, generated by GNU Autoconf 2.64,
    6234   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    6235 
    6236 Copyright (C) 2009 Free Software Foundation, Inc.
     3740RapptureGUI config.status 1.4
     3741configured by $0, generated by GNU Autoconf 2.69,
     3742  with options \\"\$ac_cs_config\\"
     3743
     3744Copyright (C) 2012 Free Software Foundation, Inc.
    62373745This config.status script is free software; the Free Software Foundation
    62383746gives unlimited permission to copy, distribute and modify it."
     
    62513759do
    62523760  case $1 in
    6253   --*=*)
     3761  --*=?*)
    62543762    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    62553763    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     3764    ac_shift=:
     3765    ;;
     3766  --*=)
     3767    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     3768    ac_optarg=
    62563769    ac_shift=:
    62573770    ;;
     
    62693782  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    62703783    $as_echo "$ac_cs_version"; exit ;;
     3784  --config | --confi | --conf | --con | --co | --c )
     3785    $as_echo "$ac_cs_config"; exit ;;
    62713786  --debug | --debu | --deb | --de | --d | -d )
    62723787    debug=: ;;
     
    62753790    case $ac_optarg in
    62763791    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     3792    '') as_fn_error $? "missing file argument" ;;
    62773793    esac
    62783794    as_fn_append CONFIG_FILES " '$ac_optarg'"
     
    62853801
    62863802  # This is an error.
    6287   -*) as_fn_error "unrecognized option: \`$1'
     3803  -*) as_fn_error $? "unrecognized option: \`$1'
    62883804Try \`$0 --help' for more information." ;;
    62893805
     
    63053821cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    63063822if \$ac_cs_recheck; then
    6307   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     3823  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    63083824  shift
    63093825  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     
    63493865    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
    63503866
    6351   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     3867  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    63523868  esac
    63533869done
     
    63703886$debug ||
    63713887{
    6372   tmp=
     3888  tmp= ac_tmp=
    63733889  trap 'exit_status=$?
    6374   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     3890  : "${ac_tmp:=$tmp}"
     3891  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
    63753892' 0
    63763893  trap 'as_fn_exit 1' 1 2 13 15
     
    63803897{
    63813898  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    6382   test -n "$tmp" && test -d "$tmp"
     3899  test -d "$tmp"
    63833900}  ||
    63843901{
    63853902  tmp=./conf$$-$RANDOM
    63863903  (umask 077 && mkdir "$tmp")
    6387 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
     3904} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     3905ac_tmp=$tmp
    63883906
    63893907# Set up the scripts for CONFIG_FILES section.
     
    64023920ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    64033921if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
    6404   ac_cs_awk_cr='\r'
     3922  ac_cs_awk_cr='\\r'
    64053923else
    64063924  ac_cs_awk_cr=$ac_cr
    64073925fi
    64083926
    6409 echo 'BEGIN {' >"$tmp/subs1.awk" &&
     3927echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
    64103928_ACEOF
    64113929
     
    64163934  echo "_ACEOF"
    64173935} >conf$$subs.sh ||
    6418   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
    6419 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     3936  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     3937ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    64203938ac_delim='%!_!# '
    64213939for ac_last_try in false false false false false :; do
    64223940  . ./conf$$subs.sh ||
    6423     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     3941    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    64243942
    64253943  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    64273945    break
    64283946  elif $ac_last_try; then
    6429     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     3947    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    64303948  else
    64313949    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    64353953
    64363954cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    6437 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     3955cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
    64383956_ACEOF
    64393957sed -n '
     
    64493967:nl
    64503968h
    6451 s/\(.\{148\}\).*/\1/
     3969s/\(.\{148\}\)..*/\1/
    64523970t more1
    64533971s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    64633981:delim
    64643982h
    6465 s/\(.\{148\}\).*/\1/
     3983s/\(.\{148\}\)..*/\1/
    64663984t more2
    64673985s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    64834001cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    64844002_ACAWK
    6485 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     4003cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
    64864004  for (key in S) S_is_set[key] = 1
    64874005  FS = ""
     
    65154033else
    65164034  cat
    6517 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    6518   || as_fn_error "could not setup config files machinery" "$LINENO" 5
     4035fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     4036  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
    65194037_ACEOF
    65204038
    6521 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    6522 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     4039# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     4040# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    65234041# trailing colons and then remove the whole line if VPATH becomes empty
    65244042# (actually we leave an empty line to preserve line numbers).
    65254043if test "x$srcdir" = x.; then
    6526   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    6527 s/:*\$(srcdir):*/:/
    6528 s/:*\${srcdir}:*/:/
    6529 s/:*@srcdir@:*/:/
    6530 s/^\([^=]*=[     ]*\):*/\1/
     4044  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
     4045h
     4046s///
     4047s/^/:/
     4048s/[      ]*$/:/
     4049s/:\$(srcdir):/:/g
     4050s/:\${srcdir}:/:/g
     4051s/:@srcdir@:/:/g
     4052s/^:*//
    65314053s/:*$//
     4054x
     4055s/\(=[   ]*\).*/\1/
     4056G
     4057s/\n//
    65324058s/^[^=]*=[       ]*$//
    65334059}'
     
    65474073  case $ac_mode$ac_tag in
    65484074  :[FHL]*:*);;
    6549   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
     4075  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
    65504076  :[FH]-) ac_tag=-:-;;
    65514077  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    65664092    do
    65674093      case $ac_f in
    6568       -) ac_f="$tmp/stdin";;
     4094      -) ac_f="$ac_tmp/stdin";;
    65694095      *) # Look for the file first in the build tree, then in the source tree
    65704096         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    65754101           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    65764102           esac ||
    6577            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     4103           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
    65784104      esac
    65794105      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     
    66014127
    66024128    case $ac_tag in
    6603     *:-:* | *:-) cat >"$tmp/stdin" \
    6604       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
     4129    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     4130      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    66054131    esac
    66064132    ;;
     
    67384264$ac_datarootdir_hack
    67394265"
    6740 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    6741   || as_fn_error "could not create $ac_file" "$LINENO" 5
     4266eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     4267  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    67424268
    67434269test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    6744   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    6745   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     4270  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     4271  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     4272      "$ac_tmp/out"`; test -z "$ac_out"; } &&
    67464273  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    6747 which seems to be undefined.  Please make sure it is defined." >&5
     4274which seems to be undefined.  Please make sure it is defined" >&5
    67484275$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    6749 which seems to be undefined.  Please make sure it is defined." >&2;}
    6750 
    6751   rm -f "$tmp/stdin"
     4276which seems to be undefined.  Please make sure it is defined" >&2;}
     4277
     4278  rm -f "$ac_tmp/stdin"
    67524279  case $ac_file in
    6753   -) cat "$tmp/out" && rm -f "$tmp/out";;
    6754   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     4280  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     4281  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
    67554282  esac \
    6756   || as_fn_error "could not create $ac_file" "$LINENO" 5
     4283  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    67574284 ;;
    67584285
     
    67694296
    67704297test $ac_write_fail = 0 ||
    6771   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
     4298  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    67724299
    67734300
     
    67904317  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    67914318  # would make configure fail if this is the last instruction.
    6792   $ac_cs_success || as_fn_exit $?
     4319  $ac_cs_success || as_fn_exit 1
    67934320fi
    67944321if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  • branches/1.3/gui/configure.in

    r2743 r4516  
    11
    2 AC_INIT([RapptureGUI],[1.1],[rappture@nanohub.org])
     2AC_INIT([RapptureGUI],[1.4],[rappture@nanohub.org])
    33AC_CONFIG_AUX_DIR(cf)
    44#------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.