X-Git-Url: https://repo.jachan.dev/secp256k1.git/blobdiff_plain/ecba8138ec163f5ad4c303df9f8744810a3dfc03..83fb1bcef49b1c12ef349f62d90bfcc83f0f7398:/configure.ac diff --git a/configure.ac b/configure.ac index 424f6ef..a68ef95 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,10 @@ AH_TOP([#ifndef LIBSECP256K1_CONFIG_H]) AH_TOP([#define LIBSECP256K1_CONFIG_H]) AH_BOTTOM([#endif /*LIBSECP256K1_CONFIG_H*/]) AM_INIT_AUTOMAKE([foreign subdir-objects]) + +# Set -g (but not -O2 because this would override -O3 which we're adding later) +# if CFLAGS are not already set (see PROG_CC in the Autoconf manual) +: ${CFLAGS="-g"} LT_INIT dnl make the compilation flags quiet unless V=1 is used