3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
6 --- findutils-4.1.20/./configure.in~configure
7 +++ findutils-4.1.20/./configure.in
9 dnl Process this file with autoconf to produce a configure script.
12 +AC_CONFIG_SRCDIR([find/pred.c])
13 AM_CONFIG_HEADER(config.h)
26 AC_MSG_CHECKING(how to get filesystem type)
28 # The order of these tests is important.
29 -AC_TRY_CPP([#include <sys/statvfs.h>
30 -#include <sys/fstyp.h>], AC_DEFINE(FSTYPE_STATVFS, 1, [Define to use SVR4 statvfs to get filesystem type.]) fstype=SVR4)
31 +AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <sys/statvfs.h>
32 +#include <sys/fstyp.h>]])],[AC_DEFINE(FSTYPE_STATVFS, 1, Define to use SVR4 statvfs to get filesystem type.) fstype=SVR4],[])
33 if test $fstype = no; then
34 -AC_TRY_CPP([#include <sys/statfs.h>
35 -#include <sys/fstyp.h>], AC_DEFINE(FSTYPE_USG_STATFS, 1, [Define to use SVR3.2 statfs to get filesystem type.]) fstype=SVR3)
36 +AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <sys/statfs.h>
37 +#include <sys/fstyp.h>]])],[AC_DEFINE(FSTYPE_USG_STATFS, 1, Define to use SVR3.2 statfs to get filesystem type.) fstype=SVR3],[])
39 if test $fstype = no; then
40 -AC_TRY_CPP([#include <sys/statfs.h>
41 -#include <sys/vmount.h>], AC_DEFINE(FSTYPE_AIX_STATFS, 1, [Define to use AIX3 statfs to get filesystem type.]) fstype=AIX)
42 +AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <sys/statfs.h>
43 +#include <sys/vmount.h>]])],[AC_DEFINE(FSTYPE_AIX_STATFS, 1, Define to use AIX3 statfs to get filesystem type.) fstype=AIX],[])
45 if test $fstype = no; then
46 -AC_TRY_CPP([#include <mntent.h>], AC_DEFINE(FSTYPE_MNTENT, 1, [Define to use 4.3BSD getmntent to get filesystem type.]) fstype=4.3BSD)
47 +AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <mntent.h>]])],[AC_DEFINE(FSTYPE_MNTENT, 1, Define to use 4.3BSD getmntent to get filesystem type.) fstype=4.3BSD],[])
49 if test $fstype = no; then
50 AC_EGREP_HEADER(f_type;, sys/mount.h, AC_DEFINE(FSTYPE_STATFS, 1, [Define to use 4.4BSD and OSF1 statfs to get filesystem type.]) fstype=4.4BSD/OSF1)
52 if test $fstype = no; then
53 -AC_TRY_CPP([#include <sys/mount.h>
54 -#include <sys/fs_types.h>], AC_DEFINE(FSTYPE_GETMNT, 1, [Define to use Ultrix getmnt to get filesystem type.]) fstype=Ultrix)
55 +AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <sys/mount.h>
56 +#include <sys/fs_types.h>]])],[AC_DEFINE(FSTYPE_GETMNT, 1, Define to use Ultrix getmnt to get filesystem type.) fstype=Ultrix],[])
58 AC_MSG_RESULT($fstype)
61 # the ANSI2KNR-filtering rules.
62 #LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
63 AC_CONFIG_SUBDIRS(gnulib)
66 +AC_CONFIG_FILES([Makefile
67 find/Makefile find/testsuite/Makefile
68 xargs/Makefile xargs/testsuite/Makefile
69 locate/Makefile locate/testsuite/Makefile
70 intl/Makefile po/Makefile.in po/Makefile
71 doc/Makefile lib/Makefile
75 --- findutils-4.1.20/./gnulib/configure.ac~configure
76 +++ findutils-4.1.20/./gnulib/configure.ac
78 # Process this file with autoconf to produce a configure script.
83 AM_CONFIG_HEADER(config.h)
88 -AC_OUTPUT([Makefile lib/Makefile m4/Makefile po/Makefile])
89 +AC_CONFIG_FILES([Makefile lib/Makefile m4/Makefile po/Makefile])