xref: /freebsd/crypto/openssh/.github/configure.sh (revision 38a52bd3b5cac3da6f7f6eef3dd050e6aa08ebb3)
119261079SEd Maste#!/bin/sh
219261079SEd Maste
319261079SEd Maste. .github/configs $1
419261079SEd Maste
51323ec57SEd Masteprintf "$ "
61323ec57SEd Maste
71323ec57SEd Masteif [ "x$CC" != "x" ]; then
81323ec57SEd Maste	printf "CC='$CC' "
91323ec57SEd Mastefi
101323ec57SEd Masteif [ "x$CFLAGS" != "x" ]; then
111323ec57SEd Maste	printf "CFLAGS='$CFLAGS' "
121323ec57SEd Mastefi
131323ec57SEd Masteif [ "x$CPPFLAGS" != "x" ]; then
141323ec57SEd Maste	printf "CPPFLAGS='$CPPFLAGS' "
151323ec57SEd Mastefi
161323ec57SEd Masteif [ "x$LDFLAGS" != "x" ]; then
171323ec57SEd Maste	printf "LDFLAGS='$LDFLAGS' "
181323ec57SEd Mastefi
191323ec57SEd Maste
201323ec57SEd Masteecho ./configure ${CONFIGFLAGS}
21*38a52bd3SEd Maste./configure ${CONFIGFLAGS} 2>&1
22