diff options
-rw-r--r-- | configure.ac | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/configure.ac b/configure.ac index f14fd63..e46db06 100644 --- a/configure.ac +++ b/configure.ac @@ -9,26 +9,26 @@ AC_PROG_LIBTOOL # --enable and --with options AC_ARG_ENABLE([debug], - [AS_HELP_STRING([--enable-debug], [enable debug symbols])]) - AC_ARG_ENABLE([debug-output], - [AS_HELP_STRING([--enable-debug-output], [enable debug output])]) + [AS_HELP_STRING([--enable-debug], [enable debug symbols])]) + AC_ARG_ENABLE([debug-output], + [AS_HELP_STRING([--enable-debug-output], [enable debug output])]) AC_ARG_WITH([core-foundation], - AS_HELP_STRING([--with-core-foundation], [link against Core Foundation (OS X only) @<:@default=no@:>@])) + AS_HELP_STRING([--with-core-foundation], [link against Core Foundation (OS X only) @<:@default=no@:>@])) if test x"$enable_debug" == "xyes" ; then - my_CFLAGS="-g -O0" + my_CFLAGS="-g -O0" else - my_CFLAGS="-O2" + my_CFLAGS="-O2" fi if test x"$enable_debug_output" == "xyes" ; then - AC_DEFINE([BINDFS_DEBUG], [1], [Define to 1 to enable debugging messages]) + AC_DEFINE([BINDFS_DEBUG], [1], [Define to 1 to enable debugging messages]) fi if test x"$with_core_foundation" == "xyes" ; then - AC_MSG_NOTICE([Linking with Core Foundation]) - LDFLAGS="${LDFLAGS} -framework CoreFoundation" + AC_MSG_NOTICE([Linking with Core Foundation]) + LDFLAGS="${LDFLAGS} -framework CoreFoundation" fi AM_CONDITIONAL(BUILD_OS_IS_DARWIN, [test x"$build_os" = darwin]) @@ -45,18 +45,18 @@ AC_CHECK_FUNCS([lutimes utimensat]) AC_CHECK_FUNCS([setxattr getxattr listxattr removexattr]) AC_CHECK_FUNCS([lsetxattr lgetxattr llistxattr lremovexattr]) AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[ - #define BSD_SOURCE_ - #include <sys/types.h> - #include <sys/stat.h> - #include <unistd.h> - void foo() { struct stat st; st.st_mtim.tv_nsec = 123; } - ]])], - [AC_DEFINE( - [HAVE_STAT_NANOSEC], - [1], - [Define if struct stat has st_mtim.tv_nsec etc.] - )] + [AC_LANG_PROGRAM([[ + #define BSD_SOURCE_ + #include <sys/types.h> + #include <sys/stat.h> + #include <unistd.h> + void foo() { struct stat st; st.st_mtim.tv_nsec = 123; } + ]])], + [AC_DEFINE( + [HAVE_STAT_NANOSEC], + [1], + [Define if struct stat has st_mtim.tv_nsec etc.] + )] ) # Check for fuse @@ -65,8 +65,8 @@ PKG_CHECK_MODULES([fuse], [fuse >= 2.9.0], [PKG_CHECK_MODULES([fuse], [fuse >= 2.8.0])]) AC_CONFIG_FILES([Makefile \ - src/Makefile \ - tests/Makefile \ - tests/internals/Makefile]) + src/Makefile \ + tests/Makefile \ + tests/internals/Makefile]) AC_OUTPUT |