~ubuntu-branches/ubuntu/trusty/autoconf/trusty

« back to all changes in this revision

Viewing changes to bin/autoscan.in

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-07-29 11:17:05 UTC
  • mfrom: (4.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090729111705-3td457z1tmjztz4w
Tags: 2.64-1ubuntu1
* Merge from debian unstable, remaining changes: LP: #406182
  - bin/autoreconf.in: Check whether libtoolize supports --install, if it
    does, libtoolize is safe to run at all times since it will not install
    new files unless --install is passed to it as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
# autoscan - Create configure.scan (a preliminary configure.ac) for a package.
6
6
# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
7
 
#  2007, 2008 Free Software Foundation, Inc.
 
7
# 2007, 2008, 2009 Free Software Foundation, Inc.
8
8
 
9
9
# This program is free software: you can redistribute it and/or modify
10
10
# it under the terms of the GNU General Public License as published by
28
28
 
29
29
BEGIN
30
30
{
31
 
  my $datadir = $ENV{'autom4te_perllibdir'} || '@datadir@';
32
 
  unshift @INC, $datadir;
 
31
  my $pkgdatadir = $ENV{'autom4te_perllibdir'} || '@pkgdatadir@';
 
32
  unshift @INC, $pkgdatadir;
33
33
 
34
34
  # Override SHELL.  On DJGPP SHELL may not be set to a shell
35
35
  # that can handle redirection and quote arguments correctly,
97
97
my $autom4te = $ENV{'AUTOM4TE'} || '@bindir@/@autom4te-name@';
98
98
my $autoconf = "$autom4te --language=autoconf";
99
99
my @prepend_include;
100
 
my @include = ('@datadir@');
 
100
my @include = ('@pkgdatadir@');
101
101
 
102
102
# $help
103
103
# -----
118
118
  -B, --prepend-include=DIR  prepend directory DIR to search path
119
119
  -I, --include=DIR          append directory DIR to search path
120
120
 
121
 
Report bugs to <bug-autoconf\@gnu.org>.\n";
 
121
Report bugs to <bug-autoconf\@gnu.org>.
 
122
GNU Autoconf home page: <http://www.gnu.org/software/autoconf/>.
 
123
General help using GNU software: <http://www.gnu.org/gethelp/>.
 
124
";
122
125
 
123
126
# $version
124
127
# --------