|
|
|
@ -417,7 +417,7 @@ void ImportDialog::scanAutomakeProject(const TQString &dirName)
|
|
|
|
|
TQFile configIn(dirName+"/configure.in");
|
|
|
|
|
TQFile configAc(dirName+"/configure.ac");
|
|
|
|
|
if (configInIn.open(IO_ReadOnly)){
|
|
|
|
|
cstream.setDevice(TQT_TQIODEVICE(&configInIn));
|
|
|
|
|
cstream.setDevice(&configInIn);
|
|
|
|
|
while (!cstream.atEnd()) {
|
|
|
|
|
TQString line = cstream.readLine();
|
|
|
|
|
if ( ac_init.search(line) >= 0){
|
|
|
|
@ -437,11 +437,11 @@ void ImportDialog::scanAutomakeProject(const TQString &dirName)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (configIn.open(IO_ReadOnly)){
|
|
|
|
|
cstream.setDevice(TQT_TQIODEVICE(&configIn));
|
|
|
|
|
cstream.setDevice(&configIn);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
if (configAc.open(IO_ReadOnly)){
|
|
|
|
|
cstream.setDevice(TQT_TQIODEVICE(&configAc));
|
|
|
|
|
cstream.setDevice(&configAc);
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
return;
|
|
|
|
|