summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-02-06 18:52:21 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-02-06 18:52:21 +0800
commitcdf0ef4b97b68b00abb1049487d87ca9c394bae6 (patch)
tree4a896dd2a0b8621b66cccc6030d6190bcf96ab02 /configure.ac
parent58633ffee0f7b191d1e27d878bd196f056380155 (diff)
Reorder to closer to standard layout
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac18
1 files changed, 9 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 1fd249c..00234a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,26 +1,26 @@
AC_INIT([productviewer], [0.0], [pt@darapsa.co.id])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CC
-AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile])
-AC_TYPE_SIZE_T
-AC_CHECK_FUNCS([strrchr memset])
AM_PROG_AR
LT_INIT
+AC_CHECK_FUNCS([strrchr memset])
+AC_TYPE_SIZE_T
AC_CANONICAL_HOST
case $host_vendor in
*apple* ) apple=true;;
*) apple=false;;
esac
AM_CONDITIONAL([APPLE], [test x$apple = xtrue])
-case $host_cpu in
- *wasm* ) wasm=true;;
- *) wasm=false;;
-esac
-AM_CONDITIONAL([WASM], [test x$wasm = xtrue])
case $host in
*arm*apple-darwin1* ) ios=true;;
*) ios=false;;
esac
AM_CONDITIONAL([IOS], [test x$ios = xtrue])
+case $host_cpu in
+ *wasm* ) wasm=true;;
+ *) wasm=false;;
+esac
+AM_CONDITIONAL([WASM], [test x$wasm = xtrue])
+AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_FILES([Makefile])
AC_OUTPUT