diff --git a/configure.ac b/configure.ac index 3822163..50e42f3 100644 --- a/configure.ac +++ b/configure.ac @@ -50,14 +50,6 @@ AC_ARG_ENABLE(debug, [ --enable-debug enable extra checks], enable_debug=no ) -dnl Check for the compiler pic option. -AC_CACHE_CHECK([whether -fPIC works], [pic], [ - saved_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="-fPIC -DPIC" - AC_TRY_COMPILE(, , [pic=yes], [pic=no]) - CPPFLAGS="$saved_CPPFLAGS" -]) - # Checking for compiler warning options AC_CACHE_CHECK([whether -Wuninitialized works], [uninitialized], [ saved_CPPFLAGS="$CPPFLAGS" @@ -149,10 +141,6 @@ else fi fi -if test x$pic = xyes; then - CFLAGS="$CFLAGS -fPIC -DPIC" -fi - AC_OUTPUT( include/Makefile mkreiserfs/Makefile