Skip to content

Commit abe8f7a

Browse files
author
Matthias Koeppe
committed
build/pkgs/*/spkg-configure.m4: Remove some duplicated messages
1 parent b103592 commit abe8f7a

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

build/pkgs/glpk/spkg-configure.m4

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,15 @@ SAGE_SPKG_CONFIGURE([glpk], [
88
glpk_ver=`$GLPSOL --version | grep ^GLPSOL | $SED -e 's/GLPSOL.*ver, v//g' 2>> config.log`
99
AX_COMPARE_VERSION([$glpk_ver], [ge], [$SAGE_GLPK_MINVER], [
1010
AC_CHECK_HEADER([glpk.h], [], [sage_spkg_install_glpk=yes])
11-
AC_SEARCH_LIBS([glp_config], [glpk],
12-
[AC_MSG_RESULT([yes. Use system's glpk])], [
13-
AC_MSG_RESULT([no. Install glpk])
14-
sage_spkg_install_glpk=yes])dnl end-AC_SEARCH_LIBS
15-
], [sage_spkg_install_glpk=yes])dnl end-AX_COMPARE_VERSION
11+
AC_SEARCH_LIBS([glp_config], [glpk], [], [sage_spkg_install_glpk=yes])dnl end-AC_SEARCH_LIBS
12+
], [sage_spkg_install_glpk=yes])dnl end-AX_COMPARE_VERSION
1613
])dnl end-AS_IF
1714
])
1815
m4_popdef([SAGE_GLPK_MINVER])
1916
], [], [], [
2017
AS_IF([test x$sage_spkg_install_glpk = xyes], [
2118
AC_SUBST(SAGE_GLPK_PREFIX, ['$SAGE_LOCAL'])
22-
AC_MSG_RESULT([using Sage's glpk SPKG])], [
19+
], [
2320
AC_SUBST(SAGE_GLPK_PREFIX, [''])
24-
AC_MSG_RESULT([using glpk from the system])])
21+
])
2522
])

build/pkgs/mpc/spkg-configure.m4

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ SAGE_SPKG_CONFIGURE([mpc], [
77
], [], [], [
88
if test x$sage_spkg_install_mpc = xyes; then
99
AC_SUBST(SAGE_MPC_PREFIX, ['$SAGE_LOCAL'])
10-
AC_MSG_RESULT([using Sage's mpc SPKG])
1110
else
1211
AC_SUBST(SAGE_MPC_PREFIX, [''])
13-
AC_MSG_RESULT([using mpc library from the system])
1412
fi
1513
])

build/pkgs/mpfr/spkg-configure.m4

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ SAGE_SPKG_CONFIGURE([mpfr], [
77
], [], [], [
88
if test x$sage_spkg_install_mpfr = xyes; then
99
AC_SUBST(SAGE_MPFR_PREFIX, ['$SAGE_LOCAL'])
10-
AC_MSG_RESULT([using Sage's mpfr SPKG])
1110
else
1211
AC_SUBST(SAGE_MPFR_PREFIX, [''])
13-
AC_MSG_RESULT([using mpfr library from the system])
1412
fi
1513
])

build/pkgs/pkgconf/spkg-configure.m4

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ SAGE_SPKG_CONFIGURE(
44
AS_IF([test -z "$PKG_CONFIG"], [
55
sage_spkg_install_pkgconf=yes
66
AC_SUBST(SAGE_PKG_CONFIG_PATH, [''])
7-
AC_MSG_RESULT([installing pkgconf spkg])], [
7+
], [
88
dnl the following as needed as long as Sage creates .pc files during build and/or configure
99
AC_SUBST(SAGE_PKG_CONFIG_PATH, ['$SAGE_LOCAL/lib/pkgconfig'])
10-
AC_MSG_RESULT([using pkg-config from the system])
1110
])
1211
])

0 commit comments

Comments
 (0)