build: Switch to using AS_IF in configure.ac rather than shell script ‘if’
authorPhilip Withnall <philip@tecnocode.co.uk>
Sat, 25 Aug 2012 10:44:23 +0000 (11:44 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sat, 25 Aug 2012 10:46:50 +0000 (11:46 +0100)
commitce0f4eef9ae7451c671992aeed17cb00520f7f7b
tree1bd0414f15ed6729c9fa0d0d3df98dbca0d156ed
parentabb5bff617161c4febc19b331859f4ac26bdeb62
build: Switch to using AS_IF in configure.ac rather than shell script ‘if’

This is necessary because using certain autoconf macros inside a shell
script ‘if’ can cause problems if the macros perform a one-time
initialisation. The initialisation variables will be lost if the ‘if’ branch
isn’t taken.

See: https://bugzilla.gnome.org/show_bug.cgi?id=682346
See: https://bugzilla.gnome.org/show_bug.cgi?id=681413
configure.ac