summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac11
-rw-r--r--src/Makefile.am16
2 files changed, 14 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index 9f44ecf..cf717c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,9 @@
-AC_PREREQ([2.69])
-AC_INIT([libaes], [0.0.2], [rosenhauer@dkrz.de])
+AC_PREREQ([2.68])
+AC_INIT([libaec], [0.0.2], [rosenhauer@dkrz.de])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])
-AC_CONFIG_SRCDIR([src/libae.h])
+AC_CONFIG_SRCDIR([src/libaec.h])
AC_CONFIG_HEADERS(config/config.h)
LT_INIT
@@ -15,7 +15,7 @@ AC_PROG_CC
AC_PROG_CXX
# Checks for libraries.
-AC_CHECK_LIB([ae], [ae_decode])
+AC_CHECK_LIB([aec], [aec_decode])
# Checks for header files.
AC_CHECK_HEADERS([inttypes.h stddef.h stdlib.h string.h unistd.h])
@@ -35,3 +35,6 @@ AC_CHECK_FUNCS([memset strstr])
AC_CONFIG_FILES([Makefile
src/Makefile])
AC_OUTPUT
+
+# Checks compilers and preprocessors
+AC_C_BIGENDIAN
diff --git a/src/Makefile.am b/src/Makefile.am
index 5c13dee..ac90e8b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,14 +1,12 @@
-lib_LTLIBRARIES = libae-0.0.la
-libae_0_0_la_SOURCES = aee.c aee_accessors.c aed.c aee.h aee_accessors.h sz_compat.c
-libae_0_0_la_LDFLAGS = -version-info 0:0
-include_HEADERS = libae.h
+lib_LTLIBRARIES = libaec-0.0.la
+libaec_0_0_la_SOURCES = encode.c encode_accessors.c decode.c encode.h encode_accessors.h sz_compat.c
+libaec_0_0_la_LDFLAGS = -version-info 0:0
+include_HEADERS = libaec.h
-bin_PROGRAMS = encode decode test_szcomp
+bin_PROGRAMS = aec test_szcomp
-encode_LDADD = $(lib_LTLIBRARIES)
-decode_LDADD = $(lib_LTLIBRARIES)
+aec_LDADD = $(lib_LTLIBRARIES)
test_szcomp_LDADD = $(lib_LTLIBRARIES)
-encode_SOURCES = encode.c
-decode_SOURCES = decode.c
+aec_SOURCES = aec.c
test_szcomp_SOURCES = test_szcomp.c