From: nu774 Date: Sat, 5 Jan 2013 05:20:23 +0000 (+0900) Subject: tweak configure.ac and Makefile.am X-Git-Tag: v0.0.3~1 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=bae3489b9131af192a438fa12695c1a0828143c3;p=fdkaac.git tweak configure.ac and Makefile.am --- diff --git a/Makefile.am b/Makefile.am index 438b7af..980c751 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,18 +1,18 @@ ACLOCAL_AMFLAGS = -I m4 -EXTRA_DIST = COPYING +AUTOMAKE_OPTIONS = subdir-objects bin_PROGRAMS = fdkaac fdkaac_SOURCES = \ - src/aacenc.c \ - src/lpcm.c \ - src/m4af.c \ - src/main.c \ - src/progress.c \ - src/wav_reader.c + src/aacenc.c \ + src/lpcm.c \ + src/m4af.c \ + src/main.c \ + src/progress.c \ + src/wav_reader.c fdkaac_LDADD = \ - @LIBICONV@ -lm + @LIBICONV@ -lm if FDK_PLATFORM_POSIX fdkaac_SOURCES += \ @@ -23,3 +23,8 @@ if FDK_PLATFORM_WIN32 fdkaac_SOURCES += \ src/compat_win32.c endif + +EXTRA_DIST = \ + src/*.h \ + missings/*.c \ + missings/*.h diff --git a/configure.ac b/configure.ac index 58bc422..a901b8e 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,7 @@ AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE AC_PROG_CC +AM_PROG_CC_C_O AC_CHECK_HEADERS([getopt.h sys/time.h]) AC_CHECK_HEADERS([localcharset.h langinfo.h endian.h byteswap.h])