diff --git a/configure.ac b/configure.ac index d7287f7..581b01e 100755 --- a/configure.ac +++ b/configure.ac @@ -154,7 +154,10 @@ fi # Check for some target-specific stuff case "$host" in - *-*-aix*) ;; + *-*-aix*) + # libm is required as well + LDFLAGS="$LDFLAGS -lm" + ;; *-*-android*) ;; *-*-cygwin*) ;; *-*-dgux*) ;;