Skip to content

Commit

Permalink
configure: update AM_INIT_AUTOMAKE
Browse files Browse the repository at this point in the history
Problem: The current use of AM_INIT_AUTOMAKE is obsolete.

Update usage of AM_INIT_AUTOMAKE, but there are many fallouts from this.

Update AC_INIT to specify project version.
Remove use of META file, AC_META, and remove ac_meta.m4.
Update use of macros in gendersllnl.spec.in.
  • Loading branch information
chu11 committed Aug 27, 2023
1 parent ce7ca8f commit ca29eff
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 46 deletions.
9 changes: 0 additions & 9 deletions META

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ DISTCHECK_CONFIGURE_FLAGS = --with-perl-destdir=$$dc_install_base

SUBDIRS = src man dist compat

EXTRA_DIST = META DISCLAIMER DISCLAIMER.UC gendersllnl.spec
EXTRA_DIST = DISCLAIMER DISCLAIMER.UC gendersllnl.spec
31 changes: 0 additions & 31 deletions config/ac_meta.m4

This file was deleted.

5 changes: 2 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@
##
# Prologue.
##
AC_INIT([gendersllnl])
AC_META
AC_INIT([gendersllnl],[1.20.1])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_SRCDIR([README])
AC_CANONICAL_TARGET

##
# Automake support.
##
AM_INIT_AUTOMAKE($PROJECT, $VERSION)
AM_INIT_AUTOMAKE([tar-ustar subdir-objects])
AC_CONFIG_HEADERS([config/config.h])
AM_MAINTAINER_MODE

Expand Down
4 changes: 2 additions & 2 deletions gendersllnl.spec.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: @PROJECT@
Name: @PACKAGE@
Version: @VERSION@
Release: @RELEASE@
Release: 1
Summary: LLNL site specific genders libraries
Group: System Environment/Base
License: GPL
Expand Down

0 comments on commit ca29eff

Please sign in to comment.