Changeset 1678 for trunk/configure


Ignore:
Timestamp:
Mar 30, 2010, 6:16:05 PM (10 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r1634 r1678  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.64 for Rappture 1.1.
     3# Generated by GNU Autoconf 2.65 for Rappture 1.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
     7#
    78# 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.
     9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     10# Inc.
     11#
    1012#
    1113# This configure script is free software; the Free Software Foundation
     
    528530
    529531
    530 exec 7<&0 </dev/null 6>&1
     532test -n "$DJDIR" || exec 7<&0 </dev/null
     533exec 6>&1
    531534
    532535# Name of the host.
     
    644647MEX
    645648MATLAB
     649VTKDIR
    646650TCLSH
    647651ENABLE_GUI
     
    743747enable_gui
    744748with_tclsh
     749with_vtk
    745750with_matlab
    746751with_octave
     
    13891394  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    13901395  --with-tclsh=DIR        location of tclsh [default=yes]
     1396  --with-vtk=DIR          location of vtk library [default=yes]
    13911397  --with-matlab=DIR       location of matlab and mex compiler [default=yes]
    13921398  --with-octave=DIR       location of octave compiler MKOCTFILE [default=yes]
     
    14011407              nonstandard directory <lib dir>
    14021408  LIBS        libraries to pass to the linker, e.g. -l<library>
    1403   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1409  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14041410              you have headers in a nonstandard directory <include dir>
    14051411  CXX         C++ compiler command
     
    14771483  cat <<\_ACEOF
    14781484Rappture configure 1.1
    1479 generated by GNU Autoconf 2.64
     1485generated by GNU Autoconf 2.65
    14801486
    14811487Copyright (C) 2009 Free Software Foundation, Inc.
     
    15241530fi
    15251531  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1526   return $ac_retval
     1532  as_fn_set_status $ac_retval
    15271533
    15281534} # ac_fn_c_try_compile
     
    15621568fi
    15631569  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1564   return $ac_retval
     1570  as_fn_set_status $ac_retval
    15651571
    15661572} # ac_fn_cxx_try_compile
     
    16001606fi
    16011607  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1602   return $ac_retval
     1608  as_fn_set_status $ac_retval
    16031609
    16041610} # ac_fn_f77_try_compile
     
    16371643fi
    16381644  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1639   return $ac_retval
     1645  as_fn_set_status $ac_retval
    16401646
    16411647} # ac_fn_c_try_cpp
     
    16791685  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    16801686  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1681   return $ac_retval
     1687  as_fn_set_status $ac_retval
    16821688
    16831689} # ac_fn_c_try_run
     
    17251731  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    17261732  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1727   return $ac_retval
     1733  as_fn_set_status $ac_retval
    17281734
    17291735} # ac_fn_c_try_link
     
    18381844  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    18391845  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1840   return $ac_retval
     1846  as_fn_set_status $ac_retval
    18411847
    18421848} # ac_fn_cxx_try_link
     
    19421948fi
    19431949  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1944   return $ac_retval
     1950  as_fn_set_status $ac_retval
    19451951
    19461952} # ac_fn_cxx_try_cpp
     
    21082114  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    21092115  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    2110   return $ac_retval
     2116  as_fn_set_status $ac_retval
    21112117
    21122118} # ac_fn_cxx_try_run
     
    22862292  fi
    22872293  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    2288   return $ac_retval
     2294  as_fn_set_status $ac_retval
    22892295
    22902296} # ac_fn_cxx_compute_int
     
    22942300
    22952301It was created by Rappture $as_me 1.1, which was
    2296 generated by GNU Autoconf 2.64.  Invocation command line was
     2302generated by GNU Autoconf 2.65.  Invocation command line was
    22972303
    22982304  $ $0 $@
     
    25472553do
    25482554  test "x$ac_site_file" = xNONE && continue
    2549   if test -r "$ac_site_file"; then
     2555  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    25502556    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    25512557$as_echo "$as_me: loading site script $ac_site_file" >&6;}
     
    25562562
    25572563if test -r "$cache_file"; then
    2558   # Some versions of bash will fail to source /dev/null (special
    2559   # files actually), so we avoid doing that.
    2560   if test -f "$cache_file"; then
     2564  # Some versions of bash will fail to source /dev/null (special files
     2565  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2566  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    25612567    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    25622568$as_echo "$as_me: loading cache $cache_file" >&6;}
     
    31333139         10q' conftest.err >conftest.er1
    31343140    cat conftest.er1 >&5
    3135     rm -f conftest.er1 conftest.err
    31363141  fi
     3142  rm -f conftest.er1 conftest.err
    31373143  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    31383144  test $ac_status = 0; }
     
    31413147cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31423148/* end confdefs.h.  */
    3143 #include <stdio.h>
     3149
    31443150int
    31453151main ()
    31463152{
    3147 FILE *f = fopen ("conftest.out", "w");
    3148  return ferror (f) || fclose (f) != 0;
    31493153
    31503154  ;
     
    31533157_ACEOF
    31543158ac_clean_files_save=$ac_clean_files
    3155 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
     3159ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    31563160# Try to create an executable without -o first, disregard a.out.
    31573161# It will help us diagnose broken compilers, and finding out an intuition
    31583162# of exeext.
    3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    3160 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3164$as_echo_n "checking whether the C compiler works... " >&6; }
    31613165ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    31623166
     
    32203224  ac_file=''
    32213225fi
    3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    3223 $as_echo "$ac_file" >&6; }
    32243226if test -z "$ac_file"; then :
    3225   $as_echo "$as_me: failed program was:" >&5
     3227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3228$as_echo "no" >&6; }
     3229$as_echo "$as_me: failed program was:" >&5
    32263230sed 's/^/| /' conftest.$ac_ext >&5
    32273231
     
    32313235as_fn_error "C compiler cannot create executables
    32323236See \`config.log' for more details." "$LINENO" 5; }; }
    3233 fi
     3237else
     3238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3239$as_echo "yes" >&6; }
     3240fi
     3241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3242$as_echo_n "checking for C compiler default output file name... " >&6; }
     3243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     3244$as_echo "$ac_file" >&6; }
    32343245ac_exeext=$ac_cv_exeext
    32353246
    3236 # Check that the compiler produces executables we can run.  If not, either
    3237 # the compiler is broken, or we cross compile.
    3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    3239 $as_echo_n "checking whether the C compiler works... " >&6; }
    3240 # If not cross compiling, check that we can run a simple program.
    3241 if test "$cross_compiling" != yes; then
    3242   if { ac_try='./$ac_file'
    3243   { { case "(($ac_try" in
    3244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3245   *) ac_try_echo=$ac_try;;
    3246 esac
    3247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3248 $as_echo "$ac_try_echo"; } >&5
    3249   (eval "$ac_try") 2>&5
    3250   ac_status=$?
    3251   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3252   test $ac_status = 0; }; }; then
    3253     cross_compiling=no
    3254   else
    3255     if test "$cross_compiling" = maybe; then
    3256         cross_compiling=yes
    3257     else
    3258         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3260 as_fn_error "cannot run C compiled programs.
    3261 If you meant to cross compile, use \`--host'.
    3262 See \`config.log' for more details." "$LINENO" 5; }
    3263     fi
    3264   fi
    3265 fi
    3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    3267 $as_echo "yes" >&6; }
    3268 
    3269 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
     3247rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    32703248ac_clean_files=$ac_clean_files_save
    3271 # Check that the compiler produces executables we can run.  If not, either
    3272 # the compiler is broken, or we cross compile.
    3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    3274 $as_echo_n "checking whether we are cross compiling... " >&6; }
    3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    3276 $as_echo "$cross_compiling" >&6; }
    3277 
    32783249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    32793250$as_echo_n "checking for suffix of executables... " >&6; }
     
    33083279See \`config.log' for more details." "$LINENO" 5; }
    33093280fi
    3310 rm -f conftest$ac_cv_exeext
     3281rm -f conftest conftest$ac_cv_exeext
    33113282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    33123283$as_echo "$ac_cv_exeext" >&6; }
     
    33153286EXEEXT=$ac_cv_exeext
    33163287ac_exeext=$EXEEXT
     3288cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3289/* end confdefs.h.  */
     3290#include <stdio.h>
     3291int
     3292main ()
     3293{
     3294FILE *f = fopen ("conftest.out", "w");
     3295 return ferror (f) || fclose (f) != 0;
     3296
     3297  ;
     3298  return 0;
     3299}
     3300_ACEOF
     3301ac_clean_files="$ac_clean_files conftest.out"
     3302# Check that the compiler produces executables we can run.  If not, either
     3303# the compiler is broken, or we cross compile.
     3304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3305$as_echo_n "checking whether we are cross compiling... " >&6; }
     3306if test "$cross_compiling" != yes; then
     3307  { { ac_try="$ac_link"
     3308case "(($ac_try" in
     3309  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3310  *) ac_try_echo=$ac_try;;
     3311esac
     3312eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3313$as_echo "$ac_try_echo"; } >&5
     3314  (eval "$ac_link") 2>&5
     3315  ac_status=$?
     3316  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3317  test $ac_status = 0; }
     3318  if { ac_try='./conftest$ac_cv_exeext'
     3319  { { case "(($ac_try" in
     3320  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3321  *) ac_try_echo=$ac_try;;
     3322esac
     3323eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3324$as_echo "$ac_try_echo"; } >&5
     3325  (eval "$ac_try") 2>&5
     3326  ac_status=$?
     3327  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3328  test $ac_status = 0; }; }; then
     3329    cross_compiling=no
     3330  else
     3331    if test "$cross_compiling" = maybe; then
     3332        cross_compiling=yes
     3333    else
     3334        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3335$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3336as_fn_error "cannot run C compiled programs.
     3337If you meant to cross compile, use \`--host'.
     3338See \`config.log' for more details." "$LINENO" 5; }
     3339    fi
     3340  fi
     3341fi
     3342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3343$as_echo "$cross_compiling" >&6; }
     3344
     3345rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3346ac_clean_files=$ac_clean_files_save
    33173347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    33183348$as_echo_n "checking for suffix of object files... " >&6; }
     
    37083738         10q' conftest.err >conftest.er1
    37093739    cat conftest.er1 >&5
    3710     rm -f conftest.er1 conftest.err
    37113740  fi
     3741  rm -f conftest.er1 conftest.err
    37123742  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    37133743  test $ac_status = 0; }
     
    39683998fi
    39693999
     4000  test -d ./--version && rmdir ./--version
    39704001  if test "${ac_cv_path_mkdir+set}" = set; then
    39714002    MKDIR_P="$ac_cv_path_mkdir -p"
     
    39754006    # break other packages using the cache if that directory is
    39764007    # removed, or if the value is a relative name.
    3977     test -d ./--version && rmdir ./--version
    39784008    MKDIR_P="$ac_install_sh -d"
    39794009  fi
     
    41074137         10q' conftest.err >conftest.er1
    41084138    cat conftest.er1 >&5
    4109     rm -f conftest.er1 conftest.err
    41104139  fi
     4140  rm -f conftest.er1 conftest.err
    41114141  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    41124142  test $ac_status = 0; }
     
    72027232
    72037233
     7234# Check whether --with-vtk was given.
     7235if test "${with_vtk+set}" = set; then :
     7236  withval=$with_vtk; with_vtk=$withval
     7237else
     7238  with_vtk=yes
     7239fi
     7240
     7241
     7242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5
     7243$as_echo_n "checking for vtk... " >&6; }
     7244VTKDIR=""
     7245
     7246if test "$with_vtk" != "no" ; then
     7247  if test "$with_vtk" = "yes" ; then
     7248    for path in \
     7249     $libdir \
     7250     $prefix/lib \
     7251     $exec_prefix/lib \
     7252     /usr/lib
     7253    do
     7254      for vtk in $path/vtk-* ; do
     7255        if test -d "${vtk}" ; then
     7256          VTKDIR=${vtk}
     7257        fi
     7258      done
     7259      if test "x${VTKDIR}" != "x" ; then
     7260        break
     7261      fi
     7262    done
     7263  fi
     7264fi
     7265
     7266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5
     7267$as_echo "$VTKDIR" >&6; }
     7268
     7269
     7270
    72047271# Check whether --with-matlab was given.
    72057272if test "${with_matlab+set}" = set; then :
     
    72087275  with_matlab=yes
    72097276fi
     7277
    72107278
    72117279
     
    93679435ac_log="
    93689436This file was extended by Rappture $as_me 1.1, which was
    9369 generated by GNU Autoconf 2.64.  Invocation command line was
     9437generated by GNU Autoconf 2.65.  Invocation command line was
    93709438
    93719439  CONFIG_FILES    = $CONFIG_FILES
     
    94069474  -h, --help       print this help, then exit
    94079475  -V, --version    print version number and configuration settings, then exit
     9476      --config     print configuration, then exit
    94089477  -q, --quiet, --silent
    94099478                   do not print progress messages
     
    94259494_ACEOF
    94269495cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9496ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    94279497ac_cs_version="\\
    94289498Rappture config.status 1.1
    9429 configured by $0, generated by GNU Autoconf 2.64,
    9430   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     9499configured by $0, generated by GNU Autoconf 2.65,
     9500  with options \\"\$ac_cs_config\\"
    94319501
    94329502Copyright (C) 2009 Free Software Foundation, Inc.
     
    94669536  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    94679537    $as_echo "$ac_cs_version"; exit ;;
     9538  --config | --confi | --conf | --con | --co | --c )
     9539    $as_echo "$ac_cs_config"; exit ;;
    94689540  --debug | --debu | --deb | --de | --d | -d )
    94699541    debug=: ;;
     
    97589830:nl
    97599831h
    9760 s/\(.\{148\}\).*/\1/
     9832s/\(.\{148\}\)..*/\1/
    97619833t more1
    97629834s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    97729844:delim
    97739845h
    9774 s/\(.\{148\}\).*/\1/
     9846s/\(.\{148\}\)..*/\1/
    97759847t more2
    97769848s/["\\]/\\&/g; s/^/"/; s/$/"/
Note: See TracChangeset for help on using the changeset viewer.