summaryrefslogtreecommitdiff
blob: aa5c6db038c82bdb716a21d5812ec8c90f402ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/configure.in
+++ b/configure.in
@@ -25,6 +25,8 @@
 AC_ARG_WITH(gcc, [  --with-gcc              use gcc instead of the native compiler cc], ok=$withval, ok=no)
 if test "$ok" = "yes"; then
 	CC=gcc
+else
+	CC=$withval
 fi
 
 AC_ARG_ENABLE(float, [  --enable-float          compile fftw for single precision], enable_float=$enableval, enable_float=no)
@@ -96,6 +96,7 @@
 AM_PROG_LIBTOOL
 AC_CHECK_PROG(PERL, perl, perl, echo perl)
 AC_SUBST(PERL)
+AC_SUBST(CC)
 
 dnl -----------------------------------------------------------------------