Indicate failure to find header with blank string

Use empty string instead of zero, so it can be tested with #ifdef as
well as #if in the C++ source code.
This commit is contained in:
Roland Kaufmann 2013-03-19 13:28:30 +01:00
parent 0eb46b567d
commit ed4b62ae4b

View File

@ -30,9 +30,9 @@ endif (AGMG_SOURCES)
# set value for config.h
if (AGMG_SOURCES)
set (HAVE_AGMG 1)
set (HAVE_AGMG 1 CACHE INT "Is AGMG present?")
else (AGMG_SOURCES)
set (HAVE_AGMG 0)
set (HAVE_AGMG "" CACHE INT "Is AGMG present?")
endif (AGMG_SOURCES)
# handle REQUIRED and QUIET standard options