]> Git Repo - secp256k1.git/commitdiff
Update configure.ac to make it build on OpenBSD
authormlmikael <[email protected]>
Sun, 19 Jul 2015 14:07:46 +0000 (16:07 +0200)
committermlmikael <[email protected]>
Sun, 19 Jul 2015 14:07:46 +0000 (16:07 +0200)
This update is to make libsecp256k1 build on OpenBSD (more specifically OpenBSD 5.7 with Autotools 2.69).

Without the "AM_PROG_CC_C_O" line in configure.ac, ./autogen.sh crashes with "Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'\nautoreconf-2.69: automake failed with exit status: 1".

configure.ac

index 70c9e593f64b8cf46970f37e4eb755b2d6f8faeb..ec5490f4517bbba5b2d99a4c23ff34f212d10645 100644 (file)
@@ -23,6 +23,8 @@ if test "x$CFLAGS" = "x"; then
   CFLAGS="-O3 -g"
 fi
 
   CFLAGS="-O3 -g"
 fi
 
+AM_PROG_CC_C_O
+
 AC_PROG_CC_C89
 if test x"$ac_cv_prog_cc_c89" = x"no"; then
   AC_MSG_ERROR([c89 compiler support required])
 AC_PROG_CC_C89
 if test x"$ac_cv_prog_cc_c89" = x"no"; then
   AC_MSG_ERROR([c89 compiler support required])
This page took 0.026242 seconds and 4 git commands to generate.