121 ARGS="$ARGS --libexecdir=%{l_prefix}/libexec/openldap" |
121 ARGS="$ARGS --libexecdir=%{l_prefix}/libexec/openldap" |
122 ARGS="$ARGS --localstatedir=%{l_prefix}/var/openldap" |
122 ARGS="$ARGS --localstatedir=%{l_prefix}/var/openldap" |
123 ARGS="$ARGS --enable-syslog" |
123 ARGS="$ARGS --enable-syslog" |
124 ARGS="$ARGS --with-tls" |
124 ARGS="$ARGS --with-tls" |
125 ARGS="$ARGS --without-fetch" |
125 ARGS="$ARGS --without-fetch" |
126 ARGS="$ARGS --without-gssapi" |
|
127 ARGS="$ARGS --disable-dynamic" |
126 ARGS="$ARGS --disable-dynamic" |
128 ARGS="$ARGS --disable-shared" |
127 ARGS="$ARGS --disable-shared" |
129 %if "%{with_server}" == "yes" |
128 %if "%{with_server}" == "yes" |
130 ARGS="$ARGS --enable-slapd" |
129 ARGS="$ARGS --enable-slapd" |
131 ARGS="$ARGS --disable-modules" |
130 ARGS="$ARGS --disable-modules" |
204 # configuration: special platform support |
203 # configuration: special platform support |
205 case "%{l_platform -t}" in |
204 case "%{l_platform -t}" in |
206 *-sunos* ) CFLAGS="$CFLAGS -D_AVL_H"; LIBS="$LIBS -lrt" ;; |
205 *-sunos* ) CFLAGS="$CFLAGS -D_AVL_H"; LIBS="$LIBS -lrt" ;; |
207 esac |
206 esac |
208 |
207 |
209 # configuration: use hard-links and make sure our Berkeley-DB is picked up first |
208 # configuration: use hard links and make sure our Berkeley-DB is picked up first |
210 %{l_shtool} subst \ |
209 %{l_shtool} subst \ |
211 -e 's;ln -s;ln;g' \ |
210 -e 's;ln -s;ln;g' \ |
212 -e 's;-ldb4[1-9];%{l_prefix}/lib/libdb.a;g' \ |
211 -e 's;-ldb4[1-9];%{l_prefix}/lib/libdb.a;g' \ |
213 -e 's;<db\.h>;"db.h";g' \ |
212 -e 's;<db\.h>;"db.h";g' \ |
214 configure |
213 configure |