regex: Remove --disable-regex option

https://bugzilla.gnome.org/show_bug.cgi?id=622149
This commit is contained in:
Christian Persch
2012-02-11 23:51:11 +01:00
committed by Matthias Clasen
parent 3e7f42654f
commit d70634526d
4 changed files with 49 additions and 95 deletions

View File

@@ -27,8 +27,6 @@
#include <locale.h>
#include "glib.h"
#ifdef ENABLE_REGEX
/* U+20AC EURO SIGN (symbol, currency) */
#define EURO "\xe2\x82\xac"
/* U+00E0 LATIN SMALL LETTER A WITH GRAVE (letter, lowercase) */
@@ -2659,14 +2657,3 @@ main (int argc, char *argv[])
return g_test_run ();
}
#else /* ENABLE_REGEX false */
int
main (int argc, char *argv[])
{
g_print ("GRegex is disabled.\n");
return 0;
}
#endif /* ENABLE_REGEX */