~ubuntu-branches/ubuntu/vivid/gss/vivid-proposed

« back to all changes in this revision

Viewing changes to m4/progtest.m4

  • Committer: Package Import Robot
  • Author(s): Simon Josefsson
  • Date: 2014-10-09 15:51:38 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20141009155138-50b2mr1qsqcln38w
Tags: 1.0.3-1
* New upstream version.
  - Drop unnecessary Debian patches.
* Update standards version to 3.9.6.
* Improve copyright file.
* Use DEP3 patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# progtest.m4 serial 6 (gettext-0.18)
2
 
dnl Copyright (C) 1996-2003, 2005, 2008-2010 Free Software Foundation, Inc.
 
1
# progtest.m4 serial 7 (gettext-0.18.2)
 
2
dnl Copyright (C) 1996-2003, 2005, 2008-2014 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
5
5
dnl with or without modifications, as long as this notice is preserved.
27
27
# Prepare PATH_SEPARATOR.
28
28
# The user is always right.
29
29
if test "${PATH_SEPARATOR+set}" != set; then
30
 
  echo "#! /bin/sh" >conf$$.sh
31
 
  echo  "exit 0"   >>conf$$.sh
32
 
  chmod +x conf$$.sh
33
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34
 
    PATH_SEPARATOR=';'
35
 
  else
36
 
    PATH_SEPARATOR=:
37
 
  fi
38
 
  rm -f conf$$.sh
 
30
  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
 
31
  # contains only /bin. Note that ksh looks also at the FPATH variable,
 
32
  # so we have to set that as well for the test.
 
33
  PATH_SEPARATOR=:
 
34
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
 
35
    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
 
36
           || PATH_SEPARATOR=';'
 
37
       }
39
38
fi
40
39
 
41
40
# Find out how to test for executable files. Don't use a zero-byte file,