Ticket #19155: patch-qalculate-kde_0.9.6_macports.diff
File patch-qalculate-kde_0.9.6_macports.diff, 49.2 KB (added by jjstickel@…, 16 years ago) |
---|
-
qalculate-kde-0.9.
diff -ur qalculate-kde-0.9.6/Makefile.in qalculate-kde-0.9.6_patched/Makefile.in
old new 99 99 CC = @CC@ 100 100 CCDEPMODE = @CCDEPMODE@ 101 101 CFLAGS = @CFLAGS@ 102 CLN_CONFIG = @CLN_CONFIG@103 CLN_CPPFLAGS = @CLN_CPPFLAGS@104 CLN_LIBS = @CLN_LIBS@105 102 CONF_FILES = @CONF_FILES@ 106 103 CPP = @CPP@ 107 104 CPPFLAGS = @CPPFLAGS@ … … 350 347 #>- @for dep in $?; do \ 351 348 #>- case '$(am__configure_deps)' in \ 352 349 #>- *$$dep*) \ 353 #>- echo ' cd $(srcdir) && $(AUTOMAKE) -- gnu'; \354 #>- cd $(srcdir) && $(AUTOMAKE) -- gnu\350 #>- echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ 351 #>- cd $(srcdir) && $(AUTOMAKE) --foreign \ 355 352 #>- && exit 0; \ 356 353 #>- exit 1;; \ 357 354 #>- esac; \ 358 355 #>- done; \ 359 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnuMakefile'; \356 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ 360 357 #>- cd $(top_srcdir) && \ 361 #>- $(AUTOMAKE) -- gnuMakefile358 #>- $(AUTOMAKE) --foreign Makefile 362 359 #>+ 14 363 360 @for dep in $?; do \ 364 361 case '$(am__configure_deps)' in \ 365 362 *$$dep*) \ 366 echo ' cd $(srcdir) && $(AUTOMAKE) -- gnu'; \363 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ 367 364 ( \ 368 cd $(srcdir) && $(AUTOMAKE) -- gnu\365 cd $(srcdir) && $(AUTOMAKE) --foreign \ 369 366 ) || exit 1; echo ' cd $(top_srcdir) && perl admin/am_edit '; cd $(top_srcdir) && perl admin/am_edit && exit 0; \ 370 367 exit 1;; \ 371 368 esac; \ 372 369 done; \ 373 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnuMakefile'; \370 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ 374 371 cd $(top_srcdir) && \ 375 $(AUTOMAKE) -- gnuMakefile372 $(AUTOMAKE) --foreign Makefile 376 373 cd $(top_srcdir) && perl admin/am_edit Makefile.in 377 374 .PRECIOUS: Makefile 378 375 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status … … 831 828 #>+ 7 832 829 force-reedit: 833 830 \ 834 cd $(srcdir) && $(AUTOMAKE) -- gnu\831 cd $(srcdir) && $(AUTOMAKE) --foreign \ 835 832 836 833 cd $(top_srcdir) && perl admin/am_edit Makefile.in 837 834 -
qalculate-kde-0.9.
diff -ur qalculate-kde-0.9.6/aclocal.m4 qalculate-kde-0.9.6_patched/aclocal.m4
old new 11 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12 12 # PARTICULAR PURPOSE. 13 13 14 # Configure paths for the CLN library15 # Richard Kreckel 12/4/200016 # borrowed from Christian Bauer17 # stolen from Sam Lantinga18 # stolen from Manish Singh19 # stolen back from Frank Belew20 # stolen from Manish Singh21 # Shamelessly stolen from Owen Taylor22 23 dnl AC_PATH_CLN([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])24 dnl Test for installed CLN library, and define CLN_CPPFLAGS and CLN_LIBS25 dnl26 AC_DEFUN([AC_PATH_CLN],27 [dnl28 dnl Get the cppflags and libraries from the cln-config script29 dnl30 AC_ARG_WITH(cln-prefix,[ --with-cln-prefix=PFX Prefix where CLN is installed (optional)],31 cln_config_prefix="$withval", cln_config_prefix="")32 AC_ARG_WITH(cln-exec-prefix,[ --with-cln-exec-prefix=PFX Exec prefix where CLN is installed (optional)],33 cln_config_exec_prefix="$withval", cln_config_exec_prefix="")34 AC_ARG_ENABLE(clntest, [ --disable-clntest Do not try to compile and run a test CLN program],35 , enable_clntest=yes)36 37 if test x$cln_config_exec_prefix != x ; then38 cln_config_args="$cln_config_args --exec-prefix=$cln_config_exec_prefix"39 if test x${CLN_CONFIG+set} != xset ; then40 CLN_CONFIG=$cln_config_exec_prefix/bin/cln-config41 fi42 fi43 if test x$cln_config_prefix != x ; then44 cln_config_args="$cln_config_args --prefix=$cln_config_prefix"45 if test x${CLN_CONFIG+set} != xset ; then46 CLN_CONFIG=$cln_config_prefix/bin/cln-config47 fi48 fi49 50 AC_PATH_PROG(CLN_CONFIG, cln-config, no)51 cln_min_version=ifelse([$1], ,1.1.0,$1)52 AC_MSG_CHECKING(for CLN - version >= $cln_min_version)53 if test "$CLN_CONFIG" = "no" ; then54 AC_MSG_RESULT(no)55 echo "*** The cln-config script installed by CLN could not be found"56 echo "*** If CLN was installed in PREFIX, make sure PREFIX/bin is in"57 echo "*** your path, or set the CLN_CONFIG environment variable to the"58 echo "*** full path to cln-config."59 ifelse([$3], , :, [$3])60 else61 dnl Parse required version and the result of cln-config.62 cln_min_major_version=`echo $cln_min_version | \63 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`64 cln_min_minor_version=`echo $cln_min_version | \65 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`66 cln_min_micro_version=`echo $cln_min_version | \67 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`68 CLN_CPPFLAGS=`$CLN_CONFIG $cln_config_args --cppflags`69 CLN_LIBS=`$CLN_CONFIG $cln_config_args --libs`70 cln_config_version=`$CLN_CONFIG $cln_config_args --version`71 cln_config_major_version=`echo $cln_config_version | \72 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`73 cln_config_minor_version=`echo $cln_config_version | \74 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`75 cln_config_micro_version=`echo $cln_config_version | \76 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`77 dnl Check if the installed CLN is sufficiently new according to cln-config.78 if test \( $cln_config_major_version -lt $cln_min_major_version \) -o \79 \( $cln_config_major_version -eq $cln_min_major_version -a $cln_config_minor_version -lt $cln_min_minor_version \) -o \80 \( $cln_config_major_version -eq $cln_min_major_version -a $cln_config_minor_version -eq $cln_min_minor_version -a $cln_config_micro_version -lt $cln_min_micro_version \); then81 echo -e "\n*** 'cln-config --version' returned $cln_config_major_version.$cln_config_minor_version.$cln_config_micro_version, but the minimum version"82 echo "*** of CLN required is $cln_min_major_version.$cln_min_minor_version.$cln_min_micro_version. If cln-config is correct, then it is"83 echo "*** best to upgrade to the required version."84 echo "*** If cln-config was wrong, set the environment variable CLN_CONFIG"85 echo "*** to point to the correct copy of cln-config, and remove the file"86 echo "*** config.cache before re-running configure."87 ifelse([$3], , :, [$3])88 else89 dnl The versions match so far. Now do a sanity check: Does the result of cln-config90 dnl match the version of the headers and the version built into the library, too?91 no_cln=""92 if test "x$enable_clntest" = "xyes" ; then93 ac_save_CPPFLAGS="$CPPFLAGS"94 ac_save_LIBS="$LIBS"95 CPPFLAGS="$CPPFLAGS $CLN_CPPFLAGS"96 LIBS="$LIBS $CLN_LIBS"97 rm -f conf.clntest98 AC_TRY_RUN([99 #include <stdio.h>100 #include <string.h>101 #include <cln/version.h>102 103 /* we do not #include <stdlib.h> because autoconf in C++ mode inserts a104 prototype for exit() that conflicts with the one in stdlib.h */105 extern "C" int system(const char *);106 107 int main(void)108 {109 system("touch conf.clntest");110 111 if ((CL_VERSION_MAJOR != $cln_config_major_version) ||112 (CL_VERSION_MINOR != $cln_config_minor_version) ||113 (CL_VERSION_PATCHLEVEL != $cln_config_micro_version)) {114 printf("\n*** 'cln-config --version' returned %d.%d.%d, but the header file I found\n", $cln_config_major_version, $cln_config_minor_version, $cln_config_micro_version);115 printf("*** corresponds to %d.%d.%d. This mismatch suggests your installation of CLN\n", CL_VERSION_MAJOR, CL_VERSION_MINOR, CL_VERSION_PATCHLEVEL);116 printf("*** is corrupted or you have specified some wrong -I compiler flags.\n");117 printf("*** Please inquire and consider reinstalling CLN.\n");118 return 1;119 }120 if ((cln::version_major != $cln_config_major_version) ||121 (cln::version_minor != $cln_config_minor_version) ||122 (cln::version_patchlevel != $cln_config_micro_version)) {123 printf("\n*** 'cln-config --version' returned %d.%d.%d, but the library I found\n", $cln_config_major_version, $cln_config_minor_version, $cln_config_micro_version);124 printf("*** corresponds to %d.%d.%d. This mismatch suggests your installation of CLN\n", cln::version_major, cln::version_minor, cln::version_patchlevel);125 printf("*** is corrupted or you have specified some wrong -L compiler flags.\n");126 printf("*** Please inquire and consider reinstalling CLN.\n");127 return 1;128 }129 return 0;130 }131 ],, no_cln=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])132 CPPFLAGS="$ac_save_CPPFLAGS"133 LIBS="$ac_save_LIBS"134 fi135 if test "x$no_cln" = x ; then136 AC_MSG_RESULT([yes, $cln_config_version])137 ifelse([$2], , :, [$2])138 else139 AC_MSG_RESULT(no)140 if test ! -f conf.clntest ; then141 echo "*** Could not run CLN test program, checking why..."142 CPPFLAGS="$CFLAGS $CLN_CPPFLAGS"143 LIBS="$LIBS $CLN_LIBS"144 AC_TRY_LINK([145 #include <stdio.h>146 #include <cln/version.h>147 ], [ return 0; ],148 [ echo "*** The test program compiled, but did not run. This usually means"149 echo "*** that the run-time linker is not finding CLN or finding the wrong"150 echo "*** version of CLN. If it is not finding CLN, you'll need to set your"151 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"152 echo "*** to the installed location. Also, make sure you have run ldconfig if that"153 echo "*** is required on your system."],154 [ echo "*** The test program failed to compile or link. See the file config.log for the"155 echo "*** exact error that occured. This usually means CLN was incorrectly installed"156 echo "*** or that you have moved CLN since it was installed. In the latter case, you"157 echo "*** may want to edit the cln-config script: $CLN_CONFIG." ])158 CPPFLAGS="$ac_save_CPPFLAGS"159 LIBS="$ac_save_LIBS"160 fi161 CLN_CPPFLAGS=""162 CLN_LIBS=""163 ifelse([$3], , :, [$3])164 fi165 fi166 fi167 AC_SUBST(CLN_CPPFLAGS)168 AC_SUBST(CLN_LIBS)169 rm -f conf.clntest170 ])171 172 14 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 173 15 # 174 16 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. … … 317 159 318 160 _PKG_TEXT 319 161 320 To get pkg-config, see <http:// www.freedesktop.org/software/pkgconfig>.])],162 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])], 321 163 [$4]) 322 164 else 323 165 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS -
qalculate-kde-0.9.
diff -ur qalculate-kde-0.9.6/config.h.in qalculate-kde-0.9.6_patched/config.h.in
old new 18 18 /* Define to 1 if you have the <inttypes.h> header file. */ 19 19 #undef HAVE_INTTYPES_H 20 20 21 /* If CLN can be used */22 #undef HAVE_LIBCLN23 24 21 /* Define if you have libjpeg */ 25 22 #undef HAVE_LIBJPEG 26 23 -
qalculate-kde-0.9.
diff -ur qalculate-kde-0.9.6/configure qalculate-kde-0.9.6_patched/configure
old new 1010 1010 LIB_KSYCOCA 1011 1011 LIB_KFILE 1012 1012 LIB_KFM 1013 CLN_CONFIG1014 CLN_CPPFLAGS1015 CLN_LIBS1016 1013 PKG_CONFIG 1017 1014 QALCULATE_CFLAGS 1018 1015 QALCULATE_LIBS … … 1648 1645 --disable-threading disables threading even if libpthread found 1649 1646 --disable-rpath do not use the rpath feature of ld 1650 1647 --disable-path-check don't try to find out, where to install 1651 --disable-clntest Do not try to compile and run a test CLN program1652 1648 1653 1649 Optional Packages: 1654 1650 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] … … 1664 1660 --with-qt-includes=DIR where the Qt includes are. 1665 1661 --with-qt-libraries=DIR where the Qt library is installed. 1666 1662 --without-arts build without aRts default=no 1667 --with-cln-prefix=PFX Prefix where CLN is installed (optional)1668 --with-cln-exec-prefix=PFX Exec prefix where CLN is installed (optional)1669 1663 1670 1664 Some influential environment variables: 1671 1665 CC C compiler command … … 8388 8382 ;; 8389 8383 *-*-irix6*) 8390 8384 # Find out which ABI we are using. 8391 echo '#line 83 91"configure"' > conftest.$ac_ext8385 echo '#line 8385 "configure"' > conftest.$ac_ext 8392 8386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8393 8387 (eval $ac_compile) 2>&5 8394 8388 ac_status=$? … … 10129 10123 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 10130 10124 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10131 10125 -e 's:$: $lt_compiler_flag:'` 10132 (eval echo "\"\$as_me:101 32: $lt_compile\"" >&5)10126 (eval echo "\"\$as_me:10126: $lt_compile\"" >&5) 10133 10127 (eval "$lt_compile" 2>conftest.err) 10134 10128 ac_status=$? 10135 10129 cat conftest.err >&5 10136 echo "$as_me:1013 6: \$? = $ac_status" >&510130 echo "$as_me:10130: \$? = $ac_status" >&5 10137 10131 if (exit $ac_status) && test -s "$ac_outfile"; then 10138 10132 # The compiler can only warn and ignore the option if not recognized 10139 10133 # So say no if there are warnings … … 10362 10356 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 10363 10357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10364 10358 -e 's:$: $lt_compiler_flag:'` 10365 (eval echo "\"\$as_me:103 65: $lt_compile\"" >&5)10359 (eval echo "\"\$as_me:10359: $lt_compile\"" >&5) 10366 10360 (eval "$lt_compile" 2>conftest.err) 10367 10361 ac_status=$? 10368 10362 cat conftest.err >&5 10369 echo "$as_me:1036 9: \$? = $ac_status" >&510363 echo "$as_me:10363: \$? = $ac_status" >&5 10370 10364 if (exit $ac_status) && test -s "$ac_outfile"; then 10371 10365 # The compiler can only warn and ignore the option if not recognized 10372 10366 # So say no if there are warnings … … 10429 10423 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 10430 10424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10431 10425 -e 's:$: $lt_compiler_flag:'` 10432 (eval echo "\"\$as_me:104 32: $lt_compile\"" >&5)10426 (eval echo "\"\$as_me:10426: $lt_compile\"" >&5) 10433 10427 (eval "$lt_compile" 2>out/conftest.err) 10434 10428 ac_status=$? 10435 10429 cat out/conftest.err >&5 10436 echo "$as_me:1043 6: \$? = $ac_status" >&510430 echo "$as_me:10430: \$? = $ac_status" >&5 10437 10431 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10438 10432 then 10439 10433 # The compiler can only warn and ignore the option if not recognized … … 12515 12509 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12516 12510 lt_status=$lt_dlunknown 12517 12511 cat > conftest.$ac_ext <<EOF 12518 #line 1251 8"configure"12512 #line 12512 "configure" 12519 12513 #include "confdefs.h" 12520 12514 12521 12515 #if HAVE_DLFCN_H … … 12613 12607 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12614 12608 lt_status=$lt_dlunknown 12615 12609 cat > conftest.$ac_ext <<EOF 12616 #line 1261 6"configure"12610 #line 12610 "configure" 12617 12611 #include "confdefs.h" 12618 12612 12619 12613 #if HAVE_DLFCN_H … … 14774 14768 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 14775 14769 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14776 14770 -e 's:$: $lt_compiler_flag:'` 14777 (eval echo "\"\$as_me:1477 7: $lt_compile\"" >&5)14771 (eval echo "\"\$as_me:14771: $lt_compile\"" >&5) 14778 14772 (eval "$lt_compile" 2>conftest.err) 14779 14773 ac_status=$? 14780 14774 cat conftest.err >&5 14781 echo "$as_me:147 81: \$? = $ac_status" >&514775 echo "$as_me:14775: \$? = $ac_status" >&5 14782 14776 if (exit $ac_status) && test -s "$ac_outfile"; then 14783 14777 # The compiler can only warn and ignore the option if not recognized 14784 14778 # So say no if there are warnings … … 14841 14835 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 14842 14836 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14843 14837 -e 's:$: $lt_compiler_flag:'` 14844 (eval echo "\"\$as_me:148 44: $lt_compile\"" >&5)14838 (eval echo "\"\$as_me:14838: $lt_compile\"" >&5) 14845 14839 (eval "$lt_compile" 2>out/conftest.err) 14846 14840 ac_status=$? 14847 14841 cat out/conftest.err >&5 14848 echo "$as_me:1484 8: \$? = $ac_status" >&514842 echo "$as_me:14842: \$? = $ac_status" >&5 14849 14843 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14850 14844 then 14851 14845 # The compiler can only warn and ignore the option if not recognized … … 16144 16138 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 16145 16139 lt_status=$lt_dlunknown 16146 16140 cat > conftest.$ac_ext <<EOF 16147 #line 1614 7"configure"16141 #line 16141 "configure" 16148 16142 #include "confdefs.h" 16149 16143 16150 16144 #if HAVE_DLFCN_H … … 16242 16236 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 16243 16237 lt_status=$lt_dlunknown 16244 16238 cat > conftest.$ac_ext <<EOF 16245 #line 162 45"configure"16239 #line 16239 "configure" 16246 16240 #include "confdefs.h" 16247 16241 16248 16242 #if HAVE_DLFCN_H … … 17065 17059 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 17066 17060 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17067 17061 -e 's:$: $lt_compiler_flag:'` 17068 (eval echo "\"\$as_me:1706 8: $lt_compile\"" >&5)17062 (eval echo "\"\$as_me:17062: $lt_compile\"" >&5) 17069 17063 (eval "$lt_compile" 2>conftest.err) 17070 17064 ac_status=$? 17071 17065 cat conftest.err >&5 17072 echo "$as_me:170 72: \$? = $ac_status" >&517066 echo "$as_me:17066: \$? = $ac_status" >&5 17073 17067 if (exit $ac_status) && test -s "$ac_outfile"; then 17074 17068 # The compiler can only warn and ignore the option if not recognized 17075 17069 # So say no if there are warnings … … 17132 17126 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 17133 17127 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17134 17128 -e 's:$: $lt_compiler_flag:'` 17135 (eval echo "\"\$as_me:171 35: $lt_compile\"" >&5)17129 (eval echo "\"\$as_me:17129: $lt_compile\"" >&5) 17136 17130 (eval "$lt_compile" 2>out/conftest.err) 17137 17131 ac_status=$? 17138 17132 cat out/conftest.err >&5 17139 echo "$as_me:1713 9: \$? = $ac_status" >&517133 echo "$as_me:17133: \$? = $ac_status" >&5 17140 17134 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17141 17135 then 17142 17136 # The compiler can only warn and ignore the option if not recognized … … 19100 19094 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 19101 19095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19102 19096 -e 's:$: $lt_compiler_flag:'` 19103 (eval echo "\"\$as_me:19 103: $lt_compile\"" >&5)19097 (eval echo "\"\$as_me:19097: $lt_compile\"" >&5) 19104 19098 (eval "$lt_compile" 2>conftest.err) 19105 19099 ac_status=$? 19106 19100 cat conftest.err >&5 19107 echo "$as_me:1910 7: \$? = $ac_status" >&519101 echo "$as_me:19101: \$? = $ac_status" >&5 19108 19102 if (exit $ac_status) && test -s "$ac_outfile"; then 19109 19103 # The compiler can only warn and ignore the option if not recognized 19110 19104 # So say no if there are warnings … … 19333 19327 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 19334 19328 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19335 19329 -e 's:$: $lt_compiler_flag:'` 19336 (eval echo "\"\$as_me:1933 6: $lt_compile\"" >&5)19330 (eval echo "\"\$as_me:19330: $lt_compile\"" >&5) 19337 19331 (eval "$lt_compile" 2>conftest.err) 19338 19332 ac_status=$? 19339 19333 cat conftest.err >&5 19340 echo "$as_me:193 40: \$? = $ac_status" >&519334 echo "$as_me:19334: \$? = $ac_status" >&5 19341 19335 if (exit $ac_status) && test -s "$ac_outfile"; then 19342 19336 # The compiler can only warn and ignore the option if not recognized 19343 19337 # So say no if there are warnings … … 19400 19394 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ 19401 19395 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 19402 19396 -e 's:$: $lt_compiler_flag:'` 19403 (eval echo "\"\$as_me:19 403: $lt_compile\"" >&5)19397 (eval echo "\"\$as_me:19397: $lt_compile\"" >&5) 19404 19398 (eval "$lt_compile" 2>out/conftest.err) 19405 19399 ac_status=$? 19406 19400 cat out/conftest.err >&5 19407 echo "$as_me:1940 7: \$? = $ac_status" >&519401 echo "$as_me:19401: \$? = $ac_status" >&5 19408 19402 if (exit $ac_status) && test -s out/conftest2.$ac_objext 19409 19403 then 19410 19404 # The compiler can only warn and ignore the option if not recognized … … 21486 21480 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 21487 21481 lt_status=$lt_dlunknown 21488 21482 cat > conftest.$ac_ext <<EOF 21489 #line 2148 9"configure"21483 #line 21483 "configure" 21490 21484 #include "confdefs.h" 21491 21485 21492 21486 #if HAVE_DLFCN_H … … 21584 21578 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 21585 21579 lt_status=$lt_dlunknown 21586 21580 cat > conftest.$ac_ext <<EOF 21587 #line 2158 7"configure"21581 #line 21581 "configure" 21588 21582 #include "confdefs.h" 21589 21583 21590 21584 #if HAVE_DLFCN_H … … 30074 30068 do 30075 30069 for j in jpeglib.h; 30076 30070 do 30077 echo "configure: 3007 7: $i/$j" >&530071 echo "configure: 30071: $i/$j" >&5 30078 30072 if test -r "$i/$j"; then 30079 30073 echo "taking that" >&5 30080 30074 jpeg_incdir=$i … … 30372 30366 do 30373 30367 for j in $kde_qt_header; 30374 30368 do 30375 echo "configure: 303 75: $i/$j" >&530369 echo "configure: 30369: $i/$j" >&5 30376 30370 if test -r "$i/$j"; then 30377 30371 echo "taking that" >&5 30378 30372 qt_incdir=$i … … 31203 31197 do 31204 31198 for j in $kde_check_header; 31205 31199 do 31206 echo "configure: 3120 6: $i/$j" >&531200 echo "configure: 31200: $i/$j" >&5 31207 31201 if test -r "$i/$j"; then 31208 31202 echo "taking that" >&5 31209 31203 kde_incdir=$i … … 31233 31227 do 31234 31228 for j in $kde_check_lib; 31235 31229 do 31236 echo "configure: 3123 6: $i/$j" >&531230 echo "configure: 31230: $i/$j" >&5 31237 31231 if test -r "$i/$j"; then 31238 31232 echo "taking that" >&5 31239 31233 kde_libdir=$i … … 31251 31245 do 31252 31246 for j in "kde3/plugins/designer/kdewidgets.la"; 31253 31247 do 31254 echo "configure: 312 54: $i/$j" >&531248 echo "configure: 31248: $i/$j" >&5 31255 31249 if test -r "$i/$j"; then 31256 31250 echo "taking that" >&5 31257 31251 kde_widgetdir=$i … … 32772 32766 do 32773 32767 for j in apps/ksgmltools2/customization/kde-chunk.xsl; 32774 32768 do 32775 echo "configure: 327 75: $i/$j" >&532769 echo "configure: 32769: $i/$j" >&5 32776 32770 if test -r "$i/$j"; then 32777 32771 echo "taking that" >&5 32778 32772 KDE_XSL_STYLESHEET=$i … … 33287 33281 33288 33282 33289 33283 33290 # Check whether --with-cln-prefix was given.33291 if test "${with_cln_prefix+set}" = set; then33292 withval=$with_cln_prefix; cln_config_prefix="$withval"33293 else33294 cln_config_prefix=""33295 fi33296 33297 33298 # Check whether --with-cln-exec-prefix was given.33299 if test "${with_cln_exec_prefix+set}" = set; then33300 withval=$with_cln_exec_prefix; cln_config_exec_prefix="$withval"33301 else33302 cln_config_exec_prefix=""33303 fi33304 33305 # Check whether --enable-clntest was given.33306 if test "${enable_clntest+set}" = set; then33307 enableval=$enable_clntest;33308 else33309 enable_clntest=yes33310 fi33311 33312 33313 if test x$cln_config_exec_prefix != x ; then33314 cln_config_args="$cln_config_args --exec-prefix=$cln_config_exec_prefix"33315 if test x${CLN_CONFIG+set} != xset ; then33316 CLN_CONFIG=$cln_config_exec_prefix/bin/cln-config33317 fi33318 fi33319 if test x$cln_config_prefix != x ; then33320 cln_config_args="$cln_config_args --prefix=$cln_config_prefix"33321 if test x${CLN_CONFIG+set} != xset ; then33322 CLN_CONFIG=$cln_config_prefix/bin/cln-config33323 fi33324 fi33325 33326 # Extract the first word of "cln-config", so it can be a program name with args.33327 set dummy cln-config; ac_word=$233328 { echo "$as_me:$LINENO: checking for $ac_word" >&533329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }33330 if test "${ac_cv_path_CLN_CONFIG+set}" = set; then33331 echo $ECHO_N "(cached) $ECHO_C" >&633332 else33333 case $CLN_CONFIG in33334 [\\/]* | ?:[\\/]*)33335 ac_cv_path_CLN_CONFIG="$CLN_CONFIG" # Let the user override the test with a path.33336 ;;33337 *)33338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR33339 for as_dir in $PATH33340 do33341 IFS=$as_save_IFS33342 test -z "$as_dir" && as_dir=.33343 for ac_exec_ext in '' $ac_executable_extensions; do33344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then33345 ac_cv_path_CLN_CONFIG="$as_dir/$ac_word$ac_exec_ext"33346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&533347 break 233348 fi33349 done33350 done33351 IFS=$as_save_IFS33352 33353 test -z "$ac_cv_path_CLN_CONFIG" && ac_cv_path_CLN_CONFIG="no"33354 ;;33355 esac33356 fi33357 CLN_CONFIG=$ac_cv_path_CLN_CONFIG33358 if test -n "$CLN_CONFIG"; then33359 { echo "$as_me:$LINENO: result: $CLN_CONFIG" >&533360 echo "${ECHO_T}$CLN_CONFIG" >&6; }33361 else33362 { echo "$as_me:$LINENO: result: no" >&533363 echo "${ECHO_T}no" >&6; }33364 fi33365 33366 33367 cln_min_version=1.1.033368 { echo "$as_me:$LINENO: checking for CLN - version >= $cln_min_version" >&533369 echo $ECHO_N "checking for CLN - version >= $cln_min_version... $ECHO_C" >&6; }33370 if test "$CLN_CONFIG" = "no" ; then33371 { echo "$as_me:$LINENO: result: no" >&533372 echo "${ECHO_T}no" >&6; }33373 echo "*** The cln-config script installed by CLN could not be found"33374 echo "*** If CLN was installed in PREFIX, make sure PREFIX/bin is in"33375 echo "*** your path, or set the CLN_CONFIG environment variable to the"33376 echo "*** full path to cln-config."33377 { { echo "$as_me:$LINENO: error: No suitable installed version of CLN could be found." >&533378 echo "$as_me: error: No suitable installed version of CLN could be found." >&2;}33379 { (exit 1); exit 1; }; }33380 else33381 cln_min_major_version=`echo $cln_min_version | \33382 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`33383 cln_min_minor_version=`echo $cln_min_version | \33384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`33385 cln_min_micro_version=`echo $cln_min_version | \33386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`33387 CLN_CPPFLAGS=`$CLN_CONFIG $cln_config_args --cppflags`33388 CLN_LIBS=`$CLN_CONFIG $cln_config_args --libs`33389 cln_config_version=`$CLN_CONFIG $cln_config_args --version`33390 cln_config_major_version=`echo $cln_config_version | \33391 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`33392 cln_config_minor_version=`echo $cln_config_version | \33393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`33394 cln_config_micro_version=`echo $cln_config_version | \33395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`33396 if test \( $cln_config_major_version -lt $cln_min_major_version \) -o \33397 \( $cln_config_major_version -eq $cln_min_major_version -a $cln_config_minor_version -lt $cln_min_minor_version \) -o \33398 \( $cln_config_major_version -eq $cln_min_major_version -a $cln_config_minor_version -eq $cln_min_minor_version -a $cln_config_micro_version -lt $cln_min_micro_version \); then33399 echo -e "\n*** 'cln-config --version' returned $cln_config_major_version.$cln_config_minor_version.$cln_config_micro_version, but the minimum version"33400 echo "*** of CLN required is $cln_min_major_version.$cln_min_minor_version.$cln_min_micro_version. If cln-config is correct, then it is"33401 echo "*** best to upgrade to the required version."33402 echo "*** If cln-config was wrong, set the environment variable CLN_CONFIG"33403 echo "*** to point to the correct copy of cln-config, and remove the file"33404 echo "*** config.cache before re-running configure."33405 { { echo "$as_me:$LINENO: error: No suitable installed version of CLN could be found." >&533406 echo "$as_me: error: No suitable installed version of CLN could be found." >&2;}33407 { (exit 1); exit 1; }; }33408 else33409 no_cln=""33410 if test "x$enable_clntest" = "xyes" ; then33411 ac_save_CPPFLAGS="$CPPFLAGS"33412 ac_save_LIBS="$LIBS"33413 CPPFLAGS="$CPPFLAGS $CLN_CPPFLAGS"33414 LIBS="$LIBS $CLN_LIBS"33415 rm -f conf.clntest33416 if test "$cross_compiling" = yes; then33417 echo $ac_n "cross compiling; assumed OK... $ac_c"33418 else33419 cat >conftest.$ac_ext <<_ACEOF33420 /* confdefs.h. */33421 _ACEOF33422 cat confdefs.h >>conftest.$ac_ext33423 cat >>conftest.$ac_ext <<_ACEOF33424 /* end confdefs.h. */33425 33426 #include <stdio.h>33427 #include <string.h>33428 #include <cln/version.h>33429 33430 /* we do not #include <stdlib.h> because autoconf in C++ mode inserts a33431 prototype for exit() that conflicts with the one in stdlib.h */33432 extern "C" int system(const char *);33433 33434 int main(void)33435 {33436 system("touch conf.clntest");33437 33438 if ((CL_VERSION_MAJOR != $cln_config_major_version) ||33439 (CL_VERSION_MINOR != $cln_config_minor_version) ||33440 (CL_VERSION_PATCHLEVEL != $cln_config_micro_version)) {33441 printf("\n*** 'cln-config --version' returned %d.%d.%d, but the header file I found\n", $cln_config_major_version, $cln_config_minor_version, $cln_config_micro_version);33442 printf("*** corresponds to %d.%d.%d. This mismatch suggests your installation of CLN\n", CL_VERSION_MAJOR, CL_VERSION_MINOR, CL_VERSION_PATCHLEVEL);33443 printf("*** is corrupted or you have specified some wrong -I compiler flags.\n");33444 printf("*** Please inquire and consider reinstalling CLN.\n");33445 return 1;33446 }33447 if ((cln::version_major != $cln_config_major_version) ||33448 (cln::version_minor != $cln_config_minor_version) ||33449 (cln::version_patchlevel != $cln_config_micro_version)) {33450 printf("\n*** 'cln-config --version' returned %d.%d.%d, but the library I found\n", $cln_config_major_version, $cln_config_minor_version, $cln_config_micro_version);33451 printf("*** corresponds to %d.%d.%d. This mismatch suggests your installation of CLN\n", cln::version_major, cln::version_minor, cln::version_patchlevel);33452 printf("*** is corrupted or you have specified some wrong -L compiler flags.\n");33453 printf("*** Please inquire and consider reinstalling CLN.\n");33454 return 1;33455 }33456 return 0;33457 }33458 33459 _ACEOF33460 rm -f conftest$ac_exeext33461 if { (ac_try="$ac_link"33462 case "(($ac_try" in33463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;33464 *) ac_try_echo=$ac_try;;33465 esac33466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&533467 (eval "$ac_link") 2>&533468 ac_status=$?33469 echo "$as_me:$LINENO: \$? = $ac_status" >&533470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'33471 { (case "(($ac_try" in33472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;33473 *) ac_try_echo=$ac_try;;33474 esac33475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&533476 (eval "$ac_try") 2>&533477 ac_status=$?33478 echo "$as_me:$LINENO: \$? = $ac_status" >&533479 (exit $ac_status); }; }; then33480 :33481 else33482 echo "$as_me: program exited with status $ac_status" >&533483 echo "$as_me: failed program was:" >&533484 sed 's/^/| /' conftest.$ac_ext >&533485 33486 ( exit $ac_status )33487 no_cln=yes33488 fi33489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext33490 fi33491 33492 33493 CPPFLAGS="$ac_save_CPPFLAGS"33494 LIBS="$ac_save_LIBS"33495 fi33496 if test "x$no_cln" = x ; then33497 { echo "$as_me:$LINENO: result: yes, $cln_config_version" >&533498 echo "${ECHO_T}yes, $cln_config_version" >&6; }33499 33500 LIBS="$LIBS $CLN_LIBS"33501 CPPFLAGS="$CPPFLAGS $CLN_CPPFLAGS"33502 33503 cat >>confdefs.h <<\_ACEOF33504 #define HAVE_LIBCLN 133505 _ACEOF33506 33507 33508 else33509 { echo "$as_me:$LINENO: result: no" >&533510 echo "${ECHO_T}no" >&6; }33511 if test ! -f conf.clntest ; then33512 echo "*** Could not run CLN test program, checking why..."33513 CPPFLAGS="$CFLAGS $CLN_CPPFLAGS"33514 LIBS="$LIBS $CLN_LIBS"33515 cat >conftest.$ac_ext <<_ACEOF33516 /* confdefs.h. */33517 _ACEOF33518 cat confdefs.h >>conftest.$ac_ext33519 cat >>conftest.$ac_ext <<_ACEOF33520 /* end confdefs.h. */33521 33522 #include <stdio.h>33523 #include <cln/version.h>33524 33525 int33526 main ()33527 {33528 return 0;33529 ;33530 return 0;33531 }33532 _ACEOF33533 rm -f conftest.$ac_objext conftest$ac_exeext33534 if { (ac_try="$ac_link"33535 case "(($ac_try" in33536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;33537 *) ac_try_echo=$ac_try;;33538 esac33539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&533540 (eval "$ac_link") 2>conftest.er133541 ac_status=$?33542 grep -v '^ *+' conftest.er1 >conftest.err33543 rm -f conftest.er133544 cat conftest.err >&533545 echo "$as_me:$LINENO: \$? = $ac_status" >&533546 (exit $ac_status); } && {33547 test -z "$ac_cxx_werror_flag" ||33548 test ! -s conftest.err33549 } && test -s conftest$ac_exeext &&33550 $as_test_x conftest$ac_exeext; then33551 echo "*** The test program compiled, but did not run. This usually means"33552 echo "*** that the run-time linker is not finding CLN or finding the wrong"33553 echo "*** version of CLN. If it is not finding CLN, you'll need to set your"33554 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"33555 echo "*** to the installed location. Also, make sure you have run ldconfig if that"33556 echo "*** is required on your system."33557 else33558 echo "$as_me: failed program was:" >&533559 sed 's/^/| /' conftest.$ac_ext >&533560 33561 echo "*** The test program failed to compile or link. See the file config.log for the"33562 echo "*** exact error that occured. This usually means CLN was incorrectly installed"33563 echo "*** or that you have moved CLN since it was installed. In the latter case, you"33564 echo "*** may want to edit the cln-config script: $CLN_CONFIG."33565 fi33566 33567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \33568 conftest$ac_exeext conftest.$ac_ext33569 CPPFLAGS="$ac_save_CPPFLAGS"33570 LIBS="$ac_save_LIBS"33571 fi33572 CLN_CPPFLAGS=""33573 CLN_LIBS=""33574 { { echo "$as_me:$LINENO: error: No suitable installed version of CLN could be found." >&533575 echo "$as_me: error: No suitable installed version of CLN could be found." >&2;}33576 { (exit 1); exit 1; }; }33577 fi33578 fi33579 fi33580 33581 33582 rm -f conf.clntest33583 33584 33585 33586 33284 33587 33285 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 33588 33286 if test -n "$ac_tool_prefix"; then … … 33713 33411 else 33714 33412 if test -n "$PKG_CONFIG" && \ 33715 33413 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" 33716 libxml-2.033717 glib-2.033718 33414 libqalculate >= 0.9.6 33719 33415 \"") >&5 33720 33416 ($PKG_CONFIG --exists --print-errors " 33721 libxml-2.033722 glib-2.033723 33417 libqalculate >= 0.9.6 33724 33418 ") 2>&5 33725 33419 ac_status=$? 33726 33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 33727 33421 (exit $ac_status); }; then 33728 33422 pkg_cv_QALCULATE_CFLAGS=`$PKG_CONFIG --cflags " 33729 libxml-2.033730 glib-2.033731 33423 libqalculate >= 0.9.6 33732 33424 " 2>/dev/null` 33733 33425 else … … 33743 33435 else 33744 33436 if test -n "$PKG_CONFIG" && \ 33745 33437 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" 33746 libxml-2.033747 glib-2.033748 33438 libqalculate >= 0.9.6 33749 33439 \"") >&5 33750 33440 ($PKG_CONFIG --exists --print-errors " 33751 libxml-2.033752 glib-2.033753 33441 libqalculate >= 0.9.6 33754 33442 ") 2>&5 33755 33443 ac_status=$? 33756 33444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 33757 33445 (exit $ac_status); }; then 33758 33446 pkg_cv_QALCULATE_LIBS=`$PKG_CONFIG --libs " 33759 libxml-2.033760 glib-2.033761 33447 libqalculate >= 0.9.6 33762 33448 " 2>/dev/null` 33763 33449 else … … 33779 33465 fi 33780 33466 if test $_pkg_short_errors_supported = yes; then 33781 33467 QALCULATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " 33782 libxml-2.033783 glib-2.033784 33468 libqalculate >= 0.9.6 33785 33469 "` 33786 33470 else 33787 33471 QALCULATE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " 33788 libxml-2.033789 glib-2.033790 33472 libqalculate >= 0.9.6 33791 33473 "` 33792 33474 fi … … 33794 33476 echo "$QALCULATE_PKG_ERRORS" >&5 33795 33477 33796 33478 { { echo "$as_me:$LINENO: error: Package requirements ( 33797 libxml-2.033798 glib-2.033799 33479 libqalculate >= 0.9.6 33800 33480 ) were not met: 33801 33481 … … 33809 33489 See the pkg-config man page for more details. 33810 33490 " >&5 33811 33491 echo "$as_me: error: Package requirements ( 33812 libxml-2.033813 glib-2.033814 33492 libqalculate >= 0.9.6 33815 33493 ) were not met: 33816 33494 … … 33833 33511 and QALCULATE_LIBS to avoid the need to call pkg-config. 33834 33512 See the pkg-config man page for more details. 33835 33513 33836 To get pkg-config, see <http:// www.freedesktop.org/software/pkgconfig>.33514 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 33837 33515 See \`config.log' for more details." >&5 33838 33516 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 33839 33517 is in your PATH or set the PKG_CONFIG environment variable to the full … … 33843 33521 and QALCULATE_LIBS to avoid the need to call pkg-config. 33844 33522 See the pkg-config man page for more details. 33845 33523 33846 To get pkg-config, see <http:// www.freedesktop.org/software/pkgconfig>.33524 To get pkg-config, see <http://pkg-config.freedesktop.org/>. 33847 33525 See \`config.log' for more details." >&2;} 33848 33526 { (exit 1); exit 1; }; } 33849 33527 else … … 33859 33537 LIBS="$LIBS $QALCULATE_LIBS" 33860 33538 CFLAGS="$CFLAGS $QALCULATE_CFLAGS" 33861 33539 CPPFLAGS="$CPPFLAGS $QALCULATE_CFLAGS" 33540 CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" 33862 33541 33863 33542 33864 33543 … … 34916 34595 LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim 34917 34596 LIB_KFILE!$LIB_KFILE$ac_delim 34918 34597 LIB_KFM!$LIB_KFM$ac_delim 34919 CLN_CONFIG!$CLN_CONFIG$ac_delim34920 CLN_CPPFLAGS!$CLN_CPPFLAGS$ac_delim34921 CLN_LIBS!$CLN_LIBS$ac_delim34922 34598 PKG_CONFIG!$PKG_CONFIG$ac_delim 34923 34599 QALCULATE_CFLAGS!$QALCULATE_CFLAGS$ac_delim 34924 34600 QALCULATE_LIBS!$QALCULATE_LIBS$ac_delim … … 34927 34603 LTLIBOBJS!$LTLIBOBJS$ac_delim 34928 34604 _ACEOF 34929 34605 34930 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5 7; then34606 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then 34931 34607 break 34932 34608 elif $ac_last_try; then 34933 34609 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -
qalculate-kde-0.9.
diff -ur qalculate-kde-0.9.6/configure.in qalculate-kde-0.9.6_patched/configure.in
old new 73 73 74 74 AC_LANG([C++]) 75 75 76 AC_PATH_CLN(1.1.0, [77 LIBS="$LIBS $CLN_LIBS"78 CPPFLAGS="$CPPFLAGS $CLN_CPPFLAGS"79 AC_DEFINE(HAVE_LIBCLN,1,[If CLN can be used])80 ], AC_MSG_ERROR([No suitable installed version of CLN could be found.]))81 82 76 PKG_CHECK_MODULES(QALCULATE, [ 83 libxml-2.084 glib-2.085 77 libqalculate >= 0.9.6 86 78 ]) 87 79 AC_SUBST(QALCULATE_CFLAGS) … … 90 82 LIBS="$LIBS $QALCULATE_LIBS" 91 83 CFLAGS="$CFLAGS $QALCULATE_CFLAGS" 92 84 CPPFLAGS="$CPPFLAGS $QALCULATE_CFLAGS" 85 CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" 93 86 94 87 KDE_CREATE_SUBDIRSLIST 95 88 AC_CONFIG_FILES([ Makefile ]) -
qalculate-kde-0.9.
diff -ur qalculate-kde-0.9.6/configure.in.in qalculate-kde-0.9.6_patched/configure.in.in
old new 8 8 9 9 AC_LANG([C++]) 10 10 11 AC_PATH_CLN(1.1.0, [12 LIBS="$LIBS $CLN_LIBS"13 CPPFLAGS="$CPPFLAGS $CLN_CPPFLAGS"14 AC_DEFINE(HAVE_LIBCLN,1,[If CLN can be used])15 ], AC_MSG_ERROR([No suitable installed version of CLN could be found.]))16 17 11 PKG_CHECK_MODULES(QALCULATE, [ 18 libxml-2.019 glib-2.020 12 libqalculate >= 0.9.6 21 13 ]) 22 14 AC_SUBST(QALCULATE_CFLAGS) … … 25 17 LIBS="$LIBS $QALCULATE_LIBS" 26 18 CFLAGS="$CFLAGS $QALCULATE_CFLAGS" 27 19 CPPFLAGS="$CPPFLAGS $QALCULATE_CFLAGS" 20 CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" 28 21 -
qalculate-kde-0.9.
diff -ur qalculate-kde-0.9.6/doc/Makefile.in qalculate-kde-0.9.6_patched/doc/Makefile.in
old new 85 85 CC = @CC@ 86 86 CCDEPMODE = @CCDEPMODE@ 87 87 CFLAGS = @CFLAGS@ 88 CLN_CONFIG = @CLN_CONFIG@89 CLN_CPPFLAGS = @CLN_CPPFLAGS@90 CLN_LIBS = @CLN_LIBS@91 88 CONF_FILES = @CONF_FILES@ 92 89 CPP = @CPP@ 93 90 CPPFLAGS = @CPPFLAGS@ … … 336 333 #>- exit 1;; \ 337 334 #>- esac; \ 338 335 #>- done; \ 339 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnudoc/Makefile'; \336 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ 340 337 #>- cd $(top_srcdir) && \ 341 #>- $(AUTOMAKE) -- gnudoc/Makefile338 #>- $(AUTOMAKE) --foreign doc/Makefile 342 339 #>+ 12 343 340 @for dep in $?; do \ 344 341 case '$(am__configure_deps)' in \ … … 348 345 exit 1;; \ 349 346 esac; \ 350 347 done; \ 351 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnudoc/Makefile'; \348 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ 352 349 cd $(top_srcdir) && \ 353 $(AUTOMAKE) -- gnudoc/Makefile350 $(AUTOMAKE) --foreign doc/Makefile 354 351 cd $(top_srcdir) && perl admin/am_edit doc/Makefile.in 355 352 .PRECIOUS: Makefile 356 353 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status … … 669 666 exit 1;; \ 670 667 esac; \ 671 668 done; \ 672 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnudoc/Makefile'; \669 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ 673 670 cd $(top_srcdir) && \ 674 $(AUTOMAKE) -- gnudoc/Makefile671 $(AUTOMAKE) --foreign doc/Makefile 675 672 cd $(top_srcdir) && perl admin/am_edit doc/Makefile.in 676 673 677 674 -
doc/en/Makefile.in
diff -ur qalculate-kde-0.9.6/doc/en/Makefile.in qalculate-kde-0.9.6_patched/doc/en/Makefile.in
old new 85 85 CC = @CC@ 86 86 CCDEPMODE = @CCDEPMODE@ 87 87 CFLAGS = @CFLAGS@ 88 CLN_CONFIG = @CLN_CONFIG@89 CLN_CPPFLAGS = @CLN_CPPFLAGS@90 CLN_LIBS = @CLN_LIBS@91 88 CONF_FILES = @CONF_FILES@ 92 89 CPP = @CPP@ 93 90 CPPFLAGS = @CPPFLAGS@ … … 336 333 #>- exit 1;; \ 337 334 #>- esac; \ 338 335 #>- done; \ 339 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnudoc/en/Makefile'; \336 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/en/Makefile'; \ 340 337 #>- cd $(top_srcdir) && \ 341 #>- $(AUTOMAKE) -- gnudoc/en/Makefile338 #>- $(AUTOMAKE) --foreign doc/en/Makefile 342 339 #>+ 12 343 340 @for dep in $?; do \ 344 341 case '$(am__configure_deps)' in \ … … 348 345 exit 1;; \ 349 346 esac; \ 350 347 done; \ 351 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnudoc/en/Makefile'; \348 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/en/Makefile'; \ 352 349 cd $(top_srcdir) && \ 353 $(AUTOMAKE) -- gnudoc/en/Makefile350 $(AUTOMAKE) --foreign doc/en/Makefile 354 351 cd $(top_srcdir) && perl admin/am_edit doc/en/Makefile.in 355 352 .PRECIOUS: Makefile 356 353 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status … … 669 666 exit 1;; \ 670 667 esac; \ 671 668 done; \ 672 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnudoc/en/Makefile'; \669 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/en/Makefile'; \ 673 670 cd $(top_srcdir) && \ 674 $(AUTOMAKE) -- gnudoc/en/Makefile671 $(AUTOMAKE) --foreign doc/en/Makefile 675 672 cd $(top_srcdir) && perl admin/am_edit doc/en/Makefile.in 676 673 677 674 -
doc/en/qalculate_kde/Makefile.in
diff -ur qalculate-kde-0.9.6/doc/en/qalculate_kde/Makefile.in qalculate-kde-0.9.6_patched/doc/en/qalculate_kde/Makefile.in
old new 66 66 CC = @CC@ 67 67 CCDEPMODE = @CCDEPMODE@ 68 68 CFLAGS = @CFLAGS@ 69 CLN_CONFIG = @CLN_CONFIG@70 CLN_CPPFLAGS = @CLN_CPPFLAGS@71 CLN_LIBS = @CLN_LIBS@72 69 CONF_FILES = @CONF_FILES@ 73 70 CPP = @CPP@ 74 71 CPPFLAGS = @CPPFLAGS@ … … 318 315 #>- exit 1;; \ 319 316 #>- esac; \ 320 317 #>- done; \ 321 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnudoc/en/qalculate_kde/Makefile'; \318 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/en/qalculate_kde/Makefile'; \ 322 319 #>- cd $(top_srcdir) && \ 323 #>- $(AUTOMAKE) -- gnudoc/en/qalculate_kde/Makefile320 #>- $(AUTOMAKE) --foreign doc/en/qalculate_kde/Makefile 324 321 #>+ 12 325 322 @for dep in $?; do \ 326 323 case '$(am__configure_deps)' in \ … … 330 327 exit 1;; \ 331 328 esac; \ 332 329 done; \ 333 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnudoc/en/qalculate_kde/Makefile'; \330 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/en/qalculate_kde/Makefile'; \ 334 331 cd $(top_srcdir) && \ 335 $(AUTOMAKE) -- gnudoc/en/qalculate_kde/Makefile332 $(AUTOMAKE) --foreign doc/en/qalculate_kde/Makefile 336 333 cd $(top_srcdir) && perl admin/am_edit doc/en/qalculate_kde/Makefile.in 337 334 .PRECIOUS: Makefile 338 335 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status … … 503 500 docs-am: index.cache.bz2 504 501 505 502 install-docs: docs-am install-nls 506 $(mkinstalldirs) $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde503 $(mkinstalldirs) $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde 507 504 @if test -f index.cache.bz2; then \ 508 echo $(INSTALL_DATA) index.cache.bz2 $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde/; \509 $(INSTALL_DATA) index.cache.bz2 $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde/; \505 echo $(INSTALL_DATA) index.cache.bz2 $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde/; \ 506 $(INSTALL_DATA) index.cache.bz2 $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde/; \ 510 507 elif test -f $(srcdir)/index.cache.bz2; then \ 511 echo $(INSTALL_DATA) $(srcdir)/index.cache.bz2 $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde/; \512 $(INSTALL_DATA) $(srcdir)/index.cache.bz2 $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde/; \508 echo $(INSTALL_DATA) $(srcdir)/index.cache.bz2 $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde/; \ 509 $(INSTALL_DATA) $(srcdir)/index.cache.bz2 $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde/; \ 513 510 fi 514 -rm -f $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde/common515 $(LN_S) $(kde_libs_htmldir)/$(KDE_LANG)/common $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde/common511 -rm -f $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde/common 512 $(LN_S) $(kde_libs_htmldir)/$(KDE_LANG)/common $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde/common 516 513 517 514 uninstall-docs: 518 -rm -rf $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde515 -rm -rf $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde 519 516 520 517 clean-docs: 521 518 -rm -f index.cache.bz2 … … 523 520 524 521 #>+ 13 525 522 install-nls: 526 $(mkinstalldirs) $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde523 $(mkinstalldirs) $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde 527 524 @for base in functions.docbook gnuplot.png calculator-buttons.png unit-manager.png completion.png function-manager.png calculation-history.png edit-variable.png plot-data.png units.docbook variable-manager.png edit-unit.png variables.docbook insert-function.png rpn-mode.png plot-settings.png import-csv.png edit-matrix.png edit-function.png convert-unit.png index.docbook mainwindow.png store-variable.png convert-number-bases.png ; do \ 528 echo $(INSTALL_DATA) $$base $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde/$$base ;\529 $(INSTALL_DATA) $(srcdir)/$$base $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde/$$base ;\525 echo $(INSTALL_DATA) $$base $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde/$$base ;\ 526 $(INSTALL_DATA) $(srcdir)/$$base $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde/$$base ;\ 530 527 done 531 528 532 529 uninstall-nls: 533 530 for base in functions.docbook gnuplot.png calculator-buttons.png unit-manager.png completion.png function-manager.png calculation-history.png edit-variable.png plot-data.png units.docbook variable-manager.png edit-unit.png variables.docbook insert-function.png rpn-mode.png plot-settings.png import-csv.png edit-matrix.png edit-function.png convert-unit.png index.docbook mainwindow.png store-variable.png convert-number-bases.png ; do \ 534 rm -f $(DESTDIR)$(kde_ htmldir)/$(KDE_LANG)/qalculate_kde/$$base ;\531 rm -f $(DESTDIR)$(kde_libs_htmldir)/$(KDE_LANG)/qalculate_kde/$$base ;\ 535 532 done 536 533 537 534 … … 551 548 exit 1;; \ 552 549 esac; \ 553 550 done; \ 554 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnudoc/en/qalculate_kde/Makefile'; \551 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/en/qalculate_kde/Makefile'; \ 555 552 cd $(top_srcdir) && \ 556 $(AUTOMAKE) -- gnudoc/en/qalculate_kde/Makefile553 $(AUTOMAKE) --foreign doc/en/qalculate_kde/Makefile 557 554 cd $(top_srcdir) && perl admin/am_edit doc/en/qalculate_kde/Makefile.in 558 555 559 556 -
qalculate-kde-0.9.
Only in qalculate-kde-0.9.6_patched/doc/en/qalculate_kde: Makefile.in~ diff -ur qalculate-kde-0.9.6/po/Makefile.in qalculate-kde-0.9.6_patched/po/Makefile.in
old new 68 68 CC = @CC@ 69 69 CCDEPMODE = @CCDEPMODE@ 70 70 CFLAGS = @CFLAGS@ 71 CLN_CONFIG = @CLN_CONFIG@72 CLN_CPPFLAGS = @CLN_CPPFLAGS@73 CLN_LIBS = @CLN_LIBS@74 71 CONF_FILES = @CONF_FILES@ 75 72 CPP = @CPP@ 76 73 CPPFLAGS = @CPPFLAGS@ … … 322 319 #>- exit 1;; \ 323 320 #>- esac; \ 324 321 #>- done; \ 325 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnupo/Makefile'; \322 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign po/Makefile'; \ 326 323 #>- cd $(top_srcdir) && \ 327 #>- $(AUTOMAKE) -- gnupo/Makefile324 #>- $(AUTOMAKE) --foreign po/Makefile 328 325 #>+ 12 329 326 @for dep in $?; do \ 330 327 case '$(am__configure_deps)' in \ … … 334 331 exit 1;; \ 335 332 esac; \ 336 333 done; \ 337 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnupo/Makefile'; \334 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign po/Makefile'; \ 338 335 cd $(top_srcdir) && \ 339 $(AUTOMAKE) -- gnupo/Makefile336 $(AUTOMAKE) --foreign po/Makefile 340 337 cd $(top_srcdir) && perl admin/am_edit po/Makefile.in 341 338 .PRECIOUS: Makefile 342 339 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status … … 564 561 exit 1;; \ 565 562 esac; \ 566 563 done; \ 567 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnupo/Makefile'; \564 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign po/Makefile'; \ 568 565 cd $(top_srcdir) && \ 569 $(AUTOMAKE) -- gnupo/Makefile566 $(AUTOMAKE) --foreign po/Makefile 570 567 cd $(top_srcdir) && perl admin/am_edit po/Makefile.in 571 568 572 569 -
qalculate-kde-0.9.
diff -ur qalculate-kde-0.9.6/src/Makefile.in qalculate-kde-0.9.6_patched/src/Makefile.in
old new 176 176 CC = @CC@ 177 177 CCDEPMODE = @CCDEPMODE@ 178 178 CFLAGS = @CFLAGS@ 179 CLN_CONFIG = @CLN_CONFIG@180 CLN_CPPFLAGS = @CLN_CPPFLAGS@181 CLN_LIBS = @CLN_LIBS@182 179 CONF_FILES = @CONF_FILES@ 183 180 CPP = @CPP@ 184 181 CPPFLAGS = @CPPFLAGS@ … … 469 466 #>- exit 1;; \ 470 467 #>- esac; \ 471 468 #>- done; \ 472 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/Makefile'; \469 #>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ 473 470 #>- cd $(top_srcdir) && \ 474 #>- $(AUTOMAKE) -- gnusrc/Makefile471 #>- $(AUTOMAKE) --foreign src/Makefile 475 472 #>+ 12 476 473 @for dep in $?; do \ 477 474 case '$(am__configure_deps)' in \ … … 481 478 exit 1;; \ 482 479 esac; \ 483 480 done; \ 484 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/Makefile'; \481 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ 485 482 cd $(top_srcdir) && \ 486 $(AUTOMAKE) -- gnusrc/Makefile483 $(AUTOMAKE) --foreign src/Makefile 487 484 cd $(top_srcdir) && perl admin/am_edit src/Makefile.in 488 485 .PRECIOUS: Makefile 489 486 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status … … 1078 1075 exit 1;; \ 1079 1076 esac; \ 1080 1077 done; \ 1081 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/Makefile'; \1078 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ 1082 1079 cd $(top_srcdir) && \ 1083 $(AUTOMAKE) -- gnusrc/Makefile1080 $(AUTOMAKE) --foreign src/Makefile 1084 1081 cd $(top_srcdir) && perl admin/am_edit src/Makefile.in 1085 1082 1086 1083