Skip to content

Commit

Permalink
run autogen.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyauble committed Feb 28, 2014
1 parent a120197 commit dd6f66f
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.h.in
Expand Up @@ -185,6 +185,9 @@
/* Define to 1 for running on a Cray in native mode without ALPS */
#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. */
#undef HAVE_NCURSES_H

Expand Down
62 changes: 62 additions & 0 deletions configure
Expand Up @@ -21917,6 +21917,68 @@ else
fi
rm -f core conftest.err conftest.$ac_objext \
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"
CPPFLAGS="$saved_CPPFLAGS"

Expand Down

0 comments on commit dd6f66f

Please sign in to comment.