equal
deleted
inserted
replaced
1 This patch modifies the configure script to correctly detect the |
|
2 if_nametoindex function. This fix is integrated in ntp-dev-4.2.7p394. |
|
3 This patch may be removed when upgrading NTP to a later version. |
|
4 See NTP bug 2256 for details. |
|
5 |
|
6 --- configure |
|
7 +++ configure |
|
8 @@ -35243,6 +35670,8 @@ |
|
9 fi |
|
10 |
|
11 esac |
|
12 +SAVED_LIBS="$LIBS" |
|
13 +LIBS="$LDADD_LIBNTP $LIBS" |
|
14 for ac_func in if_nametoindex |
|
15 do : |
|
16 ac_fn_c_check_func "$LINENO" "if_nametoindex" "ac_cv_func_if_nametoindex" |
|
17 @@ -35254,6 +35683,8 @@ |
|
18 fi |
|
19 done |
|
20 |
|
21 +LIBS="$SAVED_LIBS" |
|
22 +{ SAVED_LIBS=; unset SAVED_LIBS;} |
|
23 case "$ac_cv_func_if_nametoindex" in |
|
24 yes) |
|
25 |
|
26 |
|