configure
changeset 8001 e3d78fb706fa
parent 7985 1e2d63f57e04
child 8003 998458760218
     1.1 --- a/configure	Sat Nov 16 12:02:09 2013 -0800
     1.2 +++ b/configure	Sat Nov 16 12:04:00 2013 -0800
     1.3 @@ -15950,19 +15950,35 @@
     1.4      fi
     1.5  fi
     1.6  
     1.7 -# Actually this doesn't work on OpenBSD
     1.8 -#AC_MSG_CHECKING(for linker option --no-undefined)
     1.9 -#have_no_undefined=no
    1.10 -#save_LDFLAGS="$LDFLAGS"
    1.11 -#LDFLAGS="$LDFLAGS -Wl,--no-undefined"
    1.12 -#AC_TRY_LINK([
    1.13 -#],[
    1.14 -#],[
    1.15 -#have_no_undefined=yes
    1.16 -#EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
    1.17 -#])
    1.18 -#LDFLAGS="$save_LDFLAGS"
    1.19 -#AC_MSG_RESULT($have_no_undefined)
    1.20 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker option --no-undefined" >&5
    1.21 +$as_echo_n "checking for linker option --no-undefined... " >&6; }
    1.22 +have_no_undefined=no
    1.23 +save_LDFLAGS="$LDFLAGS"
    1.24 +LDFLAGS="$LDFLAGS -Wl,--no-undefined"
    1.25 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1.26 +/* end confdefs.h.  */
    1.27 +
    1.28 +
    1.29 +int
    1.30 +main ()
    1.31 +{
    1.32 +
    1.33 +
    1.34 +  ;
    1.35 +  return 0;
    1.36 +}
    1.37 +_ACEOF
    1.38 +if ac_fn_c_try_link "$LINENO"; then :
    1.39 +
    1.40 +have_no_undefined=yes
    1.41 +EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
    1.42 +
    1.43 +fi
    1.44 +rm -f core conftest.err conftest.$ac_objext \
    1.45 +    conftest$ac_exeext conftest.$ac_ext
    1.46 +LDFLAGS="$save_LDFLAGS"
    1.47 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_no_undefined" >&5
    1.48 +$as_echo "$have_no_undefined" >&6; }
    1.49  
    1.50  # Check whether --enable-libc was given.
    1.51  if test "${enable_libc+set}" = set; then :
    1.52 @@ -22218,10 +22234,6 @@
    1.53          if test x$enable_libudev = xyes && test x$have_libudev_h_hdr = xyes; then
    1.54              SOURCES="$SOURCES $srcdir/src/core/linux/SDL_udev.c"
    1.55          fi
    1.56 -        # Set up files for evdev input
    1.57 -        if test x$use_input_events = xyes; then
    1.58 -            SOURCES="$SOURCES $srcdir/src/input/evdev/*.c"
    1.59 -        fi
    1.60          ;;
    1.61      *-*-cygwin* | *-*-mingw32*)
    1.62          ARCH=win32