Repaired broken macro settings during Linux build

This commit is contained in:
Thomas Schmitt 2006-11-01 17:19:37 +00:00
parent 9fae02f628
commit 75f5dffa17
4 changed files with 13 additions and 13 deletions

View File

@ -3,5 +3,8 @@
aclocal aclocal
libtoolize --copy --force libtoolize --copy --force
autoconf autoconf
autoheader
# ts A61101 : libburn is not prepared for config.h
# autoheader
automake --foreign --add-missing --copy --include-deps automake --foreign --add-missing --copy --include-deps

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2006.11.01.163934" #define Cdrskin_timestamP "2006.11.01.172004"

View File

@ -7,7 +7,11 @@ AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([subdir-objects]) AM_INIT_AUTOMAKE([subdir-objects])
AM_CONFIG_HEADER(config.h) dnl A61101 This breaks Linux build (makes 32 bit off_t)
dnl http://sourceware.org/autobook/autobook/autobook_96.html says
dnl one must include some config.h and this was a pitfall.
dnl So why dig the pit at all ?
dnl AM_CONFIG_HEADER(config.h)
dnl Making releases: dnl Making releases:
dnl BURN_MICRO_VERSION += 1; dnl BURN_MICRO_VERSION += 1;

View File

@ -35,17 +35,10 @@
*/ */
/* We shall prepare for times when more than 2 GB of data are to be handled.
This gives POSIX-ly 64 bit off_t */
#ifndef _LARGEFILE_SOURCE
#define _LARGEFILE_SOURCE 1
#endif
#ifndef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 64
#endif
/** See this for the decisive API specs . libburn.h is The Original */ /** See this for the decisive API specs . libburn.h is The Original */
#include <libburn/libburn.h> /* For using the installed header file : #include <libburn/libburn.h> */
/* This program insists in the own headerfile. */
#include "../libburn/libburn.h"
/* libburn is intended for Linux systems with kernel 2.4 or 2.6 for now */ /* libburn is intended for Linux systems with kernel 2.4 or 2.6 for now */
#include <stdio.h> #include <stdio.h>