summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGaël Bonithon <gael@xfce.org>2022-01-09 10:59:43 +0100
committerGaël Bonithon <gael@xfce.org>2022-01-09 11:15:37 +0100
commitcb5feb8cf76c7b2009c3d5273461da7d352d6d93 (patch)
tree94d8398c882a0973ba0a80f60315cb288f622512 /configure.ac
parent19dd29632d698360faf0559895b0b03119eb1370 (diff)
downloadtumbler-cb5feb8cf76c7b2009c3d5273461da7d352d6d93.tar.gz
Build: Check for best possible grep, egrep, sed
In particular, $EGREP was introduced in d82e509551db98ff70e47d1990f759948ee7fecd whithout check.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 370506d..9da1472 100644
--- a/configure.ac
+++ b/configure.ac
@@ -96,6 +96,9 @@ AC_PROG_CC()
AM_PROG_CC_C_O()
AC_PROG_INSTALL()
IT_PROG_INTLTOOL([0.35.0], [no-xml])
+AC_PROG_GREP()
+AC_PROG_EGREP()
+AC_PROG_SED()
dnl ***********************
dnl *** Prepare libtool ***
@@ -119,7 +122,7 @@ AC_CHECK_FUNCS([sched_getparam sched_setscheduler getpwnam])
dnl ******************************
dnl *** Check for i18n support ***
dnl ******************************
-linguas=`ls po/*.po | sed s/.po//g | sed sApo/AA | xargs`
+linguas=$(ls po/*.po | $SED s/.po//g | $SED sApo/AA | xargs)
XDT_I18N([$linguas])
dnl *************************