diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-02-02 09:05:14 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-02-02 09:05:14 +0800 |
commit | bdaba2211814832fe18d61abb555ce91c8c45b61 (patch) | |
tree | cbadbe713a2309d8ee52fd12c8f4771b61edaeee | |
parent | 7da97e73384abaf2213b5038e97ae3dbf392e407 (diff) |
Reorder towards a more standard layout
-rw-r--r-- | configure.ac | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index 028b315..0edd8a3 100644 --- a/configure.ac +++ b/configure.ac @@ -3,13 +3,6 @@ AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_PROG_CC AM_PROG_AR LT_INIT -AC_CHECK_HEADER_STDBOOL -AC_C_INLINE -AC_CHECK_FUNCS([memset strstr]) -AC_FUNC_MALLOC -AC_FUNC_REALLOC -AC_TYPE_SIZE_T -AC_TYPE_SSIZE_T AC_CANONICAL_HOST case $host_os in *emscripten* ) emscripten=true;; @@ -18,6 +11,14 @@ esac if test "x$emscripten" = "xfalse"; then PKG_CHECK_MODULES([CURL], [libcurl]) fi +AC_CHECK_HEADERS([stddef.h]) +AC_CHECK_HEADER_STDBOOL +AC_C_INLINE +AC_CHECK_FUNCS([memset strstr]) +AC_FUNC_MALLOC +AC_FUNC_REALLOC +AC_TYPE_SIZE_T +AC_TYPE_SSIZE_T AM_CONDITIONAL([EMSCRIPTEN], [test x$emscripten = xtrue]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile]) |