Import util-vserver rev 2847
[util-vserver.git] / m4 / ensc_syscallnr.m4
index db6efb3..c0a6cdd 100644 (file)
@@ -1,16 +1,17 @@
-dnl $Id: ensc_syscallnr.m4 2187 2005-10-28 16:01:19Z ensc $
+dnl $Id: ensc_syscallnr.m4 2846 2009-08-23 12:36:40Z ensc $
 
-dnl Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
-dnl  
+dnl Copyright (C) 2004, 2005, 2009
+dnl     Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
+dnl
 dnl This program is free software; you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
-dnl the Free Software Foundation; version 2 of the License.
-dnl  
+dnl the Free Software Foundation; version 2 and/or 3 of the License.
+dnl
 dnl This program is distributed in the hope that it will be useful,
 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 dnl GNU General Public License for more details.
-dnl  
+dnl
 dnl You should have received a copy of the GNU General Public License
 dnl along with this program; if not, write to the Free Software
 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -39,7 +40,7 @@ ensc_syscall_tmp_src=ENSC_MARK
                ensc_syscall_tmp_nr=
                ensc_syscall_tmp_src=
                test x"$ensc_syscall_tmp_nr" != x || \
-                       eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc'                                    conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[[1-9]][[0-9]]*;|src=.*)$')
+                       eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc'                                    conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[[1-9]][[0-9]]*;|src=.*)$')
                test x"$ensc_syscall_tmp_nr" != x -o x'$3' = x || \
                        eval $($CPP $CPPFLAGS -D ENSC_MARK='fallback' -D ENSC_SYSCALL_FALLBACK='"$3"' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[[1-9]][[0-9]]*;|src=.*)$')
                test "$ensc_syscall_tmp_nr" || {