Skip to content

Commit

Permalink
Fixed long-standing autoconf bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ColumPaget committed Jun 23, 2017
1 parent c03f0c9 commit 591f3d6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libUseful-2.8/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,35 @@ cf_have_ptsname_r=no

AC_CHECK_LIB(c,ptsname_r,,)
cf_have_ptsname_r=$ac_cv_lib_c_ptsname_r
if test "$cf_have_ptsname_r"
if test "$cf_have_ptsname_r" = "yes"
then
AC_DEFINE([HAVE_PTSNAME_R])
fi

AC_CHECK_LIB(c,unshare,,)
cf_have_unshare=$ac_cv_lib_c_unshare
if test "$cf_have_unshare"
if test "$cf_have_unshare" = "yes"
then
AC_DEFINE([HAVE_UNSHARE])
fi

AC_CHECK_LIB(c,umount2,,)
cf_have_umount2=$ac_cv_lib_c_umount2
if test "$cf_have_umount2"
if test "$cf_have_umount2" = "yes"
then
AC_DEFINE([HAVE_UMOUNT2])
fi

AC_CHECK_LIB(c,umount,,)
cf_have_umount=$ac_cv_lib_c_umount
if test "$cf_have_umount"
if test "$cf_have_umount" = "yes"
then
AC_DEFINE([HAVE_UMOUNT])
fi

AC_CHECK_LIB(c,mkostemp,,)
cf_have_mkostemp=$ac_cv_lib_c_mkostemp
if test "$cf_have_mkostemp"
if test "$cf_have_mkostemp" = "yes"
then
AC_DEFINE([HAVE_MKOSTEMP])
fi
Expand Down

0 comments on commit 591f3d6

Please sign in to comment.