Changeset 1407

Show
Ignore:
Timestamp:
10/01/06 12:22:31 (2 years ago)
Author:
mjahn
Message:

fix -Wno-pointer-sign detection

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/opie-sync/configure.ac

    r1403 r1407  
    1111PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) 
    1212 
    13 CFLAGS="-Wno-pointer-sign" 
     13#save old cflags 
     14OLD_CFLAGS=$CFLAGS 
     15CFLAGS="$OLD_CFLAGS -Wno-pointer-sign" 
    1416AC_MSG_CHECKING(if gcc supports $CFLAGS compiler option) 
    1517AC_TRY_COMPILE( [], [ int main() { return 0; } ], 
     
    2325AC_SUBST(PACKAGE_CFLAGS) 
    2426AC_SUBST(PACKAGE_LIBS) 
    25 CFLAGS="" 
     27#restore old cflags 
     28CFLAGS=$OLD_CFLAGS 
    2629                                              
    2730AC_CHECK_LIB(curl,curl_global_init,,AC_MSG_ERROR(You must have libcurl installed.))