Changeset 528 for trunk


Ignore:
Timestamp:
Sep 21, 2006, 6:39:44 PM (18 years ago)
Author:
dkearney
Message:

installable version of rappture units tcl bindings.
commented out rappture library bindings for inclusion later.

Location:
trunk/src/tcl
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tcl/Makefile.in

    r527 r528  
    150150SHARED_BUILD    = @SHARED_BUILD@
    151151
    152 INCLUDES        = @PKG_INCLUDES@ @TCL_INCLUDES@ -I$(BLT_SRC_DIR) -I$(ALT_DIR)/include -I$(RAPPTURE_DIR)/include  -EHsc
     152INCLUDES        = @PKG_INCLUDES@ @TCL_INCLUDES@ -I$(BLT_SRC_DIR) -I$(ALT_DIR)/include -I$(RAPPTURE_DIR)/include
    153153#INCLUDES       = @PKG_INCLUDES@ @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@
    154154
     
    392392          fi; \
    393393        done
     394        @mkdir -p $(DESTDIR)$(pkglibdir)/scripts
     395        @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
     396          if test -f $(srcdir)/$$p; then \
     397            destp=`basename $$p`; \
     398            echo " Install $$destp $(DESTDIR)$(pkglibdir)/scripts/$$destp"; \
     399            $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkglibdir)/scripts/$$destp; \
     400          fi; \
     401        done
     402        $(TCLSH_PROG) $(srcdir)/tclconfig/mkindex.tcl $(DESTDIR)$(pkglibdir)/scripts
     403        $(INSTALL_DATA) init.tcl $(DESTDIR)$(pkglibdir)/init.tcl
    394404        @list='$(PKG_TCL_SOURCES)'; for p in $$list; do \
    395405          if test -f $(srcdir)/$$p; then \
  • trunk/src/tcl/configure

    r527 r528  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59 for Rappture 1.1.
     3# Generated by GNU Autoconf 2.59 for Rappture 1.0.
    44#
    55# Copyright (C) 2003 Free Software Foundation, Inc.
     
    268268PACKAGE_NAME='Rappture'
    269269PACKAGE_TARNAME='rappture'
    270 PACKAGE_VERSION='1.1'
    271 PACKAGE_STRING='Rappture 1.1'
     270PACKAGE_VERSION='1.0'
     271PACKAGE_STRING='Rappture 1.0'
    272272PACKAGE_BUGREPORT=''
    273273
     
    786786  # This message is too long to be a string in the A/UX 3.1 sh.
    787787  cat <<_ACEOF
    788 \`configure' configures Rappture 1.1 to adapt to many kinds of systems.
     788\`configure' configures Rappture 1.0 to adapt to many kinds of systems.
    789789
    790790Usage: $0 [OPTION]... [VAR=VALUE]...
     
    843843if test -n "$ac_init_help"; then
    844844  case $ac_init_help in
    845      short | recursive ) echo "Configuration of Rappture 1.1:";;
     845     short | recursive ) echo "Configuration of Rappture 1.0:";;
    846846   esac
    847847  cat <<\_ACEOF
     
    863863  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    864864  --with-blt=DIR          Find bltInt.h in DIR
    865   --with-rappture=DIR          Find include/core/rappture.h in DIR
     865  --with-rappture=DIR          Find include/rappture.h in DIR
    866866  --with-altpath=DIR          Alternate path to search for required packages
    867867  --with-tcl              directory containing tcl configuration
     
    972972      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    973973    fi
    974     cd $ac_popdir
     974    cd "$ac_popdir"
    975975  done
    976976fi
     
    979979if $ac_init_version; then
    980980  cat <<\_ACEOF
    981 Rappture configure 1.1
     981Rappture configure 1.0
    982982generated by GNU Autoconf 2.59
    983983
     
    993993running configure, to aid debugging if configure makes a mistake.
    994994
    995 It was created by Rappture $as_me 1.1, which was
     995It was created by Rappture $as_me 1.0, which was
    996996generated by GNU Autoconf 2.59.  Invocation command line was
    997997
     
    23302330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23312331  (exit $ac_status); } &&
    2332          { ac_try='test -z "$ac_c_werror_flag"
    2333                          || test ! -s conftest.err'
     2332         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    23342333  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23352334  (eval $ac_try) 2>&5
     
    23892388  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23902389  (exit $ac_status); } &&
    2391          { ac_try='test -z "$ac_c_werror_flag"
    2392                          || test ! -s conftest.err'
     2390         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    23932391  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23942392  (eval $ac_try) 2>&5
     
    25062504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25072505  (exit $ac_status); } &&
    2508          { ac_try='test -z "$ac_c_werror_flag"
    2509                          || test ! -s conftest.err'
     2506         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    25102507  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25112508  (eval $ac_try) 2>&5
     
    25612558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25622559  (exit $ac_status); } &&
    2563          { ac_try='test -z "$ac_c_werror_flag"
    2564                          || test ! -s conftest.err'
     2560         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    25652561  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    25662562  (eval $ac_try) 2>&5
     
    26072603  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26082604  (exit $ac_status); } &&
    2609          { ac_try='test -z "$ac_c_werror_flag"
    2610                          || test ! -s conftest.err'
     2605         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    26112606  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26122607  (eval $ac_try) 2>&5
     
    26522647  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26532648  (exit $ac_status); } &&
    2654          { ac_try='test -z "$ac_c_werror_flag"
    2655                          || test ! -s conftest.err'
     2649         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    26562650  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    26572651  (eval $ac_try) 2>&5
     
    28372831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    28382832  (exit $ac_status); } &&
    2839          { ac_try='test -z "$ac_cxx_werror_flag"
    2840                          || test ! -s conftest.err'
     2833         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    28412834  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    28422835  (eval $ac_try) 2>&5
     
    28962889  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    28972890  (exit $ac_status); } &&
    2898          { ac_try='test -z "$ac_cxx_werror_flag"
    2899                          || test ! -s conftest.err'
     2891         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    29002892  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29012893  (eval $ac_try) 2>&5
     
    29682960  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29692961  (exit $ac_status); } &&
    2970          { ac_try='test -z "$ac_cxx_werror_flag"
    2971                          || test ! -s conftest.err'
     2962         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    29722963  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29732964  (eval $ac_try) 2>&5
     
    30133004  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30143005  (exit $ac_status); } &&
    3015          { ac_try='test -z "$ac_cxx_werror_flag"
    3016                          || test ! -s conftest.err'
     3006         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    30173007  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    30183008  (eval $ac_try) 2>&5
     
    35383528  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    35393529  (exit $ac_status); } &&
    3540          { ac_try='test -z "$ac_c_werror_flag"
    3541                          || test ! -s conftest.err'
     3530         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    35423531  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    35433532  (eval $ac_try) 2>&5
     
    37093698  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37103699  (exit $ac_status); } &&
    3711          { ac_try='test -z "$ac_c_werror_flag"
    3712                          || test ! -s conftest.err'
     3700         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    37133701  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    37143702  (eval $ac_try) 2>&5
     
    37813769  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37823770  (exit $ac_status); } &&
    3783          { ac_try='test -z "$ac_c_werror_flag"
    3784                          || test ! -s conftest.err'
     3771         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    37853772  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    37863773  (eval $ac_try) 2>&5
     
    38463833  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38473834  (exit $ac_status); } &&
    3848          { ac_try='test -z "$ac_c_werror_flag"
    3849                          || test ! -s conftest.err'
     3835         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    38503836  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    38513837  (eval $ac_try) 2>&5
     
    38893875  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38903876  (exit $ac_status); } &&
    3891          { ac_try='test -z "$ac_c_werror_flag"
    3892                          || test ! -s conftest.err'
     3877         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    38933878  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    38943879  (eval $ac_try) 2>&5
     
    39473932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    39483933  (exit $ac_status); } &&
    3949          { ac_try='test -z "$ac_c_werror_flag"
    3950                          || test ! -s conftest.err'
     3934         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    39513935  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    39523936  (eval $ac_try) 2>&5
     
    41154099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41164100  (exit $ac_status); } &&
    4117          { ac_try='test -z "$ac_c_werror_flag"
    4118                          || test ! -s conftest.err'
     4101         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    41194102  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    41204103  (eval $ac_try) 2>&5
     
    41784161  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41794162  (exit $ac_status); } &&
    4180          { ac_try='test -z "$ac_c_werror_flag"
    4181                          || test ! -s conftest.err'
     4163         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    41824164  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    41834165  (eval $ac_try) 2>&5
     
    42464228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    42474229  (exit $ac_status); } &&
    4248          { ac_try='test -z "$ac_c_werror_flag"
    4249                          || test ! -s conftest.err'
     4230         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    42504231  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    42514232  (eval $ac_try) 2>&5
     
    43064287  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43074288  (exit $ac_status); } &&
    4308          { ac_try='test -z "$ac_c_werror_flag"
    4309                          || test ! -s conftest.err'
     4289         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    43104290  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    43114291  (eval $ac_try) 2>&5
     
    45084488  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    45094489  (exit $ac_status); } &&
    4510          { ac_try='test -z "$ac_c_werror_flag"
    4511                          || test ! -s conftest.err'
     4490         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    45124491  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    45134492  (eval $ac_try) 2>&5
     
    46054584  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    46064585  (exit $ac_status); } &&
    4607          { ac_try='test -z "$ac_c_werror_flag"
    4608                          || test ! -s conftest.err'
     4586         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    46094587  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    46104588  (eval $ac_try) 2>&5
     
    46714649  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    46724650  (exit $ac_status); } &&
    4673          { ac_try='test -z "$ac_c_werror_flag"
    4674                          || test ! -s conftest.err'
     4651         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    46754652  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    46764653  (eval $ac_try) 2>&5
     
    47744751  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47754752  (exit $ac_status); } &&
    4776          { ac_try='test -z "$ac_c_werror_flag"
    4777                          || test ! -s conftest.err'
     4753         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    47784754  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    47794755  (eval $ac_try) 2>&5
     
    48714847  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48724848  (exit $ac_status); } &&
    4873          { ac_try='test -z "$ac_c_werror_flag"
    4874                          || test ! -s conftest.err'
     4849         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    48754850  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    48764851  (eval $ac_try) 2>&5
     
    49374912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    49384913  (exit $ac_status); } &&
    4939          { ac_try='test -z "$ac_c_werror_flag"
    4940                          || test ! -s conftest.err'
     4914         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    49414915  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    49424916  (eval $ac_try) 2>&5
     
    50265000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    50275001  (exit $ac_status); } &&
    5028          { ac_try='test -z "$ac_c_werror_flag"
    5029                          || test ! -s conftest.err'
     5002         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    50305003  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    50315004  (eval $ac_try) 2>&5
     
    50905063  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    50915064  (exit $ac_status); } &&
    5092          { ac_try='test -z "$ac_c_werror_flag"
    5093                          || test ! -s conftest.err'
     5065         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    50945066  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    50955067  (eval $ac_try) 2>&5
     
    52385210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    52395211  (exit $ac_status); } &&
    5240          { ac_try='test -z "$ac_c_werror_flag"
    5241                          || test ! -s conftest.err'
     5212         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    52425213  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    52435214  (eval $ac_try) 2>&5
     
    53865357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    53875358  (exit $ac_status); } &&
    5388          { ac_try='test -z "$ac_c_werror_flag"
    5389                          || test ! -s conftest.err'
     5359         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    53905360  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    53915361  (eval $ac_try) 2>&5
     
    55345504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    55355505  (exit $ac_status); } &&
    5536          { ac_try='test -z "$ac_c_werror_flag"
    5537                          || test ! -s conftest.err'
     5506         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    55385507  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    55395508  (eval $ac_try) 2>&5
     
    56865655  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    56875656  (exit $ac_status); } &&
    5688          { ac_try='test -z "$ac_c_werror_flag"
    5689                          || test ! -s conftest.err'
     5657         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    56905658  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    56915659  (eval $ac_try) 2>&5
     
    58885856  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    58895857  (exit $ac_status); } &&
    5890          { ac_try='test -z "$ac_c_werror_flag"
    5891                          || test ! -s conftest.err'
     5858         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    58925859  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    58935860  (eval $ac_try) 2>&5
     
    60786045  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    60796046  (exit $ac_status); } &&
    6080          { ac_try='test -z "$ac_c_werror_flag"
    6081                          || test ! -s conftest.err'
     6047         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    60826048  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    60836049  (eval $ac_try) 2>&5
     
    62266192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    62276193  (exit $ac_status); } &&
    6228          { ac_try='test -z "$ac_c_werror_flag"
    6229                          || test ! -s conftest.err'
     6194         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    62306195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    62316196  (eval $ac_try) 2>&5
     
    63806345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    63816346  (exit $ac_status); } &&
    6382          { ac_try='test -z "$ac_c_werror_flag"
    6383                          || test ! -s conftest.err'
     6347         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    63846348  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    63856349  (eval $ac_try) 2>&5
     
    65146478#-----------------------------------------------------------------------
    65156479
    6516 
    6517     vars="Rappture_Init.cc RpLibraryTclInterface.cc RpUnitsTclInterface.cc "
     6480#TEA_ADD_SOURCES([Rappture_Init.cc RpLibraryTclInterface.cc RpUnitsTclInterface.cc ])
     6481
     6482    vars="Rappture_Init.cc RpUnitsTclInterface.cc"
    65186483    for i in $vars; do
    65196484        case $i in
     
    65696534
    65706535
    6571     vars="BLT24.lib libexpat.lib ../librappture.lib"
    6572     for i in $vars; do
    6573         if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
    6574             # Convert foo.lib to -lfoo for GCC.  No-op if not *.lib
    6575             i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'`
    6576         fi
    6577         PKG_LIBS="$PKG_LIBS $i"
    6578     done
    6579 
    6580 
    6581 
    65826536    PKG_CFLAGS="$PKG_CFLAGS "
    65836537
     
    66086562
    66096563
    6610 
    6611     vars="scripts/exec.tcl scripts/value.tcl init.tcl ../../tcl/scripts/library.tcl ../../tcl/scripts/result.tcl"
     6564#TEA_ADD_TCL_SOURCES([scripts/exec.tcl scripts/value.tcl init.tcl ../../tcl/scripts/library.tcl ../../tcl/scripts/result.tcl])
     6565
     6566    vars=""
    66126567    for i in $vars; do
    66136568        # check for existence, be strict because it is installed
     
    66546609
    66556610
     6611
     6612    vars="BLT24.lib libexpat.lib ../librappture.lib"
     6613    for i in $vars; do
     6614        if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
     6615            # Convert foo.lib to -lfoo for GCC.  No-op if not *.lib
     6616            i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'`
     6617        fi
     6618        PKG_LIBS="$PKG_LIBS $i"
     6619    done
     6620
     6621
    66566622    #TEA_ADD_SOURCES([win/winFile.c])
    66576623    #TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"])
    66586624else
     6625    # CLEANFILES="*core *.o *.so *.a"
    66596626    CLEANFILES=""
    66606627    #TEA_ADD_SOURCES([unix/unixFile.c])
    66616628
    6662     vars="scew.lib"
     6629    vars="-L@RAPPTURE_DIR@/lib"
     6630    for i in $vars; do
     6631        if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
     6632            # Convert foo.lib to -lfoo for GCC.  No-op if not *.lib
     6633            i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'`
     6634        fi
     6635        PKG_LIBS="$PKG_LIBS $i"
     6636    done
     6637
     6638
     6639
     6640    vars="-lexpat -lscew -lrappture"
    66636641    for i in $vars; do
    66646642        if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
     
    68646842  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    68656843  (exit $ac_status); } &&
    6866          { ac_try='test -z "$ac_c_werror_flag"
    6867                          || test ! -s conftest.err'
     6844         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    68686845  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    68696846  (eval $ac_try) 2>&5
     
    69406917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    69416918  (exit $ac_status); } &&
    6942          { ac_try='test -z "$ac_c_werror_flag"
    6943                          || test ! -s conftest.err'
     6919         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    69446920  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    69456921  (eval $ac_try) 2>&5
     
    70166992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    70176993  (exit $ac_status); } &&
    7018          { ac_try='test -z "$ac_c_werror_flag"
    7019                          || test ! -s conftest.err'
     6994         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    70206995  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    70216996  (eval $ac_try) 2>&5
     
    70907065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    70917066  (exit $ac_status); } &&
    7092          { ac_try='test -z "$ac_c_werror_flag"
    7093                          || test ! -s conftest.err'
     7067         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    70947068  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    70957069  (eval $ac_try) 2>&5
     
    71617135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71627136  (exit $ac_status); } &&
    7163          { ac_try='test -z "$ac_c_werror_flag"
    7164                          || test ! -s conftest.err'
     7137         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    71657138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    71667139  (eval $ac_try) 2>&5
     
    74307403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    74317404  (exit $ac_status); } &&
    7432          { ac_try='test -z "$ac_c_werror_flag"
    7433                          || test ! -s conftest.err'
     7405         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    74347406  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    74357407  (eval $ac_try) 2>&5
     
    79337905  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    79347906  (exit $ac_status); } &&
    7935          { ac_try='test -z "$ac_c_werror_flag"
    7936                          || test ! -s conftest.err'
     7907         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    79377908  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    79387909  (eval $ac_try) 2>&5
     
    80257996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    80267997  (exit $ac_status); } &&
    8027          { ac_try='test -z "$ac_c_werror_flag"
    8028                          || test ! -s conftest.err'
     7998         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    80297999  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    80308000  (eval $ac_try) 2>&5
     
    81378107  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    81388108  (exit $ac_status); } &&
    8139          { ac_try='test -z "$ac_c_werror_flag"
    8140                          || test ! -s conftest.err'
     8109         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    81418110  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    81428111  (eval $ac_try) 2>&5
     
    82548223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    82558224  (exit $ac_status); } &&
    8256          { ac_try='test -z "$ac_c_werror_flag"
    8257                          || test ! -s conftest.err'
     8225         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    82588226  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    82598227  (eval $ac_try) 2>&5
     
    86108578  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    86118579  (exit $ac_status); } &&
    8612          { ac_try='test -z "$ac_c_werror_flag"
    8613                          || test ! -s conftest.err'
     8580         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    86148581  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    86158582  (eval $ac_try) 2>&5
     
    86808647  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    86818648  (exit $ac_status); } &&
    8682          { ac_try='test -z "$ac_c_werror_flag"
    8683                          || test ! -s conftest.err'
     8649         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    86848650  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    86858651  (eval $ac_try) 2>&5
     
    90218987  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    90228988  (exit $ac_status); } &&
    9023          { ac_try='test -z "$ac_c_werror_flag"
    9024                          || test ! -s conftest.err'
     8989         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    90258990  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    90268991  (eval $ac_try) 2>&5
     
    91739138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    91749139  (exit $ac_status); } &&
    9175          { ac_try='test -z "$ac_c_werror_flag"
    9176                          || test ! -s conftest.err'
     9140         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    91779141  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    91789142  (eval $ac_try) 2>&5
     
    92169180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    92179181  (exit $ac_status); } &&
    9218          { ac_try='test -z "$ac_c_werror_flag"
    9219                          || test ! -s conftest.err'
     9182         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    92209183  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    92219184  (eval $ac_try) 2>&5
     
    92789241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    92799242  (exit $ac_status); } &&
    9280          { ac_try='test -z "$ac_c_werror_flag"
    9281                          || test ! -s conftest.err'
     9243         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    92829244  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    92839245  (eval $ac_try) 2>&5
     
    93219283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    93229284  (exit $ac_status); } &&
    9323          { ac_try='test -z "$ac_c_werror_flag"
    9324                          || test ! -s conftest.err'
     9285         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    93259286  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    93269287  (eval $ac_try) 2>&5
     
    93839344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    93849345  (exit $ac_status); } &&
    9385          { ac_try='test -z "$ac_c_werror_flag"
    9386                          || test ! -s conftest.err'
     9346         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    93879347  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    93889348  (eval $ac_try) 2>&5
     
    94269386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    94279387  (exit $ac_status); } &&
    9428          { ac_try='test -z "$ac_c_werror_flag"
    9429                          || test ! -s conftest.err'
     9388         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    94309389  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    94319390  (eval $ac_try) 2>&5
     
    95019460  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    95029461  (exit $ac_status); } &&
    9503          { ac_try='test -z "$ac_c_werror_flag"
    9504                          || test ! -s conftest.err'
     9462         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    95059463  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    95069464  (eval $ac_try) 2>&5
     
    95519509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    95529510  (exit $ac_status); } &&
    9553          { ac_try='test -z "$ac_c_werror_flag"
    9554                          || test ! -s conftest.err'
     9511         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    95559512  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    95569513  (eval $ac_try) 2>&5
     
    96289585  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    96299586  (exit $ac_status); } &&
    9630          { ac_try='test -z "$ac_c_werror_flag"
    9631                          || test ! -s conftest.err'
     9587         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    96329588  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    96339589  (eval $ac_try) 2>&5
     
    96919647  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    96929648  (exit $ac_status); } &&
    9693          { ac_try='test -z "$ac_c_werror_flag"
    9694                          || test ! -s conftest.err'
     9649         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    96959650  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    96969651  (eval $ac_try) 2>&5
     
    97939748  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    97949749  (exit $ac_status); } &&
    9795          { ac_try='test -z "$ac_c_werror_flag"
    9796                          || test ! -s conftest.err'
     9750         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    97979751  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    97989752  (eval $ac_try) 2>&5
     
    98579811  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    98589812  (exit $ac_status); } &&
    9859          { ac_try='test -z "$ac_c_werror_flag"
    9860                          || test ! -s conftest.err'
     9813         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    98619814  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    98629815  (eval $ac_try) 2>&5
     
    1016310116echo $ECHO_N "checking for rappture.h... $ECHO_C" >&6
    1016410117RAPPTURE_DIR=""
    10165 if test "x$rappture_source_dir" != "x" ; then
     10118if test "x$rappture_dir" != "x" ; then
    1016610119  #
    1016710120  # Verify that a rappture.h file exists in the directory specified
    1016810121  # by --with-rappture.
    1016910122  #
    10170   if test -r "$rappture_dir/include/core/rappture.h" ; then
     10123  if test -r "$rappture_dir/include/rappture.h" ; then
    1017110124    RAPPTURE_DIR="$rappture_dir"
    1017210125  fi
     
    1018010133   $exec_prefix
    1018110134  do
    10182     if test -r "$dir/include/core/rappture.h" ; then
     10135    if test -r "$dir/include/rappture.h" ; then
    1018310136      RAPPTURE_DIR="$dir"
    1018410137      break
     
    1019610149     `ls -dr /opt/rappture 2>/dev/null`
    1019710150    do
    10198       if test -r "$dir/include/core/rappture.h" ; then
     10151      if test -r "$dir/include/rappture.h" ; then
    1019910152        RAPPTURE_DIR="$dir"
    1020010153        break
     
    1025110204
    1025210205
    10253 PATCHLEVEL=`${TCLSH_PROG} cf/patchlevel.tcl`
     10206PATCHLEVEL=`${TCLSH_PROG} tclconfig/patchlevel.tcl`
    1025410207EXACT_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}-${PATCHLEVEL}
    1025510208NODOT_VERSION=${MAJOR_VERSION}${MINOR_VERSION}
     
    1065910612cat >&5 <<_CSEOF
    1066010613
    10661 This file was extended by Rappture $as_me 1.1, which was
     10614This file was extended by Rappture $as_me 1.0, which was
    1066210615generated by GNU Autoconf 2.59.  Invocation command line was
    1066310616
     
    1071410667cat >>$CONFIG_STATUS <<_ACEOF
    1071510668ac_cs_version="\\
    10716 Rappture config.status 1.1
     10669Rappture config.status 1.0
    1071710670configured by $0, generated by GNU Autoconf 2.59,
    1071810671  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     
    1114611099  esac
    1114711100
    11148   if test x"$ac_file" != x-; then
    11149     { echo "$as_me:$LINENO: creating $ac_file" >&5
    11150 echo "$as_me: creating $ac_file" >&6;}
    11151     rm -f "$ac_file"
    11152   fi
    1115311101  # Let's still pretend it is `configure' which instantiates (i.e., don't
    1115411102  # use $as_me), people would be surprised to read:
     
    1118911137      esac
    1119011138    done` || { (exit 1); exit 1; }
     11139
     11140  if test x"$ac_file" != x-; then
     11141    { echo "$as_me:$LINENO: creating $ac_file" >&5
     11142echo "$as_me: creating $ac_file" >&6;}
     11143    rm -f "$ac_file"
     11144  fi
    1119111145_ACEOF
    1119211146cat >>$CONFIG_STATUS <<_ACEOF
  • trunk/src/tcl/configure.in

    r527 r528  
    2020#-----------------------------------------------------------------------
    2121
    22 AC_INIT([Rappture], [1.1])
     22AC_INIT([Rappture], [1.0])
    2323
    2424#--------------------------------------------------------------------
     
    3838  blt_source_dir=$withval)
    3939
    40 AC_ARG_WITH(rappture, [  --with-rappture=DIR          Find include/core/rappture.h in DIR],
     40AC_ARG_WITH(rappture, [  --with-rappture=DIR          Find include/rappture.h in DIR],
    4141  rappture_dir=$withval)
    4242
     
    8484#-----------------------------------------------------------------------
    8585
    86 TEA_ADD_SOURCES([Rappture_Init.cc RpLibraryTclInterface.cc RpUnitsTclInterface.cc ])
     86#TEA_ADD_SOURCES([Rappture_Init.cc RpLibraryTclInterface.cc RpUnitsTclInterface.cc ])
     87TEA_ADD_SOURCES([Rappture_Init.cc RpUnitsTclInterface.cc])
    8788TEA_ADD_HEADERS([])
    8889TEA_ADD_INCLUDES([])
    89 TEA_ADD_LIBS(BLT24.lib libexpat.lib ../librappture.lib)
    9090TEA_ADD_CFLAGS([])
    9191TEA_ADD_STUB_SOURCES([])
    92 TEA_ADD_TCL_SOURCES([scripts/exec.tcl scripts/value.tcl init.tcl ../../tcl/scripts/library.tcl ../../tcl/scripts/result.tcl])
     92#TEA_ADD_TCL_SOURCES([scripts/exec.tcl scripts/value.tcl init.tcl ../../tcl/scripts/library.tcl ../../tcl/scripts/result.tcl])
     93TEA_ADD_TCL_SOURCES([])
    9394
    9495#--------------------------------------------------------------------
     
    110111    CLEANFILES="*.lib *.dll *.exp *.ilk *.pdb vc*.pch"
    111112    TEA_ADD_LIBS(/LIBPATH:C:/opt/lib /LIBPATH:C:/Tcl/lib scew_s.lib)
     113    TEA_ADD_LIBS(BLT24.lib libexpat.lib ../librappture.lib)
    112114    #TEA_ADD_SOURCES([win/winFile.c])
    113115    #TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"])
    114116else
     117    # CLEANFILES="*core *.o *.so *.a"
    115118    CLEANFILES=""
    116119    #TEA_ADD_SOURCES([unix/unixFile.c])
    117     TEA_ADD_LIBS([scew.lib])
     120    TEA_ADD_LIBS([-L@RAPPTURE_DIR@/lib])
     121    TEA_ADD_LIBS([-lexpat -lscew -lrappture])
    118122fi
    119123AC_SUBST(CLEANFILES)
     
    262266AC_MSG_CHECKING([for rappture.h])
    263267RAPPTURE_DIR=""
    264 if test "x$rappture_source_dir" != "x" ; then
     268if test "x$rappture_dir" != "x" ; then
    265269  #
    266270  # Verify that a rappture.h file exists in the directory specified
    267271  # by --with-rappture.
    268272  #
    269   if test -r "$rappture_dir/include/core/rappture.h" ; then
     273  if test -r "$rappture_dir/include/rappture.h" ; then
    270274    RAPPTURE_DIR="$rappture_dir"
    271275  fi
     
    279283   $exec_prefix
    280284  do
    281     if test -r "$dir/include/core/rappture.h" ; then
     285    if test -r "$dir/include/rappture.h" ; then
    282286      RAPPTURE_DIR="$dir"
    283287      break
     
    295299     `ls -dr /opt/rappture 2>/dev/null`
    296300    do
    297       if test -r "$dir/include/core/rappture.h" ; then
     301      if test -r "$dir/include/rappture.h" ; then
    298302        RAPPTURE_DIR="$dir"
    299303        break
     
    346350AC_SUBST(ALT_DIR)
    347351
    348 PATCHLEVEL=`${TCLSH_PROG} cf/patchlevel.tcl`
     352PATCHLEVEL=`${TCLSH_PROG} tclconfig/patchlevel.tcl`
    349353EXACT_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}-${PATCHLEVEL}
    350354NODOT_VERSION=${MAJOR_VERSION}${MINOR_VERSION}
  • trunk/src/tcl/src/Rappture_Init.cc

    r527 r528  
    3737{
    3838    if (Tcl_InitStubs(interp, "8.4", 0) == NULL) {
    39         return TCL_ERROR;
     39        return TCL_ERROR;
    4040    }
    4141
    4242    if (Tcl_PkgProvide(interp, "Rappture", PACKAGE_VERSION) != TCL_OK) {
    43         return TCL_ERROR;
     43        return TCL_ERROR;
    4444    }
    4545
     46    /*
    4647    if (Rappturelibrary_Init(interp) != TCL_OK) {
    4748        return TCL_ERROR;
    4849    }
     50    */
    4951
    5052    if (Rapptureunits_Init(interp) != TCL_OK) {
  • trunk/src/tcl/src/RpLibraryTclInterface.cc

    r527 r528  
    1616#include <sstream>
    1717#include <string>
    18 #include "core/RpLibrary.h"
     18#include "RpLibrary.h"
    1919#include "RpLibraryTclInterface.h"
    2020
  • trunk/src/tcl/src/RpUnitsTclInterface.cc

    r403 r528  
    1414 */
    1515#include <tcl.h>
    16 #include "core/RpUnits.h"
     16#include "RpUnits.h"
    1717#include "RpUnitsTclInterface.h"
    1818
Note: See TracChangeset for help on using the changeset viewer.