summaryrefslogtreecommitdiff
blob: 80cdcd83b898602261d0ff835905dbb1018d849b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- configure.in
+++ configure.in
@@ -17,12 +17,8 @@
 AC_CHECK_HEADERS(unistd.h)
 
 dnl installation & score path
-if test "x${prefix}" = "xNONE"; then
-  inst_path="${ac_default_prefix}/games/grande"
-else
-  inst_path="${prefix}/games/grande"
-fi
-score_path="/var/games"
+inst_path="${datadir}/grande"
+score_path="${localstatedir}"
 
 dnl check if installation was disabled
 AC_ARG_ENABLE( install,