You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/integrit/files/integrit-4.1-fix-build-syst...

44 lines
1.1 KiB

--- a/configure.in
+++ b/configure.in
@@ -26,7 +26,6 @@
# ----- you can override these values by setting environment variables
# CC=my-compiler ./configure
-CC=${CC:-"gcc"}
# CFLAGS="-g foo -x bar" ./configure
CFLAGS=${CFLAGS-"-g -Wall -O2"}
STATIC=${STATIC-"-static"}
@@ -53,10 +52,9 @@
dnl AC_PROG_LEX
AC_PROG_MAKE_SET
AC_PROG_AWK
-AC_PROGRAM_PATH(RM, rm , rm)
dnl syncing is the job of the O.S., and users can always do "make; sync"
dnl AC_PROGRAM_PATH(SYNC, sync, sync)
-AC_PROGRAM_PATH(AR, ar, ar)
+AM_PROG_AR
AC_PROG_RANLIB
dnl ---------- let users override the install that configure finds
--- a/hashtbl/configure.in
+++ b/hashtbl/configure.in
@@ -25,17 +25,15 @@
# ----- you can override these values by setting environment variables
# CC=my-compiler ./configure
-CC=${CC:-"gcc"}
# CFLAGS="-g foo -x bar" ./configure
CFLAGS=${CFLAGS:-"-g -Wall -O2"}
STATIC=${STATIC:-"-static"}
dnl Checks for programs.
AC_PROG_CC
-AC_PROGRAM_PATH(RM, rm , rm)
dnl syncing is the job of the O.S., and users can always do "make; sync"
dnl AC_PROGRAM_PATH(SYNC, sync, sync)
-AC_PROGRAM_PATH(AR, ar, ar)
+AM_PROG_AR
AC_PROG_MAKE_SET
AC_PROG_RANLIB