@@ -145,9 +145,9 @@ if get_option('MOD_SDORM_SQL') == true
145145 if not cc.has_header(' libpq-fe.h' , args : ' -I/usr/local/include/postgresql' )
146146 if cc.has_header(' libpq-fe.h' , args : ' -I/usr/local/include/pgsql' )
147147 pqincpath = ' /usr/local/include/pgsql'
148- else if cc.has_header(' libpq-fe.h' , args : ' -I/opt/homebrew/include/postgresql' )
148+ elif cc.has_header(' libpq-fe.h' , args : ' -I/opt/homebrew/include/postgresql' )
149149 pqincpath = ' /opt/homebrew/include/postgresql'
150- else if cc.has_header(' libpq-fe.h' , args : ' -I/opt/homebrew/include/pgsql' )
150+ elif cc.has_header(' libpq-fe.h' , args : ' -I/opt/homebrew/include/pgsql' )
151151 pqincpath = ' /opt/homebrew/include/pgsql'
152152 else
153153 error (' libpq headers not found' )
@@ -189,7 +189,7 @@ if get_option('MOD_SDORM_MONGO') == true
189189 if not cc.has_header(' bson.h' , args : ' -I/usr/include/libbson-1.0' )
190190 if cc.has_header(' bson.h' , args : ' -I/usr/local/include/libbson-1.0' )
191191 global_includes += [' /usr/local/include/libbson-1.0' ]
192- else notif cc.has_header(' bson.h' , args : ' -I/opt/homebrew/include/libbson-1.0' )
192+ elif cc.has_header(' bson.h' , args : ' -I/opt/homebrew/include/libbson-1.0' )
193193 global_includes += [' /opt/homebrew/include/libbson-1.0' ]
194194 else
195195 error (' bson headers not found' )
@@ -200,7 +200,7 @@ if get_option('MOD_SDORM_MONGO') == true
200200 if not cc.has_header(' mongoc.h' , args : ' -I/usr/include/libmongoc-1.0' )
201201 if cc.has_header(' mongoc.h' , args : ' -I/usr/local/include/libmongoc-1.0' )
202202 global_includes += [' /usr/local/include/libmongoc-1.0' ]
203- else notif cc.has_header(' mongoc.h' , args : ' -I/opt/homebrew/include/libmongoc-1.0' )
203+ elif cc.has_header(' mongoc.h' , args : ' -I/opt/homebrew/include/libmongoc-1.0' )
204204 global_includes += [' /opt/homebrew/include/libmongoc-1.0' ]
205205 else
206206 error (' mongoc headers not found' )
0 commit comments