Commit aa31acb0 by Maarten L. Hekkelman

no atomic?

parent 232003cb
......@@ -1474,13 +1474,13 @@ Some influential environment variables:
DEBUG Build a debug version of the application
LT_SYS_LIBRARY_PATH
User-defined run-time library search path.
CCP4 The location where CCP4 is installed. This is only required if
CCP4 The location where CCP4 is installed. CCP4 is only required if
you want to rebuild the symmetry operations table.
MRC Specify a location for the mrc executable
DATA_LIB_DIR
The location where to store packaged dictionary files
The location where to store packaged dictionary and CCD files
DATA_CACHE_DIR
The location where to store cached dictionary files
The location where to store cached dictionary and CCD files
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
......@@ -18662,51 +18662,6 @@ rm -f core conftest.err conftest.$ac_objext \
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic_flag_clear in -latomic" >&5
$as_echo_n "checking for atomic_flag_clear in -latomic... " >&6; }
if ${ac_cv_lib_atomic_atomic_flag_clear+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-latomic $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 atomic_flag_clear ();
int
main ()
{
return atomic_flag_clear ();
;
return 0;
}
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_lib_atomic_atomic_flag_clear=yes
else
ac_cv_lib_atomic_atomic_flag_clear=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic_atomic_flag_clear" >&5
$as_echo "$ac_cv_lib_atomic_atomic_flag_clear" >&6; }
if test "x$ac_cv_lib_atomic_atomic_flag_clear" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBATOMIC 1
_ACEOF
LIBS="-latomic $LIBS"
fi
......
......@@ -85,7 +85,7 @@ AX_BOOST_REGEX
AX_IOSTREAMS_Z
AX_IOSTREAMS_BZ2
AC_CHECK_LIB([atomic], [atomic_flag_clear])
dnl AC_CHECK_LIB([atomic], [atomic_flag_clear])
dnl Set output variables for the various directories
AC_ARG_VAR([DATA_LIB_DIR], [The location where to store packaged dictionary and CCD files])
......
......@@ -24,9 +24,6 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `atomic' library (-latomic). */
#undef HAVE_LIBATOMIC
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment