Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | The original use of AC_ARG_WITH is buggy and causes expat support |
| 2 | to be *disabled* if "--with-expat" is passed to configure. |
| 3 | |
Patrick Williams | b9af875 | 2023-01-30 13:28:01 -0600 | [diff] [blame^] | 4 | Upstream-Status: Pending |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 | |
| 6 | Index: log4c-1.2.4/configure.in |
| 7 | =================================================================== |
| 8 | --- log4c-1.2.4.orig/configure.in |
| 9 | +++ log4c-1.2.4/configure.in |
| 10 | @@ -217,9 +217,9 @@ AC_ARG_WITH(expat, |
| 11 | have any effect and Log4C uses some bundled yacc/lex code |
| 12 | for parsing it's configuration file. |
| 13 | ]), |
| 14 | - with_expat=no, |
| 15 | + [], |
| 16 | with_expat=yes) |
| 17 | -if test x$with_expat = xyes ; then |
| 18 | +if test x$with_expat != xno ; then |
| 19 | use_expat=yes |
| 20 | AM_PATH_EXPAT(1.95.1) |
| 21 | fi |