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