Skip to content

Commit f482a9c

Browse files
committed
autoconf: Pass CFLAGS from configure to apxs.
To allow the user to specify CFLAGS in configure, add the CFLAGS macro to the generated `apxs` command line. This allows us to run things like: ./configure CFLAGS=-Werror
1 parent 21f4acf commit f482a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ DISTFILES=$(SRC) \
2525
all: mod_auth_mellon.la
2626

2727
mod_auth_mellon.la: $(SRC) auth_mellon.h auth_mellon_compat.h
28-
@APXS2@ -Wc,"-std=c99 @OPENSSL_CFLAGS@ @LASSO_CFLAGS@ @CURL_CFLAGS@ @GLIB_CFLAGS@" -Wl,"@OPENSSL_LIBS@ @LASSO_LIBS@ @CURL_LIBS@ @GLIB_LIBS@" -Wc,-Wall -Wc,-g -c $(SRC)
28+
@APXS2@ -Wc,"-std=c99 @OPENSSL_CFLAGS@ @LASSO_CFLAGS@ @CURL_CFLAGS@ @GLIB_CFLAGS@ @CFLAGS@" -Wl,"@OPENSSL_LIBS@ @LASSO_LIBS@ @CURL_LIBS@ @GLIB_LIBS@" -Wc,-Wall -Wc,-g -c $(SRC)
2929

3030

3131
# Building configure (for distribution)

0 commit comments

Comments
 (0)