summaryrefslogtreecommitdiff
blob: b3e1a29670af9ed321b2523f0e6e52bbc37dbe52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
https://github.com/ccache/ccache/issues/344

--- a/configure
+++ b/configure
@@ -642,4 +642,5 @@ no_implicit_fallthrough_warning
 more_warnings
 include_dev_mk
+getopt_long_c
 extra_libs
 disable_man
@@ -4724,4 +4725,8 @@ done
 
 
+if test x"$ac_cv_func_getopt_long" != x"yes"; then
+    getopt_long_c="src/getopt_long.c"
+fi
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compar_fn_t in stdlib.h" >&5
 $as_echo_n "checking for compar_fn_t in stdlib.h... " >&6; }