summaryrefslogtreecommitdiff
blob: 090fb601d4c484f5c6d5b7b84e0c9aefd1f5040a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- configure.ac
+++ configure.ac
@@ -64,14 +64,12 @@
  ,dnl default action of assigning shell value
  with_games_dir="${runtime_datadir}/games"
 )
-AC_SUBST(datadir,"${with_games_dir}")
 AC_DEFINE_UNQUOTED([GAMEDATADIR], "${datadir}/$PACKAGE_NAME",
                                [Game data directory])
 
 
 #These should be automagically determined somehow.
 #CPU Instruction Set.  Should be automagic.
-AC_SUBST(CPU_IS,`uname -m`)
 
 
 echo $ac_n "ordering crap from http://www.amazon.com/gp/registry/296ST2NHEBO0Z" 1>&6
--- src/Makefile.am
+++ src/Makefile.am
@@ -1,6 +1,4 @@
-pkgdata_PROGRAMS = snipe2d.@CPU_IS@.dynamic snipe2d.@CPU_IS@.static
-BUILT_SOURCES = snipe2d
-bin_SCRIPTS = snipe2d
+bin_PROGRAMS = snipe2d
 snipe2d_common = \
  ai.cpp \
  binds.cpp \
@@ -28,7 +26,7 @@
  sexpr/io.c \
  sexpr/parser.c
 
-snipe2d_@CPU_IS@_dynamic_SOURCES = $(snipe2d_common)
+snipe2d_SOURCES = $(snipe2d_common)
 
 #snipe2d_@CPU_IS@_static_LDFLAGS = -static
 snipe2d_@CPU_IS@_static_SOURCES = $(snipe2d_common)