Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From cb6a4f61adb027f2366318f2c08c8264ebf39218 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 5 Jan 2013 19:53:10 -0800 |
| 4 | |
| 5 | --- |
| 6 | Makefile.rules | 2 +- |
| 7 | aclocal.m4 | 2 +- |
| 8 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 9 | |
| 10 | diff --git a/Makefile.rules b/Makefile.rules |
| 11 | index 6fa3e02..709dd04 100644 |
| 12 | --- a/Makefile.rules |
| 13 | +++ b/Makefile.rules |
| 14 | @@ -46,7 +46,7 @@ CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | LIBS += -lpthread |
| 16 | |
| 17 | ifdef TIRPCLIB |
| 18 | -CFLAGS += -I/usr/include/tirpc |
| 19 | +CFLAGS += -I=/usr/include/tirpc |
| 20 | LIBS += $(TIRPCLIB) |
| 21 | endif |
| 22 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 23 | diff --git a/aclocal.m4 b/aclocal.m4 |
| 24 | index 2a9a802..0e4a624 100644 |
| 25 | --- a/aclocal.m4 |
| 26 | +++ b/aclocal.m4 |
| 27 | @@ -416,7 +416,7 @@ AC_DEFUN([AF_CHECK_LIBTIRPC], |
| 28 | # save current flags |
| 29 | af_check_libtirpc_save_cflags="$CFLAGS" |
| 30 | af_check_libtirpc_save_ldflags="$LDFLAGS" |
| 31 | -CFLAGS="$CFLAGS -I/usr/include/tirpc" |
| 32 | +CFLAGS="$CFLAGS -I=/usr/include/tirpc" |
| 33 | LDFLAGS="$LDFLAGS -ltirpc" |
| 34 | |
| 35 | AC_TRY_LINK( |