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
34908610
Commit
34908610
authored
Sep 23, 2020
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better check for libcif++
parent
fb9264fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
configure
+7
-0
configure.ac
+3
-0
No files found.
configure
View file @
34908610
...
@@ -6812,6 +6812,13 @@ fi
...
@@ -6812,6 +6812,13 @@ fi
# 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
:
withval
=
$with_cif__
;
withval
=
$with_cif__
;
if
test
-d
${
withval
}
/include
;
then
:
else
as_fn_error
$?
"'
${
withval
}
'' is not a valid directory for --with-cif++"
"
$LINENO
"
5
fi
CIFPP_CFLAGS
=
"-I
${
withval
}
/include"
CIFPP_CFLAGS
=
"-I
${
withval
}
/include"
CIFPP_LIBS
=
"-L
${
withval
}
/.libs -lcif++"
CIFPP_LIBS
=
"-L
${
withval
}
/.libs -lcif++"
...
...
configure.ac
View file @
34908610
...
@@ -74,6 +74,9 @@ AC_ARG_WITH([cif++],
...
@@ -74,6 +74,9 @@ AC_ARG_WITH([cif++],
AS_HELP_STRING([--with-cif++=@<:@location@:>@],
AS_HELP_STRING([--with-cif++=@<:@location@:>@],
[Use the cif++ library as specified.]),
[Use the cif++ library as specified.]),
[
[
AS_IF([test -d ${withval}/include], [], [
AC_MSG_ERROR(['${withval}'' is not a valid directory for --with-cif++])
])
dnl AC_SUBST([CIFPP_CFLAGS], ["-I ${withval}/include"])
dnl AC_SUBST([CIFPP_CFLAGS], ["-I ${withval}/include"])
dnl AC_SUBST([CIFPP_LIBS], ["-L${withval}/.libs -lcif++"])
dnl AC_SUBST([CIFPP_LIBS], ["-L${withval}/.libs -lcif++"])
...
...
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