1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
--- 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
|