diff options
| author | 2002-10-13 23:59:46 +0000 | |
|---|---|---|
| committer | 2002-10-13 23:59:46 +0000 | |
| commit | 1673eadd82cc43e9ab54d13dea2231d0798e1c4e (patch) | |
| tree | 51f6de3394c4c276f293e1f01140d78d1d3fa5d9 /configure.ac | |
| parent | Add kernel-doc style documentation headers for most exported functions. (diff) | |
configure.ac:
- Move configure.in to configure.ac (for autoconf 2.50+).
- Set CFLAGS to "-Wall -O2" only if not in environment already.
- Set package version to 1.0.0 already.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@82 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..9f06735 --- /dev/null +++ b/configure.ac @@ -0,0 +1,36 @@ +# process this file with autoconf to get a configure script + +AC_INIT(Makefile.am) +AM_INIT_AUTOMAKE(libraw1394, 1.0.0) +AM_CONFIG_HEADER(config.h) + +AC_PROG_CC +AM_PROG_LIBTOOL +AC_PROG_INSTALL + +AC_CHECK_SIZEOF(void *, 8) +AC_C_CONST +AC_C_BIGENDIAN + +# set the libtool so version numbers +lt_major=5 +lt_revision=0 +lt_age=0 + +AC_SUBST(lt_major) +AC_SUBST(lt_revision) +AC_SUBST(lt_age) + + +CFLAGS=${CFLAGS:-"-Wall -O2"} +AC_OUTPUT([ +Makefile +src/Makefile +tools/Makefile +doc/Makefile +doc/testlibraw.1 +doc/sendiso.1 +doc/dumpiso.1 +doc/isodump.5 +debian/Makefile +]) |
