diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 00:37:32 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 00:37:32 +0000 |
commit | f6f9c296c3f9d39a8c3d0ee64a542a47f450be28 (patch) | |
tree | d38fce8091ce66977004a5cb115768c7810aee30 /configure.in.in | |
parent | e340db64991a06761aa6395ffe760b53e4c1dfbc (diff) | |
download | kpilot-f6f9c296c3f9d39a8c3d0ee64a542a47f450be28.tar.gz kpilot-f6f9c296c3f9d39a8c3d0ee64a542a47f450be28.zip |
TQt4 port kpilot
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1238903 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configure.in.in')
-rw-r--r-- | configure.in.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in index 2678141..79d4ecb 100644 --- a/configure.in.in +++ b/configure.in.in @@ -155,6 +155,8 @@ dnl dnl CPPFLAGS="$CPPFLAGS $PISOCK_INCLUDE" if test "$HAVE_PISOCK" = "1" ; then + LDFLAGS_save="$LDFLAGS" + LDFLAGS="$LDFLAGS -ltqt" AC_MSG_CHECKING([pilot-link version]) AC_TRY_RUN([ #include <pi-version.h> @@ -173,6 +175,7 @@ if test "$HAVE_PISOCK" = "1" ; then [AC_MSG_RESULT([Cross-compiling KPilot is doomed]) HAVE_PISOCK="0" ]) + LDFLAGS="$LDFLAGS_save" fi if test "x$with_pilot_link" = "xCHECK" ; then @@ -180,6 +183,8 @@ if test "x$with_pilot_link" = "xCHECK" ; then # Fairly random collection of possible extra libraries needed # to link pilot-link against. if test "$HAVE_PISOCK" = "1" ; then + LDFLAGS_save="$LDFLAGS" + LDFLAGS="$LDFLAGS -ltqt" HAVE_PISOCK=0 AC_CHECK_LIB(pisock, @@ -217,6 +222,7 @@ if test "$HAVE_PISOCK" = "1" ; then ) ] ) + LDFLAGS="$LDFLAGS_save" fi fi |