diff -r 3c437e591499 configure.ac --- a/configure.ac Tue Mar 26 02:38:40 2013 +0200 +++ b/configure.ac Tue Mar 26 12:49:02 2013 +0100 @@ -883,7 +883,7 @@ AS_HELP_STRING([--enable-profiling], [enable C-level code profiling])) if test "x$enable_profiling" = xyes; then ac_save_cc="$CC" - CC="$(CC) -pg" + CC="$CC -pg" AC_LINK_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])], [], [enable_profiling=no])