diff -Nru em8300-0.16.4/aclocal.m4 em8300-0.18.0/aclocal.m4
--- em8300-0.16.4/aclocal.m4 2008-02-04 22:52:16.000000000 +0000
+++ em8300-0.18.0/aclocal.m4 2010-06-28 18:16:34.000000000 +0100
@@ -1,7 +1,7 @@
-# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -11,6 +11,14 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
+[m4_warning([this file was generated for autoconf 2.65.
+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'.])])
+
# Configure paths for GTK+
# Owen Taylor 1997-2001
@@ -98,7 +106,7 @@
int major, minor, micro;
char *tmp_version;
- system ("touch conf.gtktest");
+ fclose (fopen ("conf.gtktest", "w"));
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_gtk_version");
@@ -208,7 +216,7 @@
rm -f conf.gtktest
])
-# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -218,14 +226,31 @@
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
+# (This private macro should not be called outside this file.)
+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.1], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too. Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
-# Call AM_AUTOMAKE_VERSION so it can be traced.
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+# 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.9.6])])
+[AM_AUTOMAKE_VERSION([1.11.1])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
@@ -282,14 +307,14 @@
# AM_CONDITIONAL -*- Autoconf -*-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
# 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 7
+# serial 9
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
@@ -298,8 +323,11 @@
[AC_PREREQ(2.52)dnl
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
if $2; then
$1_TRUE=
$1_FALSE='#'
@@ -313,15 +341,14 @@
Usually this means the macro was only invoked conditionally.]])
fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
# 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 8
+# serial 10
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
@@ -349,6 +376,7 @@
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
@@ -377,6 +405,16 @@
if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
fi
+ am__universal=false
+ m4_case([$1], [CC],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac],
+ [CXX],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac])
+
for depmode in $am_compiler_list; do
# Setup a source with many dependencies, because some compilers
# like to wrap large dependency lists on column 80 (with \), and
@@ -394,7 +432,17 @@
done
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
nosideeffect)
# after this tag, mechanisms are not by side-effect, so they'll
# only be used when explicitly requested
@@ -404,18 +452,23 @@
break
fi
;;
+ msvisualcpp | msvcmsys)
+ # This compiler won't grok `-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
none) break ;;
esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
if depmode=$depmode \
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+ source=sub/conftest.c object=$am__obj \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
>/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
@@ -466,61 +519,74 @@
AMDEPBACKSLASH='\'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
])
# Generate code to set up dependency tracking. -*- Autoconf -*-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
# 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 3
+#serial 5
# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[for mf in $CONFIG_FILES; 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.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- 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_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
+[{
+ # 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")`
+ 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_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
done
-done
+}
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
@@ -537,28 +603,16 @@
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
-# 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 8
-
-# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
-
# Do all the work for Automake. -*- Autoconf -*-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006, 2008, 2009 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 12
+# serial 16
# This macro actually does too much. Some checks are only needed if
# your package does certain things. But this isn't really a big deal.
@@ -575,16 +629,20 @@
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.58])dnl
+[AC_PREREQ([2.62])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
-# test to see if srcdir already configured
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
- test -f $srcdir/config.status; then
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
fi
# test whether we have cygpath
@@ -604,6 +662,9 @@
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
@@ -619,8 +680,8 @@
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
AM_MISSING_PROG(AUTOHEADER, autoheader)
AM_MISSING_PROG(MAKEINFO, makeinfo)
-AM_PROG_INSTALL_SH
-AM_PROG_INSTALL_STRIP
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
@@ -628,20 +689,37 @@
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- [_AM_PROG_TAR([v7])])])
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
_AM_IF_OPTION([no-dependencies],,
[AC_PROVIDE_IFELSE([AC_PROG_CC],
- [_AM_DEPENDENCIES(CC)],
- [define([AC_PROG_CC],
- defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
+ [_AM_DEPENDENCIES(CC)],
+ [define([AC_PROG_CC],
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [_AM_DEPENDENCIES(CXX)],
- [define([AC_PROG_CXX],
- defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+ [_AM_DEPENDENCIES(CXX)],
+ [define([AC_PROG_CXX],
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES(OBJC)],
+ [define([AC_PROG_OBJC],
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
])
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
])
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
@@ -652,18 +730,19 @@
# our stamp files there.
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
[# Compute $1's index in $config_headers.
+_am_arg=$1
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
- $1 | $1:* )
+ $_am_arg | $_am_arg:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
-# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -674,7 +753,14 @@
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
AC_SUBST(install_sh)])
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
@@ -698,15 +784,55 @@
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])
+# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
+# From Jim Meyering
+
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# 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 5
+
+# AM_MAINTAINER_MODE([DEFAULT-MODE])
+# ----------------------------------
+# Control maintainer-specific portions of Makefiles.
+# Default is to disable them, unless `enable' is passed literally.
+# For symmetry, `disable' may be passed as well. Anyway, the user
+# can override the default with the --enable/--disable switch.
+AC_DEFUN([AM_MAINTAINER_MODE],
+[m4_case(m4_default([$1], [disable]),
+ [enable], [m4_define([am_maintainer_other], [disable])],
+ [disable], [m4_define([am_maintainer_other], [enable])],
+ [m4_define([am_maintainer_other], [enable])
+ m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
+ dnl maintainer-mode's default is 'disable' unless 'enable' is passed
+ AC_ARG_ENABLE([maintainer-mode],
+[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
+ (and sometimes confusing) to the casual installer],
+ [USE_MAINTAINER_MODE=$enableval],
+ [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
+ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
+ AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
+ MAINT=$MAINTAINER_MODE_TRUE
+ AC_SUBST([MAINT])dnl
+]
+)
+
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
+
# Check to see how 'make' treats includes. -*- Autoconf -*-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2005, 2009 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 3
+# serial 4
# AM_MAKE_INCLUDE()
# -----------------
@@ -715,7 +841,7 @@
[am_make=${MAKE-make}
cat > confinc << 'END'
am__doit:
- @echo done
+ @echo this is the am__doit target
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
@@ -725,24 +851,24 @@
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
-# We grep out `Entering directory' and `Leaving directory'
-# messages which can occur if `w' ends up in MAKEFLAGS.
-# In particular we don't look at `^make:' because GNU make might
-# be invoked under some other name (usually "gmake"), in which
-# case it prints its new name instead of `make'.
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- am__include=include
- am__quote=
- _am_result=GNU
-fi
+# Ignore all kinds of additional output from `make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- am__include=.include
- am__quote="\""
- _am_result=BSD
- fi
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
fi
AC_SUBST([am__include])
AC_SUBST([am__quote])
@@ -752,14 +878,14 @@
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
# 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 4
+# serial 6
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
@@ -775,7 +901,15 @@
# If it does, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
am_missing_run="$MISSING --run "
@@ -785,7 +919,7 @@
fi
])
-# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -793,70 +927,33 @@
# AM_PROG_MKDIR_P
# ---------------
-# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
-#
-# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
-# created by `make install' are always world readable, even if the
-# installer happens to have an overly restrictive umask (e.g. 077).
-# This was a mistake. There are at least two reasons why we must not
-# use `-m 0755':
-# - it causes special bits like SGID to be ignored,
-# - it may be too restrictive (some setups expect 775 directories).
-#
-# Do not use -m 0755 and let people choose whatever they expect by
-# setting umask.
-#
-# We cannot accept any implementation of `mkdir' that recognizes `-p'.
-# Some implementations (such as Solaris 8's) are not thread-safe: if a
-# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
-# concurrently, both version can detect that a/ is missing, but only
-# one can create it and the other will error out. Consequently we
-# restrict ourselves to GNU make (using the --version option ensures
-# this.)
+# Check for `mkdir -p'.
AC_DEFUN([AM_PROG_MKDIR_P],
-[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- # We used to keeping the `.' as first argument, in order to
- # allow $(mkdir_p) to be used without argument. As in
- # $(mkdir_p) $(somedir)
- # where $(somedir) is conditionally defined. However this is wrong
- # for two reasons:
- # 1. if the package is installed by a user who cannot write `.'
- # make install will fail,
- # 2. the above comment should most certainly read
- # $(mkdir_p) $(DESTDIR)$(somedir)
- # so it does not work when $(somedir) is undefined and
- # $(DESTDIR) is not.
- # To support the latter case, we have to write
- # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
- # so the `.' trick is pointless.
- mkdir_p='mkdir -p --'
-else
- # On NextStep and OpenStep, the `mkdir' command does not
- # recognize any option. It will interpret all options as
- # directories to create, and then abort because `.' already
- # exists.
- for d in ./-p ./--version;
- do
- test -d $d && rmdir $d
- done
- # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- if test -f "$ac_aux_dir/mkinstalldirs"; then
- mkdir_p='$(mkinstalldirs)'
- else
- mkdir_p='$(install_sh) -d'
- fi
-fi
-AC_SUBST([mkdir_p])])
+[AC_PREREQ([2.60])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
+dnl while keeping a definition of mkdir_p for backward compatibility.
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
+dnl adjustment using top_builddir (which is defined more often than
+dnl MKDIR_P).
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
+case $mkdir_p in
+ [[\\/$]]* | ?:[[\\/]]*) ;;
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
+esac
+])
# Helper functions for option handling. -*- Autoconf -*-
-# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2005, 2008 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 3
+# serial 4
# _AM_MANGLE_OPTION(NAME)
# -----------------------
@@ -873,7 +970,7 @@
# ----------------------------------
# OPTIONS is a space-separated list of Automake options.
AC_DEFUN([_AM_SET_OPTIONS],
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
# -------------------------------------------
@@ -883,14 +980,14 @@
# Check to make sure that the build environment is sane. -*- Autoconf -*-
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
# 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 4
+# serial 5
# AM_SANITY_CHECK
# ---------------
@@ -899,16 +996,29 @@
# Just in case
sleep 1
echo timestamp > conftest.file
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
+esac
+
# Do `set' in a subshell so we don't clobber the current shell's
# arguments. Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
if test "$[*]" = "X"; then
# -L didn't work.
- set X `ls -t $srcdir/configure conftest.file`
+ set X `ls -t "$srcdir/configure" conftest.file`
fi
rm -f conftest.file
if test "$[*]" != "X $srcdir/configure conftest.file" \
@@ -958,9 +1068,28 @@
if test "$cross_compiling" != no; then
AC_CHECK_TOOL([STRIP], [strip], :)
fi
-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
+# Copyright (C) 2006, 2008 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 2
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
# Check how to create a tarball. -*- Autoconf -*-
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
diff -Nru em8300-0.16.4/autotools/config.guess em8300-0.18.0/autotools/config.guess
--- em8300-0.16.4/autotools/config.guess 2008-02-04 22:52:21.000000000 +0000
+++ em8300-0.18.0/autotools/config.guess 2010-06-28 18:16:35.000000000 +0100
@@ -1,10 +1,10 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
-# Inc.
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+# Free Software Foundation, Inc.
-timestamp='2006-07-02'
+timestamp='2009-06-10'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -56,8 +56,8 @@
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
+2002, 2003, 2004, 2005, 2006, 2007, 2008 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."
@@ -161,6 +161,7 @@
arm*) machine=arm-unknown ;;
sh3el) machine=shl-unknown ;;
sh3eb) machine=sh-unknown ;;
+ sh5el) machine=sh5le-unknown ;;
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
esac
# The Operating System including object format, if it has switched
@@ -169,7 +170,7 @@
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
- | grep __ELF__ >/dev/null
+ | grep -q __ELF__
then
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
# Return netbsd for either. FIX?
@@ -323,14 +324,30 @@
case `/usr/bin/uname -p` in
sparc) echo sparc-icl-nx7; exit ;;
esac ;;
+ s390x:SunOS:*:*)
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
sun4H:SunOS:5.*:*)
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
- i86pc:SunOS:5.*:*)
- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
+ eval $set_cc_for_build
+ SUN_ARCH="i386"
+ # If there is a compiler, see if it is configured for 64-bit objects.
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
+ # This test works for both compilers.
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ SUN_ARCH="x86_64"
+ fi
+ fi
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
sun4*:SunOS:6*:*)
# According to config.sub, this is the proper way to canonicalize
@@ -531,7 +548,7 @@
echo rs6000-ibm-aix3.2
fi
exit ;;
- *:AIX:*:[45])
+ *:AIX:*:[456])
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
IBM_ARCH=rs6000
@@ -639,7 +656,7 @@
# => hppa64-hp-hpux11.23
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
- grep __LP64__ >/dev/null
+ grep -q __LP64__
then
HP_ARCH="hppa2.0w"
else
@@ -780,7 +797,7 @@
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
exit ;;
- i*:MINGW*:*)
+ *:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit ;;
i*:windows32*:*)
@@ -790,15 +807,24 @@
i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32
exit ;;
- x86:Interix*:[3456]*)
- echo i586-pc-interix${UNAME_RELEASE}
- exit ;;
- EM64T:Interix*:[3456]*)
- echo x86_64-unknown-interix${UNAME_RELEASE}
- exit ;;
+ *:Interix*:[3456]*)
+ case ${UNAME_MACHINE} in
+ x86)
+ echo i586-pc-interix${UNAME_RELEASE}
+ exit ;;
+ EM64T | authenticamd | genuineintel)
+ echo x86_64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ IA64)
+ echo ia64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ esac ;;
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
echo i${UNAME_MACHINE}-pc-mks
exit ;;
+ 8664:Windows_NT:*)
+ echo x86_64-pc-mks
+ exit ;;
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
@@ -829,7 +855,14 @@
echo ${UNAME_MACHINE}-pc-minix
exit ;;
arm*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
+ eval $set_cc_for_build
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_EABI__
+ then
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ else
+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+ fi
exit ;;
avr32*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -852,40 +885,17 @@
m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
- mips:Linux:*:*)
+ mips:Linux:*:* | mips64:Linux:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#undef CPU
- #undef mips
- #undef mipsel
+ #undef ${UNAME_MACHINE}
+ #undef ${UNAME_MACHINE}el
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- CPU=mipsel
+ CPU=${UNAME_MACHINE}el
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- CPU=mips
- #else
- CPU=
- #endif
- #endif
-EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^CPU/{
- s: ::g
- p
- }'`"
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
- ;;
- mips64:Linux:*:*)
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #undef CPU
- #undef mips64
- #undef mips64el
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- CPU=mips64el
- #else
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- CPU=mips64
+ CPU=${UNAME_MACHINE}
#else
CPU=
#endif
@@ -917,10 +927,13 @@
EV67) UNAME_MACHINE=alphaev67 ;;
EV68*) UNAME_MACHINE=alphaev68 ;;
esac
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
+ objdump --private-headers /bin/sh | grep -q ld.so.1
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
exit ;;
+ padre:Linux:*:*)
+ echo sparc-unknown-linux-gnu
+ exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -950,6 +963,9 @@
x86_64:Linux:*:*)
echo x86_64-unknown-linux-gnu
exit ;;
+ xtensa*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
i*86:Linux:*:*)
# The BFD linker knows what the default object file format is, so
# first see if it will tell us. cd to the root directory to prevent
@@ -965,17 +981,6 @@
elf32-i386)
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
;;
- a.out-i386-linux)
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
- exit ;;
- coff-i386)
- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
- exit ;;
- "")
- # Either a pre-BFD a.out linker (linux-gnuoldld) or
- # one that does not give us useful --help.
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
- exit ;;
esac
# Determine whether the default compiler is a.out or elf
eval $set_cc_for_build
@@ -1041,7 +1046,7 @@
i*86:syllable:*:*)
echo ${UNAME_MACHINE}-pc-syllable
exit ;;
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
echo i386-unknown-lynxos${UNAME_RELEASE}
exit ;;
i*86:*DOS:*:*)
@@ -1085,8 +1090,11 @@
pc:*:*:*)
# Left here for compatibility:
# uname -m prints for DJGPP always 'pc', but it prints nothing about
- # the processor, so we play safe by assuming i386.
- echo i386-pc-msdosdjgpp
+ # the processor, so we play safe by assuming i586.
+ # Note: whatever this is, it MUST be the same as what config.sub
+ # prints for the "djgpp" host, or else GDB configury will decide that
+ # this is a cross-build.
+ echo i586-pc-msdosdjgpp
exit ;;
Intel:Mach:3*:*)
echo i386-pc-mach3
@@ -1124,6 +1132,16 @@
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4; exit; } ;;
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
+ OS_REL='.3'
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
echo m68k-unknown-lynxos${UNAME_RELEASE}
exit ;;
@@ -1136,7 +1154,7 @@
rs6000:LynxOS:2.*:*)
echo rs6000-unknown-lynxos${UNAME_RELEASE}
exit ;;
- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
echo powerpc-unknown-lynxos${UNAME_RELEASE}
exit ;;
SM[BE]S:UNIX_SV:*:*)
@@ -1199,6 +1217,9 @@
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
echo i586-pc-beos
exit ;;
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
+ echo i586-pc-haiku
+ exit ;;
SX-4:SUPER-UX:*:*)
echo sx4-nec-superux${UNAME_RELEASE}
exit ;;
@@ -1208,6 +1229,15 @@
SX-6:SUPER-UX:*:*)
echo sx6-nec-superux${UNAME_RELEASE}
exit ;;
+ SX-7:SUPER-UX:*:*)
+ echo sx7-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8:SUPER-UX:*:*)
+ echo sx8-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8R:SUPER-UX:*:*)
+ echo sx8r-nec-superux${UNAME_RELEASE}
+ exit ;;
Power*:Rhapsody:*:*)
echo powerpc-apple-rhapsody${UNAME_RELEASE}
exit ;;
@@ -1298,6 +1328,9 @@
i*86:rdos:*:*)
echo ${UNAME_MACHINE}-pc-rdos
exit ;;
+ i*86:AROS:*:*)
+ echo ${UNAME_MACHINE}-pc-aros
+ exit ;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1458,9 +1491,9 @@
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
If the version you run ($0) is already up to date, please
send the following data and any information you think might be
diff -Nru em8300-0.16.4/autotools/config.sub em8300-0.18.0/autotools/config.sub
--- em8300-0.16.4/autotools/config.sub 2008-02-04 22:52:21.000000000 +0000
+++ em8300-0.18.0/autotools/config.sub 2010-06-28 18:16:35.000000000 +0100
@@ -1,10 +1,10 @@
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
-# Inc.
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+# Free Software Foundation, Inc.
-timestamp='2006-07-02'
+timestamp='2009-06-11'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -72,8 +72,8 @@
version="\
GNU config.sub ($timestamp)
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
+2002, 2003, 2004, 2005, 2006, 2007, 2008 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."
@@ -122,6 +122,7 @@
case $maybe_os in
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
+ kopensolaris*-gnu* | \
storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
@@ -152,6 +153,9 @@
os=
basic_machine=$1
;;
+ -bluegene*)
+ os=-cnk
+ ;;
-sim | -cisco | -oki | -wec | -winbond)
os=
basic_machine=$1
@@ -245,17 +249,20 @@
| bfin \
| c4x | clipper \
| d10v | d30v | dlx | dsp16xx \
- | fr30 | frv \
+ | fido | fr30 | frv \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| i370 | i860 | i960 | ia64 \
| ip2k | iq2000 \
+ | lm32 \
| m32c | m32r | m32rle | m68000 | m68k | m88k \
- | maxq | mb | microblaze | mcore \
+ | maxq | mb | microblaze | mcore | mep | metag \
| mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \
| mips64 | mips64el \
- | mips64vr | mips64vrel \
+ | mips64octeon | mips64octeonel \
| mips64orion | mips64orionel \
+ | mips64r5900 | mips64r5900el \
+ | mips64vr | mips64vrel \
| mips64vr4100 | mips64vr4100el \
| mips64vr4300 | mips64vr4300el \
| mips64vr5000 | mips64vr5000el \
@@ -268,6 +275,7 @@
| mipsisa64sr71k | mipsisa64sr71kel \
| mipstx39 | mipstx39el \
| mn10200 | mn10300 \
+ | moxie \
| mt \
| msp430 \
| nios | nios2 \
@@ -276,7 +284,8 @@
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \
- | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
+ | score \
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
@@ -284,8 +293,8 @@
| tahoe | thumb | tic4x | tic80 | tron \
| v850 | v850e \
| we32k \
- | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
- | z8k)
+ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
+ | z8k | z80)
basic_machine=$basic_machine-unknown
;;
m6811 | m68hc11 | m6812 | m68hc12)
@@ -323,19 +332,22 @@
| clipper-* | craynv-* | cydra-* \
| d10v-* | d30v-* | dlx-* \
| elxsi-* \
- | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
| h8300-* | h8500-* \
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
| i*86-* | i860-* | i960-* | ia64-* \
| ip2k-* | iq2000-* \
+ | lm32-* \
| m32c-* | m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
- | m88110-* | m88k-* | maxq-* | mcore-* \
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
- | mips64vr-* | mips64vrel-* \
+ | mips64octeon-* | mips64octeonel-* \
| mips64orion-* | mips64orionel-* \
+ | mips64r5900-* | mips64r5900el-* \
+ | mips64vr-* | mips64vrel-* \
| mips64vr4100-* | mips64vr4100el-* \
| mips64vr4300-* | mips64vr4300el-* \
| mips64vr5000-* | mips64vr5000el-* \
@@ -357,20 +369,24 @@
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \
| romp-* | rs6000-* \
- | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
| sparclite-* \
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
| tahoe-* | thumb-* \
- | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
| tron-* \
| v850-* | v850e-* | vax-* \
| we32k-* \
- | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
- | xstormy16-* | xtensa-* \
+ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
+ | xstormy16-* | xtensa*-* \
| ymp-* \
- | z8k-*)
+ | z8k-* | z80-*)
+ ;;
+ # Recognize the basic CPU types without company name, with glob match.
+ xtensa*)
+ basic_machine=$basic_machine-unknown
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
@@ -434,6 +450,10 @@
basic_machine=m68k-apollo
os=-bsd
;;
+ aros)
+ basic_machine=i386-pc
+ os=-aros
+ ;;
aux)
basic_machine=m68k-apple
os=-aux
@@ -442,10 +462,26 @@
basic_machine=ns32k-sequent
os=-dynix
;;
+ blackfin)
+ basic_machine=bfin-unknown
+ os=-linux
+ ;;
+ blackfin-*)
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ bluegene*)
+ basic_machine=powerpc-ibm
+ os=-cnk
+ ;;
c90)
basic_machine=c90-cray
os=-unicos
;;
+ cegcc)
+ basic_machine=arm-unknown
+ os=-cegcc
+ ;;
convex-c1)
basic_machine=c1-convex
os=-bsd
@@ -474,8 +510,8 @@
basic_machine=craynv-cray
os=-unicosmp
;;
- cr16c)
- basic_machine=cr16c-unknown
+ cr16)
+ basic_machine=cr16-unknown
os=-elf
;;
crds | unos)
@@ -513,6 +549,10 @@
basic_machine=m88k-motorola
os=-sysv3
;;
+ dicos)
+ basic_machine=i686-pc
+ os=-dicos
+ ;;
djgpp)
basic_machine=i586-pc
os=-msdosdjgpp
@@ -667,6 +707,14 @@
basic_machine=m68k-isi
os=-sysv
;;
+ m68knommu)
+ basic_machine=m68k-unknown
+ os=-linux
+ ;;
+ m68knommu-*)
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
m88k-omron*)
basic_machine=m88k-omron
;;
@@ -682,6 +730,10 @@
basic_machine=i386-pc
os=-mingw32
;;
+ mingw32ce)
+ basic_machine=arm-unknown
+ os=-mingw32ce
+ ;;
miniframe)
basic_machine=m68000-convergent
;;
@@ -808,6 +860,14 @@
basic_machine=i860-intel
os=-osf
;;
+ parisc)
+ basic_machine=hppa-unknown
+ os=-linux
+ ;;
+ parisc-*)
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
pbd)
basic_machine=sparc-tti
;;
@@ -909,6 +969,10 @@
sb1el)
basic_machine=mipsisa64sb1el-unknown
;;
+ sde)
+ basic_machine=mipsisa32-sde
+ os=-elf
+ ;;
sei)
basic_machine=mips-sei
os=-seiux
@@ -920,6 +984,9 @@
basic_machine=sh-hitachi
os=-hms
;;
+ sh5el)
+ basic_machine=sh5le-unknown
+ ;;
sh64)
basic_machine=sh64-unknown
;;
@@ -1009,6 +1076,10 @@
basic_machine=tic6x-unknown
os=-coff
;;
+ tile*)
+ basic_machine=tile-unknown
+ os=-linux-gnu
+ ;;
tx39)
basic_machine=mipstx39-unknown
;;
@@ -1084,6 +1155,10 @@
basic_machine=z8k-unknown
os=-sim
;;
+ z80-*-coff)
+ basic_machine=z80-unknown
+ os=-sim
+ ;;
none)
basic_machine=none-none
os=-none
@@ -1122,7 +1197,7 @@
we32k)
basic_machine=we32k-att
;;
- sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
basic_machine=sh-unknown
;;
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
@@ -1192,10 +1267,11 @@
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
+ | -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
- | -aos* \
+ | -aos* | -aros* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
@@ -1204,7 +1280,7 @@
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
- | -chorusos* | -chorusrdb* \
+ | -chorusos* | -chorusrdb* | -cegcc* \
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
| -uxpv* | -beos* | -mpeix* | -udk* \
@@ -1214,7 +1290,7 @@
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers*)
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
@@ -1344,6 +1420,9 @@
-zvmoe)
os=-zvmoe
;;
+ -dicos*)
+ os=-dicos
+ ;;
-none)
;;
*)
@@ -1366,6 +1445,9 @@
# system, and we'll never get to this point.
case $basic_machine in
+ score-*)
+ os=-elf
+ ;;
spu-*)
os=-elf
;;
@@ -1406,6 +1488,9 @@
m68*-cisco)
os=-aout
;;
+ mep-*)
+ os=-elf
+ ;;
mips*-cisco)
os=-elf
;;
@@ -1535,7 +1620,7 @@
-sunos*)
vendor=sun
;;
- -aix*)
+ -cnk*|-aix*)
vendor=ibm
;;
-beos*)
diff -Nru em8300-0.16.4/autotools/depcomp em8300-0.18.0/autotools/depcomp
--- em8300-0.16.4/autotools/depcomp 2008-02-04 22:52:20.000000000 +0000
+++ em8300-0.18.0/autotools/depcomp 2010-06-28 18:16:35.000000000 +0100
@@ -1,9 +1,10 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
-scriptversion=2005-07-09.11
+scriptversion=2009-04-28.21; # UTC
-# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
+# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,9 +17,7 @@
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program. If not, see .
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -86,12 +85,34 @@
depmode=dashmstdout
fi
+cygpath_u="cygpath -u -f -"
+if test "$depmode" = msvcmsys; then
+ # This is just like msvisualcpp but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u="sed s,\\\\\\\\,/,g"
+ depmode=msvisualcpp
+fi
+
case "$depmode" in
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
## it if -MD -MP comes after the -MF stuff. Hmm.
- "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
+## the command line argument order; so add the flags where they
+## appear in depend2.am. Note that the slowdown incurred here
+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
+ for arg
+ do
+ case $arg in
+ -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
+ *) set fnord "$@" "$arg" ;;
+ esac
+ shift # fnord
+ shift # $arg
+ done
+ "$@"
stat=$?
if test $stat -eq 0; then :
else
@@ -178,14 +199,14 @@
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
tr '
-' ' ' >> $depfile
- echo >> $depfile
+' ' ' >> "$depfile"
+ echo >> "$depfile"
# The second pass generates a dummy entry for each header file.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
- >> $depfile
+ >> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
@@ -201,34 +222,39 @@
# current directory. Also, the AIX compiler puts `$object:' at the
# start of each line; $object doesn't have directory information.
# Version 6 uses the directory in both cases.
- stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
- tmpdepfile="$stripped.u"
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
+ test "x$dir" = "x$object" && dir=
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$base.u
+ tmpdepfile3=$dir.libs/$base.u
"$@" -Wc,-M
else
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$dir$base.u
+ tmpdepfile3=$dir$base.u
"$@" -M
fi
stat=$?
- if test -f "$tmpdepfile"; then :
- else
- stripped=`echo "$stripped" | sed 's,^.*/,,'`
- tmpdepfile="$stripped.u"
- fi
-
if test $stat -eq 0; then :
else
- rm -f "$tmpdepfile"
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
exit $stat
fi
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
if test -f "$tmpdepfile"; then
- outname="$stripped.o"
# Each line is of the form `foo.o: dependent.h'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
- sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
- sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
+ # That's a tab and a space in the [].
+ sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
@@ -276,6 +302,51 @@
rm -f "$tmpdepfile"
;;
+hp2)
+ # The "hp" stanza above does not work with aCC (C++) and HP's ia64
+ # compilers, which have integrated preprocessors. The correct option
+ # to use with these is +Maked; it writes dependencies to a file named
+ # 'foo.d', which lands next to the object file, wherever that
+ # happens to be.
+ # Much of this is similar to the tru64 case; see comments there.
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
+ test "x$dir" = "x$object" && dir=
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir.libs/$base.d
+ "$@" -Wc,+Maked
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ "$@" +Maked
+ fi
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile1" "$tmpdepfile2"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
+ # Add `dependent.h:' lines.
+ sed -ne '2,${
+ s/^ *//
+ s/ \\*$//
+ s/$/:/
+ p
+ }' "$tmpdepfile" >> "$depfile"
+ else
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile" "$tmpdepfile2"
+ ;;
+
tru64)
# The Tru64 compiler uses -MD to generate dependencies as a side
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
@@ -288,13 +359,13 @@
if test "$libtool" = yes; then
# With Tru64 cc, shared objects can also be used to make a
- # static library. This mecanism is used in libtool 1.4 series to
+ # static library. This mechanism is used in libtool 1.4 series to
# handle both shared and static libraries in a single compilation.
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
#
# With libtool 1.5 this exception was removed, and libtool now
# generates 2 separate objects for the 2 libraries. These two
- # compilations output dependencies in in $dir.libs/$base.o.d and
+ # compilations output dependencies in $dir.libs/$base.o.d and
# in $dir$base.o.d. We have to check for both files, because
# one of the two compilations can be disabled. We should prefer
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
@@ -345,7 +416,7 @@
# Remove the call to Libtool.
if test "$libtool" = yes; then
- while test $1 != '--mode=compile'; do
+ while test "X$1" != 'X--mode=compile'; do
shift
done
shift
@@ -396,32 +467,39 @@
"$@" || exit $?
# Remove any Libtool call
if test "$libtool" = yes; then
- while test $1 != '--mode=compile'; do
+ while test "X$1" != 'X--mode=compile'; do
shift
done
shift
fi
# X makedepend
shift
- cleared=no
- for arg in "$@"; do
+ cleared=no eat=no
+ for arg
+ do
case $cleared in
no)
set ""; shift
cleared=yes ;;
esac
+ if test $eat = yes; then
+ eat=no
+ continue
+ fi
case "$arg" in
-D*|-I*)
set fnord "$@" "$arg"; shift ;;
# Strip any option that makedepend may not understand. Remove
# the object too, otherwise makedepend will parse it as a source file.
+ -arch)
+ eat=yes ;;
-*|$object)
;;
*)
set fnord "$@" "$arg"; shift ;;
esac
done
- obj_suffix="`echo $object | sed 's/^.*\././'`"
+ obj_suffix=`echo "$object" | sed 's/^.*\././'`
touch "$tmpdepfile"
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
rm -f "$depfile"
@@ -441,7 +519,7 @@
# Remove the call to Libtool.
if test "$libtool" = yes; then
- while test $1 != '--mode=compile'; do
+ while test "X$1" != 'X--mode=compile'; do
shift
done
shift
@@ -479,13 +557,27 @@
msvisualcpp)
# Important note: in order to support this mode, a compiler *must*
- # always write the preprocessed file to stdout, regardless of -o,
- # because we must use -o when running libtool.
+ # always write the preprocessed file to stdout.
"$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
IFS=" "
for arg
do
case "$arg" in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
set fnord "$@"
shift
@@ -498,16 +590,23 @@
;;
esac
done
- "$@" -E |
- sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
+ "$@" -E 2>/dev/null |
+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
- . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
echo " " >> "$depfile"
- . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
rm -f "$tmpdepfile"
;;
+msvcmsys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
none)
exec "$@"
;;
@@ -526,5 +625,6 @@
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff -Nru em8300-0.16.4/autotools/install-sh em8300-0.18.0/autotools/install-sh
--- em8300-0.16.4/autotools/install-sh 2008-02-04 22:52:20.000000000 +0000
+++ em8300-0.18.0/autotools/install-sh 2010-06-28 18:16:35.000000000 +0100
@@ -1,7 +1,7 @@
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2005-05-14.22
+scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -39,38 +39,68 @@
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
-# from scratch. It can only install one file at a time, a restriction
-# shared with many OS's install programs.
+# from scratch.
+
+nl='
+'
+IFS=" "" $nl"
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
-doit="${DOITPROG-}"
+doit=${DOITPROG-}
+if test -z "$doit"; then
+ doit_exec=exec
+else
+ doit_exec=$doit
+fi
-# put in absolute paths if you don't have them in your path; or use env. vars.
+# Put in absolute file names if you don't have them in your path;
+# or use environment vars.
-mvprog="${MVPROG-mv}"
-cpprog="${CPPROG-cp}"
-chmodprog="${CHMODPROG-chmod}"
-chownprog="${CHOWNPROG-chown}"
-chgrpprog="${CHGRPPROG-chgrp}"
-stripprog="${STRIPPROG-strip}"
-rmprog="${RMPROG-rm}"
-mkdirprog="${MKDIRPROG-mkdir}"
+chgrpprog=${CHGRPPROG-chgrp}
+chmodprog=${CHMODPROG-chmod}
+chownprog=${CHOWNPROG-chown}
+cmpprog=${CMPPROG-cmp}
+cpprog=${CPPROG-cp}
+mkdirprog=${MKDIRPROG-mkdir}
+mvprog=${MVPROG-mv}
+rmprog=${RMPROG-rm}
+stripprog=${STRIPPROG-strip}
+
+posix_glob='?'
+initialize_posix_glob='
+ test "$posix_glob" != "?" || {
+ if (set -f) 2>/dev/null; then
+ posix_glob=
+ else
+ posix_glob=:
+ fi
+ }
+'
+
+posix_mkdir=
+
+# Desired mode of installed file.
+mode=0755
-chmodcmd="$chmodprog 0755"
-chowncmd=
chgrpcmd=
-stripcmd=
+chmodcmd=$chmodprog
+chowncmd=
+mvcmd=$mvprog
rmcmd="$rmprog -f"
-mvcmd="$mvprog"
+stripcmd=
+
src=
dst=
dir_arg=
-dstarg=
+dst_arg=
+
+copy_on_change=false
no_target_directory=
-usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+usage="\
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
or: $0 [OPTION]... SRCFILES... DIRECTORY
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
or: $0 [OPTION]... -d DIRECTORIES...
@@ -80,81 +110,86 @@
In the 4th, create DIRECTORIES.
Options:
--c (ignored)
--d create directories instead of installing files.
--g GROUP $chgrpprog installed files to GROUP.
--m MODE $chmodprog installed files to MODE.
--o USER $chownprog installed files to USER.
--s $stripprog installed files.
--t DIRECTORY install into DIRECTORY.
--T report an error if DSTFILE is a directory.
---help display this help and exit.
---version display version info and exit.
+ --help display this help and exit.
+ --version display version info and exit.
+
+ -c (ignored)
+ -C install only if different (preserve the last data modification time)
+ -d create directories instead of installing files.
+ -g GROUP $chgrpprog installed files to GROUP.
+ -m MODE $chmodprog installed files to MODE.
+ -o USER $chownprog installed files to USER.
+ -s $stripprog installed files.
+ -t DIRECTORY install into DIRECTORY.
+ -T report an error if DSTFILE is a directory.
Environment variables override the default commands:
- CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
+ RMPROG STRIPPROG
"
-while test -n "$1"; do
+while test $# -ne 0; do
case $1 in
- -c) shift
- continue;;
+ -c) ;;
- -d) dir_arg=true
- shift
- continue;;
+ -C) copy_on_change=true;;
+
+ -d) dir_arg=true;;
-g) chgrpcmd="$chgrpprog $2"
- shift
- shift
- continue;;
+ shift;;
--help) echo "$usage"; exit $?;;
- -m) chmodcmd="$chmodprog $2"
- shift
- shift
- continue;;
+ -m) mode=$2
+ case $mode in
+ *' '* | *' '* | *'
+'* | *'*'* | *'?'* | *'['*)
+ echo "$0: invalid mode: $mode" >&2
+ exit 1;;
+ esac
+ shift;;
-o) chowncmd="$chownprog $2"
- shift
- shift
- continue;;
-
- -s) stripcmd=$stripprog
- shift
- continue;;
-
- -t) dstarg=$2
- shift
- shift
- continue;;
-
- -T) no_target_directory=true
- shift
- continue;;
+ shift;;
+
+ -s) stripcmd=$stripprog;;
+
+ -t) dst_arg=$2
+ shift;;
+
+ -T) no_target_directory=true;;
--version) echo "$0 $scriptversion"; exit $?;;
- *) # When -d is used, all remaining arguments are directories to create.
- # When -t is used, the destination is already specified.
- test -n "$dir_arg$dstarg" && break
- # Otherwise, the last argument is the destination. Remove it from $@.
- for arg
- do
- if test -n "$dstarg"; then
- # $@ is not empty: it contains at least $arg.
- set fnord "$@" "$dstarg"
- shift # fnord
- fi
- shift # arg
- dstarg=$arg
- done
+ --) shift
break;;
+
+ -*) echo "$0: invalid option: $1" >&2
+ exit 1;;
+
+ *) break;;
esac
+ shift
done
-if test -z "$1"; then
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
+ # When -d is used, all remaining arguments are directories to create.
+ # When -t is used, the destination is already specified.
+ # Otherwise, the last argument is the destination. Remove it from $@.
+ for arg
+ do
+ if test -n "$dst_arg"; then
+ # $@ is not empty: it contains at least $arg.
+ set fnord "$@" "$dst_arg"
+ shift # fnord
+ fi
+ shift # arg
+ dst_arg=$arg
+ done
+fi
+
+if test $# -eq 0; then
if test -z "$dir_arg"; then
echo "$0: no input file specified." >&2
exit 1
@@ -164,24 +199,47 @@
exit 0
fi
+if test -z "$dir_arg"; then
+ trap '(exit $?); exit' 1 2 13 15
+
+ # Set umask so as not to create temps with too-generous modes.
+ # However, 'strip' requires both read and write access to temps.
+ case $mode in
+ # Optimize common cases.
+ *644) cp_umask=133;;
+ *755) cp_umask=22;;
+
+ *[0-7])
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw='% 200'
+ fi
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
+ *)
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw=,u+rw
+ fi
+ cp_umask=$mode$u_plus_rw;;
+ esac
+fi
+
for src
do
# Protect names starting with `-'.
case $src in
- -*) src=./$src ;;
+ -*) src=./$src;;
esac
if test -n "$dir_arg"; then
dst=$src
- src=
-
- if test -d "$dst"; then
- mkdircmd=:
- chmodcmd=
- else
- mkdircmd=$mkdirprog
- fi
+ dstdir=$dst
+ test -d "$dstdir"
+ dstdir_status=$?
else
+
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
@@ -190,71 +248,199 @@
exit 1
fi
- if test -z "$dstarg"; then
+ if test -z "$dst_arg"; then
echo "$0: no destination specified." >&2
exit 1
fi
- dst=$dstarg
+ dst=$dst_arg
# Protect names starting with `-'.
case $dst in
- -*) dst=./$dst ;;
+ -*) dst=./$dst;;
esac
# If destination is a directory, append the input filename; won't work
# if double slashes aren't ignored.
if test -d "$dst"; then
if test -n "$no_target_directory"; then
- echo "$0: $dstarg: Is a directory" >&2
+ echo "$0: $dst_arg: Is a directory" >&2
exit 1
fi
- dst=$dst/`basename "$src"`
+ dstdir=$dst
+ dst=$dstdir/`basename "$src"`
+ dstdir_status=0
+ else
+ # Prefer dirname, but fall back on a substitute if dirname fails.
+ dstdir=`
+ (dirname "$dst") 2>/dev/null ||
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$dst" : 'X\(//\)[^/]' \| \
+ X"$dst" : 'X\(//\)$' \| \
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
+ echo X"$dst" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'
+ `
+
+ test -d "$dstdir"
+ dstdir_status=$?
fi
fi
- # This sed command emulates the dirname command.
- dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
-
- # Make sure that the destination directory exists.
+ obsolete_mkdir_used=false
- # Skip lots of stat calls in the usual case.
- if test ! -d "$dstdir"; then
- defaultIFS='
- '
- IFS="${IFS-$defaultIFS}"
-
- oIFS=$IFS
- # Some sh's can't handle IFS=/ for some reason.
- IFS='%'
- set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
- shift
- IFS=$oIFS
+ if test $dstdir_status != 0; then
+ case $posix_mkdir in
+ '')
+ # Create intermediate dirs using mode 755 as modified by the umask.
+ # This is like FreeBSD 'install' as of 1997-10-28.
+ umask=`umask`
+ case $stripcmd.$umask in
+ # Optimize common cases.
+ *[2367][2367]) mkdir_umask=$umask;;
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+ *[0-7])
+ mkdir_umask=`expr $umask + 22 \
+ - $umask % 100 % 40 + $umask % 20 \
+ - $umask % 10 % 4 + $umask % 2
+ `;;
+ *) mkdir_umask=$umask,go-w;;
+ esac
+
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, rely on $mkdir_umask.
+ if test -n "$dir_arg"; then
+ mkdir_mode=-m$mode
+ else
+ mkdir_mode=
+ fi
+
+ posix_mkdir=false
+ case $umask in
+ *[123567][0-7][0-7])
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+ ;;
+ *)
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+ if (umask $mkdir_umask &&
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
+ then
+ if test -z "$dir_arg" || {
+ # Check for POSIX incompatibilities with -m.
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+ # other-writeable bit of parent directory when it shouldn't.
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
+ case $ls_ld_tmpdir in
+ d????-?r-*) different_mode=700;;
+ d????-?--*) different_mode=755;;
+ *) false;;
+ esac &&
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+ }
+ }
+ then posix_mkdir=:
+ fi
+ rmdir "$tmpdir/d" "$tmpdir"
+ else
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
+ fi
+ trap '' 0;;
+ esac;;
+ esac
- pathcomp=
+ if
+ $posix_mkdir && (
+ umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+ )
+ then :
+ else
- while test $# -ne 0 ; do
- pathcomp=$pathcomp$1
+ # The umask is ridiculous, or mkdir does not conform to POSIX,
+ # or it failed possibly due to a race condition. Create the
+ # directory the slow way, step by step, checking for races as we go.
+
+ case $dstdir in
+ /*) prefix='/';;
+ -*) prefix='./';;
+ *) prefix='';;
+ esac
+
+ eval "$initialize_posix_glob"
+
+ oIFS=$IFS
+ IFS=/
+ $posix_glob set -f
+ set fnord $dstdir
shift
- if test ! -d "$pathcomp"; then
- $mkdirprog "$pathcomp"
- # mkdir can fail with a `File exist' error in case several
- # install-sh are creating the directory concurrently. This
- # is OK.
- test -d "$pathcomp" || exit
+ $posix_glob set +f
+ IFS=$oIFS
+
+ prefixes=
+
+ for d
+ do
+ test -z "$d" && continue
+
+ prefix=$prefix$d
+ if test -d "$prefix"; then
+ prefixes=
+ else
+ if $posix_mkdir; then
+ (umask=$mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+ # Don't fail if two instances are running concurrently.
+ test -d "$prefix" || exit 1
+ else
+ case $prefix in
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) qprefix=$prefix;;
+ esac
+ prefixes="$prefixes '$qprefix'"
+ fi
+ fi
+ prefix=$prefix/
+ done
+
+ if test -n "$prefixes"; then
+ # Don't fail if two instances are running concurrently.
+ (umask $mkdir_umask &&
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
+ test -d "$dstdir" || exit 1
+ obsolete_mkdir_used=true
fi
- pathcomp=$pathcomp/
- done
+ fi
fi
if test -n "$dir_arg"; then
- $doit $mkdircmd "$dst" \
- && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
- && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
- && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
- && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
-
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
else
- dstfile=`basename "$dst"`
# Make a couple of temp file names in the proper directory.
dsttmp=$dstdir/_inst.$$_
@@ -262,10 +448,9 @@
# Trap to clean up those temp files at exit.
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
- trap '(exit $?); exit' 1 2 13 15
# Copy the file name to the temp name.
- $doit $cpprog "$src" "$dsttmp" &&
+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
# and set any options; do chmod last to preserve setuid bits.
#
@@ -273,51 +458,63 @@
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $cpprog $src $dsttmp" command.
#
- { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
- && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
- && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
- && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
-
- # Now rename the file to the real destination.
- { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
- || {
- # The rename failed, perhaps because mv can't rename something else
- # to itself, or perhaps because mv is so ancient that it does not
- # support -f.
-
- # Now remove or move aside any old file at destination location.
- # We try this two ways since rm can't unlink itself on some
- # systems and the destination file might be busy for other
- # reasons. In this case, the final cleanup might fail but the new
- # file should still install successfully.
- {
- if test -f "$dstdir/$dstfile"; then
- $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
- || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
- || {
- echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
- (exit 1); exit 1
- }
- else
- :
- fi
- } &&
-
- # Now rename the file to the real destination.
- $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
- }
- }
- fi || { (exit 1); exit 1; }
-done
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
+
+ # If -C, don't bother to copy if it wouldn't change the file.
+ if $copy_on_change &&
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
+
+ eval "$initialize_posix_glob" &&
+ $posix_glob set -f &&
+ set X $old && old=:$2:$4:$5:$6 &&
+ set X $new && new=:$2:$4:$5:$6 &&
+ $posix_glob set +f &&
+
+ test "$old" = "$new" &&
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
+ then
+ rm -f "$dsttmp"
+ else
+ # Rename the file to the real destination.
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
-# The final little trick to "correctly" pass the exit status to the exit trap.
-{
- (exit 0); exit 0
-}
+ # The rename failed, perhaps because mv can't rename something else
+ # to itself, or perhaps because mv is so ancient that it does not
+ # support -f.
+ {
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ test ! -f "$dst" ||
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+ } ||
+ { echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
+ }
+ fi || exit 1
+
+ trap '' 0
+ fi
+done
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff -Nru em8300-0.16.4/autotools/missing em8300-0.18.0/autotools/missing
--- em8300-0.16.4/autotools/missing 2008-02-04 22:52:20.000000000 +0000
+++ em8300-0.18.0/autotools/missing 2010-06-28 18:16:35.000000000 +0100
@@ -1,10 +1,10 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2005-06-08.21
+scriptversion=2009-04-28.21; # UTC
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
+# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard , 1996.
# This program is free software; you can redistribute it and/or modify
@@ -18,9 +18,7 @@
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program. If not, see .
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -33,6 +31,8 @@
fi
run=:
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
# In the cases where this matters, `missing' is being run in the
# srcdir already.
@@ -44,7 +44,7 @@
msg="missing on your system"
-case "$1" in
+case $1 in
--run)
# Try to run requested program, and just exit if it succeeds.
run=
@@ -77,6 +77,7 @@
aclocal touch file \`aclocal.m4'
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
+ autom4te touch the output file, or create a stub one
automake touch all \`Makefile.in' files
bison create \`y.tab.[ch]', if possible, from existing .[ch]
flex create \`lex.yy.c', if possible, from existing .c
@@ -86,6 +87,9 @@
tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
+\`g' are ignored when checking the name.
+
Send bug reports to ."
exit $?
;;
@@ -103,15 +107,22 @@
esac
+# normalize program name to check for.
+program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
# Now exit if we have it, but it failed. Also exit now if we
# don't have it and --version was passed (most likely to detect
-# the program).
-case "$1" in
- lex|yacc)
+# the program). This is about non-GNU programs, so use $1 not
+# $program.
+case $1 in
+ lex*|yacc*)
# Not GNU programs, they don't have --version.
;;
- tar)
+ tar*)
if test -n "$run"; then
echo 1>&2 "ERROR: \`tar' requires --run"
exit 1
@@ -135,7 +146,7 @@
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
-case "$1" in
+case $program in
aclocal*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
@@ -145,7 +156,7 @@
touch aclocal.m4
;;
- autoconf)
+ autoconf*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`${configure_ac}'. You might want to install the
@@ -154,7 +165,7 @@
touch configure
;;
- autoheader)
+ autoheader*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`acconfig.h' or \`${configure_ac}'. You might want
@@ -164,7 +175,7 @@
test -z "$files" && files="config.h"
touch_files=
for f in $files; do
- case "$f" in
+ case $f in
*:*) touch_files="$touch_files "`echo "$f" |
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
*) touch_files="$touch_files $f.in";;
@@ -184,7 +195,7 @@
while read f; do touch "$f"; done
;;
- autom4te)
+ autom4te*)
echo 1>&2 "\
WARNING: \`$1' is needed, but is $msg.
You might have modified some files without having the
@@ -192,8 +203,8 @@
You can get \`$1' as part of \`Autoconf' from any GNU
archive site."
- file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
- test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
if test -f "$file"; then
touch $file
else
@@ -207,80 +218,78 @@
fi
;;
- bison|yacc)
+ bison*|yacc*)
echo 1>&2 "\
WARNING: \`$1' $msg. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
in order for those modifications to take effect. You can get
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
- if [ $# -ne 1 ]; then
+ if test $# -ne 1; then
eval LASTARG="\${$#}"
- case "$LASTARG" in
+ case $LASTARG in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" y.tab.c
fi
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" y.tab.h
fi
;;
esac
fi
- if [ ! -f y.tab.h ]; then
+ if test ! -f y.tab.h; then
echo >y.tab.h
fi
- if [ ! -f y.tab.c ]; then
+ if test ! -f y.tab.c; then
echo 'main() { return 0; }' >y.tab.c
fi
;;
- lex|flex)
+ lex*|flex*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
in order for those modifications to take effect. You can get
\`Flex' from any GNU archive site."
rm -f lex.yy.c
- if [ $# -ne 1 ]; then
+ if test $# -ne 1; then
eval LASTARG="\${$#}"
- case "$LASTARG" in
+ case $LASTARG in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" lex.yy.c
fi
;;
esac
fi
- if [ ! -f lex.yy.c ]; then
+ if test ! -f lex.yy.c; then
echo 'main() { return 0; }' >lex.yy.c
fi
;;
- help2man)
+ help2man*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a dependency of a manual page. You may need the
\`Help2man' package in order for those modifications to take
effect. You can get \`Help2man' from any GNU archive site."
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
- if test -z "$file"; then
- file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
- fi
- if [ -f "$file" ]; then
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+ if test -f "$file"; then
touch $file
else
test -z "$file" || exec >$file
echo ".ab help2man is required to generate this page"
- exit 1
+ exit $?
fi
;;
- makeinfo)
+ makeinfo*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
@@ -289,11 +298,17 @@
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
# The file to touch is that specified with -o ...
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
if test -z "$file"; then
# ... or it is the one specified with @setfilename ...
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
+ file=`sed -n '
+ /^@setfilename/{
+ s/.* \([^ ]*\) *$/\1/
+ p
+ q
+ }' $infile`
# ... or it is derived from the source name (dir/f.texi becomes f.info)
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
fi
@@ -303,7 +318,7 @@
touch $file
;;
- tar)
+ tar*)
shift
# We have already tried tar in the generic part.
@@ -317,13 +332,13 @@
fi
firstarg="$1"
if shift; then
- case "$firstarg" in
+ case $firstarg in
*o*)
firstarg=`echo "$firstarg" | sed s/o//`
tar "$firstarg" "$@" && exit 0
;;
esac
- case "$firstarg" in
+ case $firstarg in
*h*)
firstarg=`echo "$firstarg" | sed s/h//`
tar "$firstarg" "$@" && exit 0
@@ -356,5 +371,6 @@
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff -Nru em8300-0.16.4/bootstrap em8300-0.18.0/bootstrap
--- em8300-0.16.4/bootstrap 1970-01-01 01:00:00.000000000 +0100
+++ em8300-0.18.0/bootstrap 2010-06-28 18:12:31.000000000 +0100
@@ -0,0 +1,5 @@
+aclocal -I autotools
+autoheader
+automake --gnu --add-missing --copy
+autoconf
+rm -rf autom4te.cache
diff -Nru em8300-0.16.4/ChangeLog em8300-0.18.0/ChangeLog
--- em8300-0.16.4/ChangeLog 2008-02-04 22:40:28.000000000 +0000
+++ em8300-0.18.0/ChangeLog 1970-01-01 01:00:00.000000000 +0100
@@ -1,2530 +0,0 @@
-2008-02-04 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- Release 0.16.4.
-
-2008-01-07 Nicolas Boullis
- * modules/em8300_i2c.c:
- Get rid of some warnings related to the result of
- sysfs_create_link being unused and log some runtime warning in
- case of failure. Thanks to Christian Gmeiner for the initial
- work.
-
-2008-01-05 Nicolas Boullis
- * modules/em8300_audio.c:
- Get rid of some warnings introduced by the S/PDIF rewrite. Thanks
- to Christian Gmeiner for his patch.
-
-2008-01-02 Nicolas Boullis
- * modules/em8300_i2c.c:
- Disable the encoder chip when it is discovered and until the
- firmware in loaded and everything is properly configured.
-
- * modules/em8300_dicom.c:
- Completely rewrite from scratch the code to deal with brightness,
- contrast and saturation, since it was obviously decompiled and
- possibly illegal.
-
- * include/linux/em8300.h,
- modules/em8300_audio.c:
- Completely rewrite from scratch the code to deal with S/PDIF
- digital audio, since it was obviously decompiled and possibly
- illegal.
-
-2007-12-10 Nicolas Boullis
- * modules/adv717x.c,
- modules/em8300_i2c.c,
- modules/em8300_sysfs.c,
- modules/encoder.h:
- Continue the code reorganization of the ADV717X driver. The
- ADV717X chip is now configured by the em8300 driver (through the
- adv717x driver, of course).
-
-2007-12-03 Nicolas Boullis
- * modules/em8300_compat24.h,
- modules/em8300_main.c:
- Switch from the old SA_* macros to the new IRQF_* ones, and add
- compatibility workaround for older kernels. Thanks to all those
- who told me about the problem, and especially Martin Dauskardt and
- Christian Gmeiner who provided a patch (although I did not use
- it).
-
- * modules/adv717x.c,
- modules/adv717x.h:
- Reorganize the code of the ADV717X driver to ease the future works
- of making it independant of the EM8300 driver, and of making
- automatic configuration possible.
-
-2007-11-09 Nicolas Boullis
- * modules/em8300_i2c.c:
- Remove the sysfs links from the em8300 device to the encoder and
- eeprom devices when those devices are unregistered, to ensure
- correct removal of the em8300 module.
-
-2007-11-05 Nicolas Boullis
- * modules/em8300_i2c.c:
- Add sysfs links from the em8300 device to the encoder and eeprom
- devices.
-
-2007-09-03 Nicolas Boullis
- * modules/em8300_dicom.c:
- Fix the issue of swapped red and blue channels with some cards and
- some zoom values.
-
-2007-08-24 Ville Skyttä
- * modules/em8300_ioctl.c,
- modules/em8300_ioctl32.c:
- Fix build with 2.6.23 release candidate kernels.
-
-2007-08-21 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- New development version.
-
-2007-08-17 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- Release 0.16.3.
-
-2007-08-07 Nicolas Boullis
- * modules/em8300_eeprom.c:
- Fix the error detection and handling if crypto_alloc_hash fails.
- Thanks to Gabor Z. Papp who first told about the problem and then
- tracked it down to a missing MD5 hash on his system.
-
-2007-08-07 Nicolas Boullis
- * modules/em8300_eeprom.c:
- Fix cleanup in case of a failure to allocate 16 bytes for
- em->eeprom_checksum.
-
-2007-08-03 Nicolas Boullis
- * modules/em8300_sysfs.c:
- Calling the command function of the adv717x driver from the em8300
- module with a pointer to the stack apparently was not a good
- idea. Use a kmallocated buffer instead. Thanks to Antoine Pardigon
- who reported the problem.
-
-2007-07-17 Ville Skyttä
- * dhc/dhc.desktop,
- overlay/autocal.desktop,
- overlay/dxr3view.desktop:
- Bring up to date with desktop entry specification 1.0,
- add StartupWMClass.
-
-2007-07-11 Nicolas Boullis
- * modules/em8300_sysfs.c:
- Slightly improve the "model" sysfs file to tag important
- questions, drop non-relevant ones and explicit values to
- try. Let's hope it will lead to more (and/or better) reports.
-
-2007-06-20 Ville Skyttä
- * dhc/dhc_main.c,
- overlay/autocal.c,
- overlay/dxr3view.c:
- Add GUI error dialogs for device access problems on startup.
-
-2007-06-18 Nicolas Boullis
- * include/linux/em8300.h,
- modules/em8300_dicom.c,
- modules/em8300_main.c,
- modules/em8300_sysfs.c:
- Add a new "zoom" sysfs file for those who consider the output
- image is too large. Feedback is welcome, especially if some values
- cause screen flicker or wrong colors.
-
-2007-06-18 Nicolas Boullis
- * modules/em8300_eeprom.c:
- Fix a bug that is triggered when the kernel is configured with
- CONFIG_CRYPTO but without CONFIG_CRYPTO_MD5.
-
-2007-05-20 Nicolas Boullis
- * include/linux/em8300.h,
- modules/em8300_i2c.c,
- modules/em8300_main.c:
- Split the i2c busses initalization, so that it becomes possible to
- read the EEPROM chip before the video encoder chip can be
- detected. (This will be useful for autoconfiguration.)
-
-
-2007-05-17 Nicolas Boullis
- * modules/Makefile:
- Fix a bug in the detection of pre-2.5.51 linux kernels. Thanks to
- Gabor Z. Papp for pointing out the problem.
-
-2007-05-14 Nicolas Boullis
- * modules/em8300_main.c:
- Use pci_register_driver instead pci_module_init since the latter
- is removed in linux 2.6.22. Thanks to Adam who noticed the problem
- with linux 2.6.21-git5. The only expected change in behavior is
- that the module won't fail to load with linux 2.4 kernels if no
- em8300-based board is present.
-
-2007-05-14 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- New development version.
-
-2007-05-06 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- Release 0.16.2.
-
-2007-04-11 Nicolas Boullis
- * modules/em8300_sysfs.c:
- Improve the "model" sysfs file, considering that the dicom_fix and
- dicom_control options only do something for bt865-based cards.
-
-2007-04-04 Ville Skyttä
- * modules/em8300_sysfs.c:
- Spelling fix in "model" file contents.
-
-2007-04-02 Nicolas Boullis
- * modules/em8300_sysfs.c:
- Reformat the "model" sysfs file and change the target
- mailing-list.
-
-2007-03-24 Nicolas Boullis
- * modules/em8300_eeprom.c:
- Rewrite the checksumming code, using the sg_init_one function, to
- make it cleaner. Thanks to Herbert Xu who hinted me about the
- sg_set_buf function.
-
-2007-03-16 Nicolas Boullis
- * include/linux/em8300.h,
- modules/em8300_alsa.c:
- Fix compatibility with ALSA in linux kernel 2.6.21. Thanks to
- Ville Skyttä who spotted the problem.
-
- * modules/em8300_eeprom.c:
- Fix compatibility with linux kernel 2.6.21 by using the new
- crypto_hash functions. Thanks to "nyk" who spotted the problem.
-
- * modules/em8300_eeprom.c:
- Make it possible again to use the em8300 driver without
- CONFIG_CRYPTO (although in degraded mode).
-
-2007-03-09 Nicolas Boullis
- * modules/em8300_sysfs.c:
- Fix the prototype of the show_model function for kernels older
- than 2.6.13.
-
-2007-03-06 Nicolas Boullis
- * modules/em8300_params.c:
- Remove the #includes that are now useless as they were only
- required by the #included include/linux/em8300.h, and add
- forgotten ones.
-
- * include/linux/em8300.h,
- modules/Makefile,
- modules/adv717x.c,
- modules/em8300_eeprom.c,
- modules/em8300_eeprom.h,
- modules/em8300_main.c,
- modules/em8300_procfs.c,
- modules/em8300_sysfs.c,
- modules/encoder.h:
- Implement some preliminary hardware detection. It will not yet
- autodetect the optimal module parameters for any given board but
- will hopefully help gather enough data to make that autodetection
- possible.
-
-2007-03-03 Nicolas Boullis
- * modules/em8300_main.c:
- Add some missing initialization. Thanks to Jan Kandziora for
- telling me about the problem he was experiencing, and for finding
- out a workaround.
-
- * include/linux/em8300.h:
- Include all the headers required by include/linux/em8300.h.
-
-2007-03-02 Nicolas Boullis
- * modules/Makefile,
- modules/em8300_alsa.c,
- modules/em8300_devfs.c,
- modules/em8300_dicom.c,
- modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/em8300_params.c,
- modules/em8300_params.h,
- modules/em8300_ucode.c,
- modules/em8300_udev.c,
- modules/em8300_video.c:
- Split the module parameters out of em8300_main.c and into a new
- file, to make em8300_main.c shorter.
-
-2007-03-01 Nicolas Boullis
- * modules/em8300_i2c.c:
- Set the em8300 device as the parent device for its two i2c
- busses. This is cleaner and avoids a warning. Thanks to Martin
- Dauskardt for telling me about this warning.
-
-2007-03-01 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- New development version.
-
-2007-02-28 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- Release 0.16.1.
-
-2007-02-26 Ville Skyttä
- * modules/README-modoptions:
- Spelling fixes.
-
-2007-02-20 Ville Skyttä
- * modules/README-modoptions:
- Document stop_video.
-
-2007-02-18 Nicolas Boullis
- * modules/em8300_i2c.c:
- Use i2c_del_adapter instead of i2c_bit_del_bus for kernels 2.6.0
- and above, to fix compatibility with 2.6.20 kernels. Thanks to
- David van Vyfeyken for the patch.
-
- * modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/em8300_ucode.c,
- modules/em8300_video.c:
- Add a parameter to choose between no video output and black video
- output when there is nothing to display (black video output by
- default).
-
- * modules/em8300_ioctl.c,
- modules/em8300_main.c:
- Ensure that video output is off (to avoid displaying cruft) when
- overlay is used.
-
-2007-02-12 Nicolas Boullis
- * modules/em8300_i2c.c:
- Slow down the comunications with the em9010 chip, so that it does
- not interfere with the video encoders. Thanks to Sascha Hauer for
- telling about the problem, and for the patch.
-
-2006-12-10 Nicolas Boullis
- * modules/em8300_main.c:
- Fix the documentation string for the alsa_id and alsa_index module
- options. Thanks to Brendon Higgins for the patch.
-
- * modules/README-modoptions:
- Improve the README-modoptions documentation. Thanks to Brendon
- Higgins for the patch.
-
-2006-11-27 Nicolas Boullis
- * configure.in:
- Search the alsa.conf file to find the proper location for the
- EM8300.conf configuration file.
-
- * Makefile.am:
- Only uninstall EM8300.conf if $(alsadir) is set (that is if
- EM8300.conf was installed).
-
-2006-11-26 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- New development version.
-
-2006-11-26 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- Release 0.16.0.
-
-2006-11-23 Nicolas Boullis
- * modules/em8300_main.c:
- Fix a stupid mistake (misplaced comma) I did while changing the
- prototype of the em8300_irq function for 2.6.19 kernels. Thanks to
- Adam and Sebastian Frei.
-
-2006-11-22 Nicolas Boullis
- * modules/em8300_main.c:
- The prototype of the function that request_irq expects will change
- slightly in 2.6.19. Change the em8300_irq function
- accordingly. Thanks to Adam for noticing.
-
- * modules/em8300_main.c:
- Fix a stupid mistake in a call to pr_debug where a full array was
- given to print instead of a single element. Thanks to Adam for
- noticing.
-
- * modules/Makefile:
- Use "printf" rather than "echo -e", as the latter may be
- unavailable with some shells.
-
-2006-11-21 Ville Skyttä
- * dhc/dhc.desktop,
- overlay/autocal.desktop,
- overlay/dxr3view.desktop:
- Bring desktop entry categories up to date with current
- freedesktop.org menu specification.
-
-2006-11-19 Nicolas Boullis
- * Makefile.am:
- configure.in:
- Install the ALSA configuration file, and make its location
- configurable.
-
- * Makefile.am:
- Fix uninstalling.
-
-2006-11-18 Ville Skyttä
- * modules/Makefile:
- Use $(CURDIR) instead of $(PWD) to fix build when current working
- dir is not modules/.
-
-2006-11-18 Nicolas Boullis
- * modules/em8300_i2c.c:
- The mdelay field of the i2c_algo_bit_data struct has apparently
- been unused since before 2.4.0 and will be gone in 2.6.19. Don't
- set it at all.
-
-2006-11-16 Nicolas Boullis
- * modules/Makefile,
- modules/adv717x.c,
- modules/em8300_devfs.c,
- modules/em8300_main.c,
- modules/em8300_procfs.c,
- modules/em8300_registration.h:
- Since 2.6.15, there is no need to #include linux/config.h and this
- file is due to be gone in 2.6.19. Don't include it anymore from
- the individual files. For older kernels, include it from the
- Makefile.
-
- * modules/em8300_alsa.c:
- chip_t is needed for old versions of ALSA; define it.
-
- * modules/em8300_alsa.c:
- kcalloc was not defined in older kernel versions; use
- kmalloc+memset instead.
-
- * modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_main.c:
- Fully revert the MODULE_PARM change for kernels between 2.6.0 and
- 2.6.10.
-
-2006-11-12 Nicolas Boullis
- * modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_main.c:
- The module_param_array function changed incompatibly in 2.6.10;
- revert to the old MODULE_PARM function for older kernels.
-
- * modules/Makefile:
- Partial rewrite of the Makefile to avoid hackish reading of kernel
- version.
-
-2006-09-24 Nicolas Boullis
- * modules/em8300_alsa.c,
- modules/em8300_main.c:
- Add new alsa_index and alsa_id parameters to choose the ALSA index
- number and id string.
-
-2006-09-20 Ville Skyttä
- * Makefile.am:
- Include modules/EM8300.conf in tarball, make EXTRA_DIST
- more readable.
-
-2006-09-13 Nicolas Boullis
- * include/linux/em8300.h,
- modules/Makefile,
- modules/em8300_alsa.c,
- modules/em8300_audio.c,
- modules/em8300_devfs.c,
- modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/em8300_ucode.c,
- modules/em8300_udev.c:
- Choose the audio driver (ALSA or OSS) at load-time and on a
- per-card basis.
-
- * modules/em8300_devfs.c,
- modules/em8300_main.c:
- Only include linux/devfs_fs_kernel.h if CONFIG_DEVFS_FS is
- defined. This should fix compilation issues with 2.6.18(rc)
- kernels.
-
-2006-08-23 Ville Skyttä
- * scripts/microcode_upload.pl.in,
- scripts/Makefile.am,
- scripts/.cvsignore,
- configure.in:
- Drop microcode_upload.pl; em8300setup can handle the manual
- load case, and the modules nowadays can pull in the microcode
- on demand as well.
-
-2006-07-09 Nicolas Boullis
- * modules/em8300_alsa.c:
- Improve the ALSA support, by mimicking the functions in
- pcm-indirect.h.
-
- * modules/em8300_alsa.c:
- Kill the old snd_magic stuff.
-
-2006-05-12 Nicolas Boullis
- * modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_main.c,
- modules/encoder_output_mode.h:
- Convert the module arguments declarations from the old MODULE_PARM
- interface to the (not so) new module_param one. The old interface
- should not be supported anymore with 2.6.17 kernels.
-
-2006-04-24 Ville Skyttä
- * Makefile.am:
- Fix "make install" for firmwareless tarballs.
-
-2006-04-10 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- New development version.
-
- * include/linux/em8300.h,
- modules/EM8300.conf,
- modules/Makefile,
- modules/em8300_alsa.c,
- modules/em8300_alsa.h,
- modules/em8300_audio.c,
- modules/em8300_compat24.h,
- modules/em8300_devfs.c,
- modules/em8300_devfs.h,
- modules/em8300_ioctl.c,
- modules/em8300_ioctl32.c,
- modules/em8300_ioctl32.h,
- modules/em8300_main.c,
- modules/em8300_misc.c,
- modules/em8300_procfs.c,
- modules/em8300_procfs.h,
- modules/em8300_registration.c,
- modules/em8300_registration.h,
- modules/em8300_sysfs.c,
- modules/em8300_sysfs.h,
- modules/em8300_ucode.c,
- modules/em8300_udev.c,
- modules/em8300_udev.h:
- Merge the ALSA branch into MAIN.
-
-2006-04-09 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- Release 0.15.3.
-
-2006-04-04 Nicolas Boullis
- * modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_main.c:
- Add version information to the modules, when possible. Thanks to
- Tommi Lundell who suggested this feature.
-
- * modules/em8300_ucode.c:
- (Hopefully) Fix automatic firmware loading for "recent" 2.4
- kernels. Thanks to AM and Alonso y Eydis who both reported the
- build failure.
-
-2006-03-28 Nicolas Boullis
- * modules/README-modoptions:
- Document the dsp_num option of the em8300 module. Thanks to
- Brendon Higgins who wrote the description.
-
-2006-01-28 Nicolas Boullis
- * modules/adv717x.c:
- Completely nuke the progressive output modes.
-
-2006-01-26 Nicolas Boullis
- * modules/em8300_ioctl32.c:
- Fix a very annoying name clash between two
- different em8300_ioctl32_init functions.
-
- * modules/Makefile,
- modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_i2c.c:
- Make the driver compatible vith the i2c stack in 2.6.16
- kernels. Thanks to Ville Skyttä for doing the hard work.
-
-2006-01-25 Nicolas Boullis
- * include/linux/em8300.h,
- modules/Makefile,
- modules/em8300_devfs.c,
- modules/em8300_main.c,
- modules/em8300_procfs.c,
- modules/em8300_registration.c,
- modules/em8300_registration.h,
- modules/em8300_sysfs.c,
- modules/em8300_udev.c,
- modules/em8300_udev.h:
- Fix support for recent versions of udev by using the good
- functions. Many thanks to all those who helped make this possible
- by reporting the problem, testing my patches and checking my
- code.
-
- * modules/Makefile,
- modules/em8300_ioctl32.c,
- modules/em8300_ioctl32.h,
- modules/em8300_main.c:
- Fix support for 32-bit ioctls with 64-bit kernels for recent
- kernels (>= 2.6.14), and support 32-bit ioctls for x86_64. Many
- thanks to István Váradi who did all the work.
-
-2006-01-21 Ville Skyttä
- * configure.in:
- Switch to GTK2 for the GUI utilities.
-
- * m4/gtk.m4:
- Removed.
-
-2005-12-17 Ville Skyttä
- * scripts/*:
- Whitespace cleanup, no functional changes.
-
-2005-12-01 Ville Skyttä
- * Makefile.am:
- Require automake >= 1.8 for $(mkdir_p).
-
-2005-11-23 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- Release 0.15.2.
-
-2005-11-19 Nicolas Boullis
- * modules/em8300_i2c.c:
- Lock the encoder's module while it is in use. Many thanks to Jon
- Burgess who did all the work.
-
-2005-11-15 Ville Skyttä
- * dhc/dhc.desktop,
- overlay/autocal.desktop:
- Remove the (nowadays invalid) "SystemSetup" category.
-
- * dhc/.cvsignore,
- dhc/Makefile.am,
- dhc/dhc.desktop:
- Extract an icon from pixmaps.h for use in the DHC menu entry.
-
- * modules/README-modoptions,
- modules/bt865.c:
- Rename the rgb_mode parameter to output_mode for consistency
- with the adv717x driver.
-
-2005-11-06 Ville Skyttä
- * modules/README-modoptions:
- Improve phrasing of output_mode descriptions.
-
- * dhc/dhc_main.c,
- overlay/autocal.c,
- overlay/dxr3view.c,
- overlay/overlay.c:
- Avoid crashes when the device cannot be opened, improve error
- messages.
-
-2005-11-05 Nicolas Boullis
- * modules/README-modoptions,
- modules/adv717x.c:
- Make it possible to select the output mode with adv717x
- chips. This adds support for YUV, and for svideo to composite
- video adapters that merely use the luminance signal as composite
- video. Many thanks to Derrik Pates who did most (not to say all)
- the work.
-
- * Makefile.am:
- Fix the firmware installation command, to make it possible to
- build and install outside the source directory.
-
-2005-11-04 Nicolas Boullis
- * modules/adv717x.c,
- modules/bt865.c:
- Stop using i2c_is_isa_adapter as it seems to be useless, and is
- not compatible with the i2c stack in 2.6.14 kernels.
-
- * modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_fifo.c,
- modules/em8300_main.c:
- Stop including the asm/segment.h header file as it seems to bring
- nothing useful, and has disappeared in 2.6.14 kernels.
-
-2005-10-19 Nicolas Boullis
- * Makefile.am,
- configure.in,
- em8300setup/em8300setup.1,
- em8300setup/em8300setup.c,
- include/linux/em8300.h,
- modules/em8300_audio.c,
- modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/em8300_ucode.c,
- scripts/.cvsignore,
- scripts/microcode_upload.pl,
- scripts/microcode_upload.pl.in:
- Implement automatic on-demand loading of the firmware using the
- hotplug facility (also available in udev). This requires to change
- the default firmware location.
-
-2005-10-19 Ville Skyttä
- * COPYING,
- dhc/dhc_callback.c,
- dhc/dhc_gui.c,
- dhc/dhc_main.c,
- em8300setup/em8300setup.c,
- modules/Makefile,
- modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_compat24.h,
- modules/em8300_devfs.c,
- modules/em8300_devfs.h,
- modules/em8300_fifo.c,
- modules/em8300_ioctl32.c,
- modules/em8300_ioctl32.h,
- modules/em8300_main.c,
- modules/em8300_procfs.c,
- modules/em8300_procfs.h,
- modules/em8300_registration.c,
- modules/em8300_registration.h,
- modules/em8300_sysfs.c,
- modules/em8300_sysfs.h,
- overlay/allblackbut.h,
- scripts/msexpand.pl:
- Update FSF's address.
-
-2005-09-16 Ville Skyttä
- * modules/em8300_procfs.c:
- Include version of loaded microcode in procfs info.
-
-2005-09-05 Nicolas Boullis
- * modules/em8300_main.c:
- Properly catch errors in pci_enable_device. Thanks to Jon Burgess
- for spotting the problem and providing a patch.
-
- * configure.in,
- modules/Makefile:
- Release 0.15.1.
-
-2005-08-31 Nicolas Boullis
- * modules/em8300_i2c.c:
- Fix a bug in the setup of the second i2c adapter, spotted by Marco
- Schluessler (LordZodiac). This bug was introduced on March 16 this
- year. Thanks Marco.
-
-2005-08-08 Nicolas Boullis
- * Makefile.am,
- configure.in,
- dhc/Makefile.am,
- em8300setup/Makefile.am,
- include/linux/Makefile.am,
- overlay/Makefile.am:
- Autotools cleanup.
-
- * include/libdxr3,
- libdxr3:
- Finish to kill libdxr3, as suggested by Ville Skyttä.
-
- * modules/adv717x_eeprom.c.old:
- Also kill the old modules/adv717x_eeprom.c.old, as suggested
- by Ville Skyttä.
-
-2005-07-23 Nicolas Boullis
- * modules/devfs_symlinks,
- modules/devices.sh:
- Completely kill the old unnumbered compatibility symlinks,
- following Ville Skyttä's suggestion. Thanks Ville.
-
- * Makefile.am,
- configure.in,
- em8300.spec.in,
- em8300.sysv.in:
- Kill the old outdated rpm stuff, as suggested by Ville Skyttä.
-
- * Makefile.am,
- bootstrap,
- configure.in,
- include/Makefile.am,
- overlay/Makefile.am:
- Kill the libdxr3 library that nobody ever used. Thanks to Ville
- Skyttä for finding a few bits I had missed.
-
-2005-07-13 Nicolas Boullis
- * modules/em8300-udev.permissions,
- modules/em8300-udev.rules:
- Kill the old obsolete em8300-udev.permissions file and put its
- settings into em8300-udev.rules; kill the compatibility symlinks
- as everyone should be using the numbered devices by now.
-
-2005-06-01 Nicolas Boullis
- * configure.in,
- modules/Makefile:
- Release 0.15.0.
-
-2005-05-23 Nicolas Boullis
- * modules/em8300_sysfs.c:
- Apply the patch by Ville Skyttä to lower the priority of the
- em8300_class_release messages and to make them slightly more
- informative. Thanks Ville.
-
- * modules/em8300_compat24.h,
- modules/em8300_fifo.c,
- modules/em8300_ioctl.c,
- modules/em8300_spu.c,
- modules/em8300_video.c:
- Replace the old deprecated *_sleep_on_* functions with the new
- wait_event_* ones. Many thanks to Jon Burgess who did most (not to
- say all) the work.
-
-2005-05-17 Nicolas Boullis
- * modules/em8300_main.c:
- Add a new module option to choose the dsp number to use. Thanks to
- Brendon Lloyd Higgins for providing the patch.
-
- * include/linux/em8300.h,
- modules/em8300_audio.c,
- modules/em8300_fifo.c,
- modules/em8300_ioctl.c,
- modules/em8300_spu.c,
- modules/em8300_ucode.c,
- modules/em8300_video.c:
- Use (or properly and explicitely discard in a few cases) the
- return value of copy_from_user and copy_to_user. Thanks to Ville
- Skyttä for pointing the problem, and for fixing my broken patch.
-
-2005-05-10 Nicolas Boullis
- * modules/em8300_i2c.c:
- There seem to be eeprom chips connected through i2c; no need to
- warn about them. Thanks to many and especially Marcin DrStorm
- Śliwiński for their help.
-
- * modules/em8300_sysfs.c:
- Move the sysfs information from class media to class em8300.
-
- * modules/Makefile:
- Improve the part that extract the kernel version to handle complex
- include/linux/version.h (as seen for example on Fedora) that
- handle several different versions. Thanks to Ville Salmela for
- showing the problem.
-
- * overlay/overlay.c:
- Fix the order of the arguments to memset. Thanks to Ville Skyttä
- for spotting and fixing this.
-
- * libdxr3/dxr3-api.c,
- overlay/autocal.c,
- overlay/dxr3view.c,
- overlay/overlay.c:
- Nuke some unused variables. Thanks again to Ville Skyttä for
- these.
-
-2005-04-29 Nicolas Boullis
- * em8300setup/em8300setup.1:
- Fix the em8300setup manpage, as suggested by Ville Skyttä.
-
- * modules/em8300_main.c,
- modules/em8300_spu.c,
- modules/em8300_video.c:
- Initialize the wait queues before the IRQ is requested, as it
- seems to prevent the system from hanging up randomly when the
- em8300 module is loaded for some people. Many thanks to Jon
- Burgess for this patch.
-
-2005-04-09 Nicolas Boullis
- * modules/adv717x.c,
- modules/bt865.c:
- Since 2.6.12 kernels (well, at the time of this writing, it is not
- released yet, but this is true for -rc2), i2c clients dont have
- id any more. Thanks to Jure Pečar who first pointed this out.
-
- * Changelog:
- Convert to UTF-8 to spell Jure's name correctly.
-
- * modules/em8300_audio.c,
- modules/em8300_ioctl.c,
- modules/em8300_spu.c:
- Replace all calls to verify_area with calls to access_ok, as
- verify_area is deprecated in 2.6.12-rc2 and supposed to go away
- soon.
-
- * Makefile.am:
- Clean up EXTRA_DIST.
-
-2005-04-07 Nicolas Boullis
- * modules/em8300_procfs.c:
- Give more useful information in /proc/em8300/ when no
- microcode is loaded. Thanks to Ville Skyttä who did most the
- work.
-
-2005-03-30 Nicolas Boullis
- * .cvsignore:
- Add autom4te.cache to .cvsignore, as suggested by Ville Skyttä.
-
- * dhc/Makefile.am,
- dhc/dhc.desktop,
- overlay/Makefile.am,
- overlay/autocal.desktop,
- overlay/dxr3view.desktop:
- Add .desktop files, provided by Ville Skyttä.
-
- * modules/em8300-udev.permissions,
- modules/em8300-udev.rules:
- Add udev configuration files, provided by Ville Skyttä. Thanks
- Ville for those contributions.
-
-2005-03-24 Nicolas Boullis
- * modules/Makefile,
- modules/adv717x.c,
- modules/bt865.c:
- Support 2.4.x kernels with new external 2.9.x i2c
- modules. Unfortunately, that breaks using 2.4.x kernels with the
- deprecated 2.8.x i2c modules; a new option in the makefile fixes
- this by giving the user the ability to force the i2c API.
-
- * debian:
- Nuke the debian directory as it was completely outdated, and some
- users found it confusing.
-
- * em8300setup/Makefile.am,
- em8300setup/em8300setup.1:
- Add a manpage for em8300setup.
-
- * Makefile.am,
- bootstrap:
- Update the autotools.
-
- * em8300setup/Makefile.am:
- Distribute the new manpage for em8300setup.
-
-2005-03-08 Nicolas Boullis
- * em8300setup/em8300setup.c:
- Improve em8300setup's usage message. Thanks to Ville Skyttä for
- the rephrasing.
-
- * include/linux/Makefile.am:
- Nuke extraneous creation of the /usr/include/linux
- directory. Thanks to Ville Skyttä.
-
-2005-03-07 Nicolas Boullis
- * modules/adv717x.c,
- modules/bt865.c:
- Kill the warnings about ISA bus adapters as some people seem to
- consider them offensive or confusing.
-
- * acconfig.h,
- configure.in:
- Improve use of AC_DEFINE in configure.in and remove acconfig.h to
- kill a warning when running autoconf. Thanks to Ville Skyttä.
-
-2004-11-14 Nicolas Boullis
- * dhc/Makefile.am,
- em8300setup/Makefile.am,
- libdxr3/Makefile.am,
- libdxr3/libac3/Makefile.am,
- overlay/Makefile.am:
- Use AM_CFLAGS and AM_LDFLAGS rather than CFLAGS and LDFLAGS to
- avoid automake warnings. Thanks to Ville Skyttä.
-
- * modules/Makefile:
- Support DESTDIR to install the built modules in a root directory
- different from /, which is especially useful to build
- packages. Thanks to Ville Skyttä.
-
- * scripts/Makefile.am:
- As Ville Skyttä pointed out, there's no need to install em8300.pm
- with execute permissions. Thanks again to him.
-
- * scripts/em8300.pm:
- Make em8300.pm a perl package, and improve error message when
- /dev/em8300 cannot be opened. Thanks again to Ville Skyttä.
-
- * .cvsignore,
- autotools/.cvsignore,
- em8300setup/.cvsignore,
- modules/.cvsignore:
- Add some new files to .cvsignore.
-
-2004-11-10 Nicolas Boullis
- * modules/em8300_main.c:
- Replace remap_page_range with remap_pfn_range for kernels 2.6.10
- and above, as spotted by Christian Gmeiner. Thanks to him.
-
- * modules/em8300_main.c:
- Call pci_disable_device when a card is unregistered, as suggested
- by Christian Gmeiner. Thanks again.
-
-2004-10-27 Nicolas Boullis
- * include/linux/em8300.h,
- modules/em8300_devfs.c,
- modules/em8300_main.c,
- modules/em8300_sysfs.c:
- Enable (automatic) dynamic assignment of major number.
-
-2004-09-05 Nicolas Boullis
- * modules/em8300_audio.c:
- Fix the SNDCTL_DSP_SYNC audio ioctl, as suggested by Aaron
- Kaplan. Many thanks to him.
-
-2004-08-21 Nicolas Boullis
- * modules/em8300_procfs.c:
- Update procfs to not segfault if no video encoder chip was
- detected and to show the real displaybuffer resolution.
-
-2004-05-02 Nicolas Boullis
- * modules/Makefile,
- modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/em8300_registration.c,
- modules/em8300_registration.h:
- Define a new common interface for all functions that need to be
- called when the module in registered/unregistered, when a card is
- registered/unregistered or enabled/disabled.
-
- * modules/Makefile,
- modules/em8300_main.c,
- modules/em8300_procfs.c,
- modules/em8300_procfs.h,
- modules/em8300_registration.c:
- Convert all the procfs stuff to that new interface.
-
- * modules/Makefile,
- modules/em8300_devfs.c,
- modules/em8300_devfs.h,
- modules/em8300_main.c,
- modules/em8300_registration.c:
- Also convert all the devfs stuff to that new interface.
-
- * include/linux/em8300.h,
- modules/Makefile,
- modules/em8300_registration.c,
- modules/em8300_sysfs.c,
- modules/em8300_sysfs.h:
- Add sysfs support. Many thanks to Eric Donohue who did most the
- work.
-
- * modules/em8300_devfs.c,
- modules/em8300_sysfs.c:
- Only create /dev/em8300_{mv,ma,sp}-{0,1,2,3} when the microcode is
- loaded.
-
-
-2004-04-14 Nicolas Boullis
- * modules/em8300_compat24.h,
- modules/em8300_main.c:
- New code for pci probing. Many thanks to Andreas Schultz who did
- most (not to say all) the work.
-
-2004-04-12 Nicolas Boullis
- * modules/em8300_main.c:
- Check if CONFIG_MTRR is defined before #including asm/mtrr.h as it
- does exist only on i386 and x86_64. (Reverted from previous change.)
-
-2004-03-26 Nicolas Boullis
- * modules/adv717x.c,
- modules/adv717x.h,
- modules/bt865.c,
- modules/bt865.h,
- modules/em8300_compat24.h,
- modules/em8300_i2c.c,
- modules/em8300_main.c:
- Add a new modules/em8300_compat24.h file, and put there everything
- that is needed for compatibility between 2.4 and 2.6 kernels. Many
- thanks to Andreas Schultz for the idea and for doing most (not to
- say all) the work.
-
-2004-03-25 Nicolas Boullis
- * modules/ldm:
- I stupidly reversed the test in my previous update of modules/ldm;
- repair this. Sorry for this stupid mistake.
-
-2004-03-24 Nicolas Boullis
- * modules/em8300_main.c:
- Since kernel 2.5.69, one should use devfs_remove instead of
- devfs_unregister; and since 2.5.70, devfs_mk_cdev instead of
- devfs_register. Thanks to Peter Zijlstra for his patch (forwarded
- by Håkon Skjelten).
-
- * modules/ldm:
- Update ldm to support .ko modules (since kernel 2.5.51), thanks to
- Håkon Skjelten.
-
- * modules/Makefile:
- Rewrite modules/Makefile mostly from scratch to support both 2.4
- and 2.6 kernels in a much simpler way.
-
- * modules/em8300_main.c:
- Call em8300_spu_release when em8300_io_release is called for an
- em8300_sp device. Thanks to Håkon Skjelten for this change.
-
-2004-03-23 Nicolas Boullis
- * modules/em8300_main.c:
- Since before kernel 2.4.0, the file_operations structure has an
- owner field. Thanks to Håkon Skjelten for pointing this.
-
- * modules/adv717x.c,
- modules/bt865.c:
- There's no need to include linux/wrapper.h in modules/adv717x.c or
- modules/bt865.c.
-
- * modules/em8300_main.c:
- Since kernel 2.5.12, mem_map_reserve and mem_map_unreserve from
- linux/wrapper.h are replaced by SetPageReserved and
- ClearPageReserved. Thanks to Håkon Skjelten for pointing this.
-
- * modules/em8300_main.c:
- Between kernel 2.5.2 and 2.6.0-test4 (inclusive), one must use
- minor(inode->i_rdev) rather than MINOR(inode->i_rdev). Thanks
- again to Håkon Skjelten.
-
-2004-03-16 Nicolas Boullis
- * modules/em8300_fifo.c,
- modules/em8300_ioctl.c,
- modules/em8300_spu.c,
- modules/em8300_video.c:
- The variable jiffies has type unsigned long, not unsigned int;
- thanks to Håkon Skjelten for pointing this.
-
- * modules/adv717x.c,
- modules/bt865.c:
- Erase (set to zero) the memory freshly allocated with
- kmalloc for an i2c_client structure. Thanks again to Håkon
- Skjelten.
-
- * modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_i2c.c:
- Since kernel 2.5.67, the i2c_client and i2c_adapter structs have
- no data field; once more, thanks to Håkon Skjelten for his patch.
-
- * modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_main.c:
- Since kernel 2.5.18, no symbol is exported by default, so
- EXPORT_NO_SYMBOLS is useless. Thanks again to Håkon Skjelten for
- pointing this.
-
- * modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_main.c:
- Since kernel 2.5.48, MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT are
- deprecated. Thanks again to Håkon Skjelten.
-
- * modules/em8300_main.c:
- Since kernel 2.5.48, request_irq is in linux/interrupt.h . Thanks
- again to Håkon Skjelten.
-
- * modules/em8300_main.c:
- Since kernel 2.5.69, the handler provided to request_irq
- (em8300_irq) must return an irqreturn_t value. Thanks again to
- Håkon Skjelten.
-
- * modules/em8300_main.c:
- Since kernel 2.5.3, the interface of the remap_page_range function
- changed. Thanks again to Håkon Skjelten.
-
-2004-03-14 Nicolas Boullis
- * modules/Makefile:
- When building modules, if $(I2C_LOCATION) is set, ensure that
- the i2c headers from $(I2C_LOCATION) are prioritized over those
- from the kernel source, thanks to Janne Kujanpää for pointing
- the problem.
-
- * modules/Makefile,
- modules/em8300_fifo.c,
- modules/em8300_fifo.h,
- modules/em8300_main.c,
- modules/em8300_spu.c,
- modules/em8300_video.c:
- Drop support for older than 2.4.0 kernels.
-
-2004-02-26 Nicolas Boullis
- * modules/em8300_fifo.c,
- modules/em8300_fifo.h:
- Do locking with proper mutexes (implemented with semaphores)
- rather than misusing spinlocks. Thanks to Håkon Skjelten and
- Rune for pointing the misuse while working on a patch to support
- 2.6 kernels.
-
-2004-02-17 Nicolas Boullis
- * modules/em8300_fifo.c,
- modules/em8300_fifo.h:
- Use pci_alloc_consistent to allocate a DMA-able buffer rather
- than kmalloc + virt_to_bus, as virt_to_bus is not supported on
- sparc.
-
- * modules/Makefile:
- Add support for sparc64 systems.
-
- * modules/Makefile,
- modules/em8300_ioctl32.c,
- modules/em8300_ioctl32.h,
- modules/em8300_main.c:
- Add support for 32-bit ioctls on 64-bit systems with a 32-bit
- userspace.
-
- * modules/Makefile:
- Fix support for building with i2c modules out of the kernel.
-
- * ChangeLog:
- Update the ChangeLog.
-
-2004-02-09 Nicolas Boullis
- * modules/em8300_main.c:
- Check for O_NONBLOCK whenever a write is attempted, ans it may
- be changed after opening with fcntl. Thanks to Michael Roitzsch
- for this patch.
-
- * modules/em8300_fifo.c:
- Try to properly detect when the DMA engine is frozen. Many
- thanks to Michael Roitzsch for his initial patch and for testing
- this one.
-
- * modules/em8300_misc.c:
- Give the CPU back to other processes when waiting for a
- condition on the register of the em8300 chip.
-
-2004-02-08 Nicolas Boullis
- * modules/em8300_audio.c:
- Fix em8300 audio for big-endian systems, and for big-endian
- audio data on little-endian systems.
-
- * modules/Makefile: Add support for PowerPC.
-
-2003-12-08 Nicolas Boullis
- * modules/em8300_fifo.c,
- ChangeLog:
- Fix a bug (introduced by myself in the patch for alpha support)
- that caused sound to to skip. Thanks to arj (sorry, I don't know
- your real name) for spotting this bug. Also change my own e-mail
- in this ChangeLog and in the AUTHORS file.
-
-2003-12-06 Nicolas Boullis
- * scripts/microcode_extract.pl:
- Fix a tiny bug in scripts/microcode_extract.pl that caused the
- third option (NAMEBASE) not to work.
-
-2003-12-05 David Holm
- * include/linux/em8300.h,
- modules/Makefile,
- modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_audio.c,
- modules/em8300_dicom.c,
- modules/em8300_fifo.c,
- modules/em8300_fifo.h,
- modules/em8300_i2c.c,
- modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/em8300_misc.c,
- modules/em8300_reg.h,
- modules/em8300_spu.c,
- modules/em8300_ucode.c,
- modules/em8300_video.c:
- Applied patch from Nicolas Boullis which
- effectively adds Alpha support and a patch from the same guy which
- makes it possible to set different module options for multiple cards.
-
-2003-11-22 David Holm
- * modules/em8300_main.c,
- modules/em8300_video.c:
- Applied patch from Anders Rune Jensen which
- fixes the O_NONBLOCK bug.
-
-2002-01-08 Rick Haines
-
- * modules/adv717x.c:
- Apply a patch from Dofri Jonsson .
- We were using the wrong index when applying
- pixelport_adjust_pal on the ADV7170
-
-2003-11-22 David Holm
- * modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_audio.c,
- modules/em8300_dicom.c,
- modules/em8300_fifo.c,
- modules/em8300_fifo.h,
- modules/em8300_i2c.c,
- modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/em8300_misc.c,
- modules/em8300_spu.c,
- modules/em8300_ucode.c,
- modules/em8300_video.c,
- modules/em9010.c:
- Added a patch from Nicolas Boullis which
- seamlessly integrates i2c-2.8 support.
-
-2003-08-10 David Holm
- * modules/em8300_audio.c,
- modules/em8300_fifo.c,
- modules/em8300_fifo.h,
- modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/em8300_spu.c,
- modules/em8300_video.c:
- Added a patch from Jon Burgess that partly fixes the SPU lockup problems.
-
-2003-07-28 David Holm
- * configure.in:
- Fixed version. Spotted by Volker Moell.
-
-2003-07-25 David Holm
- * modules/adv717x.c,
- modules/bt865.c,
- modules/em8300-i2c-2.8.0.patch,
- modules/em8300_audio.c,
- modules/em8300_dicom.c,
- modules/em8300_fifo.c,
- modules/em8300_i2c.c,
- modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/em8300_misc.c,
- modules/em8300_spu.c,
- modules/em8300_ucode.c,
- modules/em8300_video.c,
- modules/em9010.c:
- Reversed the patch from SuSE and added it as a patch. They forgot to
- tell me it only works if your kernel is patched with i2c 2.8.0.
-
-2003-07-17 David Holm
- * modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_audio.c,
- modules/em8300_dicom.c,
- modules/em8300_fifo.c,
- modules/em8300_i2c.c,
- modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/em8300_misc.c,
- modules/em8300_spu.c,
- modules/em8300_ucode.c,
- modules/em8300_video.c,
- modules/em9010.c:
- Applied patch from SuSE which fixes compatibility issues with i2c
- 2.8.0.
-
-2003-06-14 David Holm
- * modules/em8300_fifo.c,
- modules/em8300_spu.c,
- modules/em8300_ioctl.c,
- modules/em8300_video.c:
- Added patch from Stefan Schluenss
- to prevent the driver from blocking on some calls.
-
-2003-01-09 David Holm
- * bootstrap:
- Tried to hack around broken (?) autoconf.
-
-2003-01-08 David Holm
- * modules/README-modoptions,
- modules/bt865.c,
- modules/adv717x.c,
- modules/em8300_main.c:
- Added patch from Luis.F.Correia" which adds
- support for RGB-mode with bt865.
- Added patch from Soeren Sonnenburg which fixes problems with
- swap_redblue in the adv717x.
- Added patch from Michael Roitzsch which fixes
- problem with SPU device hanging the em8300.
-
-2002-11-29 David Holm
- * modules/em8300_audio.c:
- Changed two pr_infos to pr_debugs.
-
-2002-11-21 David Holm
- * include/linux/em8300.h,
- modules/em8300_main.c:
- mmap() updates from MiHu.
-
-2002-11-17 David Holm
- * modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/em8300_video.c,
- include/linux/em8300.h:
- Added patch from MiHu to add support for getting time of next
- VBI.
-
-2002-10-26 David Holm
- * modules/Makefile,
- modules/em8300_audio.c,
- modules/em8300_main.c,
- modules/adv717x.c,
- em8300setup/em8300setup.c,
- em8300setup/Makefile.am,
- configure.in
- Makefile.am:
- Fixed kernel 2.5 support.
- You can now set the default module configs in the Makefile. (The
- real reason for this is to add config support to the kernel patch).
- Lots of fixes to make it more kernel friendly.
- Added Malcolm Lashley's em8300setup util and deprecated em8300init
- as it doesn't work with perl 5.8. em8300setup has many more features
- anyway.
-
-2002-10-20 David Holm
- * modules/em8300_ioctl.c:
- Fixed a bug that would cause a kernel oops if you tried
- to change the em8300 settings without the microcode
- loaded.
-
-2002-05-03 David Holm
- * modules/em8300_audio.c:
- Hopefully fixed a bug which would leave data in the audio
- buffer when you closed it.
-
-2002-04-12 David Holm
- * modules/em8300_spu.c,
- modules/em8300_main.c:
- Multiple card support fixed by Carl George
- Added spu_release
- Some cosmetic changes (K&R)
-
-2002-02-25 David Holm
- * modules/em8300_main.c:
- 2.2 kernel fix (argh, ppl stop using this kernel ;)
-
-2002-02-23 Jonas Birme
- * modules/Makefile:
- Removed the installation of em8300.h in install-newkern.
- It's included when installing em8300 (not the modules).
-
-2002-02-19 David Holm
- * dhc/dhc_main.c,
- overlay/autocal.c,
- overlay/dxr3view.c,
- modules/em8300_main.c:
- Fixed compilation on 2.5 kernels
- Fixed bugs with old naming scheme
-
-2002-02-15 David Holm
- * modules/em8300_main.c:
- Changed behaviour of procfs entry. It now shows up as
- /proc/em8300/ instead of /proc/em8300/em8300-
- I hate repeating myself ;)
-
-2002-02-13 Jonas Birme
- * scripts/microcode_upload.pl
- Fixed the ugly hardcoded path in the script.
- It's now optional to specify microcode, defaults to
- /usr/share/misc/em8300.uc
-
-2002-02-11 Jonas Birme
- * modules/Makefile
- Fixed the install-newkern so it uses $(prefix) for all files.
-
-2002-02-09 David Holm
- * include/linux/em8300.h,
- modules/em8300_audio.c,
- modules/em8300_video.c,
- modules/em8300_spu.c:
- Fixed video and spu flushing
- Added patch from Michael Roitzsch to fix playback of mono audio
- on digital output. Some day we can debate if this should be done
- in the driver or by software, for now lets just accept he made a
- fix and that we should be happy ppl help out.
-
-2002-02-08 David Holm
- * modules/em8300_main.c:
- Fixed yet another issue with 2.2 kernels
-
-2002-02-02 David Holm
- * modules/em8300_main.c:
- Added poll/select
- Added dsp_poll, this will increase performance and usability in applications
- where low latency is very important. XMMS also makes good use of this feature
-
-2002-01-26 David Holm
- * modules/em8300_audio.c:
- Fixed a bug in SNDCTL_DSP_RESET which would cause apps to hang
-
-2002-01-21 David Holm
- * modules/em8300_audio.c:
- Applied patch from Steven Brookes which fixes a bug when setting up digital ac3 via oss
-
-2002-01-20 David Holm
- * configure.in,
- Makefile.am,
- modules/adv717x_eeprom.c,
- modules/em8300_main.c,
- modules/Makefile:
- Removed, all affected files have been updated (including files in debian subdir)
- Changed so that uninplemented SNDCTL calls return -ENOSYS (uninplemented) instead of -EINVAL (invalid argument)
- Fix case when users compile with devfs support but don't mount it at boot
- update version, add acconfig.h to EXTRA_DIST
-
-2002-01-19 David Holm
- * modules/em8300_video.c:
- Fixed flushing
- It now checks the kernel for CONFIG_SOUND instead of specifying it with -D
-
-2002-01-17 David Holm
- * modules/em8300_audio.c:
- Added mute patch from Steven Brookes
- Fixed DSP_AUDIO_RESET
- Added em8300_video_flush
- Added EM8300_IOCTL_FLUSH
-
-2002-01-16 David Holm
- * modules/em8300_fifo.c:
- Enter spinlock on writes
- Changed REGISTER_DSP to CONFIG_SOUND_OSS
- Added MVCOMMAND_SYNC
-
-2002-01-16 Jonas Birme
- * scripts/microcode_extract.pl:
- Added a destdir to the script, so the microcode can be stored in
- another dir than the current.
-
-2002-01-15 David Holm
- * scripts/microcode_upload.pl:
- Made the perl script more devfs friendly (it's overambigous since I don't know much perl, but it does the job on both devfs and non-devfs systems ;)
-
-2002-01-14 David Holm
- * include/linux/em8300.h,
- modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_ioctl.c:
- Reverted to old way of handling encoder modes (one def in em8300.h and another in encoder.h)
-
-2002-01-13 (post 0.10.1) David Holm
- * include/linux/em8300.h,
- modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_ioctl.c,
- modules/em8300_main.c:
- Fixed em8300.h having 3 signalling modes and encoder.h having 7. All 7 are now defined
- in em8300.h only.
- Fixed devfs bug which would cause the driver not to find an em8300 if you unload the
- module after loading a microcode and then trying to load it again.
-
-2002-01-13 David Holm
- * include/linux/em8300.h,
- modules/em8300_main.c,
- modules/em8300_video.c,
- modules/em8300_audio.c,
- modules/em8300_spu.c,
- modules/em8300_ioctl.c,
- modules/adv717x.c,
- modules/bt865.c,
- modules/adv717x_eeprom.c,
- modules/encoder.h:
- It is now possible to open the devices in nonblocking mode
- Fixed warnings
- Fixed harmless but annoying bug in adv717x_command (returning -EINVAL on error)
- Added missing #include to bt865.c and adv717x.c
- gcc 3 fixes
-
-2002-01-12 David Holm
- * include/linux/em8300.h,
- libdxr3/dxr3-api.c,
- modules/adv717x.c,
- modules/bt865.c,
- modules/em8300_audio.c,
- modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/encoder.h:
- Added all supported encoder modes to em8300
- Added MODULE_PARM_DESC
- Added MODULE_SUPPORTED_DEVICE
- Removed audio pts code
- Fixed devfs bug
- K&R fixes in em8300_audio.c
-
-2002-01-11 Jonas Birme
- * modules/Makefile:
- Fixed a bug in install-newkern, and added $(prefix) to
- that rule also. Changed KERNEL_LOCATION= to KERNEL_LOCATION?=
-
-2002-01-10 David Holm
- * modules/Makefile,
- modules/README-2.4:
- Removed nonworking devfs installation script and added
- a devfs install guide in the readme instead...
-
-2002-01-10 David Holm
- * modules/Makefile:
- It now automatically installs/removes the appropriate
- entries in devfsd.conf
-
-2002-01-09 David Holm
- * em8300_main.c:
- Fixed a bug I accidentally introduced with devfs
-
-2002-01-08 Rick Haines
-
- * scripts/microcode_upload.pl:
- display error message if it can't open
- the first device
-
- * dhc/dhc_main.c,
- libdxr3/dxr3-api.c,
- modules/rmm,
- overlay/allblackbut.c,
- overlay/autocal.c,
- overlay/dxr3view.c,
- overlay/overlay.c:
- minor cleanups from James
- (exit -> _exit, some missing returns,
- include string.h in a few files,
- don't remove i2c* in rmm).
-
-2002-01-08 Rick Haines
-
- * AUTHORS,
- modules/em8300_main.c:
- minor devfs/procfs #ifdef cleanups from Graeme.
-
-2002-01-07 David Holm
-
- * modules/Makefile:
- added uninstall feature
-
- * modules/devfs_symlinks,
- modules/em8300_main.c:
- quick fix to devfs to make it work on mandrake
-
-2002-01-02 Rick Haines
-
- * configure.in,
- modules/Makefile:
- update version
-
-2001-12-29 Rick Haines
-
- * modules/Makefile,
- modules/em8300_main.c:
- procfs information updates from David
-
-2001-12-29 Rick Haines
-
- * modules/em8300.sysv.in:
- fix eeprom module name
- (from Sergei 'Jin' Bostandjan)
-
-2001-12-28 David Holm
-
- * include/linux/em8300.h,
- modules/em8300_ioctl.h:
- Added the following ioctls
- GET_VIDEOMODE
- GET_PLAYMODE
- GET_SPUMODE
- Fixed typos
-
- * modules/Makefile:
- gcc sanity check
- More intuitive install method by
- Graeme Gregory
-
- * modules/README-2.4:
- Removed old install info and added part about
- devfs support
-
- * modules/adv717x.c:
- Fixed typo
-
- * modules/devfs_symlinks:
- Example /etc/devfs/compat_symlinks for compatibility
-
- * modules/em8300_audio.c,
- modules/em8300_fifo.c,
- modules/em8300_fifo.h:
- Lots of bugfixes including broken digital audio
- output by Steven Brookes
-
- * modules/em8300_main.c:
- Added devfs fs support
- Added proc fs support
- Fixed multiple card support
- (I hope, I'm unable to test it)
-
-2001-12-18 Rick Haines
-
- Apply the following from Larice Robert.
-
- * modules/em8300_fifo.c:
- change 4 to fifo->slotptrsize
- reorder some lines to fix possible problem
-
- * modules/em8300_video.c:
- change 'read_register(ptsfifoptr+1) & 1' to
- 'read_register(ptsfifoptr+3) & 1'
-
- * modules/em8300_video.c:
- correctly update em->video_offset
-
-2001-12-18 Rick Haines
-
- * modules/adv717x.c:
- ADV7170 PAL mode register mods from Vidar Hoel
-
- * modules/em8300_dicom.c:
- NTSC mode tweaks from Serguei Miridonov
-
- * AUTHORS:
- update Chris Hoovers email address
-
-2001-11-29 Jonas Birme
-
- * modules/em8300_audio.c
- a bugfix submitted by David Holm. DSP_RESET fixed
- in em8300_audio
-
-2001-11-25 Rick Haines
-
- * modules/eeprom.c,
- modules/adv717x_eeprom.c,
- modules/Makefile*,
- modules/README-modules.conf,
- modules/ldm,
- modules/rmm:
- rename eeprom per request from J G Miller
- (conflicts with lm-sensors)
-
- * modules/adv717x.c:
- make swap_redblue_pal apply to NTSC
-
-2001-11-05 David Holm
-
- * include/libdxr3/api.h,
- libdxr3/dxr3-api.c,
- modules/em8300_audio.c,
- modules/em8300_main.c:
- added some missing ioctl to em8300_audio.c
- fixed bug in em8300_main.c causing the mtrr
- to be removed twice
- changes made to the api!
-
-2001-11-04 Rick Haines
-
- * acconfig.h,
- configure.in:
- instead of stopping if GTK not found,
- just don't build dhc and dxr3view.
-
-2001-11-04 Rick Haines
-
- * include/libdxr3/api.h,
- libdxr3/dxr3-api.c:
- patch from David to rename
- dxr3_audio_get_bytesleft() to
- dxr3_audio_get_bytesinbuffer()
-
- * include/linux/mtrr.h,
- modules/em8300_main.c:
- patch from David to add mtrr support
- (maybe speedup the fifo operations)
-
-2001-11-03 Rick Haines
-
- * include/libdxr3/api.h,
- libdxr3/dxr3-api.c:
- patch from David Holm to add
- dxr3_audio_get_buffersize() and
- dxr3_audio_get_bytesleft()
-
-2001-10-27 Rick Haines
-
- * modules/Makefile,
- modules/*.c:
- module license and malloc.h/slab.h changes
- from Szabo Akos
-
-2001-09-30 Rick Haines
-
- * em8300.spec.in,
- configure.in,
- Makefile.am:
- updates from Andrew
-
- * modules/em8300_audio.c:
- set correct speed for AC3 output
-
- * include/linux/em8300.h:
- swap EM8300_AUDIOMODE_DIGITALPCM and
- EM8300_AUDIOMODE_DIGITALAC3 so that
- dhc switches between analog and digitalpcm.
- This is the logical order anyway.
-
-2001-09-19 Rick Haines
-
- * modules/em8300_audio.c:
- define AFMT_AC3 if it's not already
-
-2001-09-10 Rick Haines
-
- * modules/em8300_audio.c,
- include/linux/em8300.h:
- maybe fix digital output modes
-
-2001-09-10 Rick Haines
-
- * debian/changelog,
- debian/rules,
- debian/setvers.sh:
- Uses $(KVERS) instead of ugly uname -r
-
-2001-09-05 Rick Haines
-
- * modules/em9010.c:
- Another autocal fix from Daniel.
- "The content of the overlay register 0x0d
- is no more set to 0x44 but its content is set
- by the cable detection routine (that was already
- existing). The resulting can be 0x44 OR 0x4C."
-
-2001-09-03 Jonas Birme
-
- * debian/chagelog,
- debian/copyright,
- debian/rules,
- debian/setvers.sh:
- converted to use debhelper as much as possible
-
-2001-09-02 Rick Haines
-
- * debian/*
- big updates from Jonas and Graeme
-
- * modules/Makefile:
- new Makefile from Jonas/Graeme to
- work with both 2.2 and 2.4 kernels
-
-2001-09-02 Rick Haines
-
- * include/linux/em8300.h,
- modules/em8300_audio.c,
- modules/em8300_dicom.c,
- modules/em8300_ioctl.c,
- modules/em8300_main.c:
- Patch from Daniel to fix the clockgen setting for
- another kind of board.
-
- * .cvsingore,
- autotools/.cvsignore,
- dhc/.cvsignore,
- include/.cvsignore,
- include/libdxr3/.cvsignore,
- include/linux/.cvsignore,
- libdxr3/.cvsignore,
- libdxr3/libac3/.cvsignore,
- overlay/.cvsignore,
- scripts/.cvsignore:
- Patch to add .cvsingore files from Michael Moerz
-
-2001-08-19 Rick Haines
-
- * configure.in:
- update version
-
-2001-08-18 Rick Haines
-
- * modules/em8300_ioctl.c (em8300_ioctl_setvideomode):
- reenable tv mode code no longer necessary here
-
-2001-08-17 Rick Haines
-
- * modules/em8300_ioctl.c,
- modules/em9010.c,
- overlay/allblackbut.c,
- overlay/dxr3view.c,
- overlay/overlay.c:
- Daniel fixes autocal again
-
- * modules/em8300_ioctl.c,
- modules/em8300_main.c,
- modules/ldm:
- remove overlay_tv_switching option
-
-2001-08-13 Rick Haines
-
- * modules/em8300_spu.c,
- include/linux/em8300.h:
- Eduard added EM8300_IOCTL_SET_BUTTON ioctl for
- menu support
-
-2001-08-13 Rick Haines
-
- * debian/*:
- updates
-
-2001-08-09 Rick Haines
-
- * modules/em8300_dicom.c,
- modules/em8300_ioctl.c,
- modules/em8300_misc.c,
- modules/em8300_video.c,
- modules/em9010.c,
- overlay/overlay.c,
- overlay/overlay.h:
- Patch from Daniel Chassot
- "The folowing patch fixes the autocalibration process,
- updates em8300_DICOM_setBCS, add overlay_set_bcs to
- overlay.c and enhance em8300_ioctl_overlay_setwindow."
- You rock dude.
-
- * configure.in:
- update version
-
-2001-08-08 Rick Haines
-
- * debian/changelog,
- debian/rules,
- modules/Makefile,
- modules/Makefile.2.2:
- more updates from Jonas
-
- * modules/Makefile.2.4:
- update
-
-2001-08-08 Rick Haines
-
- * debian/*:
- Debian packaging stuff from Jonas Birme
-
- * modules/em8300_main.c:
- Patch from Eduard to change var_video_value
- to 3375. This looks dependent on card version
- which is probably why I didn't see a difference.
-
- * em8300.sysv.in:
- Patch from Jeffrey Ingber to make the rpm boot
- script upload the microcode
-
- * modules/Makefile:
- Patch from Jeffrey Ingber to use
- include/linux/autoconf.h instead of
- include/config/modversions.h.
-
-2001-08-05 Rick Haines
-
- * modules/README-2.4,
- modules/README-2.2:
- update
-
-2001-08-05 Rick Haines
-
- * modules/Makefile,
- modules/Makefile.2.2,
- modules/em8300_main.c:
- Makefile magic from Graeme to detect whether
- sound and i2c bitbanging are configured
-
-2001-08-04 Rick Haines
-
- * include/linux/em8300.h,
- modules/em8300_audio.c:
- move static vars to struct em8300_s
-
- * modules/em8300_main.c,
- modules/em8300_ioctl.c:
- add overlay_tv_switching module option
-
- * modules/README-greeenscreen,
- modules/README-modoptions:
- renamed
-
- * xine/README,
- xine/dxr3_decoder.c,
- xine/video_out_dxr3.c,
- xine/Makefile:
- plugin removed until necessary
-
-2001-08-03 Rick Haines
-
- * modules/em8300_main.c,
- modules/Makefile,
- modules/README-2.4:
- Add REGISTER_DSP to enable registering /dev/dsp
-
- * include/linux/em8300.h,
- modules/em8300_ioctl.c:
- Eduard added EM8300_IOCTL_SCR_GET/SET and
- EM8300_IOCTL_SCR_GETSPEED/SETSPEED
-
-2001-08-02 Rick Haines
-
- * modules/em8300_audio.c:
- Fix SNDCTL_DSP_GETOPTR and SNDCTL_DSP_GETODELAY
- ioctl's so they work with mono audio
-
-2001-08-01 Rick Haines
-
- * modules/em8300_ioctl.c:
- revert overlay to tv mode switching patch
- since it squishes the overlay mode for me
-
- * overlay/configs/*,
- overlay/Makefile.am:
- add sample autocal config files
-
-2001-08-01 Rick Haines
-
- * modules/em8300_audio.c:
- only use AFMT_AC3 if it's defined
-
-2001-07-29 Rick Haines
-
- * modules/em8300_audio.c:
- reset mafifo->bytes when the device is opened
-
-2001-07-29 Rick Haines
-
- * modules/em8300_ioctl.c:
- Patch from Mike Lampard to fix overlay to
- tv mode switching
-
-2001-07-28 Rick Haines
-
- * include/linux/em8300.h,
- modules/em8300_ioctl.c,
- modules/em8300_audio.c:
- add more CLOCKGEN defines
-
-2001-07-27 Rick Haines
-
- * modules/bt865.c,
- modules/em8300_dicom.c:
- more bt865 ntsc updates from Chris
-
-2001-07-24 Rick Haines
-
- * modules/em8300_main.c,
- include/linux/em8300.h:
- add register_dsp code to use /dev/dsp*
-
- * modules/em8300_audio.c:
- add AFMT_AC3. Someone with an AC3 decoder will have
- to verify
-
- * modules/Makefile:
- now installs em8300.h
-
-2001-07-20 Rick Haines
-
- * modules/em8300_video.c:
- From Daniel Chassot "Adds the dicom kmin computation"
-
-2001-07-20 Rick Haines
-
- * xine/video_out_dxr3.c,
- xine/README:
- Eduard fixed the priority, added tvmode option, and
- updated the README
-
-2001-07-19 Rick Haines
-
- * xine/*:
- Update from Eduard "This version has the possibility of
- setting the bcs values and the aspectratio. Priorities
- are also working now. If the plugin detects the dxr3
- devices, it activates itself and is taken from XINE due
- to a higher priority."
-
-2001-07-19 Rick Haines
-
- * modules/Makefile:
- Patch from Graeme to change include path order to find
- local em8300.h first
-
- * modules/em8300_audio.c:
- Patch from Daniel Chassot "swaps the left and the right
- channel on the dxr3 analog output."
-
- * modules/em9010.c,
- modules/em8300_ioctl.c,
- include/linux/em8300.h:
- Patch from Daniel Chassot "implements the jitter and the
- stability control that are available on the dxr3view window.
- It also clips the visible area of the DICOM to the visible
- area of the screen when in overlay mode."
-
- * overlay/dxr3view.c:
- Patch from Daniel Chassot "keeps the actual window size when
- you move the viewing window around the screen."
-
- * modules/em8300_audio.c,
- modules/em8300_fifo.c,
- include/linux/em8300.h:
- Add OSS ioctl's. Still needs AFMT_AC3 support.
- Audio sync is only activated when the SETPTS ioctl is called.
-
- * modules/em8300_video.c:
- Eduard fixed a bug in my ioctl modifications
-
- * modules/em8300_dicom.c:
- Patch from Chris to use the old SYNC values in pal mode
- to prevent us breaking it (with slight modifications).
- sub_40137 wasn't updating Luma/Chroma with bt865 encoders.
-
- * xine/xine-lib.diff:
- Removed due to merge in Xine cvs.
-
- * AUTHORS:
- Graeme wants email about bugs in his Makefile
-
-2001-07-17 Rick Haines
-
- * modules/em8300_dicom.c:
- updated sync values from John Stebbins
-
- * modules/em8300_video.c,
- include/linux/em8300.h:
- Add SCR GET/SET ioctl's partly from Eduard Hasenleithner
-
- * xine/*
- remove old patches and add 0.5 plugin from Eduard Hasenleithner
-
- * AUTHORS
- Thanks guys
-
-2001-07-16 Rick Haines
-
- * modules/em8300_dicom.c:
- Patch from Eduard Hasenleithner to fix pal mode
-
- * configure.in:
- Move AC_PROG_CC to placate new autoconf
-
-2001-07-15 Rick Haines
-
- * modules/em8300_audio.c:
- Patch from Daniel Chassot to fix 1/2 sec sync problem
-
- * modules/em8300_dicom.c:
- Patch from John Stebbins to fix NTSC sync problems
- and shift it up a bit.
-
- * modules/em8300_video.c (em8300_video_sync):
- Patch from Eduard Hasenleithner to make em8300_video_sync()
- timeout if it takes too long.
-
- * modules/README-2.4,
- modules/README-2.2,
- modules/make-modules-2.4,
- modules/make-install-2.4,
- modules/make-clean:
- Remove old 2.4 Makefile stuff
-
-2001-06-27 Rick Haines
-
- * modules/adv717x.c (adv717x_update):
- Fix color bars.
-
-2001-06-26 Rick Haines
-
- * scripts/microcode_upload.pl:
- Remove the error message when it can't open a device.
- You'll know it failed if you don't get success message(s).
-
- * modules/Makefile
- Add debug target (almost left VIDEOMODE_DEFAULT set to NTSC :)
- I'm considering a nice way to add pal and ntsc targets as well.
-
- * modules/bt865.c,
- modules/adv717x.c:
- Patch from cch to add color_bars module option to turn on
- color bars when the modules load.
-
-2001-06-23 Rick Haines
-
- * modules/em8300_ioctl.c:
- Merge patch from Daniel Chassot:
-
- "This one corrects a problem with the value of
- em->clockgen that was correct only for the TV mode and
- note for the overlay mode."
-
- "This patch removes all the small color squares that
- are displayed over the overlay screen during playback."
-
-2001-06-20 Rick Haines
-
- * include/libdxr3/api.h
- Add #ifdef __cplusplus stuff as requested by
- Stefan Jahn
-
-2001-06-20 Rick Haines
-
- Merge some patches from Daniel Chassot.
-
- * modules/em9010.c:
- "The em9010 patch fix a problem with the setting of the
- 16bit sync register of the em9010"
-
- * overlay/dxr3view.c:
- "The dxr3view patch fixe a problem with the overlay
- initialisation if the screen depth is not 24"
-
-2001-06-13 Rick Haines
-
- * modules/bt865.c,
- modules/em8300_audio.c,
- modules/em8300_video.c,
- modules/em8300_dicom.c,
- modules/em8300_i2c.c,
- modules/em8300_main.c,
- modules/em8300_reg.h,
- modules/encoder.h,
- include/linux/em8300.h:
- merge Chris C. Hoover's bt865 patch
-
- * modules/README-modules.conf
- add the lines I put in my modules.conf
-
-2001-06-13 Rick Haines
-
- * libdxr3/dxr3-api.c
- remove microcode uploading from libdxr3
- You must now manually upload the microcode before
- using the device (post-install in /etc/modules.conf)
-
-2001-06-13 Rick Haines
-
- * modules/Makefile,
- modules/Makefile.2.2,
- modules/README-2.2,
- modules/README-2.4.0:
- Add new Makefile for 2.4 kernels (from Graeme Gregory) and
- make it the default. If no problems are found I'll remove
- all the make-* scripts.
-
-2001-06-12 Rick Haines
-
- * scripts/microcode_upload.pl:
- add exit statement if upload fails
-
-2001-05-13 Rick Haines
-
- * include/libdxr3/api.h,
- libdxr3/dxr3-api.c:
- dxr3_audio_write() now just writes the data sent to it,
- dxr3_audio_write_ac3() will process it if in digitalac3 mode.
-
-2001-05-11 Rick Haines
-
- * modules/em8300_video.c (em8300_video_check_ptsfifo):
- make the same change as we did for spu
-
-2001-05-10 Rick Haines
-
- * modules/em8300_audio.c:
- merge new digitalac3/pcm patch from Mattias Svensson
-
-2001-05-10 Rick Haines
-
- * libdxr3/ac3spdif.c (output_spdif),
- modules/em8300_audio.c:
- revert my change and merge Mattias Svensson's patch
-
- * xine/xine-0.4.01_dxr3.patch.gz:
- put this on the ftp site instead
-
-2001-05-10 Rick Haines
-
- * modules/em8300_ioctl.c (em8300_control_ioctl):
- add ov_scr and ov_cal to fix some type casting errors
-
- * libdxr3/ac3spdif.c (output_spdif):
- comment out the swab for ac3 data, this should fix digitalac3
-
- * modules/em8300_spu.c (em8300_spu_check_ptsfifo):
- merge disappearing subtitle patch from Eduard Hasenleithner
-
-2001-04-23 Rick Haines
-
- * modules/*:
- merge kernel coding style patch from James Farwell
- and make a pass through the code myself.
-
-2001-04-22 Rick Haines
-
- * modules/em8300_audio.c,
- modules/em8300_video.c:
- remove the 1 sec requirement for rollover.
- Now if we get any pts lower than the lastpts
- we'll consider it a rollover. I was attempting
- to work around broken mpeg's but it's not worth
- doing it in the driver. So much for my eva #4 fix..
-
-2001-04-22 Rick Haines
-
- * m4/gtk.m4,
- configure.in,
- Makefile.am,
- dhc/Makefile.am,
- overlay/Makefile.am:
- add autoconf check for gtk thanks to m4 file
- 'borrowed' from glade by Bo.
-
-2001-04-20 Rick Haines
-
- * xine/xine-0.4.01_dxr3.patch.gz:
- the aspect ratio stuff is really there this time,
- I promise.
-
- * modules/em8300_audio.c:
- work around a weird pts problem in my Evangelion #4 dvd.
-
-2001-04-20 Rick Haines
-
- * xine/README,
- xine/xine-0.4.01_dxr3.patch.gz:
- update xine patch to use installed libdxr3.
- Now selects correct aspect ratio (make sure
- to get the updated input plugin as well)
-
-2001-04-19 Rick Haines
-
- * overlay/dxr3view.c:
- make overlay mode default since it works for me now
-
- * overlay/autocal.c:
- fix another hardcoded resolution
- NUM_MONITORS needs to go somewhere better
-
-2001-04-18 Rick Haines
-
- * modules/em8300_audio.c:
- add my_abs() to fix missing abs() with gcc 2.96
-
-2001-04-18 Rick Haines
-
- * modules/em8300_main.c:
- patch from Eg to make use_bt865 work with multiple cards.
- we'll want to do this with all the options.
-
- * scripts/microcode_upload.pl:
- try to upload microcode to all the devices (from Eg)
-
-2001-04-17 Rick Haines
-
- * overlay/dxr3view.c:
- patch from Tony Bybell to fix vertical squish
-
- * overlay/autocal.c:
- patch from Tony Bybell for
- 'autocal automatic x/y/plane detect'
-
-2001-03-31 Rick Haines
-
- * xine/xine_dxr3.patch.gz,
- xine/xine-0.4.01_dxr3.patch.gz:
- fix xine exit problem. dxr3_write_*
- were blocking when playback was stopped/paused.
-
-2001-03-29 Rick Haines
-
- * modules/em8300_audio.c (preprocess_digital):
- reverse the em->swapbytes condition.
- this should fix pcm, I wonder if it breaks ac3
-
- * modules/*:
- fix up all the printk's
-
- * xine/xine-0.4.01_dxr3.patch.gz:
- remove check for libcss from configure.in
-
-2001-03-28 Rick Haines
-
- * modules/em8300_i2c.c (em8300_i2c_reg):
- printk and return -ENODEV if we don't
- recognize the device id.
-
- * include/linux/em8300.h
- add ENCODER_UNKNOWN
-
-2001-03-27 Rick Haines
-
- * xine/xine-0.4.01_dxr3.patch.gz:
- add modified xine patch from Paul Laufer
- that applies to xine-0.4.01
-
-2001-03-25 Rick Haines
-
- * modules/README-greenscreen,
- modules/em8300_main.c,
- modules/em8300_video.c:
- add bt865_ucode_timeout module parameter
- for people with bt865's who get timeouts
- uploading their microcode.
-
-2001-03-21 Rick Haines