summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGravatar aeb 2000-05-28 21:00:56 +0000
committerGravatar aeb 2000-05-28 21:00:56 +0000
commit8942a29ac1c6b575e0eb93d903097be60c2276e2 (patch)
treefba2bad931759dd0d79217041e8de955ba0cfdb3 /configure.in
parentFixed missing setting of ext code in raw1394_start_lock() (diff)
Added support for environments with 64 bit kernel and 32 bit userland.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@26 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f071944..a579257 100644
--- a/configure.in
+++ b/configure.in
@@ -2,8 +2,22 @@
AC_INIT(Makefile.am)
AM_INIT_AUTOMAKE(libraw1394, 0.6)
+AM_CONFIG_HEADER(config.h)
+
+# AC_CANONICAL_HOST
AC_PROG_CC
AM_PROG_LIBTOOL
+
+AC_ARG_ENABLE(32-64,
+ [ --enable-32-64 support systems with 64 bit kernel and 32 bit userland],
+ [
+case $enableval in
+yes) AC_DEFINE(KERNEL64_USER32) ;;
+no) ;;
+*) AC_MSG_ERROR([ Invalid arg for --enable-32-64 ])
+esac
+ ])
+
AC_OUTPUT([ Makefile src/Makefile debian/Makefile ])