Skip to content
Snippets Groups Projects
Commit 62393f10 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Make configure fail if deriving the constants fails

parent b3a04fae
No related branches found
No related tags found
No related merge requests found
......@@ -76,8 +76,8 @@ dnl * Generate the header cbits/GmpDerivedConstants.h
dnl--------------------------------------------------------------------
AC_MSG_NOTICE([generating GmpDerivedConstants.h])
${CC} $CFLAGS cbits/mkGmpDerivedConstants.c -o cbits/mkGmpDerivedConstants
cbits/mkGmpDerivedConstants > cbits/GmpDerivedConstants.h
${CC} $CFLAGS cbits/mkGmpDerivedConstants.c -o cbits/mkGmpDerivedConstants || exit 1
{ cbits/mkGmpDerivedConstants > cbits/GmpDerivedConstants.h; } || exit 1
rm cbits/mkGmpDerivedConstants
AC_OUTPUT
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