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
e8204116
Unverified
Commit
e8204116
authored
Jan 13, 2021
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiling outside a git checked out directory
parent
04da2918
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
14 deletions
+14
-14
.gitignore
+1
-0
configure
+7
-7
configure.ac
+6
-6
src/dssp.cpp
+0
-1
No files found.
.gitignore
View file @
e8204116
...
@@ -19,3 +19,4 @@ dssp
...
@@ -19,3 +19,4 @@ dssp
src/config.hpp
src/config.hpp
src/config.hpp.in~
src/config.hpp.in~
src/revision.hpp
src/revision.hpp
mkdssp
configure
View file @
e8204116
...
@@ -1373,7 +1373,7 @@ Optional Features:
...
@@ -1373,7 +1373,7 @@ Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-resources Use mrc to store data in resources
--enable-resources Use mrc to store data in resources
--
disable-revision
Create a build number as revision
--
enable-revision
Create a build number as revision
Optional Packages:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
...
@@ -4129,7 +4129,7 @@ if test "${enable_revision+set}" = set; then :
...
@@ -4129,7 +4129,7 @@ if test "${enable_revision+set}" = set; then :
fi
fi
if
test
"x
$enable_revision
"
!=
"xno
"
;
then
:
if
test
"x
$enable_revision
"
=
"xyes
"
;
then
:
UPDATE_REVISION
=
1
UPDATE_REVISION
=
1
...
@@ -7079,7 +7079,7 @@ else
...
@@ -7079,7 +7079,7 @@ else
fi
fi
CIFPP_CFLAGS
=
"-I
${
withval
}
/include"
CIFPP_CFLAGS
=
"-I
${
withval
}
/include"
CIFPP_LIBS
=
"-L
${
withval
}
/.libs -lcif
++
"
CIFPP_LIBS
=
"-L
${
withval
}
/.libs -lcif
pp
"
CIFPP_RSRC
=
"
${
withval
}
/rsrc"
CIFPP_RSRC
=
"
${
withval
}
/rsrc"
CIFPP_CFLAGS
=
$CIFPP_CFLAGS
CIFPP_CFLAGS
=
$CIFPP_CFLAGS
...
@@ -7216,13 +7216,13 @@ fi
...
@@ -7216,13 +7216,13 @@ fi
ac_fn_cxx_check_header_mongrel
"
$LINENO
"
"cif++/Config.hpp"
"ac_cv_header_cifpp_Config_hpp"
"
$ac_includes_default
"
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
:
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
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for main in -lcif
pp
"
>
&5
$as_echo_n
"checking for main in -lcif
++
... "
>
&6
;
}
$as_echo_n
"checking for main in -lcif
pp
... "
>
&6
;
}
if
${
ac_cv_lib_cifpp_main
+
:
}
false
;
then
:
if
${
ac_cv_lib_cifpp_main
+
:
}
false
;
then
:
$as_echo_n
"(cached) "
>
&6
$as_echo_n
"(cached) "
>
&6
else
else
ac_check_lib_save_LIBS
=
$LIBS
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lcif
++
$LIBS
"
LIBS
=
"-lcif
pp
$LIBS
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
/* end confdefs.h. */
...
@@ -7271,7 +7271,7 @@ fi
...
@@ -7271,7 +7271,7 @@ fi
$as_echo
"#define HAVE_CIFPP 1"
>>
confdefs.h
$as_echo
"#define HAVE_CIFPP 1"
>>
confdefs.h
LIBS
=
"-lcif
++
$LIBS
"
LIBS
=
"-lcif
pp
$LIBS
"
else
else
as_fn_error
$?
"libcif++ not found"
"
$LINENO
"
5
as_fn_error
$?
"libcif++ not found"
"
$LINENO
"
5
...
...
configure.ac
View file @
e8204116
...
@@ -52,9 +52,9 @@ AC_DEFINE_UNQUOTED([USE_RSRC], [$USE_RSRC], [Use mrc to store resources])
...
@@ -52,9 +52,9 @@ AC_DEFINE_UNQUOTED([USE_RSRC], [$USE_RSRC], [Use mrc to store resources])
dnl revision numbering is something used internally at the NKI
dnl revision numbering is something used internally at the NKI
AC_ARG_ENABLE(
AC_ARG_ENABLE(
revision,
revision,
[AS_HELP_STRING([--
dis
able-revision], [Create a build number as revision])])
[AS_HELP_STRING([--
en
able-revision], [Create a build number as revision])])
AS_IF([test "x$enable_revision"
!= "xno
" ], [
AS_IF([test "x$enable_revision"
= "xyes
" ], [
UPDATE_REVISION=1
UPDATE_REVISION=1
])
])
...
@@ -99,10 +99,10 @@ AC_ARG_WITH([cif++],
...
@@ -99,10 +99,10 @@ AC_ARG_WITH([cif++],
AC_MSG_ERROR(['${withval}'' is not a valid directory for --with-cif++])
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
pp
"])
CIFPP_CFLAGS="-I ${withval}/include"
CIFPP_CFLAGS="-I ${withval}/include"
CIFPP_LIBS="-L${withval}/.libs -lcif
++
"
CIFPP_LIBS="-L${withval}/.libs -lcif
pp
"
CIFPP_RSRC="${withval}/rsrc"
CIFPP_RSRC="${withval}/rsrc"
AC_SUBST([CIFPP_CFLAGS], [$CIFPP_CFLAGS])
AC_SUBST([CIFPP_CFLAGS], [$CIFPP_CFLAGS])
...
@@ -126,9 +126,9 @@ Can't find the libcif++ header, Config.hpp. Make sure that it
...
@@ -126,9 +126,9 @@ Can't find the libcif++ header, Config.hpp. Make sure that it
is installed, and either use the --with-cif++ option or install
is installed, and either use the --with-cif++ option or install
pkg-config.])])
pkg-config.])])
AX_CHECK_LIBRARY([CIFPP], [cif++/Config.hpp], [cif
++
],
AX_CHECK_LIBRARY([CIFPP], [cif++/Config.hpp], [cif
pp
],
[
[
LIBS="-lcif
++
$LIBS"
LIBS="-lcif
pp
$LIBS"
],
],
[AC_MSG_ERROR([libcif++ not found])])
[AC_MSG_ERROR([libcif++ not found])])
fi
fi
...
...
src/dssp.cpp
View file @
e8204116
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
#include <boost/format.hpp>
#include <boost/format.hpp>
#include <boost/date_time/gregorian/formatters.hpp>
#include <boost/date_time/gregorian/formatters.hpp>
#include <cif++/Config.hpp>
#include <cif++/Structure.hpp>
#include <cif++/Structure.hpp>
#include <cif++/Secondary.hpp>
#include <cif++/Secondary.hpp>
#include <cif++/CifUtils.hpp>
#include <cif++/CifUtils.hpp>
...
...
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