diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..10dd5b2c2d --- /dev/null +++ b/Makefile @@ -0,0 +1,769 @@ +# Makefile.in generated by automake 1.11.6 from Makefile.am. +# Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + + + +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/steamos-compositor +pkgincludedir = $(includedir)/steamos-compositor +pkglibdir = $(libdir)/steamos-compositor +pkglibexecdir = $(libexecdir)/steamos-compositor +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +bin_PROGRAMS = steamcompmgr$(EXEEXT) loadargb_cursor$(EXEEXT) \ + udev_is_boot_vga$(EXEEXT) +subdir = . +DIST_COMMON = README $(am__configure_deps) $(dist_doc_DATA) \ + $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(top_srcdir)/configure depcomp install-sh missing +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" +PROGRAMS = $(bin_PROGRAMS) +am_loadargb_cursor_OBJECTS = loadargb_cursor-loadargbcursor.$(OBJEXT) +loadargb_cursor_OBJECTS = $(am_loadargb_cursor_OBJECTS) +am__DEPENDENCIES_1 = +loadargb_cursor_DEPENDENCIES = $(am__DEPENDENCIES_1) +loadargb_cursor_LINK = $(CCLD) $(loadargb_cursor_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_steamcompmgr_OBJECTS = steamcompmgr-steamcompmgr.$(OBJEXT) +steamcompmgr_OBJECTS = $(am_steamcompmgr_OBJECTS) +steamcompmgr_DEPENDENCIES = $(am__DEPENDENCIES_1) +steamcompmgr_LINK = $(CCLD) $(steamcompmgr_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_udev_is_boot_vga_OBJECTS = \ + udev_is_boot_vga-udev_is_boot_vga.$(OBJEXT) +udev_is_boot_vga_OBJECTS = $(am_udev_is_boot_vga_OBJECTS) +udev_is_boot_vga_DEPENDENCIES = $(am__DEPENDENCIES_1) +udev_is_boot_vga_LINK = $(CCLD) $(udev_is_boot_vga_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +DEFAULT_INCLUDES = -I. +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(loadargb_cursor_SOURCES) $(steamcompmgr_SOURCES) \ + $(udev_is_boot_vga_SOURCES) +DIST_SOURCES = $(loadargb_cursor_SOURCES) $(steamcompmgr_SOURCES) \ + $(udev_is_boot_vga_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +DATA = $(dist_doc_DATA) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = ${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run aclocal-1.11 +AMTAR = $${TAR-tar} +AUTOCONF = ${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run autoconf +AUTOHEADER = ${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run autoheader +AUTOMAKE = ${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run automake-1.11 +AWK = mawk +CC = gcc -std=gnu99 +CCDEPMODE = depmode=none +CFLAGS = -g -O2 +CPPFLAGS = +CYGPATH_W = echo +DEFS = -DPACKAGE_NAME=\"SteamOS\ Compostitor\" -DPACKAGE_TARNAME=\"steamos-compositor\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"SteamOS\ Compostitor\ 1.0\" -DPACKAGE_BUGREPORT=\"linux@steampowered.com\" -DPACKAGE_URL=\"http://support.steampowered.com\" -DPACKAGE=\"steamos-compositor\" -DVERSION=\"1.0\" +DEPDIR = .deps +DEPS_CFLAGS = -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/SDL +DEPS_LIBS = -lXxf86vm -lGL -lXrender -lX11 -lXcomposite -lSDL_image -lSDL -ludev -lXext -lXdamage -lXfixes +ECHO_C = +ECHO_N = -n +ECHO_T = +EXEEXT = +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LDFLAGS = +LIBOBJS = +LIBS = +LTLIBOBJS = +MAKEINFO = ${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run makeinfo +MKDIR_P = /bin/mkdir -p +OBJEXT = o +PACKAGE = steamos-compositor +PACKAGE_BUGREPORT = linux@steampowered.com +PACKAGE_NAME = SteamOS Compostitor +PACKAGE_STRING = SteamOS Compostitor 1.0 +PACKAGE_TARNAME = steamos-compositor +PACKAGE_URL = http://support.steampowered.com +PACKAGE_VERSION = 1.0 +PATH_SEPARATOR = : +PKG_CONFIG = /usr/bin/pkg-config +PKG_CONFIG_LIBDIR = +PKG_CONFIG_PATH = +SET_MAKE = +SHELL = /bin/bash +STRIP = +VERSION = 1.0 +abs_builddir = /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26 +abs_srcdir = /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26 +abs_top_builddir = /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26 +abs_top_srcdir = /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26 +ac_ct_CC = gcc +am__include = include +am__leading_dot = . +am__quote = +am__tar = find "$$tardir" -print | cpio -o -H ustar -L +am__untar = cpio -i -H ustar -d +bindir = ${exec_prefix}/bin +build_alias = x86_64-linux-gnu +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host_alias = +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${prefix}/share/info +install_sh = ${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${prefix}/lib/steamos-compositor +localedir = ${datarootdir}/locale +localstatedir = /var +mandir = ${prefix}/share/man +mkdir_p = /bin/mkdir -p +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = /etc +target_alias = +top_build_prefix = +top_builddir = . +top_srcdir = . +steamcompmgr_SOURCES = src/steamcompmgr.c src/glext.h +loadargb_cursor_SOURCES = src/loadargbcursor.c +udev_is_boot_vga_SOURCES = src/udev_is_boot_vga.c +AM_CFLAGS = $(DEPS_CFLAGS) +AM_LIBS = $(DEPS_LIBS) +steamcompmgr_CFLAGS = $(DEPS_CFLAGS) +steamcompmgr_LDADD = $(DEPS_LIBS) +loadargb_cursor_CFLAGS = $(DEPS_CFLAGS) +loadargb_cursor_LDADD = $(DEPS_LIBS) +udev_is_boot_vga_CFLAGS = $(DEPS_CFLAGS) +udev_is_boot_vga_LDADD = $(DEPS_LIBS) +dist_doc_DATA = README +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .o .obj +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) +loadargb_cursor$(EXEEXT): $(loadargb_cursor_OBJECTS) $(loadargb_cursor_DEPENDENCIES) $(EXTRA_loadargb_cursor_DEPENDENCIES) + @rm -f loadargb_cursor$(EXEEXT) + $(loadargb_cursor_LINK) $(loadargb_cursor_OBJECTS) $(loadargb_cursor_LDADD) $(LIBS) +steamcompmgr$(EXEEXT): $(steamcompmgr_OBJECTS) $(steamcompmgr_DEPENDENCIES) $(EXTRA_steamcompmgr_DEPENDENCIES) + @rm -f steamcompmgr$(EXEEXT) + $(steamcompmgr_LINK) $(steamcompmgr_OBJECTS) $(steamcompmgr_LDADD) $(LIBS) +udev_is_boot_vga$(EXEEXT): $(udev_is_boot_vga_OBJECTS) $(udev_is_boot_vga_DEPENDENCIES) $(EXTRA_udev_is_boot_vga_DEPENDENCIES) + @rm -f udev_is_boot_vga$(EXEEXT) + $(udev_is_boot_vga_LINK) $(udev_is_boot_vga_OBJECTS) $(udev_is_boot_vga_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +#include ./$(DEPDIR)/loadargb_cursor-loadargbcursor.Po +#include ./$(DEPDIR)/steamcompmgr-steamcompmgr.Po +#include ./$(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Po + +.c.o: +# $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +# $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +# source='$<' object='$@' libtool=no +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(COMPILE) -c $< + +.c.obj: +# $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +# $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +# source='$<' object='$@' libtool=no +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(COMPILE) -c `$(CYGPATH_W) '$<'` + +loadargb_cursor-loadargbcursor.o: src/loadargbcursor.c +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(loadargb_cursor_CFLAGS) $(CFLAGS) -MT loadargb_cursor-loadargbcursor.o -MD -MP -MF $(DEPDIR)/loadargb_cursor-loadargbcursor.Tpo -c -o loadargb_cursor-loadargbcursor.o `test -f 'src/loadargbcursor.c' || echo '$(srcdir)/'`src/loadargbcursor.c +# $(am__mv) $(DEPDIR)/loadargb_cursor-loadargbcursor.Tpo $(DEPDIR)/loadargb_cursor-loadargbcursor.Po +# source='src/loadargbcursor.c' object='loadargb_cursor-loadargbcursor.o' libtool=no +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(loadargb_cursor_CFLAGS) $(CFLAGS) -c -o loadargb_cursor-loadargbcursor.o `test -f 'src/loadargbcursor.c' || echo '$(srcdir)/'`src/loadargbcursor.c + +loadargb_cursor-loadargbcursor.obj: src/loadargbcursor.c +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(loadargb_cursor_CFLAGS) $(CFLAGS) -MT loadargb_cursor-loadargbcursor.obj -MD -MP -MF $(DEPDIR)/loadargb_cursor-loadargbcursor.Tpo -c -o loadargb_cursor-loadargbcursor.obj `if test -f 'src/loadargbcursor.c'; then $(CYGPATH_W) 'src/loadargbcursor.c'; else $(CYGPATH_W) '$(srcdir)/src/loadargbcursor.c'; fi` +# $(am__mv) $(DEPDIR)/loadargb_cursor-loadargbcursor.Tpo $(DEPDIR)/loadargb_cursor-loadargbcursor.Po +# source='src/loadargbcursor.c' object='loadargb_cursor-loadargbcursor.obj' libtool=no +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(loadargb_cursor_CFLAGS) $(CFLAGS) -c -o loadargb_cursor-loadargbcursor.obj `if test -f 'src/loadargbcursor.c'; then $(CYGPATH_W) 'src/loadargbcursor.c'; else $(CYGPATH_W) '$(srcdir)/src/loadargbcursor.c'; fi` + +steamcompmgr-steamcompmgr.o: src/steamcompmgr.c +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(steamcompmgr_CFLAGS) $(CFLAGS) -MT steamcompmgr-steamcompmgr.o -MD -MP -MF $(DEPDIR)/steamcompmgr-steamcompmgr.Tpo -c -o steamcompmgr-steamcompmgr.o `test -f 'src/steamcompmgr.c' || echo '$(srcdir)/'`src/steamcompmgr.c +# $(am__mv) $(DEPDIR)/steamcompmgr-steamcompmgr.Tpo $(DEPDIR)/steamcompmgr-steamcompmgr.Po +# source='src/steamcompmgr.c' object='steamcompmgr-steamcompmgr.o' libtool=no +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(steamcompmgr_CFLAGS) $(CFLAGS) -c -o steamcompmgr-steamcompmgr.o `test -f 'src/steamcompmgr.c' || echo '$(srcdir)/'`src/steamcompmgr.c + +steamcompmgr-steamcompmgr.obj: src/steamcompmgr.c +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(steamcompmgr_CFLAGS) $(CFLAGS) -MT steamcompmgr-steamcompmgr.obj -MD -MP -MF $(DEPDIR)/steamcompmgr-steamcompmgr.Tpo -c -o steamcompmgr-steamcompmgr.obj `if test -f 'src/steamcompmgr.c'; then $(CYGPATH_W) 'src/steamcompmgr.c'; else $(CYGPATH_W) '$(srcdir)/src/steamcompmgr.c'; fi` +# $(am__mv) $(DEPDIR)/steamcompmgr-steamcompmgr.Tpo $(DEPDIR)/steamcompmgr-steamcompmgr.Po +# source='src/steamcompmgr.c' object='steamcompmgr-steamcompmgr.obj' libtool=no +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(steamcompmgr_CFLAGS) $(CFLAGS) -c -o steamcompmgr-steamcompmgr.obj `if test -f 'src/steamcompmgr.c'; then $(CYGPATH_W) 'src/steamcompmgr.c'; else $(CYGPATH_W) '$(srcdir)/src/steamcompmgr.c'; fi` + +udev_is_boot_vga-udev_is_boot_vga.o: src/udev_is_boot_vga.c +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(udev_is_boot_vga_CFLAGS) $(CFLAGS) -MT udev_is_boot_vga-udev_is_boot_vga.o -MD -MP -MF $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Tpo -c -o udev_is_boot_vga-udev_is_boot_vga.o `test -f 'src/udev_is_boot_vga.c' || echo '$(srcdir)/'`src/udev_is_boot_vga.c +# $(am__mv) $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Tpo $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Po +# source='src/udev_is_boot_vga.c' object='udev_is_boot_vga-udev_is_boot_vga.o' libtool=no +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(udev_is_boot_vga_CFLAGS) $(CFLAGS) -c -o udev_is_boot_vga-udev_is_boot_vga.o `test -f 'src/udev_is_boot_vga.c' || echo '$(srcdir)/'`src/udev_is_boot_vga.c + +udev_is_boot_vga-udev_is_boot_vga.obj: src/udev_is_boot_vga.c +# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(udev_is_boot_vga_CFLAGS) $(CFLAGS) -MT udev_is_boot_vga-udev_is_boot_vga.obj -MD -MP -MF $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Tpo -c -o udev_is_boot_vga-udev_is_boot_vga.obj `if test -f 'src/udev_is_boot_vga.c'; then $(CYGPATH_W) 'src/udev_is_boot_vga.c'; else $(CYGPATH_W) '$(srcdir)/src/udev_is_boot_vga.c'; fi` +# $(am__mv) $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Tpo $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Po +# source='src/udev_is_boot_vga.c' object='udev_is_boot_vga-udev_is_boot_vga.obj' libtool=no +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(udev_is_boot_vga_CFLAGS) $(CFLAGS) -c -o udev_is_boot_vga-udev_is_boot_vga.obj `if test -f 'src/udev_is_boot_vga.c'; then $(CYGPATH_W) 'src/udev_is_boot_vga.c'; else $(CYGPATH_W) '$(srcdir)/src/udev_is_boot_vga.c'; fi` +install-dist_docDATA: $(dist_doc_DATA) + @$(NORMAL_INSTALL) + @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ + done + +uninstall-dist_docDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir) + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__remove_distdir) + +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod u+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-am +all-am: Makefile $(PROGRAMS) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-dist_docDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-binPROGRAMS + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ + clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \ + dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \ + dist-zip distcheck distclean distclean-compile \ + distclean-generic distclean-tags distcleancheck distdir \ + distuninstallcheck dvi dvi-am html html-am info info-am \ + install install-am install-binPROGRAMS install-data \ + install-data-am install-dist_docDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-binPROGRAMS \ + uninstall-dist_docDATA + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Makefile.in b/Makefile.in index 0856c0e39d..35c33476e6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.11.3 from Makefile.am. +# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, @@ -17,6 +17,23 @@ VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -33,9 +50,10 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -bin_PROGRAMS = steamcompmgr$(EXEEXT) +bin_PROGRAMS = steamcompmgr$(EXEEXT) loadargb_cursor$(EXEEXT) \ + udev_is_boot_vga$(EXEEXT) subdir = . -DIST_COMMON = $(am__configure_deps) $(dist_doc_DATA) \ +DIST_COMMON = README $(am__configure_deps) $(dist_doc_DATA) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/configure depcomp install-sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 @@ -49,12 +67,23 @@ CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" PROGRAMS = $(bin_PROGRAMS) +am_loadargb_cursor_OBJECTS = loadargb_cursor-loadargbcursor.$(OBJEXT) +loadargb_cursor_OBJECTS = $(am_loadargb_cursor_OBJECTS) +am__DEPENDENCIES_1 = +loadargb_cursor_DEPENDENCIES = $(am__DEPENDENCIES_1) +loadargb_cursor_LINK = $(CCLD) $(loadargb_cursor_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_steamcompmgr_OBJECTS = steamcompmgr-steamcompmgr.$(OBJEXT) steamcompmgr_OBJECTS = $(am_steamcompmgr_OBJECTS) -am__DEPENDENCIES_1 = steamcompmgr_DEPENDENCIES = $(am__DEPENDENCIES_1) steamcompmgr_LINK = $(CCLD) $(steamcompmgr_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_udev_is_boot_vga_OBJECTS = \ + udev_is_boot_vga-udev_is_boot_vga.$(OBJEXT) +udev_is_boot_vga_OBJECTS = $(am_udev_is_boot_vga_OBJECTS) +udev_is_boot_vga_DEPENDENCIES = $(am__DEPENDENCIES_1) +udev_is_boot_vga_LINK = $(CCLD) $(udev_is_boot_vga_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @@ -63,8 +92,15 @@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(steamcompmgr_SOURCES) -DIST_SOURCES = $(steamcompmgr_SOURCES) +SOURCES = $(loadargb_cursor_SOURCES) $(steamcompmgr_SOURCES) \ + $(udev_is_boot_vga_SOURCES) +DIST_SOURCES = $(loadargb_cursor_SOURCES) $(steamcompmgr_SOURCES) \ + $(udev_is_boot_vga_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -198,11 +234,17 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -steamcompmgr_SOURCES = src/steamcompmgr.c +steamcompmgr_SOURCES = src/steamcompmgr.c src/glext.h +loadargb_cursor_SOURCES = src/loadargbcursor.c +udev_is_boot_vga_SOURCES = src/udev_is_boot_vga.c AM_CFLAGS = $(DEPS_CFLAGS) AM_LIBS = $(DEPS_LIBS) steamcompmgr_CFLAGS = $(DEPS_CFLAGS) steamcompmgr_LDADD = $(DEPS_LIBS) +loadargb_cursor_CFLAGS = $(DEPS_CFLAGS) +loadargb_cursor_LDADD = $(DEPS_LIBS) +udev_is_boot_vga_CFLAGS = $(DEPS_CFLAGS) +udev_is_boot_vga_LDADD = $(DEPS_LIBS) dist_doc_DATA = README all: all-am @@ -244,8 +286,11 @@ $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p; \ @@ -279,9 +324,15 @@ uninstall-binPROGRAMS: clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) +loadargb_cursor$(EXEEXT): $(loadargb_cursor_OBJECTS) $(loadargb_cursor_DEPENDENCIES) $(EXTRA_loadargb_cursor_DEPENDENCIES) + @rm -f loadargb_cursor$(EXEEXT) + $(loadargb_cursor_LINK) $(loadargb_cursor_OBJECTS) $(loadargb_cursor_LDADD) $(LIBS) steamcompmgr$(EXEEXT): $(steamcompmgr_OBJECTS) $(steamcompmgr_DEPENDENCIES) $(EXTRA_steamcompmgr_DEPENDENCIES) @rm -f steamcompmgr$(EXEEXT) $(steamcompmgr_LINK) $(steamcompmgr_OBJECTS) $(steamcompmgr_LDADD) $(LIBS) +udev_is_boot_vga$(EXEEXT): $(udev_is_boot_vga_OBJECTS) $(udev_is_boot_vga_DEPENDENCIES) $(EXTRA_udev_is_boot_vga_DEPENDENCIES) + @rm -f udev_is_boot_vga$(EXEEXT) + $(udev_is_boot_vga_LINK) $(udev_is_boot_vga_OBJECTS) $(udev_is_boot_vga_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -289,7 +340,9 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/loadargb_cursor-loadargbcursor.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/steamcompmgr-steamcompmgr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -305,6 +358,20 @@ distclean-compile: @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +loadargb_cursor-loadargbcursor.o: src/loadargbcursor.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(loadargb_cursor_CFLAGS) $(CFLAGS) -MT loadargb_cursor-loadargbcursor.o -MD -MP -MF $(DEPDIR)/loadargb_cursor-loadargbcursor.Tpo -c -o loadargb_cursor-loadargbcursor.o `test -f 'src/loadargbcursor.c' || echo '$(srcdir)/'`src/loadargbcursor.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/loadargb_cursor-loadargbcursor.Tpo $(DEPDIR)/loadargb_cursor-loadargbcursor.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/loadargbcursor.c' object='loadargb_cursor-loadargbcursor.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(loadargb_cursor_CFLAGS) $(CFLAGS) -c -o loadargb_cursor-loadargbcursor.o `test -f 'src/loadargbcursor.c' || echo '$(srcdir)/'`src/loadargbcursor.c + +loadargb_cursor-loadargbcursor.obj: src/loadargbcursor.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(loadargb_cursor_CFLAGS) $(CFLAGS) -MT loadargb_cursor-loadargbcursor.obj -MD -MP -MF $(DEPDIR)/loadargb_cursor-loadargbcursor.Tpo -c -o loadargb_cursor-loadargbcursor.obj `if test -f 'src/loadargbcursor.c'; then $(CYGPATH_W) 'src/loadargbcursor.c'; else $(CYGPATH_W) '$(srcdir)/src/loadargbcursor.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/loadargb_cursor-loadargbcursor.Tpo $(DEPDIR)/loadargb_cursor-loadargbcursor.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/loadargbcursor.c' object='loadargb_cursor-loadargbcursor.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(loadargb_cursor_CFLAGS) $(CFLAGS) -c -o loadargb_cursor-loadargbcursor.obj `if test -f 'src/loadargbcursor.c'; then $(CYGPATH_W) 'src/loadargbcursor.c'; else $(CYGPATH_W) '$(srcdir)/src/loadargbcursor.c'; fi` + steamcompmgr-steamcompmgr.o: src/steamcompmgr.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(steamcompmgr_CFLAGS) $(CFLAGS) -MT steamcompmgr-steamcompmgr.o -MD -MP -MF $(DEPDIR)/steamcompmgr-steamcompmgr.Tpo -c -o steamcompmgr-steamcompmgr.o `test -f 'src/steamcompmgr.c' || echo '$(srcdir)/'`src/steamcompmgr.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/steamcompmgr-steamcompmgr.Tpo $(DEPDIR)/steamcompmgr-steamcompmgr.Po @@ -318,10 +385,27 @@ steamcompmgr-steamcompmgr.obj: src/steamcompmgr.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/steamcompmgr.c' object='steamcompmgr-steamcompmgr.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(steamcompmgr_CFLAGS) $(CFLAGS) -c -o steamcompmgr-steamcompmgr.obj `if test -f 'src/steamcompmgr.c'; then $(CYGPATH_W) 'src/steamcompmgr.c'; else $(CYGPATH_W) '$(srcdir)/src/steamcompmgr.c'; fi` + +udev_is_boot_vga-udev_is_boot_vga.o: src/udev_is_boot_vga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(udev_is_boot_vga_CFLAGS) $(CFLAGS) -MT udev_is_boot_vga-udev_is_boot_vga.o -MD -MP -MF $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Tpo -c -o udev_is_boot_vga-udev_is_boot_vga.o `test -f 'src/udev_is_boot_vga.c' || echo '$(srcdir)/'`src/udev_is_boot_vga.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Tpo $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/udev_is_boot_vga.c' object='udev_is_boot_vga-udev_is_boot_vga.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(udev_is_boot_vga_CFLAGS) $(CFLAGS) -c -o udev_is_boot_vga-udev_is_boot_vga.o `test -f 'src/udev_is_boot_vga.c' || echo '$(srcdir)/'`src/udev_is_boot_vga.c + +udev_is_boot_vga-udev_is_boot_vga.obj: src/udev_is_boot_vga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(udev_is_boot_vga_CFLAGS) $(CFLAGS) -MT udev_is_boot_vga-udev_is_boot_vga.obj -MD -MP -MF $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Tpo -c -o udev_is_boot_vga-udev_is_boot_vga.obj `if test -f 'src/udev_is_boot_vga.c'; then $(CYGPATH_W) 'src/udev_is_boot_vga.c'; else $(CYGPATH_W) '$(srcdir)/src/udev_is_boot_vga.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Tpo $(DEPDIR)/udev_is_boot_vga-udev_is_boot_vga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/udev_is_boot_vga.c' object='udev_is_boot_vga-udev_is_boot_vga.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(udev_is_boot_vga_CFLAGS) $(CFLAGS) -c -o udev_is_boot_vga-udev_is_boot_vga.obj `if test -f 'src/udev_is_boot_vga.c'; then $(CYGPATH_W) 'src/udev_is_boot_vga.c'; else $(CYGPATH_W) '$(srcdir)/src/udev_is_boot_vga.c'; fi` install-dist_docDATA: $(dist_doc_DATA) @$(NORMAL_INSTALL) - test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -487,7 +571,7 @@ distcheck: dist *.zip*) \ unzip $(distdir).zip ;;\ esac - chmod -R a-w $(distdir); chmod a+w $(distdir) + chmod -R a-w $(distdir); chmod u+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) diff --git a/aclocal.m4 b/aclocal.m4 index 02459aaf3b..93f6dc5757 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.11.3 -*- Autoconf -*- +# generated automatically by aclocal 1.11.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, @@ -14,8 +14,8 @@ m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, -[m4_warning([this file was generated for autoconf 2.68. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) @@ -180,6 +180,61 @@ else fi[]dnl ])# PKG_CHECK_MODULES + +# PKG_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable pkgconfigdir as the location where a module +# should install pkg-config .pc files. By default the directory is +# $libdir/pkgconfig, but the default can be changed by passing +# DIRECTORY. The user can override through the --with-pkgconfigdir +# parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_INSTALLDIR + + +# PKG_NOARCH_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable noarch_pkgconfigdir as the location where a +# module should install arch-independent pkg-config .pc files. By +# default the directory is $datadir/pkgconfig, but the default can be +# changed by passing DIRECTORY. The user can override through the +# --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_NOARCH_INSTALLDIR + + +# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, +# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# ------------------------------------------- +# Retrieves the value of the pkg-config variable for the given module. +AC_DEFUN([PKG_CHECK_VAR], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl + +_PKG_CONFIG([$1], [variable="][$3]["], [$2]) +AS_VAR_COPY([$1], [pkg_cv_][$1]) + +AS_VAR_IF([$1], [""], [$5], [$4])dnl +])# PKG_CHECK_VAR + # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software # Foundation, Inc. # @@ -198,7 +253,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.11.3], [], +m4_if([$1], [1.11.6], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -214,7 +269,7 @@ m4_define([_AM_AUTOCONF_VERSION], []) # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.11.3])dnl +[AM_AUTOMAKE_VERSION([1.11.6])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) @@ -918,6 +973,25 @@ AC_DEFUN([_AM_SET_OPTIONS], AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 1 + +# AM_RUN_LOG(COMMAND) +# ------------------- +# Run COMMAND, save the exit status in ac_status, and log it. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) +AC_DEFUN([AM_RUN_LOG], +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + (exit $ac_status); }]) + # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 diff --git a/config.log b/config.log new file mode 100644 index 0000000000..a861d44c85 --- /dev/null +++ b/config.log @@ -0,0 +1,503 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by SteamOS Compostitor configure 1.0, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/steamos-compositor --disable-maintainer-mode --disable-dependency-tracking + +## --------- ## +## Platform. ## +## --------- ## + +hostname = johnvub64 +uname -m = x86_64 +uname -r = 3.13.0-52-generic +uname -s = Linux +uname -v = #86-Ubuntu SMP Mon May 4 04:32:59 UTC 2015 + +/usr/bin/uname -p = unknown +/bin/uname -X = unknown + +/bin/arch = unknown +/usr/bin/arch -k = unknown +/usr/convex/getsysinfo = unknown +/usr/bin/hostinfo = unknown +/bin/machine = unknown +/usr/bin/oslevel = unknown +/bin/universe = unknown + +PATH: /usr/lib/lightdm/lightdm +PATH: /usr/local/sbin +PATH: /usr/local/bin +PATH: /usr/sbin +PATH: /usr/bin +PATH: /sbin +PATH: /bin +PATH: /opt/slickedit/bin +PATH: /data/home/VALVE/johnv/bin + + +## ----------- ## +## Core tests. ## +## ----------- ## + +configure:1841: checking for a BSD-compatible install +configure:1909: result: /usr/bin/install -c +configure:1920: checking whether build environment is sane +configure:1970: result: yes +configure:2111: checking for a thread-safe mkdir -p +configure:2150: result: /bin/mkdir -p +configure:2163: checking for gawk +configure:2193: result: no +configure:2163: checking for mawk +configure:2179: found /usr/bin/mawk +configure:2190: result: mawk +configure:2201: checking whether make sets $(MAKE) +configure:2223: result: yes +configure:2298: checking how to create a ustar tar archive +configure:2311: tar --version +tar (GNU tar) 1.27.1 +Copyright (C) 2013 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later . +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. + +Written by John Gilmore and Jay Fenlason. +configure:2314: $? = 0 +configure:2354: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar +tar: value 2055759289 out of uid_t range 0..2097151 +tar: Exiting with failure status due to previous errors +configure:2357: $? = 2 +configure:2361: tar -xf - conftest.tar +./configure: line 2355: pax: command not found +configure:2357: $? = 127 +configure:2354: tardir=conftest.dir && eval find "$tardir" -print | cpio -o -H ustar -L >conftest.tar +5 blocks +configure:2357: $? = 0 +configure:2361: cpio -i -H ustar -d &5 +gcc (Debian 4.9.2-10+bsos2) 4.9.2 +Copyright (C) 2014 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +configure:2920: $? = 0 +configure:2909: gcc -v >&5 +Using built-in specs. +COLLECT_GCC=gcc +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper +Target: x86_64-linux-gnu +Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10+bsos2' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu +Thread model: posix +gcc version 4.9.2 (Debian 4.9.2-10+bsos2) +configure:2920: $? = 0 +configure:2909: gcc -V >&5 +gcc: error: unrecognized command line option '-V' +gcc: fatal error: no input files +compilation terminated. +configure:2920: $? = 4 +configure:2909: gcc -qversion >&5 +gcc: error: unrecognized command line option '-qversion' +gcc: fatal error: no input files +compilation terminated. +configure:2920: $? = 4 +configure:2940: checking whether the C compiler works +configure:2962: gcc conftest.c >&5 +configure:2966: $? = 0 +configure:3014: result: yes +configure:3017: checking for C compiler default output file name +configure:3019: result: a.out +configure:3025: checking for suffix of executables +configure:3032: gcc -o conftest conftest.c >&5 +configure:3036: $? = 0 +configure:3058: result: +configure:3080: checking whether we are cross compiling +configure:3088: gcc -o conftest conftest.c >&5 +configure:3092: $? = 0 +configure:3099: ./conftest +configure:3103: $? = 0 +configure:3118: result: no +configure:3123: checking for suffix of object files +configure:3145: gcc -c conftest.c >&5 +configure:3149: $? = 0 +configure:3170: result: o +configure:3174: checking whether we are using the GNU C compiler +configure:3193: gcc -c conftest.c >&5 +configure:3193: $? = 0 +configure:3202: result: yes +configure:3211: checking whether gcc accepts -g +configure:3231: gcc -c -g conftest.c >&5 +configure:3231: $? = 0 +configure:3272: result: yes +configure:3289: checking for gcc option to accept ISO C89 +configure:3352: gcc -c -g -O2 conftest.c >&5 +configure:3352: $? = 0 +configure:3365: result: none needed +configure:3396: checking for style of include used by make +configure:3424: result: GNU +configure:3450: checking dependency style of gcc +configure:3561: result: none +configure:3580: checking for gcc option to accept ISO C99 +configure:3729: gcc -c -g -O2 conftest.c >&5 +conftest.c:61:29: error: expected ';', ',' or ')' before 'text' + test_restrict (ccp restrict text) + ^ +conftest.c: In function 'main': +conftest.c:115:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' + char *restrict newvar = "Another string"; + ^ +conftest.c:115:18: error: 'newvar' undeclared (first use in this function) +conftest.c:115:18: note: each undeclared identifier is reported only once for each function it appears in +conftest.c:125:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode + for (int i = 0; i < ia->datasize; ++i) + ^ +conftest.c:125:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code +configure:3729: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "SteamOS Compostitor" +| #define PACKAGE_TARNAME "steamos-compositor" +| #define PACKAGE_VERSION "1.0" +| #define PACKAGE_STRING "SteamOS Compostitor 1.0" +| #define PACKAGE_BUGREPORT "linux@steampowered.com" +| #define PACKAGE_URL "http://support.steampowered.com" +| #define PACKAGE "steamos-compositor" +| #define VERSION "1.0" +| /* end confdefs.h. */ +| #include +| #include +| #include +| #include +| #include +| +| // Check varargs macros. These examples are taken from C99 6.10.3.5. +| #define debug(...) fprintf (stderr, __VA_ARGS__) +| #define showlist(...) puts (#__VA_ARGS__) +| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) +| static void +| test_varargs_macros (void) +| { +| int x = 1234; +| int y = 5678; +| debug ("Flag"); +| debug ("X = %d\n", x); +| showlist (The first, second, and third items.); +| report (x>y, "x is %d but y is %d", x, y); +| } +| +| // Check long long types. +| #define BIG64 18446744073709551615ull +| #define BIG32 4294967295ul +| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) +| #if !BIG_OK +| your preprocessor is broken; +| #endif +| #if BIG_OK +| #else +| your preprocessor is broken; +| #endif +| static long long int bignum = -9223372036854775807LL; +| static unsigned long long int ubignum = BIG64; +| +| struct incomplete_array +| { +| int datasize; +| double data[]; +| }; +| +| struct named_init { +| int number; +| const wchar_t *name; +| double average; +| }; +| +| typedef const char *ccp; +| +| static inline int +| test_restrict (ccp restrict text) +| { +| // See if C++-style comments work. +| // Iterate through items via the restricted pointer. +| // Also check for declarations in for loops. +| for (unsigned int i = 0; *(text+i) != '\0'; ++i) +| continue; +| return 0; +| } +| +| // Check varargs and va_copy. +| static void +| test_varargs (const char *format, ...) +| { +| va_list args; +| va_start (args, format); +| va_list args_copy; +| va_copy (args_copy, args); +| +| const char *str; +| int number; +| float fnumber; +| +| while (*format) +| { +| switch (*format++) +| { +| case 's': // string +| str = va_arg (args_copy, const char *); +| break; +| case 'd': // int +| number = va_arg (args_copy, int); +| break; +| case 'f': // float +| fnumber = va_arg (args_copy, double); +| break; +| default: +| break; +| } +| } +| va_end (args_copy); +| va_end (args); +| } +| +| int +| main () +| { +| +| // Check bool. +| _Bool success = false; +| +| // Check restrict. +| if (test_restrict ("String literal") == 0) +| success = true; +| char *restrict newvar = "Another string"; +| +| // Check varargs. +| test_varargs ("s, d' f .", "string", 65, 34.234); +| test_varargs_macros (); +| +| // Check flexible array members. +| struct incomplete_array *ia = +| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); +| ia->datasize = 10; +| for (int i = 0; i < ia->datasize; ++i) +| ia->data[i] = i * 1.234; +| +| // Check named initializers. +| struct named_init ni = { +| .number = 34, +| .name = L"Test wide string", +| .average = 543.34343, +| }; +| +| ni.number = 58; +| +| int dynamic_array[ni.number]; +| dynamic_array[ni.number - 1] = 543; +| +| // work around unused variable warnings +| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' +| || dynamic_array[ni.number - 1] != 543); +| +| ; +| return 0; +| } +configure:3729: gcc -std=gnu99 -c -g -O2 conftest.c >&5 +configure:3729: $? = 0 +configure:3749: result: -std=gnu99 +configure:3850: checking for gcc -std=gnu99 option to accept ISO Standard C +configure:3864: result: -std=gnu99 +configure:4037: creating ./config.status + +## ---------------------- ## +## Running config.status. ## +## ---------------------- ## + +This file was extended by SteamOS Compostitor config.status 1.0, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = + CONFIG_HEADERS = + CONFIG_LINKS = + CONFIG_COMMANDS = + $ ./config.status + +on johnvub64 + +config.status:775: creating Makefile +config.status:947: executing depfiles commands +configure:5165: WARNING: unrecognized options: --disable-maintainer-mode + +## ---------------- ## +## Cache variables. ## +## ---------------- ## + +ac_cv_c_compiler_gnu=yes +ac_cv_env_CC_set= +ac_cv_env_CC_value= +ac_cv_env_CFLAGS_set= +ac_cv_env_CFLAGS_value= +ac_cv_env_CPPFLAGS_set= +ac_cv_env_CPPFLAGS_value= +ac_cv_env_DEPS_CFLAGS_set= +ac_cv_env_DEPS_CFLAGS_value= +ac_cv_env_DEPS_LIBS_set= +ac_cv_env_DEPS_LIBS_value= +ac_cv_env_LDFLAGS_set= +ac_cv_env_LDFLAGS_value= +ac_cv_env_LIBS_set= +ac_cv_env_LIBS_value= +ac_cv_env_PKG_CONFIG_LIBDIR_set= +ac_cv_env_PKG_CONFIG_LIBDIR_value= +ac_cv_env_PKG_CONFIG_PATH_set= +ac_cv_env_PKG_CONFIG_PATH_value= +ac_cv_env_PKG_CONFIG_set= +ac_cv_env_PKG_CONFIG_value= +ac_cv_env_build_alias_set=set +ac_cv_env_build_alias_value=x86_64-linux-gnu +ac_cv_env_host_alias_set= +ac_cv_env_host_alias_value= +ac_cv_env_target_alias_set= +ac_cv_env_target_alias_value= +ac_cv_objext=o +ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config +ac_cv_path_install='/usr/bin/install -c' +ac_cv_path_mkdir=/bin/mkdir +ac_cv_prog_AWK=mawk +ac_cv_prog_ac_ct_CC=gcc +ac_cv_prog_cc_c89= +ac_cv_prog_cc_c99=-std=gnu99 +ac_cv_prog_cc_g=yes +ac_cv_prog_cc_stdc=-std=gnu99 +ac_cv_prog_make_make_set=yes +am_cv_CC_dependencies_compiler_type=none +am_cv_prog_tar_ustar=cpio +pkg_cv_DEPS_CFLAGS='-D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/SDL ' +pkg_cv_DEPS_LIBS='-lXxf86vm -lGL -lXrender -lX11 -lXcomposite -lSDL_image -lSDL -ludev -lXext -lXdamage -lXfixes ' + +## ----------------- ## +## Output variables. ## +## ----------------- ## + +ACLOCAL='${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run aclocal-1.11' +AMDEPBACKSLASH='' +AMDEP_FALSE='' +AMDEP_TRUE='#' +AMTAR='$${TAR-tar}' +AUTOCONF='${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run autoconf' +AUTOHEADER='${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run autoheader' +AUTOMAKE='${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run automake-1.11' +AWK='mawk' +CC='gcc -std=gnu99' +CCDEPMODE='depmode=none' +CFLAGS='-g -O2' +CPPFLAGS='' +CYGPATH_W='echo' +DEFS='-DPACKAGE_NAME=\"SteamOS\ Compostitor\" -DPACKAGE_TARNAME=\"steamos-compositor\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"SteamOS\ Compostitor\ 1.0\" -DPACKAGE_BUGREPORT=\"linux@steampowered.com\" -DPACKAGE_URL=\"http://support.steampowered.com\" -DPACKAGE=\"steamos-compositor\" -DVERSION=\"1.0\"' +DEPDIR='.deps' +DEPS_CFLAGS='-D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/SDL ' +DEPS_LIBS='-lXxf86vm -lGL -lXrender -lX11 -lXcomposite -lSDL_image -lSDL -ludev -lXext -lXdamage -lXfixes ' +ECHO_C='' +ECHO_N='-n' +ECHO_T='' +EXEEXT='' +INSTALL_DATA='${INSTALL} -m 644' +INSTALL_PROGRAM='${INSTALL}' +INSTALL_SCRIPT='${INSTALL}' +INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' +LDFLAGS='' +LIBOBJS='' +LIBS='' +LTLIBOBJS='' +MAKEINFO='${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run makeinfo' +MKDIR_P='/bin/mkdir -p' +OBJEXT='o' +PACKAGE='steamos-compositor' +PACKAGE_BUGREPORT='linux@steampowered.com' +PACKAGE_NAME='SteamOS Compostitor' +PACKAGE_STRING='SteamOS Compostitor 1.0' +PACKAGE_TARNAME='steamos-compositor' +PACKAGE_URL='http://support.steampowered.com' +PACKAGE_VERSION='1.0' +PATH_SEPARATOR=':' +PKG_CONFIG='/usr/bin/pkg-config' +PKG_CONFIG_LIBDIR='' +PKG_CONFIG_PATH='' +SET_MAKE='' +SHELL='/bin/bash' +STRIP='' +VERSION='1.0' +ac_ct_CC='gcc' +am__EXEEXT_FALSE='' +am__EXEEXT_TRUE='#' +am__fastdepCC_FALSE='' +am__fastdepCC_TRUE='#' +am__include='include' +am__isrc='' +am__leading_dot='.' +am__nodep='' +am__quote='' +am__tar='find "$$tardir" -print | cpio -o -H ustar -L' +am__untar='cpio -i -H ustar -d' +bindir='${exec_prefix}/bin' +build_alias='x86_64-linux-gnu' +datadir='${datarootdir}' +datarootdir='${prefix}/share' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +dvidir='${docdir}' +exec_prefix='${prefix}' +host_alias='' +htmldir='${docdir}' +includedir='${prefix}/include' +infodir='${prefix}/share/info' +install_sh='${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/install-sh' +libdir='${exec_prefix}/lib' +libexecdir='${prefix}/lib/steamos-compositor' +localedir='${datarootdir}/locale' +localstatedir='/var' +mandir='${prefix}/share/man' +mkdir_p='/bin/mkdir -p' +oldincludedir='/usr/include' +pdfdir='${docdir}' +prefix='/usr' +program_transform_name='s,x,x,' +psdir='${docdir}' +sbindir='${exec_prefix}/sbin' +sharedstatedir='${prefix}/com' +sysconfdir='/etc' +target_alias='' + +## ----------- ## +## confdefs.h. ## +## ----------- ## + +/* confdefs.h */ +#define PACKAGE_NAME "SteamOS Compostitor" +#define PACKAGE_TARNAME "steamos-compositor" +#define PACKAGE_VERSION "1.0" +#define PACKAGE_STRING "SteamOS Compostitor 1.0" +#define PACKAGE_BUGREPORT "linux@steampowered.com" +#define PACKAGE_URL "http://support.steampowered.com" +#define PACKAGE "steamos-compositor" +#define VERSION "1.0" + +configure: exit 0 diff --git a/config.status b/config.status new file mode 100755 index 0000000000..9a52e71dfd --- /dev/null +++ b/config.status @@ -0,0 +1,1054 @@ +#! /bin/bash +# Generated by configure. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=${CONFIG_SHELL-/bin/bash} +export SHELL +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by SteamOS Compostitor $as_me 1.0, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +# Files that config.status was made for. +config_files=" Makefile" +config_commands=" depfiles" + +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + +Configuration files: +$config_files + +Configuration commands: +$config_commands + +Report bugs to . +SteamOS Compostitor home page: ." + +ac_cs_config="'--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=\${prefix}/include' '--mandir=\${prefix}/share/man' '--infodir=\${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=\${prefix}/lib/steamos-compositor' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu'" +ac_cs_version="\ +SteamOS Compostitor config.status 1.0 +configured by ./configure, generated by GNU Autoconf 2.69, + with options \"$ac_cs_config\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='/data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26' +srcdir='.' +INSTALL='/usr/bin/install -c' +MKDIR_P='/bin/mkdir -p' +AWK='mawk' +test -n "$AWK" || AWK=awk +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h | --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +if $ac_cs_recheck; then + set X /bin/bash './configure' '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=${prefix}/lib/steamos-compositor' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' $ac_configure_extra_args --no-create --no-recursion + shift + $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 + CONFIG_SHELL='/bin/bash' + export CONFIG_SHELL + exec "$@" +fi + +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +# +# INIT-COMMANDS +# +AMDEP_TRUE="#" ac_aux_dir="." + + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && +S["am__EXEEXT_FALSE"]="" +S["am__EXEEXT_TRUE"]="#" +S["LTLIBOBJS"]="" +S["LIBOBJS"]="" +S["am__fastdepCC_FALSE"]="" +S["am__fastdepCC_TRUE"]="#" +S["CCDEPMODE"]="depmode=none" +S["am__nodep"]="" +S["AMDEPBACKSLASH"]="" +S["AMDEP_FALSE"]="" +S["AMDEP_TRUE"]="#" +S["am__quote"]="" +S["am__include"]="include" +S["DEPDIR"]=".deps" +S["OBJEXT"]="o" +S["EXEEXT"]="" +S["ac_ct_CC"]="gcc" +S["CPPFLAGS"]="" +S["LDFLAGS"]="" +S["CFLAGS"]="-g -O2" +S["CC"]="gcc -std=gnu99" +S["DEPS_LIBS"]="-lXxf86vm -lGL -lXrender -lX11 -lXcomposite -lSDL_image -lSDL -ludev -lXext -lXdamage -lXfixes " +S["DEPS_CFLAGS"]="-D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/SDL " +S["PKG_CONFIG_LIBDIR"]="" +S["PKG_CONFIG_PATH"]="" +S["PKG_CONFIG"]="/usr/bin/pkg-config" +S["am__untar"]="cpio -i -H ustar -d" +S["am__tar"]="find \"$$tardir\" -print | cpio -o -H ustar -L" +S["AMTAR"]="$${TAR-tar}" +S["am__leading_dot"]="." +S["SET_MAKE"]="" +S["AWK"]="mawk" +S["mkdir_p"]="/bin/mkdir -p" +S["MKDIR_P"]="/bin/mkdir -p" +S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" +S["STRIP"]="" +S["install_sh"]="${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/install-sh" +S["MAKEINFO"]="${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run makeinfo" +S["AUTOHEADER"]="${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run autoheader" +S["AUTOMAKE"]="${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run automake-1.11" +S["AUTOCONF"]="${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run autoconf" +S["ACLOCAL"]="${SHELL} /data/home/VALVE/johnv/home:johnv:branches:steamos:brewmaster:main/steamos-compositor/steamos-compositor-1.26/missing --run aclocal-1.11" +S["VERSION"]="1.0" +S["PACKAGE"]="steamos-compositor" +S["CYGPATH_W"]="echo" +S["am__isrc"]="" +S["INSTALL_DATA"]="${INSTALL} -m 644" +S["INSTALL_SCRIPT"]="${INSTALL}" +S["INSTALL_PROGRAM"]="${INSTALL}" +S["target_alias"]="" +S["host_alias"]="" +S["build_alias"]="x86_64-linux-gnu" +S["LIBS"]="" +S["ECHO_T"]="" +S["ECHO_N"]="-n" +S["ECHO_C"]="" +S["DEFS"]="-DPACKAGE_NAME=\\\"SteamOS\\ Compostitor\\\" -DPACKAGE_TARNAME=\\\"steamos-compositor\\\" -DPACKAGE_VERSION=\\\"1.0\\\" -DPACKAGE_STRING=\\\"SteamOS\\ Compostitor\\ "\ +"1.0\\\" -DPACKAGE_BUGREPORT=\\\"linux@steampowered.com\\\" -DPACKAGE_URL=\\\"http://support.steampowered.com\\\" -DPACKAGE=\\\"steamos-compositor\\\" -DVERSION=\\\""\ +"1.0\\\"" +S["mandir"]="${prefix}/share/man" +S["localedir"]="${datarootdir}/locale" +S["libdir"]="${exec_prefix}/lib" +S["psdir"]="${docdir}" +S["pdfdir"]="${docdir}" +S["dvidir"]="${docdir}" +S["htmldir"]="${docdir}" +S["infodir"]="${prefix}/share/info" +S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" +S["oldincludedir"]="/usr/include" +S["includedir"]="${prefix}/include" +S["localstatedir"]="/var" +S["sharedstatedir"]="${prefix}/com" +S["sysconfdir"]="/etc" +S["datadir"]="${datarootdir}" +S["datarootdir"]="${prefix}/share" +S["libexecdir"]="${prefix}/lib/steamos-compositor" +S["sbindir"]="${exec_prefix}/sbin" +S["bindir"]="${exec_prefix}/bin" +S["program_transform_name"]="s,x,x," +S["prefix"]="/usr" +S["exec_prefix"]="${prefix}" +S["PACKAGE_URL"]="http://support.steampowered.com" +S["PACKAGE_BUGREPORT"]="linux@steampowered.com" +S["PACKAGE_STRING"]="SteamOS Compostitor 1.0" +S["PACKAGE_VERSION"]="1.0" +S["PACKAGE_TARNAME"]="steamos-compositor" +S["PACKAGE_NAME"]="SteamOS Compostitor" +S["PATH_SEPARATOR"]=":" +S["SHELL"]="/bin/bash" +_ACAWK +cat >>"$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +fi # test -n "$CONFIG_FILES" + + +eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + ac_datarootdir_hack=' + s&@datadir@&${datarootdir}&g + s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g + s&@infodir@&${prefix}/share/info&g + s&@localedir@&${datarootdir}/locale&g + s&@mandir@&${prefix}/share/man&g + s&\${datarootdir}&${prefix}/share&g' ;; +esac +ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +} + +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 diff --git a/configure b/configure index 49ebf15c60..a83fc02ae7 100755 --- a/configure +++ b/configure @@ -1,13 +1,11 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for steamos-compostitor 1.0. +# Generated by GNU Autoconf 2.69 for SteamOS Compostitor 1.0. # # Report bugs to . # # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software -# Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -136,6 +134,31 @@ export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh @@ -169,7 +192,8 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi -test x\$exitcode = x0 || exit 1" +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && @@ -213,21 +237,25 @@ IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - # Preserve -v and -x to the replacement shell. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; - esac - exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi if test x$as_have_required = xno; then : @@ -330,6 +358,14 @@ $as_echo X"$as_dir" | } # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take @@ -451,6 +487,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). @@ -485,16 +525,16 @@ if (echo >conf$$.file) 2>/dev/null; then # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -506,28 +546,8 @@ else as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -557,12 +577,12 @@ MFLAGS= MAKEFLAGS= # Identity of this package. -PACKAGE_NAME='steamos-compostitor' -PACKAGE_TARNAME='http://support.steampowered.com' +PACKAGE_NAME='SteamOS Compostitor' +PACKAGE_TARNAME='steamos-compositor' PACKAGE_VERSION='1.0' -PACKAGE_STRING='steamos-compostitor 1.0' +PACKAGE_STRING='SteamOS Compostitor 1.0' PACKAGE_BUGREPORT='linux@steampowered.com' -PACKAGE_URL='' +PACKAGE_URL='http://support.steampowered.com' ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE @@ -1124,8 +1144,6 @@ target=$target_alias if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -1211,7 +1229,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures steamos-compostitor 1.0 to adapt to many kinds of systems. +\`configure' configures SteamOS Compostitor 1.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1260,7 +1278,7 @@ Fine tuning of the installation directories: --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root - [DATAROOTDIR/doc/http://support.steampowered.com] + [DATAROOTDIR/doc/steamos-compositor] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -1278,7 +1296,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of steamos-compostitor 1.0:";; + short | recursive ) echo "Configuration of SteamOS Compostitor 1.0:";; esac cat <<\_ACEOF @@ -1309,6 +1327,7 @@ Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . +SteamOS Compostitor home page: . _ACEOF ac_status=$? fi @@ -1371,10 +1390,10 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -steamos-compostitor configure 1.0 -generated by GNU Autoconf 2.68 +SteamOS Compostitor configure 1.0 +generated by GNU Autoconf 2.69 -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1426,8 +1445,8 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by steamos-compostitor $as_me 1.0, which was -generated by GNU Autoconf 2.68. Invocation command line was +It was created by SteamOS Compostitor $as_me 1.0, which was +generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -1842,7 +1861,7 @@ case $as_dir/ in #(( # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. @@ -2011,7 +2030,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2051,7 +2070,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2102,7 +2121,7 @@ do test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ @@ -2155,7 +2174,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2240,7 +2259,7 @@ fi # Define the identity of the package. - PACKAGE='http://support.steampowered.com' + PACKAGE='steamos-compositor' VERSION='1.0' @@ -2275,7 +2294,88 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' -am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 +$as_echo_n "checking how to create a ustar tar archive... " >&6; } +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar plaintar pax cpio none' +_am_tools=${am_cv_prog_tar_ustar-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + { echo "$as_me:$LINENO: $_am_tar --version" >&5 + ($_am_tar --version) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && break + done + am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x ustar -w "$$tardir"' + am__tar_='pax -L -x ustar -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H ustar -L' + am__tar_='find "$tardir" -print | cpio -o -H ustar -L' + am__untar='cpio -i -H ustar -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_ustar}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 + (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + rm -rf conftest.dir + if test -s conftest.tar; then + { echo "$as_me:$LINENO: $am__untar &5 + ($am__untar &5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +if ${am_cv_prog_tar_ustar+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_prog_tar_ustar=$_am_tool +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 +$as_echo "$am_cv_prog_tar_ustar" >&6; } @@ -2308,7 +2408,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2351,7 +2451,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2410,12 +2510,12 @@ if test -n "$DEPS_CFLAGS"; then pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xxf86vm gl x11 xrender xcomposite\""; } >&5 - ($PKG_CONFIG --exists --print-errors "xxf86vm gl x11 xrender xcomposite") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xxf86vm gl x11 xrender xcomposite SDL_image libudev xext xdamage\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xxf86vm gl x11 xrender xcomposite SDL_image libudev xext xdamage") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "xxf86vm gl x11 xrender xcomposite" 2>/dev/null` + pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "xxf86vm gl x11 xrender xcomposite SDL_image libudev xext xdamage" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -2427,12 +2527,12 @@ if test -n "$DEPS_LIBS"; then pkg_cv_DEPS_LIBS="$DEPS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xxf86vm gl x11 xrender xcomposite\""; } >&5 - ($PKG_CONFIG --exists --print-errors "xxf86vm gl x11 xrender xcomposite") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xxf86vm gl x11 xrender xcomposite SDL_image libudev xext xdamage\""; } >&5 + ($PKG_CONFIG --exists --print-errors "xxf86vm gl x11 xrender xcomposite SDL_image libudev xext xdamage") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "xxf86vm gl x11 xrender xcomposite" 2>/dev/null` + pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "xxf86vm gl x11 xrender xcomposite SDL_image libudev xext xdamage" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -2453,14 +2553,14 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xxf86vm gl x11 xrender xcomposite" 2>&1` + DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xxf86vm gl x11 xrender xcomposite SDL_image libudev xext xdamage" 2>&1` else - DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xxf86vm gl x11 xrender xcomposite" 2>&1` + DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xxf86vm gl x11 xrender xcomposite SDL_image libudev xext xdamage" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$DEPS_PKG_ERRORS" >&5 - as_fn_error $? "Package requirements (xxf86vm gl x11 xrender xcomposite) were not met: + as_fn_error $? "Package requirements (xxf86vm gl x11 xrender xcomposite SDL_image libudev xext xdamage) were not met: $DEPS_PKG_ERRORS @@ -2515,7 +2615,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2555,7 +2655,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2608,7 +2708,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2649,7 +2749,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue @@ -2707,7 +2807,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2751,7 +2851,7 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3197,8 +3297,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include -#include -#include +struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -3624,7 +3723,7 @@ main () return 0; } _ACEOF -for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 +for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : @@ -3664,8 +3763,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include -#include -#include +struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -4229,16 +4327,16 @@ if (echo >conf$$.file) 2>/dev/null; then # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -4298,28 +4396,16 @@ else as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -4340,8 +4426,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by steamos-compostitor $as_me 1.0, which was -generated by GNU Autoconf 2.68. Invocation command line was +This file was extended by SteamOS Compostitor $as_me 1.0, which was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -4391,17 +4477,18 @@ $config_files Configuration commands: $config_commands -Report bugs to ." +Report bugs to . +SteamOS Compostitor home page: ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -steamos-compostitor config.status 1.0 -configured by $0, generated by GNU Autoconf 2.68, +SteamOS Compostitor config.status 1.0 +configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -4481,7 +4568,7 @@ fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' diff --git a/configure.ac b/configure.ac index 50924ced52..f4e74664a8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_INIT([SteamOS Compostitor], [1.0], [linux@steampowered.com], [steamos-compositor], [http://support.steampowered.com]) AM_INIT_AUTOMAKE([foreign tar-ustar]) -PKG_CHECK_MODULES([DEPS],xxf86vm gl x11 xrender xcomposite SDL_image libudev) +PKG_CHECK_MODULES([DEPS],xxf86vm gl x11 xrender xcomposite SDL_image libudev xext xdamage) AC_PROG_CC AC_PROG_CC_STDC diff --git a/debian/changelog b/debian/changelog index 8779a7a548..8f01a32992 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,35 @@ -steamos-compositor (1.25) alchemist; urgency=medium +steamos-compositor (1.29) brewmaster; urgency=medium - * Fix commandline argument descriptions and getopt call to match actual behavior. - Thanks to Wouter Wijsman for the fix! + * Tweaking focus and display logic in steamcompmgr to avoid event storms on newer + X servers. It looks like Damage semantics changed on Xserver 1.16 and we were + getting unexpected events after XDamageSubtract(). - -- Pierre-Loup A. Griffais Thu, 18 Dec 2014 12:51:54 -0800 + -- Pierre-Loup A. Griffais Fri, 03 Jul 2015 19:36:36 -0700 + +steamos-compositor (1.28) brewmaster; urgency=medium + + * Add set_hd_mode.sh helper script, run at start of session; helps get out + of problematic cases like 30hz refresh rates and non-HD modes + + -- Pierre-Loup A. Griffais Mon, 29 Jun 2015 13:39:14 -0700 + +steamos-compositor (1.27) brewmaster; urgency=medium + + * depend on libudev1 instead of libudev0 + + -- John Vert Fri, 15 May 2015 11:45:12 -0700 + +steamos-compositor (1.26) brewmaster; urgency=medium + + * compilation fixes + + -- John Vert Fri, 15 May 2015 11:29:10 -0700 + +steamos-compositor (1.25) brewmaster; urgency=medium + + * fix missing tab in debian/rules, change Build-Depends from automake to automake1.11 + + -- John Vert Fri, 01 May 2015 16:25:26 -0700 steamos-compositor (1.24) alchemist; urgency=medium diff --git a/debian/control b/debian/control index 25d3521a7b..0ad9b8990f 100644 --- a/debian/control +++ b/debian/control @@ -3,10 +3,10 @@ Maintainer: Pierre-Loup Griffais Section: misc Priority: optional Standards-Version: 3.9.3 -Build-Depends: debhelper (>= 8), pkg-config, libxxf86vm-dev, libgl1-mesa-dev, libx11-dev, libxrender-dev, libxcomposite-dev, libxdamage-dev, libsdl-image1.2-dev, automake, autoconf, libudev-dev +Build-Depends: debhelper (>= 8), pkg-config, libxxf86vm-dev, libgl1-mesa-dev, libx11-dev, libxrender-dev, libxcomposite-dev, libxdamage-dev, libsdl-image1.2-dev, automake1.11, autoconf, libudev-dev Package: steamos-compositor Architecture: any -Depends: libsdl-image1.2, libudev0, ${shlibs:Depends}, ${misc:Depends} +Depends: libsdl-image1.2, libudev1, ${shlibs:Depends}, ${misc:Depends} Description: SteamOS Compositor Provides graphics compositor services for the full-screen environment of SteamOS diff --git a/debian/files b/debian/files new file mode 100644 index 0000000000..7a53bda9e4 --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +steamos-compositor_1.26_amd64.deb misc optional diff --git a/debian/rules b/debian/rules index 9cf44a68a5..0cff8040e7 100644 --- a/debian/rules +++ b/debian/rules @@ -3,4 +3,4 @@ dh $@ override_dh_shlibdeps: - dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info + dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info diff --git a/debian/steamos-compositor.debhelper.log b/debian/steamos-compositor.debhelper.log new file mode 100644 index 0000000000..d9a902bfda --- /dev/null +++ b/debian/steamos-compositor.debhelper.log @@ -0,0 +1,22 @@ +dh_auto_configure +dh_auto_build +dh_auto_test +dh_prep +dh_auto_install +dh_install +dh_installdocs +dh_installchangelogs +dh_icons +dh_perl +dh_link +dh_compress +dh_fixperms +dh_strip +dh_makeshlibs +override_dh_shlibdeps dh_shlibdeps +dh_shlibdeps +dh_installdeb +dh_gencontrol +dh_md5sums +dh_builddeb +dh_builddeb diff --git a/debian/steamos-compositor.postinst.debhelper b/debian/steamos-compositor.postinst.debhelper new file mode 100644 index 0000000000..f5e11f738c --- /dev/null +++ b/debian/steamos-compositor.postinst.debhelper @@ -0,0 +1,5 @@ +# Automatically added by dh_icons +if which update-icon-caches >/dev/null 2>&1 ; then + update-icon-caches /usr/share/icons/steam +fi +# End automatically added section diff --git a/debian/steamos-compositor.postrm.debhelper b/debian/steamos-compositor.postrm.debhelper new file mode 100644 index 0000000000..f5e11f738c --- /dev/null +++ b/debian/steamos-compositor.postrm.debhelper @@ -0,0 +1,5 @@ +# Automatically added by dh_icons +if which update-icon-caches >/dev/null 2>&1 ; then + update-icon-caches /usr/share/icons/steam +fi +# End automatically added section diff --git a/debian/steamos-compositor.substvars b/debian/steamos-compositor.substvars new file mode 100644 index 0000000000..abfb6edc64 --- /dev/null +++ b/debian/steamos-compositor.substvars @@ -0,0 +1,2 @@ +shlibs:Depends=libc6 (>= 2.2.5), libgl1-mesa-glx | libgl1, libsdl-image1.2 (>= 1.2.10), libsdl1.2debian (>= 1.2.11), libudev1 (>= 183), libx11-6, libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3 (>= 1:5.0), libxrender1, libxxf86vm1 +misc:Depends= diff --git a/debian/steamos-compositor/DEBIAN/control b/debian/steamos-compositor/DEBIAN/control new file mode 100644 index 0000000000..75efd952ef --- /dev/null +++ b/debian/steamos-compositor/DEBIAN/control @@ -0,0 +1,10 @@ +Package: steamos-compositor +Version: 1.26 +Architecture: amd64 +Maintainer: Pierre-Loup Griffais +Installed-Size: 98 +Depends: libsdl-image1.2 (>= 1.2.10), libudev1 (>= 183), libc6 (>= 2.2.5), libgl1-mesa-glx | libgl1, libsdl1.2debian (>= 1.2.11), libx11-6, libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3 (>= 1:5.0), libxrender1, libxxf86vm1 +Section: misc +Priority: optional +Description: SteamOS Compositor + Provides graphics compositor services for the full-screen environment of SteamOS diff --git a/debian/steamos-compositor/DEBIAN/md5sums b/debian/steamos-compositor/DEBIAN/md5sums new file mode 100644 index 0000000000..9b41b3fdad --- /dev/null +++ b/debian/steamos-compositor/DEBIAN/md5sums @@ -0,0 +1,9 @@ +49ad57d8444674595ca9d746ad76a3a9 usr/bin/loadargb_cursor +15851812f6456da5cdca52a4e195759f usr/bin/steamcompmgr +5600b63e44b6d65abce0bc5cac6ede79 usr/bin/steamos-session +35bc5f6ad26ff631c69c888b08ef4f11 usr/bin/udev_is_boot_vga +c6566f64461986ffe46c913e76644b70 usr/share/doc/steamos-compositor/README +fe61eee70d5668366df17d06aeeedc00 usr/share/doc/steamos-compositor/changelog.amd64.gz +99b35eec3db8c6c555185390296634cb usr/share/doc/steamos-compositor/copyright +30c0085f7ba699fd6a775a5374703ac4 usr/share/icons/steam/arrow.png +4c772d33880d4df40fb35f19bf49e335 usr/share/xsessions/steamos.desktop diff --git a/debian/steamos-compositor/DEBIAN/postinst b/debian/steamos-compositor/DEBIAN/postinst new file mode 100755 index 0000000000..73624dd2a4 --- /dev/null +++ b/debian/steamos-compositor/DEBIAN/postinst @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +# Automatically added by dh_icons +if which update-icon-caches >/dev/null 2>&1 ; then + update-icon-caches /usr/share/icons/steam +fi +# End automatically added section diff --git a/debian/steamos-compositor/DEBIAN/postrm b/debian/steamos-compositor/DEBIAN/postrm new file mode 100755 index 0000000000..73624dd2a4 --- /dev/null +++ b/debian/steamos-compositor/DEBIAN/postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +# Automatically added by dh_icons +if which update-icon-caches >/dev/null 2>&1 ; then + update-icon-caches /usr/share/icons/steam +fi +# End automatically added section diff --git a/debian/steamos-compositor/usr/bin/loadargb_cursor b/debian/steamos-compositor/usr/bin/loadargb_cursor new file mode 100755 index 0000000000..43ba633003 Binary files /dev/null and b/debian/steamos-compositor/usr/bin/loadargb_cursor differ diff --git a/debian/steamos-compositor/usr/bin/steamcompmgr b/debian/steamos-compositor/usr/bin/steamcompmgr new file mode 100755 index 0000000000..9865179513 Binary files /dev/null and b/debian/steamos-compositor/usr/bin/steamcompmgr differ diff --git a/debian/steamos-compositor/usr/bin/steamos-session b/debian/steamos-compositor/usr/bin/steamos-session new file mode 100755 index 0000000000..ae711cd0aa --- /dev/null +++ b/debian/steamos-compositor/usr/bin/steamos-session @@ -0,0 +1,20 @@ +#!/bin/sh +export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 + +export HOMETEST_DESKTOP=1 +export HOMETEST_USER=steam +export HOMETEST_DESKTOP_USER=desktop +export HOMETEST_DESKTOP_SESSION=gnome + +export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libmodeswitch_inhibitor.so:/usr/lib/i386-linux-gnu/libmodeswitch_inhibitor.so + +# Disable DPMS and screen blanking for now; it doesn't know about controller +# or Steam remote control events right now +xset -dpms +xset s off + +steamcompmgr & + +loadargb_cursor /usr/share/icons/steam/arrow.png + +steam -tenfoot -steamos -enableremotecontrol diff --git a/debian/steamos-compositor/usr/bin/udev_is_boot_vga b/debian/steamos-compositor/usr/bin/udev_is_boot_vga new file mode 100755 index 0000000000..6c7198275f Binary files /dev/null and b/debian/steamos-compositor/usr/bin/udev_is_boot_vga differ diff --git a/debian/steamos-compositor/usr/share/doc/steamos-compositor/README b/debian/steamos-compositor/usr/share/doc/steamos-compositor/README new file mode 100644 index 0000000000..8178c76d62 --- /dev/null +++ b/debian/steamos-compositor/usr/share/doc/steamos-compositor/README @@ -0,0 +1 @@ +readme diff --git a/debian/steamos-compositor/usr/share/doc/steamos-compositor/changelog.amd64.gz b/debian/steamos-compositor/usr/share/doc/steamos-compositor/changelog.amd64.gz new file mode 100644 index 0000000000..4178c29e21 Binary files /dev/null and b/debian/steamos-compositor/usr/share/doc/steamos-compositor/changelog.amd64.gz differ diff --git a/debian/steamos-compositor/usr/share/doc/steamos-compositor/copyright b/debian/steamos-compositor/usr/share/doc/steamos-compositor/copyright new file mode 100644 index 0000000000..2255275886 --- /dev/null +++ b/debian/steamos-compositor/usr/share/doc/steamos-compositor/copyright @@ -0,0 +1,29 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Contact: steamos@steampowered.com + +Files: * +Copyright: 2013 Valve Corporation +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice(s), this list of conditions and the following disclaimer + unmodified other than the allowable addition of one or more + copyright notices. + 2. Redistributions in binary form must reproduce the above copyright + notice(s), this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/steamos-compositor/usr/share/icons/steam/arrow.png b/debian/steamos-compositor/usr/share/icons/steam/arrow.png new file mode 100644 index 0000000000..4693d06490 Binary files /dev/null and b/debian/steamos-compositor/usr/share/icons/steam/arrow.png differ diff --git a/debian/steamos-compositor/usr/share/xsessions/steamos.desktop b/debian/steamos-compositor/usr/share/xsessions/steamos.desktop new file mode 100644 index 0000000000..62d19fc0d0 --- /dev/null +++ b/debian/steamos-compositor/usr/share/xsessions/steamos.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=SteamOS +Comment=Starts a SteamOS session +Exec=steamos-session +Icon=steamicon.png +Type=Application diff --git a/src/steamcompmgr.c b/src/steamcompmgr.c index 73e0b2c706..3009fb01dd 100644 --- a/src/steamcompmgr.c +++ b/src/steamcompmgr.c @@ -48,7 +48,8 @@ #include #define GL_GLEXT_PROTOTYPES -#define GL_GLEXT_LEGACY +#define GLX_GLEXT_LEGACY + #include #include "glext.h" #include "GL/glxext.h" @@ -163,6 +164,10 @@ Bool hideCursorForScale; Bool hideCursorForMovement; unsigned int lastCursorMovedTime; +Bool focusDirty = False; + +unsigned long damageSequence = 0; + #define CURSOR_HIDE_TIME 3000 Bool gotXError = False; @@ -1180,12 +1185,13 @@ determine_and_apply_focus (Display *dpy) setup_pointer_barriers(dpy); - if (gameFocused || !gamesRunningCount) + if (gameFocused || !gamesRunningCount && list[0].id != focus->id) { XRaiseWindow(dpy, focus->id); - XSetInputFocus(dpy, focus->id, RevertToNone, CurrentTime); } - + + XSetInputFocus(dpy, focus->id, RevertToNone, CurrentTime); + if (!focus->nudged) { XMoveWindow(dpy, focus->id, 1, 1); @@ -1337,7 +1343,7 @@ map_win (Display *dpy, Window id, unsigned long sequence) w->validContents = False; - determine_and_apply_focus(dpy); + focusDirty = True; } static void @@ -1371,7 +1377,7 @@ unmap_win (Display *dpy, Window id, Bool fade) return; w->a.map_state = IsUnmapped; - determine_and_apply_focus(dpy); + focusDirty = True; finish_unmap_win (dpy, w); } @@ -1442,7 +1448,7 @@ add_win (Display *dpy, Window id, Window prev, unsigned long sequence) if (new->a.map_state == IsViewable) map_win (dpy, id, sequence); - determine_and_apply_focus (dpy); + focusDirty = True; } static void @@ -1472,9 +1478,9 @@ restack_win (Display *dpy, win *w, Window new_above) } w->next = *prev; *prev = w; + + focusDirty = True; } - - determine_and_apply_focus(dpy); } static void @@ -1509,7 +1515,7 @@ configure_win (Display *dpy, XConfigureEvent *ce) w->a.override_redirect = ce->override_redirect; restack_win (dpy, w, ce->above); - determine_and_apply_focus (dpy); + focusDirty = True; } static void @@ -1560,7 +1566,7 @@ destroy_win (Display *dpy, Window id, Bool gone, Bool fade) currentOverlayWindow = None; if (currentNotificationWindow == id && gone) currentNotificationWindow = None; - determine_and_apply_focus(dpy); + focusDirty = True; finish_destroy_win (dpy, id, gone); } @@ -1582,14 +1588,14 @@ damage_win (Display *dpy, XDamageNotifyEvent *de) // First damage event we get, compute focus; we only want to focus damaged // windows to have meaningful frames. if (w->gameID && w->damage_sequence == 0) - determine_and_apply_focus(dpy); + focusDirty = True; - w->damage_sequence = de->serial; + w->damage_sequence = damageSequence++; // If we just passed the focused window, we might be eliglible to take over if (focus && focus != w && w->gameID && w->damage_sequence > focus->damage_sequence) - determine_and_apply_focus(dpy); + focusDirty = True; w->damaged = 1; @@ -1657,11 +1663,21 @@ usage (char *program) fprintf (stderr, "usage: %s [options]\n", program); fprintf (stderr, "Options\n"); fprintf (stderr, " -d display\n Specifies which display should be managed.\n"); - fprintf (stderr, " -n\n Don't perform any redirection or compositing.\n"); + fprintf (stderr, " -r radius\n Specifies the blur radius for client-side shadows. (default 12)\n"); + fprintf (stderr, " -o opacity\n Specifies the translucency for client-side shadows. (default .75)\n"); + fprintf (stderr, " -l left-offset\n Specifies the left offset for client-side shadows. (default -15)\n"); + fprintf (stderr, " -t top-offset\n Specifies the top offset for clinet-side shadows. (default -15)\n"); + fprintf (stderr, " -I fade-in-step\n Specifies the opacity change between steps while fading in. (default 0.028)\n"); + fprintf (stderr, " -O fade-out-step\n Specifies the opacity change between steps while fading out. (default 0.03)\n"); + fprintf (stderr, " -D fade-delta-time\n Specifies the time between steps in a fade in milliseconds. (default 10)\n"); + fprintf (stderr, " -a\n Use automatic server-side compositing. Faster, but no special effects.\n"); + fprintf (stderr, " -c\n Draw client-side shadows with fuzzy edges.\n"); + fprintf (stderr, " -C\n Avoid drawing shadows on dock/panel windows.\n"); + fprintf (stderr, " -f\n Fade windows in/out when opening/closing.\n"); + fprintf (stderr, " -F\n Fade windows during opacity changes.\n"); + fprintf (stderr, " -n\n Normal client-side compositing with transparency support\n"); + fprintf (stderr, " -s\n Draw server-side shadows with sharp edges.\n"); fprintf (stderr, " -S\n Enable synchronous operation (for debugging).\n"); - fprintf (stderr, " -v\n Display debug information on screen.\n"); - fprintf (stderr, " -V\n Log events to standard output.\n"); - fprintf (stderr, " -u\n Allow unredirection of windows.\n"); exit (1); } @@ -1751,7 +1767,7 @@ main (int argc, char **argv) char *display = NULL; int o; - while ((o = getopt (argc, argv, "d:nuSvV")) != -1) + while ((o = getopt (argc, argv, "D:I:O:d:r:o:l:t:scnufFCaSvV")) != -1) { switch (o) { case 'd': @@ -1970,6 +1986,8 @@ main (int argc, char **argv) for (;;) { + focusDirty = False; + do { XNextEvent (dpy, &ev); if ((ev.type & 0x7f) != KeymapNotify) @@ -2029,7 +2047,7 @@ main (int argc, char **argv) if (w) { get_size_hints(dpy, w); - determine_and_apply_focus(dpy); + focusDirty = True; } } } @@ -2074,7 +2092,7 @@ main (int argc, char **argv) if (w) { w->isSteam = get_prop(dpy, w->id, steamAtom, 0); - determine_and_apply_focus(dpy); + focusDirty = True; } } if (ev.xproperty.atom == gameAtom) @@ -2083,7 +2101,7 @@ main (int argc, char **argv) if (w) { w->gameID = get_prop(dpy, w->id, gameAtom, 0); - determine_and_apply_focus(dpy); + focusDirty = True; } } if (ev.xproperty.atom == overlayAtom) @@ -2092,7 +2110,7 @@ main (int argc, char **argv) if (w) { w->isOverlay = get_prop(dpy, w->id, overlayAtom, 0); - determine_and_apply_focus(dpy); + focusDirty = True; // Overlay windows need a RGBA pixmap, so destroy the old one there // It'll be reallocated as RGBA in ensure_win_resources() @@ -2108,14 +2126,14 @@ main (int argc, char **argv) if (w) { get_size_hints(dpy, w); - determine_and_apply_focus(dpy); + focusDirty = True; } } if (ev.xproperty.atom == gamesRunningAtom) { gamesRunningCount = get_prop(dpy, root, gamesRunningAtom, 0); - determine_and_apply_focus(dpy); + focusDirty = True; } if (ev.xproperty.atom == screenScaleAtom) { @@ -2126,7 +2144,7 @@ main (int argc, char **argv) if (w = find_win(dpy, currentFocusWindow)) w->damaged = 1; - determine_and_apply_focus(dpy); + focusDirty = True; } break; case ClientMessage: @@ -2138,7 +2156,7 @@ main (int argc, char **argv) { w->isFullscreen = ev.xclient.data.l[0]; - determine_and_apply_focus(dpy); + focusDirty = True; } } break; @@ -2197,6 +2215,9 @@ main (int argc, char **argv) break; } } while (QLength (dpy)); + + if (focusDirty == True) + determine_and_apply_focus(dpy); if (doRender) { diff --git a/usr/bin/steamos-session b/usr/bin/steamos-session index ae711cd0aa..cb2cabe19a 100644 --- a/usr/bin/steamos-session +++ b/usr/bin/steamos-session @@ -6,6 +6,8 @@ export HOMETEST_USER=steam export HOMETEST_DESKTOP_USER=desktop export HOMETEST_DESKTOP_SESSION=gnome +/usr/bin/steamos/set_hd_mode.sh >> $HOME/set_hd_mode.log + export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libmodeswitch_inhibitor.so:/usr/lib/i386-linux-gnu/libmodeswitch_inhibitor.so # Disable DPMS and screen blanking for now; it doesn't know about controller diff --git a/usr/bin/steamos/set_hd_mode.sh b/usr/bin/steamos/set_hd_mode.sh new file mode 100755 index 0000000000..77d88e1912 --- /dev/null +++ b/usr/bin/steamos/set_hd_mode.sh @@ -0,0 +1,61 @@ +#!/bin/bash + +# This script attempts to set a known-good mode on a good output + +function contains() { + local n=$# + local value=${!n} + for ((i=1;i < $#;i++)) { + if [ "${!i}" == "${value}" ]; then + echo "y" + return 0 + fi + } + echo "n" + return 1 +} + +GOODMODES=("1920x1080" "1280x720") +GOODRATES=("60.0" "59.9") # CEA modes guarantee or one the other, but not both? + +# First, some logging +date +xrandr --verbose + +# Improve this later to prioritize HDMI/DP over LVDS; for now, use first output +OUTPUT_NAME=`xrandr | grep ' connected' | head -n1 | cut -f1 -d' '` + +ALL_OUTPUT_NAMES=`xrandr | grep ' connected' | cut -f1 -d' '` + +# Disable everything but the first output +for i in $ALL_OUTPUT_NAMES; do + if [ "$i" != "$OUTPUT_NAME" ]; then + xrandr --output "$i" --off + fi +done + + +CURRENT_MODELINE=`xrandr | grep \* | tr -s ' ' | head -n1` + +CURRENT_MODE=`echo "$CURRENT_MODELINE" | cut -d' ' -f2` +CURRENT_RATE=`echo "$CURRENT_MODELINE" | tr ' ' '\n' | grep \* | tr -d \* | tr -d +` + +# If the current mode is already deemed good, we're good, exit +if [ $(contains "${GOODMODES[@]}" "$CURRENT_MODE") == "y" ]; then + if [ $(contains "${GOODRATES[@]}" "$CURRENT_RATE") == "y" ]; then + exit 0 + fi +fi + +# Otherwise try to set combinations of good modes/rates until it works +for goodmode in "${GOODMODES[@]}"; do + for goodrate in "${GOODRATES[@]}"; do + xrandr --output "$OUTPUT_NAME" --mode "$goodmode" --refresh "$goodrate" + # If good return, we're done + if [[ $? -eq 0 ]]; then + exit 0 + fi + done +done + +exit 1 \ No newline at end of file