tweak configure.ac and Makefile.am

This commit is contained in:
nu774 2013-01-05 14:20:23 +09:00
parent f333a45f78
commit bae3489b91
2 changed files with 14 additions and 8 deletions

View File

@ -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

View File

@ -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])