-%if %{disttag} == rhel && %{distver} == 3
-./configure \
- CFLAGS="%{optflags} -g" CXXFLAGS="%{optflags}" \
- --quiet \
- --prefix=%{PREFIX} \
- --sysconfdir=%{SYSCONFDIR} \
- --sharedstatedir=%{LOCALSTATEDIR} \
- --localstatedir=%{LOCALSTATEDIR} \
- --libdir=%{LIBDIR} \
- --includedir=%{INCLUDEDIR} \
- --with-amdatadir=%{AMDATADIR} \
- --with-gnuplot=/usr/bin/gnuplot \
- --with-gnutar-listdir=%{AMANDAHOMEDIR}/gnutar-lists \
- --with-index-server=localhost \
- --with-tape-server=localhost \
- --with-user=%{config_user} \
- --with-group=%{config_group} \
- --with-owner=%{packer} \
- --with-fqdn \
- --with-bsd-security \
- --with-bsdtcp-security \
- --with-bsdudp-security \
- --with-ssh-security \
- --with-udpportrange=%{udpportrange} \
- --with-tcpportrange=%{tcpportrange} \
- --with-low-tcpportrange=%{low_tcpportrange} \
- --with-debugging=%{LOGDIR} \
- --with-assertions \
- --disable-installperms \
- --without-ipv6
-%else
-# This confusing macro results in PKG_CONFIG_PATH=some/path if some/path
-# was set on the command line, or by the platform detection bits.
+# Set PKG_CONFIG_PATH=some/path if some/path was set on the command line, or by
+# the platform detection bits.
+# without_ipv6 should only be defined on rhel3.