From 338c0c9ddf20ee224fe08998eea3dea9cf711ec0 Mon Sep 17 00:00:00 2001 From: darealshinji Date: Thu, 28 Aug 2014 20:03:40 +0200 Subject: revert changes --- configure.ac | 36 +++--------------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/configure.ac b/configure.ac index afecdc5..8ca9ad4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,26 +1,11 @@ -AC_INIT([PatchELF], - m4_esyscmd([echo -n $(cat ./version)]), - [https://github.com/NixOS/patchelf]) - -#AC_CONFIG_HEADERS(config.h) +AC_INIT([patchelf], m4_esyscmd([echo -n $(cat ./version)])) AC_CONFIG_SRCDIR([src/patchelf.cc]) - AC_CONFIG_AUX_DIR([build-aux]) -AM_PROG_CC_C_O AM_INIT_AUTOMAKE([-Wall -Werror dist-bzip2 foreign color-tests parallel-tests]) -# Checks for programs. -AC_CHECK_PROG(STRIP, strip, [$(which strip) --verbose]) -AC_CHECK_PROG(MD5SUM, md5sum, [$(which md5sum)]) # used for tests/backup.sh +AM_PROG_CC_C_O AC_PROG_CXX -AC_PROG_LN_S -AC_PROG_MAKE_SET -# Checks for header files. -AC_HEADER_STDC -AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h unistd.h], [], [exit 1], []) - -# Checks for libraries. AC_CHECK_HEADERS([attr/libattr.h attr/error_context.h]) AC_SEARCH_LIBS(attr_copy_file, attr) AC_CHECK_FUNCS([attr_copy_file]) @@ -29,20 +14,5 @@ AC_CHECK_HEADERS([sys/acl.h acl/libacl.h]) AC_SEARCH_LIBS(perm_copy_file, acl) AC_CHECK_FUNCS([perm_copy_file]) -# Checks for typedefs, structures, and compiler characteristics. -AC_HEADER_STDBOOL -AC_TYPE_MODE_T -AC_TYPE_OFF_T -AC_TYPE_SIZE_T - -# Checks for library functions. -AC_FUNC_ERROR_AT_LINE -AC_FUNC_MALLOC -AC_CHECK_FUNCS([memmove memset strchr]) - -AC_CONFIG_FILES([Makefile \ - src/Makefile \ - tests/Makefile \ - patchelf.spec - ]) +AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile patchelf.spec]) AC_OUTPUT -- cgit v0.12