326 |
]]) |
]]) |
327 |
AT_CHECK([cat config.h], 0, expout) |
AT_CHECK([cat config.h], 0, expout) |
328 |
|
|
329 |
# Check the value of DEFS. Note the leading space. |
# Check the value of DEFS. |
330 |
AT_DATA([expout], |
AT_DATA([expout], |
331 |
[[-Dfoo=toto -Dbar=tata -Dbaz=titi -Dfubar=tutu -Da=A -Daaa=AAA -Daa=AA] |
[[-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -Dfoo=toto -Dbar=tata -Dbaz=titi -Dfubar=tutu -Da=A -Daaa=AAA -Daa=AA |
332 |
]) |
]]) |
333 |
|
|
334 |
# Because we strip trailing spaces in `testsuite' we can't leave one in |
# Because we strip trailing spaces in `testsuite' we can't leave one in |
335 |
# expout, hence nuke the one left by AC_OUTPUT_MAKE_DEFS. |
# expout, hence nuke the one left by AC_OUTPUT_MAKE_DEFS. |
426 |
|
|
427 |
# Checking that AC_DEFINE worked properly. |
# Checking that AC_DEFINE worked properly. |
428 |
AT_DATA([expout], |
AT_DATA([expout], |
429 |
[m4_for(AT_Count, 1, 100, 1, |
[/* Define to the address where bug reports for this package should be sent. */ |
430 |
|
#define PACKAGE_BUGREPORT "" |
431 |
|
|
432 |
|
/* Define to the full name of this package. */ |
433 |
|
#define PACKAGE_NAME "" |
434 |
|
|
435 |
|
/* Define to the full name and version of this package. */ |
436 |
|
#define PACKAGE_STRING "" |
437 |
|
|
438 |
|
/* Define to the one symbol short name of this package. */ |
439 |
|
#define PACKAGE_TARNAME "" |
440 |
|
|
441 |
|
/* Define to the version of this package. */ |
442 |
|
#define PACKAGE_VERSION "" |
443 |
|
m4_for(AT_Count, 1, 100, 1, |
444 |
[ |
[ |
445 |
/* AT_DESCRIPTION */ |
/* AT_DESCRIPTION */ |
446 |
[#define] AT_DUMMY_VAR(AT_Count) "AT_BIG_VALUE" |
[#define] AT_DUMMY_VAR(AT_Count) "AT_BIG_VALUE" |
447 |
])]) |
])]) |
448 |
AT_CHECK([sed -n '3,$ p' config.h], 0, expout) |
AT_CHECK([sed -n '4,$ p' config.h], 0, expout) |
449 |
|
|
450 |
# Checking that AC_SUBST worked properly. |
# Checking that AC_SUBST worked properly. |
451 |
AT_DATA([expout], |
AT_DATA([expout], |