Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
configure.ac: fixed default for wiringPi
Browse files Browse the repository at this point in the history
  • Loading branch information
Eleonore Mizo committed Apr 29, 2023
1 parent fa7184f commit a3b6b5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/unix/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ AS_IF(
[test "x$ARM" = "xtrue"],
[
AS_IF(
[test "x$enable_wiringpi" = "xyes"],
[test "x$enable_wiringpi" != "xno"],
[
AC_CHECK_LIB([wiringPi], [wiringPiSetupPhys])
LIBS="$LIBS -lwiringPi"
Expand Down Expand Up @@ -180,6 +180,7 @@ AM_CONDITIONAL([ARM], [test "x$ARM" = "xtrue"])
AM_CONDITIONAL([UNX], [test "x$UNX" = "xtrue"])
AM_CONDITIONAL([WIN], [test "x$WIN" = "xtrue"])
AM_CONDITIONAL([CLG], [test "x$CLG" = "xtrue"])
AM_CONDITIONAL([WPI], [test "x$enable_wiringpi" != "xno"])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT

0 comments on commit a3b6b5c

Please sign in to comment.