Fixed USEXXX vs. USE_XXX

This commit is contained in:
Stefan Ritt 2020-08-27 09:39:31 +02:00
parent 0b809e12fe
commit 3d7c366b84
2 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
elogd elogd
elconv elconv
elog elog
elog.spec
*.o *.o
*~ *~

View File

@ -13,12 +13,12 @@
# Build options : # Build options :
# Read: If neither macro exists, then add the default definition. # Read: If neither macro exists, then add the default definition.
%{?_with_krb5: %define _with_krb5 USEKRB5=1} %{?_with_krb5: %define _with_krb5 USE_KRB5=1}
%{?_with_ldap: %define _with_ldap USELDAP=1} %{?_with_ldap: %define _with_ldap USE_LDAP=1}
%{?_with_pam: %define _with_pam USEPAM=1} %{?_with_pam: %define _with_pam USE_PAM=1}
%{?_with_ssl: %define _with_ssl USESSL=1} %{?_with_ssl: %define _with_ssl USE_SSL=1}
# Default build options are with SSL # Default build options are with SSL
%{!?_with_ssl: %{!?_without_ssl: %define _with_ssl USESSL=1}} %{!?_with_ssl: %{!?_without_ssl: %define _with_ssl USE_SSL=1}}
# builder info # builder info
%define whoami %(eval who am i | awk '{print $1}') %define whoami %(eval who am i | awk '{print $1}')
%define HOSTNAME %(hostname) %define HOSTNAME %(hostname)