version 1.3, 2020/01/08 17:10:53 |
version 1.5, 2022/09/07 03:17:44 |
|
|
dnl $OpenXM: OpenXM_contrib2/asir2018/configure.ac,v 1.2 2019/11/12 10:53:22 kondoh Exp $ |
dnl $OpenXM: OpenXM_contrib2/asir2018/configure.ac,v 1.4 2020/01/09 02:34:59 ohara Exp $ |
|
|
AC_INIT(asir,1.16) |
AC_INIT(asir,1.16) |
AC_CONFIG_SRCDIR([LICENSE]) |
AC_CONFIG_SRCDIR([LICENSE]) |
|
|
|
|
AC_PATH_XTRA |
AC_PATH_XTRA |
|
|
AC_ARG_ENABLE([shared], |
AC_ARG_ENABLE([static_asir], |
[ --enable-shared enable linking shared libraries. [[no]]], |
[ --enable-static-asir force to link statically with libasir. [[yes]]], |
[enable_shared=yes],[enable_shared=no]) |
[enable_static_asir=${enableval}],[enable_static_asir=yes]) |
|
AM_CONDITIONAL([ASIR_STATIC],[test "${enable_static_asir}" = yes]) |
|
|
if test "${enable_shared:=no}" != no ; then |
|
true |
|
fi |
|
|
|
if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then |
if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then |
if test "${ac_cv_prog_cc_g}" = yes; then |
if test "${ac_cv_prog_cc_g}" = yes; then |
CFLAGS="-g -O" |
CFLAGS="-g -O" |
Line 95 if test ${enable_interval:=no} != no ; then |
|
Line 92 if test ${enable_interval:=no} != no ; then |
|
fi |
fi |
fi |
fi |
|
|
dnl AC_ARG_ENABLE([fep], |
AC_ARG_ENABLE([fep], |
dnl [ --enable-fep enable fep for human interfaces. [[no]]], |
[ --enable-fep enable fep for human interfaces. [[no]]], |
dnl [enable_fep=yes],[enable_fep=no]) |
[enable_fep=yes],[enable_fep=no]) |
|
|
if test "${enable_fep:=no}" != no ; then |
if test "${enable_fep:=no}" != no ; then |
AC_DEFINE([FEP]) |
AC_DEFINE([FEP]) |
FEPLIB="-lreadline -ltermcap" |
FEPLIB="-L${prefix}/lib -ledit" |
fi |
fi |
AC_SUBST([FEPLIB]) |
AC_SUBST([FEPLIB]) |
|
|