Skip to content
Snippets Groups Projects
Commit a9b8ae71 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Move check for config.h presence.

parent 365860bf
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,9 @@ DATE=`date +%F`
if test -f config.h ; then
CDILIBVERSION=`grep PACKAGE_VERSION config.h | cut -f3 -d" "`
else
echo "error: missing config.h" >&2
exit 1
fi
cat > ${PROG} << EOR
......@@ -164,8 +167,6 @@ done
if test -f config.h ; then
cpp -P -DHAVE_CONFIG_H -I./ $srcdir/version.c >> ${PROG}
else
echo "error: missing config.h"
fi
# Fortran interface (with -DHAVE_CF_INTERFACE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment