# Process this file with autoconf to produce a configure script.
#
-AC_PREREQ([2.60])
+AC_PREREQ(2.63)
-AC_INIT([Yoink], [0.1], [chaz@dogcows.com], [yoink])
+AC_INIT([Yoink],[0.1],[chaz@dogcows.com],[yoink])
AC_CANONICAL_TARGET
AC_CONFIG_SRCDIR([src/version.c])
AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip])
#
case "${host}" in
*mingw32*)
- MINGW32=yes
WIN32=yes
- AC_PATH_PROGS([WINDRES], [windres $host_alias-windres $host_os-windres])
+ AC_PATH_PROGS([MAKENSIS], [makensis])
+ AC_PATH_PROGS([WINDRES],
+ [windres $host_alias-windres $host_os-windres])
if test "x$WINDRES" = x
then
AC_MSG_ERROR([windres could not be found])
fi
- AC_PATH_PROGS([MAKENSIS], [makensis])
- ;;
- *cygwin*)
- CYGWIN=yes
- WIN32=yes
;;
*-apple-darwin*)
MACOSX=yes
- LIBS="$LIBS -Wl,-framework"
+ ;;
+ *netbsd*)
+ NETBSD=yes
+ AC_PATH_PROGS([PKGLINT], [pkglint])
;;
esac
-AM_CONDITIONAL([WIN32], test "$WIN32" = "yes")
+AM_CONDITIONAL([WIN32], test "$WIN32" = "yes")
+AM_CONDITIONAL([NETBSD], test "$NETBSD" = "yes")
#
fi
-if test x$missing == xyes
+if test x$missing = xyes
then
AC_MSG_ERROR([Please resolve the missing dependencies, and try again.])
fi