summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@beryl-project.org>2007-05-17 13:22:12 +0200
committerDennis Kasprzyk <onestone@beryl-project.org>2007-05-17 13:22:12 +0200
commitc2e0acdeb263f475ca407a39c37644719d7576e7 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /configure.ac
parentf3b3373d59c1d1f6d555756a6d14005679cbccbc (diff)
downloadberyl-premerge-master.tar.gz
beryl-premerge-master.tar.bz2
bye bye beryl-premergeHEADmaster
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac192
1 files changed, 0 insertions, 192 deletions
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index d9e9bac..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,192 +0,0 @@
-AC_PREREQ(2.57)
-
-AC_INIT([compiz-plugins-beryl],esyscmd(. ./VERSION;echo -n $VERSION), [maniac@beryl-project.org])
-
-AC_DEFINE_UNQUOTED(VERSION,"$VERSION",[Version])
-
-#AC_CONFIG_AUX_DIR(config)
-
-AM_INIT_AUTOMAKE([1.9 dist-bzip2])
-AC_CONFIG_HEADER([config.h])
-AM_MAINTAINER_MODE
-
-AC_ISC_POSIX
-AC_PROG_CC
-AC_PROG_CPP
-AC_PROG_LIBTOOL
-AC_HEADER_STDC
-AC_CHECK_HEADERS([stdlib.h sys/time.h unistd.h])
-IT_PROG_INTLTOOL([0.35.0])
-AC_SUBST(ALL_LINGUAS)
-AM_GLIB_GNU_GETTEXT
-GETTEXT_PACKAGE=compiz-plugins-beryl
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
-AC_SUBST(GETTEXT_PACKAGE)
-
-if test "x$GCC" = "xyes"; then
- case " $CFLAGS " in
- *[[\ \ ]]-Wall[[\ \ ]]*) ;;
- *) CFLAGS="$CFLAGS -Wall" ;;
- esac
-
- case " $CFLAGS " in
- *[[\ \ ]]-Wpointer-arith[[\ \ ]]*) ;;
- *) CFLAGS="$CFLAGS -Wpointer-arith" ;;
- esac
-
- case " $CFLAGS " in
- *[[\ \ ]]-Wstrict-prototypes[[\ \ ]]*) ;;
- *) CFLAGS="$CFLAGS -Wstrict-prototypes" ;;
- esac
-
- case " $CFLAGS " in
- *[[\ \ ]]-Wmissing-prototypes[[\ \ ]]*) ;;
- *) CFLAGS="$CFLAGS -Wmissing-prototypes" ;;
- esac
-
- case " $CFLAGS " in
- *[[\ \ ]]-Wmissing-declarations[[\ \ ]]*) ;;
- *) CFLAGS="$CFLAGS -Wmissing-declarations" ;;
- esac
-
- case " $CFLAGS " in
- *[[\ \ ]]-Wnested-externs[[\ \ ]]*) ;;
- *) CFLAGS="$CFLAGS -Wnested-externs" ;;
- esac
-
- case " $CFLAGS " in
- *[[\ \ ]]-fno-strict-aliasing[[\ \ ]]*) ;;
- *) CFLAGS="$CFLAGS -fno-strict-aliasing" ;;
- esac
-
- if test "x$enable_ansi" = "xyes"; then
- case " $CFLAGS " in
- *[[\ \ ]]-ansi[[\ \ ]]*) ;;
- *) CFLAGS="$CFLAGS -ansi" ;;
- esac
-
- case " $CFLAGS " in
- *[[\ \ ]]-pedantic[[\ \ ]]*) ;;
- *) CFLAGS="$CFLAGS -pedantic" ;;
- esac
- fi
-fi
-
-AC_C_BIGENDIAN
-
-plugindir=$libdir/compiz
-AC_SUBST(plugindir)
-
-imagedir=$datadir/compiz
-AC_SUBST(imagedir)
-
-metadatadir=$datadir/compiz
-AC_SUBST(metadatadir)
-
-
-dnl ============================================================
-dnl Check for the pkg-config path.
-if test x"$PKG_CONFIG_PATH" = x; then
- PKG_CONFIG_PATH=${prefix}/lib/pkgconfig
- else
- PKG_CONFIG_PATH=${prefix}/lib/pkgconfig:${PKG_CONFIG_PATH}
-fi
-export PKG_CONFIG_PATH
-AC_SUBST(PKG_CONFIG_PATH)
-AC_MSG_NOTICE([Using PKG_CONFIG_PATH=$PKG_CONFIG_PATH])
-
-PKG_CHECK_MODULES(COMPIZ, compiz)
-PKG_CHECK_MODULES(BCOP, bcop >= 0.1.1, [bcop_found=yes])
-if test "$bcop_found" = yes; then
- if test -z "$PKG_CONFIG"; then
- AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
- fi
- if test "$PKG_CONFIG" != "no" ; then
- BCOP_BIN=`$PKG_CONFIG --variable=bin bcop`
- AC_SUBST(BCOP_BIN)
- fi
-fi
-
-AC_MSG_CHECKING(for GL_CFLAGS)
-AC_ARG_WITH(gl-cflags, [ --with-gl-cflags=CFLAGS ],
- [GL_CFLAGS="$withval"],
- [GL_CFLAGS=""])
-
-AC_MSG_RESULT($GL_CFLAGS)
-AC_MSG_CHECKING(for GL_LIBS)
-AC_ARG_WITH(gl-libs, [ --with-gl-libs=LIBS ],
- [GL_LIBS="$withval"],
- [GL_LIBS="-lGL"])
-AC_MSG_RESULT($GL_LIBS)
-
-AC_SUBST(GL_CFLAGS)
-AC_SUBST(GL_LIBS)
-
-AC_ARG_ENABLE(text,
- [ --disable-text Disable text plugin],
- [use_texte=$enableval], [use_text=yes])
-
-if test "x$use_text" = "xyes"; then
- PKG_CHECK_MODULES(TEXT, cairo-xlib-xrender pangocairo cairo >= 1.0, [use_text=yes], [use_text=no])
-fi
-
-AM_CONDITIONAL(TEXT_PLUGIN, test "x$use_text" = "xyes")
-if test "$use_text" = yes; then
- AC_DEFINE(USE_TEXT, 1, [Build text plugin])
-fi
-
-AC_ARG_ENABLE(group,
- [ --disable-group Disable group plugin],
- [use_groupe=$enableval], [use_group=yes])
-
-if test "x$use_group" = "xyes"; then
- PKG_CHECK_MODULES(GROUP, cairo-xlib-xrender cairo >= 1.0, [use_group=yes], [use_group=no])
-fi
-
-AM_CONDITIONAL(GROUP_PLUGIN, test "x$use_group" = "xyes")
-if test "$use_group" = yes; then
- AC_DEFINE(USE_GROUP, 1, [Build group plugin])
-fi
-
-AC_ARG_ENABLE(jpeg,
- [ --disable-jpeg Disable jpeg plugin],
- [use_jpeg=$enableval], [use_jpeg=yes])
-
-AM_CONDITIONAL(JPEG_PLUGIN, test "x$use_jpeg" = "xyes")
-if test "$use_jpeg" = yes; then
- AC_DEFINE(USE_JPEG, 1, [Build jpeg plugin])
-fi
-
-AC_ARG_ENABLE(schemas,
- [ --enable-schemas Build gconf schemas],
- [use_schemas=$enableval], [use_schemas=no])
-
-if test x"$use_schemas" = x"yes"; then
- AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
- PKG_CHECK_MODULES(SCHEMAS, compiz-gconf, [use_schemas=yes], [use_schemas=no])
- if test x"$GCONFTOOL" = xno; then
- AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
- fi
- AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
- if test x"$PKG_CONFIG" = xno ; then
- AC_MSG_ERROR([pkg-config executable not found in your path, unable to determine schema directory])
- fi
- xsltdir=`$PKG_CONFIG --variable=xsltdir compiz-gconf`
- AC_SUBST(xsltdir)
-fi
-
-AM_GCONF_SOURCE_2
-
-
-AM_CONDITIONAL(USE_SCHEMAS, test "x$use_schemas" = "xyes")
-if test "$use_schemas" = yes; then
- AC_DEFINE(USE_SCHEMAS, 1, [Build gconf schemas])
-fi
-
-AC_OUTPUT([
-Makefile
-metadata/Makefile
-src/Makefile
-src/group/Makefile
-po/Makefile.in
-])