diff --git a/glib/glib.spec b/glib/glib.spec index 752971e2d4..ffb115a60c 100644 --- a/glib/glib.spec +++ b/glib/glib.spec @@ -33,7 +33,10 @@ Distribution: OpenPKG [BASE] Group: Algorithm License: GPL Version: 1.2.10 -Release: 20020829 +Release: 20030131 + +# package options +%option with_threads yes # list of sources Source0: ftp://ftp.gtk.org/pub/gtk/v1.2/glib-%{version}.tar.gz @@ -61,8 +64,12 @@ AutoReqProv: no ./configure \ --prefix=%{l_prefix} \ --disable-debug \ - --disable-threads \ - --disable-shared + --disable-shared \ +%if "%{with_threads}" == "yes" + --enable-threads +%else + --disable-threads +%endif %{l_make} %{l_mflags -O} %install