patch-configure_ac 943 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. $OpenBSD: patch-configure_ac,v 1.2 2010/04/01 22:12:47 naddy Exp $
  2. --- configure.ac.orig Mon Feb 23 22:34:53 2004
  3. +++ configure.ac Thu Apr 1 23:08:53 2010
  4. @@ -72,6 +72,7 @@ debug=""
  5. optimize=""
  6. profile=""
  7. +if false; then
  8. set -- $CFLAGS
  9. CFLAGS=""
  10. @@ -138,6 +139,7 @@ then
  11. : #? optimize="$optimize -finline-functions"
  12. fi
  13. fi
  14. +fi
  15. dnl Internationalization support.
  16. @@ -314,6 +316,13 @@ fi
  17. if test "$audio" = unknown
  18. then
  19. + AC_EGREP_CPP(sio_par, [
  20. +# include <sndio.h>
  21. +], [audio="sndio"; ldadd_audio="$ldadd_audio -lsndio"])
  22. +fi
  23. +
  24. +if test "$audio" = unknown
  25. +then
  26. AC_EGREP_CPP(yes, [
  27. # include <sys/soundcard.h>
  28. # if defined(OPEN_SOUND_SYSTEM) || defined(UNIX_SOUND_SYSTEM) || \
  29. @@ -480,7 +489,7 @@ AC_HELP_STRING([--disable-debugging],
  30. debug=""
  31. if test "$GCC" = yes
  32. then
  33. - optimize="$optimize -fomit-frame-pointer"
  34. + : optimize="$optimize -fomit-frame-pointer"
  35. fi
  36. ;;
  37. esac