Skip to content
Snippets Groups Projects
Commit dd6f66f5 authored by Danny Auble's avatar Danny Auble
Browse files

run autogen.sh

parent a120197f
No related branches found
No related tags found
No related merge requests found
...@@ -185,6 +185,9 @@ ...@@ -185,6 +185,9 @@
/* Define to 1 for running on a Cray in native mode without ALPS */ /* Define to 1 for running on a Cray in native mode without ALPS */
#undef HAVE_NATIVE_CRAY #undef HAVE_NATIVE_CRAY
/* Define to 1 if alpscomm functions new to CLE 5.2UP01 are defined */
#undef HAVE_NATIVE_CRAY_GA
/* Define to 1 if you have the <ncurses.h> header file. */ /* Define to 1 if you have the <ncurses.h> header file. */
#undef HAVE_NCURSES_H #undef HAVE_NCURSES_H
......
...@@ -21917,6 +21917,68 @@ else ...@@ -21917,6 +21917,68 @@ else
fi fi
rm -f core conftest.err conftest.$ac_objext \ rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
# See if we have 5.2UP01 alpscomm functions
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing alpsc_get_topology" >&5
$as_echo_n "checking for library containing alpsc_get_topology... " >&6; }
if ${ac_cv_search_alpsc_get_topology+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char alpsc_get_topology ();
int
main ()
{
return alpsc_get_topology ();
;
return 0;
}
_ACEOF
for ac_lib in '' alpscomm_sn; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_alpsc_get_topology=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if ${ac_cv_search_alpsc_get_topology+:} false; then :
break
fi
done
if ${ac_cv_search_alpsc_get_topology+:} false; then :
else
ac_cv_search_alpsc_get_topology=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_alpsc_get_topology" >&5
$as_echo "$ac_cv_search_alpsc_get_topology" >&6; }
ac_res=$ac_cv_search_alpsc_get_topology
if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
$as_echo "#define HAVE_NATIVE_CRAY_GA 1" >>confdefs.h
fi
LIBS="$saved_LIBS" LIBS="$saved_LIBS"
CPPFLAGS="$saved_CPPFLAGS" CPPFLAGS="$saved_CPPFLAGS"
   
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment