Not sure exactly what the intent in this code is, but trying to compile
tlf w/out hamlib support doesn't work without this (undefined reference
to rignum).

Patch below is against 0.9.24

--Jason L. Wright

--- src/callinput.c.orig        Tue Nov  1 11:50:53 2005
+++ src/callinput.c     Tue Nov  1 11:52:46 2005
@@ -258,7 +258,7 @@ printcall();
                                        mvprintw(12, 0, band[bandinx]);
                                        printcall();
                                        i--;
-#ifdef HAVE_LIBHAMLIB
+#ifndef HAVE_LIBHAMLIB
                                        if (trx_control == 1) {
 
                                                outfreq = (int) 
(bandfrequency[bandinx] * 1000)    ;
@@ -297,7 +297,7 @@ printcall();
                                        attron(A_STANDOUT);
                                        mvprintw(12, 29 +  strlen(hiscall), "");
 
-#ifdef HAVE_LIBHAMLIB
+#ifndef HAVE_LIBHAMLIB
 
                                                if (trx_control == 1) {
                                                        freq = 
bandfrequency[bandinx];


_______________________________________________
Tlf-devel mailing list
Tlf-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tlf-devel

Reply via email to