diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2014-03-26 09:07:58 -0400 |
|---|---|---|
| committer | Gary Scavone <gary@music.mcgill.ca> | 2014-03-26 09:07:58 -0400 |
| commit | b07a6e04325d515a411213c391563e1387229de0 (patch) | |
| tree | 27995c999f2d92553881237c347c47a3dda70916 /configure.ac | |
| parent | 653a2a1234a309344b47b8d04b3720e289a5b6af (diff) | |
Reverted sysextest.cpp to previous version and added warning flag to configure.ac
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 6413943..386b408 100644 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,7 @@ AC_ARG_ENABLE(debug, [AC_SUBST( cppflag, [] ) AC_SUBST( cxxflag, [-O3] ) AC_SUBST( object_path, [Release] ) AC_MSG_RESULT(no)]) # Set paths if prefix is defined -if test x"$prefix" != x && test x$prefix != xNONE; then +if test "x$prefix" != "x" && test "x$prefix" != "xNONE"; then LIBS="$LIBS -L$prefix/lib" CPPFLAGS="$CPPFLAGS -I$prefix/include" fi @@ -41,7 +41,7 @@ CXXFLAGS="$cxxflag" # Check compiler and use -Wall if gnu. if [test $GXX = "yes" ;] then - AC_SUBST( cxxflag, [-Wall] ) + AC_SUBST( cxxflag, ["-Wall -Wextra"] ) fi CXXFLAGS="$CXXFLAGS $cxxflag" |
