$OpenBSD: patch-configure_in,v 1.2 2002/05/26 01:07:57 brad Exp $
--- configure.in.orig	Fri Aug  3 15:45:21 2001
+++ configure.in	Sat May 25 19:59:07 2002
@@ -50,6 +50,8 @@ mixer_flag="-lSDL_mixer"
 AC_ARG_ENABLE( sound,
 [  --disable-sound         Disables sound], sound_flag=""; mixer_flag="")
 
+AC_CHECK_LIB(m, sqrt)
+
 dnl check if SDL_mixer's installed
 dnl if not: clear sound_flag and mixer_flag
 AC_CHECK_LIB(SDL_mixer, main,
@@ -60,7 +62,7 @@ AC_SUBST(sound_flag)
 AC_SUBST(mixer_flag)
 
 dnl installation path
-inst_dir=$datadir/games/lgeneral
+inst_dir=$datadir/lgeneral
 inst_flag="-DSRC_DIR=\\\"$inst_dir\\\""
 
 AC_ARG_ENABLE( install,
