1 --- edb-1.0.5/configure.in.orig 2004-07-13 06:02:42.000000000 +0200
2 +++ edb-1.0.5/configure.in 2004-10-27 23:52:20.952292416 +0200
7 -dnl This is where we handle stuff that autoconf can't handle: compiler,
8 -dnl preprocessor and load flags, libraries that the standard tests don't
9 -dnl look for. The default optimization is -O.
12 -dnl Don't override anything if it's already set from the environment.
16 -dnl AC_SUBST(CXXFLAGS)
19 -aix4.1*) CFLAGS=${CFLAGS-"-O3"};;
20 -bsd4.4) CFLAGS=${CFLAGS-"-O2"};;
21 -bsdi4*) CFLAGS=${CFLAGS-"-O2"};;
22 -bsdi*) CC=${CC-"shlicc2"}
23 - CFLAGS=${CFLAGS-"-O2"}
24 - LIBS="-lipc $LIBS";;
25 -irix*) CFLAGS=${CFLAGS-"-O2"};;
26 -nextstep3) CFLAGS=${CFLAGS-"-O2"};;
27 -linux*) CFLAGS=${CFLAGS-"-O2"};;
28 -mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS"
29 - LIBS="-lsocket -lsvipc $LIBS";;
30 -sco*) CFLAGS="$CFLAGS -b elf"
31 - LIBS="-lsocket -lnsl $LIBS";;
32 -*) CFLAGS=${CFLAGS-"-O"};;
34 -CXXFLAGS=${CXXFLAGS-"$CFLAGS"}
36 -dnl Optional C++ API..
39 -dnl Versions of GCC up to 2.8.0 required -fhandle-exceptions, but it is
40 -dnl the default in versions 2.8.0 and after.
41 -dnl AC_MSG_CHECKING(if --enable-cxx option specified)
42 -dnl AC_ARG_ENABLE(cxx,
43 -dnl [ --enable-cxx Provide C++ interfaces.],
44 -dnl [db_cv_cxx="$enable_cxx"], [db_cv_cxx="no"])
45 -dnl AC_MSG_RESULT($db_cv_cxx)
46 -dnl if test "$db_cv_cxx" = "yes"; then
49 -dnl if test "$GXX" = "yes"; then
50 -dnl CXXFLAGS="-fhandle-exceptions $CXXFLAGS"
53 -dnl AC_LIBOBJ="$AC_LIBOBJ \$(COBJS)"
56 dnl There are additional libraries we need for some compiler/architecture
68 +AC_CONFIG_COMMANDS([default],
69 + [chmod +x edb-config])
70 --- edb-1.0.5/src/os_stat.c.orig 2001-04-05 18:31:35.000000000 +0200
71 +++ edb-1.0.5/src/os_stat.c 2004-10-27 23:52:51.401663408 +0200
73 * Check for a 0 size -- the HP MPE/iX architecture has st_blksize,
76 -#ifdef HAVE_ST_BLKSIZE
77 +#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
78 if (iosizep != NULL && (*iosizep = sb.st_blksize) == 0)
79 *iosizep = DB_DEF_IOSIZE;