obsoleted
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 2 May 2005 21:43:24 +0000 (21:43 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 2 May 2005 21:43:24 +0000 (21:43 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2079 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/m4/ensc_fpicsyscall.m4 [deleted file]

diff --git a/util-vserver/m4/ensc_fpicsyscall.m4 b/util-vserver/m4/ensc_fpicsyscall.m4
deleted file mode 100644 (file)
index df0acb2..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-dnl $Id$
-
-dnl Copyright (C) 2002 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 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 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.
-
-AC_DEFUN([ENSC_FPIC_SYSCALL],
-[
-    AC_REQUIRE([ENSC_SYSCALL_ALTERNATIVE])
-
-    AC_CACHE_CHECK([whether syscall() allows -fpic], [ensc_cv_c_fpic_syscall],
-    [
-        ensc_fpic_syscall_old_CFLAGS=$CFLAGS
-        CFLAGS="-fPIC -DPIC"
-
-       AC_LANG_PUSH(C)
-       AC_COMPILE_IFELSE(AC_LANG_SOURCE([
-           #include "$srcdir/lib/syscall-wrap.h"
-            #include <errno.h>
-            
-            #define __NR_dummy 42
-            _syscall3(int, dummy, int, a, int, b, int, c)]),
-           [ensc_cv_c_fpic_syscall=yes], [ensc_cv_c_fpic_syscall=no])
-       AC_LANG_POP
-
-        CFLAGS=$ensc_fpic_syscall_old_CFLAGS
-    ])
-    
-    AM_CONDITIONAL(ENSC_ALLOW_FPIC_WITH_SYSCALL, [test x"$ensc_cv_c_fpic_syscall" = xyes])
-])