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 1619 by chuckv, Wed Oct 20 21:16:01 2004 UTC vs.
Revision 2027 by gezelter, Tue Feb 15 06:11:22 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 MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL 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 AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL 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 4930 | Line 4930 | fi
4930   sed 's/^/| /' conftest.$ac_ext >&5
4931  
4932   eval "$as_ac_Header=no"
4933 + fi
4934 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4935 + fi
4936 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4937 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4938 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
4939 +  cat >>confdefs.h <<_ACEOF
4940 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4941 + _ACEOF
4942 +
4943 + fi
4944 +
4945 + done
4946 +
4947 +
4948 +
4949 +
4950 +
4951 +
4952 +
4953 +
4954 +
4955 +
4956 +
4957 + 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
4958 + do
4959 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4960 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
4961 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
4962 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4963 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
4964 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4965 + fi
4966 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4967 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4968 + else
4969 +  # Is the header compilable?
4970 + echo "$as_me:$LINENO: checking $ac_header usability" >&5
4971 + echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4972 + cat >conftest.$ac_ext <<_ACEOF
4973 + /* confdefs.h.  */
4974 + _ACEOF
4975 + cat confdefs.h >>conftest.$ac_ext
4976 + cat >>conftest.$ac_ext <<_ACEOF
4977 + /* end confdefs.h.  */
4978 + $ac_includes_default
4979 + #include <$ac_header>
4980 + _ACEOF
4981 + rm -f conftest.$ac_objext
4982 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4983 +  (eval $ac_compile) 2>conftest.er1
4984 +  ac_status=$?
4985 +  grep -v '^ *+' conftest.er1 >conftest.err
4986 +  rm -f conftest.er1
4987 +  cat conftest.err >&5
4988 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 +  (exit $ac_status); } &&
4990 +         { ac_try='test -z "$ac_c_werror_flag"
4991 +                         || test ! -s conftest.err'
4992 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993 +  (eval $ac_try) 2>&5
4994 +  ac_status=$?
4995 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 +  (exit $ac_status); }; } &&
4997 +         { ac_try='test -s conftest.$ac_objext'
4998 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4999 +  (eval $ac_try) 2>&5
5000 +  ac_status=$?
5001 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 +  (exit $ac_status); }; }; then
5003 +  ac_header_compiler=yes
5004 + else
5005 +  echo "$as_me: failed program was:" >&5
5006 + sed 's/^/| /' conftest.$ac_ext >&5
5007 +
5008 + ac_header_compiler=no
5009   fi
5010   rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5011 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5012 + echo "${ECHO_T}$ac_header_compiler" >&6
5013 +
5014 + # Is the header present?
5015 + echo "$as_me:$LINENO: checking $ac_header presence" >&5
5016 + echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5017 + cat >conftest.$ac_ext <<_ACEOF
5018 + /* confdefs.h.  */
5019 + _ACEOF
5020 + cat confdefs.h >>conftest.$ac_ext
5021 + cat >>conftest.$ac_ext <<_ACEOF
5022 + /* end confdefs.h.  */
5023 + #include <$ac_header>
5024 + _ACEOF
5025 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5026 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5027 +  ac_status=$?
5028 +  grep -v '^ *+' conftest.er1 >conftest.err
5029 +  rm -f conftest.er1
5030 +  cat conftest.err >&5
5031 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 +  (exit $ac_status); } >/dev/null; then
5033 +  if test -s conftest.err; then
5034 +    ac_cpp_err=$ac_c_preproc_warn_flag
5035 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5036 +  else
5037 +    ac_cpp_err=
5038 +  fi
5039 + else
5040 +  ac_cpp_err=yes
5041   fi
5042 + if test -z "$ac_cpp_err"; then
5043 +  ac_header_preproc=yes
5044 + else
5045 +  echo "$as_me: failed program was:" >&5
5046 + sed 's/^/| /' conftest.$ac_ext >&5
5047 +
5048 +  ac_header_preproc=no
5049 + fi
5050 + rm -f conftest.err conftest.$ac_ext
5051 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5052 + echo "${ECHO_T}$ac_header_preproc" >&6
5053 +
5054 + # So?  What about this header?
5055 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5056 +  yes:no: )
5057 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5058 + echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5059 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5060 + echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5061 +    ac_header_preproc=yes
5062 +    ;;
5063 +  no:yes:* )
5064 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5065 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5066 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5067 + echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5068 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5069 + echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5070 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5071 + echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5072 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5073 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5074 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5075 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5076 +    (
5077 +      cat <<\_ASBOX
5078 + ## ------------------------------ ##
5079 + ## Report this to gezelter@nd.edu ##
5080 + ## ------------------------------ ##
5081 + _ASBOX
5082 +    ) |
5083 +      sed "s/^/$as_me: WARNING:     /" >&2
5084 +    ;;
5085 + esac
5086 + echo "$as_me:$LINENO: checking for $ac_header" >&5
5087 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5088 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
5089 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5090 + else
5091 +  eval "$as_ac_Header=\$ac_header_preproc"
5092 + fi
5093   echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5094   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5095 +
5096 + fi
5097   if test `eval echo '${'$as_ac_Header'}'` = yes; then
5098    cat >>confdefs.h <<_ACEOF
5099   #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5100 + _ACEOF
5101 +
5102 + fi
5103 +
5104 + done
5105 +
5106 +
5107 +
5108 +
5109 +
5110 +
5111 + for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
5112 + do
5113 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5114 + echo "$as_me:$LINENO: checking for $ac_func" >&5
5115 + echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5116 + if eval "test \"\${$as_ac_var+set}\" = set"; then
5117 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5118 + else
5119 +  cat >conftest.$ac_ext <<_ACEOF
5120 + /* confdefs.h.  */
5121 + _ACEOF
5122 + cat confdefs.h >>conftest.$ac_ext
5123 + cat >>conftest.$ac_ext <<_ACEOF
5124 + /* end confdefs.h.  */
5125 + /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5126 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5127 + #define $ac_func innocuous_$ac_func
5128 +
5129 + /* System header to define __stub macros and hopefully few prototypes,
5130 +    which can conflict with char $ac_func (); below.
5131 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5132 +    <limits.h> exists even on freestanding compilers.  */
5133 +
5134 + #ifdef __STDC__
5135 + # include <limits.h>
5136 + #else
5137 + # include <assert.h>
5138 + #endif
5139 +
5140 + #undef $ac_func
5141 +
5142 + /* Override any gcc2 internal prototype to avoid an error.  */
5143 + #ifdef __cplusplus
5144 + extern "C"
5145 + {
5146 + #endif
5147 + /* We use char because int might match the return type of a gcc2
5148 +   builtin and then its argument prototype would still apply.  */
5149 + char $ac_func ();
5150 + /* The GNU C library defines this for functions which it implements
5151 +    to always fail with ENOSYS.  Some functions are actually named
5152 +    something starting with __ and the normal name is an alias.  */
5153 + #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5154 + choke me
5155 + #else
5156 + char (*f) () = $ac_func;
5157 + #endif
5158 + #ifdef __cplusplus
5159 + }
5160 + #endif
5161 +
5162 + int
5163 + main ()
5164 + {
5165 + return f != $ac_func;
5166 +  ;
5167 +  return 0;
5168 + }
5169   _ACEOF
5170 + rm -f conftest.$ac_objext conftest$ac_exeext
5171 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5172 +  (eval $ac_link) 2>conftest.er1
5173 +  ac_status=$?
5174 +  grep -v '^ *+' conftest.er1 >conftest.err
5175 +  rm -f conftest.er1
5176 +  cat conftest.err >&5
5177 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 +  (exit $ac_status); } &&
5179 +         { ac_try='test -z "$ac_c_werror_flag"
5180 +                         || test ! -s conftest.err'
5181 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182 +  (eval $ac_try) 2>&5
5183 +  ac_status=$?
5184 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 +  (exit $ac_status); }; } &&
5186 +         { ac_try='test -s conftest$ac_exeext'
5187 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 +  (eval $ac_try) 2>&5
5189 +  ac_status=$?
5190 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 +  (exit $ac_status); }; }; then
5192 +  eval "$as_ac_var=yes"
5193 + else
5194 +  echo "$as_me: failed program was:" >&5
5195 + sed 's/^/| /' conftest.$ac_ext >&5
5196  
5197 + eval "$as_ac_var=no"
5198   fi
5199 + rm -f conftest.err conftest.$ac_objext \
5200 +      conftest$ac_exeext conftest.$ac_ext
5201 + fi
5202 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5203 + echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5204 + if test `eval echo '${'$as_ac_var'}'` = yes; then
5205 +  cat >>confdefs.h <<_ACEOF
5206 + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5207 + _ACEOF
5208  
5209 + fi
5210   done
5211  
5212 + # special check for _system_configuration because AIX <4.3.2 do not
5213 + # contain the `physmem' member.
5214 + echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
5215 + echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
5216 + cat >conftest.$ac_ext <<_ACEOF
5217 + /* confdefs.h.  */
5218 + _ACEOF
5219 + cat confdefs.h >>conftest.$ac_ext
5220 + cat >>conftest.$ac_ext <<_ACEOF
5221 + /* end confdefs.h.  */
5222 + #include <sys/systemcfg.h>
5223 + int
5224 + main ()
5225 + {
5226 + double x = _system_configuration.physmem;
5227 +  ;
5228 +  return 0;
5229 + }
5230 + _ACEOF
5231 + rm -f conftest.$ac_objext
5232 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5233 +  (eval $ac_compile) 2>conftest.er1
5234 +  ac_status=$?
5235 +  grep -v '^ *+' conftest.er1 >conftest.err
5236 +  rm -f conftest.er1
5237 +  cat conftest.err >&5
5238 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 +  (exit $ac_status); } &&
5240 +         { ac_try='test -z "$ac_c_werror_flag"
5241 +                         || test ! -s conftest.err'
5242 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5243 +  (eval $ac_try) 2>&5
5244 +  ac_status=$?
5245 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 +  (exit $ac_status); }; } &&
5247 +         { ac_try='test -s conftest.$ac_objext'
5248 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5249 +  (eval $ac_try) 2>&5
5250 +  ac_status=$?
5251 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 +  (exit $ac_status); }; }; then
5253 +  echo "$as_me:$LINENO: result: yes" >&5
5254 + echo "${ECHO_T}yes" >&6
5255  
5256 + cat >>confdefs.h <<\_ACEOF
5257 + #define HAVE__SYSTEM_CONFIGURATION 1
5258 + _ACEOF
5259 +
5260 + else
5261 +  echo "$as_me: failed program was:" >&5
5262 + sed 's/^/| /' conftest.$ac_ext >&5
5263 +
5264 + echo "$as_me:$LINENO: result: no" >&5
5265 + echo "${ECHO_T}no" >&6
5266 + fi
5267 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5268 +
5269    # clean out junk possibly left behind by a previous configuration
5270 <  rm -f src/utils/getopt.h
5270 >  rm -f src/getopt.h
5271    # Check for getopt_long support
5272  
5273   for ac_header in getopt.h
# Line 5286 | Line 5607 | esac
5607    *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5608   esac
5609  
5610 <                ac_config_links="$ac_config_links src/utils/getopt.h:src/utils/gnugetopt.h"
5610 >                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5611  
5612   fi
5613  
# Line 5831 | Line 6152 | if test "$ac_test_CXXFLAGS" != "set"; then
6152                  echo "*******************************************************"
6153          fi;;
6154     *darwin*)
6155 <        if test "$CXX" = xlc++; then
6155 >        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
6156                  CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
6157          fi;;
6158    esac
# Line 6934 | Line 7255 | fi
7255    exit 1
7256   fi
7257  
7258 + # Extract the first word of "ps", so it can be a program name with args.
7259 + set dummy ps; ac_word=$2
7260 + echo "$as_me:$LINENO: checking for $ac_word" >&5
7261 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7262 + if test "${ac_cv_path_PS+set}" = set; then
7263 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7264 + else
7265 +  case $PS in
7266 +  [\\/]* | ?:[\\/]*)
7267 +  ac_cv_path_PS="$PS" # Let the user override the test with a path.
7268 +  ;;
7269 +  *)
7270 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 + for as_dir in $PATH
7272 + do
7273 +  IFS=$as_save_IFS
7274 +  test -z "$as_dir" && as_dir=.
7275 +  for ac_exec_ext in '' $ac_executable_extensions; do
7276 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277 +    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
7278 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7279 +    break 2
7280 +  fi
7281 + done
7282 + done
7283  
7284 +  ;;
7285 + esac
7286 + fi
7287 + PS=$ac_cv_path_PS
7288  
7289 + if test -n "$PS"; then
7290 +  echo "$as_me:$LINENO: result: $PS" >&5
7291 + echo "${ECHO_T}$PS" >&6
7292 + else
7293 +  echo "$as_me:$LINENO: result: no" >&5
7294 + echo "${ECHO_T}no" >&6
7295 + fi
7296 +
7297 + echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
7298 + echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
7299 + if test "${ac_cv_prog_ps_syntax+set}" = set; then
7300 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7301 + else
7302 +
7303 +        if $PS ax -o rss > /dev/null 2>&1; then
7304 +                ac_cv_prog_ps_ax=yes
7305 +        else
7306 +                ac_cv_prog_ps_ax=no
7307 +        fi
7308 +        if $PS -ef -o rss > /dev/null 2>&1; then
7309 +                ac_cv_prog_ps_ef=yes
7310 +        else
7311 +                ac_cv_prog_ps_ef=no
7312 +        fi
7313 +        if test "$ac_cv_prog_ps_ax" = yes; then
7314 +                ac_cv_prog_ps_syntax=BSD
7315 +        else
7316 +                if test "$ac_cv_prog_ps_es" = yes; then
7317 +                        ac_cv_prog_ps_syntax=POSIX
7318 +                else
7319 +                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
7320 + echo "$as_me: error: Could not determine ps syntax" >&2;}
7321 +   { (exit 1); exit 1; }; }
7322 +                fi
7323 +        fi
7324 +
7325 + fi
7326 + echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
7327 + echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
7328 +
7329 + cat >>confdefs.h <<_ACEOF
7330 + #define PSCOMMAND $PS
7331 + _ACEOF
7332 +
7333 +
7334 + cat >>confdefs.h <<_ACEOF
7335 + #define PSTYPE $ac_cv_prog_ps_syntax
7336 + _ACEOF
7337 +
7338 +
7339 +
7340 +
7341   # Check whether --with-mpi or --without-mpi was given.
7342   if test "${with_mpi+set}" = set; then
7343    withval="$with_mpi"
# Line 8027 | Line 8429 | esac
8429  
8430            ac_config_headers="$ac_config_headers src/config.h"
8431  
8432 <          ac_config_files="$ac_config_files make/Makefile"
8432 >                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8433  
8434  
8435   cat >confcache <<\_ACEOF
# Line 8559 | Line 8961 | do
8961    case "$ac_config_target" in
8962    # Handling of arguments.
8963    "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
8964 <  "src/utils/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/utils/getopt.h:src/utils/gnugetopt.h" ;;
8964 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
8965 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
8966    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
8967    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8968   echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
# Line 8696 | Line 9099 | s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
9099   s,@LEXLIB@,$LEXLIB,;t t
9100   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9101   s,@AR@,$AR,;t t
9102 + s,@PS@,$PS,;t t
9103   s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
9104   s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
9105   s,@MPI_F90_INC@,$MPI_F90_INC,;t t

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines