summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartyn Russell <martyn@lanedo.com>2014-07-28 09:30:43 +0100
committerMartyn Russell <martyn@lanedo.com>2014-07-28 09:30:43 +0100
commitfd735974ae44700a16286b1c28576f2bb212e564 (patch)
tree7614a78066118ca5a0cf7383fde02393695d7ac9
parentf868869ff93c56b4d5df0bcd00393adcb03af7a0 (diff)
downloadlibmediaart-fd735974ae44700a16286b1c28576f2bb212e564.tar.gz
build: Updated configure.ac from autoscan suggestions
-rw-r--r--configure.ac20
1 files changed, 5 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac
index a0f7fb3..9d9ffba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -98,18 +98,6 @@ AC_SUBST(LT_CURRENT_MINUS_AGE)
IDT_COMPILE_WARNINGS
-# Checks for programs.
-AC_PROG_CXX
-AC_PROG_AWK
-AC_PROG_CC
-AC_PROG_CPP
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_PROG_MAKE_SET
-AC_PROG_RANLIB
-AC_PROG_MKDIR_P
-AC_PROG_YACC
-
# Initialize libtool
LT_PREREQ([2.2])
LT_INIT([disable-static])
@@ -123,18 +111,20 @@ AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_RANLIB
+AC_PROG_MKDIR_P
+AC_PROG_YACC
# Checks for libraries.
# Checks for header files.
-AC_CHECK_HEADERS([stdlib.h string.h unistd.h utime.h])
+AC_CHECK_HEADERS([stdlib.h string.h utime.h])
# Checks for typedefs, structures, and compiler characteristics.
+AC_C_INLINE
AC_TYPE_SIZE_T
# Checks for library functions.
-AC_CHECK_FUNCS([strstr utime])
-
+AC_CHECK_FUNCS([setenv strstr utime])
CFLAGS="$CFLAGS"