diff options
author | Bastien Nocera <hadess@hadess.net> | 2020-02-20 18:14:09 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2020-02-20 18:21:38 +0100 |
commit | 568f3d23fe7a44408591c756a4a317fb947f87df (patch) | |
tree | 19b3207e6475f7ddb0c0c8e2cef17543ebdd4a7d /configure.ac | |
parent | cca36dd8924a03becffcd19720cc276976f62038 (diff) |
build: Remove autotools
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 60b8155..0000000 --- a/configure.ac +++ /dev/null @@ -1,79 +0,0 @@ -AC_INIT([shared-mime-info],[1.15],[https://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info]) - -AM_INIT_AUTOMAKE([1.9 foreign no-dist-gzip dist-xz check-news]) - -AC_CONFIG_HEADERS([config.h]) - -# Enable silent build when available (Automake 1.11) -m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) - -dnl Checks for programs. -AC_PROG_CC - -dnl Checks for typedefs, structures, and compiler characteristics. -AC_C_CONST -AC_SYS_LARGEFILE - -AM_GNU_GETTEXT_VERSION([0.19.8]) -AM_GNU_GETTEXT([external]) -AC_CHECK_PROGS([ITSTOOL], [itstool]) -if test x"${ITSTOOL}" = x; then - AC_MSG_ERROR([itstool is missing]) -fi - -AC_CHECK_FUNCS(fdatasync) - -dnl Check for cross compiling -AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes) - -dnl Check whether libxml and glib are present is installed -PKG_CHECK_MODULES(ALL, \ - libxml-2.0 >= 2.4 \ - glib-2.0 >= 2.6.0) -AC_SUBST(ALL_CFLAGS) -AC_SUBST(ALL_LIBS) - -dnl Build the tree magic test if gio is present -PKG_CHECK_MODULES(GIO, gio-2.0, HAVE_GIO=yes, AC_MSG_RESULT(no)) - -AM_CONDITIONAL([HAVE_GIO], test "x$HAVE_GIO" = "xyes") - -dnl Use -Wall, etc if possible -[ -if test "x$GCC" = "xyes"; then - case " $CFLAGS " in - *[\ \ ]-Wall[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings" ;; - esac -fi -] - -if test "x$XDGMIME_PATH" = "x" ; then - XDGMIME_PATH=$srcdir/../xdgmime -fi -AC_SUBST([XDGMIME_PATH], $XDGMIME_PATH) - -AC_ARG_ENABLE(update-mimedb, - AC_HELP_STRING([--disable-update-mimedb], - [disable the update-mime-database after install [default=no]]),, - enable_update_mimedb=yes) - -if test $cross_compiling = yes && test x$enable_update_mimedb = xyes; then - AC_PATH_PROG(UPDATE_MIME_DATABASE, update-mime-database, no) - if test x$UPDATE_MIME_DATABASE = xno; then - enable_update_mimedb=no - AC_MSG_WARN(Could not find the update-mime-database program in your PATH. Your mime database will not be updated upon install.) - fi -fi - -AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes) - -AC_PATH_PROG([XMLLINT],[xmllint]) - -AC_CONFIG_FILES([ -Makefile -shared-mime-info.pc -po/Makefile.in -]) - -AC_OUTPUT |