Line
Link Here
|
0 |
-- autofs-5.1.2.orig/aclocal.m4 |
0 |
++ autofs-5.1.2/aclocal.m4 |
Lines 413-421
AC_DEFUN([AF_CHECK_LIBTIRPC],
Link Here
|
413 |
[ |
413 |
[ |
414 |
# save current flags |
414 |
# save current flags |
415 |
af_check_libtirpc_save_cflags="$CFLAGS" |
415 |
af_check_libtirpc_save_cflags="$CFLAGS" |
416 |
af_check_libtirpc_save_ldflags="$LDFLAGS" |
416 |
af_check_libtirpc_save_libs="$LIBS" |
417 |
CFLAGS="$CFLAGS -I/usr/include/tirpc" |
417 |
CFLAGS="$CFLAGS -I/usr/include/tirpc" |
418 |
LDFLAGS="$LDFLAGS -ltirpc" |
418 |
LIBS="$LIBS -ltirpc" |
419 |
|
419 |
|
420 |
AC_TRY_LINK( |
420 |
AC_TRY_LINK( |
421 |
[ #include <rpc/rpc.h> ], |
421 |
[ #include <rpc/rpc.h> ], |
Lines 438-444
AC_CHECK_FUNCS([getrpcbyname getservbyna
Link Here
|
438 |
|
438 |
|
439 |
# restore flags |
439 |
# restore flags |
440 |
CFLAGS="$af_check_libtirpc_save_cflags" |
440 |
CFLAGS="$af_check_libtirpc_save_cflags" |
441 |
LDFLAGS="$af_check_libtirpc_save_ldflags" |
441 |
LIBS="$af_check_libtirpc_save_libs" |
442 |
]) |
442 |
]) |
443 |
|
443 |
|
444 |
AC_DEFUN([AF_WITH_LIBTIRPC], |
444 |
AC_DEFUN([AF_WITH_LIBTIRPC], |