File: acinclude.m4

package info (click to toggle)
xblast-tnt 2.10.4-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,444 kB
  • sloc: ansic: 54,105; sh: 4,014; makefile: 129; sed: 16
file content (27 lines) | stat: -rw-r--r-- 695 bytes parent folder | download | duplicates (6)
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
AC_DEFUN([MY_EXPAND_DIR], [
	        $1=$2
	        $1=`(
	             test "x$prefix" = xNONE && prefix="$ac_default_prefix"
	             test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
	             eval echo \""[$]$1"/games/XBlast-TNT/\"
	            )`
	      ])

# From SANE (sane-project.org)
# XBLAST_CC_SET_CFLAGS()
# Set CFLAGS. Enable/disable compilation warnings if we gcc is used.
AC_DEFUN([XBLAST_CC_SET_CFLAGS],[
if test "${ac_cv_c_compiler_gnu}" = "yes"; then
  CFLAGS="$CFLAGS \
	-ggdb \
	-Wall \
	-Wcast-align \
	-Wcast-qual \
	-Wmissing-declarations \
	-Wmissing-prototypes \
	-Wpointer-arith \
	-Wreturn-type \
	-Wstrict-prototypes \
	"
fi # ac_cv_c_compiler_gnu
])