summaryrefslogtreecommitdiff
path: root/configure.in
blob: 33b332ec46fa12c21016ee1797c5aacac4bbefba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
AC_INIT(configure.in)

AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(ext4magic, 0.1.4)

AC_LANG_C
AC_PROG_CC
AM_PROG_LIBTOOL
AC_ARG_ENABLE(debug,[  --enable-debug            Turn on debugging ],
         [if test "$GCC" = "yes"; then CPPFLAGS="$CPPFLAGS -DDEBUG"; fi])
AC_ARG_ENABLE(file-attr,[  --enable-file-attr            enable restore of file attribute ],
         [if test "$GCC" = "yes"; then CPPFLAGS="$CPPFLAGS -DFILE_ATTR"; fi])

AC_OUTPUT(Makefile src/Makefile)