version 1.1, 2012/02/21 22:57:49
|
version 1.1.1.3, 2021/03/17 13:38:46
|
Line 1
|
Line 1
|
# progtest.m4 serial 6 (gettext-0.18) | # progtest.m4 serial 7 (gettext-0.18.2) |
dnl Copyright (C) 1996-2003, 2005, 2008, 2009 Free Software Foundation, Inc. | dnl Copyright (C) 1996-2003, 2005, 2008-2019 Free Software Foundation, Inc. |
dnl This file is free software; the Free Software Foundation |
dnl This file is free software; the Free Software Foundation |
dnl gives unlimited permission to copy and/or distribute it, |
dnl gives unlimited permission to copy and/or distribute it, |
dnl with or without modifications, as long as this notice is preserved. |
dnl with or without modifications, as long as this notice is preserved. |
dnl |
dnl |
dnl This file can can be used in projects which are not available under | dnl This file can be used in projects which are not available under |
dnl the GNU General Public License or the GNU Library General Public |
dnl the GNU General Public License or the GNU Library General Public |
dnl License but which still want to provide support for the GNU gettext |
dnl License but which still want to provide support for the GNU gettext |
dnl functionality. |
dnl functionality. |
dnl Please note that the actual code of the GNU gettext library is covered |
dnl Please note that the actual code of the GNU gettext library is covered |
dnl by the GNU Library General Public License, and the rest of the GNU |
dnl by the GNU Library General Public License, and the rest of the GNU |
dnl gettext package package is covered by the GNU General Public License. | dnl gettext package is covered by the GNU General Public License. |
dnl They are *not* in the public domain. |
dnl They are *not* in the public domain. |
|
|
dnl Authors: |
dnl Authors: |
Line 27 AC_DEFUN([AM_PATH_PROG_WITH_TEST],
|
Line 27 AC_DEFUN([AM_PATH_PROG_WITH_TEST],
|
# Prepare PATH_SEPARATOR. |
# Prepare PATH_SEPARATOR. |
# The user is always right. |
# The user is always right. |
if test "${PATH_SEPARATOR+set}" != set; then |
if test "${PATH_SEPARATOR+set}" != set; then |
echo "#! /bin/sh" >conf$$.sh | # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which |
echo "exit 0" >>conf$$.sh | # contains only /bin. Note that ksh looks also at the FPATH variable, |
chmod +x conf$$.sh | # so we have to set that as well for the test. |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | PATH_SEPARATOR=: |
PATH_SEPARATOR=';' | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
else | && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ |
PATH_SEPARATOR=: | || PATH_SEPARATOR=';' |
fi | } |
rm -f conf$$.sh | |
fi |
fi |
|
|
# Find out how to test for executable files. Don't use a zero-byte file, |
# Find out how to test for executable files. Don't use a zero-byte file, |