Changeset 509


Ignore:
Timestamp:
Aug 16, 2006 1:47:50 PM (18 years ago)
Author:
nkissebe
Message:

--with-rappture option removed (not needed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/configure.in

    r507 r509  
    4343AC_ARG_WITH(blt, [  --with-blt=DIR          Find bltInt.h in DIR],
    4444  blt_source_dir=$withval)
    45 
    46 AC_ARG_WITH(rappture, [  --with-rappture=DIR          Find include/core/rappture.h in DIR],
    47   rappture_dir=$withval)
    4845
    4946#--------------------------------------------------------------------
     
    294291
    295292AC_SUBST(BLT_SRC_DIR)
    296 #--------------------------------------------------------------------
    297 # Look for rappture.h on the normal include path.  If not found, look
    298 # for it in the --with-rappture directory.
    299 #--------------------------------------------------------------------
    300 AC_MSG_CHECKING([for include/core/rappture.h])
    301 RAPPTURE_DIR=""
    302 if test "x$rappture_dir" != "x" ; then
    303   #
    304   # Verify that a rappture.h file exists in the directory specified
    305   # by --with-rappture.
    306   #
    307   if test -r "$rappture_dir/include/core/rappture.h" ; then
    308     RAPPTURE_DIR="$rappture_dir"
    309   fi
    310 else
    311   #
    312   # Otherwise, search for the rappture.h include file...
    313   # 1. Search previously named locations.
    314   #
    315   for dir in \
    316    $prefix \
    317    $exec_prefix
    318   do
    319     if test -r "$dir/include/core/rappture.h" ; then
    320       RAPPTURE_DIR="$dir"
    321       break
    322     fi
    323   done
    324   #
    325   #  2. Search source directories.
    326   #
    327   if test "x$RAPPTURE_DIR" = "x" ; then
    328     for dir in \
    329      `ls -dr ../rappture 2>/dev/null` \
    330      `ls -dr ../../rappture 2>/dev/null` \
    331      `ls -dr ../../../rappture 2>/dev/null` \
    332      `ls -dr C\:/opt/rappture 2>/dev/null` \
    333      `ls -dr /opt/rappture 2>/dev/null`
    334     do
    335       if test -r "$dir/include/core/rappture.h" ; then
    336         RAPPTURE_DIR="$dir"
    337         break
    338       fi
    339     done
    340   fi
    341 fi
    342 AC_MSG_RESULT([${RAPPTURE_DIR}])
    343 
    344 if test "x$RAPPTURE_DIR" = "x" ; then
    345   echo "can't find RAPPTURE include file \"include/core/rappture.h\""
    346   echo "use --with-rappture=DIR to specify the location of rappture"
    347   exit 1
    348 fi
    349 
    350 AC_SUBST(RAPPTURE_DIR)
    351293
    352294PATCHLEVEL=`${TCLSH_PROG} tclconfig/patchlevel.tcl`
Note: See TracChangeset for help on using the changeset viewer.