diff recpt1/configure.ac @ 74:b6607f6e2851

good citizens never use gray code. wise people never watch TV.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 28 Nov 2009 00:12:05 +0900
parents
children 1d1d616cde98
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/recpt1/configure.ac	Sat Nov 28 00:12:05 2009 +0900
@@ -0,0 +1,24 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ(2.59)
+AC_INIT(recpt1, 1.0.0, yaz@honeyplanet.jp)
+AC_CONFIG_SRCDIR([recpt1.c])
+AC_CONFIG_HEADERS([config.h])
+
+# Checks for programs.
+AC_PROG_CC
+AC_PROG_INSTALL
+
+# Checks for b25 support.
+AC_ARG_ENABLE(b25,
+  [AC_HELP_STRING([--enable-b25],[enable b25 support])],
+  [AC_CHECK_LIB([arib25], [create_arib_std_b25], , [AC_MSG_WARN(libarb25 is not available.)], [-lpcsclite])]
+)
+
+# Checks for libraries.
+AC_CHECK_LIB([m], [log10])
+AC_CHECK_LIB([pthread], [pthread_kill])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT