Changeset 166


Ignore:
Timestamp:
Feb 2, 2006, 1:00:29 PM (18 years ago)
Author:
cxsong
Message:

Added Tcl/Tk? libs to link librapptureGUI.

Location:
trunk/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/configure

    r158 r166  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
     3# Generated by GNU Autoconf 2.57.
    44#
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
     5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     6# Free Software Foundation, Inc.
    67# This configure script is free software; the Free Software Foundation
    78# gives unlimited permission to copy, distribute and modify it.
     
    2021  set -o posix
    2122fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    2323
    2424# Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     25if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    2626  as_unset=unset
    2727else
     
    4242  LC_TELEPHONE LC_TIME
    4343do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     44  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
    4545    eval $as_var=C; export $as_var
    4646  else
     
    219219  as_mkdir_p=:
    220220else
    221   test -d ./-p && rmdir ./-p
    222221  as_mkdir_p=false
    223222fi
     
    226225
    227226# Sed expression to map a string onto a valid CPP name.
    228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    229228
    230229# Sed expression to map a string onto a valid variable name.
    231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    232231
    233232
     
    273272
    274273ac_unique_file="src/RpInit.c"
    275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os CYGPATH TCL_INCLUDES TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIBS TCL_DEFS TCL_SHLIB_LD_LIBS TCL_EXTRA_CFLAGS TCL_LD_FLAGS TCL_STUB_LIB_FILE TCL_LIB_SPEC TCL_BUILD_LIB_SPEC TCL_STUB_LIB_SPEC TCL_BUILD_STUB_LIB_SPEC BLT_SRC_DIR CLEANFILES CFLAGS_DEBUG CFLAGS_OPTIMIZE STLIB_LD SHLIB_LD SHLIB_CFLAGS SHLIB_LDFLAGS TCL_DBGX CFLAGS_DEFAULT LDFLAGS_DEFAULT MAKE_LIB MAKE_SHARED_LIB MAKE_STATIC_LIB RapptureGUI_LIB_FILE SHLIB_LD_LIBS TCLSH_PROG PACKAGE VERSION PATCHLEVEL EXACT_VERSION NODOT_VERSION LIBOBJS LTLIBOBJS'
     274ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os CYGPATH TCL_INCLUDES TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIBS TCL_DEFS TCL_SHLIB_LD_LIBS TCL_EXTRA_CFLAGS TCL_LD_FLAGS TCL_STUB_LIB_FILE TCL_LIB_SPEC TCL_BUILD_LIB_SPEC TCL_STUB_LIB_SPEC TCL_BUILD_STUB_LIB_SPEC TK_BIN_DIR TK_SRC_DIR TK_LIB_FILE BLT_SRC_DIR CLEANFILES CFLAGS_DEBUG CFLAGS_OPTIMIZE STLIB_LD SHLIB_LD SHLIB_CFLAGS SHLIB_LDFLAGS TCL_DBGX CFLAGS_DEFAULT LDFLAGS_DEFAULT MAKE_LIB MAKE_SHARED_LIB MAKE_STATIC_LIB RapptureGUI_LIB_FILE SHLIB_LD_LIBS TCLSH_PROG PACKAGE VERSION PATCHLEVEL EXACT_VERSION NODOT_VERSION LIBOBJS LTLIBOBJS'
    276275ac_subst_files=''
    277276
     
    632631# Be sure to have absolute paths.
    633632for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    634               localstatedir libdir includedir oldincludedir infodir mandir
     633              localstatedir libdir includedir oldincludedir infodir mandir
    635634do
    636635  eval ac_val=$`echo $ac_var`
     
    672671  ac_confdir=`(dirname "$0") 2>/dev/null ||
    673672$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    674         X"$0" : 'X\(//\)[^/]' \| \
    675         X"$0" : 'X\(//\)$' \| \
    676         X"$0" : 'X\(/\)' \| \
    677         .     : '\(.\)' 2>/dev/null ||
     673        X"$0" : 'X\(//\)[^/]' \| \
     674        X"$0" : 'X\(//\)$' \| \
     675        X"$0" : 'X\(/\)' \| \
     676        .     : '\(.\)' 2>/dev/null ||
    678677echo X"$0" |
    679678    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    763762Installation directories:
    764763  --prefix=PREFIX         install architecture-independent files in PREFIX
    765                           [$ac_default_prefix]
     764                          [$ac_default_prefix]
    766765  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    767                           [PREFIX]
     766                          [PREFIX]
    768767
    769768By default, \`make install' will install all the files in
     
    815814 --with-tclinclude      directory containing the public Tcl header files.
    816815  --with-tcl              directory containing tcl configuration (tclConfig.sh)
     816  --with-tk               directory containing tk configuration (tkConfig.sh)
    817817
    818818Some influential environment variables:
     
    860860    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    861861esac
    862 
    863 # Do not use `cd foo && pwd` to compute absolute paths, because
    864 # the directories may not exist.
    865 case `pwd` in
    866 .) ac_abs_builddir="$ac_dir";;
    867 *)
    868   case "$ac_dir" in
    869   .) ac_abs_builddir=`pwd`;;
    870   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    871   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    872   esac;;
    873 esac
    874 case $ac_abs_builddir in
    875 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    876 *)
    877   case ${ac_top_builddir}. in
    878   .) ac_abs_top_builddir=$ac_abs_builddir;;
    879   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    880   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    881   esac;;
    882 esac
    883 case $ac_abs_builddir in
    884 .) ac_abs_srcdir=$ac_srcdir;;
    885 *)
    886   case $ac_srcdir in
    887   .) ac_abs_srcdir=$ac_abs_builddir;;
    888   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    889   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    890   esac;;
    891 esac
    892 case $ac_abs_builddir in
    893 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    894 *)
    895   case $ac_top_srcdir in
    896   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    897   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    898   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    899   esac;;
    900 esac
     862# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     863# absolute.
     864ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     865ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     866ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     867ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
    901868
    902869    cd $ac_dir
     
    909876      $SHELL $ac_srcdir/configure  --help=recursive
    910877    elif test -f $ac_srcdir/configure.ac ||
    911            test -f $ac_srcdir/configure.in; then
     878           test -f $ac_srcdir/configure.in; then
    912879      echo
    913880      $ac_configure --help
     
    923890  cat <<\_ACEOF
    924891
    925 Copyright (C) 2003 Free Software Foundation, Inc.
     892Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     893Free Software Foundation, Inc.
    926894This configure script is free software; the Free Software Foundation
    927895gives unlimited permission to copy, distribute and modify it.
     
    935903
    936904It was created by $as_me, which was
    937 generated by GNU Autoconf 2.59.  Invocation command line was
     905generated by GNU Autoconf 2.57.  Invocation command line was
    938906
    939907  $ $0 $@
     
    1012980      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    1013981      if test $ac_must_keep_next = true; then
    1014         ac_must_keep_next=false # Got value, back to normal.
     982        ac_must_keep_next=false # Got value, back to normal.
    1015983      else
    1016         case $ac_arg in
    1017           *=* | --config-cache | -C | -disable-* | --disable-* \
    1018           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
    1019           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
    1020           | -with-* | --with-* | -without-* | --without-* | --x)
    1021             case "$ac_configure_args0 " in
    1022               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
    1023             esac
    1024             ;;
    1025           -* ) ac_must_keep_next=true ;;
    1026         esac
     984        case $ac_arg in
     985          *=* | --config-cache | -C | -disable-* | --disable-* \
     986          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     987          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     988          | -with-* | --with-* | -without-* | --without-* | --x)
     989            case "$ac_configure_args0 " in
     990              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     991            esac
     992            ;;
     993          -* ) ac_must_keep_next=true ;;
     994        esac
    1027995      fi
    1028996      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     
    10581026    *ac_space=\ *)
    10591027      sed -n \
    1060         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1061           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1028        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1029          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    10621030      ;;
    10631031    *)
    10641032      sed -n \
    1065         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1033        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    10661034      ;;
    10671035    esac;
     
    10921060      do
    10931061        eval ac_val=$`echo $ac_var`
    1094         echo "$ac_var='"'"'$ac_val'"'"'"
     1062        echo "$ac_var='"'"'$ac_val'"'"'"
    10951063      done | sort
    10961064      echo
     
    11111079    echo "$as_me: exit $exit_status"
    11121080  } >&5
    1113   rm -f core *.core &&
     1081  rm -f core core.* *.core &&
    11141082  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    11151083    exit $exit_status
     
    11911159ac_cache_corrupted=false
    11921160for ac_var in `(set) 2>&1 |
    1193                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1161               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    11941162  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    11951163  eval ac_new_set=\$ac_env_${ac_var}_set
     
    12081176    *)
    12091177      if test "x$ac_old_val" != "x$ac_new_val"; then
    1210         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1178        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    12111179echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1212         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1180        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    12131181echo "$as_me:   former value:  $ac_old_val" >&2;}
    1214         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1182        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    12151183echo "$as_me:   current value: $ac_new_val" >&2;}
    1216         ac_cache_corrupted=:
     1184        ac_cache_corrupted=:
    12171185      fi;;
    12181186  esac
     
    16861654
    16871655cat >conftest.$ac_ext <<_ACEOF
     1656#line $LINENO "configure"
    16881657/* confdefs.h.  */
    16891658_ACEOF
     
    17051674# It will help us diagnose broken compilers, and finding out an intuition
    17061675# of exeext.
    1707 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1708 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     1676echo "$as_me:$LINENO: checking for C compiler default output" >&5
     1677echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
    17091678ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    17101679if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     
    17261695  case $ac_file in
    17271696    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1728         ;;
     1697        ;;
    17291698    conftest.$ac_ext )
    1730         # This is the source file.
    1731         ;;
     1699        # This is the source file.
     1700        ;;
    17321701    [ab].out )
    1733         # We found the default executable, but exeext='' is most
    1734         # certainly right.
    1735         break;;
     1702        # We found the default executable, but exeext='' is most
     1703        # certainly right.
     1704        break;;
    17361705    *.* )
    1737         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1738         # FIXME: I believe we export ac_cv_exeext for Libtool,
    1739         # but it would be cool to find out if it's true.  Does anybody
    1740         # maintain Libtool? --akim.
    1741         export ac_cv_exeext
    1742         break;;
     1706        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1707        # FIXME: I believe we export ac_cv_exeext for Libtool,
     1708        # but it would be cool to find out if it's true.  Does anybody
     1709        # maintain Libtool? --akim.
     1710        export ac_cv_exeext
     1711        break;;
    17431712    * )
    1744         break;;
     1713        break;;
    17451714  esac
    17461715done
     
    18161785    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    18171786    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1818           export ac_cv_exeext
    1819           break;;
     1787          export ac_cv_exeext
     1788          break;;
    18201789    * ) break;;
    18211790  esac
     
    18421811else
    18431812  cat >conftest.$ac_ext <<_ACEOF
     1813#line $LINENO "configure"
    18441814/* confdefs.h.  */
    18451815_ACEOF
     
    18921862else
    18931863  cat >conftest.$ac_ext <<_ACEOF
     1864#line $LINENO "configure"
    18941865/* confdefs.h.  */
    18951866_ACEOF
     
    19111882rm -f conftest.$ac_objext
    19121883if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1913   (eval $ac_compile) 2>conftest.er1
     1884  (eval $ac_compile) 2>&5
    19141885  ac_status=$?
    1915   grep -v '^ *+' conftest.er1 >conftest.err
    1916   rm -f conftest.er1
    1917   cat conftest.err >&5
    19181886  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19191887  (exit $ac_status); } &&
    1920          { ac_try='test -z "$ac_c_werror_flag"
    1921                          || test ! -s conftest.err'
    1922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1923   (eval $ac_try) 2>&5
    1924   ac_status=$?
    1925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1926   (exit $ac_status); }; } &&
    1927          { ac_try='test -s conftest.$ac_objext'
     1888         { ac_try='test -s conftest.$ac_objext'
    19281889  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19291890  (eval $ac_try) 2>&5
     
    19381899ac_compiler_gnu=no
    19391900fi
    1940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     1901rm -f conftest.$ac_objext conftest.$ac_ext
    19411902ac_cv_c_compiler_gnu=$ac_compiler_gnu
    19421903
     
    19541915else
    19551916  cat >conftest.$ac_ext <<_ACEOF
     1917#line $LINENO "configure"
    19561918/* confdefs.h.  */
    19571919_ACEOF
     
    19701932rm -f conftest.$ac_objext
    19711933if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1972   (eval $ac_compile) 2>conftest.er1
     1934  (eval $ac_compile) 2>&5
    19731935  ac_status=$?
    1974   grep -v '^ *+' conftest.er1 >conftest.err
    1975   rm -f conftest.er1
    1976   cat conftest.err >&5
    19771936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19781937  (exit $ac_status); } &&
    1979          { ac_try='test -z "$ac_c_werror_flag"
    1980                          || test ! -s conftest.err'
    1981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1982   (eval $ac_try) 2>&5
    1983   ac_status=$?
    1984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1985   (exit $ac_status); }; } &&
    1986          { ac_try='test -s conftest.$ac_objext'
     1938         { ac_try='test -s conftest.$ac_objext'
    19871939  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19881940  (eval $ac_try) 2>&5
     
    19971949ac_cv_prog_cc_g=no
    19981950fi
    1999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     1951rm -f conftest.$ac_objext conftest.$ac_ext
    20001952fi
    20011953echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     
    20241976ac_save_CC=$CC
    20251977cat >conftest.$ac_ext <<_ACEOF
     1978#line $LINENO "configure"
    20261979/* confdefs.h.  */
    20271980_ACEOF
     
    20512004  return s;
    20522005}
    2053 
    2054 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    2055    function prototypes and stuff, but not '\xHH' hex character constants.
    2056    These don't provoke an error unfortunately, instead are silently treated
    2057    as 'x'.  The following induces an error, until -std1 is added to get
    2058    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    2059    array size at least.  It's necessary to write '\x00'==0 to get something
    2060    that's true only with -std1.  */
    2061 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2062 
    20632006int test (int i, double x);
    20642007struct s1 {int (*f) (int a);};
     
    20872030  rm -f conftest.$ac_objext
    20882031if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2089   (eval $ac_compile) 2>conftest.er1
     2032  (eval $ac_compile) 2>&5
    20902033  ac_status=$?
    2091   grep -v '^ *+' conftest.er1 >conftest.err
    2092   rm -f conftest.er1
    2093   cat conftest.err >&5
    20942034  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20952035  (exit $ac_status); } &&
    2096          { ac_try='test -z "$ac_c_werror_flag"
    2097                          || test ! -s conftest.err'
    2098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2099   (eval $ac_try) 2>&5
    2100   ac_status=$?
    2101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2102   (exit $ac_status); }; } &&
    2103          { ac_try='test -s conftest.$ac_objext'
     2036         { ac_try='test -s conftest.$ac_objext'
    21042037  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21052038  (eval $ac_try) 2>&5
     
    21142047
    21152048fi
    2116 rm -f conftest.err conftest.$ac_objext
     2049rm -f conftest.$ac_objext
    21172050done
    21182051rm -f conftest.$ac_ext conftest.$ac_objext
     
    21422075rm -f conftest.$ac_objext
    21432076if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2144   (eval $ac_compile) 2>conftest.er1
     2077  (eval $ac_compile) 2>&5
    21452078  ac_status=$?
    2146   grep -v '^ *+' conftest.er1 >conftest.err
    2147   rm -f conftest.er1
    2148   cat conftest.err >&5
    21492079  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21502080  (exit $ac_status); } &&
    2151          { ac_try='test -z "$ac_c_werror_flag"
    2152                          || test ! -s conftest.err'
    2153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2154   (eval $ac_try) 2>&5
    2155   ac_status=$?
    2156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2157   (exit $ac_status); }; } &&
    2158          { ac_try='test -s conftest.$ac_objext'
     2081         { ac_try='test -s conftest.$ac_objext'
    21592082  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21602083  (eval $ac_try) 2>&5
     
    21632086  (exit $ac_status); }; }; then
    21642087  for ac_declaration in \
    2165    '' \
     2088   ''\
     2089   '#include <stdlib.h>' \
    21662090   'extern "C" void std::exit (int) throw (); using std::exit;' \
    21672091   'extern "C" void std::exit (int); using std::exit;' \
     
    21712095do
    21722096  cat >conftest.$ac_ext <<_ACEOF
     2097#line $LINENO "configure"
    21732098/* confdefs.h.  */
    21742099_ACEOF
     
    21762101cat >>conftest.$ac_ext <<_ACEOF
    21772102/* end confdefs.h.  */
     2103#include <stdlib.h>
    21782104$ac_declaration
    2179 #include <stdlib.h>
    21802105int
    21812106main ()
     
    21882113rm -f conftest.$ac_objext
    21892114if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2190   (eval $ac_compile) 2>conftest.er1
     2115  (eval $ac_compile) 2>&5
    21912116  ac_status=$?
    2192   grep -v '^ *+' conftest.er1 >conftest.err
    2193   rm -f conftest.er1
    2194   cat conftest.err >&5
    21952117  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21962118  (exit $ac_status); } &&
    2197          { ac_try='test -z "$ac_c_werror_flag"
    2198                          || test ! -s conftest.err'
    2199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2200   (eval $ac_try) 2>&5
    2201   ac_status=$?
    2202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2203   (exit $ac_status); }; } &&
    2204          { ac_try='test -s conftest.$ac_objext'
     2119         { ac_try='test -s conftest.$ac_objext'
    22052120  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22062121  (eval $ac_try) 2>&5
     
    22152130continue
    22162131fi
    2217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2132rm -f conftest.$ac_objext conftest.$ac_ext
    22182133  cat >conftest.$ac_ext <<_ACEOF
     2134#line $LINENO "configure"
    22192135/* confdefs.h.  */
    22202136_ACEOF
     
    22332149rm -f conftest.$ac_objext
    22342150if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2235   (eval $ac_compile) 2>conftest.er1
     2151  (eval $ac_compile) 2>&5
    22362152  ac_status=$?
    2237   grep -v '^ *+' conftest.er1 >conftest.err
    2238   rm -f conftest.er1
    2239   cat conftest.err >&5
    22402153  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22412154  (exit $ac_status); } &&
    2242          { ac_try='test -z "$ac_c_werror_flag"
    2243                          || test ! -s conftest.err'
    2244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2245   (eval $ac_try) 2>&5
    2246   ac_status=$?
    2247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2248   (exit $ac_status); }; } &&
    2249          { ac_try='test -s conftest.$ac_objext'
     2155         { ac_try='test -s conftest.$ac_objext'
    22502156  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22512157  (eval $ac_try) 2>&5
     
    22592165
    22602166fi
    2261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2167rm -f conftest.$ac_objext conftest.$ac_ext
    22622168done
    22632169rm -f conftest*
     
    22732179
    22742180fi
    2275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2181rm -f conftest.$ac_objext conftest.$ac_ext
    22762182ac_ext=c
    22772183ac_cpp='$CPP $CPPFLAGS'
     
    22922198# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    22932199# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2294 # OS/2's system install, which has a completely different semantic
    22952200# ./install, which can be erroneously created by make from ./install.sh.
    22962201echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    23092214  ./ | .// | /cC/* | \
    23102215  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2311   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    23122216  /usr/ucb/* ) ;;
    23132217  *)
     
    23172221    for ac_prog in ginstall scoinst install; do
    23182222      for ac_exec_ext in '' $ac_executable_extensions; do
    2319         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    2320           if test $ac_prog = install &&
    2321             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2322             # AIX install.  It has an incompatible calling convention.
    2323             :
    2324           elif test $ac_prog = install &&
    2325             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2326             # program-specific install script used by HP pwplus--don't use.
    2327             :
    2328           else
    2329             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2330             break 3
    2331           fi
    2332         fi
     2223        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     2224          if test $ac_prog = install &&
     2225            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2226            # AIX install.  It has an incompatible calling convention.
     2227            :
     2228          elif test $ac_prog = install &&
     2229            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2230            # program-specific install script used by HP pwplus--don't use.
     2231            :
     2232          else
     2233            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2234            break 3
     2235          fi
     2236        fi
    23332237      done
    23342238    done
     
    23672271echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    23682272echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    2369 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     2273set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
    23702274if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    23712275  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    25402444case $host_os in
    25412445  *cygwin* ) CYGWIN=yes;;
    2542         * ) CYGWIN=no;;
     2446        * ) CYGWIN=no;;
    25432447esac
    25442448
     
    27752679
    27762680
     2681
     2682
     2683
     2684
     2685
     2686
     2687    #
     2688    # Ok, lets find the tk configuration
     2689    # First, look for one uninstalled.
     2690    # the alternative search directory is invoked by --with-tk
     2691    #
     2692
     2693    if test x"${no_tk}" = x ; then
     2694        # we reset no_tk in case something fails here
     2695        no_tk=true
     2696
     2697# Check whether --with-tk or --without-tk was given.
     2698if test "${with_tk+set}" = set; then
     2699  withval="$with_tk"
     2700  with_tkconfig=${withval}
     2701fi;
     2702        echo "$as_me:$LINENO: checking for Tk configuration" >&5
     2703echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
     2704        if test "${ac_cv_c_tkconfig+set}" = set; then
     2705  echo $ECHO_N "(cached) $ECHO_C" >&6
     2706else
     2707
     2708
     2709            # First check to see if --with-tkconfig was specified.
     2710            if test x"${with_tkconfig}" != x ; then
     2711                if test -f "${with_tkconfig}/tkConfig.sh" ; then
     2712                    ac_cv_c_tkconfig=`(cd ${with_tkconfig}; pwd)`
     2713                else
     2714                    { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
     2715echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
     2716   { (exit 1); exit 1; }; }
     2717                fi
     2718            fi
     2719
     2720            # then check for a private Tk library
     2721            if test x"${ac_cv_c_tkconfig}" = x ; then
     2722                for i in \
     2723                        ../tk \
     2724                        `ls -dr ../tk[8-9].[0-9]* 2>/dev/null` \
     2725                        ../../tk \
     2726                        `ls -dr ../../tk[8-9].[0-9]* 2>/dev/null` \
     2727                        ../../../tk \
     2728                        `ls -dr ../../../tk[8-9].[0-9]* 2>/dev/null` ; do
     2729                    if test -f "$i/unix/tkConfig.sh" ; then
     2730                        ac_cv_c_tkconfig=`(cd $i/unix; pwd)`
     2731                        break
     2732                    fi
     2733                done
     2734            fi
     2735            # check in a few common install locations
     2736            if test x"${ac_cv_c_tkconfig}" = x ; then
     2737                for i in `ls -d ${prefix}/lib 2>/dev/null` \
     2738                        `ls -d /usr/local/lib 2>/dev/null` ; do
     2739                    if test -f "$i/tkConfig.sh" ; then
     2740                        ac_cv_c_tkconfig=`(cd $i; pwd)`
     2741                        break
     2742                    fi
     2743                done
     2744            fi
     2745            # check in a few other private locations
     2746            if test x"${ac_cv_c_tkconfig}" = x ; then
     2747                for i in \
     2748                        ${srcdir}/../tk \
     2749                        `ls -dr ${srcdir}/../tk[8-9].[0-9]* 2>/dev/null` ; do
     2750                    if test -f "$i/unix/tkConfig.sh" ; then
     2751                        ac_cv_c_tkconfig=`(cd $i/unix; pwd)`
     2752                        break
     2753                    fi
     2754                done
     2755            fi
     2756
     2757fi
     2758
     2759        if test x"${ac_cv_c_tkconfig}" = x ; then
     2760            TK_BIN_DIR="# no Tk configs found"
     2761            { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
     2762echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
     2763            exit 0
     2764        else
     2765            no_tk=
     2766            TK_BIN_DIR=${ac_cv_c_tkconfig}
     2767            echo "$as_me:$LINENO: result: found $TK_BIN_DIR/tkConfig.sh" >&5
     2768echo "${ECHO_T}found $TK_BIN_DIR/tkConfig.sh" >&6
     2769        fi
     2770    fi
     2771
     2772
     2773
     2774    echo "$as_me:$LINENO: checking for existence of $TCLCONFIG" >&5
     2775echo $ECHO_N "checking for existence of $TCLCONFIG... $ECHO_C" >&6
     2776
     2777    if test -f "$TK_BIN_DIR/tkConfig.sh" ; then
     2778        echo "$as_me:$LINENO: checking loading $TK_BIN_DIR/tkConfig.sh" >&5
     2779echo $ECHO_N "checking loading $TK_BIN_DIR/tkConfig.sh... $ECHO_C" >&6
     2780        . $TK_BIN_DIR/tkConfig.sh
     2781    else
     2782        echo "$as_me:$LINENO: result: could not find $TK_BIN_DIR/tkConfig.sh" >&5
     2783echo "${ECHO_T}could not find $TK_BIN_DIR/tkConfig.sh" >&6
     2784    fi
    27772785
    27782786
     
    29152923LIBS="-lpthread  $LIBS"
    29162924cat >conftest.$ac_ext <<_ACEOF
     2925#line $LINENO "configure"
    29172926/* confdefs.h.  */
    29182927_ACEOF
     
    29382947rm -f conftest.$ac_objext conftest$ac_exeext
    29392948if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2940   (eval $ac_link) 2>conftest.er1
     2949  (eval $ac_link) 2>&5
    29412950  ac_status=$?
    2942   grep -v '^ *+' conftest.er1 >conftest.err
    2943   rm -f conftest.er1
    2944   cat conftest.err >&5
    29452951  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29462952  (exit $ac_status); } &&
    2947          { ac_try='test -z "$ac_c_werror_flag"
    2948                          || test ! -s conftest.err'
    2949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2950   (eval $ac_try) 2>&5
    2951   ac_status=$?
    2952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2953   (exit $ac_status); }; } &&
    2954          { ac_try='test -s conftest$ac_exeext'
     2953         { ac_try='test -s conftest$ac_exeext'
    29552954  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29562955  (eval $ac_try) 2>&5
     
    29652964ac_cv_lib_pthread_pthread_mutex_init=no
    29662965fi
    2967 rm -f conftest.err conftest.$ac_objext \
    2968       conftest$ac_exeext conftest.$ac_ext
     2966rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    29692967LIBS=$ac_check_lib_save_LIBS
    29702968fi
     
    31693167    *)
    31703168        if test "${SHARED_BUILD}" = "1" ; then
    3171             SHLIB_LD_LIBS="${TCL_STUB_LIB_SPEC}"
     3169            SHLIB_LD_LIBS="${TCL_LIB_SPEC} ${TK_LIB_SPEC} -lBLT24"
    31723170            eval "${PACKAGE}_LIB_FILE=lib${PACKAGE}${SHARED_LIB_SUFFIX}"
    31733171            RANLIB=:
     
    32943292      # substitution turns \\\\ into \\, and sed turns \\ into \).
    32953293      sed -n \
    3296         "s/'/'\\\\''/g;
    3297           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     3294        "s/'/'\\\\''/g;
     3295          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    32983296      ;;
    32993297    *)
    33003298      # `set' quotes correctly as required by POSIX, so do not add quotes.
    33013299      sed -n \
    3302         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     3300        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    33033301      ;;
    33043302    esac;
     
    33303328# (actually we leave an empty line to preserve line numbers).
    33313329if test "x$srcdir" = x.; then
    3332   ac_vpsub='/^[  ]*VPATH[        ]*=/{
     3330  ac_vpsub='/^[         ]*VPATH[        ]*=/{
    33333331s/:*\$(srcdir):*/:/;
    33343332s/:*\${srcdir}:*/:/;
    33353333s/:*@srcdir@:*/:/;
    3336 s/^\([^=]*=[     ]*\):*/\1/;
     3334s/^\([^=]*=[    ]*\):*/\1/;
    33373335s/:*$//;
    3338 s/^[^=]*=[       ]*$//;
     3336s/^[^=]*=[      ]*$//;
    33393337}'
    33403338fi
     
    33503348t clear
    33513349: clear
    3352 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
     3350s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
    33533351t quote
    3354 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
     3352s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
    33553353t quote
    33563354d
    33573355: quote
    3358 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
     3356s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
    33593357s,\[,\\&,g
    33603358s,\],\\&,g
     
    33783376  # 1. Remove the extension, and $U if already installed.
    33793377  ac_i=`echo "$ac_i" |
    3380         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     3378        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    33813379  # 2. Add them.
    33823380  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     
    34223420  set -o posix
    34233421fi
    3424 DUALCASE=1; export DUALCASE # for MKS sh
    34253422
    34263423# Support unset when possible.
    3427 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     3424if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    34283425  as_unset=unset
    34293426else
     
    34443441  LC_TELEPHONE LC_TIME
    34453442do
    3446   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     3443  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
    34473444    eval $as_var=C; export $as_var
    34483445  else
     
    36233620  as_mkdir_p=:
    36243621else
    3625   test -d ./-p && rmdir ./-p
    36263622  as_mkdir_p=false
    36273623fi
     
    36303626
    36313627# Sed expression to map a string onto a valid CPP name.
    3632 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     3628as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    36333629
    36343630# Sed expression to map a string onto a valid variable name.
    3635 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     3631as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    36363632
    36373633
     
    36603656
    36613657This file was extended by $as_me, which was
    3662 generated by GNU Autoconf 2.59.  Invocation command line was
     3658generated by GNU Autoconf 2.57.  Invocation command line was
    36633659
    36643660  CONFIG_FILES    = $CONFIG_FILES
     
    37043700      --recheck    update $as_me by reconfiguring in the same conditions
    37053701  --file=FILE[:TEMPLATE]
    3706                    instantiate the configuration file FILE
     3702                   instantiate the configuration file FILE
    37073703
    37083704Configuration files:
     
    37153711ac_cs_version="\\
    37163712config.status
    3717 configured by $0, generated by GNU Autoconf 2.59,
     3713configured by $0, generated by GNU Autoconf 2.57,
    37183714  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    37193715
    3720 Copyright (C) 2003 Free Software Foundation, Inc.
     3716Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     3717Free Software Foundation, Inc.
    37213718This config.status script is free software; the Free Software Foundation
    37223719gives unlimited permission to copy, distribute and modify it."
     
    39393936s,@TCL_STUB_LIB_SPEC@,$TCL_STUB_LIB_SPEC,;t t
    39403937s,@TCL_BUILD_STUB_LIB_SPEC@,$TCL_BUILD_STUB_LIB_SPEC,;t t
     3938s,@TK_BIN_DIR@,$TK_BIN_DIR,;t t
     3939s,@TK_SRC_DIR@,$TK_SRC_DIR,;t t
     3940s,@TK_LIB_FILE@,$TK_LIB_FILE,;t t
    39413941s,@BLT_SRC_DIR@,$BLT_SRC_DIR,;t t
    39423942s,@CLEANFILES@,$CLEANFILES,;t t
     
    39923992  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    39933993      if test -z "$ac_sed_cmds"; then
    3994         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     3994        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    39953995      else
    3996         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     3996        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    39973997      fi
    39983998      ac_sed_frag=`expr $ac_sed_frag + 1`
     
    40124012  case $ac_file in
    40134013  - | *:- | *:-:* ) # input from stdin
    4014         cat >$tmp/stdin
    4015         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    4016         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     4014        cat >$tmp/stdin
     4015        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     4016        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    40174017  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    4018         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     4018        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    40194019  * )   ac_file_in=$ac_file.in ;;
    40204020  esac
     
    40234023  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    40244024$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    4025         X"$ac_file" : 'X\(//\)[^/]' \| \
    4026         X"$ac_file" : 'X\(//\)$' \| \
    4027         X"$ac_file" : 'X\(/\)' \| \
    4028         .     : '\(.\)' 2>/dev/null ||
     4025        X"$ac_file" : 'X\(//\)[^/]' \| \
     4026        X"$ac_file" : 'X\(//\)$' \| \
     4027        X"$ac_file" : 'X\(/\)' \| \
     4028        .     : '\(.\)' 2>/dev/null ||
    40294029echo X"$ac_file" |
    40304030    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    40424042      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    40434043$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    4044         X"$as_dir" : 'X\(//\)[^/]' \| \
    4045         X"$as_dir" : 'X\(//\)$' \| \
    4046         X"$as_dir" : 'X\(/\)' \| \
    4047         .     : '\(.\)' 2>/dev/null ||
     4044        X"$as_dir" : 'X\(//\)[^/]' \| \
     4045        X"$as_dir" : 'X\(//\)$' \| \
     4046        X"$as_dir" : 'X\(/\)' \| \
     4047        .     : '\(.\)' 2>/dev/null ||
    40484048echo X"$as_dir" |
    40494049    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    40834083    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    40844084esac
    4085 
    4086 # Do not use `cd foo && pwd` to compute absolute paths, because
    4087 # the directories may not exist.
    4088 case `pwd` in
    4089 .) ac_abs_builddir="$ac_dir";;
    4090 *)
    4091   case "$ac_dir" in
    4092   .) ac_abs_builddir=`pwd`;;
    4093   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    4094   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    4095   esac;;
    4096 esac
    4097 case $ac_abs_builddir in
    4098 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    4099 *)
    4100   case ${ac_top_builddir}. in
    4101   .) ac_abs_top_builddir=$ac_abs_builddir;;
    4102   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    4103   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    4104   esac;;
    4105 esac
    4106 case $ac_abs_builddir in
    4107 .) ac_abs_srcdir=$ac_srcdir;;
    4108 *)
    4109   case $ac_srcdir in
    4110   .) ac_abs_srcdir=$ac_abs_builddir;;
    4111   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    4112   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    4113   esac;;
    4114 esac
    4115 case $ac_abs_builddir in
    4116 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    4117 *)
    4118   case $ac_top_srcdir in
    4119   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    4120   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    4121   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    4122   esac;;
    4123 esac
     4085# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     4086# absolute.
     4087ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     4088ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     4089ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     4090ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
    41244091
    41254092
     
    41434110  fi
    41444111  configure_input=$configure_input"Generated from `echo $ac_file_in |
    4145                                      sed 's,.*/,,'` by configure."
     4112                                     sed 's,.*/,,'` by configure."
    41464113
    41474114  # First look for the input files in the build tree, otherwise in the
     
    41524119      -) echo $tmp/stdin ;;
    41534120      [\\/$]*)
    4154         # Absolute (can't be DOS-style, as IFS=:)
    4155         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     4121        # Absolute (can't be DOS-style, as IFS=:)
     4122        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    41564123echo "$as_me: error: cannot find input file: $f" >&2;}
    41574124   { (exit 1); exit 1; }; }
    4158          echo "$f";;
     4125         echo $f;;
    41594126      *) # Relative
    4160         if test -f "$f"; then
    4161            # Build tree
    4162            echo "$f"
    4163         elif test -f "$srcdir/$f"; then
    4164            # Source tree
    4165            echo "$srcdir/$f"
    4166         else
    4167            # /dev/null tree
    4168            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     4127        if test -f "$f"; then
     4128           # Build tree
     4129           echo $f
     4130        elif test -f "$srcdir/$f"; then
     4131           # Source tree
     4132           echo $srcdir/$f
     4133        else
     4134           # /dev/null tree
     4135           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    41694136echo "$as_me: error: cannot find input file: $f" >&2;}
    41704137   { (exit 1); exit 1; }; }
    4171         fi;;
     4138        fi;;
    41724139      esac
    41734140    done` || { (exit 1); exit 1; }
  • trunk/gui/configure.in

    r158 r166  
    121121SC_PATH_TCLCONFIG
    122122SC_LOAD_TCLCONFIG
     123SC_PATH_TKCONFIG
     124SC_LOAD_TKCONFIG
    123125
    124126#--------------------------------------------------------------------
     
    301303    *)
    302304        if test "${SHARED_BUILD}" = "1" ; then
    303             SHLIB_LD_LIBS="${TCL_STUB_LIB_SPEC}"
     305            SHLIB_LD_LIBS="${TCL_LIB_SPEC} ${TK_LIB_SPEC} -lBLT24"
    304306            eval "${PACKAGE}_LIB_FILE=lib${PACKAGE}${SHARED_LIB_SUFFIX}"
    305307            RANLIB=:
Note: See TracChangeset for help on using the changeset viewer.