Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dssp
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
dssp
Commits
f807db77
Commit
f807db77
authored
Sep 26, 2020
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated configure
parent
0a306590
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
112 additions
and
3 deletions
+112
-3
configure
+109
-0
src/config.hpp.in
+3
-3
No files found.
configure
View file @
f807db77
...
@@ -629,6 +629,8 @@ LIBBZ2_LDFLAGS
...
@@ -629,6 +629,8 @@ LIBBZ2_LDFLAGS
LIBBZ2_CPPFLAGS
LIBBZ2_CPPFLAGS
LIBZ_LDFLAGS
LIBZ_LDFLAGS
LIBZ_CPPFLAGS
LIBZ_CPPFLAGS
CIFPP_LDFLAGS
CIFPP_CPPFLAGS
AX_PACKAGE_REQUIRES_PRIVATE
AX_PACKAGE_REQUIRES_PRIVATE
AX_PACKAGE_REQUIRES
AX_PACKAGE_REQUIRES
PKG_CONFIG_LIBDIR
PKG_CONFIG_LIBDIR
...
@@ -745,6 +747,8 @@ PKG_CONFIG_PATH
...
@@ -745,6 +747,8 @@ PKG_CONFIG_PATH
PKG_CONFIG_LIBDIR
PKG_CONFIG_LIBDIR
CIFPP_CFLAGS
CIFPP_CFLAGS
CIFPP_LIBS
CIFPP_LIBS
CIFPP_CPPFLAGS
CIFPP_LDFLAGS
LIBZ_CPPFLAGS
LIBZ_CPPFLAGS
LIBZ_LDFLAGS
LIBZ_LDFLAGS
LIBBZ2_CPPFLAGS
LIBBZ2_CPPFLAGS
...
@@ -1426,6 +1430,10 @@ Some influential environment variables:
...
@@ -1426,6 +1430,10 @@ Some influential environment variables:
CIFPP_CFLAGS
CIFPP_CFLAGS
C compiler flags for CIFPP, overriding pkg-config
C compiler flags for CIFPP, overriding pkg-config
CIFPP_LIBS linker flags for CIFPP, overriding pkg-config
CIFPP_LIBS linker flags for CIFPP, overriding pkg-config
CIFPP_CPPFLAGS
C preprocessor flags for CIFPP headers
CIFPP_LDFLAGS
linker flags for CIFPP libraries
LIBZ_CPPFLAGS
LIBZ_CPPFLAGS
C preprocessor flags for LIBZ headers
C preprocessor flags for LIBZ headers
LIBZ_LDFLAGS
LIBZ_LDFLAGS
...
@@ -6808,6 +6816,9 @@ fi
...
@@ -6808,6 +6816,9 @@ fi
fi
fi
CPPFLAGS
=
"
$CPPFLAGS
$BOOST_CPPFLAGS
"
LDFLAGS
=
"
$LDFLAGS
$BOOST_LDFLAGS
"
# Check whether --with-cif++ was given.
# Check whether --with-cif++ was given.
if
test
"
${
with_cif__
+set
}
"
=
set
;
then
:
if
test
"
${
with_cif__
+set
}
"
=
set
;
then
:
...
@@ -6993,6 +7004,8 @@ $as_echo "no" >&6; }
...
@@ -6993,6 +7004,8 @@ $as_echo "no" >&6; }
fi
fi
if
test
-x
"
$PKG_CONFIG
"
then
...
@@ -7076,6 +7089,102 @@ fi
...
@@ -7076,6 +7089,102 @@ fi
else
ac_fn_cxx_check_header_mongrel
"
$LINENO
"
"cif++/Config.hpp"
"ac_cv_header_cifpp_Config_hpp"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_cifpp_Config_hpp
"
=
xyes
;
then
:
else
as_fn_error
$?
"
Can't find the libcif++ header, Config.hpp. Make sure that it
is installed, and either use the --with-cif++ option or install
pkg-config."
"
$LINENO
"
5
fi
if
${
ax_cv_have_CIFPP
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
save_CPPFLAGS
=
"
$CPPFLAGS
"
save_LDFLAGS
=
"
$LDFLAGS
"
save_LIBS
=
"
$LIBS
"
if
test
"x
$CIFPP_CPPFLAGS
"
!=
"x"
;
then
:
CPPFLAGS
=
"
$CPPFLAGS
$CIFPP_CPPFLAGS
"
fi
if
test
"x
$CIFPP_LDFLAGS
"
!=
"x"
;
then
:
LDFLAGS
=
"
$LDFLAGS
$CIFPP_LDFLAGS
"
fi
ac_fn_cxx_check_header_mongrel
"
$LINENO
"
"cif++/Config.hpp"
"ac_cv_header_cifpp_Config_hpp"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_cifpp_Config_hpp
"
=
xyes
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for main in -lcif++"
>
&5
$as_echo_n
"checking for main in -lcif++... "
>
&6
;
}
if
${
ac_cv_lib_cifpp_main
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lcif++
$LIBS
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int
main ()
{
return main ();
;
return 0;
}
_ACEOF
if
ac_fn_cxx_try_link
"
$LINENO
"
;
then
:
ac_cv_lib_cifpp_main
=
yes
else
ac_cv_lib_cifpp_main
=
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_cifpp_main
"
>
&5
$as_echo
"
$ac_cv_lib_cifpp_main
"
>
&6
;
}
if
test
"x
$ac_cv_lib_cifpp_main
"
=
xyes
;
then
:
ax_cv_have_CIFPP
=
yes
else
ax_cv_have_CIFPP
=
no
fi
else
ax_cv_have_CIFPP
=
no
fi
CPPFLAGS
=
"
$save_CPPFLAGS
"
LDFLAGS
=
"
$save_LDFLAGS
"
LIBS
=
"
$save_LIBS
"
fi
if
test
"
$ax_cv_have_CIFPP
"
=
"yes"
;
then
:
$as_echo
"#define HAVE_CIFPP 1"
>>
confdefs.h
LIBS
=
"-lcif++
$LIBS
"
else
as_fn_error
$?
"libcif++ not found"
"
$LINENO
"
5
fi
fi
fi
fi
...
...
src/config.hpp.in
View file @
f807db77
...
@@ -12,6 +12,9 @@
...
@@ -12,6 +12,9 @@
/* define if the Boost::PROGRAM_OPTIONS library is available */
/* define if the Boost::PROGRAM_OPTIONS library is available */
#undef HAVE_BOOST_PROGRAM_OPTIONS
#undef HAVE_BOOST_PROGRAM_OPTIONS
/* Define to 1 if CIFPP is found */
#undef HAVE_CIFPP
/* define if the compiler supports basic C++17 syntax */
/* define if the compiler supports basic C++17 syntax */
#undef HAVE_CXX17
#undef HAVE_CXX17
...
@@ -21,9 +24,6 @@
...
@@ -21,9 +24,6 @@
/* Define to 1 if LIBBZ2 is found */
/* Define to 1 if LIBBZ2 is found */
#undef HAVE_LIBBZ2
#undef HAVE_LIBBZ2
/* Define to 1 if LIBCIFPP is found */
#undef HAVE_LIBCIFPP
/* Define to 1 if LIBZ is found */
/* Define to 1 if LIBZ is found */
#undef HAVE_LIBZ
#undef HAVE_LIBZ
...
...
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