1999-12-02 18:07:38 -05:00
|
|
|
# process this file with autoconf to get a configure script
|
|
|
|
|
2009-01-15 00:34:04 -05:00
|
|
|
AC_INIT(libraw1394, 2.0.1)
|
2004-10-30 18:49:27 -04:00
|
|
|
AC_CONFIG_SRCDIR(src/raw1394.h)
|
2000-05-28 17:00:56 -04:00
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
|
2004-10-30 18:49:27 -04:00
|
|
|
dnl Checking if the NEWS file has been updated to reflect the current version.
|
|
|
|
AM_INIT_AUTOMAKE(check-news)
|
|
|
|
|
1999-12-02 18:07:38 -05:00
|
|
|
AC_PROG_CC
|
2004-10-30 18:49:27 -04:00
|
|
|
AC_PROG_LIBTOOL
|
2000-06-11 13:48:43 -04:00
|
|
|
AC_PROG_INSTALL
|
1999-12-02 18:07:38 -05:00
|
|
|
|
2000-09-10 18:18:49 -04:00
|
|
|
AC_CHECK_SIZEOF(void *, 8)
|
2001-01-18 20:11:48 -05:00
|
|
|
AC_C_CONST
|
|
|
|
AC_C_BIGENDIAN
|
2000-09-10 18:18:49 -04:00
|
|
|
|
2000-06-22 12:22:00 -04:00
|
|
|
# set the libtool so version numbers
|
2008-04-23 20:44:36 -04:00
|
|
|
lt_major=11
|
2009-01-15 00:34:04 -05:00
|
|
|
lt_revision=1
|
2008-07-18 04:08:30 -04:00
|
|
|
lt_age=0
|
2000-06-22 12:22:00 -04:00
|
|
|
|
|
|
|
AC_SUBST(lt_major)
|
|
|
|
AC_SUBST(lt_revision)
|
|
|
|
AC_SUBST(lt_age)
|
|
|
|
|
2007-05-30 01:11:30 -04:00
|
|
|
dnl Check to see if valgrind is available
|
|
|
|
AC_ARG_WITH(valgrind, AC_HELP_STRING([--with-valgrind],[compile with valgrind support]))
|
|
|
|
if test x$with_valgrind = xyes ; then
|
|
|
|
AC_CHECK_HEADERS(valgrind/valgrind.h)
|
2008-04-22 13:54:00 -04:00
|
|
|
fi
|
2008-04-22 13:51:50 -04:00
|
|
|
|
2008-04-23 20:44:36 -04:00
|
|
|
AC_ARG_WITH(fw-dir,[ --with-fw-dir=<dir> Path to kernel firewire headers])
|
|
|
|
if ! test -z "$with_fw_dir" ; then
|
|
|
|
FW_DIR="$with_fw_dir"
|
|
|
|
AC_SUBST(FW_DIR)
|
2007-05-30 01:11:30 -04:00
|
|
|
fi
|
2007-03-26 16:49:12 -04:00
|
|
|
|
|
|
|
AC_ARG_WITH(fw-device-prefix,
|
|
|
|
[ --with-fw-device-prefix=<prefix> Prefix of firewire device file names (default "fw").],
|
|
|
|
[FW_DEVICE_PREFIX="\"$withval\""], [FW_DEVICE_PREFIX="\"fw\""])
|
|
|
|
AC_ARG_WITH(fw-device-dir,
|
|
|
|
[ --with-fw-device-dir=<dir> Directory to watch for firewire device files (default "/dev").],
|
|
|
|
[FW_DEVICE_DIR="\"$withval\""], [FW_DEVICE_DIR="\"/dev\""])
|
|
|
|
|
|
|
|
AC_DEFINE_UNQUOTED(FW_DEVICE_PREFIX, $FW_DEVICE_PREFIX,
|
|
|
|
[Prefix of firewire device file names.])
|
|
|
|
AC_DEFINE_UNQUOTED(FW_DEVICE_DIR, $FW_DEVICE_DIR,
|
|
|
|
[Directory to watch for firewire device files.])
|
2000-06-22 12:22:00 -04:00
|
|
|
|
2004-11-10 22:31:20 -05:00
|
|
|
#CFLAGS=${CFLAGS:-"-Wall"}
|
2001-02-27 20:21:15 -05:00
|
|
|
AC_OUTPUT([
|
|
|
|
Makefile
|
2003-07-17 13:28:56 -04:00
|
|
|
libraw1394.pc
|
2004-10-30 18:49:27 -04:00
|
|
|
libraw1394.spec
|
2001-02-27 20:21:15 -05:00
|
|
|
src/Makefile
|
2001-06-07 20:31:12 -04:00
|
|
|
tools/Makefile
|
2001-02-27 20:21:15 -05:00
|
|
|
doc/Makefile
|
|
|
|
doc/testlibraw.1
|
2001-06-07 20:31:12 -04:00
|
|
|
doc/sendiso.1
|
|
|
|
doc/dumpiso.1
|
2001-06-17 11:19:20 -04:00
|
|
|
doc/isodump.5
|
2001-02-27 20:21:15 -05:00
|
|
|
])
|