Line 0
Link Here
|
|
|
1 |
--- src/Makefile.am.orig 2016-02-15 00:29:47 UTC |
2 |
+++ src/Makefile.am |
3 |
@@ -5,6 +5,10 @@ |
4 |
|
5 |
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -Wall -Wextra |
6 |
|
7 |
+GREP = @GREP@ |
8 |
+EGREP = @EGREP@ |
9 |
+SED = @SED@ |
10 |
+ |
11 |
lib_LTLIBRARIES = libGeographic.la |
12 |
|
13 |
libGeographic_la_LDFLAGS = \ |
14 |
@@ -91,11 +95,11 @@ libGeographic_la_SOURCES = Accumulator.c |
15 |
../include/GeographicLib/Config.h |
16 |
|
17 |
../include/GeographicLib/Config.h: ../include/GeographicLib/Config-ac.h |
18 |
- ( egrep '\bVERSION\b|\bGEOGRAPHICLIB_|\bHAVE_LONG_DOUBLE\b' $< | \ |
19 |
- sed -e 's/ VERSION / GEOGRAPHICLIB_VERSION_STRING /' \ |
20 |
+ ( ${EGREP} '\bVERSION\b|\bGEOGRAPHICLIB_|\bHAVE_LONG_DOUBLE\b' $< | \ |
21 |
+ ${SED} -e 's/ VERSION / GEOGRAPHICLIB_VERSION_STRING /' \ |
22 |
-e 's/ HAVE_LONG_DOUBLE / GEOGRAPHICLIB_HAVE_LONG_DOUBLE /'; \ |
23 |
- grep WORDS_BIGENDIAN $< | tail -1 | \ |
24 |
- sed -e 's/ WORDS_BIGENDIAN / GEOGRAPHICLIB_WORDS_BIGENDIAN /' ) > $@ |
25 |
+ ${GREP} WORDS_BIGENDIAN $< | tail -1 | \ |
26 |
+ ${SED} -e 's/ WORDS_BIGENDIAN / GEOGRAPHICLIB_WORDS_BIGENDIAN /' ) > $@ |
27 |
|
28 |
$(libGeographic_la_OBJECTS): ../include/GeographicLib/Config.h |
29 |
|