-dnl $Id: configure.in,v 1.124 2001-11-13 19:10:47 srittau Exp $
+dnl $Id: configure.in,v 1.126 2001-11-16 15:44:31 srittau Exp $
dnl configure.in for netatalk
AC_INIT(bin/adv1tov2/adv1tov2.c)
msg_dir=""
AC_ARG_WITH(message-dir,
- [ --with-msg-dir=PATH path to message files [[PKGCONF/msg]]],
+ [ --with-message-dir=PATH path to message files [[PKGCONF/msg]]],
msg_dir="$withval"
if test x"$msg_dir" = "x"; then
msg_dir="${PKGCONFDIR}/msg"
dnl --------------------------------------------------------------------------
dnl drop in includes for top level directory structures here...
dnl --------------------------------------------------------------------------
-LIBS="$LIBS -L\$(top_srcdir)/libatalk/"
-CFLAGS="$CFLAGS -I\$(top_srcdir)/include -I\$(top_srcdir)/sys"
+
+dnl Note: $(top_srcdir)/include should be added before all other includes
+dnl so that includes from that directory a preferred to includes from
+dnl /usr/include or similar places.
+LIBS="$LIBS -L\$(top_srcdir)/libatalk"
+CFLAGS="-I\$(top_srcdir)/include $CFLAGS -I\$(top_srcdir)/sys"
dnl --------------------------------------------------------------------------
dnl specific configuration comes in here: