summaryrefslogtreecommitdiff
blob: fa32f0f731642b60298cf49fbc7402472809d725 (plain)
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
Before this patch, with CPP exported:
```
checking for inet_aton function prototype in arpa/inet.h... ./configure: 6386: CPP: not found
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
./configure: 6512: ac_fn_c_try_cpp: not found
./configure: 6512: ac_fn_c_try_cpp: not found
configure: error: in `/var/tmp/portage/net-analyzer/dhcp_probe-1.3.1/work/dhcp_probe-1.3.1':
configure: error: C preprocessor "x86_64-pc-linux-gnu-gcc -E" fails sanity check
See `config.log' for more details
```

... and unexported:
```
checking for inet_aton function prototype in arpa/inet.h... ./configure: 6386: CPP: not found
[... continues without dying ...]
```
--- a/configure.ac
+++ b/configure.ac
@@ -16,6 +16,7 @@ dnl Checks for programs.
 AC_PROG_CC
 AC_PROG_RANLIB
 AM_PROG_AR
+AC_PROG_CPP
 
 dnl ##########################################################################