diff options
author | Bernhard Walle <bernhard@bwalle.de> | 2012-04-07 21:04:58 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-04-08 09:35:47 +0200 |
commit | bb253194dfeff6c212d7a5081f3e7cc105226cc6 (patch) | |
tree | 3e8d0aaac970da52ef46ab3530f2b6737bb62688 | |
parent | 48f85540c8b68255d0b8db1a3ff9f2d3326e8708 (diff) | |
download | ptxdist-bb253194dfeff6c212d7a5081f3e7cc105226cc6.tar.gz ptxdist-bb253194dfeff6c212d7a5081f3e7cc105226cc6.tar.xz |
configure.ac: Check for GNU find
One of the specialities of GNU find over BSD find is that you can omit
the path before providing options. This means that "find -name bla" is
equivalent with "find . -name bla". Busybox exposes that behaviour.
So check for GNU find to be on the safe side, and also add the symlink
in the installation directory once we found it.
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | Makefile.in | 1 | ||||
-rwxr-xr-x | configure.ac | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 17a6ce6e2..83824023f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -54,6 +54,7 @@ environment: @ln -sf @GNU_stat@ "$(abs_srcdir)/bin/stat" @ln -sf @GNU_mknod@ "$(abs_srcdir)/bin/mknod" @ln -sf @GNU_tar@ "$(abs_srcdir)/bin/tar" + @ln -sf @GNU_find@ "$(abs_srcdir)/bin/find" @ln -sf @GNU_readlink@ "$(abs_srcdir)/bin/readlink" @ln -sf @PYTHON@ "$(abs_srcdir)/bin/python" @ln -sf @SED@ "$(abs_srcdir)/bin/sed" diff --git a/configure.ac b/configure.ac index 78597cc4e..44c244831 100755 --- a/configure.ac +++ b/configure.ac @@ -148,6 +148,7 @@ GNU_TOOL(stat, coreutils) GNU_TOOL(mknod, coreutils) GNU_TOOL(readlink, coreutils) GNU_TOOL(tar, tar) +GNU_TOOL(find, findutils) dnl Check for egrep AC_PROG_EGREP |