]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/findutils/findutils-4.1.20/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / findutils / findutils-4.1.20 / configure.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- findutils-4.1.20/./configure.in~configure
7 +++ findutils-4.1.20/./configure.in
8 @@ -1,5 +1,6 @@
9  dnl Process this file with autoconf to produce a configure script.
10 -AC_INIT(find/pred.c)
11 +AC_INIT
12 +AC_CONFIG_SRCDIR([find/pred.c])
13  AM_CONFIG_HEADER(config.h)
14  AC_CANONICAL_HOST
15  
16 @@ -23,7 +24,7 @@
17  AC_AIX
18  AC_MINIX
19  AC_ISC_POSIX
20 -AC_PROG_CC_STDC
21 +
22  AM_C_PROTOTYPES
23  AC_PROG_INSTALL
24  AC_PROG_RANLIB
25 @@ -48,25 +49,25 @@
26  AC_MSG_CHECKING(how to get filesystem type)
27  fstype=no
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],[])
38  fi
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],[])
44  fi
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],[])
48  fi
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)
51  fi
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],[])
57  fi
58  AC_MSG_RESULT($fstype)
59  
60 @@ -105,11 +106,11 @@
61  # the ANSI2KNR-filtering rules.
62  #LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
63  AC_CONFIG_SUBDIRS(gnulib)
64 -AC_OUTPUT(
65 -       Makefile 
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
72 -       )
73 +       ])
74 +AC_OUTPUT
75 --- findutils-4.1.20/./gnulib/configure.ac~configure
76 +++ findutils-4.1.20/./gnulib/configure.ac
77 @@ -1,5 +1,5 @@
78  # Process this file with autoconf to produce a configure script.
79 -AC_INIT(dummy,0)
80 +AC_INIT([dummy],[0])
81  AM_INIT_AUTOMAKE
82  
83  AM_CONFIG_HEADER(config.h)
84 @@ -95,4 +95,5 @@
85  gl_YESNO
86  
87  
88 -AC_OUTPUT([Makefile lib/Makefile m4/Makefile po/Makefile])
89 +AC_CONFIG_FILES([Makefile lib/Makefile m4/Makefile po/Makefile])
90 +AC_OUTPUT