Skip to content

Commit beeb464

Browse files
committed
Remove now-outdated --enable-rpm configure option
1 parent 49ba8bc commit beeb464

File tree

7 files changed

+2
-224
lines changed

7 files changed

+2
-224
lines changed

M2/configure.ac

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ AC_CHECK_PROGS(ETAGS,etags ctags,false)
161161
if test "$ETAGS" = false; then AC_MSG_WARN(without etags no TAGS files will be made); fi
162162
AC_CHECK_PROGS(LINTIAN,lintian,false)
163163
AC_CHECK_PROGS(OTOOL,otool,false)
164-
AC_CHECK_PROGS(RPMLINT,rpmlint,false)
165164
AC_CHECK_PROGS(TAR,gtar gnutar tar,false)
166165
AC_CHECK_PROGS(FIND,gfind find,false)
167166
AC_CHECK_PROGS(OBJDUMP,objdump,false)
@@ -531,17 +530,6 @@ then if test "$OPTIMIZE" = no
531530
fi
532531
fi
533532

534-
AC_SUBST(RPM,no)
535-
AC_ARG_ENABLE(rpm, AS_HELP_STRING(--enable-rpm,prepare a *.rpm package (for red hat based systems)), RPM=$enableval)
536-
if test "$RPM" = yes
537-
then if test "$OPTIMIZE" = no
538-
then AC_MSG_ERROR([--disable-optimize and --enable-rpm both specified])
539-
fi
540-
if test "$DEBUG" = yes
541-
then AC_MSG_ERROR([--enable-debug and --enable-rpm both specified])
542-
fi
543-
fi
544-
545533
AC_SUBST(DMG,no)
546534
AC_ARG_ENABLE(dmg, AS_HELP_STRING(--enable-dmg,prepare a *.dmg package (for Mac OS)), DMG=$enableval)
547535
if test "$DMG" = yes
@@ -1970,8 +1958,6 @@ test "$prefix" || prefix=/usr/local
19701958
# for some distributions, we know what the prefix should be:
19711959
test "$DEB" = yes && test "$prefix" != /usr &&
19721960
AC_MSG_ERROR(--enable-deb specified and --prefix not set to /usr)
1973-
test "$RPM" = yes && test "$prefix" != /usr &&
1974-
AC_MSG_ERROR(--enable-rpm specified and --prefix not set to /usr)
19751961

19761962
if test "$prefix" != /usr/local
19771963
then test "$FREEBSD" = yes && AC_MSG_ERROR(--enable-freebsd specified and --prefix not set to /usr/local)

M2/distributions/Makefile.in

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include ../include/config.Makefile
33
VPATH = @srcdir@
44
all:
55
.PHONY: all
6-
$(foreach d,top tar deb freebsd rpm dmg, \
6+
$(foreach d,top tar deb freebsd dmg, \
77
$(eval .PHONY: all-in-$d) \
88
$(eval all-in-$d:; + $(MAKE) -C $d all))
99
ifeq "@M2TARFILE@" "yes"
@@ -17,14 +17,11 @@ endif
1717
ifeq "@FREEBSD@" "yes"
1818
all: all-in-freebsd
1919
endif
20-
ifeq "@RPM@" "yes"
21-
all: all-in-rpm
22-
endif
2320
ifeq "@DMG@" "yes"
2421
all: all-in-dmg
2522
endif
2623
$(foreach t,clean distclean, \
27-
$(foreach d,dmg rpm deb freebsd tar top install, $(eval \
24+
$(foreach d,dmg deb freebsd tar top install, $(eval \
2825
.PHONY: $t $t-in-$d \
2926
)$(eval \
3027
$t: $t-in-$d \

M2/distributions/rpm/Macaulay2-body.spec.in

Lines changed: 0 additions & 30 deletions
This file was deleted.

M2/distributions/rpm/Macaulay2-common-body.spec.in

Lines changed: 0 additions & 36 deletions
This file was deleted.

M2/distributions/rpm/Makefile.in

Lines changed: 0 additions & 134 deletions
This file was deleted.

M2/include/configuration.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ PATH_SEPARATOR=@PATH_SEPARATOR@
7878
PROFILING=@PROFILING@
7979
RANLIB=@RANLIB@
8080
REL=@REL@
81-
RPM=@RPM@
82-
RPMLINT=@RPMLINT@
8381
SHARED=@SHARED@
8482
SHELL=@SHELL@
8583
ENABLE_STRIP=@ENABLE_STRIP@

M2/m4/files

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ distributions/top/preremove
1010
distributions/top/postinstall
1111
distributions/tar/Makefile
1212
distributions/dmg/Makefile
13-
distributions/rpm/Makefile
14-
distributions/rpm/Macaulay2-body.spec
15-
distributions/rpm/Macaulay2-common-body.spec
1613
distributions/freebsd/Makefile
1714
distributions/freebsd/post-install
1815
distributions/freebsd/post-deinstall

0 commit comments

Comments
 (0)