~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to cf/instdirs.ac

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
dnl
21
21
dnl You should have received a copy of the GNU Library General Public License
22
22
dnl along with the file PLplot; if not, write to the Free Software
23
 
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
 
23
dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
24
24
 
25
25
test -z "$DATA_DIR" && DATA_DIR='${datadir}/${PACKAGE}${VERSION}'
26
26
AC_SUBST(DATA_DIR)
43
43
test -z "$DOC_DIR" && DOC_DIR='${datadir}/doc/plplot'
44
44
AC_SUBST(DOC_DIR)
45
45
 
46
 
BUILD_DIR=`pwd`
 
46
# On some systems pwd produces a logical path rather than 
 
47
# a physical path which is different to getcwd, which always
 
48
# returns a physical path. Try to work around this.
 
49
 
 
50
if test -x "/bin/pwd" ; then
 
51
  BUILD_DIR=`/bin/pwd`
 
52
elif pwd -P ; then
 
53
  BUILD_DIR=`pwd -P`
 
54
else
 
55
  BUILD_DIR=`pwd`
 
56
fi
47
57
AC_SUBST(BUILD_DIR)
48
58
 
49
59
# The following *_CMD variables are needed in examples/*/Makefile.examples.in