AC_SUBST(WXCONS_CPPFLAGS)
AC_SUBST(WXCONS_LDFLAGS)
- WX_DIR=src/wx-console
+ WX_DIR="src/wx-console"
else
echo " "
echo "wx-config program not found. bwx-console disabled."
if test $have_xattr = no; then
AC_CHECK_FUNCS(listxattr getxattr setxattr,
[
- have_xattr=yes
- AC_DEFINE([HAVE_LLISTXATTR], [], [LLISTXATTR support])
- AC_DEFINE([HAVE_LGETXATTR], [], [LGETXATTR support])
- AC_DEFINE([HAVE_LSETXATTR], [], [LSETXATTR support])
- ]
+ have_xattr=yes
+ AC_DEFINE([HAVE_LLISTXATTR], [], [LLISTXATTR support])
+ AC_DEFINE([HAVE_LGETXATTR], [], [LGETXATTR support])
+ AC_DEFINE([HAVE_LSETXATTR], [], [LSETXATTR support])
+ ]
)
fi
AC_CHECK_HEADER(attr.h, [ AC_DEFINE(HAVE_ATTR_H,1,[Defines if your system have the attr.h header file])] , )
AC_CHECK_FUNCS(openat fstatat unlinkat fchownat futimesat,
- [
- have_xattr=yes
- AC_DEFINE([HAVE_OPENAT], [], [OPENAT support])
- AC_DEFINE([HAVE_FSTATAT], [], [FSTATAT support])
- AC_DEFINE([HAVE_UNLINKAT], [], [UNLINKAT support])
- AC_DEFINE([HAVE_FCHOWNAT], [], [FCHOWNAT support])
- AC_DEFINE([HAVE_FUTIMESAT], [], [FUTIMESAT support])
- ]
+ [
+ have_xattr=yes
+ AC_DEFINE([HAVE_OPENAT], [], [OPENAT support])
+ AC_DEFINE([HAVE_FSTATAT], [], [FSTATAT support])
+ AC_DEFINE([HAVE_UNLINKAT], [], [UNLINKAT support])
+ AC_DEFINE([HAVE_FCHOWNAT], [], [FCHOWNAT support])
+ AC_DEFINE([HAVE_FUTIMESAT], [], [FUTIMESAT support])
+ ]
)
if test $have_xattr = yes; then
- AC_CHECK_LIB(nvpair, nvlist_next_nvpair,
- [
- FDLIBS="-lnvpair $FDLIBS"
- ]
- )
+ AC_CHECK_LIB(nvpair, nvlist_next_nvpair,
+ [
+ FDLIBS="-lnvpair $FDLIBS"
+ ]
+ )
fi
fi
- WX_DIR=src/wx-console
+ WX_DIR="src/wx-console"
else
echo " "
echo "wx-config program not found. bwx-console disabled."
ac_cv_func_getmntent=yes
cat >>confdefs.h <<\_ACEOF
-#define HAVE_GETMNTENT
+#define HAVE_GETMNTENT 1
_ACEOF
else
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
- have_xattr=yes
+ have_xattr=yes
cat >>confdefs.h <<\_ACEOF
#define HAVE_LLISTXATTR
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
- have_xattr=yes
+ have_xattr=yes
cat >>confdefs.h <<\_ACEOF
#define HAVE_OPENAT
if test $have_xattr = yes; then
- { echo "$as_me:$LINENO: checking for nvlist_next_nvpair in -lnvpair" >&5
+ { echo "$as_me:$LINENO: checking for nvlist_next_nvpair in -lnvpair" >&5
echo $ECHO_N "checking for nvlist_next_nvpair in -lnvpair... $ECHO_C" >&6; }
if test "${ac_cv_lib_nvpair_nvlist_next_nvpair+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
echo "${ECHO_T}$ac_cv_lib_nvpair_nvlist_next_nvpair" >&6; }
if test $ac_cv_lib_nvpair_nvlist_next_nvpair = yes; then
- FDLIBS="-lnvpair $FDLIBS"
+ FDLIBS="-lnvpair $FDLIBS"
fi