diff options
author | David Timber <mieabby@gmail.com> | 2020-01-15 18:36:25 +1100 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-01-15 18:45:50 +1100 |
commit | a9762b186c68797c19c61bf0284a80d9bc51a2ca (patch) | |
tree | e1aa87bac8d8605ec3c5f069e1bc83dc2048fbfe /configure.ac | |
parent | f97fd125b9e2f8ff27da61a882c50ce66cc79d2d (diff) |
unexpand
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index 7928ec4..387c3d3 100644 --- a/configure.ac +++ b/configure.ac @@ -11,29 +11,29 @@ AC_PROG_RANLIB AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], - [build with debug flags, default: no]), + [build with debug flags, default: no]), [case "${enableval}" in - yes) debug=true ;; - no) debug=false ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; + yes) debug=true ;; + no) debug=false ;; + *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; esac], [debug=false]) AM_CONDITIONAL(DEBUG, test x"$debug" = x"true") AC_ARG_ENABLE(tests, AS_HELP_STRING([--enable-tests], - [build tests, default: no]), + [build tests, default: no]), [case "${enableval}" in - yes) tests=true ;; - no) tests=false ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;; + yes) tests=true ;; + no) tests=false ;; + *) AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;; esac], [tests=false]) AM_CONDITIONAL(TESTS, test x"$tests" = x"true") AM_COND_IF([TESTS], [ - AC_CHECK_HEADERS([gtest/gtest.h], - [], - [AC_MSG_ERROR([gtest/gtest.h not found.])]) + AC_CHECK_HEADERS([gtest/gtest.h], + [], + [AC_MSG_ERROR([gtest/gtest.h not found.])]) ]) PKG_CHECK_MODULES_STATIC([DEP_PKGCFG], [zlib]) |