configure.in
changeset 740 e70f80e98f60
parent 739 22dbf364c017
child 742 528a52626680
     1.1 --- a/configure.in	Tue Nov 18 01:27:06 2003 +0000
     1.2 +++ b/configure.in	Tue Nov 18 02:16:57 2003 +0000
     1.3 @@ -226,6 +226,15 @@
     1.4  else
     1.5      CFLAGS="$CFLAGS -DDISABLE_FILE"
     1.6  fi
     1.7 +AC_ARG_ENABLE(cpuinfo,
     1.8 +[  --enable-cpuinfo        Enable the cpuinfo subsystem [default=yes]],
     1.9 +              , enable_cpuinfo=yes)
    1.10 +if test x$enable_cpuinfo = xyes; then
    1.11 +    SDL_EXTRADIRS="$SDL_EXTRADIRS cpuinfo"
    1.12 +    SDL_EXTRALIBS="$SDL_EXTRALIBS cpuinfo/libcpuinfo.la"
    1.13 +else
    1.14 +    CFLAGS="$CFLAGS -DDISABLE_CPUINFO"
    1.15 +fi
    1.16  
    1.17  dnl See if the OSS audio interface is supported
    1.18  CheckOSS()