aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bd6e0be..2324e7d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@ LT_INIT([pic-only])
# fix std
CC=$(echo "${CC}" | sed 's/-std=gnu99/-std=c99/')
-CPP=$(echo "${CC}" | sed 's/-std=gnu99/-std=c99/')
+CPP=$(echo "${CPP}" | sed 's/-std=gnu99/-std=c99/')
# Checks for libraries.
AC_SEARCH_LIBS([gcry_check_version], [gcrypt], [], [AC_MSG_ERROR([unable to find the gcry_check_version() function from libgcrypt])])