@@ -626,8 +626,6 @@ USE_CORBA
626
626
LIBLPSOLVE55
627
627
LIBNSL
628
628
LIBSOCKET
629
- readlinelib
630
- readlineinc
631
629
antlrlib
632
630
antlrinc
633
631
omc_antlr_jar
@@ -2178,8 +2176,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2178
2176
2179
2177
2180
2178
2181
-
2182
-
2183
2179
2184
2180
2185
2181
@@ -4527,7 +4523,7 @@ $as_echo_n "checking for CORBA... " >&6; };
4527
4523
$as_echo " $DESIRED_CORBA " >&6 ; };
4528
4524
4529
4525
4530
- for ac_prog in qmake-qt4 qmake qmake -mac
4526
+ for ac_prog in qmake-qt4 qmake-mac qmake
4531
4527
do
4532
4528
# Extract the first word of "$ac_prog", so it can be a program name with args.
4533
4529
set dummy $ac_prog ; ac_word=$2
@@ -4592,15 +4588,37 @@ if test "${with_sendData_Qt+set}" = set; then :
4592
4588
fi
4593
4589
LIBSENDDATA=" sendData"
4594
4590
if test " Darwin" = ` uname` ; then
4595
- LIBSENDDATA_LDFLAGS=" -lsendData - framework QtNetwork -framework QtCore -framework QtGui -lz -framework Carbon"
4591
+ LIBSENDDATA_LDFLAGS=" -framework QtNetwork -framework QtCore -framework QtGui -lz -framework Carbon"
4596
4592
if test -d /opt/local/Library/Frameworks/; then
4597
4593
LIBSENDDATA_LDFLAGS=" -F/opt/local/Library/Frameworks/ $LIBSENDDATA_LDFLAGS "
4598
4594
fi
4599
4595
else
4600
- LIBSENDDATA_LDFLAGS=" -lsendData - lQtNetwork -lQtCore -lQtGui"
4596
+ LIBSENDDATA_LDFLAGS=" -lQtNetwork -lQtCore -lQtGui"
4601
4597
fi
4598
+
4599
+ LDFLAGS_BAK=$LDFLAGS
4600
+ LDFLAGS+=$LIBSENDDATA_LDFLAGS
4601
+ cat confdefs.h - << _ACEOF >conftest.$ac_ext
4602
+ /* end confdefs.h. */
4603
+
4604
+ int
4605
+ main ()
4606
+ {
4607
+
4608
+ ;
4609
+ return 0;
4610
+ }
4611
+ _ACEOF
4612
+ if ac_fn_c_try_link " $LINENO " ; then :
4602
4613
{ $as_echo " $as_me :${as_lineno-$LINENO } : result: ok" >&5
4603
4614
$as_echo " ok" >&6 ; }
4615
+ else
4616
+ as_fn_error " Compilation failed using LDFLAGS='$LDFLAGS '. Try specifying your own LDFLAGS to link to Qt." " $LINENO " 5
4617
+ fi
4618
+ rm -f core conftest.err conftest.$ac_objext \
4619
+ conftest$ac_exeext conftest.$ac_ext
4620
+ LDFLAGS=$LDFLAGS_BAK
4621
+ LIBSENDDATA_LDFLAGS=" $LDFLAGS -lsendData $LIBSENDDATA_LDFLAGS "
4604
4622
4605
4623
else
4606
4624
0 commit comments