use 5.008003; use ExtUtils::MakeMaker; BEGIN { require Carp; if (!-d '/usr/include/qt4') { Carp::croak(< 'Qt::Core', VERSION => '0.01_05', LICENSE => 'perl', PREREQ_PM => {}, ABSTRACT => 'Qt Core binding', AUTHOR => 'Dongxu Ma ', CC => 'g++', LD => 'g++', LDDLFLAGS => '-shared', XSOPT => '-C++ -hiertype', LIBS => '-L/usr/lib/qt4 -lQtCore', DEFINE => '-DQT_CORE_LIB -DQT_SHARED -DQT_NO_DEBUG', INC => '-I/usr/include -I/usr/include/qt4', # Un-comment this if you add C files to link with later: # OBJECT => '$(O_FILES)', # link all the C files too );