Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
aa31acb0
Unverified
Commit
aa31acb0
authored
Apr 15, 2021
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no atomic?
parent
232003cb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
52 deletions
+4
-52
configure
+3
-48
configure.ac
+1
-1
src/Config.hpp.in
+0
-3
No files found.
configure
View file @
aa31acb0
...
...
@@ -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
...
...
configure.ac
View file @
aa31acb0
...
...
@@ -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])
...
...
src/Config.hpp.in
View file @
aa31acb0
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment