-
Notifications
You must be signed in to change notification settings - Fork 300
/
configure.in
33 lines (28 loc) · 971 Bytes
/
configure.in
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
27
28
29
30
31
32
33
dnl Copyright (c) 1991-2016 Kawahara Lab., Kyoto University
dnl Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology
dnl Copyright (c) 2005-2016 Julius project team, Nagoya Institute of Technology
dnl All rights reserved
dnl
AC_INIT(Sample.jconf)
AC_CONFIG_AUX_DIR(support)
AC_CONFIG_SUBDIRS(adintool mkgshmm gramtools jcontrol mkbingram julius libjulius libsent)
dnl all configure options will be passed to all subdirectries.
AC_CANONICAL_HOST
AC_MSG_CHECKING([host specific optimization flag])
if test -z "$CFLAGS" ; then
OPTFLAG=support/cflags.${host_cpu}-${host_vendor}-${host_os}
if test -f "$OPTFLAG" ; then
. $OPTFLAG
AC_MSG_RESULT([$OPTFLAG])
else
AC_MSG_RESULT([no])
fi
else
AC_MSG_RESULT([skipped])
fi
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PATH_PROG(RM, rm)
AC_EXEEXT
AC_OUTPUT(Makefile mkbinhmm/Makefile adinrec/Makefile mkss/Makefile generate-ngram/Makefile jclient-perl/Makefile binlm2arpa/Makefile)