configure.in
changeset 10660 1ae4e8001b73
parent 10620 c37e02dd1a9b
child 10777 2883d23b5a28
     1.1 --- a/configure.in	Tue Nov 29 05:04:42 2016 -0800
     1.2 +++ b/configure.in	Tue Nov 29 05:34:20 2016 -0800
     1.3 @@ -2231,6 +2231,12 @@
     1.4                          have_libudev_h_hdr=no)
     1.5          if test x$have_libudev_h_hdr = xyes; then
     1.6              AC_DEFINE(HAVE_LIBUDEV_H, 1, [ ])
     1.7 +
     1.8 +            udev_lib=[`find_lib "libudev.so.*" "" | sed 's/.*\/\(.*\)/\1/; q'`]
     1.9 +            if test x$udev_lib != x; then
    1.10 +                echo "-- dynamic udev -> $udev_lib"
    1.11 +                AC_DEFINE_UNQUOTED(SDL_UDEV_DYNAMIC, "$udev_lib", [ ])
    1.12 +            fi
    1.13          fi
    1.14      fi
    1.15  }