dnl Warning: This is an automatically generated file, do not edit! dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.54]) AC_INIT([Sysinfo], [0.7]) AM_INIT_AUTOMAKE([foreign]) dnl pkg-config AC_PATH_PROG(PKG_CONFIG, pkg-config, no) if test "x$PKG_CONFIG" = "xno"; then AC_MSG_ERROR([You need to install pkg-config]) fi AC_PROG_INSTALL AC_PATH_PROG(MCS, mono-csc, no) if test "x$MCS" = "xno"; then AC_MSG_ERROR([csc Not found]) fi PKG_CHECK_MODULES([MONO_CAIRO], [mono-cairo]) PKG_CHECK_MODULES([GTK_SHARP_20], [gtk-sharp-2.0]) PKG_CHECK_MODULES([GCONF_SHARP_20], [gconf-sharp-2.0]) PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0]) PKG_CHECK_MODULES([GLADE_SHARP_20], [glade-sharp-2.0]) AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Use 'Debug' Configuration [default=NO]]), enable_debug=yes, enable_debug=no) AM_CONDITIONAL(ENABLE_DEBUG, test x$enable_debug = xyes) if test "x$enable_debug" = "xyes" ; then DEBUG_CONFIG_LIBRARIES='' DEBUG_CONFIG_LIBS='' AC_SUBST(DEBUG_CONFIG_LIBRARIES) AC_SUBST(DEBUG_CONFIG_LIBS) CONFIG_REQUESTED="yes" fi AC_ARG_ENABLE(release, AC_HELP_STRING([--enable-release], [Use 'Release' Configuration [default=YES]]), enable_release=yes, enable_release=no) AM_CONDITIONAL(ENABLE_RELEASE, test x$enable_release = xyes) if test "x$enable_release" = "xyes" ; then RELEASE_CONFIG_LIBRARIES='' RELEASE_CONFIG_LIBS='' AC_SUBST(RELEASE_CONFIG_LIBRARIES) AC_SUBST(RELEASE_CONFIG_LIBS) CONFIG_REQUESTED="yes" fi if test -z "$CONFIG_REQUESTED" ; then RELEASE_CONFIG_LIBRARIES='' RELEASE_CONFIG_LIBS='' AC_SUBST(RELEASE_CONFIG_LIBRARIES) AC_SUBST(RELEASE_CONFIG_LIBS) AM_CONDITIONAL(ENABLE_RELEASE, true) fi AC_CONFIG_FILES([ ./Sysinfo/sysinfo ./Sysinfo/Makefile ./Makefile ./Sysinfo/Sysinfo.Sysinfo.pc ]) AC_OUTPUT