summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 00234a5eb839d6d386d248551fd3ebf81996009d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
AC_INIT([productviewer], [0.0], [pt@darapsa.co.id])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CC
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 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