ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/configure
(Generate patch)

Comparing trunk/OOPSE-2.0/configure (file contents):
Revision 2190 by gezelter, Wed Apr 13 22:30:22 2005 UTC vs.
Revision 2315 by gezelter, Tue Sep 20 22:03:35 2005 UTC

# Line 312 | Line 312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKA
312   # include <unistd.h>
313   #endif"
314  
315 < 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 PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
315 > 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 PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
316   ac_subst_files=''
317  
318   # Initialize some variables set by options.
# Line 879 | Line 879 | Optional Packages:
879   Optional Packages:
880    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
881    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
882 +  --with-zlib=DIR root directory path of zlib installation defaults to
883 +                    /usr/local or /usr if not found in /usr/local
884 +  --without-zlib to disable zlib usage completely
885 +  --with-perl-shebang     override what perl thinks is the way for the kernel
886 +                          to start it (seldom needed)
887    --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
888    --with-cgal-makefile=FILE  CGAL makefile that should be used
889  
# Line 1879 | Line 1884 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1884  
1885  
1886  
1887 +
1888 + #
1889 + #
1890 + #
1891  
1892  
1893  
# Line 3546 | Line 3555 | F90FLAGS="$F90FLAGS $ac_verb"
3555   ac_save_F90FLAGS=$F90FLAGS
3556   F90FLAGS="$F90FLAGS $ac_verb"
3557  
3558 < (eval echo $as_me:3549: \"$ac_link\") >&5
3558 > (eval echo $as_me:3558: \"$ac_link\") >&5
3559   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3560   echo "$ac_f90_v_output" >&5
3561   F90FLAGS=$ac_save_F90FLAGS
# Line 3623 | Line 3632 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3632   ac_save_F90FLAGS=$F90FLAGS
3633   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3634  
3635 < (eval echo $as_me:3626: \"$ac_link\") >&5
3635 > (eval echo $as_me:3635: \"$ac_link\") >&5
3636   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3637   echo "$ac_f90_v_output" >&5
3638   F90FLAGS=$ac_save_F90FLAGS
# Line 4949 | Line 4958 | done
4958   done
4959  
4960  
4961 + #
4962 + # Handle user hints
4963 + #
4964 + echo "$as_me:$LINENO: checking if zlib is wanted" >&5
4965 + echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
4966  
4967 + # Check whether --with-zlib or --without-zlib was given.
4968 + if test "${with_zlib+set}" = set; then
4969 +  withval="$with_zlib"
4970 +  if test "$withval" != no ; then
4971 +  echo "$as_me:$LINENO: result: yes" >&5
4972 + echo "${ECHO_T}yes" >&6
4973 +  if test -d "$withval"
4974 +  then
4975 +    ZLIB_HOME="$withval"
4976 +  else
4977 +    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
4978 + echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
4979 +  fi
4980 + else
4981 +  echo "$as_me:$LINENO: result: no" >&5
4982 + echo "${ECHO_T}no" >&6
4983 + fi
4984 + fi;
4985  
4986 + ZLIB_HOME=/usr/local
4987 + if test ! -f "${ZLIB_HOME}/include/zlib.h"
4988 + then
4989 +        ZLIB_HOME=/usr
4990 + fi
4991  
4992 + #
4993 + # Locate zlib, if wanted
4994 + #
4995 + if test -n "${ZLIB_HOME}"
4996 + then
4997 +        ZLIB_OLD_LDFLAGS=$LDFLAGS
4998 +        ZLIB_OLD_CPPFLAGS=$LDFLAGS
4999 +        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
5000 +        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
5001  
5002  
5003 +        ac_ext=c
5004 + ac_cpp='$CPP $CPPFLAGS'
5005 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5006 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5007 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5008  
5009 +        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5010 + echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5011 + if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5012 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5013 + else
5014 +  ac_check_lib_save_LIBS=$LIBS
5015 + LIBS="-lz  $LIBS"
5016 + cat >conftest.$ac_ext <<_ACEOF
5017 + /* confdefs.h.  */
5018 + _ACEOF
5019 + cat confdefs.h >>conftest.$ac_ext
5020 + cat >>conftest.$ac_ext <<_ACEOF
5021 + /* end confdefs.h.  */
5022  
5023 + /* Override any gcc2 internal prototype to avoid an error.  */
5024 + #ifdef __cplusplus
5025 + extern "C"
5026 + #endif
5027 + /* We use char because int might match the return type of a gcc2
5028 +   builtin and then its argument prototype would still apply.  */
5029 + char inflateEnd ();
5030 + int
5031 + main ()
5032 + {
5033 + inflateEnd ();
5034 +  ;
5035 +  return 0;
5036 + }
5037 + _ACEOF
5038 + rm -f conftest.$ac_objext conftest$ac_exeext
5039 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5040 +  (eval $ac_link) 2>conftest.er1
5041 +  ac_status=$?
5042 +  grep -v '^ *+' conftest.er1 >conftest.err
5043 +  rm -f conftest.er1
5044 +  cat conftest.err >&5
5045 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 +  (exit $ac_status); } &&
5047 +         { ac_try='test -z "$ac_c_werror_flag"
5048 +                         || test ! -s conftest.err'
5049 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050 +  (eval $ac_try) 2>&5
5051 +  ac_status=$?
5052 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 +  (exit $ac_status); }; } &&
5054 +         { ac_try='test -s conftest$ac_exeext'
5055 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5056 +  (eval $ac_try) 2>&5
5057 +  ac_status=$?
5058 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 +  (exit $ac_status); }; }; then
5060 +  ac_cv_lib_z_inflateEnd=yes
5061 + else
5062 +  echo "$as_me: failed program was:" >&5
5063 + sed 's/^/| /' conftest.$ac_ext >&5
5064  
5065 + ac_cv_lib_z_inflateEnd=no
5066 + fi
5067 + rm -f conftest.err conftest.$ac_objext \
5068 +      conftest$ac_exeext conftest.$ac_ext
5069 + LIBS=$ac_check_lib_save_LIBS
5070 + fi
5071 + echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5072 + echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5073 + if test $ac_cv_lib_z_inflateEnd = yes; then
5074 +  zlib_cv_libz=yes
5075 + else
5076 +  zlib_cv_libz=no
5077 + fi
5078  
5079 +        if test "${ac_cv_header_zlib_h+set}" = set; then
5080 +  echo "$as_me:$LINENO: checking for zlib.h" >&5
5081 + echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5082 + if test "${ac_cv_header_zlib_h+set}" = set; then
5083 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5084 + fi
5085 + echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5086 + echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5087 + else
5088 +  # Is the header compilable?
5089 + echo "$as_me:$LINENO: checking zlib.h usability" >&5
5090 + echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
5091 + cat >conftest.$ac_ext <<_ACEOF
5092 + /* confdefs.h.  */
5093 + _ACEOF
5094 + cat confdefs.h >>conftest.$ac_ext
5095 + cat >>conftest.$ac_ext <<_ACEOF
5096 + /* end confdefs.h.  */
5097 + $ac_includes_default
5098 + #include <zlib.h>
5099 + _ACEOF
5100 + rm -f conftest.$ac_objext
5101 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5102 +  (eval $ac_compile) 2>conftest.er1
5103 +  ac_status=$?
5104 +  grep -v '^ *+' conftest.er1 >conftest.err
5105 +  rm -f conftest.er1
5106 +  cat conftest.err >&5
5107 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 +  (exit $ac_status); } &&
5109 +         { ac_try='test -z "$ac_c_werror_flag"
5110 +                         || test ! -s conftest.err'
5111 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 +  (eval $ac_try) 2>&5
5113 +  ac_status=$?
5114 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 +  (exit $ac_status); }; } &&
5116 +         { ac_try='test -s conftest.$ac_objext'
5117 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118 +  (eval $ac_try) 2>&5
5119 +  ac_status=$?
5120 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 +  (exit $ac_status); }; }; then
5122 +  ac_header_compiler=yes
5123 + else
5124 +  echo "$as_me: failed program was:" >&5
5125 + sed 's/^/| /' conftest.$ac_ext >&5
5126 +
5127 + ac_header_compiler=no
5128 + fi
5129 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5130 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5131 + echo "${ECHO_T}$ac_header_compiler" >&6
5132 +
5133 + # Is the header present?
5134 + echo "$as_me:$LINENO: checking zlib.h presence" >&5
5135 + echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
5136 + cat >conftest.$ac_ext <<_ACEOF
5137 + /* confdefs.h.  */
5138 + _ACEOF
5139 + cat confdefs.h >>conftest.$ac_ext
5140 + cat >>conftest.$ac_ext <<_ACEOF
5141 + /* end confdefs.h.  */
5142 + #include <zlib.h>
5143 + _ACEOF
5144 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5145 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5146 +  ac_status=$?
5147 +  grep -v '^ *+' conftest.er1 >conftest.err
5148 +  rm -f conftest.er1
5149 +  cat conftest.err >&5
5150 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 +  (exit $ac_status); } >/dev/null; then
5152 +  if test -s conftest.err; then
5153 +    ac_cpp_err=$ac_c_preproc_warn_flag
5154 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5155 +  else
5156 +    ac_cpp_err=
5157 +  fi
5158 + else
5159 +  ac_cpp_err=yes
5160 + fi
5161 + if test -z "$ac_cpp_err"; then
5162 +  ac_header_preproc=yes
5163 + else
5164 +  echo "$as_me: failed program was:" >&5
5165 + sed 's/^/| /' conftest.$ac_ext >&5
5166 +
5167 +  ac_header_preproc=no
5168 + fi
5169 + rm -f conftest.err conftest.$ac_ext
5170 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5171 + echo "${ECHO_T}$ac_header_preproc" >&6
5172 +
5173 + # So?  What about this header?
5174 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5175 +  yes:no: )
5176 +    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
5177 + echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5178 +    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
5179 + echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
5180 +    ac_header_preproc=yes
5181 +    ;;
5182 +  no:yes:* )
5183 +    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
5184 + echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
5185 +    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
5186 + echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
5187 +    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
5188 + echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
5189 +    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
5190 + echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5191 +    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
5192 + echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
5193 +    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
5194 + echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
5195 +    (
5196 +      cat <<\_ASBOX
5197 + ## ------------------------------ ##
5198 + ## Report this to gezelter@nd.edu ##
5199 + ## ------------------------------ ##
5200 + _ASBOX
5201 +    ) |
5202 +      sed "s/^/$as_me: WARNING:     /" >&2
5203 +    ;;
5204 + esac
5205 + echo "$as_me:$LINENO: checking for zlib.h" >&5
5206 + echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5207 + if test "${ac_cv_header_zlib_h+set}" = set; then
5208 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5209 + else
5210 +  ac_cv_header_zlib_h=$ac_header_preproc
5211 + fi
5212 + echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5213 + echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5214 +
5215 + fi
5216 + if test $ac_cv_header_zlib_h = yes; then
5217 +  zlib_cv_zlib_h=yes
5218 + else
5219 +  zlib_cv_zlib_h=no
5220 + fi
5221 +
5222 +
5223 +        ac_ext=c
5224 + ac_cpp='$CPP $CPPFLAGS'
5225 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5226 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5227 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5228 +
5229 +        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
5230 +        then
5231 +                #
5232 +                # If both library and header were found, use them
5233 +                #
5234 +
5235 + echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5236 + echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5237 + if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5238 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5239 + else
5240 +  ac_check_lib_save_LIBS=$LIBS
5241 + LIBS="-lz  $LIBS"
5242 + cat >conftest.$ac_ext <<_ACEOF
5243 + /* confdefs.h.  */
5244 + _ACEOF
5245 + cat confdefs.h >>conftest.$ac_ext
5246 + cat >>conftest.$ac_ext <<_ACEOF
5247 + /* end confdefs.h.  */
5248 +
5249 + /* Override any gcc2 internal prototype to avoid an error.  */
5250 + #ifdef __cplusplus
5251 + extern "C"
5252 + #endif
5253 + /* We use char because int might match the return type of a gcc2
5254 +   builtin and then its argument prototype would still apply.  */
5255 + char inflateEnd ();
5256 + int
5257 + main ()
5258 + {
5259 + inflateEnd ();
5260 +  ;
5261 +  return 0;
5262 + }
5263 + _ACEOF
5264 + rm -f conftest.$ac_objext conftest$ac_exeext
5265 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5266 +  (eval $ac_link) 2>conftest.er1
5267 +  ac_status=$?
5268 +  grep -v '^ *+' conftest.er1 >conftest.err
5269 +  rm -f conftest.er1
5270 +  cat conftest.err >&5
5271 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 +  (exit $ac_status); } &&
5273 +         { ac_try='test -z "$ac_c_werror_flag"
5274 +                         || test ! -s conftest.err'
5275 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5276 +  (eval $ac_try) 2>&5
5277 +  ac_status=$?
5278 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 +  (exit $ac_status); }; } &&
5280 +         { ac_try='test -s conftest$ac_exeext'
5281 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282 +  (eval $ac_try) 2>&5
5283 +  ac_status=$?
5284 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 +  (exit $ac_status); }; }; then
5286 +  ac_cv_lib_z_inflateEnd=yes
5287 + else
5288 +  echo "$as_me: failed program was:" >&5
5289 + sed 's/^/| /' conftest.$ac_ext >&5
5290 +
5291 + ac_cv_lib_z_inflateEnd=no
5292 + fi
5293 + rm -f conftest.err conftest.$ac_objext \
5294 +      conftest$ac_exeext conftest.$ac_ext
5295 + LIBS=$ac_check_lib_save_LIBS
5296 + fi
5297 + echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5298 + echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5299 + if test $ac_cv_lib_z_inflateEnd = yes; then
5300 +  cat >>confdefs.h <<_ACEOF
5301 + #define HAVE_LIBZ 1
5302 + _ACEOF
5303 +
5304 +  LIBS="-lz $LIBS"
5305 +
5306 + fi
5307 +
5308 +                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5309 + echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5310 +                echo "$as_me:$LINENO: result: ok" >&5
5311 + echo "${ECHO_T}ok" >&6
5312 +        else
5313 +                #
5314 +                # If either header or library was not found, revert and bomb
5315 +                #
5316 +                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5317 + echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5318 +                LDFLAGS="$ZLIB_OLD_LDFLAGS"
5319 +                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
5320 +                echo "$as_me:$LINENO: result: failed" >&5
5321 + echo "${ECHO_T}failed" >&6
5322 +                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
5323 + echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
5324 +   { (exit 1); exit 1; }; }
5325 +        fi
5326 + fi
5327 +
5328 +
5329 +
5330 +
5331 +
5332 +
5333 +
5334 +
5335 +
5336 +
5337 +
5338   for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h
5339   do
5340   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
# Line 7158 | Line 7535 | _ACEOF
7535   cat >>confdefs.h <<\_ACEOF
7536   #define YYTEXT_POINTER 1
7537   _ACEOF
7538 +
7539 + fi
7540 +
7541 + fi
7542 +
7543 +   # Extract the first word of "perl", so it can be a program name with args.
7544 + set dummy perl; ac_word=$2
7545 + echo "$as_me:$LINENO: checking for $ac_word" >&5
7546 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7547 + if test "${ac_cv_path_PERLINTERP+set}" = set; then
7548 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7549 + else
7550 +  case $PERLINTERP in
7551 +  [\\/]* | ?:[\\/]*)
7552 +  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
7553 +  ;;
7554 +  *)
7555 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 + for as_dir in $PATH
7557 + do
7558 +  IFS=$as_save_IFS
7559 +  test -z "$as_dir" && as_dir=.
7560 +  for ac_exec_ext in '' $ac_executable_extensions; do
7561 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7562 +    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
7563 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 +    break 2
7565 +  fi
7566 + done
7567 + done
7568  
7569 +  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
7570 +  ;;
7571 + esac
7572   fi
7573 + PERLINTERP=$ac_cv_path_PERLINTERP
7574  
7575 + if test -n "$PERLINTERP"; then
7576 +  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
7577 + echo "${ECHO_T}$PERLINTERP" >&6
7578 + else
7579 +  echo "$as_me:$LINENO: result: no" >&5
7580 + echo "${ECHO_T}no" >&6
7581   fi
7582 +
7583 +   ac_cv_path_perlinterp="$PERLINTERP"
7584 +   _sHpB='#!'
7585 +
7586 +
7587 + # Check whether --with-perl-shebang or --without-perl-shebang was given.
7588 + if test "${with_perl_shebang+set}" = set; then
7589 +  withval="$with_perl_shebang"
7590 +  opt_perl_shebang="$withval"
7591 + else
7592 +                opt_perl_shebang="not_set"
7593 + fi;
7594 +   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
7595 + echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
7596 + if test "${ax_cv_opt_perl_shebang+set}" = set; then
7597 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7598 + else
7599 +   case "$opt_perl_shebang" in
7600 +                      not_set  ) ax_cv_opt_perl_shebang=''
7601 +                               ;;
7602 +                         *     )
7603 +        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
7604 +                    esac
7605 +
7606 + fi
7607 + echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
7608 + echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
7609 +   if test "A$ax_cv_opt_perl_shebang" != "A"
7610 +     then
7611 +       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
7612 +       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
7613 +              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
7614 + echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
7615 +
7616 + # Automatic detection of sharpbang formula starts here
7617 +     else
7618 +   _somian_shbangperl=`$PERLINTERP -V:startperl`
7619 +   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
7620 +   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
7621 + echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
7622 + if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
7623 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7624 + else
7625 +  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
7626 +        if test "x$_somian_kspb_perl" == x
7627 +          then _somian_ksbp_warn_empty='durnit'
7628 +          else
7629 +          case "A$_somian_kspb_perl" in
7630 +                 A#!*perl* )
7631 +           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
7632 +                        ;;
7633 +                     A*    )  _somian_ksbp_warn_defau='trouble'
7634 +                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
7635 +          esac
7636 +        fi
7637 +
7638 + fi
7639 + echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
7640 + echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
7641 + # The above prints Checking ... result message to user.
7642 +   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
7643 +
7644 +    if test A${_somian_ksbp_warn_empty+set} == Aset
7645 +      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
7646 + echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
7647 +    fi
7648 + # Inform user after printing result value
7649 +    if test A${_somian_ksbp_warn_defau+set} == Aset
7650 +      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
7651 + echo "$as_me: Maybe Not good -" >&6;}
7652 +           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
7653 + echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
7654 +      else { echo "$as_me:$LINENO: OK Good result - " >&5
7655 + echo "$as_me: OK Good result - " >&6;}
7656 +           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
7657 + echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
7658 +    fi
7659 +  fi
7660 +
7661   # Extract the first word of "ar", so it can be a program name with args.
7662   set dummy ar; ac_word=$2
7663   echo "$as_me:$LINENO: checking for $ac_word" >&5
# Line 7383 | Line 7879 | echo '#include <mpi.h>' > conftest.cc
7879   echo "$as_me:$LINENO: checking for mpi.h" >&5
7880   echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
7881   have_mpi_h=0
7882 + rm -f conftest*
7883   echo '#include <mpi.h>' > conftest.cc
7884 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
7884 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
7885          echo "$as_me:$LINENO: result: yes" >&5
7886   echo "${ECHO_T}yes" >&6
7887          have_mpi_h=1
7888   else
7889 +        if test -s conftest.out ; then
7890 +                cat conftest.out >> config.log
7891 +        fi
7892          echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7893   echo "${ECHO_T}no! Check MPI include paths" >&6
7894          USE_MPI="no"
# Line 7841 | Line 8341 | if test "x$cgal_makefile" != xno; then
8341      cgal_makefile="$CGAL_MAKEFILE"
8342    fi
8343  
8344 <  echo "cgal_makefile      $cgal_makefile"
8344 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
8345 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
8346  
8347    if test -f "$cgal_makefile"; then
8348  
# Line 7903 | Line 8404 | EOF
8404        GMP_RLIBDIR=""
8405      fi
8406  
8407 <    echo "CGAL_OS_COMPILER   $CGAL_OS_COMPILER"
8408 <    echo "CGAL_INCLDIR       $CGAL_INCLDIR"
8409 <    echo "CGAL_INCLCONFDIR   $CGAL_INCLCONFDIR"
8410 <    echo "CGAL_LIBDIR        $CGAL_LIBDIR"
8411 <    echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
8412 <    echo "LEDA_INCLDIR       $LEDA_INCLDIR"
8413 <    echo "LEDA_LIBDIR        $LEDA_LIBDIR"
8414 <    echo "GMP_INCLDIR        $GMP_INCLDIR"
8415 <    echo "GMP_LIBDIR         $GMP_LIBDIR"
8407 >    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
8408 > echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
8409 >    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
8410 > echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
8411 >    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
8412 > echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
8413 >    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
8414 > echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
8415 >    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
8416 > echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
8417 >    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
8418 > echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
8419 >    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
8420 > echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
8421 >    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
8422 > echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
8423 >    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
8424 > echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
8425  
8426      ac_ext=cc
8427   ac_cpp='$CXXCPP $CPPFLAGS'
# Line 8351 | Line 8861 | echo "${ECHO_T}no" >&6
8861  
8862        CGAL_CXXFLAGS="-ftemplate-depth-50"
8863  
8864 <      echo "CGAL_USES_LEDA     $CGAL_USES_LEDA"
8865 <      echo "CGAL_USES_GMP      $CGAL_USES_GMP"
8866 <      echo "CGAL_INCLDIR       $CGAL_INCLDIR"
8867 <      echo "CGAL_LIBDIR        $CGAL_LIBDIR"
8868 <      echo "CGAL_DEFINES       $CGAL_DEFINES"
8869 <      echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
8870 <      echo "CGAL_LIBS          $CGAL_LIBS"
8864 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
8865 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
8866 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
8867 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
8868 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
8869 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
8870 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
8871 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
8872 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
8873 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
8874 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
8875 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
8876 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
8877 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
8878      fi
8879  
8880      if test "x$cgal" = xyes; then
# Line 8464 | Line 8981 | else
8981    fi
8982   else
8983     if test "x$cgal_makefile" != xno; then
8984 <    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
8985 < echo "$as_me: WARNING: *********************************************************" >&2;}
8469 <    { echo "$as_me:$LINENO: WARNING: *** Warning: CGAL was not found.                      ***" >&5
8470 < echo "$as_me: WARNING: *** Warning: CGAL was not found.                      ***" >&2;}
8471 <    { echo "$as_me:$LINENO: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&5
8472 < echo "$as_me: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&2;}
8473 <    { echo "$as_me:$LINENO: WARNING: *** CGAL support will be disabled.                    ***" >&5
8474 < echo "$as_me: WARNING: *** CGAL support will be disabled.                    ***" >&2;}
8475 <    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
8476 < echo "$as_me: WARNING: *********************************************************" >&2;}
8984 >    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
8985 > echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
8986    fi
8987    CGAL_INCLDIR=
8988    CGAL_LIBDIR=
# Line 8696 | Line 9205 | esac
9205  
9206            ac_config_headers="$ac_config_headers src/config.h"
9207  
9208 <                              ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile"
9208 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
9209  
9210  
9211   cat >confcache <<\_ACEOF
# Line 9230 | Line 9739 | do
9739    "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
9740    "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
9741    "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
9742 +  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
9743    "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
9744    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
9745    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
# Line 9366 | Line 9876 | s,@AR@,$AR,;t t
9876   s,@LEX@,$LEX,;t t
9877   s,@LEXLIB@,$LEXLIB,;t t
9878   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9879 + s,@PERLINTERP@,$PERLINTERP,;t t
9880 + s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
9881   s,@AR@,$AR,;t t
9882   s,@PS@,$PS,;t t
9883   s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
# Line 9631 | Line 10143 | done
10143      rm -f $tmp/out
10144    fi
10145  
10146 +  # Run the commands associated with the file.
10147 +  case $ac_file in
10148 +    make/Makefile ) chmod 0755 scripts/* ;;
10149 +    src/utils/Makefile ) chmod 0755 scripts/* ;;
10150 +    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
10151 +    scripts/filepp ) chmod 0755 scripts/* ;;
10152 +  esac
10153   done
10154   _ACEOF
10155   cat >>$CONFIG_STATUS <<\_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines