[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-stow] configure.in update

From: Alfred M. Szmidt
Subject: [Bug-stow] configure.in update
Date: Mon, 16 Jun 2003 15:55:45 +0200

[if this is a double post, please ignore it]


the following patch rewrites configure.in to be more autoconf 2.5xish.
It also removes autogen.sh, because autoconf 2.5x comes with an
smarter version called autoreconf.  It also changes adds a bug report
address to the usage function, and changes a few autoconf variables.

The new confiugre.ac file is attached since CVS is stupid.  As for the
copyright assigment stuff, I'm unsure if it is needed or not.  If it
is, please tell me since I'll happily assign it to the FSF.

2003-06-14  Alfred M. Szmidt  <address@hidden>

        * autogen.sh: File removed.

        * configure.in: Renamed ...
        * configure.ac: ... to this.

        * configure.ac: Updated for autoconf 2.5x.

        * stow.in (usage): Show bug-report address.
        (Version): Use address@hidden@' instead.
        (version): Use address@hidden@'.

Index: stow.in
RCS file: /cvsroot/stow/stow/stow.in,v
retrieving revision 1.15
diff -u -r1.15 stow.in
--- stow.in     2 Dec 2002 00:16:03 -0000       1.15
+++ stow.in     14 Jun 2003 19:38:27 -0000
@@ -29,7 +29,7 @@
 $ProgramName = $0;
 $ProgramName =~ s,.*/,,;
-$Version = '@VERSION@';
+$Version = '@PACKAGE_VERSION@';
 $Conflicts = 0;
 $Delete = 0;
@@ -495,12 +495,14 @@
   -R, --restow          Restow (like stow -D followed by stow)
   -V, --version         Show Stow version number
   -h, --help            Show this help
+  Report bugs to <@PACKAGE_BUGREPORT@>.
   exit($msg ? 1 : 0);
 sub version {
-  print "$ProgramName (GNU Stow) version $Version\n";
+  print "$ProgramName (@PACKAGE_NAME@) version $Version\n";

===File ~/configure.ac======================================
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_INIT([GNU stow], [1.3.3pre4], address@hidden)

# Checks for programs.
AC_PATH_PROGS(PERL, perl perl5, false)
if test "x$PERL" = xfalse; then
  echo 'WARNING: Perl not found; you must edit line 1 of `stow'"'"

# Checks for libraries.

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_CONFIG_FILES([Makefile stow])

reply via email to

[Prev in Thread] Current Thread [Next in Thread]