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

Comparing trunk/OOPSE-3.0/configure (file contents):
Revision 2022 by gezelter, Mon Feb 14 23:16:48 2005 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 PS_PATH BSD_PS POSIX_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'
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 7259 | Line 7259 | if test "${ac_cv_path_PS_PATH+set}" = set; then
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_PATH+set}" = set; then
7262 > if test "${ac_cv_path_PS+set}" = set; then
7263    echo $ECHO_N "(cached) $ECHO_C" >&6
7264   else
7265 <  case $PS_PATH in
7265 >  case $PS in
7266    [\\/]* | ?:[\\/]*)
7267 <  ac_cv_path_PS_PATH="$PS_PATH" # Let the user override the test with a path.
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
# Line 7274 | Line 7274 | do
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_PATH="$as_dir/$ac_word$ac_exec_ext"
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
# Line 7284 | Line 7284 | PS_PATH=$ac_cv_path_PS_PATH
7284    ;;
7285   esac
7286   fi
7287 < PS_PATH=$ac_cv_path_PS_PATH
7287 > PS=$ac_cv_path_PS
7288  
7289 < if test -n "$PS_PATH"; then
7290 <  echo "$as_me:$LINENO: result: $PS_PATH" >&5
7291 < echo "${ECHO_T}$PS_PATH" >&6
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 ps" >&5
7298 < echo $ECHO_N "checking for POSIX ps... $ECHO_C" >&6
7299 < if test "${ac_cv_prog_ps_posix+set}" = set; then
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 <        USER=${USER:-${LOGNAME:-`logname`}}
7304 <        if $PS_PATH -U $USER -opid,args >/dev/null 2>&1; then
7305 <                ac_cv_prog_ps_posix=yes
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_posix=no
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_posix" >&5
7327 < echo "${ECHO_T}$ac_cv_prog_ps_posix" >&6
7328 < if test "$ac_cv_prog_ps_posix" = yes; then
7329 <        BSD_PS=yes
7330 < else
7331 <        POSIX_PS=yes
7317 < 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  
# Line 9082 | Line 9099 | s,@PS_PATH@,$PS_PATH,;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_PATH@,$PS_PATH,;t t
9086 < s,@BSD_PS@,$BSD_PS,;t t
9087 < s,@POSIX_PS@,$POSIX_PS,;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